@abi-software/flatmapvuer 1.16.0 → 1.16.1-demo.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/flatmapvuer.js +434 -378
- package/dist/flatmapvuer.umd.cjs +11 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/FlatmapVuer.vue +2 -1
- package/src/services/somaLocationMarkers.js +125 -0
package/dist/flatmapvuer.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Comment as e, Fragment as t, Teleport as n, Text as r, Transition as i, cloneVNode as a, computed as o, createApp as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as f, createStaticVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as _, getCurrentScope as v, h as y, inject as b, isRef as x, isVNode as S, markRaw as C, mergeProps as w, nextTick as T, normalizeClass as E, normalizeStyle as D, onActivated as O, onBeforeMount as k, onBeforeUnmount as A, onDeactivated as j, onMounted as M, onScopeDispose as
|
|
1
|
+
import { Comment as e, Fragment as t, Teleport as n, Text as r, Transition as i, cloneVNode as a, computed as o, createApp as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as f, createStaticVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as _, getCurrentScope as v, h as y, inject as b, isRef as x, isVNode as S, markRaw as C, mergeProps as w, nextTick as T, normalizeClass as E, normalizeStyle as D, onActivated as O, onBeforeMount as k, onBeforeUnmount as A, onDeactivated as j, onMounted as M, onScopeDispose as ee, onUnmounted as te, onUpdated as ne, openBlock as N, provide as P, reactive as re, readonly as ie, ref as F, renderList as I, renderSlot as L, resolveComponent as R, resolveDirective as ae, resolveDynamicComponent as z, shallowReadonly as oe, shallowRef as se, toDisplayString as B, toHandlerKey as ce, toRaw as le, toRef as V, toRefs as ue, toValue as de, unref as H, useSlots as fe, vModelCheckbox as pe, vModelRadio as me, vShow as he, warn as ge, watch as U, watchEffect as _e, withCtx as W, withDirectives as G, withModifiers as ve } from "vue";
|
|
2
2
|
import { ArrowDown as ye, ArrowLeft as be, CircleCheck as xe, CircleClose as Se, Close as Ce, DocumentDelete as we, Loading as Te, Warning as Ee, WarningFilled as De } from "@element-plus/icons-vue";
|
|
3
3
|
import { MapSvgIcon as Oe, MapSvgSpriteColor as ke } from "@abi-software/svg-sprite";
|
|
4
4
|
import "@abi-software/svg-sprite/dist/style.css";
|
|
@@ -48,10 +48,10 @@ function Qe(e, t) {
|
|
|
48
48
|
}, {
|
|
49
49
|
...t,
|
|
50
50
|
flush: t?.flush ?? "sync"
|
|
51
|
-
}),
|
|
51
|
+
}), ie(n);
|
|
52
52
|
}
|
|
53
53
|
function $e(e, t) {
|
|
54
|
-
return v() ? (
|
|
54
|
+
return v() ? (ee(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 = F(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 = F(!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 : F(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, F());
|
|
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, F("el")) : F("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
|
+
}), ee(() => 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 ee = nd(M), te = [];
|
|
2608
|
+
if (a && te.push(j[D] <= 0), s && te.push(j[M] <= 0, j[ee] <= 0), te.every(function(e) {
|
|
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, te);
|
|
2615
2615
|
}
|
|
2616
|
-
if (C) for (var
|
|
2616
|
+
if (C) for (var ne = m ? 3 : 1, N = 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
|
+
}, P = ne; P > 0 && N(P) !== "break"; P--);
|
|
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], ee = M + g[k], te = M - g[A], ne = p ? -w[j] / 2 : 0, N = v === "start" ? C[j] : w[j], P = v === "start" ? -w[j] : -C[j], re = t.elements.arrow, ie = p && re ? Du(re) : {
|
|
2736
2736
|
width: 0,
|
|
2737
2737
|
height: 0
|
|
2738
|
-
},
|
|
2738
|
+
}, F = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : zu(), I = F[k], L = F[A], R = Lu(0, C[j], ie[j]), ae = y ? C[j] / 2 - ne - R - I - E.mainAxis : N - R - I - E.mainAxis, z = y ? -C[j] / 2 + ne + R + L + E.mainAxis : P + R + L + E.mainAxis, oe = t.elements.arrow && Fu(t.elements.arrow), se = oe ? b === "y" ? oe.clientTop || 0 : oe.clientLeft || 0 : 0, B = D?.[b] ?? 0, ce = M + ae - B - se, le = M + z - B, V = Lu(p ? Su(ee, ce) : ee, M, p ? xu(te, le) : te);
|
|
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 = F({
|
|
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
|
+
P(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 = F(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 = F(!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 = F(!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, F({})) : F({}), r = o(() => e.emptyValues || n.value.emptyValues || Of), i = o(() => Tt(e.valueOnClear) ? e.valueOnClear() : e.valueOnClear === void 0 ? Tt(n.value.valueOnClear) ? n.value.valueOnClear() : n.value.valueOnClear === void 0 ? t === void 0 ? void 0 : t : n.value.valueOnClear : e.valueOnClear), a = (e) => {
|
|
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) => (N(), u("i", w({
|
|
3284
3284
|
class: H(n).b(),
|
|
3285
3285
|
style: r.value
|
|
3286
|
-
}, e.$attrs), [
|
|
3286
|
+
}, e.$attrs), [L(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) => (N(), 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) : (N(), 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(() => [L(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 = F(void 0), r = t.prop ? n : Ql("size"), i = t.global ? n : Cf(), a = t.form ? { size: void 0 } : b(ip, void 0), s = t.formItem ? { size: void 0 } : b(ap, void 0);
|
|
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 ||= F(!1), r ||= F(!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 = F(), 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
|
+
}), te(() => {
|
|
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 = F(), bp = F(0), xp = F(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 = F(), 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
|
+
P(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 L(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 = F(), 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 = F($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 = F(!1), r = F();
|
|
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
|
+
P(Gf, {
|
|
3924
3924
|
arrowStyle: C,
|
|
3925
3925
|
arrowRef: m
|
|
3926
|
-
}), k &&
|
|
3926
|
+
}), k && P(ap, {
|
|
3927
3927
|
...k,
|
|
3928
3928
|
addInputId: St,
|
|
3929
3929
|
removeInputId: St
|
|
3930
3930
|
});
|
|
3931
|
-
let j,
|
|
3931
|
+
let j, ee = (e = !0) => {
|
|
3932
3932
|
x(), e && O();
|
|
3933
|
-
},
|
|
3934
|
-
|
|
3933
|
+
}, te = () => {
|
|
3934
|
+
ee(!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, te, { 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: ee,
|
|
3969
3969
|
contentStyle: D
|
|
3970
|
-
}), (t, n) => (
|
|
3970
|
+
}), (t, n) => (N(), 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(() => [L(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: F(),
|
|
4013
|
+
popperInstanceRef: F(),
|
|
4014
|
+
contentRef: F(),
|
|
4015
|
+
referenceRef: F(),
|
|
4016
4016
|
role: o(() => n.role)
|
|
4017
4017
|
};
|
|
4018
|
-
return t(r),
|
|
4018
|
+
return t(r), P(Wf, r), (e, t) => L(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 = F(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) => (N(), 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(() => [L(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 = F(), d = Qe(() => u.value?.popperContentRef), f, { controlled: p, id: m, open: g, trigger: _, onClose: v, onOpen: y, onShow: x, onHide: S, onBeforeShow: C, onBeforeHide: T } = b(sm, void 0), E = o(() => r.transition || `${s.namespace.value}-fade-in-linear`), D = o(() => r.persistent);
|
|
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 ?? {}), ee = F(!0), te = () => {
|
|
4151
|
+
S(), z() && ul(document.body, { preventScroll: !0 }), ee.value = !0;
|
|
4152
|
+
}, ne = () => {
|
|
4153
4153
|
if (H(p)) return !0;
|
|
4154
|
-
},
|
|
4154
|
+
}, P = dl(ne, () => {
|
|
4155
4155
|
r.enterable && cm(H(_), "hover") && y();
|
|
4156
|
-
}),
|
|
4156
|
+
}), re = dl(ne, () => {
|
|
4157
4157
|
cm(H(_), "hover") && v();
|
|
4158
|
-
}),
|
|
4158
|
+
}), ie = () => {
|
|
4159
4159
|
u.value?.updatePopper?.(), C?.();
|
|
4160
|
-
},
|
|
4160
|
+
}, I = () => {
|
|
4161
4161
|
T?.();
|
|
4162
|
-
},
|
|
4162
|
+
}, R = () => {
|
|
4163
4163
|
x();
|
|
4164
|
-
},
|
|
4164
|
+
}, ae = () => {
|
|
4165
4165
|
r.virtualTriggering || v();
|
|
4166
|
-
},
|
|
4166
|
+
}, z = (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 ? (ee.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: z
|
|
4177
|
+
}), (t, r) => (N(), c(n, {
|
|
4178
4178
|
disabled: !e.teleported,
|
|
4179
4179
|
to: j.value
|
|
4180
|
-
}, [O.value || !
|
|
4180
|
+
}, [O.value || !ee.value ? (N(), 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: te,
|
|
4185
|
+
onBeforeEnter: ie,
|
|
4186
|
+
onAfterEnter: R,
|
|
4187
|
+
onBeforeLeave: I,
|
|
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": ee.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(P),
|
|
4216
|
+
onMouseleave: H(re),
|
|
4217
|
+
onBlur: ae,
|
|
4218
4218
|
onClose: H(v)
|
|
4219
4219
|
}), {
|
|
4220
|
-
default: W(() => [
|
|
4220
|
+
default: W(() => [L(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 = F(), f = F(), p = () => {
|
|
4260
4260
|
let e = H(d);
|
|
4261
4261
|
e && e.popperInstanceRef?.update();
|
|
4262
|
-
}, m =
|
|
4262
|
+
}, m = F(!1), g = F(), { 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 P(sm, {
|
|
4273
4273
|
controlled: S,
|
|
4274
4274
|
id: s,
|
|
4275
|
-
open:
|
|
4275
|
+
open: ie(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) => (N(), 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 ? L(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(() => [L(t.$slots, "content", {}, () => [e.rawContent ? (N(), u("span", {
|
|
4362
4362
|
key: 0,
|
|
4363
4363
|
innerHTML: e.content
|
|
4364
|
-
}, null, 8, fm)) : (
|
|
4364
|
+
}, null, 8, fm)) : (N(), u("span", pm, B(e.content), 1))]), e.showArrow ? (N(), c(H(Kf), { key: 0 })) : l("v-if", !0)]),
|
|
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 = F(), s = F(), l = F({}), u = F(!1), f = !1, p = !1, m = 0, h = 0, g = q ? document.onselectstart : null, _ = o(() => vm[t.vertical ? "vertical" : "horizontal"]), v = o(() => ym({
|
|
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) => (N(), 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 = F(0), o = F(0), s = F(""), c = F(""), l = F(1), d = F(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) => (N(), 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 = F(), b = F(), x = F(), S = F(), 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
|
+
}, ee = (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
|
+
}, te = () => {
|
|
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
|
+
ee(n);
|
|
4641
4641
|
}
|
|
4642
4642
|
n[_] && i("end-reached", _);
|
|
4643
4643
|
}
|
|
4644
4644
|
};
|
|
4645
|
-
function
|
|
4645
|
+
function ie(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 I = (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
|
+
}, R = (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
|
+
}, ae = () => {
|
|
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, ae), {stop: f} = bt(b, ae), p = mt("resize", ae));
|
|
4669
4669
|
}, { immediate: !0 }), U(() => [r.maxHeight, r.height], () => {
|
|
4670
4670
|
r.native || T(() => {
|
|
4671
|
-
|
|
4671
|
+
ae();
|
|
4672
4672
|
});
|
|
4673
|
-
}),
|
|
4673
|
+
}), P(xm, re({
|
|
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
|
+
ae();
|
|
4681
4681
|
});
|
|
4682
|
-
}),
|
|
4682
|
+
}), ne(() => ae()), t({
|
|
4683
4683
|
wrapRef: b,
|
|
4684
|
-
update:
|
|
4685
|
-
scrollTo:
|
|
4686
|
-
setScrollTop:
|
|
4687
|
-
setScrollLeft:
|
|
4688
|
-
handleScroll:
|
|
4689
|
-
}), (t, n) => (
|
|
4684
|
+
update: ae,
|
|
4685
|
+
scrollTo: ie,
|
|
4686
|
+
setScrollTop: I,
|
|
4687
|
+
setScrollLeft: R,
|
|
4688
|
+
handleScroll: te
|
|
4689
|
+
}), (t, n) => (N(), 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: te,
|
|
4700
4700
|
onTransitionend: oe,
|
|
4701
4701
|
onAnimationend: oe
|
|
4702
|
-
}, [(
|
|
4702
|
+
}, [(N(), c(z(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(() => [L(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) : (N(), 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 = F();
|
|
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 ? P : 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 = F(), u = fe(), d = o(() => e.type || n?.type || i.value?.type || ""), f = o(() => e.autoInsertSpace ?? i.value?.autoInsertSpace ?? !1), p = o(() => e.plain ?? i.value?.plain ?? !1), m = o(() => e.round ?? i.value?.round ?? !1), h = o(() => e.text ?? i.value?.text ?? !1), g = o(() => e.dashed ?? i.value?.dashed ?? !1);
|
|
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) => (N(), c(z(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 ? (N(), u(t, { key: 0 }, [n.$slots.loading ? L(n.$slots, "loading", { key: 0 }) : (N(), c(H(Vf), {
|
|
5623
5623
|
key: 1,
|
|
5624
5624
|
class: E(H(d).is("loading"))
|
|
5625
5625
|
}, {
|
|
5626
|
-
default: W(() => [(
|
|
5626
|
+
default: W(() => [(N(), c(z(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 ? (N(), c(H(Vf), { key: 1 }, {
|
|
5629
|
+
default: W(() => [e.icon ? (N(), c(z(e.icon), { key: 0 })) : L(n.$slots, "icon", { key: 1 })]),
|
|
5630
5630
|
_: 3
|
|
5631
|
-
})) : l("v-if", !0), n.$slots.default ? (
|
|
5631
|
+
})) : l("v-if", !0), n.$slots.default ? (N(), u("span", {
|
|
5632
5632
|
key: 2,
|
|
5633
5633
|
class: E({ [H(d).em("text", "expand")]: H(x) })
|
|
5634
|
-
}, [
|
|
5634
|
+
}, [L(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
|
+
P(Rm, re({
|
|
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) => (N(), u("div", { class: E([H(n).b("group"), H(n).bm("group", t.direction)]) }, [L(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 ? (N(), 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")) }, [L(t.$slots, "default")], 2), e.closable ? (N(), 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)) : (N(), 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")) }, [L(t.$slots, "default")], 2), e.closable ? (N(), 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 = F({
|
|
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 = re({
|
|
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((N(), 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
|
+
}), [L(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 = F(), r = _(), i = F([]);
|
|
6081
|
+
P(Dh, re({ ...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((N(), 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")) }, [L(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 = F("");
|
|
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 N(), 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 ? (N(), u("div", {
|
|
6143
6143
|
key: 0,
|
|
6144
6144
|
class: E(e.ns.be("dropdown", "header"))
|
|
6145
|
-
}, [
|
|
6146
|
-
|
|
6147
|
-
e.$slots.footer ? (
|
|
6145
|
+
}, [L(e.$slots, "header")], 2)) : l("v-if", !0),
|
|
6146
|
+
L(e.$slots, "default"),
|
|
6147
|
+
e.$slots.footer ? (N(), u("div", {
|
|
6148
6148
|
key: 1,
|
|
6149
6149
|
class: E(e.ns.be("dropdown", "footer"))
|
|
6150
|
-
}, [
|
|
6150
|
+
}, [L(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 = re({
|
|
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 = F(), u = F(), d = F(), f = F(), p = F(), m = F(), h = F(), g = F(), _ = F(), v = F(), y = F(), b = F(!1), x = F(), S = F(!1), { form: C, formItem: w } = cp(), { inputId: E } = lp(e, { formItemContext: w }), { valueOnClear: D, isEmptyValue: O } = Af(e), { isComposing: k, handleCompositionStart: A, handleCompositionUpdate: j, handleCompositionEnd: ee } = Tf({ afterComposition: (e) => Oe(e) }), te = sp(), { wrapperRef: ne, isFocused: N, handleBlur: P } = wf(p, {
|
|
6169
|
+
disabled: te,
|
|
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
|
+
}), ie = o(() => J(e.modelValue) ? e.modelValue.length > 0 : !O(e.modelValue)), I = o(() => C?.statusIcon ?? !1), L = o(() => e.clearable && !te.value && ie.value && (N.value || c.inputHovering)), R = o(() => e.remote && e.filterable && !e.remoteShowSuffix ? "" : e.suffixIcon), ae = o(() => a.is("reverse", !!(R.value && b.value))), z = o(() => w?.validateState || ""), oe = o(() => z.value && zf[z.value]), se = o(() => e.remote ? e.debounce : 0), B = o(() => e.remote && !c.inputValue && c.options.size === 0), ce = o(() => e.loading ? e.loadingText || n("el.select.loading") : e.filterable && c.inputValue && c.options.size > 0 && le.value === 0 ? e.noMatchText || n("el.select.noMatch") : c.options.size === 0 ? e.noDataText || n("el.select.noData") : null), le = o(() => V.value.filter((e) => e.visible).length), V = o(() => {
|
|
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 || !ie.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 && !te.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, N.value) {
|
|
6347
6347
|
let t = new FocusEvent("blur", e);
|
|
6348
|
-
T(() =>
|
|
6348
|
+
T(() => P(t));
|
|
6349
6349
|
}
|
|
6350
6350
|
}, Ke = () => {
|
|
6351
6351
|
c.inputValue.length > 0 ? c.inputValue = "" : b.value = !1;
|
|
6352
6352
|
}, qe = (t) => {
|
|
6353
|
-
|
|
6353
|
+
te.value || e.filterable && b.value && t && !h.value?.contains(t.target) || (it && (c.inputHovering = !0), c.menuVisibleOnFocus ? c.menuVisibleOnFocus = !1 : b.value = !b.value);
|
|
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(ne, 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: N,
|
|
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: ie,
|
|
6459
6459
|
shouldShowPlaceholder: ge,
|
|
6460
6460
|
currentPlaceholder: W,
|
|
6461
6461
|
mouseEnterEventName: G,
|
|
6462
|
-
needStatusIcon:
|
|
6463
|
-
showClearBtn:
|
|
6464
|
-
iconComponent:
|
|
6465
|
-
iconReverse:
|
|
6466
|
-
validateState:
|
|
6462
|
+
needStatusIcon: I,
|
|
6463
|
+
showClearBtn: L,
|
|
6464
|
+
iconComponent: R,
|
|
6465
|
+
iconReverse: ae,
|
|
6466
|
+
validateState: z,
|
|
6467
6467
|
validateIcon: oe,
|
|
6468
6468
|
showNewOption: de,
|
|
6469
6469
|
updateOptions: H,
|
|
6470
6470
|
collapseTagSize: me,
|
|
6471
6471
|
setSelected: be,
|
|
6472
|
-
selectDisabled:
|
|
6472
|
+
selectDisabled: te,
|
|
6473
6473
|
emptyText: ce,
|
|
6474
6474
|
handleCompositionStart: A,
|
|
6475
6475
|
handleCompositionUpdate: j,
|
|
6476
|
-
handleCompositionEnd:
|
|
6476
|
+
handleCompositionEnd: ee,
|
|
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: ne,
|
|
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 = re({
|
|
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 }), P(Oh, re({
|
|
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 = R("el-tag"), f = R("el-tooltip"), p = R("el-icon"), g = R("el-option"), _ = R("el-option-group"), v = R("el-options"), y = R("el-scrollbar"), b = R("el-select-menu"), x = ae("click-outside");
|
|
6630
|
+
return G((N(), u("div", w({
|
|
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 ? (N(), u("div", {
|
|
6667
6667
|
key: 0,
|
|
6668
6668
|
ref: "prefixRef",
|
|
6669
6669
|
class: E(e.nsSelect.e("prefix"))
|
|
6670
|
-
}, [
|
|
6670
|
+
}, [L(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 ? L(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
|
+
}, () => [(N(!0), u(t, null, I(e.showTagList, (t) => (N(), 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")) }, [L(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 ? (N(), 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
|
+
}, [(N(!0), u(t, null, I(e.collapseTagList, (t) => (N(), 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")) }, [L(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 ? (N(), 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 ? (N(), 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 ? L(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)]) : (N(), 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 ? (N(), 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(() => [(N(), c(z(e.iconComponent)))]),
|
|
6857
6857
|
_: 1
|
|
6858
6858
|
}, 8, ["class"])) : l("v-if", !0),
|
|
6859
|
-
e.showClearBtn && e.clearIcon ? (
|
|
6859
|
+
e.showClearBtn && e.clearIcon ? (N(), 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(() => [(N(), c(z(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 ? (N(), 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(() => [(N(), c(z(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 ? (N(), u("div", {
|
|
6887
6887
|
key: 0,
|
|
6888
6888
|
class: E(e.nsSelect.be("dropdown", "header")),
|
|
6889
6889
|
onClick: n[8] ||= ve(() => {}, ["stop"])
|
|
6890
|
-
}, [
|
|
6890
|
+
}, [L(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 ? (N(), 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(() => [L(e.$slots, "default", {}, () => [(N(!0), u(t, null, I(e.options, (n, r) => (N(), u(t, { key: r }, [e.getOptions(n)?.length ? (N(), c(_, {
|
|
6910
6910
|
key: 0,
|
|
6911
6911
|
label: e.getLabel(n),
|
|
6912
6912
|
disabled: e.getDisabled(n)
|
|
6913
6913
|
}, {
|
|
6914
|
-
default: W(() => [(
|
|
6914
|
+
default: W(() => [(N(!0), u(t, null, I(e.getOptions(n), (t) => (N(), c(g, w({ key: e.getValue(t) }, { ref_for: !0 }, e.getOptionProps(t)), null, 16))), 128))]),
|
|
6915
6915
|
_: 2
|
|
6916
|
-
}, 1032, ["label", "disabled"])) : (
|
|
6916
|
+
}, 1032, ["label", "disabled"])) : (N(), 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 ? (N(), u("div", {
|
|
6933
6933
|
key: 1,
|
|
6934
6934
|
class: E(e.nsSelect.be("dropdown", "loading"))
|
|
6935
|
-
}, [
|
|
6935
|
+
}, [L(e.$slots, "loading")], 2)) : e.loading || e.filteredOptionsCount === 0 ? (N(), u("div", {
|
|
6936
6936
|
key: 2,
|
|
6937
6937
|
class: E(e.nsSelect.be("dropdown", "empty"))
|
|
6938
|
-
}, [
|
|
6939
|
-
e.$slots.footer ? (
|
|
6938
|
+
}, [L(e.$slots, "empty", {}, () => [d("span", null, B(e.emptyText), 1)])], 2)) : l("v-if", !0),
|
|
6939
|
+
e.$slots.footer ? (N(), u("div", {
|
|
6940
6940
|
key: 3,
|
|
6941
6941
|
class: E(e.nsSelect.be("dropdown", "footer")),
|
|
6942
6942
|
onClick: n[9] ||= ve(() => {}, ["stop"])
|
|
6943
|
-
}, [
|
|
6943
|
+
}, [L(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 = F(!1), { emit: n, vnode: r } = _(), i = b(sg, void 0), a = o(() => Zc(i) === !1), s = F(!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 = F(!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) => (N(), c(z(!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) ? (N(), u("span", {
|
|
7260
7260
|
key: 0,
|
|
7261
7261
|
class: E(H(S).e("label"))
|
|
7262
|
-
}, [
|
|
7262
|
+
}, [L(n.$slots, "default"), n.$slots.default ? l("v-if", !0) : (N(), u(t, { key: 0 }, [m(B(e.label), 1)], 64))], 2)) : l("v-if", !0)]),
|
|
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) => (N(), 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 ? (N(), 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
|
+
}, [L(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 P(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) => (N(), c(z(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(() => [L(n.$slots, "default", {}, () => [(N(!0), u(t, null, I(e.options, (e, t) => (N(), c(z(_.value), w({ key: t }, { ref_for: !0 }, g(e)), null, 16))), 128))])]),
|
|
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 = F(), 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 = F(!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) => (N(), 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
|
+
}, [L(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) => (N(), 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
|
+
}, [L(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 = F(), { 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 P(Eg, re({
|
|
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) => (N(), 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
|
+
}, [L(n.$slots, "default", {}, () => [(N(!0), u(t, null, I(e.options, (e, t) => (N(), c(z(v.value), w({ key: t }, { ref_for: !0 }, _(e)), null, 16))), 128))])], 10, Ig));
|
|
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
|
+
P(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) => (N(), c(z(e.tag), {
|
|
7730
7730
|
class: E(i.value),
|
|
7731
7731
|
style: D(r.value)
|
|
7732
7732
|
}, {
|
|
7733
|
-
default: W(() => [
|
|
7733
|
+
default: W(() => [L(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) => (N(), c(z(e.tag), {
|
|
7768
7768
|
class: E(a.value),
|
|
7769
7769
|
style: D(i.value)
|
|
7770
7770
|
}, {
|
|
7771
|
-
default: W(() => [
|
|
7771
|
+
default: W(() => [L(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
|
+
}, [L(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
|
+
}, [L(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 = F(!1), l = F(!1), u = F(!1), d = F(e.zIndex ?? r()), f = F(!1), p, m, h = Pm(), g = o(() => h.value?.namespace ?? "el"), v = o(() => h.value?.dialog), y = o(() => {
|
|
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(() => ne(), e.openDelay) : ne();
|
|
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(() => N(), e.closeDelay) : N();
|
|
7994
7994
|
}
|
|
7995
|
-
function
|
|
7995
|
+
function ee() {
|
|
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 ee() {
|
|
8002
|
-
e.closeOnClickModal && N();
|
|
8003
|
-
}
|
|
8004
8001
|
function te() {
|
|
8002
|
+
e.closeOnClickModal && ee();
|
|
8003
|
+
}
|
|
8004
|
+
function ne() {
|
|
8005
8005
|
q && (c.value = !0);
|
|
8006
8006
|
}
|
|
8007
|
-
function
|
|
8007
|
+
function N() {
|
|
8008
8008
|
c.value = !1;
|
|
8009
8009
|
}
|
|
8010
|
-
function
|
|
8010
|
+
function P() {
|
|
8011
8011
|
n("openAutoFocus");
|
|
8012
8012
|
}
|
|
8013
|
-
function
|
|
8013
|
+
function re() {
|
|
8014
8014
|
n("closeAutoFocus");
|
|
8015
8015
|
}
|
|
8016
|
-
function
|
|
8016
|
+
function ie(e) {
|
|
8017
8017
|
e.detail?.focusReason === "pointer" && e.preventDefault();
|
|
8018
8018
|
}
|
|
8019
8019
|
e.lockScroll && Gl(c);
|
|
8020
|
-
function
|
|
8021
|
-
e.closeOnPressEscape &&
|
|
8020
|
+
function I() {
|
|
8021
|
+
e.closeOnPressEscape && ee();
|
|
8022
8022
|
}
|
|
8023
|
-
function
|
|
8023
|
+
function L() {
|
|
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: ee,
|
|
8041
|
+
onModalClick: te,
|
|
8042
8042
|
close: j,
|
|
8043
|
-
doClose:
|
|
8044
|
-
onOpenAutoFocus:
|
|
8045
|
-
onCloseAutoFocus:
|
|
8046
|
-
onCloseRequested:
|
|
8047
|
-
onFocusoutPrevented:
|
|
8048
|
-
bringToFront:
|
|
8043
|
+
doClose: N,
|
|
8044
|
+
onOpenAutoFocus: P,
|
|
8045
|
+
onCloseAutoFocus: re,
|
|
8046
|
+
onCloseRequested: I,
|
|
8047
|
+
onFocusoutPrevented: ie,
|
|
8048
|
+
bringToFront: L,
|
|
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) => (N(), 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
|
+
}, [L(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 ? (N(), 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(() => [(N(), c(z(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
|
+
}, [L(t.$slots, "default")], 10, s_),
|
|
8117
|
+
t.$slots.footer ? (N(), u("footer", {
|
|
8118
8118
|
key: 0,
|
|
8119
8119
|
class: E([H(p).e("footer"), e.footerClass])
|
|
8120
|
-
}, [
|
|
8120
|
+
}, [L(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 = F(), p = F(), m = F(), { visible: g, titleId: _, bodyId: v, style: y, overlayDialogStyle: b, rendered: x, transitionConfig: S, zIndex: C, _draggable: T, _alignCenter: O, _overflow: k, penetrable: A, handleClose: j, onModalClick: M, onOpenAutoFocus: ee, onCloseAutoFocus: te, onCloseRequested: ne, onFocusoutPrevented: re, bringToFront: ie, closing: I } = r_(r, u);
|
|
8143
|
+
P(e_, {
|
|
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 R = 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) => (N(), 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(I))]),
|
|
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(R).onClick && H(R).onClick(...e),
|
|
8182
|
+
onMousedown: r[1] ||= (...e) => H(R).onMousedown && H(R).onMousedown(...e),
|
|
8183
|
+
onMouseup: r[2] ||= (...e) => H(R).onMouseup && H(R).onMouseup(...e)
|
|
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(ee),
|
|
8189
|
+
onFocusAfterReleased: H(te),
|
|
8190
|
+
onFocusoutPrevented: H(re),
|
|
8191
|
+
onReleaseRequested: H(ne)
|
|
8192
8192
|
}, {
|
|
8193
|
-
default: W(() => [H(x) ? (
|
|
8193
|
+
default: W(() => [H(x) ? (N(), 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(ie)
|
|
8212
8212
|
}), f({
|
|
8213
|
-
header: W(() => [t.$slots.title ?
|
|
8213
|
+
header: W(() => [t.$slots.title ? L(t.$slots, "title", { key: 1 }) : L(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(() => [L(t.$slots, "default")]),
|
|
8220
8220
|
_: 2
|
|
8221
8221
|
}, [t.$slots.footer ? {
|
|
8222
8222
|
name: "footer",
|
|
8223
|
-
fn: W(() => [
|
|
8223
|
+
fn: W(() => [L(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 = F(), 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) => (N(), 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 ? (N(), 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), L(t.$slots, "default", { hide: _ }, () => [m(B(e.content), 1)])]),
|
|
8447
|
+
default: W(() => [t.$slots.reference ? L(t.$slots, "reference", { key: 0 }) : l("v-if", !0)]),
|
|
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 = F(!1), a = re({
|
|
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) => F(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 N(), 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 ? (N(), 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 ? (N(), 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_, [(N(!0), u(t, null, I(r.selections, (e) => (N(), 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) ? (N(), 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 ? (N(), u("div", U_, [a.clipPathLegends.includes(a.legendStyleValue) ? (N(), 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)) : (N(), 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 N(), u("div", J_, [(N(!0), u(t, null, I(r.legends, (e) => (N(), 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" ? (N(), 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((N(), 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"])) : (N(), 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 N(), 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 ? (N(), u("div", tv, B(r.flatmapError.title), 1)) : l("", !0)]),
|
|
9100
|
+
r.flatmapError.messages ? (N(), u("div", nv, [(N(!0), u(t, null, I(r.flatmapError.messages, (e, t) => (N(), u("div", { key: t }, [d("div", { innerHTML: e }, null, 8, rv)]))), 128))])) : l("", !0),
|
|
9101
|
+
r.flatmapError.button ? (N(), u("div", iv, [h(f, {
|
|
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 N(), u("div", cv, [(N(), u("svg", lv, [...t[0] ||= [p("<defs data-v-88079d87><bx:grid height=\"30.447\" width=\"32.516\" x=\"0\" y=\"0\" data-v-88079d87></bx:grid></defs><path class=\"st0 st0-translate\" d=\"M61.3,103.8c-15.9,0-28.8-12.3-28.8-27.3c0-15,13-27.3,28.8-27.3s28.8,12.3,28.8,27.3 C90.1,91.5,77.2,103.8,61.3,103.8z\" data-v-88079d87></path><path class=\"st1\" d=\"M40.3,356.1C29.5,345,29.8,328,41.5,317.5c11.7-10.5,29.6-9.9,40.7,1.1c11.1,11,10.5,28.1-1.2,38.5 C69.3,367.4,51.1,366.9,40.3,356.1z\" data-v-88079d87></path><path class=\"st2\" d=\"M61.2,396.9c-5.3,9.3-15.3,15.1-26.1,15.1l-0.4,0.6c5.1,9,5.1,20,0,29l0.4,0.6c10.7,0,20.8,5.8,26.1,15.1 c5.3-9.3,15.3-15.1,26.1-15.1c-5.3-9.3-5.3-20.9,0-30.4C76.6,412.1,66.7,406.3,61.2,396.9z\" data-v-88079d87></path><text transform=\"matrix(0.9908 0 0 1 118.0161 171.7975)\" class=\"st3 st4 st5\" style=\"white-space:pre;\" data-v-88079d87> Tissue region </text><path class=\"st6\" d=\"M40.9,231.1c11.3-10.6,29.5-10.6,40.8,0c11.3,10.6,11.3,27.9,0,38.5c-11.3,10.6-29.5,10.6-40.8,0 C29.7,259,29.7,241.7,40.9,231.1z\" data-v-88079d87></path><text transform=\"matrix(0.9908 0 0 1 118.0161 257.675)\" class=\"st3 st4 st5\" style=\"white-space:pre;\" data-v-88079d87> Brain nuclei </text><text transform=\"matrix(0.9908 0 0 1 118.0903 345.5266)\" class=\"st3 st4 st5\" style=\"white-space:pre;\" data-v-88079d87> Ganglia </text><text transform=\"matrix(0.9908 0 0 1 118.0903 433.1613)\" class=\"st3 st4 st5\" style=\"white-space:pre;\" data-v-88079d87> Ganglionated nerve plexus </text>", 9)]])), t[1] ||= d("svg", {
|
|
9123
9123
|
width: "72px",
|
|
9124
9124
|
height: "72px",
|
|
9125
9125
|
viewBox: "0 0 24 24",
|
|
@@ -9623,7 +9623,63 @@ 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 =
|
|
9626
|
+
})))()), Mv = Ie, Nv = "#1b7f6b", Pv = "#f4f1de", Fv = "#12312b", Iv = "99+", Lv = function(e) {
|
|
9627
|
+
return (Array.isArray(e) ? e : []).map((e) => ({
|
|
9628
|
+
label: String(e?.label || "").trim(),
|
|
9629
|
+
curie: String(e?.curie || "").trim(),
|
|
9630
|
+
count: Number(e?.count || 0)
|
|
9631
|
+
})).filter((e) => e.curie && e.count > 0);
|
|
9632
|
+
}, Rv = function(e) {
|
|
9633
|
+
return e > 99 ? Iv : String(e);
|
|
9634
|
+
}, zv = function(e) {
|
|
9635
|
+
let t = document.createElement("div");
|
|
9636
|
+
return t.className = "flatmapvuer-soma-location-marker", t.title = e.label || e.curie, t.style.width = "34px", t.style.height = "48px", t.style.display = "flex", t.style.alignItems = "center", t.style.justifyContent = "center", t.style.transform = "translate(-50%, -100%)", t.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="-1 -1 27 42" width="34" height="48" aria-hidden="true">
|
|
9637
|
+
<ellipse style="fill: rgb(0, 0, 0); fill-opacity: 0.18;" cx="12" cy="36" rx="8" ry="4"/>
|
|
9638
|
+
<path d="M12.25.25a12.254 12.254 0 0 0-12 12.494
|
|
9639
|
+
c0 6.444 6.488 12.109 11.059 22.564.549 1.256 1.333 1.256 1.882 0
|
|
9640
|
+
C17.762 24.853 24.25 19.186 24.25 12.744A12.254 12.254 0 0 0 12.25.25Z"
|
|
9641
|
+
style="fill:${Nv};stroke:${Pv};stroke-width:1.1"/>
|
|
9642
|
+
<circle cx="12.5" cy="12.5" r="8" fill="${Pv}"/>
|
|
9643
|
+
<text x="12.5" y="16.1" text-anchor="middle" style="font-size:7.5px;font-weight:700;fill:${Fv};font-family:Arial, sans-serif">${Rv(e.count)}</text>
|
|
9644
|
+
</svg>`, t;
|
|
9645
|
+
}, Bv = function(e, t) {
|
|
9646
|
+
let n = Array.isArray(e?.modelFeatureIds?.(t)) ? e.modelFeatureIds(t) : [], r = [], i = /* @__PURE__ */ new Set();
|
|
9647
|
+
for (let t of n) {
|
|
9648
|
+
let n = e.annotation(t), a = String(n?.uri || "").trim();
|
|
9649
|
+
a && !i.has(a) && (i.add(a), r.push({
|
|
9650
|
+
type: "feature-uri",
|
|
9651
|
+
value: a
|
|
9652
|
+
}));
|
|
9653
|
+
}
|
|
9654
|
+
return !r.length && n.length && r.push({
|
|
9655
|
+
type: "model",
|
|
9656
|
+
value: t
|
|
9657
|
+
}), r;
|
|
9658
|
+
}, Vv = function(e) {
|
|
9659
|
+
if (!e || e.addSomaLocationMarkers) return e;
|
|
9660
|
+
let t = [];
|
|
9661
|
+
return e.clearSomaLocationMarkers = function() {
|
|
9662
|
+
t.forEach((t) => {
|
|
9663
|
+
e.removeMarker(t);
|
|
9664
|
+
}), t = [];
|
|
9665
|
+
}, e.addSomaLocationMarkers = function(n) {
|
|
9666
|
+
let r = Lv(n), i = [];
|
|
9667
|
+
return e.clearSomaLocationMarkers(), r.forEach((n) => {
|
|
9668
|
+
let r = Bv(e, n.curie);
|
|
9669
|
+
if (!r.length) return;
|
|
9670
|
+
let a = !1;
|
|
9671
|
+
r.forEach((r) => {
|
|
9672
|
+
let i = zv(n), o = [];
|
|
9673
|
+
if (r.type === "feature-uri") o = e.addMarkerByFeatureUri(r.value, { element: i });
|
|
9674
|
+
else if (r.type === "model") {
|
|
9675
|
+
let t = e.addMarker(r.value, { element: i });
|
|
9676
|
+
o = t > -1 ? [t] : [];
|
|
9677
|
+
}
|
|
9678
|
+
o.length && (t.push(...o), a = !0);
|
|
9679
|
+
}), a && i.push(n);
|
|
9680
|
+
}), i;
|
|
9681
|
+
}, e;
|
|
9682
|
+
}, Hv = Re("main", {
|
|
9627
9683
|
state: () => ({ userProfile: { token: "" } }),
|
|
9628
9684
|
getters: { userToken(e) {
|
|
9629
9685
|
return e.userProfile.token;
|
|
@@ -9634,7 +9690,7 @@ var Ov = (e) => e && e.charAt(0).toUpperCase() + e.slice(1), kv = (e) => {
|
|
|
9634
9690
|
});
|
|
9635
9691
|
//#endregion
|
|
9636
9692
|
//#region node_modules/mitt/dist/mitt.mjs
|
|
9637
|
-
function
|
|
9693
|
+
function Uv(e) {
|
|
9638
9694
|
return {
|
|
9639
9695
|
all: e ||= /* @__PURE__ */ new Map(),
|
|
9640
9696
|
on: function(t, n) {
|
|
@@ -9657,7 +9713,7 @@ function Pv(e) {
|
|
|
9657
9713
|
}
|
|
9658
9714
|
//#endregion
|
|
9659
9715
|
//#region src/components/EventBus.js
|
|
9660
|
-
var
|
|
9716
|
+
var Wv = new Uv(), Gv = "cannot be found on the map.", Kv = (e) => {
|
|
9661
9717
|
let t = {
|
|
9662
9718
|
lng: 0,
|
|
9663
9719
|
lat: 0
|
|
@@ -9665,17 +9721,17 @@ var Fv = new Pv(), Iv = "cannot be found on the map.", Lv = (e) => {
|
|
|
9665
9721
|
return e.type === "Polygon" ? e.coordinates.length && (n = e.coordinates[0]) : n = e.coordinates, n && (e.type === "Point" ? (t.lng += parseFloat(n[0]), t.lat += parseFloat(n[1])) : (n.map((e) => {
|
|
9666
9722
|
t.lng += parseFloat(e[0]), t.lat += parseFloat(e[1]);
|
|
9667
9723
|
}), t.lng /= n.length, t.lat /= n.length)), t;
|
|
9668
|
-
},
|
|
9724
|
+
}, qv = (e, t) => {
|
|
9669
9725
|
let n = [], r = e.organs ? e.organs : e.ftus, i = r ? r.filter((e, t) => r.findIndex((t) => t.label === e.label) === t) : void 0;
|
|
9670
9726
|
return i && i.forEach((e) => {
|
|
9671
9727
|
let r = {
|
|
9672
9728
|
label: e.label,
|
|
9673
9729
|
models: e.models,
|
|
9674
9730
|
key: `${t}.${e.label}`
|
|
9675
|
-
}, i =
|
|
9731
|
+
}, i = qv(e, r.key);
|
|
9676
9732
|
i.length > 0 && (r.children = i), n.push(r);
|
|
9677
9733
|
}), n;
|
|
9678
|
-
},
|
|
9734
|
+
}, Jv = {
|
|
9679
9735
|
name: "FlatmapVuer",
|
|
9680
9736
|
components: {
|
|
9681
9737
|
Button: xh,
|
|
@@ -9704,7 +9760,7 @@ var Fv = new Pv(), Iv = "cannot be found on the map.", Lv = (e) => {
|
|
|
9704
9760
|
},
|
|
9705
9761
|
setup(e) {
|
|
9706
9762
|
let t = b("$annotator");
|
|
9707
|
-
return t || (t = C(new Le(`${e.flatmapAPI}annotator`)),
|
|
9763
|
+
return t || (t = C(new Le(`${e.flatmapAPI}annotator`)), P("$annotator", t)), { annotator: t };
|
|
9708
9764
|
},
|
|
9709
9765
|
methods: {
|
|
9710
9766
|
enableFeatureResetOnClick: function(e) {
|
|
@@ -9861,7 +9917,7 @@ var Fv = new Pv(), Iv = "cannot be found on the map.", Lv = (e) => {
|
|
|
9861
9917
|
enabled: e.enabled,
|
|
9862
9918
|
label: e.id,
|
|
9863
9919
|
key: e.id
|
|
9864
|
-
}, r =
|
|
9920
|
+
}, r = qv(e, n.key);
|
|
9865
9921
|
r.length > 0 && (n.children = r), t.children.push(n);
|
|
9866
9922
|
}), this.systems.push(t);
|
|
9867
9923
|
}
|
|
@@ -10167,7 +10223,7 @@ var Fv = new Pv(), Iv = "cannot be found on the map.", Lv = (e) => {
|
|
|
10167
10223
|
emitConnectivityError: function(e) {
|
|
10168
10224
|
this.$emit("connectivity-error", { data: {
|
|
10169
10225
|
errorData: e,
|
|
10170
|
-
errorMessage:
|
|
10226
|
+
errorMessage: Gv
|
|
10171
10227
|
} });
|
|
10172
10228
|
},
|
|
10173
10229
|
checkConnectivityTooltipEntry: function(e) {
|
|
@@ -10191,7 +10247,7 @@ var Fv = new Pv(), Iv = "cannot be found on the map.", Lv = (e) => {
|
|
|
10191
10247
|
featureId: e.featureId ? e.featureId : e.feature?.id,
|
|
10192
10248
|
offline: this.offlineAnnotationEnabled
|
|
10193
10249
|
});
|
|
10194
|
-
}), t[0].feature) this.activeDrawTool || this.activeDrawMode || this.isValidDrawnCreated ? (this.featureAnnotationSubmitted = !1, this.activeDrawTool && this.createConnectivityBody(), this.displayTooltip(t[0].feature.id,
|
|
10250
|
+
}), t[0].feature) this.activeDrawTool || this.activeDrawMode || this.isValidDrawnCreated ? (this.featureAnnotationSubmitted = !1, this.activeDrawTool && this.createConnectivityBody(), this.displayTooltip(t[0].feature.id, Kv(t[0].feature.geometry))) : this.rollbackAnnotationEvent();
|
|
10195
10251
|
else {
|
|
10196
10252
|
let e = this.annotationEntry.filter((e) => e.featureId && e.models).map((e) => e.models);
|
|
10197
10253
|
e.length > 0 && this.displayTooltip(e);
|
|
@@ -10426,7 +10482,7 @@ var Fv = new Pv(), Iv = "cannot be found on the map.", Lv = (e) => {
|
|
|
10426
10482
|
container: this.$refs.display,
|
|
10427
10483
|
tooltipDelay: 15
|
|
10428
10484
|
}).then((t) => {
|
|
10429
|
-
this.mapImp = t, this.serverURL = this.mapImp.makeServerUrl("").slice(0, -1);
|
|
10485
|
+
this.mapImp = Vv(t), this.serverURL = this.mapImp.makeServerUrl("").slice(0, -1);
|
|
10430
10486
|
let n = this.mapImp.details.version;
|
|
10431
10487
|
this.setFlightPathInfo(n);
|
|
10432
10488
|
let r = this._stateToBeSet ? this._stateToBeSet : e;
|
|
@@ -10561,7 +10617,7 @@ var Fv = new Pv(), Iv = "cannot be found on the map.", Lv = (e) => {
|
|
|
10561
10617
|
return this.mapImp ? this.mapImp.search(e) : [];
|
|
10562
10618
|
},
|
|
10563
10619
|
onActionClick: function(e) {
|
|
10564
|
-
|
|
10620
|
+
Wv.emit("onActionClick", e);
|
|
10565
10621
|
},
|
|
10566
10622
|
setConnectionType: function(e) {
|
|
10567
10623
|
this.connectionType = e;
|
|
@@ -10920,7 +10976,7 @@ var Fv = new Pv(), Iv = "cannot be found on the map.", Lv = (e) => {
|
|
|
10920
10976
|
};
|
|
10921
10977
|
},
|
|
10922
10978
|
computed: {
|
|
10923
|
-
...ze(
|
|
10979
|
+
...ze(Hv, ["userToken"]),
|
|
10924
10980
|
isValidDrawnCreated: function() {
|
|
10925
10981
|
return Object.keys(this.drawnCreatedEvent).length > 0;
|
|
10926
10982
|
},
|
|
@@ -11007,39 +11063,39 @@ var Fv = new Pv(), Iv = "cannot be found on the map.", Lv = (e) => {
|
|
|
11007
11063
|
beforeUnmount: function() {
|
|
11008
11064
|
this.tooltipObserver &&= (this.tooltipObserver.disconnect(), null);
|
|
11009
11065
|
}
|
|
11010
|
-
},
|
|
11066
|
+
}, Yv = {
|
|
11011
11067
|
class: "flatmap-container",
|
|
11012
11068
|
ref: "flatmapContainer",
|
|
11013
11069
|
"element-loading-text": "Loading...",
|
|
11014
11070
|
"element-loading-background": "rgba(0, 0, 0, 0.3)"
|
|
11015
|
-
},
|
|
11071
|
+
}, Xv = { style: {
|
|
11016
11072
|
height: "100%",
|
|
11017
11073
|
width: "100%",
|
|
11018
11074
|
position: "relative",
|
|
11019
11075
|
"overflow-y": "none"
|
|
11020
|
-
} },
|
|
11076
|
+
} }, Zv = {
|
|
11021
11077
|
style: {
|
|
11022
11078
|
height: "100%",
|
|
11023
11079
|
width: "100%"
|
|
11024
11080
|
},
|
|
11025
11081
|
ref: "display",
|
|
11026
11082
|
class: "flatmap-display"
|
|
11027
|
-
},
|
|
11083
|
+
}, Qv = { class: "beta-popovers" }, $v = {
|
|
11028
11084
|
key: 2,
|
|
11029
11085
|
class: "warning-text"
|
|
11030
|
-
},
|
|
11086
|
+
}, ey = { class: "bottom-right-control" }, ty = ["innerHTML"], ny = { style: { "margin-bottom": "2px" } }, ry = {
|
|
11031
11087
|
key: 0,
|
|
11032
11088
|
class: "viewing-mode-title"
|
|
11033
|
-
},
|
|
11034
|
-
function
|
|
11035
|
-
let s =
|
|
11036
|
-
return G((
|
|
11037
|
-
d("div",
|
|
11038
|
-
e.flatmapError ? (
|
|
11089
|
+
}, iy = ["onClick"], ay = ["onClick"];
|
|
11090
|
+
function oy(e, n, r, i, a, o) {
|
|
11091
|
+
let s = R("map-svg-sprite-color"), f = ov, p = De, g = Vf, _ = y_, v = ye, y = R("DrawToolbar"), b = R("map-svg-icon"), x = Z_, S = R("tree-controls"), C = B_, w = be, T = xh, O = Ug, k = Wg, A = ig, j = rg, M = Rg, ee = zg, te = R("Tooltip"), ne = v_, P = A_;
|
|
11092
|
+
return G((N(), u("div", Yv, [h(s), d("div", Xv, [
|
|
11093
|
+
d("div", Zv, null, 512),
|
|
11094
|
+
e.flatmapError ? (N(), c(f, {
|
|
11039
11095
|
key: 0,
|
|
11040
11096
|
flatmapError: e.flatmapError
|
|
11041
11097
|
}, null, 8, ["flatmapError"])) : l("", !0),
|
|
11042
|
-
G(d("div",
|
|
11098
|
+
G(d("div", Qv, [d("div", null, [r.displayWarning || r.isLegacy ? (N(), c(_, {
|
|
11043
11099
|
key: 0,
|
|
11044
11100
|
placement: "right",
|
|
11045
11101
|
"popper-class": "warning-popper flatmap-popper",
|
|
@@ -11051,18 +11107,18 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11051
11107
|
class: "warning-icon",
|
|
11052
11108
|
onMouseover: n[7] ||= (e) => o.showTooltip(7),
|
|
11053
11109
|
onMouseout: n[8] ||= (e) => o.hideTooltip(7)
|
|
11054
|
-
}, [r.displayWarning || r.isLegacy ? (
|
|
11110
|
+
}, [r.displayWarning || r.isLegacy ? (N(), c(g, { key: 0 }, {
|
|
11055
11111
|
default: W(() => [h(p)]),
|
|
11056
11112
|
_: 1
|
|
11057
|
-
})) : l("", !0), r.isLegacy ? (
|
|
11113
|
+
})) : l("", !0), r.isLegacy ? (N(), u(t, { key: 1 }, [n[31] ||= d("span", { class: "warning-text" }, "Legacy Map", -1), d("div", {
|
|
11058
11114
|
class: "latest-map-text",
|
|
11059
11115
|
onClick: n[6] ||= (...e) => o.viewLatestMap && o.viewLatestMap(...e)
|
|
11060
|
-
}, " Click here for the latest map ")], 64)) : r.displayWarning ? (
|
|
11061
|
-
default: W(() => [r.isLegacy ? (
|
|
11116
|
+
}, " Click here for the latest map ")], 64)) : r.displayWarning ? (N(), u("span", $v, "Beta")) : l("", !0)], 32)]),
|
|
11117
|
+
default: W(() => [r.isLegacy ? (N(), u("p", {
|
|
11062
11118
|
key: 0,
|
|
11063
11119
|
onMouseover: n[0] ||= (e) => o.showTooltip(7),
|
|
11064
11120
|
onMouseout: n[1] ||= (e) => o.hideTooltip(7)
|
|
11065
|
-
}, " This is a legacy map, you may view the latest map instead. ", 32)) : e.isFC ? (
|
|
11121
|
+
}, " This is a legacy map, you may view the latest map instead. ", 32)) : e.isFC ? (N(), u("p", {
|
|
11066
11122
|
key: 1,
|
|
11067
11123
|
onMouseover: n[2] ||= (e) => o.showTooltip(7),
|
|
11068
11124
|
onMouseout: n[3] ||= (e) => o.hideTooltip(7)
|
|
@@ -11078,7 +11134,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11078
11134
|
target: "_blank"
|
|
11079
11135
|
}, " SCKAN ", -1),
|
|
11080
11136
|
m(". ", -1)
|
|
11081
|
-
]], 32)) : (
|
|
11137
|
+
]], 32)) : (N(), u("p", {
|
|
11082
11138
|
key: 2,
|
|
11083
11139
|
onMouseover: n[4] ||= (e) => o.showTooltip(7),
|
|
11084
11140
|
onMouseout: n[5] ||= (e) => o.hideTooltip(7)
|
|
@@ -11096,7 +11152,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11096
11152
|
m(". New connectivity and species specificity will be added as the SPARC program progresses. ", -1)
|
|
11097
11153
|
]], 32))]),
|
|
11098
11154
|
_: 1
|
|
11099
|
-
}, 8, ["visible"])) : l("", !0)]), r.displayLatestChanges ? (
|
|
11155
|
+
}, 8, ["visible"])) : l("", !0)]), r.displayLatestChanges ? (N(), c(_, {
|
|
11100
11156
|
key: 0,
|
|
11101
11157
|
placement: "right",
|
|
11102
11158
|
teleported: !1,
|
|
@@ -11105,7 +11161,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11105
11161
|
visible: e.hoverVisibilities[8].value,
|
|
11106
11162
|
ref: "whatsNewPopover"
|
|
11107
11163
|
}, {
|
|
11108
|
-
reference: W(() => [r.displayLatestChanges ? (
|
|
11164
|
+
reference: W(() => [r.displayLatestChanges ? (N(), u("div", {
|
|
11109
11165
|
key: 0,
|
|
11110
11166
|
class: "latest-changesicon",
|
|
11111
11167
|
onMouseover: n[9] ||= (e) => o.showTooltip(8),
|
|
@@ -11133,7 +11189,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11133
11189
|
default: W(() => [h(v)]),
|
|
11134
11190
|
_: 1
|
|
11135
11191
|
}, 8, ["class", "onClick"]), [[he, e.minimapResizeShow]]),
|
|
11136
|
-
e.viewingMode === "Annotation" && (e.authorisedUser || e.offlineAnnotationEnabled) && !r.disableUI ? (
|
|
11192
|
+
e.viewingMode === "Annotation" && (e.authorisedUser || e.offlineAnnotationEnabled) && !r.disableUI ? (N(), c(y, {
|
|
11137
11193
|
key: 1,
|
|
11138
11194
|
mapCanvas: {
|
|
11139
11195
|
containerHTML: this.$el,
|
|
@@ -11167,7 +11223,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11167
11223
|
"onShowTooltip",
|
|
11168
11224
|
"onHideTooltip"
|
|
11169
11225
|
])) : l("", !0),
|
|
11170
|
-
G(d("div",
|
|
11226
|
+
G(d("div", ey, [
|
|
11171
11227
|
h(_, {
|
|
11172
11228
|
content: "Zoom in",
|
|
11173
11229
|
placement: "left",
|
|
@@ -11250,14 +11306,14 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11250
11306
|
reference: W(() => [G(d("div", { class: E(["pathway-location", {
|
|
11251
11307
|
open: e.drawerOpen,
|
|
11252
11308
|
close: !e.drawerOpen
|
|
11253
|
-
}]) }, [G((
|
|
11309
|
+
}]) }, [G((N(), u("div", {
|
|
11254
11310
|
class: E(["pathway-container", {
|
|
11255
11311
|
open: e.drawerOpen,
|
|
11256
11312
|
close: !e.drawerOpen
|
|
11257
11313
|
}]),
|
|
11258
11314
|
style: D({ "max-height": e.pathwaysMaxHeight + "px" })
|
|
11259
11315
|
}, [
|
|
11260
|
-
o.legendEntry.length ? (
|
|
11316
|
+
o.legendEntry.length ? (N(), c(x, {
|
|
11261
11317
|
key: 0,
|
|
11262
11318
|
identifierKey: "prompt",
|
|
11263
11319
|
colourKey: "colour",
|
|
@@ -11281,14 +11337,14 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11281
11337
|
reference: W(() => [G(d("div", {
|
|
11282
11338
|
class: "flatmap-marker-help",
|
|
11283
11339
|
innerHTML: e.flatmapMarker
|
|
11284
|
-
}, null, 8,
|
|
11285
|
-
|
|
11340
|
+
}, null, 8, ty), [[he, e.hoverVisibilities[0].value], [
|
|
11341
|
+
ne,
|
|
11286
11342
|
void 0,
|
|
11287
11343
|
"markerPopover"
|
|
11288
11344
|
]])]),
|
|
11289
11345
|
_: 1
|
|
11290
11346
|
}, 8, ["visible"]),
|
|
11291
|
-
e.isFC && e.systems && e.systems.length > 0 ? (
|
|
11347
|
+
e.isFC && e.systems && e.systems.length > 0 ? (N(), c(S, {
|
|
11292
11348
|
key: 1,
|
|
11293
11349
|
class: "treeControls",
|
|
11294
11350
|
mapType: "flatmap",
|
|
@@ -11308,7 +11364,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11308
11364
|
"onCheckAll",
|
|
11309
11365
|
"onChangeActive"
|
|
11310
11366
|
])) : l("", !0),
|
|
11311
|
-
e.containsAlert && e.alertOptions && r.showPathwayFilter ? (
|
|
11367
|
+
e.containsAlert && e.alertOptions && r.showPathwayFilter ? (N(), c(C, {
|
|
11312
11368
|
title: "Notes",
|
|
11313
11369
|
labelKey: "label",
|
|
11314
11370
|
identifierKey: "key",
|
|
@@ -11326,7 +11382,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11326
11382
|
"onSelectionsDataChanged",
|
|
11327
11383
|
"onCheckAll"
|
|
11328
11384
|
])) : l("", !0),
|
|
11329
|
-
e.pathways && e.pathways.length > 0 ? (
|
|
11385
|
+
e.pathways && e.pathways.length > 0 ? (N(), c(C, {
|
|
11330
11386
|
title: "Pathways",
|
|
11331
11387
|
labelKey: "label",
|
|
11332
11388
|
identifierKey: "type",
|
|
@@ -11345,7 +11401,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11345
11401
|
"onSelectionsDataChanged",
|
|
11346
11402
|
"onCheckAll"
|
|
11347
11403
|
])) : l("", !0),
|
|
11348
|
-
e.taxonConnectivity && e.taxonConnectivity.length > 0 && r.showPathwayFilter ? (
|
|
11404
|
+
e.taxonConnectivity && e.taxonConnectivity.length > 0 && r.showPathwayFilter ? (N(), c(C, {
|
|
11349
11405
|
title: "Studied in",
|
|
11350
11406
|
labelKey: "label",
|
|
11351
11407
|
identifierKey: "taxon",
|
|
@@ -11365,7 +11421,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11365
11421
|
"onCheckAll"
|
|
11366
11422
|
])) : l("", !0)
|
|
11367
11423
|
], 6)), [[
|
|
11368
|
-
|
|
11424
|
+
ne,
|
|
11369
11425
|
void 0,
|
|
11370
11426
|
"checkBoxPopover"
|
|
11371
11427
|
]]), d("div", {
|
|
@@ -11380,7 +11436,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11380
11436
|
})], 2)], 2), [[he, !r.disableUI && o.requiresDrawer]])]),
|
|
11381
11437
|
_: 1
|
|
11382
11438
|
}, 8, ["visible"]),
|
|
11383
|
-
e.openMapRef ? (
|
|
11439
|
+
e.openMapRef ? (N(), c(_, {
|
|
11384
11440
|
key: 2,
|
|
11385
11441
|
ref: "open-map-popover",
|
|
11386
11442
|
"virtual-ref": e.openMapRef,
|
|
@@ -11391,7 +11447,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11391
11447
|
"popper-class": "open-map-popper non-selectable",
|
|
11392
11448
|
"virtual-triggering": ""
|
|
11393
11449
|
}, {
|
|
11394
|
-
default: W(() => [(
|
|
11450
|
+
default: W(() => [(N(!0), u(t, null, I(r.openMapOptions, (t) => (N(), c(O, { key: t.key }, {
|
|
11395
11451
|
default: W(() => [h(T, {
|
|
11396
11452
|
type: "primary",
|
|
11397
11453
|
plain: "",
|
|
@@ -11421,16 +11477,16 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11421
11477
|
}),
|
|
11422
11478
|
h(O, { class: "backgroundControl" }, {
|
|
11423
11479
|
default: W(() => [
|
|
11424
|
-
d("div",
|
|
11480
|
+
d("div", ny, [(N(!0), u(t, null, I(e.viewingModes, (n, r, i) => (N(), u(t, { key: r }, [r === e.viewingMode ? (N(), u("span", ry, [d("b", null, B(r), 1)])) : (N(), u("span", {
|
|
11425
11481
|
key: 1,
|
|
11426
11482
|
class: "viewing-mode-unselected",
|
|
11427
11483
|
onClick: (e) => o.changeViewingMode(r)
|
|
11428
|
-
}, B(r), 9,
|
|
11484
|
+
}, B(r), 9, iy))], 64))), 128))]),
|
|
11429
11485
|
h(O, { class: "viewing-mode-description" }, {
|
|
11430
11486
|
default: W(() => [m(B(o.modeDescription), 1)]),
|
|
11431
11487
|
_: 1
|
|
11432
11488
|
}),
|
|
11433
|
-
e.viewingMode === "Annotation" && e.offlineAnnotationEnabled ? (
|
|
11489
|
+
e.viewingMode === "Annotation" && e.offlineAnnotationEnabled ? (N(), c(O, {
|
|
11434
11490
|
key: 0,
|
|
11435
11491
|
class: "viewing-mode-description"
|
|
11436
11492
|
}, {
|
|
@@ -11440,7 +11496,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11440
11496
|
]),
|
|
11441
11497
|
_: 1
|
|
11442
11498
|
}),
|
|
11443
|
-
e.viewingMode === "Annotation" && e.authorisedUser ? (
|
|
11499
|
+
e.viewingMode === "Annotation" && e.authorisedUser ? (N(), u(t, { key: 0 }, [h(O, { class: "backgroundText" }, {
|
|
11444
11500
|
default: W(() => [...n[37] ||= [m("Annotations From", -1)]]),
|
|
11445
11501
|
_: 1
|
|
11446
11502
|
}), h(O, { class: "backgroundControl" }, {
|
|
@@ -11453,7 +11509,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11453
11509
|
"popper-class": "flatmap_dropdown",
|
|
11454
11510
|
onChange: o.setAnnotationFrom
|
|
11455
11511
|
}, {
|
|
11456
|
-
default: W(() => [(
|
|
11512
|
+
default: W(() => [(N(!0), u(t, null, I(e.annotatedSource, (e) => (N(), c(A, {
|
|
11457
11513
|
key: e,
|
|
11458
11514
|
label: e,
|
|
11459
11515
|
value: e
|
|
@@ -11471,22 +11527,22 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11471
11527
|
}, 8, ["modelValue", "onChange"])]),
|
|
11472
11528
|
_: 1
|
|
11473
11529
|
})], 64)) : l("", !0),
|
|
11474
|
-
e.displayFlightPathOption ? (
|
|
11530
|
+
e.displayFlightPathOption ? (N(), c(O, {
|
|
11475
11531
|
key: 1,
|
|
11476
11532
|
class: "backgroundSpacer"
|
|
11477
11533
|
})) : l("", !0),
|
|
11478
|
-
e.displayFlightPathOption ? (
|
|
11534
|
+
e.displayFlightPathOption ? (N(), c(O, {
|
|
11479
11535
|
key: 2,
|
|
11480
11536
|
class: "backgroundText"
|
|
11481
11537
|
}, {
|
|
11482
11538
|
default: W(() => [...n[38] ||= [m("Flight path display", -1)]]),
|
|
11483
11539
|
_: 1
|
|
11484
11540
|
})) : l("", !0),
|
|
11485
|
-
e.displayFlightPathOption ? (
|
|
11541
|
+
e.displayFlightPathOption ? (N(), c(O, {
|
|
11486
11542
|
key: 3,
|
|
11487
11543
|
class: "backgroundControl"
|
|
11488
11544
|
}, {
|
|
11489
|
-
default: W(() => [h(
|
|
11545
|
+
default: W(() => [h(ee, {
|
|
11490
11546
|
modelValue: e.flightPath3DRadio,
|
|
11491
11547
|
"onUpdate:modelValue": n[22] ||= (t) => e.flightPath3DRadio = t,
|
|
11492
11548
|
class: "flatmap-radio",
|
|
@@ -11509,7 +11565,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11509
11565
|
_: 1
|
|
11510
11566
|
}),
|
|
11511
11567
|
h(O, { class: "backgroundControl" }, {
|
|
11512
|
-
default: W(() => [h(
|
|
11568
|
+
default: W(() => [h(ee, {
|
|
11513
11569
|
modelValue: e.colourRadio,
|
|
11514
11570
|
"onUpdate:modelValue": n[23] ||= (t) => e.colourRadio = t,
|
|
11515
11571
|
class: "flatmap-radio",
|
|
@@ -11532,7 +11588,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11532
11588
|
_: 1
|
|
11533
11589
|
}),
|
|
11534
11590
|
h(O, { class: "backgroundControl" }, {
|
|
11535
|
-
default: W(() => [h(
|
|
11591
|
+
default: W(() => [h(ee, {
|
|
11536
11592
|
modelValue: e.outlinesRadio,
|
|
11537
11593
|
"onUpdate:modelValue": n[24] ||= (t) => e.outlinesRadio = t,
|
|
11538
11594
|
class: "flatmap-radio",
|
|
@@ -11555,7 +11611,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11555
11611
|
_: 1
|
|
11556
11612
|
}),
|
|
11557
11613
|
h(O, { class: "backgroundControl" }, {
|
|
11558
|
-
default: W(() => [(
|
|
11614
|
+
default: W(() => [(N(!0), u(t, null, I(e.availableBackground, (t) => (N(), u("div", {
|
|
11559
11615
|
key: t,
|
|
11560
11616
|
class: E([
|
|
11561
11617
|
"backgroundChoice",
|
|
@@ -11563,7 +11619,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11563
11619
|
t == e.currentBackground ? "active" : ""
|
|
11564
11620
|
]),
|
|
11565
11621
|
onClick: (e) => o.backgroundChangeCallback(t)
|
|
11566
|
-
}, null, 10,
|
|
11622
|
+
}, null, 10, ay))), 128))]),
|
|
11567
11623
|
_: 1
|
|
11568
11624
|
})
|
|
11569
11625
|
])]),
|
|
@@ -11572,7 +11628,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11572
11628
|
G(d("div", { class: E(["settings-group", {
|
|
11573
11629
|
open: e.drawerOpen,
|
|
11574
11630
|
close: !e.drawerOpen
|
|
11575
|
-
}]) }, [r.showOpenMapButton ? (
|
|
11631
|
+
}]) }, [r.showOpenMapButton ? (N(), c(O, { key: 0 }, {
|
|
11576
11632
|
default: W(() => [h(_, {
|
|
11577
11633
|
visible: e.hoverVisibilities[4].value,
|
|
11578
11634
|
content: "Open new map",
|
|
@@ -11581,7 +11637,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11581
11637
|
"popper-class": "flatmap-popper",
|
|
11582
11638
|
ref: "openMapPopover"
|
|
11583
11639
|
}, {
|
|
11584
|
-
reference: W(() => [r.enableOpenMapUI && r.openMapOptions.length > 0 ? (
|
|
11640
|
+
reference: W(() => [r.enableOpenMapUI && r.openMapOptions.length > 0 ? (N(), u("div", {
|
|
11585
11641
|
key: 0,
|
|
11586
11642
|
ref: "openMapRef",
|
|
11587
11643
|
class: "icon-button-container",
|
|
@@ -11594,7 +11650,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11594
11650
|
_: 1
|
|
11595
11651
|
}, 8, ["visible"])]),
|
|
11596
11652
|
_: 1
|
|
11597
|
-
})) : l("", !0), r.showLocalSettings ? (
|
|
11653
|
+
})) : l("", !0), r.showLocalSettings ? (N(), c(O, { key: 1 }, {
|
|
11598
11654
|
default: W(() => [h(_, {
|
|
11599
11655
|
content: "Change settings",
|
|
11600
11656
|
placement: "right",
|
|
@@ -11617,7 +11673,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11617
11673
|
}, 8, ["visible"])]),
|
|
11618
11674
|
_: 1
|
|
11619
11675
|
})) : l("", !0)], 2), [[he, !r.disableUI]]),
|
|
11620
|
-
e.tooltipDisplay ? (
|
|
11676
|
+
e.tooltipDisplay ? (N(), c(te, {
|
|
11621
11677
|
key: 3,
|
|
11622
11678
|
ref: "tooltip",
|
|
11623
11679
|
class: "tooltip",
|
|
@@ -11633,15 +11689,15 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11633
11689
|
"onAnnotation",
|
|
11634
11690
|
"onOnActionClick"
|
|
11635
11691
|
])) : l("", !0)
|
|
11636
|
-
])])), [[
|
|
11692
|
+
])])), [[P, e.loading]]);
|
|
11637
11693
|
}
|
|
11638
|
-
var
|
|
11694
|
+
var sy = /*#__PURE__*/ M_(Jv, [["render", oy], ["__scopeId", "data-v-b0121717"]]), cy = {
|
|
11639
11695
|
"NCBITaxon:10114": "01fedbf9-d783-509c-a10c-827941ab13da",
|
|
11640
11696
|
"NCBITaxon:9823": "a336ac04-24db-561f-a25f-1c994fe17410",
|
|
11641
11697
|
"NCBITaxon:9606": "42ed6323-f645-5fbe-bada-9581819cf689",
|
|
11642
11698
|
"NCBITaxon:10090": "25285fab-48a0-5620-a6a0-f9a0374837d5",
|
|
11643
11699
|
"NCBITaxon:9685": "73060497-46a6-52bf-b975-cac511c127cb"
|
|
11644
|
-
},
|
|
11700
|
+
}, ly = {
|
|
11645
11701
|
name: "MultiFlatmapVuer",
|
|
11646
11702
|
components: {
|
|
11647
11703
|
Col: Wg,
|
|
@@ -11649,15 +11705,15 @@ var Qv = /*#__PURE__*/ M_(zv, [["render", Zv], ["__scopeId", "data-v-c6c6b030"]]
|
|
|
11649
11705
|
Option: ig,
|
|
11650
11706
|
Select: rg,
|
|
11651
11707
|
Popover: y_,
|
|
11652
|
-
FlatmapVuer:
|
|
11708
|
+
FlatmapVuer: sy
|
|
11653
11709
|
},
|
|
11654
11710
|
created: function() {
|
|
11655
11711
|
this.loadMapManager();
|
|
11656
11712
|
},
|
|
11657
11713
|
mounted: function() {
|
|
11658
|
-
this.initialise(),
|
|
11714
|
+
this.initialise(), Wv.on("onActionClick", (e) => {
|
|
11659
11715
|
this.resourceSelected(e);
|
|
11660
|
-
}),
|
|
11716
|
+
}), Wv.on("open-pubmed-url", (e) => {
|
|
11661
11717
|
this.$emit("open-pubmed-url", e);
|
|
11662
11718
|
});
|
|
11663
11719
|
},
|
|
@@ -11802,7 +11858,7 @@ var Qv = /*#__PURE__*/ M_(zv, [["render", Zv], ["__scopeId", "data-v-c6c6b030"]]
|
|
|
11802
11858
|
let n = e.state;
|
|
11803
11859
|
if (!n.uuid) {
|
|
11804
11860
|
if (n.entry) {
|
|
11805
|
-
let r = n.entry in
|
|
11861
|
+
let r = n.entry in cy ? cy[n.entry] : void 0;
|
|
11806
11862
|
t(this.createLegacyEntry(e, n.entry, r) || e);
|
|
11807
11863
|
}
|
|
11808
11864
|
} else if (n.entry) return new Promise(() => {
|
|
@@ -12012,20 +12068,20 @@ var Qv = /*#__PURE__*/ M_(zv, [["render", Zv], ["__scopeId", "data-v-c6c6b030"]]
|
|
|
12012
12068
|
t && this.$refs[t][0].forceContextLoss();
|
|
12013
12069
|
} }
|
|
12014
12070
|
}
|
|
12015
|
-
},
|
|
12071
|
+
}, uy = {
|
|
12016
12072
|
class: "multi-container",
|
|
12017
12073
|
ref: "multiContainer"
|
|
12018
|
-
},
|
|
12074
|
+
}, dy = {
|
|
12019
12075
|
key: 0,
|
|
12020
12076
|
style: {
|
|
12021
12077
|
position: "absolute",
|
|
12022
12078
|
"z-index": "100"
|
|
12023
12079
|
}
|
|
12024
|
-
},
|
|
12025
|
-
function
|
|
12026
|
-
let s = ig, f = rg, p = y_, g =
|
|
12027
|
-
return
|
|
12028
|
-
r.disableUI ? l("", !0) : (
|
|
12080
|
+
}, fy = { class: "select-box-icon" };
|
|
12081
|
+
function py(e, n, r, i, a, o) {
|
|
12082
|
+
let s = ig, f = rg, p = y_, g = sy, _ = ov;
|
|
12083
|
+
return N(), u("div", uy, [
|
|
12084
|
+
r.disableUI ? l("", !0) : (N(), u("div", dy, [n[2] ||= d("div", { class: "species-display-text" }, "Species", -1), h(p, {
|
|
12029
12085
|
content: "Select a species",
|
|
12030
12086
|
placement: "right",
|
|
12031
12087
|
trigger: "manual",
|
|
@@ -12045,19 +12101,19 @@ function iy(e, n, r, i, a, o) {
|
|
|
12045
12101
|
"popper-class": "flatmap-dropdown",
|
|
12046
12102
|
onChange: o.setSpecies
|
|
12047
12103
|
}, {
|
|
12048
|
-
default: W(() => [(
|
|
12104
|
+
default: W(() => [(N(!0), u(t, null, I(e.speciesList, (e, t) => (N(), c(s, {
|
|
12049
12105
|
key: t,
|
|
12050
12106
|
label: t,
|
|
12051
12107
|
value: t
|
|
12052
12108
|
}, {
|
|
12053
|
-
default: W(() => [d("span",
|
|
12109
|
+
default: W(() => [d("span", fy, [d("i", { class: E(e.iconClass) }, null, 2)]), m(" " + B(t), 1)]),
|
|
12054
12110
|
_: 2
|
|
12055
12111
|
}, 1032, ["label", "value"]))), 128))]),
|
|
12056
12112
|
_: 1
|
|
12057
12113
|
}, 8, ["modelValue", "onChange"])]),
|
|
12058
12114
|
_: 1
|
|
12059
12115
|
}, 8, ["visible"])])),
|
|
12060
|
-
(
|
|
12116
|
+
(N(!0), u(t, null, I(e.speciesList, (t, i) => G((N(), c(g, {
|
|
12061
12117
|
key: i,
|
|
12062
12118
|
entry: t.taxo,
|
|
12063
12119
|
uuid: t.uuid,
|
|
@@ -12108,12 +12164,12 @@ function iy(e, n, r, i, a, o) {
|
|
|
12108
12164
|
externalLegends: r.externalLegends,
|
|
12109
12165
|
tooltipContentProvider: r.tooltipContentProvider
|
|
12110
12166
|
}, null, 8, /* @__PURE__ */ "entry.uuid.biologicalSex.displayWarning.displayLatestChanges.isLegacy.enableOpenMapUI.openMapOptions.disableUI.onContextRestored.onViewLatestMap.onResourceSelected.onReady.onPanZoomCallback.annotationSidebar.onAnnotationOpen.onAnnotationClose.onUpdateOfflineAnnotationEnabled.connectivityInfoSidebar.onConnectivityInfoOpen.onConnectivityInfoClose.onConnectivityError.onNeuronConnectionFeatureClick.onPathwaySelectionChanged.minZoom.helpMode.helpModeActiveItem.helpModeDialog.onHelpModeLastItem.onShownTooltip.onShownMapTooltip.renderAtMounted.render.displayMinimap.showStarInLegend.mapManager.flatmapAPI.sparcAPI.showLocalSettings.showOpenMapButton.showPathwayFilter.externalLegends.tooltipContentProvider".split("."))), [[he, e.activeSpecies == i]])), 128)),
|
|
12111
|
-
e.multiflatmapError ? (
|
|
12167
|
+
e.multiflatmapError ? (N(), c(_, {
|
|
12112
12168
|
key: 1,
|
|
12113
12169
|
flatmapError: e.multiflatmapError
|
|
12114
12170
|
}, null, 8, ["flatmapError"])) : l("", !0)
|
|
12115
12171
|
], 512);
|
|
12116
12172
|
}
|
|
12117
|
-
var
|
|
12173
|
+
var my = /*#__PURE__*/ M_(ly, [["render", py], ["__scopeId", "data-v-1c8f035d"]]);
|
|
12118
12174
|
//#endregion
|
|
12119
|
-
export {
|
|
12175
|
+
export { sy as FlatmapVuer, my as MultiFlatmapVuer };
|