@abi-software/map-side-bar 2.9.1-beta.1 → 2.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/map-side-bar.js +319 -362
- package/dist/map-side-bar.umd.cjs +24 -24
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/ConnectivityExplorer.vue +1 -6
- package/src/components/ConnectivityInfo.vue +4 -4
- package/src/components/SearchFilters.vue +9 -90
- package/src/components/SideBar.vue +0 -7
package/dist/map-side-bar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getCurrentScope as Ch, onScopeDispose as Tc, unref as p, getCurrentInstance as Ue, onMounted as Je, nextTick as Fe, ref as P, readonly as ds, watch as ae, computed as w, warn as Sh, inject as le, isRef as xn, shallowRef as Wr, onBeforeUnmount as ht, onBeforeMount as kh, provide as je, defineComponent as K, openBlock as C, createElementBlock as F, mergeProps as ft, renderSlot as te, toRef as it, onUnmounted as ob, useAttrs as Eh, useSlots as so, createCommentVNode as G, Fragment as Pe, normalizeClass as L, createElementVNode as
|
|
1
|
+
import { getCurrentScope as Ch, onScopeDispose as Tc, unref as p, getCurrentInstance as Ue, onMounted as Je, nextTick as Fe, ref as P, readonly as ds, watch as ae, computed as w, warn as Sh, inject as le, isRef as xn, shallowRef as Wr, onBeforeUnmount as ht, onBeforeMount as kh, provide as je, defineComponent as K, openBlock as C, createElementBlock as F, mergeProps as ft, renderSlot as te, toRef as it, onUnmounted as ob, useAttrs as Eh, useSlots as so, createCommentVNode as G, Fragment as Pe, normalizeClass as L, createElementVNode as U, createBlock as Y, withCtx as $, resolveDynamicComponent as dt, withModifiers as Ne, createVNode as q, toDisplayString as ue, normalizeStyle as He, Transition as Fr, withDirectives as Oe, vShow as Ct, reactive as vn, onActivated as ab, onUpdated as xh, cloneVNode as _h, Text as fs, Comment as Oh, Teleport as Th, onDeactivated as Ah, createTextVNode as Ee, toRaw as Vi, vModelCheckbox as zi, toRefs as lo, vModelRadio as Ih, h as yt, resolveComponent as we, renderList as pt, onBeforeUpdate as ib, withKeys as Vr, vModelText as Fh, normalizeProps as sb, guardReactiveProps as lb, createSlots as cb, watchEffect as Ph, resolveDirective as ub, toHandlerKey as db, createApp as Rh, pushScopeId as fb, popScopeId as pb, markRaw as xi } from "vue";
|
|
2
2
|
import { Loading as ps, CircleCheck as hb, CircleClose as hs, View as $h, Hide as vb, Check as Nh, ArrowRight as vs, Close as _o, ArrowDown as gs, DArrowLeft as gb, MoreFilled as dd, DArrowRight as mb, ArrowLeft as Ac, Delete as Ul, Warning as Lh, Location as Bh, Search as yb, WarnTriangleFilled as bb } from "@element-plus/icons-vue";
|
|
3
3
|
import { CopyToClipboard as Dh, ExternalResourceCard as wb, ConnectivityGraph as Cb, ConnectivityList as Sb, AnnotationPopup as kb, CreateTooltipContent as Eb } from "@abi-software/map-utilities";
|
|
4
4
|
const Mh = (e) => !e.getAttribute("aria-owns"), jh = (e, t, n) => {
|
|
@@ -1984,8 +1984,8 @@ function lf(e) {
|
|
|
1984
1984
|
v -= W - r.width, v *= l ? 1 : -1;
|
|
1985
1985
|
}
|
|
1986
1986
|
}
|
|
1987
|
-
var j = Object.assign({ position: s }, c && zk),
|
|
1988
|
-
if (v =
|
|
1987
|
+
var j = Object.assign({ position: s }, c && zk), H = u === !0 ? Hk({ x: v, y: h }) : { x: v, y: h };
|
|
1988
|
+
if (v = H.x, h = H.y, l) {
|
|
1989
1989
|
var Q;
|
|
1990
1990
|
return Object.assign({}, j, (Q = {}, Q[x] = E ? "0" : "", Q[A] = y ? "0" : "", Q.transform = (_.devicePixelRatio || 1) <= 1 ? "translate(" + v + "px, " + h + "px)" : "translate3d(" + v + "px, " + h + "px, 0)", Q));
|
|
1991
1991
|
}
|
|
@@ -2108,8 +2108,8 @@ function Oa(e, t) {
|
|
|
2108
2108
|
if (u === oa && D) {
|
|
2109
2109
|
var W = D[o];
|
|
2110
2110
|
Object.keys(R).forEach(function(j) {
|
|
2111
|
-
var
|
|
2112
|
-
R[j] += W[Q] *
|
|
2111
|
+
var H = [In, An].indexOf(j) >= 0 ? 1 : -1, Q = [Xt, An].indexOf(j) >= 0 ? "y" : "x";
|
|
2112
|
+
R[j] += W[Q] * H;
|
|
2113
2113
|
});
|
|
2114
2114
|
}
|
|
2115
2115
|
return R;
|
|
@@ -2140,10 +2140,10 @@ function tE(e) {
|
|
|
2140
2140
|
for (var o = n.mainAxis, a = o === void 0 ? !0 : o, i = n.altAxis, s = i === void 0 ? !0 : i, l = n.fallbackPlacements, c = n.padding, u = n.boundary, f = n.rootBoundary, g = n.altBoundary, v = n.flipVariations, d = v === void 0 ? !0 : v, h = n.allowedAutoPlacements, m = t.options.placement, y = Yn(m), E = y === m, A = l || (E || !d ? [Ai(m)] : eE(m)), x = [m].concat(A).reduce(function(nt, De) {
|
|
2141
2141
|
return nt.concat(Yn(De) === Wc ? Qk(t, { placement: De, boundary: u, rootBoundary: f, padding: c, flipVariations: d, allowedAutoPlacements: h }) : De);
|
|
2142
2142
|
}, []), _ = t.rects.reference, O = t.rects.popper, I = /* @__PURE__ */ new Map(), R = !0, D = x[0], W = 0; W < x.length; W++) {
|
|
2143
|
-
var j = x[W],
|
|
2143
|
+
var j = x[W], H = Yn(j), Q = Po(j) === To, he = [Xt, An].indexOf(H) >= 0, re = he ? "width" : "height", B = Oa(t, { placement: j, boundary: u, rootBoundary: f, altBoundary: g, padding: c }), J = he ? Q ? In : Qt : Q ? An : Xt;
|
|
2144
2144
|
_[re] > O[re] && (J = Ai(J));
|
|
2145
2145
|
var ge = Ai(J), me = [];
|
|
2146
|
-
if (a && me.push(B[
|
|
2146
|
+
if (a && me.push(B[H] <= 0), s && me.push(B[J] <= 0, B[ge] <= 0), me.every(function(nt) {
|
|
2147
2147
|
return nt;
|
|
2148
2148
|
})) {
|
|
2149
2149
|
D = j, R = !1;
|
|
@@ -2200,17 +2200,17 @@ function cE(e) {
|
|
|
2200
2200
|
return e === "x" ? "y" : "x";
|
|
2201
2201
|
}
|
|
2202
2202
|
function uE(e) {
|
|
2203
|
-
var t = e.state, n = e.options, r = e.name, o = n.mainAxis, a = o === void 0 ? !0 : o, i = n.altAxis, s = i === void 0 ? !1 : i, l = n.boundary, c = n.rootBoundary, u = n.altBoundary, f = n.padding, g = n.tether, v = g === void 0 ? !0 : g, d = n.tetherOffset, h = d === void 0 ? 0 : d, m = Oa(t, { boundary: l, rootBoundary: c, padding: f, altBoundary: u }), y = Yn(t.placement), E = Po(t.placement), A = !E, x = Zc(y), _ = cE(x), O = t.modifiersData.popperOffsets, I = t.rects.reference, R = t.rects.popper, D = typeof h == "function" ? h(Object.assign({}, t.rects, { placement: t.placement })) : h, W = typeof D == "number" ? { mainAxis: D, altAxis: D } : Object.assign({ mainAxis: 0, altAxis: 0 }, D), j = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null,
|
|
2203
|
+
var t = e.state, n = e.options, r = e.name, o = n.mainAxis, a = o === void 0 ? !0 : o, i = n.altAxis, s = i === void 0 ? !1 : i, l = n.boundary, c = n.rootBoundary, u = n.altBoundary, f = n.padding, g = n.tether, v = g === void 0 ? !0 : g, d = n.tetherOffset, h = d === void 0 ? 0 : d, m = Oa(t, { boundary: l, rootBoundary: c, padding: f, altBoundary: u }), y = Yn(t.placement), E = Po(t.placement), A = !E, x = Zc(y), _ = cE(x), O = t.modifiersData.popperOffsets, I = t.rects.reference, R = t.rects.popper, D = typeof h == "function" ? h(Object.assign({}, t.rects, { placement: t.placement })) : h, W = typeof D == "number" ? { mainAxis: D, altAxis: D } : Object.assign({ mainAxis: 0, altAxis: 0 }, D), j = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, H = { x: 0, y: 0 };
|
|
2204
2204
|
if (O) {
|
|
2205
2205
|
if (a) {
|
|
2206
2206
|
var Q, he = x === "y" ? Xt : Qt, re = x === "y" ? An : In, B = x === "y" ? "height" : "width", J = O[x], ge = J + m[he], me = J - m[re], Re = v ? -R[B] / 2 : 0, $e = E === To ? I[B] : R[B], Xe = E === To ? -R[B] : -I[B], gt = t.elements.arrow, nt = v && gt ? Jc(gt) : { width: 0, height: 0 }, De = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Fv(), Ve = De[he], Qe = De[re], st = ga(0, I[B], nt[B]), yn = A ? I[B] / 2 - Re - st - Ve - W.mainAxis : $e - st - Ve - W.mainAxis, $t = A ? -I[B] / 2 + Re + st + Qe + W.mainAxis : Xe + st + Qe + W.mainAxis, Ot = t.elements.arrow && Ua(t.elements.arrow), rt = Ot ? x === "y" ? Ot.clientTop || 0 : Ot.clientLeft || 0 : 0, ct = (Q = j == null ? void 0 : j[x]) != null ? Q : 0, Ut = J + yn - ct - rt, qt = J + $t - ct, xt = ga(v ? Gi(ge, Ut) : ge, J, v ? Zr(me, qt) : me);
|
|
2207
|
-
O[x] = xt,
|
|
2207
|
+
O[x] = xt, H[x] = xt - J;
|
|
2208
2208
|
}
|
|
2209
2209
|
if (s) {
|
|
2210
2210
|
var Kt, Nt = x === "x" ? Xt : Qt, bn = x === "x" ? An : In, qe = O[_], Tt = _ === "y" ? "height" : "width", Mt = qe + m[Nt], sn = qe - m[bn], At = [Xt, Qt].indexOf(y) !== -1, ee = (Kt = j == null ? void 0 : j[_]) != null ? Kt : 0, Ie = At ? Mt : qe - I[Tt] - R[Tt] - ee + W.altAxis, ot = At ? qe + I[Tt] + R[Tt] - ee - W.altAxis : sn, jt = v && At ? Bk(Ie, qe, ot) : ga(v ? Ie : Mt, qe, v ? ot : sn);
|
|
2211
|
-
O[_] = jt,
|
|
2211
|
+
O[_] = jt, H[_] = jt - qe;
|
|
2212
2212
|
}
|
|
2213
|
-
t.modifiersData[r] =
|
|
2213
|
+
t.modifiersData[r] = H;
|
|
2214
2214
|
}
|
|
2215
2215
|
}
|
|
2216
2216
|
var dE = { name: "preventOverflow", enabled: !0, phase: "main", fn: uE, requiresIfExists: ["offset"] };
|
|
@@ -2971,7 +2971,7 @@ const JE = Ce({
|
|
|
2971
2971
|
var ee;
|
|
2972
2972
|
r.validateEvent && ((ee = f == null ? void 0 : f.validate) == null || ee.call(f, "blur").catch((Ie) => St(Ie)));
|
|
2973
2973
|
}
|
|
2974
|
-
}),
|
|
2974
|
+
}), H = w(() => {
|
|
2975
2975
|
var ee;
|
|
2976
2976
|
return (ee = u == null ? void 0 : u.statusIcon) != null ? ee : !1;
|
|
2977
2977
|
}), Q = w(() => (f == null ? void 0 : f.validateState) || ""), he = w(() => Q.value && kv[Q.value]), re = w(() => x.value ? $h : vb), B = w(() => [
|
|
@@ -2980,7 +2980,7 @@ const JE = Ce({
|
|
|
2980
2980
|
r.inputStyle,
|
|
2981
2981
|
O.value,
|
|
2982
2982
|
{ resize: r.resize }
|
|
2983
|
-
]), ge = w(() => Va(r.modelValue) ? "" : String(r.modelValue)), me = w(() => r.clearable && !d.value && !r.readonly && !!ge.value && (D.value || A.value)), Re = w(() => r.showPassword && !d.value && !r.readonly && !!ge.value && (!!ge.value || D.value)), $e = w(() => r.showWordLimit && !!r.maxlength && (r.type === "text" || r.type === "textarea") && !d.value && !r.readonly && !r.showPassword), Xe = w(() => ge.value.length), gt = w(() => !!$e.value && Xe.value > Number(r.maxlength)), nt = w(() => !!a.suffix || !!r.suffixIcon || me.value || r.showPassword || $e.value || !!Q.value &&
|
|
2983
|
+
]), ge = w(() => Va(r.modelValue) ? "" : String(r.modelValue)), me = w(() => r.clearable && !d.value && !r.readonly && !!ge.value && (D.value || A.value)), Re = w(() => r.showPassword && !d.value && !r.readonly && !!ge.value && (!!ge.value || D.value)), $e = w(() => r.showWordLimit && !!r.maxlength && (r.type === "text" || r.type === "textarea") && !d.value && !r.readonly && !r.showPassword), Xe = w(() => ge.value.length), gt = w(() => !!$e.value && Xe.value > Number(r.maxlength)), nt = w(() => !!a.suffix || !!r.suffixIcon || me.value || r.showPassword || $e.value || !!Q.value && H.value), [De, Ve] = $E(y);
|
|
2984
2984
|
Wn(E, (ee) => {
|
|
2985
2985
|
if (yn(), !$e.value || r.resize !== "both")
|
|
2986
2986
|
return;
|
|
@@ -3093,7 +3093,7 @@ const JE = Ce({
|
|
|
3093
3093
|
}, [
|
|
3094
3094
|
te(ee.$slots, "prepend")
|
|
3095
3095
|
], 2)) : G("v-if", !0),
|
|
3096
|
-
|
|
3096
|
+
U("div", {
|
|
3097
3097
|
ref_key: "wrapperRef",
|
|
3098
3098
|
ref: R,
|
|
3099
3099
|
class: L(p(l))
|
|
@@ -3103,7 +3103,7 @@ const JE = Ce({
|
|
|
3103
3103
|
key: 0,
|
|
3104
3104
|
class: L(p(h).e("prefix"))
|
|
3105
3105
|
}, [
|
|
3106
|
-
|
|
3106
|
+
U("span", {
|
|
3107
3107
|
class: L(p(h).e("prefix-inner"))
|
|
3108
3108
|
}, [
|
|
3109
3109
|
te(ee.$slots, "prefix"),
|
|
@@ -3118,7 +3118,7 @@ const JE = Ce({
|
|
|
3118
3118
|
}, 8, ["class"])) : G("v-if", !0)
|
|
3119
3119
|
], 2)
|
|
3120
3120
|
], 2)) : G("v-if", !0),
|
|
3121
|
-
|
|
3121
|
+
U("input", ft({
|
|
3122
3122
|
id: p(g),
|
|
3123
3123
|
ref_key: "input",
|
|
3124
3124
|
ref: y,
|
|
@@ -3148,7 +3148,7 @@ const JE = Ce({
|
|
|
3148
3148
|
key: 1,
|
|
3149
3149
|
class: L(p(h).e("suffix"))
|
|
3150
3150
|
}, [
|
|
3151
|
-
|
|
3151
|
+
U("span", {
|
|
3152
3152
|
class: L(p(h).e("suffix-inner"))
|
|
3153
3153
|
}, [
|
|
3154
3154
|
!p(me) || !p(Re) || !p($e) ? (C(), F(Pe, { key: 0 }, [
|
|
@@ -3188,11 +3188,11 @@ const JE = Ce({
|
|
|
3188
3188
|
key: 3,
|
|
3189
3189
|
class: L(p(h).e("count"))
|
|
3190
3190
|
}, [
|
|
3191
|
-
|
|
3191
|
+
U("span", {
|
|
3192
3192
|
class: L(p(h).e("count-inner"))
|
|
3193
3193
|
}, ue(p(Xe)) + " / " + ue(ee.maxlength), 3)
|
|
3194
3194
|
], 2)) : G("v-if", !0),
|
|
3195
|
-
p(Q) && p(he) && p(
|
|
3195
|
+
p(Q) && p(he) && p(H) ? (C(), Y(p(ze), {
|
|
3196
3196
|
key: 4,
|
|
3197
3197
|
class: L([
|
|
3198
3198
|
p(h).e("icon"),
|
|
@@ -3217,7 +3217,7 @@ const JE = Ce({
|
|
|
3217
3217
|
], 2)) : G("v-if", !0)
|
|
3218
3218
|
], 64)) : (C(), F(Pe, { key: 1 }, [
|
|
3219
3219
|
G(" textarea "),
|
|
3220
|
-
|
|
3220
|
+
U("textarea", ft({
|
|
3221
3221
|
id: p(g),
|
|
3222
3222
|
ref_key: "textarea",
|
|
3223
3223
|
ref: E,
|
|
@@ -3343,13 +3343,13 @@ const Vo = vt(QE), bo = 4, ex = {
|
|
|
3343
3343
|
persisted: ""
|
|
3344
3344
|
}, {
|
|
3345
3345
|
default: $(() => [
|
|
3346
|
-
Oe(
|
|
3346
|
+
Oe(U("div", {
|
|
3347
3347
|
ref_key: "instance",
|
|
3348
3348
|
ref: o,
|
|
3349
3349
|
class: L([p(r).e("bar"), p(r).is(p(f).key)]),
|
|
3350
3350
|
onMousedown: h
|
|
3351
3351
|
}, [
|
|
3352
|
-
|
|
3352
|
+
U("div", {
|
|
3353
3353
|
ref_key: "thumb",
|
|
3354
3354
|
ref: a,
|
|
3355
3355
|
class: L(p(r).e("thumb")),
|
|
@@ -3532,7 +3532,7 @@ const lx = Ce({
|
|
|
3532
3532
|
ref: c,
|
|
3533
3533
|
class: L(p(o).b())
|
|
3534
3534
|
}, [
|
|
3535
|
-
|
|
3535
|
+
U("div", {
|
|
3536
3536
|
ref_key: "wrapRef",
|
|
3537
3537
|
ref: u,
|
|
3538
3538
|
class: L(p(d)),
|
|
@@ -3905,21 +3905,21 @@ const Tx = () => {
|
|
|
3905
3905
|
const R = A, [D, W] = _x(R);
|
|
3906
3906
|
if (D && W) {
|
|
3907
3907
|
if (!x && I === W) {
|
|
3908
|
-
const
|
|
3908
|
+
const H = fi({
|
|
3909
3909
|
focusReason: a.value
|
|
3910
3910
|
});
|
|
3911
|
-
t("focusout-prevented",
|
|
3911
|
+
t("focusout-prevented", H), H.defaultPrevented || (d.preventDefault(), _ && kr(D, !0));
|
|
3912
3912
|
} else if (x && [D, R].includes(I)) {
|
|
3913
|
-
const
|
|
3913
|
+
const H = fi({
|
|
3914
3914
|
focusReason: a.value
|
|
3915
3915
|
});
|
|
3916
|
-
t("focusout-prevented",
|
|
3916
|
+
t("focusout-prevented", H), H.defaultPrevented || (d.preventDefault(), _ && kr(W, !0));
|
|
3917
3917
|
}
|
|
3918
3918
|
} else if (I === R) {
|
|
3919
|
-
const
|
|
3919
|
+
const H = fi({
|
|
3920
3920
|
focusReason: a.value
|
|
3921
3921
|
});
|
|
3922
|
-
t("focusout-prevented",
|
|
3922
|
+
t("focusout-prevented", H), H.defaultPrevented || d.preventDefault();
|
|
3923
3923
|
}
|
|
3924
3924
|
}
|
|
3925
3925
|
};
|
|
@@ -4262,7 +4262,7 @@ const Vx = 0, zx = (e) => {
|
|
|
4262
4262
|
let W;
|
|
4263
4263
|
const j = (Q = !0) => {
|
|
4264
4264
|
y(), Q && I();
|
|
4265
|
-
},
|
|
4265
|
+
}, H = () => {
|
|
4266
4266
|
j(!1), r.visible && r.focusOnShow ? a.value = !0 : r.visible === !1 && (a.value = !1);
|
|
4267
4267
|
};
|
|
4268
4268
|
return Je(() => {
|
|
@@ -4276,7 +4276,7 @@ const Vx = 0, zx = (e) => {
|
|
|
4276
4276
|
}, { immediate: !0 })), B !== re && Gr(B) && ["role", "aria-label", "aria-modal", "id"].forEach((J) => {
|
|
4277
4277
|
B.removeAttribute(J);
|
|
4278
4278
|
});
|
|
4279
|
-
}, { immediate: !0 }), ae(() => r.visible,
|
|
4279
|
+
}, { immediate: !0 }), ae(() => r.visible, H, { immediate: !0 });
|
|
4280
4280
|
}), ht(() => {
|
|
4281
4281
|
W == null || W(), W = void 0;
|
|
4282
4282
|
}), t({
|
|
@@ -4468,7 +4468,7 @@ const sg = vt(i_), s_ = K({
|
|
|
4468
4468
|
n.enterable && p(u) === "hover" && g();
|
|
4469
4469
|
}), j = bt(D, () => {
|
|
4470
4470
|
p(u) === "hover" && f();
|
|
4471
|
-
}),
|
|
4471
|
+
}), H = () => {
|
|
4472
4472
|
var B, J;
|
|
4473
4473
|
(J = (B = a.value) == null ? void 0 : B.updatePopper) == null || J.call(B), h == null || h();
|
|
4474
4474
|
}, Q = () => {
|
|
@@ -4502,7 +4502,7 @@ const sg = vt(i_), s_ = K({
|
|
|
4502
4502
|
q(Fr, {
|
|
4503
4503
|
name: p(y),
|
|
4504
4504
|
onAfterLeave: R,
|
|
4505
|
-
onBeforeEnter:
|
|
4505
|
+
onBeforeEnter: H,
|
|
4506
4506
|
onAfterEnter: he,
|
|
4507
4507
|
onBeforeLeave: Q
|
|
4508
4508
|
}, {
|
|
@@ -5500,7 +5500,7 @@ const dg = {
|
|
|
5500
5500
|
Ee(ue(n.header), 1)
|
|
5501
5501
|
])
|
|
5502
5502
|
], 2)) : G("v-if", !0),
|
|
5503
|
-
|
|
5503
|
+
U("div", {
|
|
5504
5504
|
class: L([p(t).e("body"), n.bodyClass]),
|
|
5505
5505
|
style: He(n.bodyStyle)
|
|
5506
5506
|
}, [
|
|
@@ -5747,7 +5747,7 @@ const Is = vt(z_), fg = {
|
|
|
5747
5747
|
default: $(() => {
|
|
5748
5748
|
var A, x, _, O;
|
|
5749
5749
|
return [
|
|
5750
|
-
|
|
5750
|
+
U("span", {
|
|
5751
5751
|
class: L(p(m))
|
|
5752
5752
|
}, [
|
|
5753
5753
|
y.trueValue || y.falseValue || y.trueLabel || y.falseLabel ? Oe((C(), F("input", {
|
|
@@ -5788,7 +5788,7 @@ const Is = vt(z_), fg = {
|
|
|
5788
5788
|
}, null, 42, ["id", "onUpdate:modelValue", "indeterminate", "disabled", "value", "name", "tabindex", "onChange", "onFocus", "onBlur", "onClick"])), [
|
|
5789
5789
|
[zi, p(u)]
|
|
5790
5790
|
]),
|
|
5791
|
-
|
|
5791
|
+
U("span", {
|
|
5792
5792
|
class: L(p(d).e("inner"))
|
|
5793
5793
|
}, null, 2)
|
|
5794
5794
|
], 2),
|
|
@@ -6046,14 +6046,14 @@ const mg = Ce({
|
|
|
6046
6046
|
p(r).m(p(s))
|
|
6047
6047
|
])
|
|
6048
6048
|
}, [
|
|
6049
|
-
|
|
6049
|
+
U("span", {
|
|
6050
6050
|
class: L([
|
|
6051
6051
|
p(r).e("input"),
|
|
6052
6052
|
p(r).is("disabled", p(l)),
|
|
6053
6053
|
p(r).is("checked", p(c) === p(u))
|
|
6054
6054
|
])
|
|
6055
6055
|
}, [
|
|
6056
|
-
Oe(
|
|
6056
|
+
Oe(U("input", {
|
|
6057
6057
|
ref_key: "radioRef",
|
|
6058
6058
|
ref: o,
|
|
6059
6059
|
"onUpdate:modelValue": (h) => xn(c) ? c.value = h : null,
|
|
@@ -6071,11 +6071,11 @@ const mg = Ce({
|
|
|
6071
6071
|
}, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "checked", "onFocus", "onBlur", "onClick"]), [
|
|
6072
6072
|
[Ih, p(c)]
|
|
6073
6073
|
]),
|
|
6074
|
-
|
|
6074
|
+
U("span", {
|
|
6075
6075
|
class: L(p(r).e("inner"))
|
|
6076
6076
|
}, null, 2)
|
|
6077
6077
|
], 2),
|
|
6078
|
-
|
|
6078
|
+
U("span", {
|
|
6079
6079
|
class: L(p(r).e("label")),
|
|
6080
6080
|
onKeydown: Ne(() => {
|
|
6081
6081
|
}, ["stop"])
|
|
@@ -6114,7 +6114,7 @@ const iO = Ce({
|
|
|
6114
6114
|
p(n).bm("button", p(a))
|
|
6115
6115
|
])
|
|
6116
6116
|
}, [
|
|
6117
|
-
Oe(
|
|
6117
|
+
Oe(U("input", {
|
|
6118
6118
|
ref_key: "radioRef",
|
|
6119
6119
|
ref: r,
|
|
6120
6120
|
"onUpdate:modelValue": (d) => xn(s) ? s.value = d : null,
|
|
@@ -6130,7 +6130,7 @@ const iO = Ce({
|
|
|
6130
6130
|
}, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "onFocus", "onBlur", "onClick"]), [
|
|
6131
6131
|
[Ih, p(s)]
|
|
6132
6132
|
]),
|
|
6133
|
-
|
|
6133
|
+
U("span", {
|
|
6134
6134
|
class: L(p(n).be("button", "inner")),
|
|
6135
6135
|
style: He(p(s) === p(c) ? p(u) : {}),
|
|
6136
6136
|
onKeydown: Ne(() => {
|
|
@@ -6339,7 +6339,7 @@ function gO(e, t, n, r, o, a) {
|
|
|
6339
6339
|
Add an empty element to avoid render label,
|
|
6340
6340
|
do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485
|
|
6341
6341
|
`),
|
|
6342
|
-
|
|
6342
|
+
U("span")
|
|
6343
6343
|
]),
|
|
6344
6344
|
_: 1
|
|
6345
6345
|
}, 8, ["model-value", "label", "disabled", "onUpdate:modelValue", "onClick"])) : e.isLeaf && e.node.checked ? (C(), Y(c, {
|
|
@@ -6635,41 +6635,41 @@ const Eg = Ce({
|
|
|
6635
6635
|
const o = be("cascader"), a = EO(e);
|
|
6636
6636
|
let i = null;
|
|
6637
6637
|
const s = P(!0), l = P([]), c = P(null), u = P([]), f = P(null), g = P([]), v = w(() => a.value.expandTrigger === "hover"), d = w(() => e.renderLabel || n.default), h = () => {
|
|
6638
|
-
const { options:
|
|
6639
|
-
r = !1, i = new Lf(
|
|
6638
|
+
const { options: H } = e, Q = a.value;
|
|
6639
|
+
r = !1, i = new Lf(H, Q), u.value = [i.getNodes()], Q.lazy && Yl(e.options) ? (s.value = !1, m(void 0, (he) => {
|
|
6640
6640
|
he && (i = new Lf(he, Q), u.value = [i.getNodes()]), s.value = !0, R(!1, !0);
|
|
6641
6641
|
})) : R(!1, !0);
|
|
6642
|
-
}, m = (
|
|
6642
|
+
}, m = (H, Q) => {
|
|
6643
6643
|
const he = a.value;
|
|
6644
|
-
|
|
6644
|
+
H = H || new Ro({}, he, void 0, !0), H.loading = !0;
|
|
6645
6645
|
const re = (B) => {
|
|
6646
|
-
const J =
|
|
6646
|
+
const J = H, ge = J.root ? null : J;
|
|
6647
6647
|
B && (i == null || i.appendNodes(B, ge)), J.loading = !1, J.loaded = !0, J.childrenData = J.childrenData || [], Q && Q(B);
|
|
6648
6648
|
};
|
|
6649
|
-
he.lazyLoad(
|
|
6650
|
-
}, y = (
|
|
6649
|
+
he.lazyLoad(H, re);
|
|
6650
|
+
}, y = (H, Q) => {
|
|
6651
6651
|
var he;
|
|
6652
|
-
const { level: re } =
|
|
6652
|
+
const { level: re } = H, B = u.value.slice(0, re);
|
|
6653
6653
|
let J;
|
|
6654
|
-
|
|
6655
|
-
}, E = (
|
|
6654
|
+
H.isLeaf ? J = H.pathNodes[re - 2] : (J = H, B.push(H.children)), ((he = f.value) == null ? void 0 : he.uid) !== (J == null ? void 0 : J.uid) && (f.value = H, u.value = B, !Q && t("expand-change", (H == null ? void 0 : H.pathValues) || []));
|
|
6655
|
+
}, E = (H, Q, he = !0) => {
|
|
6656
6656
|
const { checkStrictly: re, multiple: B } = a.value, J = g.value[0];
|
|
6657
|
-
r = !0, !B && (J == null || J.doCheck(!1)),
|
|
6658
|
-
}, A = (
|
|
6659
|
-
|
|
6660
|
-
}, x = (
|
|
6657
|
+
r = !0, !B && (J == null || J.doCheck(!1)), H.doCheck(Q), I(), he && !B && !re && t("close"), !he && !B && !re && A(H);
|
|
6658
|
+
}, A = (H) => {
|
|
6659
|
+
H && (H = H.parent, A(H), H && y(H));
|
|
6660
|
+
}, x = (H) => i == null ? void 0 : i.getFlattedNodes(H), _ = (H) => {
|
|
6661
6661
|
var Q;
|
|
6662
|
-
return (Q = x(
|
|
6662
|
+
return (Q = x(H)) == null ? void 0 : Q.filter((he) => he.checked !== !1);
|
|
6663
6663
|
}, O = () => {
|
|
6664
|
-
g.value.forEach((
|
|
6664
|
+
g.value.forEach((H) => H.doCheck(!1)), I(), u.value = u.value.slice(0, 1), f.value = null, t("expand-change", []);
|
|
6665
6665
|
}, I = () => {
|
|
6666
|
-
var
|
|
6666
|
+
var H;
|
|
6667
6667
|
const { checkStrictly: Q, multiple: he } = a.value, re = g.value, B = _(!Q), J = _O(re, B), ge = J.map((me) => me.valueByOption);
|
|
6668
|
-
g.value = J, c.value = he ? ge : (
|
|
6669
|
-
}, R = (
|
|
6668
|
+
g.value = J, c.value = he ? ge : (H = ge[0]) != null ? H : null;
|
|
6669
|
+
}, R = (H = !1, Q = !1) => {
|
|
6670
6670
|
const { modelValue: he } = e, { lazy: re, multiple: B, checkStrictly: J } = a.value, ge = !J;
|
|
6671
6671
|
if (!(!s.value || r || !Q && Zn(he, c.value)))
|
|
6672
|
-
if (re && !
|
|
6672
|
+
if (re && !H) {
|
|
6673
6673
|
const Re = rf(XS(of(he))).map(($e) => i == null ? void 0 : i.getNodeByValue($e)).filter(($e) => !!$e && !$e.loaded && !$e.loading);
|
|
6674
6674
|
Re.length ? Re.forEach(($e) => {
|
|
6675
6675
|
m($e, () => R(!1, Q));
|
|
@@ -6678,35 +6678,35 @@ const Eg = Ce({
|
|
|
6678
6678
|
const me = B ? of(he) : [he], Re = rf(me.map(($e) => i == null ? void 0 : i.getNodeByValue($e, ge)));
|
|
6679
6679
|
D(Re, Q), c.value = uv(he);
|
|
6680
6680
|
}
|
|
6681
|
-
}, D = (
|
|
6682
|
-
const { checkStrictly: he } = a.value, re = g.value, B =
|
|
6681
|
+
}, D = (H, Q = !0) => {
|
|
6682
|
+
const { checkStrictly: he } = a.value, re = g.value, B = H.filter((me) => !!me && (he || me.isLeaf)), J = i == null ? void 0 : i.getSameNode(f.value), ge = Q && J || B[0];
|
|
6683
6683
|
ge ? ge.pathNodes.forEach((me) => y(me, !0)) : f.value = null, re.forEach((me) => me.doCheck(!1)), vn(B).forEach((me) => me.doCheck(!0)), g.value = B, Fe(W);
|
|
6684
6684
|
}, W = () => {
|
|
6685
|
-
tt && l.value.forEach((
|
|
6686
|
-
const Q =
|
|
6685
|
+
tt && l.value.forEach((H) => {
|
|
6686
|
+
const Q = H == null ? void 0 : H.$el;
|
|
6687
6687
|
if (Q) {
|
|
6688
6688
|
const he = Q.querySelector(`.${o.namespace.value}-scrollbar__wrap`), re = Q.querySelector(`.${o.b("node")}.${o.is("active")}`) || Q.querySelector(`.${o.b("node")}.in-active-path`);
|
|
6689
6689
|
Cv(he, re);
|
|
6690
6690
|
}
|
|
6691
6691
|
});
|
|
6692
|
-
}, j = (
|
|
6693
|
-
const Q =
|
|
6692
|
+
}, j = (H) => {
|
|
6693
|
+
const Q = H.target, { code: he } = H;
|
|
6694
6694
|
switch (he) {
|
|
6695
6695
|
case Me.up:
|
|
6696
6696
|
case Me.down: {
|
|
6697
|
-
|
|
6697
|
+
H.preventDefault();
|
|
6698
6698
|
const re = he === Me.up ? -1 : 1;
|
|
6699
6699
|
_i(jh(Q, re, `.${o.b("node")}[tabindex="-1"]`));
|
|
6700
6700
|
break;
|
|
6701
6701
|
}
|
|
6702
6702
|
case Me.left: {
|
|
6703
|
-
|
|
6703
|
+
H.preventDefault();
|
|
6704
6704
|
const re = l.value[Bf(Q) - 1], B = re == null ? void 0 : re.$el.querySelector(`.${o.b("node")}[aria-expanded="true"]`);
|
|
6705
6705
|
_i(B);
|
|
6706
6706
|
break;
|
|
6707
6707
|
}
|
|
6708
6708
|
case Me.right: {
|
|
6709
|
-
|
|
6709
|
+
H.preventDefault();
|
|
6710
6710
|
const re = l.value[Bf(Q) + 1], B = re == null ? void 0 : re.$el.querySelector(`.${o.b("node")}[tabindex="-1"]`);
|
|
6711
6711
|
_i(B);
|
|
6712
6712
|
break;
|
|
@@ -6733,8 +6733,8 @@ const Eg = Ce({
|
|
|
6733
6733
|
r = !1, R();
|
|
6734
6734
|
}, {
|
|
6735
6735
|
deep: !0
|
|
6736
|
-
}), ae(() => c.value, (
|
|
6737
|
-
Zn(
|
|
6736
|
+
}), ae(() => c.value, (H) => {
|
|
6737
|
+
Zn(H, e.modelValue) || (t(lt, H), t(no, H));
|
|
6738
6738
|
}), ib(() => l.value = []), Je(() => !Yl(e.modelValue) && R()), {
|
|
6739
6739
|
ns: o,
|
|
6740
6740
|
menuList: l,
|
|
@@ -6825,7 +6825,7 @@ const IO = vt(AO), Ia = Ce({
|
|
|
6825
6825
|
style: He({ backgroundColor: c.color }),
|
|
6826
6826
|
onClick: s
|
|
6827
6827
|
}, [
|
|
6828
|
-
|
|
6828
|
+
U("span", {
|
|
6829
6829
|
class: L(p(o).e("content"))
|
|
6830
6830
|
}, [
|
|
6831
6831
|
te(c.$slots, "default")
|
|
@@ -6847,12 +6847,12 @@ const IO = vt(AO), Ia = Ce({
|
|
|
6847
6847
|
onVnodeMounted: l
|
|
6848
6848
|
}, {
|
|
6849
6849
|
default: $(() => [
|
|
6850
|
-
|
|
6850
|
+
U("span", {
|
|
6851
6851
|
class: L(p(a)),
|
|
6852
6852
|
style: He({ backgroundColor: c.color }),
|
|
6853
6853
|
onClick: s
|
|
6854
6854
|
}, [
|
|
6855
|
-
|
|
6855
|
+
U("span", {
|
|
6856
6856
|
class: L(p(o).e("content"))
|
|
6857
6857
|
}, [
|
|
6858
6858
|
te(c.$slots, "default")
|
|
@@ -6972,7 +6972,7 @@ const $o = vt($O), NO = Ce({
|
|
|
6972
6972
|
const fe = (de = Z.target) == null ? void 0 : de.value;
|
|
6973
6973
|
Lr(fe);
|
|
6974
6974
|
}
|
|
6975
|
-
}), m = P(null), y = P(null), E = P(null), A = P(null), x = P(null), _ = P(!1), O = P(!1), I = P(!1), R = P(!1), D = P(""), W = P(""), j = P([]),
|
|
6975
|
+
}), m = P(null), y = P(null), E = P(null), A = P(null), x = P(null), _ = P(!1), O = P(!1), I = P(!1), R = P(!1), D = P(""), W = P(""), j = P([]), H = P([]), Q = P([]), he = w(() => a.style), re = w(() => r.disabled || (f == null ? void 0 : f.disabled)), B = w(() => r.placeholder || u("el.cascader.placeholder")), J = w(() => W.value || j.value.length > 0 || d.value ? "" : B.value), ge = fr(), me = w(() => ["small"].includes(ge.value) ? "small" : "default"), Re = w(() => !!r.props.multiple), $e = w(() => !r.filterable || Re.value), Xe = w(() => Re.value ? W.value : D.value), gt = w(() => {
|
|
6976
6976
|
var Z;
|
|
6977
6977
|
return ((Z = A.value) == null ? void 0 : Z.checkedNodes) || [];
|
|
6978
6978
|
}), nt = w(() => !r.clearable || re.value || I.value || !O.value ? !1 : !!gt.value.length), De = w(() => {
|
|
@@ -7026,7 +7026,7 @@ const $o = vt($O), NO = Ce({
|
|
|
7026
7026
|
if (!Re.value)
|
|
7027
7027
|
return;
|
|
7028
7028
|
const Z = gt.value, de = [], fe = [];
|
|
7029
|
-
if (Z.forEach((Ke) => fe.push(qt(Ke))),
|
|
7029
|
+
if (Z.forEach((Ke) => fe.push(qt(Ke))), H.value = fe, Z.length) {
|
|
7030
7030
|
Z.slice(0, r.maxCollapseTags).forEach((Wt) => de.push(qt(Wt)));
|
|
7031
7031
|
const Ke = Z.slice(r.maxCollapseTags), cn = Ke.length;
|
|
7032
7032
|
cn && (r.collapseTags ? de.push({
|
|
@@ -7042,7 +7042,7 @@ const $o = vt($O), NO = Ce({
|
|
|
7042
7042
|
const { filterMethod: fe, showAllLevels: Ke, separator: cn } = r, Wt = (de = (Z = A.value) == null ? void 0 : Z.getFlattedNodes(!r.props.checkStrictly)) == null ? void 0 : de.filter((un) => un.isDisabled ? !1 : (un.calcText(Ke, cn), fe(un, Xe.value)));
|
|
7043
7043
|
Re.value && (j.value.forEach((un) => {
|
|
7044
7044
|
un.hitState = !1;
|
|
7045
|
-
}),
|
|
7045
|
+
}), H.value.forEach((un) => {
|
|
7046
7046
|
un.hitState = !1;
|
|
7047
7047
|
})), I.value = !0, Q.value = Wt, ct();
|
|
7048
7048
|
}, bn = () => {
|
|
@@ -7235,13 +7235,13 @@ const $o = vt($O), NO = Ce({
|
|
|
7235
7235
|
effect: "light"
|
|
7236
7236
|
}, {
|
|
7237
7237
|
default: $(() => [
|
|
7238
|
-
|
|
7238
|
+
U("span", null, ue(fe.text), 1)
|
|
7239
7239
|
]),
|
|
7240
7240
|
content: $(() => [
|
|
7241
|
-
|
|
7241
|
+
U("div", {
|
|
7242
7242
|
class: L(p(l).e("collapse-tags"))
|
|
7243
7243
|
}, [
|
|
7244
|
-
(C(!0), F(Pe, null, pt(
|
|
7244
|
+
(C(!0), F(Pe, null, pt(H.value.slice(Z.maxCollapseTags), (Ke, cn) => (C(), F("div", {
|
|
7245
7245
|
key: cn,
|
|
7246
7246
|
class: L(p(l).e("collapse-tag"))
|
|
7247
7247
|
}, [
|
|
@@ -7257,7 +7257,7 @@ const $o = vt($O), NO = Ce({
|
|
|
7257
7257
|
onClose: (Wt) => xt(Ke)
|
|
7258
7258
|
}, {
|
|
7259
7259
|
default: $(() => [
|
|
7260
|
-
|
|
7260
|
+
U("span", null, ue(Ke.text), 1)
|
|
7261
7261
|
]),
|
|
7262
7262
|
_: 2
|
|
7263
7263
|
}, 1032, ["type", "size", "effect", "hit", "closable", "onClose"]))
|
|
@@ -7330,7 +7330,7 @@ const $o = vt($O), NO = Ce({
|
|
|
7330
7330
|
tabindex: -1,
|
|
7331
7331
|
onClick: (Ke) => Ie(fe)
|
|
7332
7332
|
}, [
|
|
7333
|
-
|
|
7333
|
+
U("span", null, ue(fe.text), 1),
|
|
7334
7334
|
fe.checked ? (C(), Y(p(ze), { key: 0 }, {
|
|
7335
7335
|
default: $(() => [
|
|
7336
7336
|
q(p(Nh))
|
|
@@ -7338,7 +7338,7 @@ const $o = vt($O), NO = Ce({
|
|
|
7338
7338
|
_: 1
|
|
7339
7339
|
})) : G("v-if", !0)
|
|
7340
7340
|
], 10, ["onClick"]))), 128)) : te(Z.$slots, "empty", { key: 1 }, () => [
|
|
7341
|
-
|
|
7341
|
+
U("li", {
|
|
7342
7342
|
class: L(p(l).e("empty-text"))
|
|
7343
7343
|
}, ue(p(u)("el.cascader.noMatch")), 3)
|
|
7344
7344
|
])
|
|
@@ -7763,7 +7763,7 @@ const pT = fT, hT = Ce({
|
|
|
7763
7763
|
function j() {
|
|
7764
7764
|
o("openAutoFocus");
|
|
7765
7765
|
}
|
|
7766
|
-
function
|
|
7766
|
+
function H() {
|
|
7767
7767
|
o("closeAutoFocus");
|
|
7768
7768
|
}
|
|
7769
7769
|
function Q(re) {
|
|
@@ -7791,7 +7791,7 @@ const pT = fT, hT = Ce({
|
|
|
7791
7791
|
close: O,
|
|
7792
7792
|
doClose: W,
|
|
7793
7793
|
onOpenAutoFocus: j,
|
|
7794
|
-
onCloseAutoFocus:
|
|
7794
|
+
onCloseAutoFocus: H,
|
|
7795
7795
|
onCloseRequested: he,
|
|
7796
7796
|
onFocusoutPrevented: Q,
|
|
7797
7797
|
titleId: s,
|
|
@@ -7893,7 +7893,7 @@ const pT = fT, hT = Ce({
|
|
|
7893
7893
|
onReleaseRequested: p(x)
|
|
7894
7894
|
}, {
|
|
7895
7895
|
default: $(() => [
|
|
7896
|
-
|
|
7896
|
+
U("div", ft({
|
|
7897
7897
|
ref_key: "drawerRef",
|
|
7898
7898
|
ref: o,
|
|
7899
7899
|
"aria-modal": "true",
|
|
@@ -7907,7 +7907,7 @@ const pT = fT, hT = Ce({
|
|
|
7907
7907
|
onClick: Ne(() => {
|
|
7908
7908
|
}, ["stop"])
|
|
7909
7909
|
}), [
|
|
7910
|
-
|
|
7910
|
+
U("span", {
|
|
7911
7911
|
ref_key: "focusStartRef",
|
|
7912
7912
|
ref: a,
|
|
7913
7913
|
class: L(p(i).e("sr-focus")),
|
|
@@ -8388,7 +8388,7 @@ const Ii = Ce({
|
|
|
8388
8388
|
function j(J) {
|
|
8389
8389
|
f.value || (J.preventDefault(), J.stopImmediatePropagation());
|
|
8390
8390
|
}
|
|
8391
|
-
function
|
|
8391
|
+
function H() {
|
|
8392
8392
|
t("visible-change", !0);
|
|
8393
8393
|
}
|
|
8394
8394
|
function Q(J) {
|
|
@@ -8428,7 +8428,7 @@ const Ii = Ce({
|
|
|
8428
8428
|
handleEntryFocus: j,
|
|
8429
8429
|
handleClose: A,
|
|
8430
8430
|
handleOpen: x,
|
|
8431
|
-
handleBeforeShowTooltip:
|
|
8431
|
+
handleBeforeShowTooltip: H,
|
|
8432
8432
|
handleShowTooltip: Q,
|
|
8433
8433
|
handleBeforeHideTooltip: he,
|
|
8434
8434
|
onFocusAfterTrapped: (J) => {
|
|
@@ -8611,7 +8611,7 @@ function a5(e, t, n, r, o, a) {
|
|
|
8611
8611
|
role: "separator",
|
|
8612
8612
|
class: e.ns.bem("menu", "item", "divided")
|
|
8613
8613
|
}, e.$attrs), null, 16)) : G("v-if", !0),
|
|
8614
|
-
|
|
8614
|
+
U("li", ft({ ref: e.itemRef }, { ...e.dataset, ...e.$attrs }, {
|
|
8615
8615
|
"aria-disabled": e.disabled,
|
|
8616
8616
|
class: [e.ns.be("menu", "item"), e.ns.is("disabled", e.disabled)],
|
|
8617
8617
|
tabindex: e.tabIndex,
|
|
@@ -8729,7 +8729,7 @@ const c5 = K({
|
|
|
8729
8729
|
const { currentTarget: I, code: R, target: D } = O;
|
|
8730
8730
|
if (I.contains(D), Me.tab === R && O.stopImmediatePropagation(), O.preventDefault(), D !== p(i) || !JT.includes(R))
|
|
8731
8731
|
return;
|
|
8732
|
-
const j = u().filter((
|
|
8732
|
+
const j = u().filter((H) => !H.disabled).map((H) => H.ref);
|
|
8733
8733
|
Ng.includes(R) && j.reverse(), gu(j);
|
|
8734
8734
|
});
|
|
8735
8735
|
return {
|
|
@@ -8961,7 +8961,7 @@ function x5(e, t, n, r, o, a) {
|
|
|
8961
8961
|
onClick: Ne(e.selectOptionClick, ["stop"])
|
|
8962
8962
|
}, [
|
|
8963
8963
|
te(e.$slots, "default", {}, () => [
|
|
8964
|
-
|
|
8964
|
+
U("span", null, ue(e.currentLabel), 1)
|
|
8965
8965
|
])
|
|
8966
8966
|
], 42, ["id", "aria-disabled", "aria-selected", "onMouseenter", "onClick"])), [
|
|
8967
8967
|
[Ct, e.visible]
|
|
@@ -9047,9 +9047,9 @@ const A5 = 11, I5 = (e, t) => {
|
|
|
9047
9047
|
afterBlur() {
|
|
9048
9048
|
D.value = !1, i.menuVisibleOnFocus = !1;
|
|
9049
9049
|
}
|
|
9050
|
-
}), D = P(!1), W = P(), { form: j, formItem:
|
|
9051
|
-
formItemContext:
|
|
9052
|
-
}), { valueOnClear: he, isEmptyValue: re } = Jv(e), B = w(() => e.disabled || (j == null ? void 0 : j.disabled)), J = w(() => zt(e.modelValue) ? e.modelValue.length > 0 : !re(e.modelValue)), ge = w(() => e.clearable && !B.value && i.inputHovering && J.value), me = w(() => e.remote && e.filterable && !e.remoteShowSuffix ? "" : e.suffixIcon), Re = w(() => o.is("reverse", me.value && D.value)), $e = w(() => (
|
|
9050
|
+
}), D = P(!1), W = P(), { form: j, formItem: H } = $r(), { inputId: Q } = Ka(e, {
|
|
9051
|
+
formItemContext: H
|
|
9052
|
+
}), { valueOnClear: he, isEmptyValue: re } = Jv(e), B = w(() => e.disabled || (j == null ? void 0 : j.disabled)), J = w(() => zt(e.modelValue) ? e.modelValue.length > 0 : !re(e.modelValue)), ge = w(() => e.clearable && !B.value && i.inputHovering && J.value), me = w(() => e.remote && e.filterable && !e.remoteShowSuffix ? "" : e.suffixIcon), Re = w(() => o.is("reverse", me.value && D.value)), $e = w(() => (H == null ? void 0 : H.validateState) || ""), Xe = w(() => kv[$e.value]), gt = w(() => e.remote ? 300 : 0), nt = w(() => e.loading ? e.loadingText || n("el.select.loading") : e.remote && !i.inputValue && i.options.size === 0 ? !1 : e.filterable && i.inputValue && i.options.size > 0 && De.value === 0 ? e.noMatchText || n("el.select.noMatch") : i.options.size === 0 ? e.noDataText || n("el.select.noData") : null), De = w(() => Ve.value.filter((V) => V.visible).length), Ve = w(() => {
|
|
9053
9053
|
const V = Array.from(i.options.values()), se = [];
|
|
9054
9054
|
return i.optionValues.forEach((Te) => {
|
|
9055
9055
|
const We = V.findIndex((qn) => qn.value === Te);
|
|
@@ -9081,7 +9081,7 @@ const A5 = 11, I5 = (e, t) => {
|
|
|
9081
9081
|
return e.multiple || !J.value ? se : i.selectedLabel;
|
|
9082
9082
|
}), qt = w(() => ql ? null : "mouseenter");
|
|
9083
9083
|
ae(() => e.modelValue, (V, se) => {
|
|
9084
|
-
e.multiple && e.filterable && !e.reserveKeyword && (i.inputValue = "", xt("")), Nt(), !Zn(V, se) && e.validateEvent && (
|
|
9084
|
+
e.multiple && e.filterable && !e.reserveKeyword && (i.inputValue = "", xt("")), Nt(), !Zn(V, se) && e.validateEvent && (H == null || H.validate("change").catch((Te) => St(Te)));
|
|
9085
9085
|
}, {
|
|
9086
9086
|
flush: "post",
|
|
9087
9087
|
deep: !0
|
|
@@ -9527,7 +9527,7 @@ function $5(e, t, n, r, o, a) {
|
|
|
9527
9527
|
default: $(() => {
|
|
9528
9528
|
var d;
|
|
9529
9529
|
return [
|
|
9530
|
-
|
|
9530
|
+
U("div", {
|
|
9531
9531
|
ref: "wrapperRef",
|
|
9532
9532
|
class: L([
|
|
9533
9533
|
e.nsSelect.e("wrapper"),
|
|
@@ -9545,7 +9545,7 @@ function $5(e, t, n, r, o, a) {
|
|
|
9545
9545
|
}, [
|
|
9546
9546
|
te(e.$slots, "prefix")
|
|
9547
9547
|
], 2)) : G("v-if", !0),
|
|
9548
|
-
|
|
9548
|
+
U("div", {
|
|
9549
9549
|
ref: "selectionRef",
|
|
9550
9550
|
class: L([
|
|
9551
9551
|
e.nsSelect.e("selection"),
|
|
@@ -9567,7 +9567,7 @@ function $5(e, t, n, r, o, a) {
|
|
|
9567
9567
|
onClose: (m) => e.deleteTag(m, h)
|
|
9568
9568
|
}, {
|
|
9569
9569
|
default: $(() => [
|
|
9570
|
-
|
|
9570
|
+
U("span", {
|
|
9571
9571
|
class: L(e.nsSelect.e("tags-text"))
|
|
9572
9572
|
}, [
|
|
9573
9573
|
te(e.$slots, "label", {
|
|
@@ -9591,7 +9591,7 @@ function $5(e, t, n, r, o, a) {
|
|
|
9591
9591
|
teleported: e.teleported
|
|
9592
9592
|
}, {
|
|
9593
9593
|
default: $(() => [
|
|
9594
|
-
|
|
9594
|
+
U("div", {
|
|
9595
9595
|
ref: "collapseItemRef",
|
|
9596
9596
|
class: L(e.nsSelect.e("selected-item"))
|
|
9597
9597
|
}, [
|
|
@@ -9604,7 +9604,7 @@ function $5(e, t, n, r, o, a) {
|
|
|
9604
9604
|
style: He(e.collapseTagStyle)
|
|
9605
9605
|
}, {
|
|
9606
9606
|
default: $(() => [
|
|
9607
|
-
|
|
9607
|
+
U("span", {
|
|
9608
9608
|
class: L(e.nsSelect.e("tags-text"))
|
|
9609
9609
|
}, " + " + ue(e.states.selected.length - e.maxCollapseTags), 3)
|
|
9610
9610
|
]),
|
|
@@ -9613,7 +9613,7 @@ function $5(e, t, n, r, o, a) {
|
|
|
9613
9613
|
], 2)
|
|
9614
9614
|
]),
|
|
9615
9615
|
content: $(() => [
|
|
9616
|
-
|
|
9616
|
+
U("div", {
|
|
9617
9617
|
ref: "tagMenuRef",
|
|
9618
9618
|
class: L(e.nsSelect.e("selection"))
|
|
9619
9619
|
}, [
|
|
@@ -9631,7 +9631,7 @@ function $5(e, t, n, r, o, a) {
|
|
|
9631
9631
|
onClose: (m) => e.deleteTag(m, h)
|
|
9632
9632
|
}, {
|
|
9633
9633
|
default: $(() => [
|
|
9634
|
-
|
|
9634
|
+
U("span", {
|
|
9635
9635
|
class: L(e.nsSelect.e("tags-text"))
|
|
9636
9636
|
}, [
|
|
9637
9637
|
te(e.$slots, "label", {
|
|
@@ -9658,7 +9658,7 @@ function $5(e, t, n, r, o, a) {
|
|
|
9658
9658
|
e.nsSelect.is("hidden", !e.filterable)
|
|
9659
9659
|
])
|
|
9660
9660
|
}, [
|
|
9661
|
-
Oe(
|
|
9661
|
+
Oe(U("input", {
|
|
9662
9662
|
id: e.inputId,
|
|
9663
9663
|
ref: "inputRef",
|
|
9664
9664
|
"onUpdate:modelValue": (h) => e.states.inputValue = h,
|
|
@@ -9713,11 +9713,11 @@ function $5(e, t, n, r, o, a) {
|
|
|
9713
9713
|
label: e.currentPlaceholder,
|
|
9714
9714
|
value: e.modelValue
|
|
9715
9715
|
}, () => [
|
|
9716
|
-
|
|
9716
|
+
U("span", null, ue(e.currentPlaceholder), 1)
|
|
9717
9717
|
]) : (C(), F("span", { key: 1 }, ue(e.currentPlaceholder), 1))
|
|
9718
9718
|
], 2)) : G("v-if", !0)
|
|
9719
9719
|
], 2),
|
|
9720
|
-
|
|
9720
|
+
U("div", {
|
|
9721
9721
|
ref: "suffixRef",
|
|
9722
9722
|
class: L(e.nsSelect.e("suffix"))
|
|
9723
9723
|
}, [
|
|
@@ -9806,7 +9806,7 @@ function $5(e, t, n, r, o, a) {
|
|
|
9806
9806
|
class: L(e.nsSelect.be("dropdown", "empty"))
|
|
9807
9807
|
}, [
|
|
9808
9808
|
te(e.$slots, "empty", {}, () => [
|
|
9809
|
-
|
|
9809
|
+
U("span", null, ue(e.emptyText), 1)
|
|
9810
9810
|
])
|
|
9811
9811
|
], 2)) : G("v-if", !0),
|
|
9812
9812
|
e.$slots.footer ? (C(), F("div", {
|
|
@@ -9870,11 +9870,11 @@ function B5(e, t, n, r, o, a) {
|
|
|
9870
9870
|
ref: "groupRef",
|
|
9871
9871
|
class: L(e.ns.be("group", "wrap"))
|
|
9872
9872
|
}, [
|
|
9873
|
-
|
|
9873
|
+
U("li", {
|
|
9874
9874
|
class: L(e.ns.be("group", "title"))
|
|
9875
9875
|
}, ue(e.label), 3),
|
|
9876
|
-
|
|
9877
|
-
|
|
9876
|
+
U("li", null, [
|
|
9877
|
+
U("ul", {
|
|
9878
9878
|
class: L(e.ns.b("group"))
|
|
9879
9879
|
}, [
|
|
9880
9880
|
te(e.$slots, "default")
|
|
@@ -9981,7 +9981,7 @@ const z5 = Ce({
|
|
|
9981
9981
|
class: L(p(n).e("jump")),
|
|
9982
9982
|
disabled: p(o)
|
|
9983
9983
|
}, [
|
|
9984
|
-
|
|
9984
|
+
U("span", {
|
|
9985
9985
|
class: L([p(n).e("goto")])
|
|
9986
9986
|
}, ue(p(t)("el.pagination.goto")), 3),
|
|
9987
9987
|
q(p(Vo), {
|
|
@@ -9997,7 +9997,7 @@ const z5 = Ce({
|
|
|
9997
9997
|
"onUpdate:modelValue": c,
|
|
9998
9998
|
onChange: u
|
|
9999
9999
|
}, null, 8, ["size", "class", "max", "disabled", "model-value", "aria-label"]),
|
|
10000
|
-
|
|
10000
|
+
U("span", {
|
|
10001
10001
|
class: L([p(n).e("classifier")])
|
|
10002
10002
|
}, ue(p(t)("el.pagination.pageClassifier")), 3)
|
|
10003
10003
|
], 10, ["disabled"]));
|
|
@@ -10053,15 +10053,15 @@ const Z5 = Ce({
|
|
|
10053
10053
|
const W = [];
|
|
10054
10054
|
if (R && !D) {
|
|
10055
10055
|
const j = I - (x - 2);
|
|
10056
|
-
for (let
|
|
10057
|
-
W.push(
|
|
10056
|
+
for (let H = j; H < I; H++)
|
|
10057
|
+
W.push(H);
|
|
10058
10058
|
} else if (!R && D)
|
|
10059
10059
|
for (let j = 2; j < x; j++)
|
|
10060
10060
|
W.push(j);
|
|
10061
10061
|
else if (R && D) {
|
|
10062
10062
|
const j = Math.floor(x / 2) - 1;
|
|
10063
|
-
for (let
|
|
10064
|
-
W.push(
|
|
10063
|
+
for (let H = O - j; H <= O + j; H++)
|
|
10064
|
+
W.push(H);
|
|
10065
10065
|
} else
|
|
10066
10066
|
for (let j = 2; j < I; j++)
|
|
10067
10067
|
W.push(j);
|
|
@@ -10342,14 +10342,14 @@ var n3 = K({
|
|
|
10342
10342
|
slot: (O = (_ = n == null ? void 0 : n.default) == null ? void 0 : _.call(n)) != null ? O : null,
|
|
10343
10343
|
total: yt(J5, { total: Vt(e.total) ? 0 : e.total })
|
|
10344
10344
|
}, j = e.layout.split(",").map((Q) => Q.trim());
|
|
10345
|
-
let
|
|
10345
|
+
let H = !1;
|
|
10346
10346
|
return j.forEach((Q) => {
|
|
10347
10347
|
if (Q === "->") {
|
|
10348
|
-
|
|
10348
|
+
H = !0;
|
|
10349
10349
|
return;
|
|
10350
10350
|
}
|
|
10351
|
-
|
|
10352
|
-
}), x(I[0], o.is("first")), x(I[I.length - 1], o.is("last")),
|
|
10351
|
+
H ? R.push(W[Q]) : I.push(W[Q]);
|
|
10352
|
+
}), x(I[0], o.is("first")), x(I[I.length - 1], o.is("last")), H && R.length > 0 && (x(R[0], o.is("first")), x(R[R.length - 1], o.is("last")), I.push(D)), yt("div", {
|
|
10353
10353
|
class: [
|
|
10354
10354
|
o.b(),
|
|
10355
10355
|
o.is("background", e.background),
|
|
@@ -10759,7 +10759,7 @@ const p3 = function(e = {}) {
|
|
|
10759
10759
|
function b3(e, t, n, r, o, a) {
|
|
10760
10760
|
const i = Ht;
|
|
10761
10761
|
return e.categories.All.size > 1 ? (C(), F("div", y3, [
|
|
10762
|
-
t[0] || (t[0] =
|
|
10762
|
+
t[0] || (t[0] = U("div", null, "View data types:", -1)),
|
|
10763
10763
|
(C(!0), F(Pe, null, pt(e.categories, (s, l) => (C(), F(Pe, null, [
|
|
10764
10764
|
s.size > 0 ? (C(), Y(i, {
|
|
10765
10765
|
class: L([{ active: l == e.active }, "tag-button"]),
|
|
@@ -13190,7 +13190,7 @@ var hP = /* @__PURE__ */ K({
|
|
|
13190
13190
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13191
13191
|
viewBox: "0 0 1024 1024"
|
|
13192
13192
|
}, [
|
|
13193
|
-
|
|
13193
|
+
U("path", {
|
|
13194
13194
|
fill: "currentColor",
|
|
13195
13195
|
d: "M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"
|
|
13196
13196
|
})
|
|
@@ -13721,8 +13721,8 @@ function kp(e) {
|
|
|
13721
13721
|
v -= W - r.width, v *= l ? 1 : -1;
|
|
13722
13722
|
}
|
|
13723
13723
|
}
|
|
13724
|
-
var j = Object.assign({ position: s }, c && YP),
|
|
13725
|
-
if (v =
|
|
13724
|
+
var j = Object.assign({ position: s }, c && YP), H = u === !0 ? XP({ x: v, y: h }) : { x: v, y: h };
|
|
13725
|
+
if (v = H.x, h = H.y, l) {
|
|
13726
13726
|
var Q;
|
|
13727
13727
|
return Object.assign({}, j, (Q = {}, Q[x] = E ? "0" : "", Q[A] = y ? "0" : "", Q.transform = (_.devicePixelRatio || 1) <= 1 ? "translate(" + v + "px, " + h + "px)" : "translate3d(" + v + "px, " + h + "px, 0)", Q));
|
|
13728
13728
|
}
|
|
@@ -13845,8 +13845,8 @@ function Na(e, t) {
|
|
|
13845
13845
|
if (u === la && D) {
|
|
13846
13846
|
var W = D[o];
|
|
13847
13847
|
Object.keys(R).forEach(function(j) {
|
|
13848
|
-
var
|
|
13849
|
-
R[j] += W[Q] *
|
|
13848
|
+
var H = [Pn, Fn].indexOf(j) >= 0 ? 1 : -1, Q = [nn, Fn].indexOf(j) >= 0 ? "y" : "x";
|
|
13849
|
+
R[j] += W[Q] * H;
|
|
13850
13850
|
});
|
|
13851
13851
|
}
|
|
13852
13852
|
return R;
|
|
@@ -13877,10 +13877,10 @@ function uR(e) {
|
|
|
13877
13877
|
for (var o = n.mainAxis, a = o === void 0 ? !0 : o, i = n.altAxis, s = i === void 0 ? !0 : i, l = n.fallbackPlacements, c = n.padding, u = n.boundary, f = n.rootBoundary, g = n.altBoundary, v = n.flipVariations, d = v === void 0 ? !0 : v, h = n.allowedAutoPlacements, m = t.options.placement, y = Xn(m), E = y === m, A = l || (E || !d ? [Li(m)] : cR(m)), x = [m].concat(A).reduce(function(nt, De) {
|
|
13878
13878
|
return nt.concat(Xn(De) === Nu ? lR(t, { placement: De, boundary: u, rootBoundary: f, padding: c, flipVariations: d, allowedAutoPlacements: h }) : De);
|
|
13879
13879
|
}, []), _ = t.rects.reference, O = t.rects.popper, I = /* @__PURE__ */ new Map(), R = !0, D = x[0], W = 0; W < x.length; W++) {
|
|
13880
|
-
var j = x[W],
|
|
13880
|
+
var j = x[W], H = Xn(j), Q = Mo(j) === No, he = [nn, Fn].indexOf(H) >= 0, re = he ? "width" : "height", B = Na(t, { placement: j, boundary: u, rootBoundary: f, altBoundary: g, padding: c }), J = he ? Q ? Pn : rn : Q ? Fn : nn;
|
|
13881
13881
|
_[re] > O[re] && (J = Li(J));
|
|
13882
13882
|
var ge = Li(J), me = [];
|
|
13883
|
-
if (a && me.push(B[
|
|
13883
|
+
if (a && me.push(B[H] <= 0), s && me.push(B[J] <= 0, B[ge] <= 0), me.every(function(nt) {
|
|
13884
13884
|
return nt;
|
|
13885
13885
|
})) {
|
|
13886
13886
|
D = j, R = !1;
|
|
@@ -13937,17 +13937,17 @@ function yR(e) {
|
|
|
13937
13937
|
return e === "x" ? "y" : "x";
|
|
13938
13938
|
}
|
|
13939
13939
|
function bR(e) {
|
|
13940
|
-
var t = e.state, n = e.options, r = e.name, o = n.mainAxis, a = o === void 0 ? !0 : o, i = n.altAxis, s = i === void 0 ? !1 : i, l = n.boundary, c = n.rootBoundary, u = n.altBoundary, f = n.padding, g = n.tether, v = g === void 0 ? !0 : g, d = n.tetherOffset, h = d === void 0 ? 0 : d, m = Na(t, { boundary: l, rootBoundary: c, padding: f, altBoundary: u }), y = Xn(t.placement), E = Mo(t.placement), A = !E, x = Mu(y), _ = yR(x), O = t.modifiersData.popperOffsets, I = t.rects.reference, R = t.rects.popper, D = typeof h == "function" ? h(Object.assign({}, t.rects, { placement: t.placement })) : h, W = typeof D == "number" ? { mainAxis: D, altAxis: D } : Object.assign({ mainAxis: 0, altAxis: 0 }, D), j = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null,
|
|
13940
|
+
var t = e.state, n = e.options, r = e.name, o = n.mainAxis, a = o === void 0 ? !0 : o, i = n.altAxis, s = i === void 0 ? !1 : i, l = n.boundary, c = n.rootBoundary, u = n.altBoundary, f = n.padding, g = n.tether, v = g === void 0 ? !0 : g, d = n.tetherOffset, h = d === void 0 ? 0 : d, m = Na(t, { boundary: l, rootBoundary: c, padding: f, altBoundary: u }), y = Xn(t.placement), E = Mo(t.placement), A = !E, x = Mu(y), _ = yR(x), O = t.modifiersData.popperOffsets, I = t.rects.reference, R = t.rects.popper, D = typeof h == "function" ? h(Object.assign({}, t.rects, { placement: t.placement })) : h, W = typeof D == "number" ? { mainAxis: D, altAxis: D } : Object.assign({ mainAxis: 0, altAxis: 0 }, D), j = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, H = { x: 0, y: 0 };
|
|
13941
13941
|
if (O) {
|
|
13942
13942
|
if (a) {
|
|
13943
13943
|
var Q, he = x === "y" ? nn : rn, re = x === "y" ? Fn : Pn, B = x === "y" ? "height" : "width", J = O[x], ge = J + m[he], me = J - m[re], Re = v ? -R[B] / 2 : 0, $e = E === No ? I[B] : R[B], Xe = E === No ? -R[B] : -I[B], gt = t.elements.arrow, nt = v && gt ? Du(gt) : { width: 0, height: 0 }, De = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : $m(), Ve = De[he], Qe = De[re], st = ba(0, I[B], nt[B]), yn = A ? I[B] / 2 - Re - st - Ve - W.mainAxis : $e - st - Ve - W.mainAxis, $t = A ? -I[B] / 2 + Re + st + Qe + W.mainAxis : Xe + st + Qe + W.mainAxis, Ot = t.elements.arrow && Qa(t.elements.arrow), rt = Ot ? x === "y" ? Ot.clientTop || 0 : Ot.clientLeft || 0 : 0, ct = (Q = j == null ? void 0 : j[x]) != null ? Q : 0, Ut = J + yn - ct - rt, qt = J + $t - ct, xt = ba(v ? os(ge, Ut) : ge, J, v ? Xr(me, qt) : me);
|
|
13944
|
-
O[x] = xt,
|
|
13944
|
+
O[x] = xt, H[x] = xt - J;
|
|
13945
13945
|
}
|
|
13946
13946
|
if (s) {
|
|
13947
13947
|
var Kt, Nt = x === "x" ? nn : rn, bn = x === "x" ? Fn : Pn, qe = O[_], Tt = _ === "y" ? "height" : "width", Mt = qe + m[Nt], sn = qe - m[bn], At = [nn, rn].indexOf(y) !== -1, ee = (Kt = j == null ? void 0 : j[_]) != null ? Kt : 0, Ie = At ? Mt : qe - I[Tt] - R[Tt] - ee + W.altAxis, ot = At ? qe + I[Tt] + R[Tt] - ee - W.altAxis : sn, jt = v && At ? KP(Ie, qe, ot) : ba(v ? Ie : Mt, qe, v ? ot : sn);
|
|
13948
|
-
O[_] = jt,
|
|
13948
|
+
O[_] = jt, H[_] = jt - qe;
|
|
13949
13949
|
}
|
|
13950
|
-
t.modifiersData[r] =
|
|
13950
|
+
t.modifiersData[r] = H;
|
|
13951
13951
|
}
|
|
13952
13952
|
}
|
|
13953
13953
|
var wR = { name: "preventOverflow", enabled: !0, phase: "main", fn: bR, requiresIfExists: ["offset"] };
|
|
@@ -15091,7 +15091,7 @@ const R$ = 0, $$ = (e) => {
|
|
|
15091
15091
|
let W;
|
|
15092
15092
|
const j = (Q = !0) => {
|
|
15093
15093
|
y(), Q && I();
|
|
15094
|
-
},
|
|
15094
|
+
}, H = () => {
|
|
15095
15095
|
j(!1), r.visible && r.focusOnShow ? a.value = !0 : r.visible === !1 && (a.value = !1);
|
|
15096
15096
|
};
|
|
15097
15097
|
return Je(() => {
|
|
@@ -15105,7 +15105,7 @@ const R$ = 0, $$ = (e) => {
|
|
|
15105
15105
|
}, { immediate: !0 })), B !== re && ya(B) && ["role", "aria-label", "aria-modal", "id"].forEach((J) => {
|
|
15106
15106
|
B.removeAttribute(J);
|
|
15107
15107
|
});
|
|
15108
|
-
}, { immediate: !0 }), ae(() => r.visible,
|
|
15108
|
+
}, { immediate: !0 }), ae(() => r.visible, H, { immediate: !0 });
|
|
15109
15109
|
}), ht(() => {
|
|
15110
15110
|
W == null || W(), W = void 0;
|
|
15111
15111
|
}), t({
|
|
@@ -15297,7 +15297,7 @@ const Q$ = po(X$), e8 = K({
|
|
|
15297
15297
|
n.enterable && p(u) === "hover" && g();
|
|
15298
15298
|
}), j = ir(D, () => {
|
|
15299
15299
|
p(u) === "hover" && f();
|
|
15300
|
-
}),
|
|
15300
|
+
}), H = () => {
|
|
15301
15301
|
var B, J;
|
|
15302
15302
|
(J = (B = a.value) == null ? void 0 : B.updatePopper) == null || J.call(B), h == null || h();
|
|
15303
15303
|
}, Q = () => {
|
|
@@ -15329,7 +15329,7 @@ const Q$ = po(X$), e8 = K({
|
|
|
15329
15329
|
q(Fr, {
|
|
15330
15330
|
name: p(y),
|
|
15331
15331
|
onAfterLeave: R,
|
|
15332
|
-
onBeforeEnter:
|
|
15332
|
+
onBeforeEnter: H,
|
|
15333
15333
|
onAfterEnter: he,
|
|
15334
15334
|
onBeforeLeave: Q
|
|
15335
15335
|
}, {
|
|
@@ -16286,7 +16286,7 @@ const P8 = _t({
|
|
|
16286
16286
|
Ee(ue(n.header), 1)
|
|
16287
16287
|
])
|
|
16288
16288
|
], 2)) : G("v-if", !0),
|
|
16289
|
-
|
|
16289
|
+
U("div", {
|
|
16290
16290
|
class: L([p(t).e("body"), n.bodyClass]),
|
|
16291
16291
|
style: He(n.bodyStyle)
|
|
16292
16292
|
}, [
|
|
@@ -18589,7 +18589,7 @@ const D6 = ["src"], M6 = ["src"], j6 = {
|
|
|
18589
18589
|
}, {
|
|
18590
18590
|
default: $(() => [
|
|
18591
18591
|
Oe((C(), F("div", null, [
|
|
18592
|
-
|
|
18592
|
+
U("div", {
|
|
18593
18593
|
class: "cursor-pointer",
|
|
18594
18594
|
style: He(e.imageContainerStyle),
|
|
18595
18595
|
onClick: Ne(d, ["prevent"])
|
|
@@ -18608,7 +18608,7 @@ const D6 = ["src"], M6 = ["src"], j6 = {
|
|
|
18608
18608
|
G("", !0),
|
|
18609
18609
|
e.showCardDetails ? (C(), F("div", j6, [
|
|
18610
18610
|
e.data.hideType ? G("", !0) : (C(), F("p", V6, [
|
|
18611
|
-
|
|
18611
|
+
U("b", null, ue(e.data.type), 1)
|
|
18612
18612
|
])),
|
|
18613
18613
|
q(A, {
|
|
18614
18614
|
"virtual-ref": a.value,
|
|
@@ -18619,14 +18619,14 @@ const D6 = ["src"], M6 = ["src"], j6 = {
|
|
|
18619
18619
|
"popper-class": "gallery-popper",
|
|
18620
18620
|
"virtual-triggering": ""
|
|
18621
18621
|
}, null, 8, ["virtual-ref", "disabled", "content"]),
|
|
18622
|
-
Oe(
|
|
18622
|
+
Oe(U("p", {
|
|
18623
18623
|
ref_key: "titleText",
|
|
18624
18624
|
ref: a,
|
|
18625
18625
|
class: "title"
|
|
18626
18626
|
}, ue(e.data.title), 513), [
|
|
18627
18627
|
[Ct, !e.data.hideTitle]
|
|
18628
18628
|
]),
|
|
18629
|
-
Oe(
|
|
18629
|
+
Oe(U("p", z6, null, 512), [
|
|
18630
18630
|
[Ct, e.data.hideTitle]
|
|
18631
18631
|
]),
|
|
18632
18632
|
q(x, {
|
|
@@ -18651,12 +18651,12 @@ const D6 = ["src"], M6 = ["src"], j6 = {
|
|
|
18651
18651
|
}, U6 = /* @__PURE__ */ Eu(H6, [["__scopeId", "data-v-8306387d"]]), Qs = (e) => (fb("data-v-e745b327"), e = e(), pb(), e), q6 = {
|
|
18652
18652
|
ref: "myButton",
|
|
18653
18653
|
class: "gallery"
|
|
18654
|
-
}, K6 = { class: "gallery-strip" }, W6 = /* @__PURE__ */ Qs(() => /* @__PURE__ */
|
|
18654
|
+
}, K6 = { class: "gallery-strip" }, W6 = /* @__PURE__ */ Qs(() => /* @__PURE__ */ U("span", { class: "progress-button" }, "‹", -1)), G6 = [
|
|
18655
18655
|
W6
|
|
18656
18656
|
], J6 = {
|
|
18657
18657
|
key: 1,
|
|
18658
18658
|
style: { width: "2rem" }
|
|
18659
|
-
}, Z6 = /* @__PURE__ */ Qs(() => /* @__PURE__ */
|
|
18659
|
+
}, Z6 = /* @__PURE__ */ Qs(() => /* @__PURE__ */ U("div", { class: "filler" }, null, -1)), Y6 = { class: "card-line" }, X6 = /* @__PURE__ */ Qs(() => /* @__PURE__ */ U("div", { class: "filler" }, null, -1)), Q6 = /* @__PURE__ */ Qs(() => /* @__PURE__ */ U("span", { class: "progress-button" }, "›", -1)), eN = [
|
|
18660
18660
|
Q6
|
|
18661
18661
|
], tN = {
|
|
18662
18662
|
key: 3,
|
|
@@ -18807,7 +18807,7 @@ const D6 = ["src"], M6 = ["src"], j6 = {
|
|
|
18807
18807
|
goPrev: O,
|
|
18808
18808
|
indicatorClicked: I
|
|
18809
18809
|
}), (R, D) => (C(), F("div", q6, [
|
|
18810
|
-
|
|
18810
|
+
U("div", K6, [
|
|
18811
18811
|
e.items.length > 1 ? (C(), F("a", {
|
|
18812
18812
|
key: 0,
|
|
18813
18813
|
href: "#",
|
|
@@ -18815,7 +18815,7 @@ const D6 = ["src"], M6 = ["src"], j6 = {
|
|
|
18815
18815
|
onClick: Ne(O, ["prevent"])
|
|
18816
18816
|
}, G6, 2)) : (C(), F("div", J6)),
|
|
18817
18817
|
Z6,
|
|
18818
|
-
|
|
18818
|
+
U("div", Y6, [
|
|
18819
18819
|
(C(!0), F(Pe, null, pt(y.value, (W, j) => (C(), F("span", {
|
|
18820
18820
|
key: "card_" + j,
|
|
18821
18821
|
class: L(["key-image-span", { active: x(j) }])
|
|
@@ -18843,7 +18843,7 @@ const D6 = ["src"], M6 = ["src"], j6 = {
|
|
|
18843
18843
|
onClick: Ne(_, ["prevent"])
|
|
18844
18844
|
}, eN, 2)) : (C(), F("div", tN))
|
|
18845
18845
|
]),
|
|
18846
|
-
|
|
18846
|
+
U("div", {
|
|
18847
18847
|
style: He(e.bottomSpacer)
|
|
18848
18848
|
}, null, 4),
|
|
18849
18849
|
h.value ? (C(), Y(eI, {
|
|
@@ -19573,10 +19573,10 @@ const ut = new bN(), cs = {
|
|
|
19573
19573
|
function FN(e, t, n, r, o, a) {
|
|
19574
19574
|
const i = P0, s = Ht, l = zg, c = we("CopyToClipboard"), u = Ho;
|
|
19575
19575
|
return C(), F("div", CN, [
|
|
19576
|
-
|
|
19577
|
-
t[2] || (t[2] =
|
|
19576
|
+
U("div", SN, [
|
|
19577
|
+
t[2] || (t[2] = U("div", { class: "seperator-path" }, null, -1)),
|
|
19578
19578
|
Oe((C(), F("div", kN, [
|
|
19579
|
-
|
|
19579
|
+
U("span", EN, [
|
|
19580
19580
|
!e.loading && e.discoverId ? (C(), Y(i, {
|
|
19581
19581
|
key: 0,
|
|
19582
19582
|
datasetId: e.discoverId,
|
|
@@ -19591,17 +19591,17 @@ function FN(e, t, n, r, o, a) {
|
|
|
19591
19591
|
onDatalinkClicked: a.galleryDatalinkClicked
|
|
19592
19592
|
}, null, 8, ["datasetId", "datasetVersion", "entry", "envVars", "label", "datasetThumbnail", "dataset-biolucida", "category", "onCardClicked", "onDatalinkClicked"])) : G("", !0)
|
|
19593
19593
|
]),
|
|
19594
|
-
|
|
19595
|
-
|
|
19594
|
+
U("div", xN, [
|
|
19595
|
+
U("div", {
|
|
19596
19596
|
class: "title",
|
|
19597
19597
|
onClick: t[0] || (t[0] = (...f) => a.cardClicked && a.cardClicked(...f))
|
|
19598
19598
|
}, ue(n.entry.name), 1),
|
|
19599
|
-
|
|
19600
|
-
|
|
19599
|
+
U("div", _N, ue(a.contributors) + " " + ue(n.entry.publishDate ? `(${a.publishYear})` : ""), 1),
|
|
19600
|
+
U("div", ON, ue(a.samples), 1),
|
|
19601
19601
|
n.entry.detailsReady ? G("", !0) : Oe((C(), F("div", TN, null, 512)), [
|
|
19602
19602
|
[u, !n.entry.detailsReady]
|
|
19603
19603
|
]),
|
|
19604
|
-
|
|
19604
|
+
U("div", null, [
|
|
19605
19605
|
n.entry.simulation ? (C(), Y(s, {
|
|
19606
19606
|
key: 0,
|
|
19607
19607
|
onClick: a.openRepository,
|
|
@@ -19615,14 +19615,14 @@ function FN(e, t, n, r, o, a) {
|
|
|
19615
19615
|
_: 1
|
|
19616
19616
|
}, 8, ["onClick", "icon"])) : G("", !0)
|
|
19617
19617
|
]),
|
|
19618
|
-
|
|
19618
|
+
U("div", AN, [
|
|
19619
19619
|
q(l, {
|
|
19620
19620
|
entry: n.entry,
|
|
19621
19621
|
"dataset-biolucida": e.biolucidaData,
|
|
19622
19622
|
onCategoryChanged: a.categoryChanged
|
|
19623
19623
|
}, null, 8, ["entry", "dataset-biolucida", "onCategoryChanged"])
|
|
19624
19624
|
]),
|
|
19625
|
-
|
|
19625
|
+
U("div", IN, [
|
|
19626
19626
|
q(c, { content: e.copyContent }, null, 8, ["content"])
|
|
19627
19627
|
])
|
|
19628
19628
|
])
|
|
@@ -19799,7 +19799,7 @@ function UN(e, t, n, r, o, a) {
|
|
|
19799
19799
|
}, 1032, ["onClick"])) : G("", !0)
|
|
19800
19800
|
], 64))), 128))
|
|
19801
19801
|
])) : (C(), F("div", NN, t[0] || (t[0] = [
|
|
19802
|
-
|
|
19802
|
+
U("span", { class: "empty-saved-search" }, "No Saved Searches", -1)
|
|
19803
19803
|
]))),
|
|
19804
19804
|
q(d, {
|
|
19805
19805
|
trigger: "click",
|
|
@@ -19812,7 +19812,7 @@ function UN(e, t, n, r, o, a) {
|
|
|
19812
19812
|
key: h.id
|
|
19813
19813
|
}, {
|
|
19814
19814
|
default: $(() => [
|
|
19815
|
-
|
|
19815
|
+
U("div", null, [
|
|
19816
19816
|
h.longLabel ? (C(), Y(i, {
|
|
19817
19817
|
key: 0,
|
|
19818
19818
|
width: "auto",
|
|
@@ -19822,7 +19822,7 @@ function UN(e, t, n, r, o, a) {
|
|
|
19822
19822
|
"popper-class": "popover-dropdown"
|
|
19823
19823
|
}, {
|
|
19824
19824
|
reference: $(() => [
|
|
19825
|
-
|
|
19825
|
+
U("span", {
|
|
19826
19826
|
class: "dropdown-clickable-item",
|
|
19827
19827
|
onClick: (m) => a.search(h)
|
|
19828
19828
|
}, ue(h.label), 9, BN)
|
|
@@ -19837,7 +19837,7 @@ function UN(e, t, n, r, o, a) {
|
|
|
19837
19837
|
onClick: (m) => a.search(h)
|
|
19838
19838
|
}, ue(h.label), 9, DN))
|
|
19839
19839
|
]),
|
|
19840
|
-
|
|
19840
|
+
U("div", null, [
|
|
19841
19841
|
q(i, {
|
|
19842
19842
|
width: "auto",
|
|
19843
19843
|
trigger: "hover",
|
|
@@ -19857,9 +19857,9 @@ function UN(e, t, n, r, o, a) {
|
|
|
19857
19857
|
q(c, { color: "#8300BF" }, {
|
|
19858
19858
|
default: $(() => [
|
|
19859
19859
|
h.saved ? (C(), F("svg", MN, t[2] || (t[2] = [
|
|
19860
|
-
|
|
19860
|
+
U("path", { d: "m12 21.35-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54z" }, null, -1)
|
|
19861
19861
|
]))) : (C(), F("svg", jN, t[3] || (t[3] = [
|
|
19862
|
-
|
|
19862
|
+
U("path", { d: "M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3m-4.4 15.55-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05" }, null, -1)
|
|
19863
19863
|
])))
|
|
19864
19864
|
]),
|
|
19865
19865
|
_: 2
|
|
@@ -19899,7 +19899,7 @@ function UN(e, t, n, r, o, a) {
|
|
|
19899
19899
|
}, 1032, ["onClick"])
|
|
19900
19900
|
]),
|
|
19901
19901
|
default: $(() => [
|
|
19902
|
-
t[4] || (t[4] =
|
|
19902
|
+
t[4] || (t[4] = U("span", null, " Remove from search history. ", -1))
|
|
19903
19903
|
]),
|
|
19904
19904
|
_: 2
|
|
19905
19905
|
}, 1024)
|
|
@@ -19912,7 +19912,7 @@ function UN(e, t, n, r, o, a) {
|
|
|
19912
19912
|
})
|
|
19913
19913
|
]),
|
|
19914
19914
|
default: $(() => [
|
|
19915
|
-
|
|
19915
|
+
U("span", LN, [
|
|
19916
19916
|
t[1] || (t[1] = Ee(" Search history ")),
|
|
19917
19917
|
q(c, { class: "el-icon--right" }, {
|
|
19918
19918
|
default: $(() => [
|
|
@@ -19953,7 +19953,7 @@ const el = /* @__PURE__ */ Rn(PN, [["render", UN], ["__scopeId", "data-v-566eaa1
|
|
|
19953
19953
|
return (t, n) => (C(), F("svg", {
|
|
19954
19954
|
class: L(["map-icon", { "map-icon-spin": e.spin }])
|
|
19955
19955
|
}, [
|
|
19956
|
-
|
|
19956
|
+
U("use", {
|
|
19957
19957
|
"xlink:href": `#${e.icon}`
|
|
19958
19958
|
}, null, 8, qN)
|
|
19959
19959
|
], 2));
|
|
@@ -20742,7 +20742,7 @@ var Fy = { exports: {} };
|
|
|
20742
20742
|
function R(b) {
|
|
20743
20743
|
return typeof b == "string" ? { protocol: "https", url: b, accept: A.Any } : { protocol: b.protocol || "https", url: b.url, accept: b.accept || A.Any };
|
|
20744
20744
|
}
|
|
20745
|
-
var D = "DELETE", W = "GET", j = "POST",
|
|
20745
|
+
var D = "DELETE", W = "GET", j = "POST", H = "PUT";
|
|
20746
20746
|
function Q(b, S) {
|
|
20747
20747
|
return Promise.all(S.map(function(k) {
|
|
20748
20748
|
return b.get(k, function() {
|
|
@@ -21114,14 +21114,14 @@ var Fy = { exports: {} };
|
|
|
21114
21114
|
};
|
|
21115
21115
|
}, nl = function(b) {
|
|
21116
21116
|
return function(S, k) {
|
|
21117
|
-
return v(b.transporter.write({ method:
|
|
21117
|
+
return v(b.transporter.write({ method: H, path: "/1/dictionaries/*/settings", data: S }, k), function(T, N) {
|
|
21118
21118
|
return mr(b)(T.taskID, N);
|
|
21119
21119
|
});
|
|
21120
21120
|
};
|
|
21121
21121
|
}, rl = function(b) {
|
|
21122
21122
|
return function(S, k) {
|
|
21123
21123
|
var T = Object.assign({}, k), N = k || {}, ne = N.queryParameters, ie = a(N, ["queryParameters"]), X = ne ? { queryParameters: ne } : {}, oe = ["acl", "indexes", "referers", "restrictSources", "queryParameters", "description", "maxQueriesPerIPPerHour", "maxHitsPerQuery"];
|
|
21124
|
-
return v(b.transporter.write({ method:
|
|
21124
|
+
return v(b.transporter.write({ method: H, path: m("1/keys/%s", S), data: X }, ie), function(ve, ce) {
|
|
21125
21125
|
return g(function(ke) {
|
|
21126
21126
|
return qe(b)(S, ce).then(function(Se) {
|
|
21127
21127
|
return function(Be) {
|
|
@@ -21439,7 +21439,7 @@ var Fy = { exports: {} };
|
|
|
21439
21439
|
}, Wy = function(b) {
|
|
21440
21440
|
return function(S, k) {
|
|
21441
21441
|
var T = k || {}, N = T.forwardToReplicas, ne = E(a(T, ["forwardToReplicas"]));
|
|
21442
|
-
return N && (ne.queryParameters.forwardToReplicas = 1), v(b.transporter.write({ method:
|
|
21442
|
+
return N && (ne.queryParameters.forwardToReplicas = 1), v(b.transporter.write({ method: H, path: m("1/indexes/%s/settings", b.indexName), data: S }, ne), function(ie, X) {
|
|
21443
21443
|
return mt(b)(ie.taskID, X);
|
|
21444
21444
|
});
|
|
21445
21445
|
};
|
|
@@ -21847,8 +21847,7 @@ const us = function(e) {
|
|
|
21847
21847
|
children: [{}]
|
|
21848
21848
|
}
|
|
21849
21849
|
],
|
|
21850
|
-
presentTags: []
|
|
21851
|
-
searchInputs: {}
|
|
21850
|
+
presentTags: []
|
|
21852
21851
|
};
|
|
21853
21852
|
},
|
|
21854
21853
|
setup() {
|
|
@@ -21885,9 +21884,6 @@ const us = function(e) {
|
|
|
21885
21884
|
`Warning: ${n} provided without its parent, this will not be shown in the cascader`
|
|
21886
21885
|
), r;
|
|
21887
21886
|
},
|
|
21888
|
-
isFlatmapConnectionsFilterNode: function(e) {
|
|
21889
|
-
return e.pathValues[0].includes("flatmap.connectivity.source") && e.pathLabels.includes("Filters") && e.isDisabled && e.isLeaf;
|
|
21890
|
-
},
|
|
21891
21887
|
processOptions: function() {
|
|
21892
21888
|
this.options.forEach((e, t) => {
|
|
21893
21889
|
this.options[t].total = this.countTotalFacet(e), this.options[t].label = Hl(e.label), this.options[t].value = this.createCascaderItemValue(
|
|
@@ -21896,10 +21892,6 @@ const us = function(e) {
|
|
|
21896
21892
|
), this.options[t].children.find((n) => n.label === "Show all") || this.options[t].children.unshift({
|
|
21897
21893
|
value: this.createCascaderItemValue("Show all"),
|
|
21898
21894
|
label: "Show all"
|
|
21899
|
-
}), e.key.includes("flatmap.connectivity.source") && this.options[t].children.unshift({
|
|
21900
|
-
value: this.createCascaderItemValue("ConnectivityFilters"),
|
|
21901
|
-
label: "Filters",
|
|
21902
|
-
disabled: !0
|
|
21903
21895
|
}), this.options[t].children.forEach((n, r) => {
|
|
21904
21896
|
this.options[t].children[r].facetPropPath !== "pennsieve.organization.name" && (this.options[t].children[r].label = Hl(
|
|
21905
21897
|
n.label
|
|
@@ -22059,16 +22051,6 @@ const us = function(e) {
|
|
|
22059
22051
|
cascadeExpandChange: function(e) {
|
|
22060
22052
|
this.__expandItem__ = e, this.cssMods();
|
|
22061
22053
|
},
|
|
22062
|
-
searchInputChange: function(e, t) {
|
|
22063
|
-
e.preventDefault();
|
|
22064
|
-
const { target: n } = e;
|
|
22065
|
-
if (n) {
|
|
22066
|
-
const r = n.value;
|
|
22067
|
-
n.closest(".el-cascader-menu__list").querySelectorAll(".el-cascader-node").forEach((a, i) => {
|
|
22068
|
-
i > 0 && (a.querySelector(".el-cascader-node__label").textContent.toLowerCase().includes(r.toLowerCase()) ? a.classList.remove("hide") : a.classList.add("hide"));
|
|
22069
|
-
});
|
|
22070
|
-
}
|
|
22071
|
-
},
|
|
22072
22054
|
numberShownChanged: function(e) {
|
|
22073
22055
|
this.$emit("numberPerPage", parseInt(e));
|
|
22074
22056
|
},
|
|
@@ -22232,11 +22214,11 @@ const us = function(e) {
|
|
|
22232
22214
|
}, aL = { class: "filters" }, iL = { key: 0 }, sL = {
|
|
22233
22215
|
key: 0,
|
|
22234
22216
|
class: "cascader-tag"
|
|
22235
|
-
}, lL = { class: "tag-text" }, cL = { class: "el-tags-container" }, uL = { class: "el-tags-container" }, dL = { class: "search-filters transition-box" }, fL = {
|
|
22217
|
+
}, lL = { class: "tag-text" }, cL = { class: "el-tags-container" }, uL = { class: "el-tags-container" }, dL = { class: "search-filters transition-box" }, fL = {
|
|
22236
22218
|
key: 0,
|
|
22237
22219
|
class: "filter-default-value"
|
|
22238
|
-
},
|
|
22239
|
-
function
|
|
22220
|
+
}, pL = { class: "dataset-shown" }, hL = { class: "dataset-results-feedback" };
|
|
22221
|
+
function vL(e, t, n, r, o, a) {
|
|
22240
22222
|
const i = we("MapSvgSpriteColor"), s = $o, l = Wa, c = fu, u = du, f = xg, g = we("MapSvgIcon"), v = yu, d = Rs, h = Ho;
|
|
22241
22223
|
return C(), F("div", aL, [
|
|
22242
22224
|
q(i),
|
|
@@ -22249,7 +22231,7 @@ function wL(e, t, n, r, o, a) {
|
|
|
22249
22231
|
onClose: t[0] || (t[0] = (m) => a.cascadeTagClose(e.presentTags[0]))
|
|
22250
22232
|
}, {
|
|
22251
22233
|
default: $(() => [
|
|
22252
|
-
|
|
22234
|
+
U("span", lL, ue(e.presentTags[0]), 1)
|
|
22253
22235
|
]),
|
|
22254
22236
|
_: 1
|
|
22255
22237
|
}),
|
|
@@ -22261,7 +22243,7 @@ function wL(e, t, n, r, o, a) {
|
|
|
22261
22243
|
"popper-class": "cascade-tags-popover"
|
|
22262
22244
|
}, {
|
|
22263
22245
|
default: $(() => [
|
|
22264
|
-
|
|
22246
|
+
U("div", cL, [
|
|
22265
22247
|
(C(!0), F(Pe, null, pt(e.presentTags.slice(1), (m, y) => (C(), Y(s, {
|
|
22266
22248
|
key: y,
|
|
22267
22249
|
class: "ml-2",
|
|
@@ -22277,7 +22259,7 @@ function wL(e, t, n, r, o, a) {
|
|
|
22277
22259
|
])
|
|
22278
22260
|
]),
|
|
22279
22261
|
reference: $(() => [
|
|
22280
|
-
|
|
22262
|
+
U("div", uL, [
|
|
22281
22263
|
e.presentTags.length > 1 ? (C(), Y(s, {
|
|
22282
22264
|
key: 0,
|
|
22283
22265
|
class: "ml-2",
|
|
@@ -22313,50 +22295,35 @@ function wL(e, t, n, r, o, a) {
|
|
|
22313
22295
|
"popper-class": "sidebar-cascader-popper"
|
|
22314
22296
|
}, {
|
|
22315
22297
|
default: $(({ node: m, data: y }) => [
|
|
22316
|
-
|
|
22317
|
-
|
|
22318
|
-
|
|
22319
|
-
|
|
22320
|
-
|
|
22321
|
-
|
|
22322
|
-
|
|
22323
|
-
|
|
22324
|
-
|
|
22325
|
-
|
|
22326
|
-
|
|
22327
|
-
|
|
22328
|
-
|
|
22329
|
-
|
|
22330
|
-
|
|
22331
|
-
|
|
22332
|
-
|
|
22333
|
-
|
|
22334
|
-
|
|
22335
|
-
|
|
22336
|
-
|
|
22337
|
-
|
|
22338
|
-
|
|
22339
|
-
|
|
22340
|
-
|
|
22341
|
-
]),
|
|
22342
|
-
_: 2
|
|
22343
|
-
}, 1024)) : G("", !0),
|
|
22344
|
-
q(c, { span: 20 }, {
|
|
22345
|
-
default: $(() => [
|
|
22346
|
-
H("div", {
|
|
22347
|
-
style: He(a.getBackgroundStyles(y))
|
|
22348
|
-
}, ue(y.label), 5)
|
|
22349
|
-
]),
|
|
22350
|
-
_: 2
|
|
22351
|
-
}, 1024)
|
|
22352
|
-
]),
|
|
22353
|
-
_: 2
|
|
22354
|
-
}, 1024)
|
|
22355
|
-
]))
|
|
22298
|
+
q(u, null, {
|
|
22299
|
+
default: $(() => [
|
|
22300
|
+
a.hasLineStyles(y) ? (C(), Y(c, {
|
|
22301
|
+
key: 0,
|
|
22302
|
+
span: 4
|
|
22303
|
+
}, {
|
|
22304
|
+
default: $(() => [
|
|
22305
|
+
U("div", {
|
|
22306
|
+
class: "path-visual",
|
|
22307
|
+
style: He(a.getLineStyles(y))
|
|
22308
|
+
}, null, 4)
|
|
22309
|
+
]),
|
|
22310
|
+
_: 2
|
|
22311
|
+
}, 1024)) : G("", !0),
|
|
22312
|
+
q(c, { span: 20 }, {
|
|
22313
|
+
default: $(() => [
|
|
22314
|
+
U("div", {
|
|
22315
|
+
style: He(a.getBackgroundStyles(y))
|
|
22316
|
+
}, ue(y.label), 5)
|
|
22317
|
+
]),
|
|
22318
|
+
_: 2
|
|
22319
|
+
}, 1024)
|
|
22320
|
+
]),
|
|
22321
|
+
_: 2
|
|
22322
|
+
}, 1024)
|
|
22356
22323
|
]),
|
|
22357
22324
|
_: 1
|
|
22358
22325
|
}, 8, ["modelValue", "options", "props", "onExpandChange"]),
|
|
22359
|
-
e.showFiltersText ? (C(), F("div",
|
|
22326
|
+
e.showFiltersText ? (C(), F("div", fL, "Filters")) : G("", !0),
|
|
22360
22327
|
q(l, {
|
|
22361
22328
|
title: "How do filters work?",
|
|
22362
22329
|
width: "250",
|
|
@@ -22370,16 +22337,16 @@ function wL(e, t, n, r, o, a) {
|
|
|
22370
22337
|
})
|
|
22371
22338
|
]),
|
|
22372
22339
|
default: $(() => [
|
|
22373
|
-
|
|
22374
|
-
t[5] || (t[5] =
|
|
22340
|
+
U("div", null, [
|
|
22341
|
+
t[5] || (t[5] = U("strong", null, "Within categories:", -1)),
|
|
22375
22342
|
t[6] || (t[6] = Ee(" OR ")),
|
|
22376
|
-
t[7] || (t[7] =
|
|
22343
|
+
t[7] || (t[7] = U("br", null, null, -1)),
|
|
22377
22344
|
Ee(" example: " + ue(n.entry.helper.within) + " ", 1),
|
|
22378
|
-
t[8] || (t[8] =
|
|
22379
|
-
t[9] || (t[9] =
|
|
22380
|
-
t[10] || (t[10] =
|
|
22345
|
+
t[8] || (t[8] = U("br", null, null, -1)),
|
|
22346
|
+
t[9] || (t[9] = U("br", null, null, -1)),
|
|
22347
|
+
t[10] || (t[10] = U("strong", null, "Between categories:", -1)),
|
|
22381
22348
|
t[11] || (t[11] = Ee(" AND ")),
|
|
22382
|
-
t[12] || (t[12] =
|
|
22349
|
+
t[12] || (t[12] = U("br", null, null, -1)),
|
|
22383
22350
|
Ee(" example: " + ue(n.entry.helper.between), 1)
|
|
22384
22351
|
])
|
|
22385
22352
|
]),
|
|
@@ -22392,8 +22359,8 @@ function wL(e, t, n, r, o, a) {
|
|
|
22392
22359
|
_: 1
|
|
22393
22360
|
})
|
|
22394
22361
|
])) : G("", !0),
|
|
22395
|
-
|
|
22396
|
-
|
|
22362
|
+
U("div", pL, [
|
|
22363
|
+
U("span", hL, ue(a.numberOfResultsText), 1),
|
|
22397
22364
|
q(d, {
|
|
22398
22365
|
class: "number-shown-select",
|
|
22399
22366
|
modelValue: e.numberShown,
|
|
@@ -22413,14 +22380,14 @@ function wL(e, t, n, r, o, a) {
|
|
|
22413
22380
|
])
|
|
22414
22381
|
]);
|
|
22415
22382
|
}
|
|
22416
|
-
const tl = /* @__PURE__ */ Rn(oL, [["render",
|
|
22417
|
-
var
|
|
22383
|
+
const tl = /* @__PURE__ */ Rn(oL, [["render", vL], ["__scopeId", "data-v-723365dd"]]);
|
|
22384
|
+
var gL = async function(e) {
|
|
22418
22385
|
if (!e.ok) {
|
|
22419
22386
|
let t = await e.json();
|
|
22420
22387
|
throw t ? new Error(t.message) : new Error(e);
|
|
22421
22388
|
}
|
|
22422
22389
|
return e;
|
|
22423
|
-
},
|
|
22390
|
+
}, mL = {
|
|
22424
22391
|
searchInput: "",
|
|
22425
22392
|
lastSearch: "",
|
|
22426
22393
|
results: [],
|
|
@@ -22434,7 +22401,7 @@ var CL = async function(e) {
|
|
|
22434
22401
|
hasSearched: !1,
|
|
22435
22402
|
contextCardEnabled: !1
|
|
22436
22403
|
};
|
|
22437
|
-
const
|
|
22404
|
+
const yL = {
|
|
22438
22405
|
components: {
|
|
22439
22406
|
SearchFilters: tl,
|
|
22440
22407
|
DatasetCard: K0,
|
|
@@ -22458,7 +22425,7 @@ const kL = {
|
|
|
22458
22425
|
},
|
|
22459
22426
|
entry: {
|
|
22460
22427
|
type: Object,
|
|
22461
|
-
default: () =>
|
|
22428
|
+
default: () => mL
|
|
22462
22429
|
},
|
|
22463
22430
|
envVars: {
|
|
22464
22431
|
type: Object,
|
|
@@ -22622,7 +22589,7 @@ const kL = {
|
|
|
22622
22589
|
callSciCrunch: function(e, t = {}, n) {
|
|
22623
22590
|
return new Promise((r, o) => {
|
|
22624
22591
|
let a = this.envVars.API_LOCATION + this.searchEndpoint + "?" + this.createfilterParams(t);
|
|
22625
|
-
fetch(a, { signal: n }).then(
|
|
22592
|
+
fetch(a, { signal: n }).then(gL).then((i) => i.json()).then((i) => r(i)).catch((i) => o(i));
|
|
22626
22593
|
});
|
|
22627
22594
|
},
|
|
22628
22595
|
getAlgoliaFacets: async function() {
|
|
@@ -22644,21 +22611,21 @@ const kL = {
|
|
|
22644
22611
|
created: function() {
|
|
22645
22612
|
this.searchEndpoint = "dataset_info/using_multiple_dois/";
|
|
22646
22613
|
}
|
|
22647
|
-
},
|
|
22614
|
+
}, bL = { class: "header" }, wL = {
|
|
22648
22615
|
class: "content scrollbar",
|
|
22649
22616
|
ref: "content"
|
|
22650
|
-
},
|
|
22617
|
+
}, CL = {
|
|
22651
22618
|
key: 0,
|
|
22652
22619
|
class: "error-feedback"
|
|
22653
22620
|
};
|
|
22654
|
-
function
|
|
22621
|
+
function SL(e, t, n, r, o, a) {
|
|
22655
22622
|
const i = Vo, s = Ht, l = tl, c = el, u = K0, f = $s, g = Is, v = Ho;
|
|
22656
22623
|
return C(), Y(g, {
|
|
22657
22624
|
"body-style": e.bodyStyle,
|
|
22658
22625
|
class: "content-card"
|
|
22659
22626
|
}, {
|
|
22660
22627
|
header: $(() => [
|
|
22661
|
-
|
|
22628
|
+
U("div", bL, [
|
|
22662
22629
|
q(i, {
|
|
22663
22630
|
class: "search-input",
|
|
22664
22631
|
placeholder: "Search",
|
|
@@ -22708,8 +22675,8 @@ function OL(e, t, n, r, o, a) {
|
|
|
22708
22675
|
localStorageKey: "sparc.science-dataset-search-history",
|
|
22709
22676
|
onSearch: a.searchHistorySearch
|
|
22710
22677
|
}, null, 8, ["onSearch"]),
|
|
22711
|
-
Oe((C(), F("div",
|
|
22712
|
-
e.results.length === 0 && !e.loadingCards ? (C(), F("div",
|
|
22678
|
+
Oe((C(), F("div", wL, [
|
|
22679
|
+
e.results.length === 0 && !e.loadingCards ? (C(), F("div", CL, " No results found - Please change your search / filter criteria. ")) : G("", !0),
|
|
22713
22680
|
(C(!0), F(Pe, null, pt(e.results, (d) => (C(), F("div", {
|
|
22714
22681
|
key: d.doi,
|
|
22715
22682
|
class: "step-item"
|
|
@@ -22740,9 +22707,9 @@ function OL(e, t, n, r, o, a) {
|
|
|
22740
22707
|
_: 1
|
|
22741
22708
|
}, 8, ["body-style"]);
|
|
22742
22709
|
}
|
|
22743
|
-
const Ry = /* @__PURE__ */ Rn(
|
|
22710
|
+
const Ry = /* @__PURE__ */ Rn(yL, [["render", SL], ["__scopeId", "data-v-66d857f2"]]), kL = (e) => e.replace(/\w\S*/g, (t) => t.charAt(0).toUpperCase() + t.substr(1).toLowerCase()), da = function(e) {
|
|
22744
22711
|
return e ? e.charAt(0).toUpperCase() + e.slice(1) : "";
|
|
22745
|
-
},
|
|
22712
|
+
}, EL = {
|
|
22746
22713
|
name: "ConnectivityInfo",
|
|
22747
22714
|
components: {
|
|
22748
22715
|
Button: Ht,
|
|
@@ -22825,7 +22792,7 @@ const Ry = /* @__PURE__ */ Rn(kL, [["render", OL], ["__scopeId", "data-v-66d857f
|
|
|
22825
22792
|
return this.entry.destinationsWithDatasets;
|
|
22826
22793
|
},
|
|
22827
22794
|
resources: function() {
|
|
22828
|
-
return this.entry.hyperlinks
|
|
22795
|
+
return this.entry.hyperlinks;
|
|
22829
22796
|
},
|
|
22830
22797
|
sckanVersion: function() {
|
|
22831
22798
|
return this.entry.knowledgeSource;
|
|
@@ -22845,7 +22812,7 @@ const Ry = /* @__PURE__ */ Rn(kL, [["render", OL], ["__scopeId", "data-v-66d857f
|
|
|
22845
22812
|
},
|
|
22846
22813
|
methods: {
|
|
22847
22814
|
titleCase: function(e) {
|
|
22848
|
-
return
|
|
22815
|
+
return kL(e);
|
|
22849
22816
|
},
|
|
22850
22817
|
capitalise: function(e) {
|
|
22851
22818
|
return da(e);
|
|
@@ -22995,30 +22962,30 @@ const Ry = /* @__PURE__ */ Rn(kL, [["render", OL], ["__scopeId", "data-v-66d857f
|
|
|
22995
22962
|
this.connectivityError = { ...t };
|
|
22996
22963
|
});
|
|
22997
22964
|
}
|
|
22998
|
-
},
|
|
22965
|
+
}, xL = {
|
|
22999
22966
|
key: 0,
|
|
23000
22967
|
class: "main"
|
|
23001
|
-
},
|
|
22968
|
+
}, _L = { class: "connectivity-info-title" }, OL = { class: "title-content" }, TL = {
|
|
23002
22969
|
key: 0,
|
|
23003
22970
|
class: "block"
|
|
23004
|
-
},
|
|
22971
|
+
}, AL = { class: "title" }, IL = { style: { "word-break": "keep-all" } }, FL = { class: "subtitle" }, PL = {
|
|
23005
22972
|
key: 0,
|
|
23006
22973
|
class: "subtitle"
|
|
23007
|
-
},
|
|
22974
|
+
}, RL = {
|
|
23008
22975
|
key: 1,
|
|
23009
22976
|
class: "block"
|
|
23010
|
-
},
|
|
22977
|
+
}, $L = { class: "title" }, NL = { class: "title-buttons" }, LL = { class: "content-container population-display" }, BL = { class: "block attribute-title-container" }, DL = { class: "block buttons-row" }, ML = { class: "content-container content-container-connectivity" }, jL = { class: "content-container content-container-connectivity" }, VL = {
|
|
23011
22978
|
key: 0,
|
|
23012
22979
|
class: "content-container content-container-references"
|
|
23013
22980
|
};
|
|
23014
|
-
function
|
|
22981
|
+
function zL(e, t, n, r, o, a) {
|
|
23015
22982
|
const i = bb, s = ze, l = Wa, c = Bh, u = Ht, f = we("CopyToClipboard"), g = _o, v = Lh, d = kg, h = pO, m = we("connectivity-list"), y = we("connectivity-graph"), E = we("ExternalResourceCard"), A = Ho;
|
|
23016
|
-
return a.entry ? (C(), F("div",
|
|
23017
|
-
|
|
23018
|
-
|
|
23019
|
-
a.entry.title ? (C(), F("div",
|
|
23020
|
-
|
|
23021
|
-
|
|
22983
|
+
return a.entry ? (C(), F("div", xL, [
|
|
22984
|
+
U("div", _L, [
|
|
22985
|
+
U("div", OL, [
|
|
22986
|
+
a.entry.title ? (C(), F("div", TL, [
|
|
22987
|
+
U("div", AL, [
|
|
22988
|
+
U("span", null, ue(a.capitalise(a.entry.title)), 1),
|
|
23022
22989
|
a.entry.featuresAlert ? (C(), Y(l, {
|
|
23023
22990
|
key: 0,
|
|
23024
22991
|
width: "250",
|
|
@@ -23035,21 +23002,21 @@ function WL(e, t, n, r, o, a) {
|
|
|
23035
23002
|
})
|
|
23036
23003
|
]),
|
|
23037
23004
|
default: $(() => [
|
|
23038
|
-
|
|
23005
|
+
U("span", IL, ue(a.entry.featuresAlert), 1)
|
|
23039
23006
|
]),
|
|
23040
23007
|
_: 1
|
|
23041
23008
|
})) : G("", !0)
|
|
23042
23009
|
]),
|
|
23043
|
-
|
|
23044
|
-
t[3] || (t[3] =
|
|
23010
|
+
U("div", FL, [
|
|
23011
|
+
t[3] || (t[3] = U("strong", null, "id: ", -1)),
|
|
23045
23012
|
Ee(ue(a.entry.featureId[0]), 1)
|
|
23046
23013
|
]),
|
|
23047
|
-
a.hasProvenanceTaxonomyLabel ? (C(), F("div",
|
|
23048
|
-
])) : (C(), F("div",
|
|
23049
|
-
|
|
23014
|
+
a.hasProvenanceTaxonomyLabel ? (C(), F("div", PL, ue(a.provSpeciesDescription), 1)) : G("", !0)
|
|
23015
|
+
])) : (C(), F("div", RL, [
|
|
23016
|
+
U("div", $L, ue(a.entry.featureId), 1)
|
|
23050
23017
|
]))
|
|
23051
23018
|
]),
|
|
23052
|
-
|
|
23019
|
+
U("div", NL, [
|
|
23053
23020
|
q(l, {
|
|
23054
23021
|
width: "auto",
|
|
23055
23022
|
trigger: "hover",
|
|
@@ -23074,7 +23041,7 @@ function WL(e, t, n, r, o, a) {
|
|
|
23074
23041
|
}, 8, ["onClick"])
|
|
23075
23042
|
]),
|
|
23076
23043
|
default: $(() => [
|
|
23077
|
-
t[4] || (t[4] =
|
|
23044
|
+
t[4] || (t[4] = U("span", null, " Show connectivity on map ", -1))
|
|
23078
23045
|
]),
|
|
23079
23046
|
_: 1
|
|
23080
23047
|
}),
|
|
@@ -23104,15 +23071,15 @@ function WL(e, t, n, r, o, a) {
|
|
|
23104
23071
|
}, 8, ["onClick"])
|
|
23105
23072
|
]),
|
|
23106
23073
|
default: $(() => [
|
|
23107
|
-
t[5] || (t[5] =
|
|
23074
|
+
t[5] || (t[5] = U("span", null, "Close", -1))
|
|
23108
23075
|
]),
|
|
23109
23076
|
_: 1
|
|
23110
23077
|
})) : G("", !0)
|
|
23111
23078
|
])
|
|
23112
23079
|
]),
|
|
23113
|
-
|
|
23114
|
-
|
|
23115
|
-
t[7] || (t[7] =
|
|
23080
|
+
U("div", LL, [
|
|
23081
|
+
U("div", BL, [
|
|
23082
|
+
t[7] || (t[7] = U("span", { class: "attribute-title" }, "Population Display", -1)),
|
|
23116
23083
|
e.activeView === "listView" ? (C(), Y(l, {
|
|
23117
23084
|
key: 0,
|
|
23118
23085
|
width: "250",
|
|
@@ -23129,13 +23096,13 @@ function WL(e, t, n, r, o, a) {
|
|
|
23129
23096
|
})
|
|
23130
23097
|
]),
|
|
23131
23098
|
default: $(() => [
|
|
23132
|
-
t[6] || (t[6] =
|
|
23099
|
+
t[6] || (t[6] = U("span", { style: { "word-break": "keep-all" } }, " This list is ordered alphabetically, switch to graph view for path details. ", -1))
|
|
23133
23100
|
]),
|
|
23134
23101
|
_: 1
|
|
23135
23102
|
})) : G("", !0)
|
|
23136
23103
|
]),
|
|
23137
|
-
|
|
23138
|
-
t[12] || (t[12] =
|
|
23104
|
+
U("div", DL, [
|
|
23105
|
+
t[12] || (t[12] = U("span", null, "Connectivity from:", -1)),
|
|
23139
23106
|
q(h, {
|
|
23140
23107
|
modelValue: e.connectivitySource,
|
|
23141
23108
|
"onUpdate:modelValue": t[0] || (t[0] = (x) => e.connectivitySource = x),
|
|
@@ -23177,7 +23144,7 @@ function WL(e, t, n, r, o, a) {
|
|
|
23177
23144
|
}, 8, ["class"])
|
|
23178
23145
|
])
|
|
23179
23146
|
]),
|
|
23180
|
-
Oe(
|
|
23147
|
+
Oe(U("div", ML, [
|
|
23181
23148
|
Oe((C(), Y(m, {
|
|
23182
23149
|
key: `${a.connectivityKey}list`,
|
|
23183
23150
|
entry: a.entry,
|
|
@@ -23198,7 +23165,7 @@ function WL(e, t, n, r, o, a) {
|
|
|
23198
23165
|
], 512), [
|
|
23199
23166
|
[Ct, e.activeView === "listView"]
|
|
23200
23167
|
]),
|
|
23201
|
-
Oe(
|
|
23168
|
+
Oe(U("div", jL, [
|
|
23202
23169
|
e.graphViewLoaded ? Oe((C(), Y(y, {
|
|
23203
23170
|
key: `${a.connectivityKey}graph`,
|
|
23204
23171
|
entry: a.entry.featureId[0],
|
|
@@ -23213,7 +23180,7 @@ function WL(e, t, n, r, o, a) {
|
|
|
23213
23180
|
], 512), [
|
|
23214
23181
|
[Ct, e.activeView === "graphView"]
|
|
23215
23182
|
]),
|
|
23216
|
-
a.resources.length ? (C(), F("div",
|
|
23183
|
+
a.resources.length ? (C(), F("div", VL, [
|
|
23217
23184
|
q(E, {
|
|
23218
23185
|
resources: a.resources,
|
|
23219
23186
|
onReferencesLoaded: a.onReferencesLoaded,
|
|
@@ -23222,7 +23189,7 @@ function WL(e, t, n, r, o, a) {
|
|
|
23222
23189
|
])) : G("", !0)
|
|
23223
23190
|
])) : G("", !0);
|
|
23224
23191
|
}
|
|
23225
|
-
const $y = /* @__PURE__ */ Rn(
|
|
23192
|
+
const $y = /* @__PURE__ */ Rn(EL, [["render", zL], ["__scopeId", "data-v-d2c759b5"]]), HL = {
|
|
23226
23193
|
name: "ConnectivityCard",
|
|
23227
23194
|
data() {
|
|
23228
23195
|
return {
|
|
@@ -23262,29 +23229,29 @@ const $y = /* @__PURE__ */ Rn(AL, [["render", WL], ["__scopeId", "data-v-9172e97
|
|
|
23262
23229
|
this.loading || this.$emit("open-connectivity", e);
|
|
23263
23230
|
}
|
|
23264
23231
|
}
|
|
23265
|
-
},
|
|
23232
|
+
}, UL = {
|
|
23266
23233
|
class: "connectivity-card-container",
|
|
23267
23234
|
ref: "container"
|
|
23268
|
-
},
|
|
23235
|
+
}, qL = {
|
|
23269
23236
|
class: "connectivity-card",
|
|
23270
23237
|
ref: "card"
|
|
23271
|
-
},
|
|
23238
|
+
}, KL = { class: "card-title" }, WL = {
|
|
23272
23239
|
key: 0,
|
|
23273
23240
|
class: "card-details"
|
|
23274
23241
|
};
|
|
23275
|
-
function
|
|
23242
|
+
function GL(e, t, n, r, o, a) {
|
|
23276
23243
|
const i = Ho;
|
|
23277
|
-
return C(), F("div",
|
|
23278
|
-
|
|
23279
|
-
t[1] || (t[1] =
|
|
23244
|
+
return C(), F("div", UL, [
|
|
23245
|
+
U("div", qL, [
|
|
23246
|
+
t[1] || (t[1] = U("div", { class: "seperator-path" }, null, -1)),
|
|
23280
23247
|
Oe((C(), F("div", {
|
|
23281
23248
|
class: "card-content",
|
|
23282
23249
|
onClick: t[0] || (t[0] = (s) => a.cardClicked(n.entry))
|
|
23283
23250
|
}, [
|
|
23284
|
-
|
|
23251
|
+
U("div", KL, ue(a.capitalise(n.entry.label)), 1),
|
|
23285
23252
|
(C(!0), F(Pe, null, pt(o.displayFields, (s) => (C(), F(Pe, { key: s }, [
|
|
23286
|
-
n.entry[s] ? (C(), F("div",
|
|
23287
|
-
|
|
23253
|
+
n.entry[s] ? (C(), F("div", WL, [
|
|
23254
|
+
U("strong", null, ue(s) + ":", 1),
|
|
23288
23255
|
Ee(" " + ue(n.entry[s]), 1)
|
|
23289
23256
|
])) : G("", !0)
|
|
23290
23257
|
], 64))), 128))
|
|
@@ -23294,8 +23261,8 @@ function QL(e, t, n, r, o, a) {
|
|
|
23294
23261
|
], 512)
|
|
23295
23262
|
], 512);
|
|
23296
23263
|
}
|
|
23297
|
-
const Ny = /* @__PURE__ */ Rn(
|
|
23298
|
-
var
|
|
23264
|
+
const Ny = /* @__PURE__ */ Rn(HL, [["render", GL], ["__scopeId", "data-v-b875232c"]]);
|
|
23265
|
+
var JL = {
|
|
23299
23266
|
searchInput: "",
|
|
23300
23267
|
lastSearch: "",
|
|
23301
23268
|
results: [],
|
|
@@ -23306,7 +23273,7 @@ var e9 = {
|
|
|
23306
23273
|
page: 1,
|
|
23307
23274
|
start: 0
|
|
23308
23275
|
};
|
|
23309
|
-
const
|
|
23276
|
+
const ZL = {
|
|
23310
23277
|
components: {
|
|
23311
23278
|
SearchFilters: tl,
|
|
23312
23279
|
SearchHistory: el,
|
|
@@ -23329,7 +23296,7 @@ const t9 = {
|
|
|
23329
23296
|
},
|
|
23330
23297
|
entry: {
|
|
23331
23298
|
type: Object,
|
|
23332
|
-
default: () =>
|
|
23299
|
+
default: () => JL
|
|
23333
23300
|
},
|
|
23334
23301
|
envVars: {
|
|
23335
23302
|
type: Object,
|
|
@@ -23451,9 +23418,6 @@ const t9 = {
|
|
|
23451
23418
|
const e = this.filter.some((t) => t.facet !== "Show all");
|
|
23452
23419
|
(!this.searchInput && !e || this.numberOfHits === 0) && this.openSearch([], "");
|
|
23453
23420
|
},
|
|
23454
|
-
onResetClick: function() {
|
|
23455
|
-
this.openSearch([], ""), this.$emit("connectivity-explorer-reset");
|
|
23456
|
-
},
|
|
23457
23421
|
openSearch: function(e, t = "") {
|
|
23458
23422
|
this.searchInput = t, this.resetPageNavigation(), this.cascaderIsReady ? (this.filter = this.$refs.filtersRef.getHierarchicalValidatedFilters(e), e && e.length > 0 && this.filter && this.filter.length === 0 ? (this.$refs.filtersRef.checkShowAllBoxes(), this.resetSearch()) : this.filter && (this.searchKnowledge(this.filter, t), this.$refs.filtersRef.setCascader(this.filter), this.searchHistoryUpdate(this.filter, t))) : (this.filter = e, (!e || e.length == 0) && (this.searchKnowledge(this.filter, t), this.searchHistoryUpdate(this.filter, t)));
|
|
23459
23423
|
},
|
|
@@ -23517,21 +23481,21 @@ const t9 = {
|
|
|
23517
23481
|
this.expanded = "", this.expandedData = null;
|
|
23518
23482
|
});
|
|
23519
23483
|
}
|
|
23520
|
-
},
|
|
23484
|
+
}, YL = { class: "header" }, XL = {
|
|
23521
23485
|
key: 0,
|
|
23522
23486
|
class: "visibility-filter"
|
|
23523
|
-
},
|
|
23487
|
+
}, QL = {
|
|
23524
23488
|
key: 0,
|
|
23525
23489
|
class: "error-feedback"
|
|
23526
|
-
},
|
|
23527
|
-
function
|
|
23490
|
+
}, e9 = ["onMouseenter"];
|
|
23491
|
+
function t9(e, t, n, r, o, a) {
|
|
23528
23492
|
const i = we("MapSvgSpriteColor"), s = Vo, l = Ht, c = cu, u = we("MapSvgIcon"), f = Wa, g = tl, v = el, d = Ny, h = $y, m = $s, y = Is, E = Ho;
|
|
23529
23493
|
return C(), Y(y, {
|
|
23530
23494
|
"body-style": e.bodyStyle,
|
|
23531
23495
|
class: "content-card"
|
|
23532
23496
|
}, {
|
|
23533
23497
|
header: $(() => [
|
|
23534
|
-
|
|
23498
|
+
U("div", YL, [
|
|
23535
23499
|
q(s, {
|
|
23536
23500
|
class: "search-input",
|
|
23537
23501
|
placeholder: "Search",
|
|
@@ -23547,7 +23511,7 @@ function i9(e, t, n, r, o, a) {
|
|
|
23547
23511
|
onClick: a.searchEvent,
|
|
23548
23512
|
size: "large"
|
|
23549
23513
|
}, {
|
|
23550
|
-
default: $(() => t[
|
|
23514
|
+
default: $(() => t[6] || (t[6] = [
|
|
23551
23515
|
Ee(" Search ")
|
|
23552
23516
|
])),
|
|
23553
23517
|
_: 1
|
|
@@ -23555,20 +23519,20 @@ function i9(e, t, n, r, o, a) {
|
|
|
23555
23519
|
q(l, {
|
|
23556
23520
|
link: "",
|
|
23557
23521
|
class: "el-button-link",
|
|
23558
|
-
onClick: a.
|
|
23522
|
+
onClick: t[1] || (t[1] = (A) => a.openSearch([], "")),
|
|
23559
23523
|
size: "large"
|
|
23560
23524
|
}, {
|
|
23561
|
-
default: $(() => t[
|
|
23525
|
+
default: $(() => t[7] || (t[7] = [
|
|
23562
23526
|
Ee(" Reset ")
|
|
23563
23527
|
])),
|
|
23564
23528
|
_: 1
|
|
23565
|
-
}
|
|
23566
|
-
n.showVisibilityFilter ? (C(), F("div",
|
|
23529
|
+
}),
|
|
23530
|
+
n.showVisibilityFilter ? (C(), F("div", XL, [
|
|
23567
23531
|
q(c, {
|
|
23568
23532
|
modelValue: e.filterVisibility,
|
|
23569
|
-
"onUpdate:modelValue": t[
|
|
23533
|
+
"onUpdate:modelValue": t[2] || (t[2] = (A) => e.filterVisibility = A)
|
|
23570
23534
|
}, {
|
|
23571
|
-
default: $(() => t[
|
|
23535
|
+
default: $(() => t[8] || (t[8] = [
|
|
23572
23536
|
Ee(" Focused ")
|
|
23573
23537
|
])),
|
|
23574
23538
|
_: 1
|
|
@@ -23586,14 +23550,14 @@ function i9(e, t, n, r, o, a) {
|
|
|
23586
23550
|
})
|
|
23587
23551
|
]),
|
|
23588
23552
|
default: $(() => [
|
|
23589
|
-
t[
|
|
23590
|
-
|
|
23591
|
-
|
|
23553
|
+
t[9] || (t[9] = U("div", null, [
|
|
23554
|
+
U("strong", null, "Checked:"),
|
|
23555
|
+
U("br"),
|
|
23592
23556
|
Ee(" Display listed or highlighted items only. "),
|
|
23593
|
-
|
|
23594
|
-
|
|
23595
|
-
|
|
23596
|
-
|
|
23557
|
+
U("br"),
|
|
23558
|
+
U("br"),
|
|
23559
|
+
U("strong", null, "Unchecked:"),
|
|
23560
|
+
U("br"),
|
|
23597
23561
|
Ee(" Display listed or highlighted items in full colour and non-listed items in greyscale. ")
|
|
23598
23562
|
], -1))
|
|
23599
23563
|
]),
|
|
@@ -23622,9 +23586,9 @@ function i9(e, t, n, r, o, a) {
|
|
|
23622
23586
|
Oe((C(), F("div", {
|
|
23623
23587
|
class: "content scrollbar",
|
|
23624
23588
|
ref: "content",
|
|
23625
|
-
onMouseleave: t[
|
|
23589
|
+
onMouseleave: t[5] || (t[5] = (A) => a.onHoverChanged(A, void 0))
|
|
23626
23590
|
}, [
|
|
23627
|
-
e.results.length === 0 && !e.loadingCards ? (C(), F("div",
|
|
23591
|
+
e.results.length === 0 && !e.loadingCards ? (C(), F("div", QL, " No results found - Please change your search / filter criteria. ")) : G("", !0),
|
|
23628
23592
|
(C(!0), F(Pe, null, pt(a.paginatedResults, (A) => (C(), F("div", {
|
|
23629
23593
|
key: A.id,
|
|
23630
23594
|
ref_for: !0,
|
|
@@ -23651,15 +23615,15 @@ function i9(e, t, n, r, o, a) {
|
|
|
23651
23615
|
onShowConnectivity: a.onShowConnectivity,
|
|
23652
23616
|
onShowReferenceConnectivities: a.onShowReferenceConnectivities,
|
|
23653
23617
|
onConnectivityClicked: a.onConnectivityClicked,
|
|
23654
|
-
onConnectivityHovered: t[
|
|
23618
|
+
onConnectivityHovered: t[3] || (t[3] = (x) => e.$emit("connectivity-hovered", x)),
|
|
23655
23619
|
onLoaded: (x) => a.onConnectivityInfoLoaded(A),
|
|
23656
23620
|
onCloseConnectivity: (x) => a.onConnectivityCollapseChange(A)
|
|
23657
23621
|
}, null, 8, ["entryId", "connectivityEntry", "availableAnatomyFacets", "envVars", "onShowConnectivity", "onShowReferenceConnectivities", "onConnectivityClicked", "onLoaded", "onCloseConnectivity"])) : G("", !0)
|
|
23658
|
-
], 40,
|
|
23622
|
+
], 40, e9))), 128)),
|
|
23659
23623
|
q(m, {
|
|
23660
23624
|
class: "pagination",
|
|
23661
23625
|
"current-page": e.page,
|
|
23662
|
-
"onUpdate:currentPage": t[
|
|
23626
|
+
"onUpdate:currentPage": t[4] || (t[4] = (A) => e.page = A),
|
|
23663
23627
|
"hide-on-single-page": "",
|
|
23664
23628
|
large: "",
|
|
23665
23629
|
layout: "prev, pager, next",
|
|
@@ -23674,7 +23638,7 @@ function i9(e, t, n, r, o, a) {
|
|
|
23674
23638
|
_: 1
|
|
23675
23639
|
}, 8, ["body-style"]);
|
|
23676
23640
|
}
|
|
23677
|
-
const Ly = /* @__PURE__ */ Rn(
|
|
23641
|
+
const Ly = /* @__PURE__ */ Rn(ZL, [["render", t9], ["__scopeId", "data-v-01c1ec91"]]), n9 = {
|
|
23678
23642
|
name: "AnnotationTool",
|
|
23679
23643
|
components: {
|
|
23680
23644
|
AnnotationPopup: kb,
|
|
@@ -23700,13 +23664,13 @@ const Ly = /* @__PURE__ */ Rn(t9, [["render", i9], ["__scopeId", "data-v-c7d7310
|
|
|
23700
23664
|
annotationPopupData: null
|
|
23701
23665
|
};
|
|
23702
23666
|
}
|
|
23703
|
-
},
|
|
23667
|
+
}, r9 = { class: "annotation-tool scrollbar" }, o9 = {
|
|
23704
23668
|
key: 1,
|
|
23705
23669
|
class: "delete-container"
|
|
23706
23670
|
};
|
|
23707
|
-
function
|
|
23671
|
+
function a9(e, t, n, r, o, a) {
|
|
23708
23672
|
const i = we("CreateTooltipContent"), s = we("annotation-popup"), l = fu, c = Ht, u = du;
|
|
23709
|
-
return C(), F("div",
|
|
23673
|
+
return C(), F("div", r9, [
|
|
23710
23674
|
Oe(q(i, {
|
|
23711
23675
|
createData: n.createData,
|
|
23712
23676
|
onConfirmCreate: t[0] || (t[0] = (f) => e.$emit("confirm-create", f)),
|
|
@@ -23722,7 +23686,7 @@ function u9(e, t, n, r, o, a) {
|
|
|
23722
23686
|
onAnnotation: t[2] || (t[2] = (f) => e.$emit("annotation", f)),
|
|
23723
23687
|
onHoverChanged: t[3] || (t[3] = (f) => e.$emit("hover-changed", f))
|
|
23724
23688
|
}, null, 8, ["annotationEntry"])) : G("", !0),
|
|
23725
|
-
n.createData && n.createData.toBeDeleted ? (C(), F("div",
|
|
23689
|
+
n.createData && n.createData.toBeDeleted ? (C(), F("div", o9, [
|
|
23726
23690
|
q(u, null, {
|
|
23727
23691
|
default: $(() => [
|
|
23728
23692
|
q(l, {
|
|
@@ -23775,7 +23739,7 @@ function u9(e, t, n, r, o, a) {
|
|
|
23775
23739
|
])) : G("", !0)
|
|
23776
23740
|
]);
|
|
23777
23741
|
}
|
|
23778
|
-
const By = /* @__PURE__ */ Rn(
|
|
23742
|
+
const By = /* @__PURE__ */ Rn(n9, [["render", a9], ["__scopeId", "data-v-82a15370"]]), i9 = {
|
|
23779
23743
|
name: "Tabs",
|
|
23780
23744
|
components: {
|
|
23781
23745
|
ElIconClose: _o
|
|
@@ -23812,16 +23776,16 @@ const By = /* @__PURE__ */ Rn(s9, [["render", u9], ["__scopeId", "data-v-82a1537
|
|
|
23812
23776
|
this.$emit("tabClosed", { id: e.id, type: e.type });
|
|
23813
23777
|
}
|
|
23814
23778
|
}
|
|
23815
|
-
},
|
|
23816
|
-
function
|
|
23779
|
+
}, s9 = { class: "tabs-container" }, l9 = ["onClick"], c9 = { class: "tab-title" };
|
|
23780
|
+
function u9(e, t, n, r, o, a) {
|
|
23817
23781
|
const i = _o, s = ze;
|
|
23818
|
-
return C(), F("div",
|
|
23782
|
+
return C(), F("div", s9, [
|
|
23819
23783
|
(C(!0), F(Pe, null, pt(a.tabs, (l) => (C(), F("div", {
|
|
23820
23784
|
class: L(["tab", { "active-tab": l.id == n.activeId }]),
|
|
23821
23785
|
key: l.id,
|
|
23822
23786
|
onClick: (c) => a.tabClicked(l)
|
|
23823
23787
|
}, [
|
|
23824
|
-
|
|
23788
|
+
U("span", c9, ue(l.title), 1),
|
|
23825
23789
|
l.closable ? (C(), Y(s, {
|
|
23826
23790
|
key: 0,
|
|
23827
23791
|
onClick: Ne((c) => a.tabClosed(l), ["stop"]),
|
|
@@ -23832,10 +23796,10 @@ function v9(e, t, n, r, o, a) {
|
|
|
23832
23796
|
]),
|
|
23833
23797
|
_: 2
|
|
23834
23798
|
}, 1032, ["onClick"])) : G("", !0)
|
|
23835
|
-
], 10,
|
|
23799
|
+
], 10, l9))), 128))
|
|
23836
23800
|
]);
|
|
23837
23801
|
}
|
|
23838
|
-
const Dy = /* @__PURE__ */ Rn(
|
|
23802
|
+
const Dy = /* @__PURE__ */ Rn(i9, [["render", u9], ["__scopeId", "data-v-9dda8d57"]]), d9 = {
|
|
23839
23803
|
components: {
|
|
23840
23804
|
SidebarContent: Ry,
|
|
23841
23805
|
Tabs: Dy,
|
|
@@ -23948,12 +23912,6 @@ const Dy = /* @__PURE__ */ Rn(d9, [["render", v9], ["__scopeId", "data-v-9dda8d5
|
|
|
23948
23912
|
const n = this.getActiveTabTypeById(e);
|
|
23949
23913
|
n === "connectivityExplorer" && (this.activeConnectivityData = t), n === "annotation" && (this.activeAnnotationData = t);
|
|
23950
23914
|
},
|
|
23951
|
-
/**
|
|
23952
|
-
* This event is emitted after clicking reset button in connectivity explorer
|
|
23953
|
-
*/
|
|
23954
|
-
onConnectivityExplorerReset: function() {
|
|
23955
|
-
this.$emit("connectivity-explorer-reset");
|
|
23956
|
-
},
|
|
23957
23915
|
/**
|
|
23958
23916
|
* This event is emitted when the show connectivity button is clicked.
|
|
23959
23917
|
* @arg featureIds
|
|
@@ -24114,10 +24072,10 @@ const Dy = /* @__PURE__ */ Rn(d9, [["render", v9], ["__scopeId", "data-v-9dda8d5
|
|
|
24114
24072
|
this.availableAnatomyFacets = e.find((t) => t.label === "Anatomical Structure").children, this.storeAvailableAnatomyFacets(this.availableAnatomyFacets);
|
|
24115
24073
|
});
|
|
24116
24074
|
}
|
|
24117
|
-
},
|
|
24118
|
-
function
|
|
24075
|
+
}, f9 = { ref: "container" }, p9 = { class: "box-card" }, h9 = { class: "sidebar-container" };
|
|
24076
|
+
function v9(e, t, n, r, o, a) {
|
|
24119
24077
|
const i = Ac, s = ze, l = vs, c = Dy, u = By, f = Ly, g = Ry, v = pu;
|
|
24120
|
-
return C(), F("div",
|
|
24078
|
+
return C(), F("div", f9, [
|
|
24121
24079
|
e.drawerOpen ? G("", !0) : (C(), F("div", {
|
|
24122
24080
|
key: 0,
|
|
24123
24081
|
onClick: t[0] || (t[0] = (...d) => a.toggleDrawer && a.toggleDrawer(...d)),
|
|
@@ -24145,7 +24103,7 @@ function w9(e, t, n, r, o, a) {
|
|
|
24145
24103
|
"lock-scroll": !1
|
|
24146
24104
|
}, {
|
|
24147
24105
|
default: $(() => [
|
|
24148
|
-
|
|
24106
|
+
U("div", p9, [
|
|
24149
24107
|
e.drawerOpen ? (C(), F("div", {
|
|
24150
24108
|
key: 0,
|
|
24151
24109
|
onClick: t[1] || (t[1] = (...d) => a.close && a.close(...d)),
|
|
@@ -24158,7 +24116,7 @@ function w9(e, t, n, r, o, a) {
|
|
|
24158
24116
|
_: 1
|
|
24159
24117
|
})
|
|
24160
24118
|
])) : G("", !0),
|
|
24161
|
-
|
|
24119
|
+
U("div", h9, [
|
|
24162
24120
|
a.tabEntries.length > 1 ? (C(), Y(c, {
|
|
24163
24121
|
key: 0,
|
|
24164
24122
|
tabEntries: a.tabEntries,
|
|
@@ -24193,13 +24151,12 @@ function w9(e, t, n, r, o, a) {
|
|
|
24193
24151
|
showVisibilityFilter: n.showVisibilityFilter,
|
|
24194
24152
|
onSearchChanged: (h) => a.searchChanged(d.id, h),
|
|
24195
24153
|
onHoverChanged: (h) => a.hoverChanged(d.id, h),
|
|
24196
|
-
onConnectivityExplorerReset: a.onConnectivityExplorerReset,
|
|
24197
24154
|
onShowConnectivity: a.showConnectivity,
|
|
24198
24155
|
onShowReferenceConnectivities: a.onShowReferenceConnectivities,
|
|
24199
24156
|
onConnectivityHovered: a.onConnectivityHovered,
|
|
24200
24157
|
onConnectivityCollapseChange: a.onConnectivityCollapseChange,
|
|
24201
24158
|
onConnectivityItemClose: a.onConnectivityItemClose
|
|
24202
|
-
}, null, 8, ["connectivityKnowledge", "envVars", "connectivityEntry", "availableAnatomyFacets", "connectivityFilterOptions", "showVisibilityFilter", "onSearchChanged", "onHoverChanged", "
|
|
24159
|
+
}, null, 8, ["connectivityKnowledge", "envVars", "connectivityEntry", "availableAnatomyFacets", "connectivityFilterOptions", "showVisibilityFilter", "onSearchChanged", "onHoverChanged", "onShowConnectivity", "onShowReferenceConnectivities", "onConnectivityHovered", "onConnectivityCollapseChange", "onConnectivityItemClose"])), [
|
|
24203
24160
|
[Ct, d.id === e.activeTabId]
|
|
24204
24161
|
]) : Oe((C(), Y(g, {
|
|
24205
24162
|
key: 2,
|
|
@@ -24221,7 +24178,7 @@ function w9(e, t, n, r, o, a) {
|
|
|
24221
24178
|
}, 8, ["modelValue"])
|
|
24222
24179
|
], 512);
|
|
24223
24180
|
}
|
|
24224
|
-
const
|
|
24181
|
+
const b9 = /* @__PURE__ */ Rn(d9, [["render", v9], ["__scopeId", "data-v-f21fee97"]]);
|
|
24225
24182
|
export {
|
|
24226
|
-
|
|
24183
|
+
b9 as SideBar
|
|
24227
24184
|
};
|