@abi-software/flatmapvuer 1.5.6 → 1.6.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/flatmapvuer.js +221 -197
- package/dist/flatmapvuer.umd.cjs +64 -64
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/App.vue +11 -4
- package/src/components/FlatmapVuer.vue +33 -14
- package/src/components/MultiFlatmapVuer.vue +16 -0
- package/src/components/SelectionsGroup.vue +1 -0
package/dist/flatmapvuer.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getCurrentScope as YB, onScopeDispose as nM, unref as _t, getCurrentInstance as G1, onMounted as
|
|
1
|
+
import { getCurrentScope as YB, onScopeDispose as nM, unref as _t, getCurrentInstance as G1, onMounted as Z1, nextTick as i1, ref as ke, readonly as JB, watch as on, defineComponent as mr, openBlock as oe, createElementBlock as Ye, createElementVNode as We, warn as mtt, watchEffect as tj, onBeforeUnmount as Ps, inject as ln, computed as Xt, isRef as m2, shallowRef as Zf, onBeforeMount as gtt, provide as $1, mergeProps as N5, renderSlot as Pr, toRef as W2, onUnmounted as ytt, createBlock as Hr, Transition as Ch, withCtx as Te, withDirectives as pi, normalizeClass as Be, normalizeStyle as M1, vShow as Bo, Fragment as to, createVNode as Ce, reactive as a3, onActivated as _tt, onUpdated as vtt, resolveDynamicComponent as Es, createCommentVNode as Dr, cloneVNode as btt, Text as ej, Comment as Ltt, Teleport as wtt, onDeactivated as xtt, toDisplayString as Ti, useSlots as Mm, toRaw as nh, withModifiers as m1, vModelCheckbox as Wf, createTextVNode as xn, toRefs as W6, vModelRadio as rj, h as i7, createSlots as nj, resolveComponent as bs, resolveDirective as Ett, toHandlerKey as Mtt, renderList as Ka, withKeys as Ic, vModelText as Stt, createApp as Htt, pushScopeId as iM, popScopeId as oM, createStaticVNode as Att, hasInjectionContext as Ott, markRaw as Ls, effectScope as Ctt, isReactive as sM } from "vue";
|
|
2
2
|
import { MapSvgIcon as Itt, MapSvgSpriteColor as ktt } from "@abi-software/svg-sprite";
|
|
3
3
|
import { Tooltip as Ptt, TreeControls as Vtt, DrawToolbar as Rtt } from "@abi-software/map-utilities";
|
|
4
4
|
const J3 = (t, e, { checkForDefaultPrevented: r = !0 } = {}) => (i) => {
|
|
@@ -19,7 +19,7 @@ function Ih(t) {
|
|
|
19
19
|
return YB() ? (nM(t), !0) : !1;
|
|
20
20
|
}
|
|
21
21
|
function Ftt(t, e = !0) {
|
|
22
|
-
G1() ?
|
|
22
|
+
G1() ? Z1(t) : e ? t() : i1(t);
|
|
23
23
|
}
|
|
24
24
|
function fC(t, e, r = {}) {
|
|
25
25
|
const {
|
|
@@ -1117,7 +1117,7 @@ function Yit(t, e) {
|
|
|
1117
1117
|
var Lj = Vnt(function(t, e) {
|
|
1118
1118
|
return t == null ? {} : Yit(t, e);
|
|
1119
1119
|
});
|
|
1120
|
-
const R6 = (t) => t === void 0, m4 = (t) => typeof t == "boolean",
|
|
1120
|
+
const R6 = (t) => t === void 0, m4 = (t) => typeof t == "boolean", ro = (t) => typeof t == "number", T5 = (t) => typeof Element > "u" ? !1 : t instanceof Element, sh = (t) => km(t), Jit = (t) => ia(t) ? !Number.isNaN(Number(t)) : !1, t1t = (t = "") => t.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"), XC = (t) => Object.keys(t);
|
|
1121
1121
|
class wj extends Error {
|
|
1122
1122
|
constructor(e) {
|
|
1123
1123
|
super(e), this.name = "ElementPlusError";
|
|
@@ -1161,7 +1161,7 @@ const e1t = "utils/dom/style", Ej = (t = "") => t.split(" ").filter((e) => !!e.t
|
|
|
1161
1161
|
function x5(t, e = "px") {
|
|
1162
1162
|
if (!t)
|
|
1163
1163
|
return "";
|
|
1164
|
-
if (
|
|
1164
|
+
if (ro(t) || Jit(t))
|
|
1165
1165
|
return `${t}${e}`;
|
|
1166
1166
|
if (ia(t))
|
|
1167
1167
|
return t;
|
|
@@ -1415,7 +1415,7 @@ For more detail, please visit: ${i}
|
|
|
1415
1415
|
offsetY: 0
|
|
1416
1416
|
}, t.value && (t.value.style.transform = "none");
|
|
1417
1417
|
};
|
|
1418
|
-
return
|
|
1418
|
+
return Z1(() => {
|
|
1419
1419
|
tj(() => {
|
|
1420
1420
|
r.value ? s() : a();
|
|
1421
1421
|
});
|
|
@@ -1715,7 +1715,7 @@ const v1t = (t) => (e, r) => b1t(e, r, _t(t)), b1t = (t, e, r) => i4(r, t, t).re
|
|
|
1715
1715
|
...Q.proxy.$route
|
|
1716
1716
|
}), () => {
|
|
1717
1717
|
u.value && s.value && R();
|
|
1718
|
-
}),
|
|
1718
|
+
}), Z1(() => {
|
|
1719
1719
|
F(v[t]);
|
|
1720
1720
|
}), {
|
|
1721
1721
|
hide: R,
|
|
@@ -2381,7 +2381,7 @@ const lI = (t) => {
|
|
|
2381
2381
|
const e = t;
|
|
2382
2382
|
e.key === lh.esc && s7.forEach((r) => r(e));
|
|
2383
2383
|
}, kot = (t) => {
|
|
2384
|
-
|
|
2384
|
+
Z1(() => {
|
|
2385
2385
|
s7.length === 0 && document.addEventListener("keydown", lI), s1 && s7.push(t);
|
|
2386
2386
|
}), Ps(() => {
|
|
2387
2387
|
s7 = s7.filter((e) => e !== t), s7.length === 0 && s1 && document.removeEventListener("keydown", lI);
|
|
@@ -2434,7 +2434,7 @@ const Xj = () => {
|
|
|
2434
2434
|
o(() => {
|
|
2435
2435
|
n(T);
|
|
2436
2436
|
const f = _t(r);
|
|
2437
|
-
|
|
2437
|
+
ro(f) && f > 0 && s(() => {
|
|
2438
2438
|
i(T);
|
|
2439
2439
|
}, f);
|
|
2440
2440
|
}, _t(t));
|
|
@@ -2446,7 +2446,7 @@ const Xj = () => {
|
|
|
2446
2446
|
}
|
|
2447
2447
|
};
|
|
2448
2448
|
}, Kj = Symbol("elForwardRef"), Dot = (t) => {
|
|
2449
|
-
|
|
2449
|
+
$1(Kj, {
|
|
2450
2450
|
setForwardRef: (r) => {
|
|
2451
2451
|
t.value = r;
|
|
2452
2452
|
}
|
|
@@ -2466,7 +2466,7 @@ const Xj = () => {
|
|
|
2466
2466
|
}, hI = ke(0), Yj = 2e3, dI = Symbol("elZIndexContextKey"), Jj = Symbol("zIndexContextKey"), MM = (t) => {
|
|
2467
2467
|
const e = G1() ? ln(dI, uI) : uI, r = t || (G1() ? ln(Jj, void 0) : void 0), n = Xt(() => {
|
|
2468
2468
|
const s = _t(r);
|
|
2469
|
-
return
|
|
2469
|
+
return ro(s) ? s : Yj;
|
|
2470
2470
|
}), i = Xt(() => n.value + hI.value), o = () => (e.current++, hI.value = e.current, i.value);
|
|
2471
2471
|
return !s1 && !ln(dI) && g2("ZIndexInjection", `Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
|
|
2472
2472
|
usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`), {
|
|
@@ -2499,7 +2499,7 @@ function jot(t, {
|
|
|
2499
2499
|
};
|
|
2500
2500
|
return on(a, (Q) => {
|
|
2501
2501
|
Q && Q.setAttribute("tabindex", "-1");
|
|
2502
|
-
}), Js(a, "focus", d, !0), Js(a, "blur", T, !0), Js(a, "click", f, !0), process.env.NODE_ENV === "test" &&
|
|
2502
|
+
}), Js(a, "focus", d, !0), Js(a, "blur", T, !0), Js(a, "click", f, !0), process.env.NODE_ENV === "test" && Z1(() => {
|
|
2503
2503
|
const Q = T5(t.value) ? t.value : document.querySelector("input,textarea");
|
|
2504
2504
|
Q && (Js(Q, "focus", d, !0), Js(Q, "blur", T, !0));
|
|
2505
2505
|
}), {
|
|
@@ -2585,7 +2585,7 @@ function Xot(t, e) {
|
|
|
2585
2585
|
}
|
|
2586
2586
|
const Kot = (t, e, r = !1) => {
|
|
2587
2587
|
var n;
|
|
2588
|
-
const i = !!G1(), o = i ? Nm() : void 0, s = (n = void 0) != null ? n : i ?
|
|
2588
|
+
const i = !!G1(), o = i ? Nm() : void 0, s = (n = void 0) != null ? n : i ? $1 : void 0;
|
|
2589
2589
|
if (!s) {
|
|
2590
2590
|
g2("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
|
|
2591
2591
|
return;
|
|
@@ -2666,7 +2666,7 @@ const u3 = y2(r2t), SM = Symbol("formContextKey"), tQ = Symbol("formItemContextK
|
|
|
2666
2666
|
var a;
|
|
2667
2667
|
return !!(!(t.label || t.ariaLabel) && e && e.inputIds && ((a = e.inputIds) == null ? void 0 : a.length) <= 1);
|
|
2668
2668
|
});
|
|
2669
|
-
return
|
|
2669
|
+
return Z1(() => {
|
|
2670
2670
|
o = on([W2(t, "id"), r], ([a, u]) => {
|
|
2671
2671
|
const d = a ?? (u ? void 0 : E5().value);
|
|
2672
2672
|
d !== i.value && (e != null && e.removeInputId && (i.value && e.removeInputId(i.value), !(n != null && n.value) && !u && d && e.addInputId(d)), i.value = d);
|
|
@@ -2816,7 +2816,7 @@ const l2t = Sn({
|
|
|
2816
2816
|
const y = Q.offsetHeight - Cl, v = Q.offsetWidth - Cl, L = y ** 2 / Q.scrollHeight, E = v ** 2 / Q.scrollWidth, x = Math.max(L, r.minSize), O = Math.max(E, r.minSize);
|
|
2817
2817
|
u.value = L / (y - L) / (x / (y - x)), d.value = E / (v - E) / (O / (v - O)), a.value = x + Cl < y ? `${x}px` : "", s.value = O + Cl < v ? `${O}px` : "";
|
|
2818
2818
|
}
|
|
2819
|
-
}), (Q, y) => (oe(), Ye(
|
|
2819
|
+
}), (Q, y) => (oe(), Ye(to, null, [
|
|
2820
2820
|
Ce(pI, {
|
|
2821
2821
|
move: i.value,
|
|
2822
2822
|
ratio: d.value,
|
|
@@ -2884,7 +2884,7 @@ const h2t = Sn({
|
|
|
2884
2884
|
scroll: ({
|
|
2885
2885
|
scrollTop: t,
|
|
2886
2886
|
scrollLeft: e
|
|
2887
|
-
}) => [t, e].every(
|
|
2887
|
+
}) => [t, e].every(ro)
|
|
2888
2888
|
}, Mw = "ElScrollbar", p2t = mr({
|
|
2889
2889
|
name: Mw
|
|
2890
2890
|
}), T2t = /* @__PURE__ */ mr({
|
|
@@ -2909,16 +2909,16 @@ const h2t = Sn({
|
|
|
2909
2909
|
}));
|
|
2910
2910
|
};
|
|
2911
2911
|
function x(F, U) {
|
|
2912
|
-
p2(F) ? T.value.scrollTo(F) :
|
|
2912
|
+
p2(F) ? T.value.scrollTo(F) : ro(F) && ro(U) && T.value.scrollTo(F, U);
|
|
2913
2913
|
}
|
|
2914
2914
|
const O = (F) => {
|
|
2915
|
-
if (!
|
|
2915
|
+
if (!ro(F)) {
|
|
2916
2916
|
g2(Mw, "value must be a number");
|
|
2917
2917
|
return;
|
|
2918
2918
|
}
|
|
2919
2919
|
T.value.scrollTop = F;
|
|
2920
2920
|
}, I = (F) => {
|
|
2921
|
-
if (!
|
|
2921
|
+
if (!ro(F)) {
|
|
2922
2922
|
g2(Mw, "value must be a number");
|
|
2923
2923
|
return;
|
|
2924
2924
|
}
|
|
@@ -2934,12 +2934,12 @@ const h2t = Sn({
|
|
|
2934
2934
|
var F;
|
|
2935
2935
|
R(), T.value && ((F = Q.value) == null || F.handleScroll(T.value));
|
|
2936
2936
|
});
|
|
2937
|
-
}),
|
|
2937
|
+
}), $1(HM, a3({
|
|
2938
2938
|
scrollbarElement: d,
|
|
2939
2939
|
wrapElement: T
|
|
2940
2940
|
})), _tt(() => {
|
|
2941
2941
|
T.value && (T.value.scrollTop = a, T.value.scrollLeft = u);
|
|
2942
|
-
}),
|
|
2942
|
+
}), Z1(() => {
|
|
2943
2943
|
n.native || i1(() => {
|
|
2944
2944
|
R();
|
|
2945
2945
|
});
|
|
@@ -3019,7 +3019,7 @@ const Q2t = y2(f2t), AM = Symbol("popper"), nz = Symbol("popperContent"), m2t =
|
|
|
3019
3019
|
referenceRef: s,
|
|
3020
3020
|
role: a
|
|
3021
3021
|
};
|
|
3022
|
-
return e(u),
|
|
3022
|
+
return e(u), $1(AM, u), (d, T) => Pr(d.$slots, "default");
|
|
3023
3023
|
}
|
|
3024
3024
|
});
|
|
3025
3025
|
var _2t = /* @__PURE__ */ Hn(y2t, [["__file", "popper.vue"]]);
|
|
@@ -3084,7 +3084,7 @@ function sz(t) {
|
|
|
3084
3084
|
case ej:
|
|
3085
3085
|
case "svg":
|
|
3086
3086
|
return TI(r);
|
|
3087
|
-
case
|
|
3087
|
+
case to:
|
|
3088
3088
|
return sz(r.children);
|
|
3089
3089
|
default:
|
|
3090
3090
|
return r;
|
|
@@ -3153,7 +3153,7 @@ const az = Sn({
|
|
|
3153
3153
|
"onBlur",
|
|
3154
3154
|
"onContextmenu"
|
|
3155
3155
|
];
|
|
3156
|
-
return
|
|
3156
|
+
return Z1(() => {
|
|
3157
3157
|
on(() => r.virtualRef, (f) => {
|
|
3158
3158
|
f && (i.value = o4(f));
|
|
3159
3159
|
}, {
|
|
@@ -3274,7 +3274,7 @@ const I2t = () => {
|
|
|
3274
3274
|
OM.value = "pointer", Bm.value = window.performance.now();
|
|
3275
3275
|
}, vI = () => {
|
|
3276
3276
|
OM.value = "keyboard", Bm.value = window.performance.now();
|
|
3277
|
-
}, V2t = () => (
|
|
3277
|
+
}, V2t = () => (Z1(() => {
|
|
3278
3278
|
yp === 0 && (document.addEventListener("mousedown", _p), document.addEventListener("touchstart", _p), document.addEventListener("keydown", vI)), yp++;
|
|
3279
3279
|
}), Ps(() => {
|
|
3280
3280
|
yp--, yp <= 0 && (document.removeEventListener("mousedown", _p), document.removeEventListener("touchstart", _p), document.removeEventListener("keydown", vI));
|
|
@@ -3346,7 +3346,7 @@ const I2t = () => {
|
|
|
3346
3346
|
}
|
|
3347
3347
|
}
|
|
3348
3348
|
};
|
|
3349
|
-
|
|
3349
|
+
$1(lz, {
|
|
3350
3350
|
focusTrapRef: r,
|
|
3351
3351
|
onKeydown: a
|
|
3352
3352
|
}), on(() => t.focusTrapEl, (v) => {
|
|
@@ -3408,7 +3408,7 @@ const I2t = () => {
|
|
|
3408
3408
|
v.addEventListener(Ov, d), v.dispatchEvent(L), !L.defaultPrevented && (o.value == "keyboard" || !P2t() || v.contains(document.activeElement)) && g6(n ?? document.body), v.removeEventListener(Ov, d), _I.remove(s);
|
|
3409
3409
|
}
|
|
3410
3410
|
}
|
|
3411
|
-
return
|
|
3411
|
+
return Z1(() => {
|
|
3412
3412
|
t.trapped && Q(), on(() => t.trapped, (v) => {
|
|
3413
3413
|
v ? Q() : y();
|
|
3414
3414
|
});
|
|
@@ -3580,7 +3580,7 @@ const $2t = 0, Z2t = (t) => {
|
|
|
3580
3580
|
_t(a)
|
|
3581
3581
|
])
|
|
3582
3582
|
})), T = Xt(() => z2t(t.referenceEl) || _t(n)), { attributes: f, state: Q, styles: y, update: v, forceUpdate: L, instanceRef: E } = Oot(T, r, d);
|
|
3583
|
-
return on(E, (x) => e.value = x),
|
|
3583
|
+
return on(E, (x) => e.value = x), Z1(() => {
|
|
3584
3584
|
on(() => {
|
|
3585
3585
|
var x;
|
|
3586
3586
|
return (x = _t(T)) == null ? void 0 : x.getBoundingClientRect();
|
|
@@ -3603,7 +3603,7 @@ const $2t = 0, Z2t = (t) => {
|
|
|
3603
3603
|
styles: r,
|
|
3604
3604
|
role: n
|
|
3605
3605
|
}) => {
|
|
3606
|
-
const { nextZIndex: i } = MM(), o = Bn("popper"), s = Xt(() => _t(e).popper), a = ke(
|
|
3606
|
+
const { nextZIndex: i } = MM(), o = Bn("popper"), s = Xt(() => _t(e).popper), a = ke(ro(t.zIndex) ? t.zIndex : i()), u = Xt(() => [
|
|
3607
3607
|
o.b(),
|
|
3608
3608
|
o.is("pure", t.pure),
|
|
3609
3609
|
o.is(t.effect),
|
|
@@ -3621,7 +3621,7 @@ const $2t = 0, Z2t = (t) => {
|
|
|
3621
3621
|
contentStyle: d,
|
|
3622
3622
|
contentZIndex: a,
|
|
3623
3623
|
updateZIndex: () => {
|
|
3624
|
-
a.value =
|
|
3624
|
+
a.value = ro(t.zIndex) ? t.zIndex : i();
|
|
3625
3625
|
}
|
|
3626
3626
|
};
|
|
3627
3627
|
}, q2t = (t, e) => {
|
|
@@ -3673,11 +3673,11 @@ const $2t = 0, Z2t = (t) => {
|
|
|
3673
3673
|
attributes: f,
|
|
3674
3674
|
role: E
|
|
3675
3675
|
}), tt = ln(tQ, void 0), rt = ke();
|
|
3676
|
-
|
|
3676
|
+
$1(nz, {
|
|
3677
3677
|
arrowStyle: I,
|
|
3678
3678
|
arrowRef: Q,
|
|
3679
3679
|
arrowOffset: rt
|
|
3680
|
-
}), tt &&
|
|
3680
|
+
}), tt && $1(tQ, {
|
|
3681
3681
|
...tt,
|
|
3682
3682
|
addInputId: p5,
|
|
3683
3683
|
removeInputId: p5
|
|
@@ -3688,7 +3688,7 @@ const $2t = 0, Z2t = (t) => {
|
|
|
3688
3688
|
}, gt = () => {
|
|
3689
3689
|
et(!1), n.visible && n.focusOnShow ? o.value = !0 : n.visible === !1 && (o.value = !1);
|
|
3690
3690
|
};
|
|
3691
|
-
return
|
|
3691
|
+
return Z1(() => {
|
|
3692
3692
|
on(() => n.triggerTargetEl, (kt, Zt) => {
|
|
3693
3693
|
ct == null || ct(), ct = void 0;
|
|
3694
3694
|
const ie = _t(kt || y.value), ee = _t(Zt || y.value);
|
|
@@ -3998,7 +3998,7 @@ const fst = mr({
|
|
|
3998
3998
|
open: T,
|
|
3999
3999
|
close: f
|
|
4000
4000
|
}), L = Xt(() => m4(n.visible) && !Q.value);
|
|
4001
|
-
|
|
4001
|
+
$1(IM, {
|
|
4002
4002
|
controlled: L,
|
|
4003
4003
|
id: i,
|
|
4004
4004
|
open: JB(u),
|
|
@@ -4202,7 +4202,7 @@ const pz = y2(mst), Tz = Symbol("buttonGroupContextKey"), gst = (t, e) => {
|
|
|
4202
4202
|
}), vst = {
|
|
4203
4203
|
click: (t) => t instanceof MouseEvent
|
|
4204
4204
|
};
|
|
4205
|
-
function
|
|
4205
|
+
function no(t, e) {
|
|
4206
4206
|
bst(t) && (t = "100%");
|
|
4207
4207
|
var r = Lst(t);
|
|
4208
4208
|
return t = e === 360 ? t : Math.min(e, Math.max(0, parseFloat(t))), r && (t = parseInt(String(t * e), 10) / 100), Math.abs(t - e) < 1e-6 ? 1 : (e === 360 ? t = (t < 0 ? t % e + e : t % e) / parseFloat(String(e)) : t = t % e / parseFloat(String(e)), t);
|
|
@@ -4227,13 +4227,13 @@ function a5(t) {
|
|
|
4227
4227
|
}
|
|
4228
4228
|
function wst(t, e, r) {
|
|
4229
4229
|
return {
|
|
4230
|
-
r:
|
|
4231
|
-
g:
|
|
4232
|
-
b:
|
|
4230
|
+
r: no(t, 255) * 255,
|
|
4231
|
+
g: no(e, 255) * 255,
|
|
4232
|
+
b: no(r, 255) * 255
|
|
4233
4233
|
};
|
|
4234
4234
|
}
|
|
4235
4235
|
function bI(t, e, r) {
|
|
4236
|
-
t =
|
|
4236
|
+
t = no(t, 255), e = no(e, 255), r = no(r, 255);
|
|
4237
4237
|
var n = Math.max(t, e, r), i = Math.min(t, e, r), o = 0, s = 0, a = (n + i) / 2;
|
|
4238
4238
|
if (n === i)
|
|
4239
4239
|
s = 0, o = 0;
|
|
@@ -4259,7 +4259,7 @@ function Cv(t, e, r) {
|
|
|
4259
4259
|
}
|
|
4260
4260
|
function xst(t, e, r) {
|
|
4261
4261
|
var n, i, o;
|
|
4262
|
-
if (t =
|
|
4262
|
+
if (t = no(t, 360), e = no(e, 100), r = no(r, 100), e === 0)
|
|
4263
4263
|
i = r, o = r, n = r;
|
|
4264
4264
|
else {
|
|
4265
4265
|
var s = r < 0.5 ? r * (1 + e) : r + e - r * e, a = 2 * r - s;
|
|
@@ -4268,7 +4268,7 @@ function xst(t, e, r) {
|
|
|
4268
4268
|
return { r: n * 255, g: i * 255, b: o * 255 };
|
|
4269
4269
|
}
|
|
4270
4270
|
function LI(t, e, r) {
|
|
4271
|
-
t =
|
|
4271
|
+
t = no(t, 255), e = no(e, 255), r = no(r, 255);
|
|
4272
4272
|
var n = Math.max(t, e, r), i = Math.min(t, e, r), o = 0, s = n, a = n - i, u = n === 0 ? 0 : a / n;
|
|
4273
4273
|
if (n === i)
|
|
4274
4274
|
o = 0;
|
|
@@ -4289,7 +4289,7 @@ function LI(t, e, r) {
|
|
|
4289
4289
|
return { h: o, s: u, v: s };
|
|
4290
4290
|
}
|
|
4291
4291
|
function Est(t, e, r) {
|
|
4292
|
-
t =
|
|
4292
|
+
t = no(t, 360) * 6, e = no(e, 100), r = no(r, 100);
|
|
4293
4293
|
var n = Math.floor(t), i = t - n, o = r * (1 - e), s = r * (1 - i * e), a = r * (1 - (1 - i) * e), u = n % 6, d = [r, s, o, o, a, r][u], T = [a, r, r, s, o, o][u], f = [o, o, a, r, r, s][u];
|
|
4294
4294
|
return { r: d * 255, g: T * 255, b: f * 255 };
|
|
4295
4295
|
}
|
|
@@ -4599,7 +4599,7 @@ var kst = (
|
|
|
4599
4599
|
return this.a === 1 ? "rgb(".concat(e, ", ").concat(r, ", ").concat(n, ")") : "rgba(".concat(e, ", ").concat(r, ", ").concat(n, ", ").concat(this.roundA, ")");
|
|
4600
4600
|
}, t.prototype.toPercentageRgb = function() {
|
|
4601
4601
|
var e = function(r) {
|
|
4602
|
-
return "".concat(Math.round(
|
|
4602
|
+
return "".concat(Math.round(no(r, 255) * 100), "%");
|
|
4603
4603
|
};
|
|
4604
4604
|
return {
|
|
4605
4605
|
r: e(this.r),
|
|
@@ -4609,7 +4609,7 @@ var kst = (
|
|
|
4609
4609
|
};
|
|
4610
4610
|
}, t.prototype.toPercentageRgbString = function() {
|
|
4611
4611
|
var e = function(r) {
|
|
4612
|
-
return Math.round(
|
|
4612
|
+
return Math.round(no(r, 255) * 100);
|
|
4613
4613
|
};
|
|
4614
4614
|
return this.a === 1 ? "rgb(".concat(e(this.r), "%, ").concat(e(this.g), "%, ").concat(e(this.b), "%)") : "rgba(".concat(e(this.r), "%, ").concat(e(this.g), "%, ").concat(e(this.b), "%, ").concat(this.roundA, ")");
|
|
4615
4615
|
}, t.prototype.toName = function() {
|
|
@@ -4790,7 +4790,7 @@ const Vst = mr({
|
|
|
4790
4790
|
onClick: _t(Q)
|
|
4791
4791
|
}), {
|
|
4792
4792
|
default: Te(() => [
|
|
4793
|
-
v.loading ? (oe(), Ye(
|
|
4793
|
+
v.loading ? (oe(), Ye(to, { key: 0 }, [
|
|
4794
4794
|
v.$slots.loading ? Pr(v.$slots, "loading", { key: 0 }) : (oe(), Hr(_t(u3), {
|
|
4795
4795
|
key: 1,
|
|
4796
4796
|
class: Be(_t(o).is("loading"))
|
|
@@ -4828,7 +4828,7 @@ const Dst = {
|
|
|
4828
4828
|
props: Dst,
|
|
4829
4829
|
setup(t) {
|
|
4830
4830
|
const e = t;
|
|
4831
|
-
|
|
4831
|
+
$1(Tz, a3({
|
|
4832
4832
|
size: W2(e, "size"),
|
|
4833
4833
|
type: W2(e, "type")
|
|
4834
4834
|
}));
|
|
@@ -4935,8 +4935,8 @@ const Ust = {
|
|
|
4935
4935
|
},
|
|
4936
4936
|
...j5(["ariaControls"])
|
|
4937
4937
|
}, yz = {
|
|
4938
|
-
[Go]: (t) => ia(t) ||
|
|
4939
|
-
change: (t) => ia(t) ||
|
|
4938
|
+
[Go]: (t) => ia(t) || ro(t) || m4(t),
|
|
4939
|
+
change: (t) => ia(t) || ro(t) || m4(t)
|
|
4940
4940
|
}, M8 = Symbol("checkboxGroupContextKey"), Gst = ({
|
|
4941
4941
|
model: t,
|
|
4942
4942
|
isChecked: e
|
|
@@ -5165,7 +5165,7 @@ const Ust = {
|
|
|
5165
5165
|
class: Be(_t(v).e("label"))
|
|
5166
5166
|
}, [
|
|
5167
5167
|
Pr(x.$slots, "default"),
|
|
5168
|
-
x.$slots.default ? Dr("v-if", !0) : (oe(), Ye(
|
|
5168
|
+
x.$slots.default ? Dr("v-if", !0) : (oe(), Ye(to, { key: 0 }, [
|
|
5169
5169
|
xn(Ti(x.label), 1)
|
|
5170
5170
|
], 64))
|
|
5171
5171
|
], 2)) : Dr("v-if", !0)
|
|
@@ -5302,7 +5302,7 @@ const tat = Sn({
|
|
|
5302
5302
|
a(d);
|
|
5303
5303
|
}
|
|
5304
5304
|
});
|
|
5305
|
-
return
|
|
5305
|
+
return $1(M8, {
|
|
5306
5306
|
...Lj(W6(r), [
|
|
5307
5307
|
"size",
|
|
5308
5308
|
"min",
|
|
@@ -5362,8 +5362,8 @@ const wz = B5(bz), xz = Sn({
|
|
|
5362
5362
|
...xz,
|
|
5363
5363
|
border: Boolean
|
|
5364
5364
|
}), Ez = {
|
|
5365
|
-
[Go]: (t) => ia(t) ||
|
|
5366
|
-
[QM]: (t) => ia(t) ||
|
|
5365
|
+
[Go]: (t) => ia(t) || ro(t) || m4(t),
|
|
5366
|
+
[QM]: (t) => ia(t) || ro(t) || m4(t)
|
|
5367
5367
|
}, Mz = Symbol("radioGroupKey"), Sz = (t, e) => {
|
|
5368
5368
|
const r = ke(), n = ln(Mz, void 0), i = Xt(() => !!n), o = Xt(() => sh(t.value) ? t.label : t.value), s = Xt({
|
|
5369
5369
|
get() {
|
|
@@ -5552,12 +5552,12 @@ const hat = Sn({
|
|
|
5552
5552
|
}), d = (f) => {
|
|
5553
5553
|
e(Go, f), i1(() => e("change", f));
|
|
5554
5554
|
};
|
|
5555
|
-
|
|
5555
|
+
Z1(() => {
|
|
5556
5556
|
const f = o.value.querySelectorAll("[type=radio]"), Q = f[0];
|
|
5557
5557
|
!Array.from(f).some((y) => y.checked) && Q && (Q.tabIndex = 0);
|
|
5558
5558
|
});
|
|
5559
5559
|
const T = Xt(() => r.name || i.value);
|
|
5560
|
-
return
|
|
5560
|
+
return $1(Mz, a3({
|
|
5561
5561
|
...W6(r),
|
|
5562
5562
|
changeEvent: d,
|
|
5563
5563
|
name: T
|
|
@@ -5717,7 +5717,7 @@ const yat = y2(gat), Iz = Symbol("rowContextKey"), _at = [
|
|
|
5717
5717
|
props: bat,
|
|
5718
5718
|
setup(t) {
|
|
5719
5719
|
const e = t, r = Bn("row"), n = Xt(() => e.gutter);
|
|
5720
|
-
|
|
5720
|
+
$1(Iz, {
|
|
5721
5721
|
gutter: n
|
|
5722
5722
|
});
|
|
5723
5723
|
const i = Xt(() => {
|
|
@@ -5794,9 +5794,9 @@ const Rh = y2(xat), Eat = Sn({
|
|
|
5794
5794
|
const s = [];
|
|
5795
5795
|
return ["span", "offset", "pull", "push"].forEach((d) => {
|
|
5796
5796
|
const T = e[d];
|
|
5797
|
-
|
|
5797
|
+
ro(T) && (d === "span" ? s.push(n.b(`${e[d]}`)) : T > 0 && s.push(n.b(`${d}-${e[d]}`)));
|
|
5798
5798
|
}), ["xs", "sm", "md", "lg", "xl"].forEach((d) => {
|
|
5799
|
-
|
|
5799
|
+
ro(e[d]) ? s.push(n.b(`${d}-${e[d]}`)) : p2(e[d]) && Object.entries(e[d]).forEach(([T, f]) => {
|
|
5800
5800
|
s.push(T !== "span" ? n.b(`${d}-${T}-${f}`) : n.b(`${d}-${f}`));
|
|
5801
5801
|
});
|
|
5802
5802
|
}), r.value && s.push(n.is("guttered")), [n.b(), s];
|
|
@@ -6068,7 +6068,7 @@ const Dat = Sn({
|
|
|
6068
6068
|
})) : d.value && U();
|
|
6069
6069
|
}), on(() => t.fullscreen, (ie) => {
|
|
6070
6070
|
e.value && (ie ? (s = e.value.style.transform, e.value.style.transform = "") : e.value.style.transform = s);
|
|
6071
|
-
}),
|
|
6071
|
+
}), Z1(() => {
|
|
6072
6072
|
t.modelValue && (d.value = !0, f.value = !0, F());
|
|
6073
6073
|
}), {
|
|
6074
6074
|
afterEnter: O,
|
|
@@ -6125,7 +6125,7 @@ const Dat = Sn({
|
|
|
6125
6125
|
onCloseRequested: U,
|
|
6126
6126
|
onFocusoutPrevented: $
|
|
6127
6127
|
} = Bat(r, o);
|
|
6128
|
-
|
|
6128
|
+
$1(kz, {
|
|
6129
6129
|
dialogRef: o,
|
|
6130
6130
|
headerRef: s,
|
|
6131
6131
|
bodyId: T,
|
|
@@ -6258,7 +6258,7 @@ const Yat = "data-el-collection-item", Jat = (t) => {
|
|
|
6258
6258
|
name: e,
|
|
6259
6259
|
setup() {
|
|
6260
6260
|
const a = ke(null), u = /* @__PURE__ */ new Map();
|
|
6261
|
-
|
|
6261
|
+
$1(n, {
|
|
6262
6262
|
itemMap: u,
|
|
6263
6263
|
getItems: () => {
|
|
6264
6264
|
const T = _t(a);
|
|
@@ -6275,9 +6275,9 @@ const Yat = "data-el-collection-item", Jat = (t) => {
|
|
|
6275
6275
|
name: r,
|
|
6276
6276
|
setup(a, { attrs: u }) {
|
|
6277
6277
|
const d = ke(null), T = ln(n, void 0);
|
|
6278
|
-
|
|
6278
|
+
$1(i, {
|
|
6279
6279
|
collectionItemRef: d
|
|
6280
|
-
}),
|
|
6280
|
+
}), Z1(() => {
|
|
6281
6281
|
const f = _t(d);
|
|
6282
6282
|
f && T.itemMap.set(f, {
|
|
6283
6283
|
ref: f,
|
|
@@ -6498,7 +6498,7 @@ const n3t = mr({
|
|
|
6498
6498
|
var a;
|
|
6499
6499
|
o.value = `${(a = t.selectRef) == null ? void 0 : a.offsetWidth}px`;
|
|
6500
6500
|
}
|
|
6501
|
-
return
|
|
6501
|
+
return Z1(() => {
|
|
6502
6502
|
s(), M6(t.selectRef, s);
|
|
6503
6503
|
}), {
|
|
6504
6504
|
ns: e,
|
|
@@ -6617,7 +6617,7 @@ const s3t = 11, a3t = (t, e) => {
|
|
|
6617
6617
|
}, {
|
|
6618
6618
|
flush: "post"
|
|
6619
6619
|
}), on(() => s.hoveringIndex, (Rt) => {
|
|
6620
|
-
|
|
6620
|
+
ro(Rt) && Rt > -1 ? ct.value = Ne.value[Rt] || {} : ct.value = {}, Ne.value.forEach((pe) => {
|
|
6621
6621
|
pe.hover = ct.value === pe;
|
|
6622
6622
|
});
|
|
6623
6623
|
}), tj(() => {
|
|
@@ -6785,7 +6785,7 @@ const s3t = 11, a3t = (t, e) => {
|
|
|
6785
6785
|
}), Le = Xt(() => ({ maxWidth: `${s.selectionWidth}px` })), or = Xt(() => ({
|
|
6786
6786
|
width: `${Math.max(s.calculatorWidth, s3t)}px`
|
|
6787
6787
|
}));
|
|
6788
|
-
return M6(u, dn), M6(Q, ji), M6(L, Ii), M6($, Ii), M6(E, vi), M6(x, Ji),
|
|
6788
|
+
return M6(u, dn), M6(Q, ji), M6(L, Ii), M6($, Ii), M6(E, vi), M6(x, Ji), Z1(() => {
|
|
6789
6789
|
Jr();
|
|
6790
6790
|
}), {
|
|
6791
6791
|
inputId: kt,
|
|
@@ -7003,7 +7003,7 @@ const c3t = Sn({
|
|
|
7003
7003
|
...W6(t),
|
|
7004
7004
|
modelValue: r
|
|
7005
7005
|
}), i = a3t(n, e);
|
|
7006
|
-
return
|
|
7006
|
+
return $1(jm, a3({
|
|
7007
7007
|
props: n,
|
|
7008
7008
|
states: i.states,
|
|
7009
7009
|
optionsArray: i.optionsArray,
|
|
@@ -7074,7 +7074,7 @@ function h3t(t, e, r, n, i, o) {
|
|
|
7074
7074
|
])
|
|
7075
7075
|
}, [
|
|
7076
7076
|
t.multiple ? Pr(t.$slots, "tag", { key: 0 }, () => [
|
|
7077
|
-
(oe(!0), Ye(
|
|
7077
|
+
(oe(!0), Ye(to, null, Ka(t.showTagList, (L) => (oe(), Ye("div", {
|
|
7078
7078
|
key: t.getValueKey(L),
|
|
7079
7079
|
class: Be(t.nsSelect.e("selected-item"))
|
|
7080
7080
|
}, [
|
|
@@ -7138,7 +7138,7 @@ function h3t(t, e, r, n, i, o) {
|
|
|
7138
7138
|
ref: "tagMenuRef",
|
|
7139
7139
|
class: Be(t.nsSelect.e("selection"))
|
|
7140
7140
|
}, [
|
|
7141
|
-
(oe(!0), Ye(
|
|
7141
|
+
(oe(!0), Ye(to, null, Ka(t.collapseTagList, (L) => (oe(), Ye("div", {
|
|
7142
7142
|
key: t.getValueKey(L),
|
|
7143
7143
|
class: Be(t.nsSelect.e("selected-item"))
|
|
7144
7144
|
}, [
|
|
@@ -7358,7 +7358,7 @@ const p3t = mr({
|
|
|
7358
7358
|
},
|
|
7359
7359
|
setup(t) {
|
|
7360
7360
|
const e = Bn("select"), r = ke(null), n = G1(), i = ke([]);
|
|
7361
|
-
|
|
7361
|
+
$1(Vz, a3({
|
|
7362
7362
|
...W6(t)
|
|
7363
7363
|
}));
|
|
7364
7364
|
const o = Xt(() => i.value.some((d) => d.visible === !0)), s = (d) => {
|
|
@@ -7373,7 +7373,7 @@ const p3t = mr({
|
|
|
7373
7373
|
}, u = () => {
|
|
7374
7374
|
i.value = a(n.subTree);
|
|
7375
7375
|
};
|
|
7376
|
-
return
|
|
7376
|
+
return Z1(() => {
|
|
7377
7377
|
u();
|
|
7378
7378
|
}), Wtt(r, u, {
|
|
7379
7379
|
attributes: !0,
|
|
@@ -7942,7 +7942,7 @@ function k3t(t, e, r, n, i, o) {
|
|
|
7942
7942
|
}, {
|
|
7943
7943
|
default: Te(() => [
|
|
7944
7944
|
We("div", C3t, [
|
|
7945
|
-
(oe(!0), Ye(
|
|
7945
|
+
(oe(!0), Ye(to, null, Ka(r.selections, (y) => (oe(), Hr(f, {
|
|
7946
7946
|
key: y[r.identifierKey],
|
|
7947
7947
|
label: y[r.identifierKey]
|
|
7948
7948
|
}, {
|
|
@@ -7955,6 +7955,7 @@ function k3t(t, e, r, n, i, o) {
|
|
|
7955
7955
|
Ce(T, {
|
|
7956
7956
|
class: "my-checkbox",
|
|
7957
7957
|
label: y[r.identifierKey],
|
|
7958
|
+
value: y[r.identifierKey],
|
|
7958
7959
|
onChange: (v) => o.visibilityToggle(y[r.identifierKey], v),
|
|
7959
7960
|
onClick: o.onCheckboxNativeChange,
|
|
7960
7961
|
checked: !("enabled" in y) || y.enabled === !0
|
|
@@ -7987,7 +7988,7 @@ function k3t(t, e, r, n, i, o) {
|
|
|
7987
7988
|
}, 1024)
|
|
7988
7989
|
]),
|
|
7989
7990
|
_: 2
|
|
7990
|
-
}, 1032, ["label", "onChange", "onClick", "checked"])
|
|
7991
|
+
}, 1032, ["label", "value", "onChange", "onClick", "checked"])
|
|
7991
7992
|
], 40, I3t)
|
|
7992
7993
|
]),
|
|
7993
7994
|
_: 2
|
|
@@ -7998,7 +7999,7 @@ function k3t(t, e, r, n, i, o) {
|
|
|
7998
7999
|
}, 8, ["modelValue", "onChange"])
|
|
7999
8000
|
]);
|
|
8000
8001
|
}
|
|
8001
|
-
const Dz = /* @__PURE__ */ Gm(S3t, [["render", k3t], ["__scopeId", "data-v-
|
|
8002
|
+
const Dz = /* @__PURE__ */ Gm(S3t, [["render", k3t], ["__scopeId", "data-v-667eda7f"]]), P3t = {
|
|
8002
8003
|
name: "SvgLegends"
|
|
8003
8004
|
}, V3t = (t) => (iM("data-v-88079d87"), t = t(), oM(), t), R3t = { class: "legends-container" }, N3t = {
|
|
8004
8005
|
version: "1.1",
|
|
@@ -14334,15 +14335,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14334
14335
|
}
|
|
14335
14336
|
}
|
|
14336
14337
|
Qo.prototype.size = 8;
|
|
14337
|
-
class
|
|
14338
|
+
class q1 extends Oe {
|
|
14338
14339
|
get(c) {
|
|
14339
14340
|
return new Qo(this, c);
|
|
14340
14341
|
}
|
|
14341
14342
|
}
|
|
14342
|
-
nr("FeatureIndexArray",
|
|
14343
|
+
nr("FeatureIndexArray", q1);
|
|
14343
14344
|
class I1 extends j {
|
|
14344
14345
|
}
|
|
14345
|
-
class
|
|
14346
|
+
class X1 extends j {
|
|
14346
14347
|
}
|
|
14347
14348
|
class ps extends j {
|
|
14348
14349
|
}
|
|
@@ -14829,7 +14830,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14829
14830
|
}
|
|
14830
14831
|
class N_ {
|
|
14831
14832
|
constructor(c) {
|
|
14832
|
-
this.zoom = c.zoom, this.overscaling = c.overscaling, this.layers = c.layers, this.layerIds = this.layers.map((p) => p.id), this.index = c.index, this.hasPattern = !1, this.layoutVertexArray = new
|
|
14833
|
+
this.zoom = c.zoom, this.overscaling = c.overscaling, this.layers = c.layers, this.layerIds = this.layers.map((p) => p.id), this.index = c.index, this.hasPattern = !1, this.layoutVertexArray = new X1(), this.indexArray = new O2(), this.segments = new an(), this.programConfigurations = new M0(c.layers, c.zoom), this.stateDependentLayerIds = this.layers.filter((p) => p.isStateDependent()).map((p) => p.id);
|
|
14833
14834
|
}
|
|
14834
14835
|
populate(c, p, g) {
|
|
14835
14836
|
const w = this.layers[0], H = [];
|
|
@@ -15794,8 +15795,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
15794
15795
|
for (const gr of sr) {
|
|
15795
15796
|
const pr = gr.x, kr = gr.y, Fn = Et[0] * pr + Et[4] * kr + Et[12], Pn = Et[1] * pr + Et[5] * kr + Et[13], p1 = Et[2] * pr + Et[6] * kr + Et[14], Ts = Et[3] * pr + Et[7] * kr + Et[15], V1 = p1 + ve, T1 = Ts + Xe, go = Fn + Er, yo = Pn + je, _o = p1 + Re, Oi = Ts + Qr, f1 = new f((Fn + Ft) / T1, (Pn + Jt) / T1);
|
|
15796
15797
|
f1.z = V1 / T1, rr.push(f1);
|
|
15797
|
-
const
|
|
15798
|
-
|
|
15798
|
+
const K1 = new f(go / Oi, yo / Oi);
|
|
15799
|
+
K1.z = _o / Oi, le.push(K1);
|
|
15799
15800
|
}
|
|
15800
15801
|
Gt.push(rr), Pt.push(le);
|
|
15801
15802
|
}
|
|
@@ -16631,7 +16632,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
16631
16632
|
let V1 = 0;
|
|
16632
16633
|
for (const Oi of je) {
|
|
16633
16634
|
Oi.trim();
|
|
16634
|
-
const f1 = Oi.getMaxScale(),
|
|
16635
|
+
const f1 = Oi.getMaxScale(), K1 = (f1 - 1) * r1, R1 = { positionedGlyphs: [], lineOffset: 0 };
|
|
16635
16636
|
Jt.positionedLines[V1] = R1;
|
|
16636
16637
|
const vo = R1.positionedGlyphs;
|
|
16637
16638
|
let N1 = 0;
|
|
@@ -16649,7 +16650,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
16649
16650
|
continue;
|
|
16650
16651
|
Sa = fn.imageName, Jt.iconsInText = Jt.iconsInText || !0, Ol = P2.paddedRect;
|
|
16651
16652
|
const L1 = P2.displaySize;
|
|
16652
|
-
fn.scale = fn.scale * r1 / pr, xi = { width: L1[0], height: L1[1], left: Ro, top: -_O, advance: fs ? L1[1] : L1[0] }, s2 =
|
|
16653
|
+
fn.scale = fn.scale * r1 / pr, xi = { width: L1[0], height: L1[1], left: Ro, top: -_O, advance: fs ? L1[1] : L1[0] }, s2 = K1 + (r1 - L1[1] * fn.scale), Ha = xi.advance;
|
|
16653
16654
|
const B3 = fs ? L1[0] * fn.scale - r1 * f1 : L1[1] * fn.scale - r1 * f1;
|
|
16654
16655
|
B3 > 0 && B3 > N1 && (N1 = B3);
|
|
16655
16656
|
} else {
|
|
@@ -16668,12 +16669,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
16668
16669
|
}
|
|
16669
16670
|
vo.length !== 0 && (Pn = Math.max(kr - le, Pn), FJ(vo, 0, vo.length - 1, Ts, N1)), kr = 0;
|
|
16670
16671
|
const k2 = Re * f1 + N1;
|
|
16671
|
-
R1.lineOffset = Math.max(N1,
|
|
16672
|
+
R1.lineOffset = Math.max(N1, K1), Fn += k2, p1 = Math.max(k2, p1), ++V1;
|
|
16672
16673
|
}
|
|
16673
16674
|
var T1;
|
|
16674
16675
|
const go = Fn - xc, { horizontalAlign: yo, verticalAlign: _o } = iv(Qr);
|
|
16675
|
-
(function(Oi, f1,
|
|
16676
|
-
const Un = (f1 -
|
|
16676
|
+
(function(Oi, f1, K1, R1, vo, N1, k2, No, fn) {
|
|
16677
|
+
const Un = (f1 - K1) * vo;
|
|
16677
16678
|
let ii = 0;
|
|
16678
16679
|
ii = N1 !== k2 ? -No * R1 - xc : (-R1 * fn + 0.5) * k2;
|
|
16679
16680
|
for (const s2 of Oi)
|
|
@@ -17532,7 +17533,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
17532
17533
|
}
|
|
17533
17534
|
class GO {
|
|
17534
17535
|
constructor(c, p) {
|
|
17535
|
-
this.tileID = c, this.x = c.canonical.x, this.y = c.canonical.y, this.z = c.canonical.z, this.grid = new U4(Wi, 16, 0), this.grid3D = new U4(Wi, 16, 0), this.featureIndexArray = new
|
|
17536
|
+
this.tileID = c, this.x = c.canonical.x, this.y = c.canonical.y, this.z = c.canonical.z, this.grid = new U4(Wi, 16, 0), this.grid3D = new U4(Wi, 16, 0), this.featureIndexArray = new q1(), this.promoteId = p;
|
|
17536
17537
|
}
|
|
17537
17538
|
insert(c, p, g, w, H, A) {
|
|
17538
17539
|
const C = this.featureIndexArray.length;
|
|
@@ -17759,13 +17760,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
17759
17760
|
(H.textFitWidth || H.textFitHeight) && (z = MO(h)), Et = up(Z, 0, le[0]), Pt = up(X, 0, le[1]), Gt = up(Z, le[0], le[2]), Ft = up(X, le[1], le[3]), Jt = le[0] - Et, Xe = le[1] - Pt, ve = gr - Gt, Er = pr - Ft;
|
|
17760
17761
|
}
|
|
17761
17762
|
const je = z.x1, Re = z.y1, Qr = z.x2 - je, sr = z.y2 - Re, rr = (le, gr, pr, kr) => {
|
|
17762
|
-
const Fn = hp(le.stretch - Et, Gt, Qr, je), Pn = dp(le.fixed - Jt, ve, le.stretch, st), p1 = hp(gr.stretch - Pt, Ft, sr, Re), Ts = dp(gr.fixed - Xe, Er, gr.stretch, ut), V1 = hp(pr.stretch - Et, Gt, Qr, je), T1 = dp(pr.fixed - Jt, ve, pr.stretch, st), go = hp(kr.stretch - Pt, Ft, sr, Re), yo = dp(kr.fixed - Xe, Er, kr.stretch, ut), _o = new f(Fn, p1), Oi = new f(V1, p1), f1 = new f(V1, go),
|
|
17763
|
+
const Fn = hp(le.stretch - Et, Gt, Qr, je), Pn = dp(le.fixed - Jt, ve, le.stretch, st), p1 = hp(gr.stretch - Pt, Ft, sr, Re), Ts = dp(gr.fixed - Xe, Er, gr.stretch, ut), V1 = hp(pr.stretch - Et, Gt, Qr, je), T1 = dp(pr.fixed - Jt, ve, pr.stretch, st), go = hp(kr.stretch - Pt, Ft, sr, Re), yo = dp(kr.fixed - Xe, Er, kr.stretch, ut), _o = new f(Fn, p1), Oi = new f(V1, p1), f1 = new f(V1, go), K1 = new f(Fn, go), R1 = new f(Pn / A, Ts / A), vo = new f(T1 / A, yo / A), N1 = c * Math.PI / 180;
|
|
17763
17764
|
if (N1) {
|
|
17764
17765
|
const fn = Math.sin(N1), Un = Math.cos(N1), ii = [Un, -fn, fn, Un];
|
|
17765
|
-
_o._matMult(ii), Oi._matMult(ii),
|
|
17766
|
+
_o._matMult(ii), Oi._matMult(ii), K1._matMult(ii), f1._matMult(ii);
|
|
17766
17767
|
}
|
|
17767
17768
|
const k2 = le.stretch + le.fixed, No = gr.stretch + gr.fixed;
|
|
17768
|
-
return { tl: _o, tr: Oi, bl:
|
|
17769
|
+
return { tl: _o, tr: Oi, bl: K1, br: f1, tex: { x: H.paddedRect.x + Hl + k2, y: H.paddedRect.y + Hl + No, w: pr.stretch + pr.fixed - k2, h: kr.stretch + kr.fixed - No }, writingMode: void 0, glyphOffset: [0, 0], sectionIndex: 0, pixelOffsetTL: R1, pixelOffsetBR: vo, minFontScaleX: ve / A / Qr, minFontScaleY: Er / A / sr, isSDF: p };
|
|
17769
17770
|
};
|
|
17770
17771
|
if (g && (H.stretchX || H.stretchY)) {
|
|
17771
17772
|
const le = eC(Z, Tt, st), gr = eC(X, Lt, ut);
|
|
@@ -18017,49 +18018,49 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18017
18018
|
let sr;
|
|
18018
18019
|
g && Qr !== "none" && (h.allowVerticalPlacement && p.vertical && (sr = SO(g, p.vertical, Qr, J.get("icon-text-fit-padding"), st, Tt)), ut && (g = SO(g, ut, Qr, J.get("icon-text-fit-padding"), st, Tt)));
|
|
18019
18020
|
const rr = (le, gr) => {
|
|
18020
|
-
gr.x < 0 || gr.x >= Wi || gr.y < 0 || gr.y >= Wi || function(pr, kr, Fn, Pn, p1, Ts, V1, T1, go, yo, _o, Oi, f1,
|
|
18021
|
+
gr.x < 0 || gr.x >= Wi || gr.y < 0 || gr.y >= Wi || function(pr, kr, Fn, Pn, p1, Ts, V1, T1, go, yo, _o, Oi, f1, K1, R1, vo, N1, k2, No, fn, Un, ii, s2, xi, Ol) {
|
|
18021
18022
|
const Sa = pr.addToLineVertexArray(kr, Fn);
|
|
18022
18023
|
let Ha, fs, P2, L1, B3 = 0, Cc = 0, cC = 0, uC = 0, bv = -1, Lv = -1;
|
|
18023
18024
|
const j3 = {};
|
|
18024
18025
|
let hC = gl("");
|
|
18025
18026
|
if (pr.allowVerticalPlacement && Pn.vertical) {
|
|
18026
|
-
const
|
|
18027
|
-
P2 = new pp(go, kr, yo, _o, Oi, Pn.vertical, f1,
|
|
18027
|
+
const Y1 = T1.layout.get("text-rotate").evaluate(Un, {}, xi) + 90;
|
|
18028
|
+
P2 = new pp(go, kr, yo, _o, Oi, Pn.vertical, f1, K1, R1, Y1), V1 && (L1 = new pp(go, kr, yo, _o, Oi, V1, N1, k2, R1, Y1));
|
|
18028
18029
|
}
|
|
18029
18030
|
if (p1) {
|
|
18030
|
-
const
|
|
18031
|
-
fs = new pp(go, kr, yo, _o, Oi, p1, N1, k2, !1,
|
|
18031
|
+
const Y1 = T1.layout.get("icon-rotate").evaluate(Un, {}), V2 = T1.layout.get("icon-text-fit") !== "none", O0 = tC(p1, Y1, s2, V2), Zs = V1 ? tC(V1, Y1, s2, V2) : void 0;
|
|
18032
|
+
fs = new pp(go, kr, yo, _o, Oi, p1, N1, k2, !1, Y1), B3 = 4 * O0.length;
|
|
18032
18033
|
const C0 = pr.iconSizeData;
|
|
18033
18034
|
let Aa = null;
|
|
18034
18035
|
C0.kind === "source" ? (Aa = [Ma * T1.layout.get("icon-size").evaluate(Un, {})], Aa[0] > n6 && kt(`${pr.layerIds[0]}: Value for "icon-size" is >= ${Mc}. Reduce your "icon-size".`)) : C0.kind === "composite" && (Aa = [Ma * ii.compositeIconSizes[0].evaluate(Un, {}, xi), Ma * ii.compositeIconSizes[1].evaluate(Un, {}, xi)], (Aa[0] > n6 || Aa[1] > n6) && kt(`${pr.layerIds[0]}: Value for "icon-size" is >= ${Mc}. Reduce your "icon-size".`)), pr.addSymbols(pr.icon, O0, Aa, fn, No, Un, s.ah.none, kr, Sa.lineStartIndex, Sa.lineLength, -1, xi), bv = pr.icon.placedSymbolArray.length - 1, Zs && (Cc = 4 * Zs.length, pr.addSymbols(pr.icon, Zs, Aa, fn, No, Un, s.ah.vertical, kr, Sa.lineStartIndex, Sa.lineLength, -1, xi), Lv = pr.icon.placedSymbolArray.length - 1);
|
|
18035
18036
|
}
|
|
18036
18037
|
const dC = Object.keys(Pn.horizontal);
|
|
18037
|
-
for (const
|
|
18038
|
-
const V2 = Pn.horizontal[
|
|
18038
|
+
for (const Y1 of dC) {
|
|
18039
|
+
const V2 = Pn.horizontal[Y1];
|
|
18039
18040
|
if (!Ha) {
|
|
18040
18041
|
hC = gl(V2.text);
|
|
18041
18042
|
const Zs = T1.layout.get("text-rotate").evaluate(Un, {}, xi);
|
|
18042
|
-
Ha = new pp(go, kr, yo, _o, Oi, V2, f1,
|
|
18043
|
+
Ha = new pp(go, kr, yo, _o, Oi, V2, f1, K1, R1, Zs);
|
|
18043
18044
|
}
|
|
18044
18045
|
const O0 = V2.positionedLines.length === 1;
|
|
18045
|
-
if (cC += iC(pr, kr, V2, Ts, T1, R1, Un, vo, Sa, Pn.vertical ? s.ah.horizontal : s.ah.horizontalOnly, O0 ? dC : [
|
|
18046
|
+
if (cC += iC(pr, kr, V2, Ts, T1, R1, Un, vo, Sa, Pn.vertical ? s.ah.horizontal : s.ah.horizontalOnly, O0 ? dC : [Y1], j3, bv, ii, xi), O0)
|
|
18046
18047
|
break;
|
|
18047
18048
|
}
|
|
18048
18049
|
Pn.vertical && (uC += iC(pr, kr, Pn.vertical, Ts, T1, R1, Un, vo, Sa, s.ah.vertical, ["vertical"], j3, Lv, ii, xi));
|
|
18049
18050
|
const stt = Ha ? Ha.boxStartIndex : pr.collisionBoxArray.length, att = Ha ? Ha.boxEndIndex : pr.collisionBoxArray.length, ltt = P2 ? P2.boxStartIndex : pr.collisionBoxArray.length, ctt = P2 ? P2.boxEndIndex : pr.collisionBoxArray.length, utt = fs ? fs.boxStartIndex : pr.collisionBoxArray.length, htt = fs ? fs.boxEndIndex : pr.collisionBoxArray.length, dtt = L1 ? L1.boxStartIndex : pr.collisionBoxArray.length, ptt = L1 ? L1.boxEndIndex : pr.collisionBoxArray.length;
|
|
18050
18051
|
let $s = -1;
|
|
18051
|
-
const fp = (
|
|
18052
|
+
const fp = (Y1, V2) => Y1 && Y1.circleDiameter ? Math.max(Y1.circleDiameter, V2) : V2;
|
|
18052
18053
|
$s = fp(Ha, $s), $s = fp(P2, $s), $s = fp(fs, $s), $s = fp(L1, $s);
|
|
18053
18054
|
const pC = $s > -1 ? 1 : 0;
|
|
18054
18055
|
pC && ($s *= Ol / r1), pr.glyphOffsetArray.length >= Sl.MAX_GLYPHS && kt("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"), Un.sortKey !== void 0 && pr.addToSortKeyRanges(pr.symbolInstances.length, Un.sortKey);
|
|
18055
|
-
const Ttt = nC(T1, Un, xi), [ftt, Qtt] = function(
|
|
18056
|
-
const O0 =
|
|
18056
|
+
const Ttt = nC(T1, Un, xi), [ftt, Qtt] = function(Y1, V2) {
|
|
18057
|
+
const O0 = Y1.length, Zs = V2 == null ? void 0 : V2.values;
|
|
18057
18058
|
if ((Zs == null ? void 0 : Zs.length) > 0)
|
|
18058
18059
|
for (let C0 = 0; C0 < Zs.length; C0 += 2) {
|
|
18059
18060
|
const Aa = Zs[C0 + 1];
|
|
18060
|
-
|
|
18061
|
+
Y1.emplaceBack(s.aq[Zs[C0]], Aa[0], Aa[1]);
|
|
18061
18062
|
}
|
|
18062
|
-
return [O0,
|
|
18063
|
+
return [O0, Y1.length];
|
|
18063
18064
|
}(pr.textAnchorOffsets, Ttt);
|
|
18064
18065
|
pr.symbolInstances.emplaceBack(kr.x, kr.y, j3.right >= 0 ? j3.right : -1, j3.center >= 0 ? j3.center : -1, j3.left >= 0 ? j3.left : -1, j3.vertical || -1, bv, Lv, hC, stt, att, ltt, ctt, utt, htt, dtt, ptt, yo, cC, uC, B3, Cc, pC, 0, f1, $s, ftt, Qtt);
|
|
18065
18066
|
}(h, gr, le, p, g, w, sr, h.layers[0], h.collisionBoxArray, c.index, c.sourceLayerIndex, h.index, Lt, [Ft, Ft, Ft, Ft], Xe, N, Gt, Jt, Er, st, c, H, z, Z, A);
|
|
@@ -18106,17 +18107,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18106
18107
|
const Ts = ve ? [rr.x + p1, rr.y] : [0, 0];
|
|
18107
18108
|
let V1 = ve ? [0, 0] : [rr.x + p1 + Ft[0], rr.y + Ft[1] - Fn], T1 = [0, 0];
|
|
18108
18109
|
Pn && (T1 = V1, V1 = [0, 0]);
|
|
18109
|
-
const go = rr.metrics.isDoubleResolution ? 2 : 1, yo = (rr.metrics.left - gr) * rr.scale - p1 + V1[0], _o = (-rr.metrics.top - gr) * rr.scale + V1[1], Oi = yo + le.w / go * rr.scale / kr, f1 = _o + le.h / go * rr.scale / kr,
|
|
18110
|
+
const go = rr.metrics.isDoubleResolution ? 2 : 1, yo = (rr.metrics.left - gr) * rr.scale - p1 + V1[0], _o = (-rr.metrics.top - gr) * rr.scale + V1[1], Oi = yo + le.w / go * rr.scale / kr, f1 = _o + le.h / go * rr.scale / kr, K1 = new f(yo, _o), R1 = new f(Oi, _o), vo = new f(yo, f1), N1 = new f(Oi, f1);
|
|
18110
18111
|
if (Pn) {
|
|
18111
18112
|
const fn = new f(-p1, p1 - xc), Un = -Math.PI / 2, ii = r1 / 2 - p1, s2 = new f(5 - xc - ii, -(rr.imageName ? ii : 0)), xi = new f(...T1);
|
|
18112
|
-
|
|
18113
|
+
K1._rotateAround(Un, fn)._add(s2)._add(xi), R1._rotateAround(Un, fn)._add(s2)._add(xi), vo._rotateAround(Un, fn)._add(s2)._add(xi), N1._rotateAround(Un, fn)._add(s2)._add(xi);
|
|
18113
18114
|
}
|
|
18114
18115
|
if (Re) {
|
|
18115
18116
|
const fn = Math.sin(Re), Un = Math.cos(Re), ii = [Un, -fn, fn, Un];
|
|
18116
|
-
|
|
18117
|
+
K1._matMult(ii), R1._matMult(ii), vo._matMult(ii), N1._matMult(ii);
|
|
18117
18118
|
}
|
|
18118
18119
|
const k2 = new f(0, 0), No = new f(0, 0);
|
|
18119
|
-
Qr.push({ tl:
|
|
18120
|
+
Qr.push({ tl: K1, tr: R1, bl: vo, br: N1, tex: le, writingMode: Pt.writingMode, glyphOffset: Ts, sectionIndex: rr.sectionIndex, isSDF: pr, pixelOffsetTL: k2, pixelOffsetBR: No, minFontScaleX: 0, minFontScaleY: 0 });
|
|
18120
18121
|
}
|
|
18121
18122
|
return Qr;
|
|
18122
18123
|
}(0, p, C, w, H, A, g, h.allowVerticalPlacement), Lt = h.textSizeData;
|
|
@@ -22379,8 +22380,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
22379
22380
|
for (let ri = 0; ri < nn; ri++) {
|
|
22380
22381
|
const C1 = ri / Math.max(nn - 1, 1), A2 = ur.lerp(C1), ni = A2.x + Se, Qo = A2.y + Se;
|
|
22381
22382
|
Ht.push(ni, Qo, tr, 0);
|
|
22382
|
-
const
|
|
22383
|
-
if (De = De && this.isOffscreen(
|
|
22383
|
+
const q1 = ni - tr, I1 = Qo - tr, X1 = ni + tr, ps = Qo + tr;
|
|
22384
|
+
if (De = De && this.isOffscreen(q1, I1, X1, ps), we = we || this.isInsideGrid(q1, I1, X1, ps), l !== "always" && this.grid.hitTestCircle(ni, Qo, tr, l, at) && (ue = !0, !K))
|
|
22384
22385
|
return { circles: [], offscreen: !1, collisionDetected: ue };
|
|
22385
22386
|
}
|
|
22386
22387
|
}
|
|
@@ -22565,7 +22566,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
22565
22566
|
return;
|
|
22566
22567
|
if (ft)
|
|
22567
22568
|
return void (this.placements[Pe.crossTileID] = new br(!1, !1, !1));
|
|
22568
|
-
let nn = !1, ri = !1, C1 = !0, A2 = null, ni = { box: null, placeable: !1, offscreen: null }, Qo = { box: null, placeable: !1, offscreen: null },
|
|
22569
|
+
let nn = !1, ri = !1, C1 = !0, A2 = null, ni = { box: null, placeable: !1, offscreen: null }, Qo = { box: null, placeable: !1, offscreen: null }, q1 = null, I1 = null, X1 = null, ps = 0, q4 = 0, Ql = 0;
|
|
22569
22570
|
$e.textFeatureIndex ? ps = $e.textFeatureIndex : Pe.useRuntimeCollisionCircles && (ps = Pe.featureIndex), $e.verticalTextFeatureIndex && (q4 = $e.verticalTextFeatureIndex);
|
|
22570
22571
|
const X4 = $e.textBox;
|
|
22571
22572
|
if (X4) {
|
|
@@ -22623,18 +22624,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
22623
22624
|
}
|
|
22624
22625
|
}
|
|
22625
22626
|
}
|
|
22626
|
-
if (
|
|
22627
|
+
if (q1 = ni, nn = q1 && q1.placeable, C1 = q1 && q1.offscreen, Pe.useRuntimeCollisionCircles) {
|
|
22627
22628
|
const i2 = b.text.placedSymbolArray.get(Pe.centerJustifiedTextSymbolIndex), o2 = a.ai(b.textSizeData, wt, i2), xa = M.get("text-padding");
|
|
22628
22629
|
I1 = this.collisionIndex.placeCollisionCircles(bt, i2, b.lineVertexArray, b.glyphOffsetArray, o2, j, W, K, Y, _, we, Mt.predicate, Pe.collisionCircleDiameter, xa, V, ur), I1.circles.length && I1.collisionDetected && !_ && a.w("Collisions detected, but collision boxes are not shown"), nn = Nt || I1.circles.length > 0 && !I1.collisionDetected, C1 = C1 && I1.offscreen;
|
|
22629
22630
|
}
|
|
22630
22631
|
if ($e.iconFeatureIndex && (Ql = $e.iconFeatureIndex), $e.iconBox) {
|
|
22631
22632
|
const i2 = (o2) => this.collisionIndex.placeCollisionBox(o2, Dt, at, j, W, we, ue, D, Mt.predicate, ur, De && A2 ? A2 : void 0);
|
|
22632
|
-
Qo && Qo.placeable && $e.verticalIconBox ? (
|
|
22633
|
+
Qo && Qo.placeable && $e.verticalIconBox ? (X1 = i2($e.verticalIconBox), ri = X1.placeable) : (X1 = i2($e.iconBox), ri = X1.placeable), C1 = C1 && X1.offscreen;
|
|
22633
22634
|
}
|
|
22634
22635
|
const n2 = Ht || Pe.numHorizontalGlyphVertices === 0 && Pe.numVerticalGlyphVertices === 0, ml = Ot || Pe.numIconVertices === 0;
|
|
22635
22636
|
n2 || ml ? ml ? n2 || (ri = ri && nn) : nn = ri && nn : ri = nn = ri && nn;
|
|
22636
|
-
const Tc = ri &&
|
|
22637
|
-
if (nn &&
|
|
22637
|
+
const Tc = ri && X1.placeable;
|
|
22638
|
+
if (nn && q1.placeable && this.collisionIndex.insertCollisionBox(q1.box, bt, M.get("text-ignore-placement"), b.bucketInstanceId, Qo && Qo.placeable && q4 ? q4 : ps, Mt.ID), Tc && this.collisionIndex.insertCollisionBox(X1.box, Dt, M.get("icon-ignore-placement"), b.bucketInstanceId, Ql, Mt.ID), I1 && nn && this.collisionIndex.insertCollisionCircles(I1.circles, bt, M.get("text-ignore-placement"), b.bucketInstanceId, ps, Mt.ID), _ && this.storeCollisionData(b.bucketInstanceId, Ir, $e, q1, X1, I1), Pe.crossTileID === 0)
|
|
22638
22639
|
throw new Error("symbolInstance.crossTileID can't be 0");
|
|
22639
22640
|
if (b.bucketInstanceId === 0)
|
|
22640
22641
|
throw new Error("bucket.bucketInstanceId can't be 0");
|
|
@@ -25110,21 +25111,21 @@ uniform ${K} ${Y} u_${at};
|
|
|
25110
25111
|
if (!Nr || !Nr.segments.get().length || !Nr.hasVisibleVertices)
|
|
25111
25112
|
continue;
|
|
25112
25113
|
const Pe = Nr.programConfigurations.get(m.id), $e = b || ur.sdfIcons, Ir = b ? ur.textSizeData : ur.iconSizeData, ei = Ht || Qt.pitch !== 0, Zr = S.useProgram(ho($e, b, ur), Pe), nn = a.ag(Ir, Qt.zoom), ri = S.style.map.terrain && S.style.map.terrain.getTerrainData(Oe);
|
|
25113
|
-
let C1, A2, ni, Qo,
|
|
25114
|
+
let C1, A2, ni, Qo, q1 = [0, 0], I1 = null;
|
|
25114
25115
|
if (b)
|
|
25115
|
-
A2 = Ae.glyphAtlasTexture, ni = ft.LINEAR, C1 = Ae.glyphAtlasTexture.size, ur.iconsInText && (
|
|
25116
|
+
A2 = Ae.glyphAtlasTexture, ni = ft.LINEAR, C1 = Ae.glyphAtlasTexture.size, ur.iconsInText && (q1 = Ae.imageAtlasTexture.size, I1 = Ae.imageAtlasTexture, Qo = ei || S.options.rotating || S.options.zooming || Ir.kind === "composite" || Ir.kind === "camera" ? ft.LINEAR : ft.NEAREST);
|
|
25116
25117
|
else {
|
|
25117
25118
|
const an = m.layout.get("icon-size").constantOr(0) !== 1 || ur.iconsNeedLinear;
|
|
25118
25119
|
A2 = Ae.imageAtlasTexture, ni = $e || S.options.rotating || S.options.zooming || an || ei ? ft.LINEAR : ft.NEAREST, C1 = Ae.imageAtlasTexture.size;
|
|
25119
25120
|
}
|
|
25120
|
-
const
|
|
25121
|
+
const X1 = Or(Ae, 1, S.transform.zoom), ps = Nt ? Oe.posMatrix : va, q4 = Vi(ps, Ht, Mt, S.transform, X1), Ql = Rn(ps, Ht, Mt, S.transform, X1), X4 = Rn(Oe.posMatrix, Ht, Mt, S.transform, X1), n2 = wt.translatePosition(S.transform, Ae, M, V), ml = we && ur.hasTextData(), Tc = m.layout.get("icon-text-fit") !== "none" && ml && ur.hasIconData();
|
|
25121
25122
|
if (Ot) {
|
|
25122
25123
|
const an = S.style.map.terrain ? (K4, Y4) => S.style.map.terrain.getElevation(Oe, K4, Y4) : null, N3 = m.layout.get("text-rotation-alignment") === "map";
|
|
25123
25124
|
pt(ur, Oe.posMatrix, S, b, q4, X4, Ht, W, N3, wt, Oe.toUnwrapped(), Qt.width, Qt.height, n2, an);
|
|
25124
25125
|
}
|
|
25125
25126
|
const i2 = Oe.posMatrix, o2 = b && we || Tc, xa = Ot || o2 ? va : q4, O2 = Ql, b1 = $e && m.paint.get(b ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0;
|
|
25126
25127
|
let k1;
|
|
25127
|
-
k1 = $e ? ur.iconsInText ? S4(Ir.kind, nn, bt, Ht, Ot, o2, S, i2, xa, O2, n2, C1,
|
|
25128
|
+
k1 = $e ? ur.iconsInText ? S4(Ir.kind, nn, bt, Ht, Ot, o2, S, i2, xa, O2, n2, C1, q1, tr) : ma(Ir.kind, nn, bt, Ht, Ot, o2, S, i2, xa, O2, n2, b, C1, !0, tr) : Xo(Ir.kind, nn, bt, Ht, Ot, o2, S, i2, xa, O2, n2, b, C1, tr);
|
|
25128
25129
|
const Vo = { program: Zr, buffers: Nr, uniformValues: k1, atlasTexture: A2, atlasTextureIcon: I1, atlasInterpolation: ni, atlasInterpolationIcon: Qo, isSDF: $e, hasHalo: b1 };
|
|
25129
25130
|
if (Dt && ur.canOverlap) {
|
|
25130
25131
|
$t = !0;
|
|
@@ -35726,7 +35727,7 @@ function Ss(t, e, r, n) {
|
|
|
35726
35727
|
let o = null;
|
|
35727
35728
|
return i && (n === "mixed" ? o = i.out && i.out[r] || i.undirected && i.undirected[r] : n === "directed" ? o = i.out && i.out[r] : o = i.undirected && i.undirected[r]), o;
|
|
35728
35729
|
}
|
|
35729
|
-
function
|
|
35730
|
+
function eo(t) {
|
|
35730
35731
|
return typeof t == "object" && t !== null;
|
|
35731
35732
|
}
|
|
35732
35733
|
function dZ(t) {
|
|
@@ -35751,7 +35752,7 @@ function qs(t, e, r) {
|
|
|
35751
35752
|
typeof r == "function" ? n.get = r : (n.value = r, n.writable = !1), Object.defineProperty(t, e, n);
|
|
35752
35753
|
}
|
|
35753
35754
|
function GV(t) {
|
|
35754
|
-
return !(!
|
|
35755
|
+
return !(!eo(t) || t.attributes && !Array.isArray(t.attributes));
|
|
35755
35756
|
}
|
|
35756
35757
|
function hgt() {
|
|
35757
35758
|
let t = Math.floor(Math.random() * 256) & 255;
|
|
@@ -35970,7 +35971,7 @@ function ygt(t, e, r) {
|
|
|
35970
35971
|
i,
|
|
35971
35972
|
o
|
|
35972
35973
|
);
|
|
35973
|
-
if (!
|
|
35974
|
+
if (!eo(a))
|
|
35974
35975
|
throw new hr(
|
|
35975
35976
|
`Graph.${e}: provided attributes are not a plain object.`
|
|
35976
35977
|
);
|
|
@@ -35991,7 +35992,7 @@ function _gt(t, e, r) {
|
|
|
35991
35992
|
i,
|
|
35992
35993
|
o
|
|
35993
35994
|
);
|
|
35994
|
-
if (!
|
|
35995
|
+
if (!eo(a))
|
|
35995
35996
|
throw new hr(
|
|
35996
35997
|
`Graph.${e}: provided attributes are not a plain object.`
|
|
35997
35998
|
);
|
|
@@ -36293,7 +36294,7 @@ function Agt(t, e, r) {
|
|
|
36293
36294
|
`Graph.${e}: could not find the "${n}" edge in the graph.`
|
|
36294
36295
|
);
|
|
36295
36296
|
}
|
|
36296
|
-
if (!
|
|
36297
|
+
if (!eo(i))
|
|
36297
36298
|
throw new hr(
|
|
36298
36299
|
`Graph.${e}: provided attributes are not a plain object.`
|
|
36299
36300
|
);
|
|
@@ -36331,7 +36332,7 @@ function Ogt(t, e, r) {
|
|
|
36331
36332
|
`Graph.${e}: could not find the "${n}" edge in the graph.`
|
|
36332
36333
|
);
|
|
36333
36334
|
}
|
|
36334
|
-
if (!
|
|
36335
|
+
if (!eo(i))
|
|
36335
36336
|
throw new hr(
|
|
36336
36337
|
`Graph.${e}: provided attributes are not a plain object.`
|
|
36337
36338
|
);
|
|
@@ -37270,7 +37271,7 @@ function syt(t, e, r) {
|
|
|
37270
37271
|
return dZ(r.attributes) || (n.attributes = x1({}, r.attributes)), t === "mixed" && r.undirected && (n.undirected = !0), n;
|
|
37271
37272
|
}
|
|
37272
37273
|
function ayt(t) {
|
|
37273
|
-
if (!
|
|
37274
|
+
if (!eo(t))
|
|
37274
37275
|
throw new hr(
|
|
37275
37276
|
'Graph.import: invalid serialized node. A serialized node should be a plain object with at least a "key" property.'
|
|
37276
37277
|
);
|
|
@@ -37278,13 +37279,13 @@ function ayt(t) {
|
|
|
37278
37279
|
throw new hr(
|
|
37279
37280
|
"Graph.import: serialized node is missing its key."
|
|
37280
37281
|
);
|
|
37281
|
-
if ("attributes" in t && (!
|
|
37282
|
+
if ("attributes" in t && (!eo(t.attributes) || t.attributes === null))
|
|
37282
37283
|
throw new hr(
|
|
37283
37284
|
"Graph.import: invalid attributes. Attributes should be a plain object, null or omitted."
|
|
37284
37285
|
);
|
|
37285
37286
|
}
|
|
37286
37287
|
function lyt(t) {
|
|
37287
|
-
if (!
|
|
37288
|
+
if (!eo(t))
|
|
37288
37289
|
throw new hr(
|
|
37289
37290
|
'Graph.import: invalid serialized edge. A serialized edge should be a plain object with at least a "source" & "target" property.'
|
|
37290
37291
|
);
|
|
@@ -37296,7 +37297,7 @@ function lyt(t) {
|
|
|
37296
37297
|
throw new hr(
|
|
37297
37298
|
"Graph.import: serialized edge is missing its target."
|
|
37298
37299
|
);
|
|
37299
|
-
if ("attributes" in t && (!
|
|
37300
|
+
if ("attributes" in t && (!eo(t.attributes) || t.attributes === null))
|
|
37300
37301
|
throw new hr(
|
|
37301
37302
|
"Graph.import: invalid attributes. Attributes should be a plain object, null or omitted."
|
|
37302
37303
|
);
|
|
@@ -37342,7 +37343,7 @@ const cyt = hgt(), uyt = /* @__PURE__ */ new Set(["directed", "undirected", "mix
|
|
|
37342
37343
|
type: "mixed"
|
|
37343
37344
|
};
|
|
37344
37345
|
function pyt(t, e, r) {
|
|
37345
|
-
if (r && !
|
|
37346
|
+
if (r && !eo(r))
|
|
37346
37347
|
throw new hr(
|
|
37347
37348
|
`Graph.addNode: invalid attributes. Expecting an object but got "${r}"`
|
|
37348
37349
|
);
|
|
@@ -37372,7 +37373,7 @@ function _Z(t, e, r, n, i, o, s, a) {
|
|
|
37372
37373
|
throw new jr(
|
|
37373
37374
|
`Graph.${e}: you cannot add an undirected edge to a directed graph. Use the #.addEdge or #.addDirectedEdge instead.`
|
|
37374
37375
|
);
|
|
37375
|
-
if (a && !
|
|
37376
|
+
if (a && !eo(a))
|
|
37376
37377
|
throw new hr(
|
|
37377
37378
|
`Graph.${e}: invalid attributes. Expecting an object but got "${a}"`
|
|
37378
37379
|
);
|
|
@@ -37432,7 +37433,7 @@ function Tyt(t, e, r, n, i, o, s, a, u) {
|
|
|
37432
37433
|
throw new hr(
|
|
37433
37434
|
`Graph.${e}: invalid updater function. Expecting a function but got "${a}"`
|
|
37434
37435
|
);
|
|
37435
|
-
} else if (!
|
|
37436
|
+
} else if (!eo(a))
|
|
37436
37437
|
throw new hr(
|
|
37437
37438
|
`Graph.${e}: invalid attributes. Expecting an object but got "${a}"`
|
|
37438
37439
|
);
|
|
@@ -38274,7 +38275,7 @@ class ci extends tgt.EventEmitter {
|
|
|
38274
38275
|
* @return {any} - The node.
|
|
38275
38276
|
*/
|
|
38276
38277
|
mergeNode(e, r) {
|
|
38277
|
-
if (r && !
|
|
38278
|
+
if (r && !eo(r))
|
|
38278
38279
|
throw new hr(
|
|
38279
38280
|
`Graph.mergeNode: invalid attributes. Expecting an object but got "${r}"`
|
|
38280
38281
|
);
|
|
@@ -38550,7 +38551,7 @@ class ci extends tgt.EventEmitter {
|
|
|
38550
38551
|
* @throws {Error} - Will throw if given attributes are not a plain object.
|
|
38551
38552
|
*/
|
|
38552
38553
|
replaceAttributes(e) {
|
|
38553
|
-
if (!
|
|
38554
|
+
if (!eo(e))
|
|
38554
38555
|
throw new hr(
|
|
38555
38556
|
"Graph.replaceAttributes: provided attributes are not a plain object."
|
|
38556
38557
|
);
|
|
@@ -38568,7 +38569,7 @@ class ci extends tgt.EventEmitter {
|
|
|
38568
38569
|
* @throws {Error} - Will throw if given attributes are not a plain object.
|
|
38569
38570
|
*/
|
|
38570
38571
|
mergeAttributes(e) {
|
|
38571
|
-
if (!
|
|
38572
|
+
if (!eo(e))
|
|
38572
38573
|
throw new hr(
|
|
38573
38574
|
"Graph.mergeAttributes: provided attributes are not a plain object."
|
|
38574
38575
|
);
|
|
@@ -38883,12 +38884,12 @@ class ci extends tgt.EventEmitter {
|
|
|
38883
38884
|
}), e.forEachEdge((u, d, T, f, Q, y, v) => {
|
|
38884
38885
|
r ? v ? this.mergeUndirectedEdgeWithKey(u, T, f, d) : this.mergeDirectedEdgeWithKey(u, T, f, d) : v ? this.addUndirectedEdgeWithKey(u, T, f, d) : this.addDirectedEdgeWithKey(u, T, f, d);
|
|
38885
38886
|
}), this;
|
|
38886
|
-
if (!
|
|
38887
|
+
if (!eo(e))
|
|
38887
38888
|
throw new hr(
|
|
38888
38889
|
"Graph.import: invalid argument. Expecting a serialized graph or, alternatively, a Graph instance."
|
|
38889
38890
|
);
|
|
38890
38891
|
if (e.attributes) {
|
|
38891
|
-
if (!
|
|
38892
|
+
if (!eo(e.attributes))
|
|
38892
38893
|
throw new hr(
|
|
38893
38894
|
"Graph.import: invalid attributes. Expecting a plain object."
|
|
38894
38895
|
);
|
|
@@ -66270,7 +66271,7 @@ Y6.retryAfter = QIt;
|
|
|
66270
66271
|
asyncLoad: null
|
|
66271
66272
|
};
|
|
66272
66273
|
})(bg);
|
|
66273
|
-
var MH = {}, ld = {},
|
|
66274
|
+
var MH = {}, ld = {}, W1 = {};
|
|
66274
66275
|
(function(t) {
|
|
66275
66276
|
var e = P && P.__values || function(O) {
|
|
66276
66277
|
var I = typeof Symbol == "function" && Symbol.iterator, R = I && O[I], F = 0;
|
|
@@ -66475,7 +66476,7 @@ var MH = {}, ld = {}, Z1 = {};
|
|
|
66475
66476
|
return R === void 0 && (R = null), I.hasOwnProperty(O) ? I[O] : R;
|
|
66476
66477
|
}
|
|
66477
66478
|
t.lookup = x;
|
|
66478
|
-
})(
|
|
66479
|
+
})(W1);
|
|
66479
66480
|
var tl = {}, mIt = P && P.__extends || /* @__PURE__ */ function() {
|
|
66480
66481
|
var t = function(e, r) {
|
|
66481
66482
|
return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
|
|
@@ -66584,7 +66585,7 @@ var yIt = a0, _It = function(t) {
|
|
|
66584
66585
|
tl.FunctionList = _It;
|
|
66585
66586
|
Object.defineProperty(ld, "__esModule", { value: !0 });
|
|
66586
66587
|
ld.AbstractInputJax = void 0;
|
|
66587
|
-
var oD =
|
|
66588
|
+
var oD = W1, sD = tl, vIt = function() {
|
|
66588
66589
|
function t(e) {
|
|
66589
66590
|
e === void 0 && (e = {}), this.adaptor = null, this.mmlFactory = null;
|
|
66590
66591
|
var r = this.constructor;
|
|
@@ -66619,7 +66620,7 @@ ld.AbstractInputJax = vIt;
|
|
|
66619
66620
|
var xg = {}, Eg = {};
|
|
66620
66621
|
Object.defineProperty(Eg, "__esModule", { value: !0 });
|
|
66621
66622
|
Eg.AbstractFindMath = void 0;
|
|
66622
|
-
var aD =
|
|
66623
|
+
var aD = W1, bIt = function() {
|
|
66623
66624
|
function t(e) {
|
|
66624
66625
|
var r = this.constructor;
|
|
66625
66626
|
this.options = (0, aD.userOptions)((0, aD.defaultOptions)({}, r.OPTIONS), e);
|
|
@@ -69611,22 +69612,22 @@ var R0 = P && P.__values || function(t) {
|
|
|
69611
69612
|
return t && t.__esModule ? t : { default: t };
|
|
69612
69613
|
};
|
|
69613
69614
|
Object.defineProperty(SH, "__esModule", { value: !0 });
|
|
69614
|
-
var dD = Cr,
|
|
69615
|
+
var dD = Cr, J1 = jIt(fi), bE;
|
|
69615
69616
|
(function(t) {
|
|
69616
69617
|
t.cleanStretchy = function(o) {
|
|
69617
69618
|
var s, a, u = o.data;
|
|
69618
69619
|
try {
|
|
69619
69620
|
for (var d = R0(u.getList("fixStretchy")), T = d.next(); !T.done; T = d.next()) {
|
|
69620
69621
|
var f = T.value;
|
|
69621
|
-
if (
|
|
69622
|
-
var Q =
|
|
69623
|
-
Q && Q[3] && Q[3].stretchy &&
|
|
69622
|
+
if (J1.default.getProperty(f, "fixStretchy")) {
|
|
69623
|
+
var Q = J1.default.getForm(f);
|
|
69624
|
+
Q && Q[3] && Q[3].stretchy && J1.default.setAttribute(f, "stretchy", !1);
|
|
69624
69625
|
var y = f.parent;
|
|
69625
|
-
if (!
|
|
69626
|
+
if (!J1.default.getTexClass(f) && (!Q || !Q[2])) {
|
|
69626
69627
|
var v = u.nodeFactory.create("node", "TeXAtom", [f]);
|
|
69627
69628
|
y.replaceChild(v, f), v.inheritAttributesFrom(f);
|
|
69628
69629
|
}
|
|
69629
|
-
|
|
69630
|
+
J1.default.removeProperties(f, "fixStretchy");
|
|
69630
69631
|
}
|
|
69631
69632
|
}
|
|
69632
69633
|
} catch (L) {
|
|
@@ -69668,10 +69669,10 @@ var dD = Cr, Y1 = jIt(fi), bE;
|
|
|
69668
69669
|
try {
|
|
69669
69670
|
for (var f = R0(o.data.getList("mo")), Q = f.next(); !Q.done; Q = f.next()) {
|
|
69670
69671
|
var y = Q.value;
|
|
69671
|
-
if (!(y.getProperty("relationsCombined") || !y.parent || y.parent && !
|
|
69672
|
-
for (var v = y.parent, L = void 0, E = v.childNodes, x = E.indexOf(y) + 1, O =
|
|
69673
|
-
if (O ===
|
|
69674
|
-
|
|
69672
|
+
if (!(y.getProperty("relationsCombined") || !y.parent || y.parent && !J1.default.isType(y.parent, "mrow") || J1.default.getTexClass(y) !== dD.TEXCLASS.REL)) {
|
|
69673
|
+
for (var v = y.parent, L = void 0, E = v.childNodes, x = E.indexOf(y) + 1, O = J1.default.getProperty(y, "variantForm"); x < E.length && (L = E[x]) && J1.default.isType(L, "mo") && J1.default.getTexClass(L) === dD.TEXCLASS.REL; )
|
|
69674
|
+
if (O === J1.default.getProperty(L, "variantForm") && r(y, L)) {
|
|
69675
|
+
J1.default.appendChildren(y, J1.default.getChildren(L)), e(["stretchy", "rspace"], y, L);
|
|
69675
69676
|
try {
|
|
69676
69677
|
for (var I = (u = void 0, R0(L.getPropertyNames())), R = I.next(); !R.done; R = I.next()) {
|
|
69677
69678
|
var F = R.value;
|
|
@@ -69689,7 +69690,7 @@ var dD = Cr, Y1 = jIt(fi), bE;
|
|
|
69689
69690
|
}
|
|
69690
69691
|
E.splice(x, 1), T.push(L), L.parent = null, L.setProperty("relationsCombined", !0);
|
|
69691
69692
|
} else {
|
|
69692
|
-
y.attributes.getExplicit("rspace") == null &&
|
|
69693
|
+
y.attributes.getExplicit("rspace") == null && J1.default.setAttribute(y, "rspace", "0pt"), L.attributes.getExplicit("lspace") == null && J1.default.setAttribute(L, "lspace", "0pt");
|
|
69693
69694
|
break;
|
|
69694
69695
|
}
|
|
69695
69696
|
y.attributes.setInherited("form", y.getForms()[0]);
|
|
@@ -69746,7 +69747,7 @@ var dD = Cr, Y1 = jIt(fi), bE;
|
|
|
69746
69747
|
var y = Q.value, v = y.childNodes;
|
|
69747
69748
|
if (!(v[y[s]] && v[y[a]])) {
|
|
69748
69749
|
var L = y.parent, E = v[y[s]] ? o.nodeFactory.create("node", "m" + s, [v[y.base], v[y[s]]]) : o.nodeFactory.create("node", "m" + a, [v[y.base], v[y[a]]]);
|
|
69749
|
-
|
|
69750
|
+
J1.default.copyAttributes(y, E), L ? L.replaceChild(E, y) : o.root = E, T.push(y);
|
|
69750
69751
|
}
|
|
69751
69752
|
}
|
|
69752
69753
|
} catch (x) {
|
|
@@ -69774,7 +69775,7 @@ var dD = Cr, Y1 = jIt(fi), bE;
|
|
|
69774
69775
|
var v = y.childNodes[y.base], L = v.coreMO();
|
|
69775
69776
|
if (v.getProperty("movablelimits") && !L.attributes.getExplicit("movablelimits")) {
|
|
69776
69777
|
var E = o.nodeFactory.create("node", a, y.childNodes);
|
|
69777
|
-
|
|
69778
|
+
J1.default.copyAttributes(y, E), y.parent ? y.parent.replaceChild(E, y) : o.root = E, T.push(y);
|
|
69778
69779
|
}
|
|
69779
69780
|
}
|
|
69780
69781
|
}
|
|
@@ -71418,7 +71419,7 @@ var ukt = P && P.__read || function(t, e) {
|
|
|
71418
71419
|
return t && t.__esModule ? t : { default: t };
|
|
71419
71420
|
};
|
|
71420
71421
|
Object.defineProperty(Hg, "__esModule", { value: !0 });
|
|
71421
|
-
var dkt = qX(AH), pkt = F8, LD = qX(fi), wD =
|
|
71422
|
+
var dkt = qX(AH), pkt = F8, LD = qX(fi), wD = W1, Tkt = function() {
|
|
71422
71423
|
function t(e, r) {
|
|
71423
71424
|
r === void 0 && (r = []), this.options = {}, this.packageData = /* @__PURE__ */ new Map(), this.parsers = [], this.root = null, this.nodeLists = {}, this.error = !1, this.handlers = e.handlers, this.nodeFactory = new pkt.NodeFactory(), this.nodeFactory.configuration = this, this.nodeFactory.setCreators(e.nodes), this.itemFactory = new dkt.default(e.items), this.itemFactory.configuration = this, wD.defaultOptions.apply(void 0, hkt([this.options], ukt(r), !1)), (0, wD.defaultOptions)(this.options, e.options);
|
|
71424
71425
|
}
|
|
@@ -71922,7 +71923,7 @@ var yn = {}, ud = {};
|
|
|
71922
71923
|
return E;
|
|
71923
71924
|
};
|
|
71924
71925
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ParserConfiguration = t.ConfigurationHandler = t.Configuration = void 0;
|
|
71925
|
-
var n =
|
|
71926
|
+
var n = W1, i = ud, o = tl, s = a0, a = x4, u = function() {
|
|
71926
71927
|
function f(Q, y, v, L, E, x, O, I, R, F, U, $, tt) {
|
|
71927
71928
|
y === void 0 && (y = {}), v === void 0 && (v = {}), L === void 0 && (L = {}), E === void 0 && (E = {}), x === void 0 && (x = {}), O === void 0 && (O = {}), I === void 0 && (I = []), R === void 0 && (R = []), F === void 0 && (F = null), U === void 0 && (U = null), this.name = Q, this.handler = y, this.fallback = v, this.items = L, this.tags = E, this.options = x, this.nodes = O, this.preprocessors = I, this.postprocessors = R, this.initMethod = F, this.configMethod = U, this.priority = $, this.parser = tt, this.handler = Object.assign({ character: [], delimiter: [], macro: [], environment: [] }, y);
|
|
71928
71929
|
}
|
|
@@ -73309,7 +73310,7 @@ var f8 = P && P.__assign || function() {
|
|
|
73309
73310
|
return t && t.__esModule ? t : { default: t };
|
|
73310
73311
|
};
|
|
73311
73312
|
Object.defineProperty(_2, "__esModule", { value: !0 });
|
|
73312
|
-
var VH = Wkt(Sr), ir = Ag(fi), S1 = Ag(Cn), Og = Ag(Mo()), RH = ao, a1 = Ag(Qi()), B8 = Cr, eK = x4, rK = x3, xE = cd, qkt =
|
|
73313
|
+
var VH = Wkt(Sr), ir = Ag(fi), S1 = Ag(Cn), Og = Ag(Mo()), RH = ao, a1 = Ag(Qi()), B8 = Cr, eK = x4, rK = x3, xE = cd, qkt = W1, _r = {}, Xkt = 1.2 / 0.85, Kkt = {
|
|
73313
73314
|
fontfamily: 1,
|
|
73314
73315
|
fontsize: 1,
|
|
73315
73316
|
fontweight: 1,
|
|
@@ -74758,7 +74759,7 @@ var yPt = P && P.__extends || /* @__PURE__ */ function() {
|
|
|
74758
74759
|
return t && t.__esModule ? t : { default: t };
|
|
74759
74760
|
};
|
|
74760
74761
|
Object.defineProperty(MH, "__esModule", { value: !0 });
|
|
74761
|
-
var cK = MH.TeX = void 0, ED = ld, MD =
|
|
74762
|
+
var cK = MH.TeX = void 0, ED = ld, MD = W1, SD = xg, Ul = dd(SH), HD = dd(fi), vPt = dd(Mo()), bPt = dd(Cn), LPt = dd(Hg), uT = x4, wPt = yn, xPt = function(t) {
|
|
74762
74763
|
yPt(e, t);
|
|
74763
74764
|
function e(r) {
|
|
74764
74765
|
r === void 0 && (r = {});
|
|
@@ -74811,7 +74812,7 @@ cK = MH.TeX = xPt;
|
|
|
74811
74812
|
var AD = {}, Cg = {}, pd = {};
|
|
74812
74813
|
Object.defineProperty(pd, "__esModule", { value: !0 });
|
|
74813
74814
|
pd.AbstractOutputJax = void 0;
|
|
74814
|
-
var OD =
|
|
74815
|
+
var OD = W1, EPt = tl, MPt = function() {
|
|
74815
74816
|
function t(e) {
|
|
74816
74817
|
e === void 0 && (e = {}), this.adaptor = null;
|
|
74817
74818
|
var r = this.constructor;
|
|
@@ -75416,7 +75417,7 @@ var VPt = P && P.__extends || /* @__PURE__ */ function() {
|
|
|
75416
75417
|
};
|
|
75417
75418
|
Object.defineProperty(Cg, "__esModule", { value: !0 });
|
|
75418
75419
|
Cg.CommonOutputJax = void 0;
|
|
75419
|
-
var kD = pd, OL = R8, RPt =
|
|
75420
|
+
var kD = pd, OL = R8, RPt = W1, NPt = x3, DPt = Td, FPt = Ig, BPt = function(t) {
|
|
75420
75421
|
VPt(e, t);
|
|
75421
75422
|
function e(r, n, i) {
|
|
75422
75423
|
r === void 0 && (r = null), n === void 0 && (n = null), i === void 0 && (i = null);
|
|
@@ -75872,7 +75873,7 @@ var T2 = {}, im = P && P.__assign || function() {
|
|
|
75872
75873
|
};
|
|
75873
75874
|
Object.defineProperty(T2, "__esModule", { value: !0 });
|
|
75874
75875
|
T2.FontData = T2.NOSTRETCH = T2.H = T2.V = void 0;
|
|
75875
|
-
var VD =
|
|
75876
|
+
var VD = W1;
|
|
75876
75877
|
T2.V = 1;
|
|
75877
75878
|
T2.H = 2;
|
|
75878
75879
|
T2.NOSTRETCH = { dir: 0 };
|
|
@@ -90971,7 +90972,7 @@ v8.BitFieldClass = nBt;
|
|
|
90971
90972
|
return I.concat(tt || Array.prototype.slice.call(R));
|
|
90972
90973
|
};
|
|
90973
90974
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.AbstractMathDocument = t.resetAllOptions = t.resetOptions = t.RenderList = void 0;
|
|
90974
|
-
var o =
|
|
90975
|
+
var o = W1, s = ld, a = pd, u = kd, d = R8, T = e_, f = v8, Q = a0, y = function(I) {
|
|
90975
90976
|
e(R, I);
|
|
90976
90977
|
function R() {
|
|
90977
90978
|
return I !== null && I.apply(this, arguments) || this;
|
|
@@ -91570,7 +91571,7 @@ var h_ = {}, dB = P && P.__read || function(t, e) {
|
|
|
91570
91571
|
};
|
|
91571
91572
|
Object.defineProperty(h_, "__esModule", { value: !0 });
|
|
91572
91573
|
h_.HTMLDomStrings = void 0;
|
|
91573
|
-
var Cu =
|
|
91574
|
+
var Cu = W1, pBt = function() {
|
|
91574
91575
|
function t(e) {
|
|
91575
91576
|
e === void 0 && (e = null);
|
|
91576
91577
|
var r = this.constructor;
|
|
@@ -91678,7 +91679,7 @@ var TBt = P && P.__extends || /* @__PURE__ */ function() {
|
|
|
91678
91679
|
};
|
|
91679
91680
|
Object.defineProperty(l_, "__esModule", { value: !0 });
|
|
91680
91681
|
l_.HTMLDocument = void 0;
|
|
91681
|
-
var XL = YH, KL =
|
|
91682
|
+
var XL = YH, KL = W1, fBt = c_, QBt = u_, pB = h_, YL = R8, mBt = function(t) {
|
|
91682
91683
|
TBt(e, t);
|
|
91683
91684
|
function e(r, n, i) {
|
|
91684
91685
|
var o = this, s = HT((0, KL.separateOptions)(i, pB.HTMLDomStrings.OPTIONS), 2), a = s[0], u = s[1];
|
|
@@ -94448,7 +94449,7 @@ var JK = P && P.__values || function(t) {
|
|
|
94448
94449
|
}, aw;
|
|
94449
94450
|
Object.defineProperty(TA, "__esModule", { value: !0 });
|
|
94450
94451
|
TA.ConfigMacrosConfiguration = void 0;
|
|
94451
|
-
var eY = yn, wB =
|
|
94452
|
+
var eY = yn, wB = W1, xB = Vr, Bjt = tY(ha), UE = aa, GE = tY(Pd), EB = Vd, $E = "configmacros-map", ZE = "configmacros-env-map";
|
|
94452
94453
|
function jjt(t) {
|
|
94453
94454
|
new xB.CommandMap($E, {}, {}), new xB.EnvironmentMap(ZE, Bjt.default.environment, {}, {}), t.append(eY.Configuration.local({
|
|
94454
94455
|
handler: {
|
|
@@ -94816,7 +94817,7 @@ function iY() {
|
|
|
94816
94817
|
return T && T.__esModule ? T : { default: T };
|
|
94817
94818
|
};
|
|
94818
94819
|
Object.defineProperty(Iu, "__esModule", { value: !0 }), Iu.MathtoolsUtil = void 0;
|
|
94819
|
-
var r = Sr, n = e(Qi()), i = e(Mo()), o = e(Cn), s = aa, a =
|
|
94820
|
+
var r = Sr, n = e(Qi()), i = e(Mo()), o = e(Cn), s = aa, a = W1, u = oY(), d = sY();
|
|
94820
94821
|
return Iu.MathtoolsUtil = {
|
|
94821
94822
|
setDisplayLevel: function(T, f) {
|
|
94822
94823
|
if (f) {
|
|
@@ -94912,7 +94913,7 @@ function oY() {
|
|
|
94912
94913
|
return x && x.__esModule ? x : { default: x };
|
|
94913
94914
|
};
|
|
94914
94915
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.MathtoolsMethods = void 0;
|
|
94915
|
-
var o = i(Qi()), s = j8, a = i(_2), u = i(Mo()), d = i(Cn), T = i(fi), f = Cr, Q = x3, y =
|
|
94916
|
+
var o = i(Qi()), s = j8, a = i(_2), u = i(Mo()), d = i(Cn), T = i(fi), f = Cr, Q = x3, y = W1, v = i(U8), L = i(Pd), E = iY();
|
|
94916
94917
|
t.MathtoolsMethods = {
|
|
94917
94918
|
MtMatrix: function(x, O, I, R) {
|
|
94918
94919
|
var F = x.GetBrackets("\\begin{".concat(O.getName(), "}"), "c");
|
|
@@ -95500,7 +95501,7 @@ function sY() {
|
|
|
95500
95501
|
return v && v.__esModule ? v : { default: v };
|
|
95501
95502
|
}, n;
|
|
95502
95503
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.MathtoolsConfiguration = t.fixPrescripts = t.PAIREDDELIMS = void 0;
|
|
95503
|
-
var i = yn, o = Vr, s = r(fi), a =
|
|
95504
|
+
var i = yn, o = Vr, s = r(fi), a = W1;
|
|
95504
95505
|
uzt();
|
|
95505
95506
|
var u = iY(), d = b_, T = L_;
|
|
95506
95507
|
t.PAIREDDELIMS = "mathtools-paired-delims";
|
|
@@ -97923,7 +97924,7 @@ var qzt = {};
|
|
|
97923
97924
|
return Q && Q.__esModule ? Q : { default: Q };
|
|
97924
97925
|
};
|
|
97925
97926
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SetOptionsConfiguration = t.SetOptionsUtil = void 0;
|
|
97926
|
-
var n = yn, i = Vr, o = r(Cn), s = r(Qi()), a = aa, u = r(_2), d =
|
|
97927
|
+
var n = yn, i = Vr, o = r(Cn), s = r(Qi()), a = aa, u = r(_2), d = W1;
|
|
97927
97928
|
t.SetOptionsUtil = {
|
|
97928
97929
|
filterPackage: function(Q, y) {
|
|
97929
97930
|
if (y !== "tex" && !n.ConfigurationHandler.get(y))
|
|
@@ -101363,7 +101364,8 @@ const qUt = ZUt("main", {
|
|
|
101363
101364
|
this.setStateRequired = !1;
|
|
101364
101365
|
},
|
|
101365
101366
|
setup(t) {
|
|
101366
|
-
|
|
101367
|
+
let e = ln("$annotator");
|
|
101368
|
+
return e || (e = Ls(new BUt(`${t.flatmapAPI}annotator`)), $1("$annotator", e)), { annotator: e };
|
|
101367
101369
|
},
|
|
101368
101370
|
methods: {
|
|
101369
101371
|
/**
|
|
@@ -101373,12 +101375,12 @@ const qUt = ZUt("main", {
|
|
|
101373
101375
|
initialiseDrawing: function() {
|
|
101374
101376
|
this.connectionEntry = {}, this.activeDrawTool = void 0, this.activeDrawMode = void 0, this.drawnCreatedEvent = {};
|
|
101375
101377
|
},
|
|
101376
|
-
/**
|
|
101378
|
+
/**
|
|
101377
101379
|
* @public
|
|
101378
101380
|
* Function to cancel a newly drawn feature.
|
|
101379
101381
|
*/
|
|
101380
101382
|
cancelDrawnFeature: function() {
|
|
101381
|
-
this.isValidDrawnCreated && (this.closeTooltip(), this.annotationEntry = {
|
|
101383
|
+
this.isValidDrawnCreated && (this.annotationSidebar && this.$emit("annotation-close"), this.closeTooltip(), this.annotationEntry = {
|
|
101382
101384
|
...this.drawnCreatedEvent.feature,
|
|
101383
101385
|
resourceId: this.serverURL
|
|
101384
101386
|
}, this.rollbackAnnotationEvent(), this.initialiseDrawing());
|
|
@@ -101420,7 +101422,7 @@ const qUt = ZUt("main", {
|
|
|
101420
101422
|
* @arg {String} `name`
|
|
101421
101423
|
*/
|
|
101422
101424
|
toolbarEvent: function(t, e) {
|
|
101423
|
-
if (this.closeTooltip(), this.doubleClickedFeature = !1, this.connectionEntry = {}, t === "mode")
|
|
101425
|
+
if (this.closeTooltip(), this.annotationSidebar && this.$emit("annotation-close"), this.doubleClickedFeature = !1, this.connectionEntry = {}, t === "mode")
|
|
101424
101426
|
this.changeAnnotationDrawMode({ mode: "simple_select" }), this.activeDrawMode = e, Object.keys(this.annotationEntry).length > 0 && !this.featureAnnotationSubmitted && this.rollbackAnnotationEvent();
|
|
101425
101427
|
else if (t === "tool") {
|
|
101426
101428
|
if (e) {
|
|
@@ -101497,7 +101499,7 @@ const qUt = ZUt("main", {
|
|
|
101497
101499
|
*/
|
|
101498
101500
|
commitAnnotationEvent: function(t) {
|
|
101499
101501
|
this.mapImp && ["created", "updated", "deleted"].includes(this.annotationEntry.type) && // Only when annotation comments stored successfully
|
|
101500
|
-
t && (this.featureAnnotationSubmitted = !0, this.mapImp.commitAnnotationEvent(this.annotationEntry), this.annotationEntry.type === "deleted" ? (this.closeTooltip(), this.annotationEntry = {}) : this.addAnnotationFeature());
|
|
101502
|
+
t && (this.featureAnnotationSubmitted = !0, this.mapImp.commitAnnotationEvent(this.annotationEntry), this.annotationEntry.type === "deleted" ? (this.annotationSidebar && this.$emit("annotation-close"), this.closeTooltip(), this.annotationEntry = {}) : this.addAnnotationFeature());
|
|
101501
101503
|
},
|
|
101502
101504
|
/**
|
|
101503
101505
|
* @public
|
|
@@ -101647,7 +101649,7 @@ const qUt = ZUt("main", {
|
|
|
101647
101649
|
* @arg {Boolean} `flag`
|
|
101648
101650
|
*/
|
|
101649
101651
|
setColour: function(t) {
|
|
101650
|
-
this.colourRadio = t, this.mapImp && this.mapImp.
|
|
101652
|
+
this.colourRadio = t, this.mapImp && this.mapImp.setPaint({ colour: t, outline: this.outlinesRadio });
|
|
101651
101653
|
},
|
|
101652
101654
|
/**
|
|
101653
101655
|
* @public
|
|
@@ -101656,7 +101658,7 @@ const qUt = ZUt("main", {
|
|
|
101656
101658
|
* @arg {Boolean} `flag`
|
|
101657
101659
|
*/
|
|
101658
101660
|
setOutlines: function(t) {
|
|
101659
|
-
this.outlineRadio = t, this.mapImp && this.mapImp.
|
|
101661
|
+
this.outlineRadio = t, this.mapImp && this.mapImp.setPaint({ colour: this.colourRadio, outline: t });
|
|
101660
101662
|
},
|
|
101661
101663
|
/**
|
|
101662
101664
|
* @public
|
|
@@ -101981,7 +101983,7 @@ const qUt = ZUt("main", {
|
|
|
101981
101983
|
* @arg {String} `modeName`
|
|
101982
101984
|
*/
|
|
101983
101985
|
changeViewingMode: function(t) {
|
|
101984
|
-
t && (this.viewingMode = t), this.closeTooltip();
|
|
101986
|
+
t && (this.viewingMode = t), this.annotationSidebar && this.$emit("annotation-close"), this.closeTooltip();
|
|
101985
101987
|
},
|
|
101986
101988
|
/**
|
|
101987
101989
|
* @public
|
|
@@ -102130,7 +102132,7 @@ const qUt = ZUt("main", {
|
|
|
102130
102132
|
*/
|
|
102131
102133
|
displayTooltip: function(t, e = void 0) {
|
|
102132
102134
|
let r, n = { className: "flatmapvuer-popover" };
|
|
102133
|
-
e ? (r = t, n.annotationFeatureGeometry = e) : (r = this.mapImp.modelFeatureIds(t)[0], this.activeDrawTool || (n.positionAtLastClick = !0)), this.connectivityInfoSidebar && this.hasTooltipEntry() && this.viewingMode !== "Annotation" && (this.featuresAlert && (this.tooltipEntry.featuresAlert = this.featuresAlert), this.$emit("connectivity-info-open", this.tooltipEntry)), !this.disableUI && (this.viewingMode === "Annotation" && this.userInformation || this.viewingMode === "Exploration" && !this.connectivityInfoSidebar && this.hasTooltipEntry()) && (this.tooltipDisplay = !0, this.$nextTick(() => {
|
|
102135
|
+
e ? (r = t, n.annotationFeatureGeometry = e) : (r = this.mapImp.modelFeatureIds(t)[0], this.activeDrawTool || (n.positionAtLastClick = !0)), this.connectivityInfoSidebar && this.hasTooltipEntry() && this.viewingMode !== "Annotation" && (this.featuresAlert && (this.tooltipEntry.featuresAlert = this.featuresAlert), this.$emit("connectivity-info-open", this.tooltipEntry)), this.annotationSidebar && this.viewingMode === "Annotation" && this.$emit("annotation-open", { annotationEntry: this.annotationEntry, commitCallback: this.commitAnnotationEvent }), !this.disableUI && (this.viewingMode === "Annotation" && !this.annotationSidebar && this.userInformation || this.viewingMode === "Exploration" && !this.connectivityInfoSidebar && this.hasTooltipEntry()) && (this.tooltipDisplay = !0, this.$nextTick(() => {
|
|
102134
102136
|
this.mapImp.showPopup(r, this.$refs.tooltip.$el, n), this.popUpCssHacks();
|
|
102135
102137
|
}));
|
|
102136
102138
|
},
|
|
@@ -102301,7 +102303,7 @@ const qUt = ZUt("main", {
|
|
|
102301
102303
|
*/
|
|
102302
102304
|
onFlatmapReady: function() {
|
|
102303
102305
|
var t, e;
|
|
102304
|
-
this.sensor = Ls(new Z3t(this.$refs.display, this.mapResize)),
|
|
102306
|
+
this.sensor = Ls(new Z3t(this.$refs.display, this.mapResize)), ((t = this.mapImp.options) == null ? void 0 : t.style) === "functional" ? this.isFC = !0 : ((e = this.mapImp.options) == null ? void 0 : e.style) === "centreline" && (this.isCentreLine = !0), this.mapImp.setBackgroundOpacity(1), this.backgroundChangeCallback(this.currentBackground), this.pathways = this.mapImp.pathTypes(), this.isCentreLine || this.mapImp.enableCentrelines(!1), this.processSystems(this.mapImp.getSystems()), this.processTaxon(this.flatmapAPI, this.mapImp.taxonIdentifiers), this.containsAlert = "alert" in this.mapImp.featureFilterRanges(), this.addResizeButtonToMinimap(), this.loading = !1, this.computePathControlsMaximumHeight(), this.drawerOpen = !this.isCentreLine, this.mapResize(), this.handleMapClick(), this.$emit("ready", this);
|
|
102305
102307
|
},
|
|
102306
102308
|
/**
|
|
102307
102309
|
* @public
|
|
@@ -102559,13 +102561,19 @@ const qUt = ZUt("main", {
|
|
|
102559
102561
|
connectivityInfoSidebar: {
|
|
102560
102562
|
type: Boolean,
|
|
102561
102563
|
default: !1
|
|
102564
|
+
},
|
|
102565
|
+
/**
|
|
102566
|
+
* The option to show annotation in sidebar
|
|
102567
|
+
*/
|
|
102568
|
+
annotationSidebar: {
|
|
102569
|
+
type: Boolean,
|
|
102570
|
+
default: !1
|
|
102562
102571
|
}
|
|
102563
102572
|
},
|
|
102564
102573
|
provide() {
|
|
102565
102574
|
return {
|
|
102566
102575
|
flatmapAPI: this.flatmapAPI,
|
|
102567
102576
|
sparcAPI: this.sparcAPI,
|
|
102568
|
-
$annotator: this.annotator,
|
|
102569
102577
|
getFeaturesAlert: () => this.featuresAlert,
|
|
102570
102578
|
userApiKey: this.userToken
|
|
102571
102579
|
};
|
|
@@ -102743,7 +102751,7 @@ const qUt = ZUt("main", {
|
|
|
102743
102751
|
mounted: function() {
|
|
102744
102752
|
this.openMapRef = Zf(this.$refs.openMapRef), this.backgroundIconRef = Zf(this.$refs.backgroundIconRef), this.tooltipWait.length = this.hoverVisibilities.length, this.mapManager = Ls(new HA(this.flatmapAPI)), this.flatmapQueries = Ls(new U3t()), this.flatmapQueries.initialise(this.flatmapAPI), this.state ? this.setStateRequired && this.setState(this.state) : this.renderAtMounted && this.createFlatmap();
|
|
102745
102753
|
}
|
|
102746
|
-
}, fa = (t) => (iM("data-v-
|
|
102754
|
+
}, fa = (t) => (iM("data-v-2814d4b4"), t = t(), oM(), t), JUt = {
|
|
102747
102755
|
class: "flatmap-container",
|
|
102748
102756
|
ref: "flatmapContainer",
|
|
102749
102757
|
"element-loading-text": "Loading...",
|
|
@@ -102802,7 +102810,7 @@ function bGt(t, e, r, n, i, o) {
|
|
|
102802
102810
|
]),
|
|
102803
102811
|
_: 1
|
|
102804
102812
|
}),
|
|
102805
|
-
r.isLegacy ? (oe(), Ye(
|
|
102813
|
+
r.isLegacy ? (oe(), Ye(to, { key: 0 }, [
|
|
102806
102814
|
aGt,
|
|
102807
102815
|
We("div", {
|
|
102808
102816
|
class: "latest-map-text",
|
|
@@ -103151,7 +103159,7 @@ function bGt(t, e, r, n, i, o) {
|
|
|
103151
103159
|
"virtual-triggering": ""
|
|
103152
103160
|
}, {
|
|
103153
103161
|
default: Te(() => [
|
|
103154
|
-
(oe(!0), Ye(
|
|
103162
|
+
(oe(!0), Ye(to, null, Ka(r.openMapOptions, (et) => (oe(), Hr(O, {
|
|
103155
103163
|
key: et.key
|
|
103156
103164
|
}, {
|
|
103157
103165
|
default: Te(() => [
|
|
@@ -103192,7 +103200,7 @@ function bGt(t, e, r, n, i, o) {
|
|
|
103192
103200
|
Ce(O, { class: "backgroundControl" }, {
|
|
103193
103201
|
default: Te(() => [
|
|
103194
103202
|
We("div", gGt, [
|
|
103195
|
-
(oe(!0), Ye(
|
|
103203
|
+
(oe(!0), Ye(to, null, Ka(t.viewingModes, (et, gt, kt) => (oe(), Ye(to, { key: gt }, [
|
|
103196
103204
|
gt === t.viewingMode ? (oe(), Ye("span", yGt, [
|
|
103197
103205
|
We("b", null, Ti(gt), 1)
|
|
103198
103206
|
])) : (oe(), Ye("span", {
|
|
@@ -103211,7 +103219,7 @@ function bGt(t, e, r, n, i, o) {
|
|
|
103211
103219
|
]),
|
|
103212
103220
|
_: 1
|
|
103213
103221
|
}),
|
|
103214
|
-
t.viewingMode === "Annotation" && t.userInformation ? (oe(), Ye(
|
|
103222
|
+
t.viewingMode === "Annotation" && t.userInformation ? (oe(), Ye(to, { key: 0 }, [
|
|
103215
103223
|
Ce(O, { class: "backgroundText" }, {
|
|
103216
103224
|
default: Te(() => [
|
|
103217
103225
|
xn("Drawn By*")
|
|
@@ -103230,7 +103238,7 @@ function bGt(t, e, r, n, i, o) {
|
|
|
103230
103238
|
onChange: o.setDrawnType
|
|
103231
103239
|
}, {
|
|
103232
103240
|
default: Te(() => [
|
|
103233
|
-
(oe(!0), Ye(
|
|
103241
|
+
(oe(!0), Ye(to, null, Ka(t.drawnTypes, (et) => (oe(), Hr(R, {
|
|
103234
103242
|
key: et,
|
|
103235
103243
|
label: et,
|
|
103236
103244
|
value: et
|
|
@@ -103274,7 +103282,7 @@ function bGt(t, e, r, n, i, o) {
|
|
|
103274
103282
|
onChange: o.setAnnotatedType
|
|
103275
103283
|
}, {
|
|
103276
103284
|
default: Te(() => [
|
|
103277
|
-
(oe(!0), Ye(
|
|
103285
|
+
(oe(!0), Ye(to, null, Ka(t.annotatedTypes, (et) => (oe(), Hr(R, {
|
|
103278
103286
|
key: et,
|
|
103279
103287
|
label: et,
|
|
103280
103288
|
value: et
|
|
@@ -103326,13 +103334,13 @@ function bGt(t, e, r, n, i, o) {
|
|
|
103326
103334
|
onChange: o.setFlightPath3D
|
|
103327
103335
|
}, {
|
|
103328
103336
|
default: Te(() => [
|
|
103329
|
-
Ce(U, {
|
|
103337
|
+
Ce(U, { value: !1 }, {
|
|
103330
103338
|
default: Te(() => [
|
|
103331
103339
|
xn("2D")
|
|
103332
103340
|
]),
|
|
103333
103341
|
_: 1
|
|
103334
103342
|
}),
|
|
103335
|
-
Ce(U, {
|
|
103343
|
+
Ce(U, { value: !0 }, {
|
|
103336
103344
|
default: Te(() => [
|
|
103337
103345
|
xn("3D")
|
|
103338
103346
|
]),
|
|
@@ -103360,13 +103368,13 @@ function bGt(t, e, r, n, i, o) {
|
|
|
103360
103368
|
onChange: o.setColour
|
|
103361
103369
|
}, {
|
|
103362
103370
|
default: Te(() => [
|
|
103363
|
-
Ce(U, {
|
|
103371
|
+
Ce(U, { value: !0 }, {
|
|
103364
103372
|
default: Te(() => [
|
|
103365
103373
|
xn("Colour")
|
|
103366
103374
|
]),
|
|
103367
103375
|
_: 1
|
|
103368
103376
|
}),
|
|
103369
|
-
Ce(U, {
|
|
103377
|
+
Ce(U, { value: !1 }, {
|
|
103370
103378
|
default: Te(() => [
|
|
103371
103379
|
xn("Greyscale")
|
|
103372
103380
|
]),
|
|
@@ -103394,13 +103402,13 @@ function bGt(t, e, r, n, i, o) {
|
|
|
103394
103402
|
onChange: o.setOutlines
|
|
103395
103403
|
}, {
|
|
103396
103404
|
default: Te(() => [
|
|
103397
|
-
Ce(U, {
|
|
103405
|
+
Ce(U, { value: !0 }, {
|
|
103398
103406
|
default: Te(() => [
|
|
103399
103407
|
xn("Show")
|
|
103400
103408
|
]),
|
|
103401
103409
|
_: 1
|
|
103402
103410
|
}),
|
|
103403
|
-
Ce(U, {
|
|
103411
|
+
Ce(U, { value: !1 }, {
|
|
103404
103412
|
default: Te(() => [
|
|
103405
103413
|
xn("Hide")
|
|
103406
103414
|
]),
|
|
@@ -103421,7 +103429,7 @@ function bGt(t, e, r, n, i, o) {
|
|
|
103421
103429
|
}),
|
|
103422
103430
|
Ce(O, { class: "backgroundControl" }, {
|
|
103423
103431
|
default: Te(() => [
|
|
103424
|
-
(oe(!0), Ye(
|
|
103432
|
+
(oe(!0), Ye(to, null, Ka(t.availableBackground, (et) => (oe(), Ye("div", {
|
|
103425
103433
|
key: et,
|
|
103426
103434
|
class: Be([
|
|
103427
103435
|
"backgroundChoice",
|
|
@@ -103516,7 +103524,7 @@ function bGt(t, e, r, n, i, o) {
|
|
|
103516
103524
|
[ct, t.loading]
|
|
103517
103525
|
]);
|
|
103518
103526
|
}
|
|
103519
|
-
const LY = /* @__PURE__ */ Gm(YUt, [["render", bGt], ["__scopeId", "data-v-
|
|
103527
|
+
const LY = /* @__PURE__ */ Gm(YUt, [["render", bGt], ["__scopeId", "data-v-2814d4b4"]]);
|
|
103520
103528
|
function LGt(t) {
|
|
103521
103529
|
return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, r) {
|
|
103522
103530
|
var n = t.get(e);
|
|
@@ -103629,6 +103637,12 @@ const XB = new LGt(), KB = {
|
|
|
103629
103637
|
panZoomCallback: function(t) {
|
|
103630
103638
|
this.$emit("pan-zoom-callback", t);
|
|
103631
103639
|
},
|
|
103640
|
+
onAnnotationClose: function() {
|
|
103641
|
+
this.$emit("annotation-close");
|
|
103642
|
+
},
|
|
103643
|
+
onAnnotationOpen: function(t) {
|
|
103644
|
+
this.$emit("annotation-open", t);
|
|
103645
|
+
},
|
|
103632
103646
|
onConnectivityInfoClose: function() {
|
|
103633
103647
|
this.$emit("connectivity-info-close");
|
|
103634
103648
|
},
|
|
@@ -104018,6 +104032,13 @@ const XB = new LGt(), KB = {
|
|
|
104018
104032
|
connectivityInfoSidebar: {
|
|
104019
104033
|
type: Boolean,
|
|
104020
104034
|
default: !1
|
|
104035
|
+
},
|
|
104036
|
+
/**
|
|
104037
|
+
* The option to show connectivity information in sidebar
|
|
104038
|
+
*/
|
|
104039
|
+
annotationSidebar: {
|
|
104040
|
+
type: Boolean,
|
|
104041
|
+
default: !1
|
|
104021
104042
|
}
|
|
104022
104043
|
},
|
|
104023
104044
|
data: function() {
|
|
@@ -104038,7 +104059,7 @@ const XB = new LGt(), KB = {
|
|
|
104038
104059
|
deep: !0
|
|
104039
104060
|
}
|
|
104040
104061
|
}
|
|
104041
|
-
}, xGt = (t) => (iM("data-v-
|
|
104062
|
+
}, xGt = (t) => (iM("data-v-a7c5d2fe"), t = t(), oM(), t), EGt = {
|
|
104042
104063
|
class: "multi-container",
|
|
104043
104064
|
ref: "multiContainer"
|
|
104044
104065
|
}, MGt = {
|
|
@@ -104072,7 +104093,7 @@ function AGt(t, e, r, n, i, o) {
|
|
|
104072
104093
|
onChange: o.setSpecies
|
|
104073
104094
|
}, {
|
|
104074
104095
|
default: Te(() => [
|
|
104075
|
-
(oe(!0), Ye(
|
|
104096
|
+
(oe(!0), Ye(to, null, Ka(t.speciesList, (T, f) => (oe(), Hr(s, {
|
|
104076
104097
|
key: f,
|
|
104077
104098
|
label: f,
|
|
104078
104099
|
value: f
|
|
@@ -104094,7 +104115,7 @@ function AGt(t, e, r, n, i, o) {
|
|
|
104094
104115
|
_: 1
|
|
104095
104116
|
}, 8, ["visible"])
|
|
104096
104117
|
])),
|
|
104097
|
-
(oe(!0), Ye(
|
|
104118
|
+
(oe(!0), Ye(to, null, Ka(t.speciesList, (T, f) => pi((oe(), Hr(d, {
|
|
104098
104119
|
key: f,
|
|
104099
104120
|
entry: T.taxo,
|
|
104100
104121
|
uuid: T.uuid,
|
|
@@ -104111,6 +104132,9 @@ function AGt(t, e, r, n, i, o) {
|
|
|
104111
104132
|
onResourceSelected: o.resourceSelected,
|
|
104112
104133
|
onReady: o.FlatmapReady,
|
|
104113
104134
|
onPanZoomCallback: o.panZoomCallback,
|
|
104135
|
+
annotationSidebar: r.annotationSidebar,
|
|
104136
|
+
onAnnotationOpen: o.onAnnotationOpen,
|
|
104137
|
+
onAnnotationClose: o.onAnnotationClose,
|
|
104114
104138
|
connectivityInfoSidebar: r.connectivityInfoSidebar,
|
|
104115
104139
|
onConnectivityInfoOpen: o.onConnectivityInfoOpen,
|
|
104116
104140
|
onConnectivityInfoClose: o.onConnectivityInfoClose,
|
|
@@ -104130,12 +104154,12 @@ function AGt(t, e, r, n, i, o) {
|
|
|
104130
104154
|
style: { height: "100%" },
|
|
104131
104155
|
flatmapAPI: r.flatmapAPI,
|
|
104132
104156
|
sparcAPI: r.sparcAPI
|
|
104133
|
-
}, null, 8, ["entry", "uuid", "biologicalSex", "displayWarning", "displayLatestChanges", "isLegacy", "enableOpenMapUI", "openMapOptions", "disableUI", "onViewLatestMap", "onResourceSelected", "onReady", "onPanZoomCallback", "connectivityInfoSidebar", "onConnectivityInfoOpen", "onConnectivityInfoClose", "onPathwaySelectionChanged", "minZoom", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "renderAtMounted", "displayMinimap", "showStarInLegend", "flatmapAPI", "sparcAPI"])), [
|
|
104157
|
+
}, null, 8, ["entry", "uuid", "biologicalSex", "displayWarning", "displayLatestChanges", "isLegacy", "enableOpenMapUI", "openMapOptions", "disableUI", "onViewLatestMap", "onResourceSelected", "onReady", "onPanZoomCallback", "annotationSidebar", "onAnnotationOpen", "onAnnotationClose", "connectivityInfoSidebar", "onConnectivityInfoOpen", "onConnectivityInfoClose", "onPathwaySelectionChanged", "minZoom", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "renderAtMounted", "displayMinimap", "showStarInLegend", "flatmapAPI", "sparcAPI"])), [
|
|
104134
104158
|
[Bo, t.activeSpecies == f]
|
|
104135
104159
|
])), 128))
|
|
104136
104160
|
], 512);
|
|
104137
104161
|
}
|
|
104138
|
-
const DGt = /* @__PURE__ */ Gm(wGt, [["render", AGt], ["__scopeId", "data-v-
|
|
104162
|
+
const DGt = /* @__PURE__ */ Gm(wGt, [["render", AGt], ["__scopeId", "data-v-a7c5d2fe"]]);
|
|
104139
104163
|
export {
|
|
104140
104164
|
LY as FlatmapVuer,
|
|
104141
104165
|
DGt as MultiFlatmapVuer
|