@abi-software/mapintegratedvuer 1.1.0 → 1.2.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/{ContentMixin-Belbk7R9.js → ContentMixin-Chn7-LkR.js} +4 -5
- package/dist/{Flatmap-BEStr9DR.js → Flatmap-BYa1gZkN.js} +23 -23
- package/dist/{Iframe-CNeqS04g.js → Iframe-D4Wz_j32.js} +2 -2
- package/dist/{MultiFlatmap-CFF8nyw2.js → MultiFlatmap-C7LuHtEN.js} +25 -25
- package/dist/{Plot-BpS4tvSe.js → Plot-CI9rJRr9.js} +2 -2
- package/dist/{Scaffold-BXY9_HO6.js → Scaffold-J3mYovrG.js} +97 -97
- package/dist/{Simulation-Di2xaBxJ.js → Simulation-B1pfz5o9.js} +2 -2
- package/dist/{flatmapvuer-C67b_5lI.js → flatmapvuer-C31TbLvT.js} +39098 -34618
- package/dist/{index-CpppckRD.js → index-CB15HPC-.js} +11641 -11803
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +514 -567
- package/dist/style-8EUTEKFl.js +51 -0
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/src/components/ContentVuer.vue +10 -10
- package/src/components/SplitFlow.vue +14 -8
- package/src/components/viewers/Flatmap.vue +42 -35
- package/src/components/viewers/MultiFlatmap.vue +53 -50
- package/src/components/viewers/Scaffold.vue +43 -36
- package/src/mixins/ContentMixin.js +2 -2
- package/src/mixins/DynamicMarkerMixin.js +28 -45
- package/dist/style-CdEDV2B6.js +0 -62
@@ -1,7 +1,7 @@
|
|
1
|
-
import { w as Bw, h as Fw, _ as zw, E as Uw } from "./index-
|
2
|
-
import { ref as be, defineComponent as Oe, computed as ae, openBlock as ce, createElementBlock as Ae, mergeProps as Bi, unref as k, renderSlot as Xe, useAttrs as Vw, useSlots as us, shallowRef as Tr, watch as Ue, nextTick as pt, onMounted as Ht, toRef as zr, createCommentVNode as Be, Fragment as
|
3
|
-
import {
|
4
|
-
import { C as t_ } from "./ContentMixin-
|
1
|
+
import { w as Bw, h as Fw, _ as zw, E as Uw } from "./index-CB15HPC-.js";
|
2
|
+
import { ref as be, defineComponent as Oe, computed as ae, openBlock as ce, createElementBlock as Ae, mergeProps as Bi, unref as k, renderSlot as Xe, useAttrs as Vw, useSlots as us, shallowRef as Tr, watch as Ue, nextTick as pt, onMounted as Ht, toRef as zr, createCommentVNode as Be, Fragment as Dt, normalizeClass as ve, createElementVNode as Le, createBlock as ke, withCtx as pe, resolveDynamicComponent as Ir, withModifiers as Lt, createVNode as se, toDisplayString as bt, normalizeStyle as xt, provide as Vt, reactive as jr, onUpdated as Lu, inject as tt, onBeforeUnmount as Si, withDirectives as yt, cloneVNode as Hw, Text as P0, Comment as jw, Teleport as Gw, Transition as Cl, vShow as Zt, readonly as I0, onDeactivated as Ww, isRef as xi, vModelCheckbox as hu, createTextVNode as ht, toRefs as dn, toHandlers as $w, withKeys as Xr, getCurrentInstance as Ot, watchEffect as Tp, h as Vn, renderList as Nr, onUnmounted as N0, markRaw as Sa, warn as Yw, onBeforeMount as Zw, toRaw as nl, getCurrentScope as D0, onScopeDispose as k0, isVNode as Sd, resolveComponent as cr, resolveDirective as Xw, vModelText as qw, createApp as Jw, hasInjectionContext as Kw, effectScope as Qw, isReactive as Ep, pushScopeId as Ru, popScopeId as Ou } from "vue";
|
3
|
+
import { s as e_ } from "./flatmapvuer-C31TbLvT.js";
|
4
|
+
import { C as t_ } from "./ContentMixin-Chn7-LkR.js";
|
5
5
|
const rn = (r, e, { checkForDefaultPrevented: t = !0 } = {}) => (i) => {
|
6
6
|
const n = r == null ? void 0 : r(i);
|
7
7
|
if (t === !1 || !n)
|
@@ -37,7 +37,7 @@ function Pu(r) {
|
|
37
37
|
return D0() ? (k0(r), !0) : !1;
|
38
38
|
}
|
39
39
|
function d_(r, e = !0) {
|
40
|
-
|
40
|
+
Ot() ? Ht(r) : e ? r() : pt(r);
|
41
41
|
}
|
42
42
|
function sn(r) {
|
43
43
|
var e;
|
@@ -1481,7 +1481,7 @@ const oy = "__epPropKey", Ye = (r) => r, eA = (r) => Sr(r) && !!r[oy], Uu = (r,
|
|
1481
1481
|
rr(i) ? t.push(...Qc(i)) : Sd(i) && rr(i.children) ? t.push(...Qc(i.children)) : (t.push(i), Sd(i) && (n = i.component) != null && n.subTree && t.push(...Qc(i.component.subTree)));
|
1482
1482
|
}), t;
|
1483
1483
|
}, ly = (r) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(r), on = (r) => r, rA = ["class", "style"], iA = /^on[A-Z]/, nA = (r = {}) => {
|
1484
|
-
const { excludeListeners: e = !1, excludeKeys: t } = r, i = ae(() => ((t == null ? void 0 : t.value) || []).concat(rA)), n =
|
1484
|
+
const { excludeListeners: e = !1, excludeKeys: t } = r, i = ae(() => ((t == null ? void 0 : t.value) || []).concat(rA)), n = Ot();
|
1485
1485
|
return n ? ae(() => {
|
1486
1486
|
var o;
|
1487
1487
|
return mu(Object.entries((o = n.proxy) == null ? void 0 : o.$attrs).filter(([a]) => !i.value.includes(a) && !(e && iA.test(a))));
|
@@ -1687,7 +1687,7 @@ const aA = (r) => (e, t) => sA(e, t, k(r)), sA = (r, e, t) => nn(t, r, r).replac
|
|
1687
1687
|
let o = `${r}-${e}`;
|
1688
1688
|
return t && (o += `-${t}`), i && (o += `__${i}`), n && (o += `--${n}`), o;
|
1689
1689
|
}, uy = Symbol("namespaceContextKey"), Fp = (r) => {
|
1690
|
-
const e = r || (
|
1690
|
+
const e = r || (Ot() ? tt(uy, be(tu)) : be(tu));
|
1691
1691
|
return ae(() => k(e) || tu);
|
1692
1692
|
}, Je = (r, e) => {
|
1693
1693
|
const t = Fp(e);
|
@@ -1738,7 +1738,7 @@ const aA = (r) => (e, t) => sA(e, t, k(r)), sA = (r, e, t) => nn(t, r, r).replac
|
|
1738
1738
|
onShow: l,
|
1739
1739
|
onHide: u
|
1740
1740
|
}) => {
|
1741
|
-
const d =
|
1741
|
+
const d = Ot(), { emit: f } = d, m = d.props, h = ae(() => Mr(m[t])), p = ae(() => m[r] === null), y = (b) => {
|
1742
1742
|
o.value !== !0 && (o.value = !0, a && (a.value = b), Mr(l) && l(b));
|
1743
1743
|
}, v = (b) => {
|
1744
1744
|
o.value !== !1 && (o.value = !1, a && (a.value = b), Mr(u) && u(b));
|
@@ -1774,7 +1774,7 @@ const aA = (r) => (e, t) => sA(e, t, k(r)), sA = (r, e, t) => nn(t, r, r).replac
|
|
1774
1774
|
useModelToggleEmits: i
|
1775
1775
|
};
|
1776
1776
|
}, hy = (r) => {
|
1777
|
-
const e =
|
1777
|
+
const e = Ot();
|
1778
1778
|
return ae(() => {
|
1779
1779
|
var t, i;
|
1780
1780
|
return (i = (t = e == null ? void 0 : e.proxy) == null ? void 0 : t.$props) == null ? void 0 : i[r];
|
@@ -2414,7 +2414,7 @@ function ng() {
|
|
2414
2414
|
const Pd = {
|
2415
2415
|
prefix: Math.floor(Math.random() * 1e4),
|
2416
2416
|
current: 0
|
2417
|
-
}, v2 = Symbol("elIdInjection"), Yp = () =>
|
2417
|
+
}, v2 = Symbol("elIdInjection"), Yp = () => Ot() ? tt(v2, Pd) : Pd, Hu = (r) => {
|
2418
2418
|
const e = Yp();
|
2419
2419
|
!or && e === Pd && kt("IdInjection", `Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
|
2420
2420
|
usage: app.provide(ID_INJECTION_KEY, {
|
@@ -2512,7 +2512,7 @@ const My = () => {
|
|
2512
2512
|
}), sg = {
|
2513
2513
|
current: 0
|
2514
2514
|
}, lg = be(0), Ty = 2e3, cg = Symbol("elZIndexContextKey"), Ey = Symbol("zIndexContextKey"), Ay = (r) => {
|
2515
|
-
const e =
|
2515
|
+
const e = Ot() ? tt(cg, sg) : sg, t = r || (Ot() ? tt(Ey, void 0) : void 0), i = ae(() => {
|
2516
2516
|
const a = k(t);
|
2517
2517
|
return St(a) ? a : Ty;
|
2518
2518
|
}), n = ae(() => i.value + lg.value), o = () => (e.current++, lg.value = e.current, n.value);
|
@@ -2582,7 +2582,7 @@ const E2 = (r, e, t) => Qc(r.subTree).filter((i) => {
|
|
2582
2582
|
return ae(() => k(r.size) || "");
|
2583
2583
|
};
|
2584
2584
|
function Zp(r, { afterFocus: e, beforeBlur: t, afterBlur: i } = {}) {
|
2585
|
-
const n =
|
2585
|
+
const n = Ot(), { emit: o } = n, a = Tr(), s = be(!1), c = (d) => {
|
2586
2586
|
s.value || (s.value = !0, o("focus", d), e == null || e());
|
2587
2587
|
}, l = (d) => {
|
2588
2588
|
var f;
|
@@ -2618,7 +2618,7 @@ const L2 = "use-empty-values", R2 = ["", void 0, null], O2 = void 0, P2 = ft({
|
|
2618
2618
|
};
|
2619
2619
|
}, Ly = Symbol(), bu = be();
|
2620
2620
|
function ju(r, e = void 0) {
|
2621
|
-
const t =
|
2621
|
+
const t = Ot() ? tt(Ly, bu) : bu;
|
2622
2622
|
return r ? ae(() => {
|
2623
2623
|
var i, n;
|
2624
2624
|
return (n = (i = t.value) == null ? void 0 : i[r]) != null ? n : e;
|
@@ -2647,7 +2647,7 @@ function N2(r, e) {
|
|
2647
2647
|
}
|
2648
2648
|
const D2 = (r, e, t = !1) => {
|
2649
2649
|
var i;
|
2650
|
-
const n = !!
|
2650
|
+
const n = !!Ot(), o = n ? ju() : void 0, a = (i = void 0) != null ? i : n ? Vt : void 0;
|
2651
2651
|
if (!a) {
|
2652
2652
|
kt("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
|
2653
2653
|
return;
|
@@ -3041,7 +3041,7 @@ const G2 = ft({
|
|
3041
3041
|
onMouseleave: le
|
3042
3042
|
}), [
|
3043
3043
|
Be(" input "),
|
3044
|
-
ue.type !== "textarea" ? (ce(), Ae(
|
3044
|
+
ue.type !== "textarea" ? (ce(), Ae(Dt, { key: 0 }, [
|
3045
3045
|
Be(" prepend slot "),
|
3046
3046
|
ue.$slots.prepend ? (ce(), Ae("div", {
|
3047
3047
|
key: 0,
|
@@ -3109,7 +3109,7 @@ const G2 = ft({
|
|
3109
3109
|
Le("span", {
|
3110
3110
|
class: ve(k(p).e("suffix-inner"))
|
3111
3111
|
}, [
|
3112
|
-
!k(F) || !k(U) || !k(W) ? (ce(), Ae(
|
3112
|
+
!k(F) || !k(U) || !k(W) ? (ce(), Ae(Dt, { key: 0 }, [
|
3113
3113
|
Xe(ue.$slots, "suffix"),
|
3114
3114
|
ue.suffixIcon ? (ce(), ke(k(Ut), {
|
3115
3115
|
key: 0,
|
@@ -3173,7 +3173,7 @@ const G2 = ft({
|
|
3173
3173
|
}, [
|
3174
3174
|
Xe(ue.$slots, "append")
|
3175
3175
|
], 2)) : Be("v-if", !0)
|
3176
|
-
], 64)) : (ce(), Ae(
|
3176
|
+
], 64)) : (ce(), Ae(Dt, { key: 1 }, [
|
3177
3177
|
Be(" textarea "),
|
3178
3178
|
Le("textarea", Bi({
|
3179
3179
|
id: k(f),
|
@@ -3350,7 +3350,7 @@ const iC = ft({
|
|
3350
3350
|
const d = u.offsetHeight - ea, f = u.offsetWidth - ea, m = d ** 2 / u.scrollHeight, h = f ** 2 / u.scrollWidth, p = Math.max(m, t.minSize), y = Math.max(h, t.minSize);
|
3351
3351
|
c.value = m / (d - m) / (p / (d - p)), l.value = h / (f - h) / (y / (f - y)), s.value = p + ea < d ? `${p}px` : "", a.value = y + ea < f ? `${y}px` : "";
|
3352
3352
|
}
|
3353
|
-
}), (u, d) => (ce(), Ae(
|
3353
|
+
}), (u, d) => (ce(), Ae(Dt, null, [
|
3354
3354
|
se(hg, {
|
3355
3355
|
move: n.value,
|
3356
3356
|
ratio: l.value,
|
@@ -3615,7 +3615,7 @@ function Iy(r) {
|
|
3615
3615
|
case P0:
|
3616
3616
|
case "svg":
|
3617
3617
|
return dg(t);
|
3618
|
-
case
|
3618
|
+
case Dt:
|
3619
3619
|
return Iy(t.children);
|
3620
3620
|
default:
|
3621
3621
|
return t;
|
@@ -5290,7 +5290,7 @@ const PL = Oe({
|
|
5290
5290
|
onClick: k(f)
|
5291
5291
|
}), {
|
5292
5292
|
default: pe(() => [
|
5293
|
-
h.loading ? (ce(), Ae(
|
5293
|
+
h.loading ? (ce(), Ae(Dt, { key: 0 }, [
|
5294
5294
|
h.$slots.loading ? Xe(h.$slots, "loading", { key: 0 }) : (ce(), ke(k(Ut), {
|
5295
5295
|
key: 1,
|
5296
5296
|
class: ve(k(o).is("loading"))
|
@@ -5493,7 +5493,7 @@ const Uy = {
|
|
5493
5493
|
isDisabled: n,
|
5494
5494
|
isLabeledByFormItem: o
|
5495
5495
|
}) => {
|
5496
|
-
const a = tt(vs, void 0), { formItem: s } = _n(), { emit: c } =
|
5496
|
+
const a = tt(vs, void 0), { formItem: s } = _n(), { emit: c } = Ot();
|
5497
5497
|
function l(h) {
|
5498
5498
|
var p, y, v, g;
|
5499
5499
|
return [!0, r.trueValue, r.trueLabel].includes(h) ? (y = (p = r.trueValue) != null ? p : r.trueLabel) != null ? y : !0 : (g = (v = r.falseValue) != null ? v : r.falseLabel) != null ? g : !1;
|
@@ -5518,7 +5518,7 @@ const Uy = {
|
|
5518
5518
|
onClickRoot: f
|
5519
5519
|
};
|
5520
5520
|
}, jL = (r) => {
|
5521
|
-
const e = be(!1), { emit: t } =
|
5521
|
+
const e = be(!1), { emit: t } = Ot(), i = tt(vs, void 0), n = ae(() => yi(i) === !1), o = be(!1), a = ae({
|
5522
5522
|
get() {
|
5523
5523
|
var s, c;
|
5524
5524
|
return n.value ? (s = i == null ? void 0 : i.modelValue) == null ? void 0 : s.value : (c = r.modelValue) != null ? c : e.value;
|
@@ -5701,7 +5701,7 @@ const Uy = {
|
|
5701
5701
|
class: ve(k(h).e("label"))
|
5702
5702
|
}, [
|
5703
5703
|
Xe(v.$slots, "default"),
|
5704
|
-
v.$slots.default ? Be("v-if", !0) : (ce(), Ae(
|
5704
|
+
v.$slots.default ? Be("v-if", !0) : (ce(), Ae(Dt, { key: 0 }, [
|
5705
5705
|
ht(bt(v.label), 1)
|
5706
5706
|
], 64))
|
5707
5707
|
], 2)) : Be("v-if", !0)
|
@@ -6363,7 +6363,7 @@ function fl(r, e) {
|
|
6363
6363
|
r.addEventListener("mousedown", n), r.addEventListener("touchstart", n);
|
6364
6364
|
}
|
6365
6365
|
const B3 = (r) => {
|
6366
|
-
const e =
|
6366
|
+
const e = Ot(), t = Tr(), i = Tr();
|
6367
6367
|
function n(a) {
|
6368
6368
|
a.target !== t.value && o(a);
|
6369
6369
|
}
|
@@ -6390,7 +6390,7 @@ const B3 = (r) => {
|
|
6390
6390
|
thumb: t,
|
6391
6391
|
handleDrag: i
|
6392
6392
|
}) => {
|
6393
|
-
const n =
|
6393
|
+
const n = Ot(), o = Je("color-alpha-slider"), a = be(0), s = be(0), c = be();
|
6394
6394
|
function l() {
|
6395
6395
|
if (!t.value || r.vertical)
|
6396
6396
|
return 0;
|
@@ -6479,7 +6479,7 @@ const j3 = Oe({
|
|
6479
6479
|
vertical: Boolean
|
6480
6480
|
},
|
6481
6481
|
setup(r) {
|
6482
|
-
const e = Je("color-hue-slider"), t =
|
6482
|
+
const e = Je("color-hue-slider"), t = Ot(), i = be(), n = be(), o = be(0), a = be(0), s = ae(() => r.color.get("hue"));
|
6483
6483
|
Ue(() => s.value, () => {
|
6484
6484
|
f();
|
6485
6485
|
});
|
@@ -6822,7 +6822,7 @@ function Q3(r, e, t, i, n, o) {
|
|
6822
6822
|
Le("div", {
|
6823
6823
|
class: ve(r.ns.e("colors"))
|
6824
6824
|
}, [
|
6825
|
-
(ce(!0), Ae(
|
6825
|
+
(ce(!0), Ae(Dt, null, Nr(r.rgbaColors, (a, s) => (ce(), Ae("div", {
|
6826
6826
|
key: r.colors[s],
|
6827
6827
|
class: ve([
|
6828
6828
|
r.ns.e("color-selector"),
|
@@ -6848,7 +6848,7 @@ const tR = Oe({
|
|
6848
6848
|
}
|
6849
6849
|
},
|
6850
6850
|
setup(r) {
|
6851
|
-
const e = Je("color-svpanel"), t =
|
6851
|
+
const e = Je("color-svpanel"), t = Ot(), i = be(0), n = be(0), o = be("hsl(0, 100%, 50%)"), a = ae(() => {
|
6852
6852
|
const l = r.color.get("hue"), u = r.color.get("value");
|
6853
6853
|
return { hue: l, value: u };
|
6854
6854
|
});
|
@@ -7687,7 +7687,7 @@ function BR(r, e) {
|
|
7687
7687
|
return !n.value && m.length >= t.props.multipleLimit && t.props.multipleLimit > 0;
|
7688
7688
|
} else
|
7689
7689
|
return !1;
|
7690
|
-
}), a = ae(() => r.label || (Sr(r.value) ? "" : r.value)), s = ae(() => r.value || r.label || ""), c = ae(() => r.disabled || e.groupDisabled || o.value), l =
|
7690
|
+
}), a = ae(() => r.label || (Sr(r.value) ? "" : r.value)), s = ae(() => r.value || r.label || ""), c = ae(() => r.disabled || e.groupDisabled || o.value), l = Ot(), u = (m = [], h) => {
|
7691
7691
|
if (Sr(r.value)) {
|
7692
7692
|
const p = t.props.valueKey;
|
7693
7693
|
return m && m.some((y) => nl(nn(y, p)) === nn(h, p));
|
@@ -7750,7 +7750,7 @@ const FR = Oe({
|
|
7750
7750
|
select: c,
|
7751
7751
|
hoverItem: l,
|
7752
7752
|
updateOption: u
|
7753
|
-
} = BR(r, n), { visible: d, hover: f } = dn(n), m =
|
7753
|
+
} = BR(r, n), { visible: d, hover: f } = dn(n), m = Ot().proxy;
|
7754
7754
|
c.onOptionCreate(m), Si(() => {
|
7755
7755
|
const p = m.value, { selected: y } = c.states, v = (c.props.multiple ? y : [y]).some((g) => g.value === m.value);
|
7756
7756
|
pt(() => {
|
@@ -8072,12 +8072,12 @@ const WR = 11, $R = (r, e) => {
|
|
8072
8072
|
O.value || (a.menuVisibleOnFocus ? a.menuVisibleOnFocus = !1 : M.value = !M.value);
|
8073
8073
|
}, Tt = () => {
|
8074
8074
|
M.value ? ee.value[a.hoveringIndex] && Pe(ee.value[a.hoveringIndex]) : at();
|
8075
|
-
}, wt = (he) => Sr(he.value) ? nn(he.value, r.valueKey) : he.value,
|
8075
|
+
}, wt = (he) => Sr(he.value) ? nn(he.value, r.valueKey) : he.value, Pt = ae(() => ee.value.filter((he) => he.visible).every((he) => he.disabled)), Wt = ae(() => r.multiple ? r.collapseTags ? a.selected.slice(0, r.maxCollapseTags) : a.selected : []), yr = ae(() => r.multiple ? r.collapseTags ? a.selected.slice(r.maxCollapseTags) : [] : []), J = (he) => {
|
8076
8076
|
if (!M.value) {
|
8077
8077
|
M.value = !0;
|
8078
8078
|
return;
|
8079
8079
|
}
|
8080
|
-
if (!(a.options.size === 0 || re.value === 0) && !
|
8080
|
+
if (!(a.options.size === 0 || re.value === 0) && !Pt.value) {
|
8081
8081
|
he === "next" ? (a.hoveringIndex++, a.hoveringIndex === a.options.size && (a.hoveringIndex = 0)) : he === "prev" && (a.hoveringIndex--, a.hoveringIndex < 0 && (a.hoveringIndex = a.options.size - 1));
|
8082
8082
|
const xe = ee.value[a.hoveringIndex];
|
8083
8083
|
(xe.disabled === !0 || xe.states.groupDisabled === !0 || !xe.visible) && J(he), pt(() => nt(A.value));
|
@@ -8377,7 +8377,7 @@ function KR(r, e, t, i, n, o) {
|
|
8377
8377
|
])
|
8378
8378
|
}, [
|
8379
8379
|
r.multiple ? Xe(r.$slots, "tag", { key: 0 }, () => [
|
8380
|
-
(ce(!0), Ae(
|
8380
|
+
(ce(!0), Ae(Dt, null, Nr(r.showTagList, (p) => (ce(), Ae("div", {
|
8381
8381
|
key: r.getValueKey(p),
|
8382
8382
|
class: ve(r.nsSelect.e("selected-item"))
|
8383
8383
|
}, [
|
@@ -8432,7 +8432,7 @@ function KR(r, e, t, i, n, o) {
|
|
8432
8432
|
ref: "tagMenuRef",
|
8433
8433
|
class: ve(r.nsSelect.e("selection"))
|
8434
8434
|
}, [
|
8435
|
-
(ce(!0), Ae(
|
8435
|
+
(ce(!0), Ae(Dt, null, Nr(r.collapseTagList, (p) => (ce(), Ae("div", {
|
8436
8436
|
key: r.getValueKey(p),
|
8437
8437
|
class: ve(r.nsSelect.e("selected-item"))
|
8438
8438
|
}, [
|
@@ -8634,7 +8634,7 @@ const eO = Oe({
|
|
8634
8634
|
disabled: Boolean
|
8635
8635
|
},
|
8636
8636
|
setup(r) {
|
8637
|
-
const e = Je("select"), t = be(null), i =
|
8637
|
+
const e = Je("select"), t = be(null), i = Ot(), n = be([]);
|
8638
8638
|
Vt(sb, jr({
|
8639
8639
|
...dn(r)
|
8640
8640
|
}));
|
@@ -9358,15 +9358,15 @@ const DO = ["id", "role", "aria-label", "aria-labelledby"], kO = { key: 1 }, BO
|
|
9358
9358
|
"onUpdate:modelValue": k(b)
|
9359
9359
|
}, null, 8, ["model-value", "vertical", "tooltip-class", "placement", "aria-label", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-orientation", "aria-disabled", "onUpdate:modelValue"])) : Be("v-if", !0),
|
9360
9360
|
z.showStops ? (ce(), Ae("div", kO, [
|
9361
|
-
(ce(!0), Ae(
|
9361
|
+
(ce(!0), Ae(Dt, null, Nr(k(M), (j, G) => (ce(), Ae("div", {
|
9362
9362
|
key: G,
|
9363
9363
|
class: ve(k(n).e("stop")),
|
9364
9364
|
style: xt(k(A)(j))
|
9365
9365
|
}, null, 6))), 128))
|
9366
9366
|
])) : Be("v-if", !0),
|
9367
|
-
k(N).length > 0 ? (ce(), Ae(
|
9367
|
+
k(N).length > 0 ? (ce(), Ae(Dt, { key: 2 }, [
|
9368
9368
|
Le("div", null, [
|
9369
|
-
(ce(!0), Ae(
|
9369
|
+
(ce(!0), Ae(Dt, null, Nr(k(N), (j, G) => (ce(), Ae("div", {
|
9370
9370
|
key: G,
|
9371
9371
|
style: xt(k(A)(j.position)),
|
9372
9372
|
class: ve([k(n).e("stop"), k(n).e("marks-stop")])
|
@@ -9375,7 +9375,7 @@ const DO = ["id", "role", "aria-label", "aria-labelledby"], kO = { key: 1 }, BO
|
|
9375
9375
|
Le("div", {
|
9376
9376
|
class: ve(k(n).e("marks"))
|
9377
9377
|
}, [
|
9378
|
-
(ce(!0), Ae(
|
9378
|
+
(ce(!0), Ae(Dt, null, Nr(k(N), (j, G) => (ce(), ke(k(NO), {
|
9379
9379
|
key: G,
|
9380
9380
|
mark: j.mark,
|
9381
9381
|
style: xt(k(A)(j.position))
|
@@ -9414,7 +9414,7 @@ const Ci = vr(zO), Xu = Symbol("tabsRootContextKey"), UO = ft({
|
|
9414
9414
|
...VO,
|
9415
9415
|
props: UO,
|
9416
9416
|
setup(r, { expose: e }) {
|
9417
|
-
const t = r, i =
|
9417
|
+
const t = r, i = Ot(), n = tt(Xu);
|
9418
9418
|
n || ds(ub, "<el-tabs><el-tab-bar /></el-tabs>");
|
9419
9419
|
const o = Je("tabs"), a = be(), s = be(), c = () => {
|
9420
9420
|
let u = 0, d = 0;
|
@@ -9475,7 +9475,7 @@ const GO = ft({
|
|
9475
9475
|
expose: e,
|
9476
9476
|
emit: t
|
9477
9477
|
}) {
|
9478
|
-
const i =
|
9478
|
+
const i = Ot(), n = tt(Xu);
|
9479
9479
|
n || ds(Dg, "<el-tabs><tab-nav /></el-tabs>");
|
9480
9480
|
const o = Je("tabs"), a = m_(), s = C_(), c = be(), l = be(), u = be(), d = be(), f = be(!1), m = be(0), h = be(!1), p = be(!0), y = ae(() => ["top", "bottom"].includes(n.props.tabPosition) ? "width" : "height"), v = ae(() => ({
|
9481
9481
|
transform: `translate${y.value === "width" ? "X" : "Y"}(-${m.value}px)`
|
@@ -9641,7 +9641,7 @@ const GO = ft({
|
|
9641
9641
|
children: a,
|
9642
9642
|
addChild: s,
|
9643
9643
|
removeChild: c
|
9644
|
-
} = A2(
|
9644
|
+
} = A2(Ot(), "ElTabPane"), l = be(), u = be((n = r.modelValue) != null ? n : "0"), d = async (p, y = !1) => {
|
9645
9645
|
var v, g, _;
|
9646
9646
|
if (!(u.value === p || yi(p)))
|
9647
9647
|
try {
|
@@ -9716,7 +9716,7 @@ const GO = ft({
|
|
9716
9716
|
...KO,
|
9717
9717
|
props: qO,
|
9718
9718
|
setup(r) {
|
9719
|
-
const e = r, t =
|
9719
|
+
const e = r, t = Ot(), i = us(), n = tt(Xu);
|
9720
9720
|
n || ds(hb, "usage: <el-tabs><el-tab-pane /></el-tabs/>");
|
9721
9721
|
const o = Je("tab-pane"), a = be(), s = ae(() => e.closable || n.props.closable), c = dm(() => {
|
9722
9722
|
var m;
|
@@ -10324,7 +10324,7 @@ const oP = Oe({
|
|
10324
10324
|
},
|
10325
10325
|
emits: ["node-expand"],
|
10326
10326
|
setup(r, e) {
|
10327
|
-
const t = Je("tree"), { broadcastExpanded: i } = mb(r), n = tt("RootTree"), o = be(!1), a = be(!1), s = be(null), c = be(null), l = be(null), u = tt(gb), d =
|
10327
|
+
const t = Je("tree"), { broadcastExpanded: i } = mb(r), n = tt("RootTree"), o = be(!1), a = be(!1), s = be(null), c = be(null), l = be(null), u = tt(gb), d = Ot();
|
10328
10328
|
Vt("NodeInstance", d), n || kt("Tree", "Can not find node's tree."), r.node.expanded && (o.value = !0, a.value = !0);
|
10329
10329
|
const f = n.props.props.children || "children";
|
10330
10330
|
Ue(() => {
|
@@ -10486,7 +10486,7 @@ function lP(r, e, t, i, n, o) {
|
|
10486
10486
|
role: "group",
|
10487
10487
|
"aria-expanded": r.expanded
|
10488
10488
|
}, [
|
10489
|
-
(ce(!0), Ae(
|
10489
|
+
(ce(!0), Ae(Dt, null, Nr(r.node.childNodes, (f) => (ce(), ke(u, {
|
10490
10490
|
key: r.getNodeKey(f),
|
10491
10491
|
"render-content": r.renderContent,
|
10492
10492
|
"render-after-expand": r.renderAfterExpand,
|
@@ -10750,7 +10750,7 @@ const hP = Oe({
|
|
10750
10750
|
store: n,
|
10751
10751
|
root: o,
|
10752
10752
|
currentNode: a,
|
10753
|
-
instance:
|
10753
|
+
instance: Ot()
|
10754
10754
|
}), Vt(dl, void 0), {
|
10755
10755
|
ns: i,
|
10756
10756
|
store: n,
|
@@ -10798,7 +10798,7 @@ function dP(r, e, t, i, n, o) {
|
|
10798
10798
|
]),
|
10799
10799
|
role: "tree"
|
10800
10800
|
}, [
|
10801
|
-
(ce(!0), Ae(
|
10801
|
+
(ce(!0), Ae(Dt, null, Nr(r.root.childNodes, (s) => (ce(), ke(a, {
|
10802
10802
|
key: r.getNodeKey(s),
|
10803
10803
|
node: s,
|
10804
10804
|
props: r.props,
|
@@ -14273,7 +14273,7 @@ class Ur extends hr {
|
|
14273
14273
|
}
|
14274
14274
|
}
|
14275
14275
|
Ur.prototype.isMeshBasicMaterial = !0;
|
14276
|
-
const
|
14276
|
+
const It = /* @__PURE__ */ new q(), mc = /* @__PURE__ */ new Ie();
|
14277
14277
|
class it {
|
14278
14278
|
constructor(e, t, i) {
|
14279
14279
|
if (Array.isArray(e))
|
@@ -14342,22 +14342,22 @@ class it {
|
|
14342
14342
|
mc.fromBufferAttribute(this, t), mc.applyMatrix3(e), this.setXY(t, mc.x, mc.y);
|
14343
14343
|
else if (this.itemSize === 3)
|
14344
14344
|
for (let t = 0, i = this.count; t < i; t++)
|
14345
|
-
|
14345
|
+
It.fromBufferAttribute(this, t), It.applyMatrix3(e), this.setXYZ(t, It.x, It.y, It.z);
|
14346
14346
|
return this;
|
14347
14347
|
}
|
14348
14348
|
applyMatrix4(e) {
|
14349
14349
|
for (let t = 0, i = this.count; t < i; t++)
|
14350
|
-
|
14350
|
+
It.x = this.getX(t), It.y = this.getY(t), It.z = this.getZ(t), It.applyMatrix4(e), this.setXYZ(t, It.x, It.y, It.z);
|
14351
14351
|
return this;
|
14352
14352
|
}
|
14353
14353
|
applyNormalMatrix(e) {
|
14354
14354
|
for (let t = 0, i = this.count; t < i; t++)
|
14355
|
-
|
14355
|
+
It.x = this.getX(t), It.y = this.getY(t), It.z = this.getZ(t), It.applyNormalMatrix(e), this.setXYZ(t, It.x, It.y, It.z);
|
14356
14356
|
return this;
|
14357
14357
|
}
|
14358
14358
|
transformDirection(e) {
|
14359
14359
|
for (let t = 0, i = this.count; t < i; t++)
|
14360
|
-
|
14360
|
+
It.x = this.getX(t), It.y = this.getY(t), It.z = this.getZ(t), It.transformDirection(e), this.setXYZ(t, It.x, It.y, It.z);
|
14361
14361
|
return this;
|
14362
14362
|
}
|
14363
14363
|
set(e, t = 0) {
|
@@ -22257,7 +22257,7 @@ function Rt(r = {}) {
|
|
22257
22257
|
J.hasPositions && (z.bindBuffer(34962, fe.position), z.bufferData(34962, J.positionArray, 35048), me.enableAttribute(Me.position), z.vertexAttribPointer(Me.position, 3, 5126, !1, 0, 0)), J.hasNormals && (z.bindBuffer(34962, fe.normal), z.bufferData(34962, J.normalArray, 35048), me.enableAttribute(Me.normal), z.vertexAttribPointer(Me.normal, 3, 5126, !1, 0, 0)), J.hasUvs && (z.bindBuffer(34962, fe.uv), z.bufferData(34962, J.uvArray, 35048), me.enableAttribute(Me.uv), z.vertexAttribPointer(Me.uv, 2, 5126, !1, 0, 0)), J.hasColors && (z.bindBuffer(34962, fe.color), z.bufferData(34962, J.colorArray, 35048), me.enableAttribute(Me.color), z.vertexAttribPointer(Me.color, 3, 5126, !1, 0, 0)), me.disableUnusedAttributes(), z.drawArrays(4, 0, J.count), J.count = 0;
|
22258
22258
|
}, this.renderBufferDirect = function(J, ge, fe, Me, Ne, he) {
|
22259
22259
|
ge === null && (ge = ee);
|
22260
|
-
const xe = Ne.isMesh && Ne.matrixWorld.determinant() < 0, Ve =
|
22260
|
+
const xe = Ne.isMesh && Ne.matrixWorld.determinant() < 0, Ve = Pt(J, ge, Me, Ne);
|
22261
22261
|
j.setMaterial(Me, xe);
|
22262
22262
|
let Ze = fe.index;
|
22263
22263
|
const qe = fe.attributes.position;
|
@@ -22396,7 +22396,7 @@ function Rt(r = {}) {
|
|
22396
22396
|
}
|
22397
22397
|
function at(J, ge, fe, Me, Ne, he) {
|
22398
22398
|
if (J.onBeforeRender(p, ge, fe, Me, Ne, he), J.modelViewMatrix.multiplyMatrices(fe.matrixWorldInverse, J.matrixWorld), J.normalMatrix.getNormalMatrix(J.modelViewMatrix), J.isImmediateRenderObject) {
|
22399
|
-
const xe =
|
22399
|
+
const xe = Pt(fe, ge, Ne, J);
|
22400
22400
|
j.setMaterial(Ne), me.reset(), ct(J, xe);
|
22401
22401
|
} else
|
22402
22402
|
Ne.transparent === !0 && Ne.side === Jn ? (Ne.side = tr, Ne.needsUpdate = !0, p.renderBufferDirect(fe, ge, Me, Ne, J, he), Ne.side = qn, Ne.needsUpdate = !0, p.renderBufferDirect(fe, ge, Me, Ne, J, he), Ne.side = Jn) : p.renderBufferDirect(fe, ge, Me, Ne, J, he);
|
@@ -22422,7 +22422,7 @@ function Rt(r = {}) {
|
|
22422
22422
|
const fe = B.get(J);
|
22423
22423
|
fe.outputEncoding = ge.outputEncoding, fe.instancing = ge.instancing, fe.skinning = ge.skinning, fe.numClippingPlanes = ge.numClippingPlanes, fe.numIntersection = ge.numClipIntersection, fe.vertexAlphas = ge.vertexAlphas;
|
22424
22424
|
}
|
22425
|
-
function
|
22425
|
+
function Pt(J, ge, fe, Me) {
|
22426
22426
|
ge.isScene !== !0 && (ge = ee), $.resetTextureUnits();
|
22427
22427
|
const Ne = ge.fog, he = fe.isMeshStandardMaterial ? ge.environment : null, xe = _ === null ? p.outputEncoding : _.texture.encoding, Ve = Y.get(fe.envMap || he), Ze = fe.vertexColors === !0 && Me.geometry && Me.geometry.attributes.color && Me.geometry.attributes.color.itemSize === 4, qe = B.get(fe), rt = f.state.lights;
|
22428
22428
|
if (N === !0 && (F === !0 || J !== w)) {
|
@@ -38151,8 +38151,8 @@ void main() {
|
|
38151
38151
|
};
|
38152
38152
|
this.getVectorsFromRotateAboutLookAtPoints = (ie, Re) => {
|
38153
38153
|
ie.normalize(), ne.copy(this.cameraObject.position).sub(this.cameraObject.target), V.copy(ne), ne.normalize(), 0.8 < Math.abs(ne.dot(ie)) && ne.copy(this.cameraObject.up), G.crossVectors(ie, ne).normalize(), B.crossVectors(ie, G);
|
38154
|
-
var De = ie.dot(V), Ge = G.dot(V), at = B.dot(V), Tt = ie.dot(this.cameraObject.up), wt = G.dot(this.cameraObject.up),
|
38155
|
-
return $.set(Wt * G.x + yr * B.x, Wt * G.y + yr * B.y, Wt * G.z + yr * B.z), Y.set(Wt * B.x - yr * G.x, Wt * B.y - yr * G.y, Wt * B.z - yr * G.z), ne.copy(this.cameraObject.target), ne.x = ne.x + ie.x * De + $.x * Ge + Y.x * at, ne.y = ne.y + ie.y * De + $.y * Ge + Y.y * at, ne.z = ne.z + ie.z * De + $.z * Ge + Y.z * at, j.set(ie.x * Tt + $.x * wt + Y.x *
|
38154
|
+
var De = ie.dot(V), Ge = G.dot(V), at = B.dot(V), Tt = ie.dot(this.cameraObject.up), wt = G.dot(this.cameraObject.up), Pt = B.dot(this.cameraObject.up), Wt = Math.cos(Re), yr = Math.sin(Re);
|
38155
|
+
return $.set(Wt * G.x + yr * B.x, Wt * G.y + yr * B.y, Wt * G.z + yr * B.z), Y.set(Wt * B.x - yr * G.x, Wt * B.y - yr * G.y, Wt * B.z - yr * G.z), ne.copy(this.cameraObject.target), ne.x = ne.x + ie.x * De + $.x * Ge + Y.x * at, ne.y = ne.y + ie.y * De + $.y * Ge + Y.y * at, ne.z = ne.z + ie.z * De + $.z * Ge + Y.z * at, j.set(ie.x * Tt + $.x * wt + Y.x * Pt, ie.y * Tt + $.y * wt + Y.y * Pt, ie.z * Tt + $.z * wt + Y.z * Pt), { position: ne, up: j };
|
38156
38156
|
}, this.rotateAboutLookAtpoint = (ie, Re) => {
|
38157
38157
|
var De = this.getVectorsFromRotateAboutLookAtPoints(ie, Re);
|
38158
38158
|
this.cameraObject.position.copy(De.position), this.updateDirectionalLight(), this.cameraObject.up.copy(De.up);
|
@@ -38165,10 +38165,10 @@ void main() {
|
|
38165
38165
|
(K === I.FREE || K === I.HORIZONTAL) && (Ge = this.pointer_x - this.previous_pointer_x), (K === I.FREE || K === I.VERTICAL) && (at = this.previous_pointer_y - this.pointer_y);
|
38166
38166
|
var Tt = Math.sqrt(Ge * Ge + at * at);
|
38167
38167
|
if (0 < Tt) {
|
38168
|
-
var wt = 1 * -at / Tt,
|
38169
|
-
K === I.FREE && wt * (this.pointer_x - 0.5 * (ie - 1)) +
|
38168
|
+
var wt = 1 * -at / Tt, Pt = 1 * Ge / Tt, Wt = 0;
|
38169
|
+
K === I.FREE && wt * (this.pointer_x - 0.5 * (ie - 1)) + Pt * (0.5 * (Re - 1) - this.pointer_y);
|
38170
38170
|
var yr = Math.acos(Wt / De) - 0.5 * Math.PI, J = this.tumble_rate * Tt / De;
|
38171
|
-
j.copy(this.cameraObject.position).sub(this.cameraObject.target).normalize(), G.copy(this.cameraObject.up).normalize(), B.copy(G).cross(j).normalize().multiplyScalar(wt), G.multiplyScalar(
|
38171
|
+
j.copy(this.cameraObject.position).sub(this.cameraObject.target).normalize(), G.copy(this.cameraObject.up).normalize(), B.copy(G).cross(j).normalize().multiplyScalar(wt), G.multiplyScalar(Pt), Z.addVectors(B, G).multiplyScalar(Math.cos(yr)), j.multiplyScalar(Math.sin(yr)), Z.add(j), this.rotateAboutLookAtpoint(Z, -J);
|
38172
38172
|
}
|
38173
38173
|
}
|
38174
38174
|
}
|
@@ -38251,9 +38251,9 @@ void main() {
|
|
38251
38251
|
};
|
38252
38252
|
var mt = (ie) => {
|
38253
38253
|
if (W === E.PATH && (Et(ie), S)) {
|
38254
|
-
for (var Re = this.getCurrentTimeFrame(), De = Re[0], Ge = Re[1], at = Re[2], Tt = [S[3 * De], S[3 * De + 1], S[3 * De + 2]], wt = [S[3 * Ge], S[3 * Ge + 1], S[3 * Ge + 2]],
|
38255
|
-
|
38256
|
-
this.cameraObject.position.set(
|
38254
|
+
for (var Re = this.getCurrentTimeFrame(), De = Re[0], Ge = Re[1], at = Re[2], Tt = [S[3 * De], S[3 * De + 1], S[3 * De + 2]], wt = [S[3 * Ge], S[3 * Ge + 1], S[3 * Ge + 2]], Pt = [], Wt = 0; Wt < Tt.length; Wt++)
|
38255
|
+
Pt.push(at * Tt[Wt] + (1 - at) * wt[Wt]);
|
38256
|
+
this.cameraObject.position.set(Pt[0], Pt[1], Pt[2]), this.cameraObject.target.set(wt[0], wt[1], wt[2]), F && this.cameraObject.lookAt(this.cameraObject.target), D && (this.directionalLight.position.set(Pt[0], Pt[1], Pt[2]), this.directionalLight.target.position.set(wt[0], wt[1], wt[2]));
|
38257
38257
|
}
|
38258
38258
|
};
|
38259
38259
|
this.calculatePathNow = () => {
|
@@ -38281,15 +38281,15 @@ void main() {
|
|
38281
38281
|
}, this.setCurrentCameraSettings = (ie) => {
|
38282
38282
|
ie.nearPlane && (this.cameraObject.near = ie.nearPlane), ie.farPlane && (this.cameraObject.far = ie.farPlane), ie.eyePosition && this.cameraObject.position.set(ie.eyePosition[0], ie.eyePosition[1], ie.eyePosition[2]), ie.targetPosition && this.cameraObject.target.set(ie.targetPosition[0], ie.targetPosition[1], ie.targetPosition[2]), ie.upVector && this.cameraObject.up.set(ie.upVector[0], ie.upVector[1], ie.upVector[2]), this.cameraObject.updateProjectionMatrix(), this.updateDirectionalLight();
|
38283
38283
|
}, this.getViewportFromCentreAndRadius = (ie, Re, De, Ge, at, Tt) => {
|
38284
|
-
var wt = this.cameraObject.position.x - this.cameraObject.target.x,
|
38285
|
-
wt *= yr,
|
38286
|
-
var J = [ie, Re, De], ge = Ge / Math.tan(at * Math.PI / 360), fe = [ie + wt * ge, Re +
|
38284
|
+
var wt = this.cameraObject.position.x - this.cameraObject.target.x, Pt = this.cameraObject.position.y - this.cameraObject.target.y, Wt = this.cameraObject.position.z - this.cameraObject.target.z, yr = 1 / Math.sqrt(wt * wt + Pt * Pt + Wt * Wt);
|
38285
|
+
wt *= yr, Pt *= yr, Wt *= yr;
|
38286
|
+
var J = [ie, Re, De], ge = Ge / Math.tan(at * Math.PI / 360), fe = [ie + wt * ge, Re + Pt * ge, De + Wt * ge], Me = ge + Tt, Ne = 0, he = 0.95;
|
38287
38287
|
Ne = Tt > he * ge ? (1 - he) * ge : ge - Tt;
|
38288
38288
|
var xe = new d();
|
38289
38289
|
return xe.nearPlane = Ne, xe.farPlane = Me, xe.eyePosition = fe, xe.targetPosition = J, xe.upVector = [this.cameraObject.up.x, this.cameraObject.up.y, this.cameraObject.up.z], xe;
|
38290
38290
|
}, this.getViewportFromBoundingBox = (ie, Re) => {
|
38291
|
-
var De = ie.min.distanceTo(ie.max) / 2 * Re, Ge = (ie.min.x + ie.max.x) / 2, at = (ie.min.y + ie.max.y) / 2, Tt = (ie.min.z + ie.max.z) / 2, wt = 4,
|
38292
|
-
return
|
38291
|
+
var De = ie.min.distanceTo(ie.max) / 2 * Re, Ge = (ie.min.x + ie.max.x) / 2, at = (ie.min.y + ie.max.y) / 2, Tt = (ie.min.z + ie.max.z) / 2, wt = 4, Pt = this.getViewportFromCentreAndRadius(Ge, at, Tt, De, 40, De * wt);
|
38292
|
+
return Pt;
|
38293
38293
|
}, this.getCurrentViewport = () => {
|
38294
38294
|
var ie = new d();
|
38295
38295
|
return ie.nearPlane = this.cameraObject.near, ie.farPlane = this.cameraObject.far, ie.eyePosition[0] = this.cameraObject.position.x, ie.eyePosition[1] = this.cameraObject.position.y, ie.eyePosition[2] = this.cameraObject.position.z, ie.targetPosition[0] = this.cameraObject.target.x, ie.targetPosition[1] = this.cameraObject.target.y, ie.targetPosition[2] = this.cameraObject.target.z, ie.upVector[0] = this.cameraObject.up.x, ie.upVector[1] = this.cameraObject.up.y, ie.upVector[2] = this.cameraObject.up.z, ie;
|
@@ -40078,7 +40078,7 @@ function jz(r, e, t, i, n, o) {
|
|
40078
40078
|
onChange: e[3] || (e[3] = (h) => o.modifyAttenuation(h, r.slide))
|
40079
40079
|
}, {
|
40080
40080
|
default: pe(() => [
|
40081
|
-
(ce(!0), Ae(
|
40081
|
+
(ce(!0), Ae(Dt, null, Nr(r.choices, (h) => (ce(), ke(u, {
|
40082
40082
|
key: h.value,
|
40083
40083
|
label: h.label,
|
40084
40084
|
value: h.value
|
@@ -40162,7 +40162,7 @@ function Wz(r, e, t, i, n, o) {
|
|
40162
40162
|
default: pe(() => [
|
40163
40163
|
se(h, { class: "slides-block" }, {
|
40164
40164
|
default: pe(() => [
|
40165
|
-
(ce(!0), Ae(
|
40165
|
+
(ce(!0), Ae(Dt, null, Nr(r.settings, (g, _) => (ce(), ke(m, {
|
40166
40166
|
key: g.id,
|
40167
40167
|
class: "slide-row"
|
40168
40168
|
}, {
|
@@ -40181,7 +40181,7 @@ function Wz(r, e, t, i, n, o) {
|
|
40181
40181
|
onChange: (x) => o.modifyDirection(x, g)
|
40182
40182
|
}, {
|
40183
40183
|
default: pe(() => [
|
40184
|
-
(ce(!0), Ae(
|
40184
|
+
(ce(!0), Ae(Dt, null, Nr(r.directions, (x) => (ce(), ke(a, {
|
40185
40185
|
key: x.value,
|
40186
40186
|
label: x.label,
|
40187
40187
|
value: x.value
|
@@ -41074,7 +41074,7 @@ function dU(r, e, t, i, n, o) {
|
|
41074
41074
|
span: 16
|
41075
41075
|
}, {
|
41076
41076
|
default: pe(() => [
|
41077
|
-
(ce(!0), Ae(
|
41077
|
+
(ce(!0), Ae(Dt, null, Nr(t.createData.points, ({ value: m, i: h }) => (ce(), ke(c, {
|
41078
41078
|
key: h,
|
41079
41079
|
class: "value"
|
41080
41080
|
}, {
|
@@ -41499,7 +41499,7 @@ This will fail in production.`);
|
|
41499
41499
|
c._hotUpdate(f), delete s.state.value[d], s._s.delete(d);
|
41500
41500
|
}
|
41501
41501
|
if (process.env.NODE_ENV !== "production" && im) {
|
41502
|
-
const d =
|
41502
|
+
const d = Ot();
|
41503
41503
|
if (d && d.proxy && // avoid adding stores that are just built for hot module replacement
|
41504
41504
|
!c) {
|
41505
41505
|
const f = d.proxy, m = "_pStores" in f ? f._pStores : f._pStores = {};
|
@@ -42536,15 +42536,15 @@ const PU = function() {
|
|
42536
42536
|
}();
|
42537
42537
|
};
|
42538
42538
|
Lw.prototype = Object.create(qt.prototype);
|
42539
|
-
var
|
42540
|
-
return
|
42539
|
+
var Nt = function() {
|
42540
|
+
return Nt = Object.assign || function(r) {
|
42541
42541
|
for (var e, t = 1, i = arguments.length; t < i; t++) {
|
42542
42542
|
e = arguments[t];
|
42543
42543
|
for (var n in e)
|
42544
42544
|
Object.prototype.hasOwnProperty.call(e, n) && (r[n] = e[n]);
|
42545
42545
|
}
|
42546
42546
|
return r;
|
42547
|
-
},
|
42547
|
+
}, Nt.apply(this, arguments);
|
42548
42548
|
};
|
42549
42549
|
function NU(r, e, t, i) {
|
42550
42550
|
function n(o) {
|
@@ -42991,7 +42991,7 @@ var kU = "ENTRIES", Rw = "KEYS", Ow = "VALUES", wr = "", yd = (
|
|
42991
42991
|
if ((e == null ? void 0 : e.fields) == null)
|
42992
42992
|
throw new Error('MiniSearch: option "fields" must be provided');
|
42993
42993
|
var t = e.autoVacuum == null || e.autoVacuum === !0 ? Md : e.autoVacuum;
|
42994
|
-
this._options =
|
42994
|
+
this._options = Nt(Nt(Nt({}, _d), e), { autoVacuum: t, searchOptions: Nt(Nt({}, C0), e.searchOptions || {}), autoSuggestOptions: Nt(Nt({}, WU), e.autoSuggestOptions || {}) }), this._index = new bd(), this._documentCount = 0, this._documentIds = /* @__PURE__ */ new Map(), this._idToShortId = /* @__PURE__ */ new Map(), this._fieldIds = {}, this._fieldLength = /* @__PURE__ */ new Map(), this._avgFieldLength = [], this._nextId = 0, this._storedFields = /* @__PURE__ */ new Map(), this._dirtCount = 0, this._currentVacuum = null, this._enqueuedVacuum = null, this._enqueuedVacuumConditions = Sp, this.addFields(this._options.fields);
|
42995
42995
|
}
|
42996
42996
|
return r.prototype.add = function(e) {
|
42997
42997
|
var t, i, n, o, a, s, c = this._options, l = c.extractField, u = c.tokenize, d = c.processTerm, f = c.fields, m = c.idField, h = l(e, m);
|
@@ -43362,7 +43362,7 @@ var kU = "ENTRIES", Rw = "KEYS", Ow = "VALUES", wr = "", yd = (
|
|
43362
43362
|
return e === r.wildcard && t.boostDocument == null && this._options.searchOptions.boostDocument == null || a.sort(R0), a;
|
43363
43363
|
}, r.prototype.autoSuggest = function(e, t) {
|
43364
43364
|
var i, n, o, a;
|
43365
|
-
t === void 0 && (t = {}), t =
|
43365
|
+
t === void 0 && (t = {}), t = Nt(Nt({}, this._options.autoSuggestOptions), t);
|
43366
43366
|
var s = /* @__PURE__ */ new Map();
|
43367
43367
|
try {
|
43368
43368
|
for (var c = st(this.search(e, t)), l = c.next(); !l.done; l = c.next()) {
|
@@ -43479,12 +43479,12 @@ var kU = "ENTRIES", Rw = "KEYS", Ow = "VALUES", wr = "", yd = (
|
|
43479
43479
|
if (t === void 0 && (t = {}), e === r.wildcard)
|
43480
43480
|
return this.executeWildcardQuery(t);
|
43481
43481
|
if (typeof e != "string") {
|
43482
|
-
var n =
|
43482
|
+
var n = Nt(Nt(Nt({}, t), e), { queries: void 0 }), o = e.queries.map(function(y) {
|
43483
43483
|
return i.executeQuery(y, n);
|
43484
43484
|
});
|
43485
43485
|
return this.combineResults(o, n.combineWith);
|
43486
43486
|
}
|
43487
|
-
var a = this._options, s = a.tokenize, c = a.processTerm, l = a.searchOptions, u =
|
43487
|
+
var a = this._options, s = a.tokenize, c = a.processTerm, l = a.searchOptions, u = Nt(Nt({ tokenize: s, processTerm: c }, l), t), d = u.tokenize, f = u.processTerm, m = d(e).flatMap(function(y) {
|
43488
43488
|
return f(y);
|
43489
43489
|
}).filter(function(y) {
|
43490
43490
|
return !!y;
|
@@ -43493,10 +43493,10 @@ var kU = "ENTRIES", Rw = "KEYS", Ow = "VALUES", wr = "", yd = (
|
|
43493
43493
|
});
|
43494
43494
|
return this.combineResults(p, u.combineWith);
|
43495
43495
|
}, r.prototype.executeQuerySpec = function(e, t) {
|
43496
|
-
var i, n, o, a, s =
|
43496
|
+
var i, n, o, a, s = Nt(Nt({}, this._options.searchOptions), t), c = (s.fields || this._options.fields).reduce(function(T, D) {
|
43497
43497
|
var N;
|
43498
|
-
return
|
43499
|
-
}, {}), l = s.boostDocument, u = s.weights, d = s.maxFuzzy, f = s.bm25, m =
|
43498
|
+
return Nt(Nt({}, T), (N = {}, N[D] = wd(s.boost, D) || 1, N));
|
43499
|
+
}, {}), l = s.boostDocument, u = s.weights, d = s.maxFuzzy, f = s.bm25, m = Nt(Nt({}, C0.weights), u), h = m.fuzzy, p = m.prefix, y = this._index.get(e.term), v = this.termResults(e.term, e.term, 1, y, c, l, f), g, _;
|
43500
43500
|
if (e.prefix && (g = this._index.atPrefix(e.term)), e.fuzzy) {
|
43501
43501
|
var x = e.fuzzy === !0 ? 0.2 : e.fuzzy, w = x < 1 ? Math.min(d, Math.round(e.term.length * x)) : x;
|
43502
43502
|
w && (_ = this._index.fuzzyGet(e.term, w));
|
@@ -43542,7 +43542,7 @@ var kU = "ENTRIES", Rw = "KEYS", Ow = "VALUES", wr = "", yd = (
|
|
43542
43542
|
}
|
43543
43543
|
return v;
|
43544
43544
|
}, r.prototype.executeWildcardQuery = function(e) {
|
43545
|
-
var t, i, n = /* @__PURE__ */ new Map(), o =
|
43545
|
+
var t, i, n = /* @__PURE__ */ new Map(), o = Nt(Nt({}, this._options.searchOptions), e);
|
43546
43546
|
try {
|
43547
43547
|
for (var a = st(this._documentIds), s = a.next(); !s.done; s = a.next()) {
|
43548
43548
|
var c = er(s.value, 2), l = c[0], u = c[1], d = o.boostDocument ? o.boostDocument(u, "", this._storedFields.get(l)) : 1;
|
@@ -43849,7 +43849,7 @@ var kU = "ENTRIES", Rw = "KEYS", Ow = "VALUES", wr = "", yd = (
|
|
43849
43849
|
prefix: function(r, e, t) {
|
43850
43850
|
return e === t.length - 1;
|
43851
43851
|
}
|
43852
|
-
}, Mp = { batchSize: 1e3, batchWait: 10 }, Sp = { minDirtFactor: 0.1, minDirtCount: 20 }, Md =
|
43852
|
+
}, Mp = { batchSize: 1e3, batchWait: 10 }, Sp = { minDirtFactor: 0.1, minDirtCount: 20 }, Md = Nt(Nt({}, Mp), Sp), $U = function(r, e) {
|
43853
43853
|
r.includes(e) || r.push(e);
|
43854
43854
|
}, L0 = function(r, e) {
|
43855
43855
|
var t, i;
|
@@ -45462,7 +45462,7 @@ function uV(r, e, t, i, n, o) {
|
|
45462
45462
|
onChange: e[19] || (e[19] = (M) => o.speedChanged(M))
|
45463
45463
|
}, {
|
45464
45464
|
default: pe(() => [
|
45465
|
-
(ce(!0), Ae(
|
45465
|
+
(ce(!0), Ae(Dt, null, Nr(r.playSpeed, (M) => (ce(), ke(v, {
|
45466
45466
|
key: M.value,
|
45467
45467
|
label: M.label,
|
45468
45468
|
value: M.value
|
@@ -45563,7 +45563,7 @@ function uV(r, e, t, i, n, o) {
|
|
45563
45563
|
"virtual-triggering": ""
|
45564
45564
|
}, {
|
45565
45565
|
default: pe(() => [
|
45566
|
-
(ce(!0), Ae(
|
45566
|
+
(ce(!0), Ae(Dt, null, Nr(t.openMapOptions, (M) => (ce(), ke(p, {
|
45567
45567
|
key: M.key
|
45568
45568
|
}, {
|
45569
45569
|
default: pe(() => [
|
@@ -45613,7 +45613,7 @@ function uV(r, e, t, i, n, o) {
|
|
45613
45613
|
onChange: o.viewingModeChange
|
45614
45614
|
}, {
|
45615
45615
|
default: pe(() => [
|
45616
|
-
(ce(!0), Ae(
|
45616
|
+
(ce(!0), Ae(Dt, null, Nr(r.viewingModes, (M) => (ce(), ke(v, {
|
45617
45617
|
key: M,
|
45618
45618
|
label: M,
|
45619
45619
|
value: M
|
@@ -45648,7 +45648,7 @@ function uV(r, e, t, i, n, o) {
|
|
45648
45648
|
}),
|
45649
45649
|
se(p, { class: "backgroundChooser" }, {
|
45650
45650
|
default: pe(() => [
|
45651
|
-
(ce(!0), Ae(
|
45651
|
+
(ce(!0), Ae(Dt, null, Nr(r.availableBackground, (M) => (ce(), Ae("div", {
|
45652
45652
|
key: M,
|
45653
45653
|
class: ve([
|
45654
45654
|
"backgroundChoice",
|
@@ -45842,7 +45842,7 @@ function gV(r, e, t, i, n, o) {
|
|
45842
45842
|
class: ve(["help-mode-dialog", { finish: t.lastItem }])
|
45843
45843
|
}, [
|
45844
45844
|
pV,
|
45845
|
-
t.lastItem ? (ce(), Ae(
|
45845
|
+
t.lastItem ? (ce(), Ae(Dt, { key: 0 }, [
|
45846
45846
|
fV,
|
45847
45847
|
Le("div", null, [
|
45848
45848
|
se(a, {
|
@@ -45855,7 +45855,7 @@ function gV(r, e, t, i, n, o) {
|
|
45855
45855
|
_: 1
|
45856
45856
|
}, 8, ["onClick"])
|
45857
45857
|
])
|
45858
|
-
], 64)) : (ce(), Ae(
|
45858
|
+
], 64)) : (ce(), Ae(Dt, { key: 1 }, [
|
45859
45859
|
mV,
|
45860
45860
|
Le("div", null, [
|
45861
45861
|
se(a, {
|
@@ -45997,10 +45997,10 @@ const vV = /* @__PURE__ */ Ri(dV, [["render", gV], ["__scopeId", "data-v-8f3f806
|
|
45997
45997
|
this.startHelp();
|
45998
45998
|
});
|
45999
45999
|
}
|
46000
|
-
};
|
46001
|
-
function
|
46000
|
+
}, bV = { class: "viewer-container" };
|
46001
|
+
function xV(r, e, t, i, n, o) {
|
46002
46002
|
const a = cr("ScaffoldVuer"), s = cr("HelpModeDialog");
|
46003
|
-
return ce(), Ae(
|
46003
|
+
return ce(), Ae("div", bV, [
|
46004
46004
|
se(a, {
|
46005
46005
|
state: r.entry.state,
|
46006
46006
|
url: r.entry.resource,
|
@@ -46037,9 +46037,9 @@ function bV(r, e, t, i, n, o) {
|
|
46037
46037
|
onShowNext: r.onHelpModeShowNext,
|
46038
46038
|
onFinishHelpMode: r.onFinishHelpMode
|
46039
46039
|
}, null, 8, ["scaffoldRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : Be("", !0)
|
46040
|
-
]
|
46040
|
+
]);
|
46041
46041
|
}
|
46042
|
-
const
|
46042
|
+
const TV = /* @__PURE__ */ zw(yV, [["render", xV], ["__scopeId", "data-v-e4e98409"]]);
|
46043
46043
|
export {
|
46044
|
-
|
46044
|
+
TV as default
|
46045
46045
|
};
|