@abi-software/scaffoldvuer 1.3.0-beta.0 → 1.3.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/scaffoldvuer.js +237 -224
- package/dist/scaffoldvuer.umd.cjs +15 -15
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/src/App.vue +7 -2
- package/src/components/LinesControls.vue +21 -18
- package/src/components/PointsControls.vue +2 -0
- package/src/components/ScaffoldVuer.vue +2 -2
- package/src/scripts/OrgansRenderer.js +2 -1
- package/src/scripts/RendererModule.js +5 -1
package/dist/scaffoldvuer.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { shallowRef as An, watchEffect as a0, readonly as l0, getCurrentScope as c0, onScopeDispose as u0, unref as k, getCurrentInstance as on, onMounted as an, nextTick as Mt, watch as qe, ref as Ae, defineComponent as De, openBlock as me, createElementBlock as Pe, createElementVNode as Ne, warn as i1, isVNode as nd, computed as ce, inject as dt, isRef as As, onBeforeUnmount as Mi, onBeforeMount as r1, provide as wn, mergeProps as
|
|
1
|
+
import { shallowRef as An, watchEffect as a0, readonly as l0, getCurrentScope as c0, onScopeDispose as u0, unref as k, getCurrentInstance as on, onMounted as an, nextTick as Mt, watch as qe, ref as Ae, defineComponent as De, openBlock as me, createElementBlock as Pe, createElementVNode as Ne, warn as i1, isVNode as nd, computed as ce, inject as dt, isRef as As, onBeforeUnmount as Mi, onBeforeMount as r1, provide as wn, mergeProps as Di, renderSlot as Ze, toRef as Bn, onUnmounted as h0, useAttrs as s1, useSlots as ou, createCommentVNode as Ge, Fragment as Ht, normalizeClass as Le, createBlock as He, withCtx as he, resolveDynamicComponent as Zn, withModifiers as gn, createVNode as oe, toDisplayString as xt, normalizeStyle as Bt, Transition as cl, withDirectives as Nt, vShow as dn, reactive as si, onUpdated as of, cloneVNode as o1, Text as d0, Comment as a1, Teleport as l1, onDeactivated as c1, toHandlers as u1, withKeys as gi, createTextVNode as st, toRaw as af, toRefs as Hr, resolveComponent as $n, resolveDirective as h1, toHandlerKey as d1, renderList as Xn, vModelText as f1, h as yo, createApp as p1, pushScopeId as f0, popScopeId as p0, hasInjectionContext as m1, markRaw as ir, effectScope as g1, isReactive as lf } from "vue";
|
|
2
2
|
import { TreeControls as v1, Tooltip as y1, DrawToolbar as b1 } from "@abi-software/map-utilities";
|
|
3
3
|
import { MapSvgIcon as x1, MapSvgSpriteColor as w1 } from "@abi-software/svg-sprite";
|
|
4
4
|
const Qi = (n, e, { checkForDefaultPrevented: t = !0 } = {}) => (r) => {
|
|
@@ -223,7 +223,7 @@ const Ha = () => {
|
|
|
223
223
|
}, K1 = /-(\w)/g, Q1 = cf((n) => n.replace(K1, (e, t) => t ? t.toUpperCase() : "")), eM = /\B([A-Z])/g, tM = cf(
|
|
224
224
|
(n) => n.replace(eM, "-$1").toLowerCase()
|
|
225
225
|
), nM = cf((n) => n.charAt(0).toUpperCase() + n.slice(1));
|
|
226
|
-
var y0 = typeof global == "object" && global && global.Object === Object && global, iM = typeof self == "object" && self && self.Object === Object && self,
|
|
226
|
+
var y0 = typeof global == "object" && global && global.Object === Object && global, iM = typeof self == "object" && self && self.Object === Object && self, Hi = y0 || iM || Function("return this")(), zi = Hi.Symbol, b0 = Object.prototype, rM = b0.hasOwnProperty, sM = b0.toString, pa = zi ? zi.toStringTag : void 0;
|
|
227
227
|
function oM(n) {
|
|
228
228
|
var e = rM.call(n, pa), t = n[pa];
|
|
229
229
|
try {
|
|
@@ -238,7 +238,7 @@ var aM = Object.prototype, lM = aM.toString;
|
|
|
238
238
|
function cM(n) {
|
|
239
239
|
return lM.call(n);
|
|
240
240
|
}
|
|
241
|
-
var uM = "[object Null]", hM = "[object Undefined]", im =
|
|
241
|
+
var uM = "[object Null]", hM = "[object Undefined]", im = zi ? zi.toStringTag : void 0;
|
|
242
242
|
function ea(n) {
|
|
243
243
|
return n == null ? n === void 0 ? hM : uM : im && im in Object(n) ? oM(n) : cM(n);
|
|
244
244
|
}
|
|
@@ -254,7 +254,7 @@ function fM(n, e) {
|
|
|
254
254
|
r[t] = e(n[t], t, n);
|
|
255
255
|
return r;
|
|
256
256
|
}
|
|
257
|
-
var bi = Array.isArray, pM = 1 / 0, rm =
|
|
257
|
+
var bi = Array.isArray, pM = 1 / 0, rm = zi ? zi.prototype : void 0, sm = rm ? rm.toString : void 0;
|
|
258
258
|
function x0(n) {
|
|
259
259
|
if (typeof n == "string")
|
|
260
260
|
return n;
|
|
@@ -305,7 +305,7 @@ function M0(n) {
|
|
|
305
305
|
var e = ea(n);
|
|
306
306
|
return e == SM || e == TM || e == _M || e == EM;
|
|
307
307
|
}
|
|
308
|
-
var Yu =
|
|
308
|
+
var Yu = Hi["__core-js_shared__"], lm = function() {
|
|
309
309
|
var n = /[^.]+$/.exec(Yu && Yu.keys && Yu.keys.IE_PROTO || "");
|
|
310
310
|
return n ? "Symbol(src)_1." + n : "";
|
|
311
311
|
}();
|
|
@@ -342,7 +342,7 @@ function Vs(n, e) {
|
|
|
342
342
|
var t = zM(n, e);
|
|
343
343
|
return FM(t) ? t : void 0;
|
|
344
344
|
}
|
|
345
|
-
var rd = Vs(
|
|
345
|
+
var rd = Vs(Hi, "WeakMap");
|
|
346
346
|
function UM(n, e, t) {
|
|
347
347
|
switch (t.length) {
|
|
348
348
|
case 0:
|
|
@@ -456,7 +456,7 @@ var _0 = Object.prototype, a_ = _0.hasOwnProperty, l_ = _0.propertyIsEnumerable,
|
|
|
456
456
|
function c_() {
|
|
457
457
|
return !1;
|
|
458
458
|
}
|
|
459
|
-
var S0 = typeof exports == "object" && exports && !exports.nodeType && exports, hm = S0 && typeof module == "object" && module && !module.nodeType && module, u_ = hm && hm.exports === S0, dm = u_ ?
|
|
459
|
+
var S0 = typeof exports == "object" && exports && !exports.nodeType && exports, hm = S0 && typeof module == "object" && module && !module.nodeType && module, u_ = hm && hm.exports === S0, dm = u_ ? Hi.Buffer : void 0, h_ = dm ? dm.isBuffer : void 0, sd = h_ || c_, d_ = "[object Arguments]", f_ = "[object Array]", p_ = "[object Boolean]", m_ = "[object Date]", g_ = "[object Error]", v_ = "[object Function]", y_ = "[object Map]", b_ = "[object Number]", x_ = "[object Object]", w_ = "[object RegExp]", M_ = "[object Set]", __ = "[object String]", S_ = "[object WeakMap]", T_ = "[object ArrayBuffer]", E_ = "[object DataView]", A_ = "[object Float32Array]", C_ = "[object Float64Array]", L_ = "[object Int8Array]", R_ = "[object Int16Array]", P_ = "[object Int32Array]", I_ = "[object Uint8Array]", O_ = "[object Uint8ClampedArray]", D_ = "[object Uint16Array]", N_ = "[object Uint32Array]", It = {};
|
|
460
460
|
It[A_] = It[C_] = It[L_] = It[R_] = It[P_] = It[I_] = It[O_] = It[D_] = It[N_] = !0;
|
|
461
461
|
It[d_] = It[f_] = It[T_] = It[p_] = It[E_] = It[m_] = It[g_] = It[v_] = It[y_] = It[b_] = It[x_] = It[w_] = It[M_] = It[__] = It[S_] = !1;
|
|
462
462
|
function B_(n) {
|
|
@@ -587,7 +587,7 @@ pr.prototype.delete = cS;
|
|
|
587
587
|
pr.prototype.get = uS;
|
|
588
588
|
pr.prototype.has = hS;
|
|
589
589
|
pr.prototype.set = dS;
|
|
590
|
-
var ja = Vs(
|
|
590
|
+
var ja = Vs(Hi, "Map");
|
|
591
591
|
function fS() {
|
|
592
592
|
this.size = 0, this.__data__ = {
|
|
593
593
|
hash: new Cs(),
|
|
@@ -684,7 +684,7 @@ function C0(n, e) {
|
|
|
684
684
|
n[r + t] = e[t];
|
|
685
685
|
return n;
|
|
686
686
|
}
|
|
687
|
-
var mm =
|
|
687
|
+
var mm = zi ? zi.isConcatSpreadable : void 0;
|
|
688
688
|
function AS(n) {
|
|
689
689
|
return bi(n) || ff(n) || !!(mm && n && n[mm]);
|
|
690
690
|
}
|
|
@@ -764,7 +764,7 @@ function GS(n, e, t) {
|
|
|
764
764
|
function vm(n) {
|
|
765
765
|
return GS(n, A0, kS);
|
|
766
766
|
}
|
|
767
|
-
var ad = Vs(
|
|
767
|
+
var ad = Vs(Hi, "DataView"), ld = Vs(Hi, "Promise"), cd = Vs(Hi, "Set"), ym = "[object Map]", HS = "[object Object]", bm = "[object Promise]", xm = "[object Set]", wm = "[object WeakMap]", Mm = "[object DataView]", WS = Us(ad), jS = Us(ja), $S = Us(ld), ZS = Us(cd), XS = Us(rd), Or = ea;
|
|
768
768
|
(ad && Or(new ad(new ArrayBuffer(1))) != Mm || ja && Or(new ja()) != ym || ld && Or(ld.resolve()) != bm || cd && Or(new cd()) != xm || rd && Or(new rd()) != wm) && (Or = function(n) {
|
|
769
769
|
var e = ea(n), t = e == HS ? n.constructor : void 0, i = t ? Us(t) : "";
|
|
770
770
|
if (i)
|
|
@@ -782,7 +782,7 @@ var ad = Vs(Gi, "DataView"), ld = Vs(Gi, "Promise"), cd = Vs(Gi, "Set"), ym = "[
|
|
|
782
782
|
}
|
|
783
783
|
return e;
|
|
784
784
|
});
|
|
785
|
-
var _m =
|
|
785
|
+
var _m = Hi.Uint8Array, YS = "__lodash_hash_undefined__";
|
|
786
786
|
function JS(n) {
|
|
787
787
|
return this.__data__.set(n, YS), this;
|
|
788
788
|
}
|
|
@@ -851,7 +851,7 @@ function iT(n) {
|
|
|
851
851
|
t[++e] = i;
|
|
852
852
|
}), t;
|
|
853
853
|
}
|
|
854
|
-
var rT = 1, sT = 2, oT = "[object Boolean]", aT = "[object Date]", lT = "[object Error]", cT = "[object Map]", uT = "[object Number]", hT = "[object RegExp]", dT = "[object Set]", fT = "[object String]", pT = "[object Symbol]", mT = "[object ArrayBuffer]", gT = "[object DataView]", Sm =
|
|
854
|
+
var rT = 1, sT = 2, oT = "[object Boolean]", aT = "[object Date]", lT = "[object Error]", cT = "[object Map]", uT = "[object Number]", hT = "[object RegExp]", dT = "[object Set]", fT = "[object String]", pT = "[object Symbol]", mT = "[object ArrayBuffer]", gT = "[object DataView]", Sm = zi ? zi.prototype : void 0, qu = Sm ? Sm.valueOf : void 0;
|
|
855
855
|
function vT(n, e, t, i, r, s, o) {
|
|
856
856
|
switch (t) {
|
|
857
857
|
case gT:
|
|
@@ -1028,7 +1028,7 @@ function zT(n) {
|
|
|
1028
1028
|
return typeof n == "function" ? n : n == null ? w0 : typeof n == "object" ? bi(n) ? DT(n[0], n[1]) : LT(n) : FT(n);
|
|
1029
1029
|
}
|
|
1030
1030
|
var Ku = function() {
|
|
1031
|
-
return
|
|
1031
|
+
return Hi.Date.now();
|
|
1032
1032
|
}, UT = "Expected a function", VT = Math.max, kT = Math.min;
|
|
1033
1033
|
function ud(n, e, t) {
|
|
1034
1034
|
var i, r, s, o, a, c, l = 0, f = !1, d = !1, m = !0;
|
|
@@ -1437,7 +1437,7 @@ const F0 = "__epPropKey", Xe = (n) => n, vE = (n) => Pn(n) && !!n[F0], pu = (n,
|
|
|
1437
1437
|
return n;
|
|
1438
1438
|
}, yE = (n, e) => (n.install = (t) => {
|
|
1439
1439
|
t.directive(e, n);
|
|
1440
|
-
}, n), gr = (n) => (n.install = Ha, n),
|
|
1440
|
+
}, n), gr = (n) => (n.install = Ha, n), Ni = {
|
|
1441
1441
|
tab: "Tab",
|
|
1442
1442
|
enter: "Enter",
|
|
1443
1443
|
space: "Space",
|
|
@@ -1766,7 +1766,7 @@ var zn = "top", ii = "bottom", ri = "right", Un = "left", wf = "auto", dl = [zn,
|
|
|
1766
1766
|
}, []), na = [].concat(dl, [wf]).reduce(function(n, e) {
|
|
1767
1767
|
return n.concat([e, e + "-" + Co, e + "-" + Za]);
|
|
1768
1768
|
}, []), PE = "beforeRead", IE = "read", OE = "afterRead", DE = "beforeMain", NE = "main", BE = "afterMain", FE = "beforeWrite", zE = "write", UE = "afterWrite", VE = [PE, IE, OE, DE, NE, BE, FE, zE, UE];
|
|
1769
|
-
function
|
|
1769
|
+
function Ui(n) {
|
|
1770
1770
|
return n ? (n.nodeName || "").toLowerCase() : null;
|
|
1771
1771
|
}
|
|
1772
1772
|
function _i(n) {
|
|
@@ -1796,7 +1796,7 @@ function kE(n) {
|
|
|
1796
1796
|
var e = n.state;
|
|
1797
1797
|
Object.keys(e.elements).forEach(function(t) {
|
|
1798
1798
|
var i = e.styles[t] || {}, r = e.attributes[t] || {}, s = e.elements[t];
|
|
1799
|
-
!ni(s) || !
|
|
1799
|
+
!ni(s) || !Ui(s) || (Object.assign(s.style, i), Object.keys(r).forEach(function(o) {
|
|
1800
1800
|
var a = r[o];
|
|
1801
1801
|
a === !1 ? s.removeAttribute(o) : s.setAttribute(o, a === !0 ? "" : a);
|
|
1802
1802
|
}));
|
|
@@ -1809,14 +1809,14 @@ function GE(n) {
|
|
|
1809
1809
|
var r = e.elements[i], s = e.attributes[i] || {}, o = Object.keys(e.styles.hasOwnProperty(i) ? e.styles[i] : t[i]), a = o.reduce(function(c, l) {
|
|
1810
1810
|
return c[l] = "", c;
|
|
1811
1811
|
}, {});
|
|
1812
|
-
!ni(r) || !
|
|
1812
|
+
!ni(r) || !Ui(r) || (Object.assign(r.style, a), Object.keys(s).forEach(function(c) {
|
|
1813
1813
|
r.removeAttribute(c);
|
|
1814
1814
|
}));
|
|
1815
1815
|
});
|
|
1816
1816
|
};
|
|
1817
1817
|
}
|
|
1818
1818
|
var $0 = { name: "applyStyles", enabled: !0, phase: "write", fn: kE, effect: GE, requires: ["computeStyles"] };
|
|
1819
|
-
function
|
|
1819
|
+
function Bi(n) {
|
|
1820
1820
|
return n.split("-")[0];
|
|
1821
1821
|
}
|
|
1822
1822
|
var Ms = Math.max, Yc = Math.min, Ro = Math.round;
|
|
@@ -1851,13 +1851,13 @@ function ur(n) {
|
|
|
1851
1851
|
return _i(n).getComputedStyle(n);
|
|
1852
1852
|
}
|
|
1853
1853
|
function HE(n) {
|
|
1854
|
-
return ["table", "td", "th"].indexOf(
|
|
1854
|
+
return ["table", "td", "th"].indexOf(Ui(n)) >= 0;
|
|
1855
1855
|
}
|
|
1856
1856
|
function Qr(n) {
|
|
1857
1857
|
return ((Lo(n) ? n.ownerDocument : n.document) || window.document).documentElement;
|
|
1858
1858
|
}
|
|
1859
1859
|
function vu(n) {
|
|
1860
|
-
return
|
|
1860
|
+
return Ui(n) === "html" ? n : n.assignedSlot || n.parentNode || (Mf(n) ? n.host : null) || Qr(n);
|
|
1861
1861
|
}
|
|
1862
1862
|
function Pm(n) {
|
|
1863
1863
|
return !ni(n) || ur(n).position === "fixed" ? null : n.offsetParent;
|
|
@@ -1870,7 +1870,7 @@ function WE(n) {
|
|
|
1870
1870
|
return null;
|
|
1871
1871
|
}
|
|
1872
1872
|
var r = vu(n);
|
|
1873
|
-
for (Mf(r) && (r = r.host); ni(r) && ["html", "body"].indexOf(
|
|
1873
|
+
for (Mf(r) && (r = r.host); ni(r) && ["html", "body"].indexOf(Ui(r)) < 0; ) {
|
|
1874
1874
|
var s = ur(r);
|
|
1875
1875
|
if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || e && s.willChange === "filter" || e && s.filter && s.filter !== "none")
|
|
1876
1876
|
return r;
|
|
@@ -1881,7 +1881,7 @@ function WE(n) {
|
|
|
1881
1881
|
function fl(n) {
|
|
1882
1882
|
for (var e = _i(n), t = Pm(n); t && HE(t) && ur(t).position === "static"; )
|
|
1883
1883
|
t = Pm(t);
|
|
1884
|
-
return t && (
|
|
1884
|
+
return t && (Ui(t) === "html" || Ui(t) === "body" && ur(t).position === "static") ? e : t || WE(n) || e;
|
|
1885
1885
|
}
|
|
1886
1886
|
function Sf(n) {
|
|
1887
1887
|
return ["top", "bottom"].indexOf(n) >= 0 ? "x" : "y";
|
|
@@ -1908,7 +1908,7 @@ var $E = function(n, e) {
|
|
|
1908
1908
|
return n = typeof n == "function" ? n(Object.assign({}, e.rects, { placement: e.placement })) : n, Y0(typeof n != "number" ? n : J0(n, dl));
|
|
1909
1909
|
};
|
|
1910
1910
|
function ZE(n) {
|
|
1911
|
-
var e, t = n.state, i = n.name, r = n.options, s = t.elements.arrow, o = t.modifiersData.popperOffsets, a =
|
|
1911
|
+
var e, t = n.state, i = n.name, r = n.options, s = t.elements.arrow, o = t.modifiersData.popperOffsets, a = Bi(t.placement), c = Sf(a), l = [Un, ri].indexOf(a) >= 0, f = l ? "height" : "width";
|
|
1912
1912
|
if (!(!s || !o)) {
|
|
1913
1913
|
var d = $E(r.padding, t), m = _f(s), g = c === "y" ? zn : Un, u = c === "y" ? ii : ri, h = t.rects.reference[f] + t.rects.reference[c] - o[c] - t.rects.popper[f], y = o[c] - t.rects.reference[c], p = fl(s), v = p ? c === "y" ? p.clientHeight || 0 : p.clientWidth || 0 : 0, w = h / 2 - y / 2, S = d[g], E = v - m[f] - d[u], _ = v / 2 - m[f] / 2 + w, x = Na(S, _, E), M = c;
|
|
1914
1914
|
t.modifiersData[i] = (e = {}, e[M] = x, e.centerOffset = x - _, e);
|
|
@@ -1952,7 +1952,7 @@ function Im(n) {
|
|
|
1952
1952
|
return Object.assign({}, C, (e = {}, e[S] = v ? h + "px" : "", e[w] = p ? g + "px" : "", e.transform = "", e));
|
|
1953
1953
|
}
|
|
1954
1954
|
function KE(n) {
|
|
1955
|
-
var e = n.state, t = n.options, i = t.gpuAcceleration, r = i === void 0 ? !0 : i, s = t.adaptive, o = s === void 0 ? !0 : s, a = t.roundOffsets, c = a === void 0 ? !0 : a, l = { placement:
|
|
1955
|
+
var e = n.state, t = n.options, i = t.gpuAcceleration, r = i === void 0 ? !0 : i, s = t.adaptive, o = s === void 0 ? !0 : s, a = t.roundOffsets, c = a === void 0 ? !0 : a, l = { placement: Bi(e.placement), variation: Io(e.placement), popper: e.elements.popper, popperRect: e.rects.popper, gpuAcceleration: r, isFixed: e.options.strategy === "fixed" };
|
|
1956
1956
|
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, Im(Object.assign({}, l, { offsets: e.modifiersData.popperOffsets, position: e.options.strategy, adaptive: o, roundOffsets: c })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, Im(Object.assign({}, l, { offsets: e.modifiersData.arrow, position: "absolute", adaptive: !1, roundOffsets: c })))), e.attributes.popper = Object.assign({}, e.attributes.popper, { "data-popper-placement": e.placement });
|
|
1957
1957
|
}
|
|
1958
1958
|
var q0 = { name: "computeStyles", enabled: !0, phase: "beforeWrite", fn: KE, data: {} }, Dl = { passive: !0 };
|
|
@@ -1999,7 +1999,7 @@ function Af(n) {
|
|
|
1999
1999
|
return /auto|scroll|overlay|hidden/.test(t + r + i);
|
|
2000
2000
|
}
|
|
2001
2001
|
function Q0(n) {
|
|
2002
|
-
return ["html", "body", "#document"].indexOf(
|
|
2002
|
+
return ["html", "body", "#document"].indexOf(Ui(n)) >= 0 ? n.ownerDocument.body : ni(n) && Af(n) ? n : Q0(vu(n));
|
|
2003
2003
|
}
|
|
2004
2004
|
function Ba(n, e) {
|
|
2005
2005
|
var t;
|
|
@@ -2020,7 +2020,7 @@ function Dm(n, e) {
|
|
|
2020
2020
|
function sA(n) {
|
|
2021
2021
|
var e = Ba(vu(n)), t = ["absolute", "fixed"].indexOf(ur(n).position) >= 0, i = t && ni(n) ? fl(n) : n;
|
|
2022
2022
|
return Lo(i) ? e.filter(function(r) {
|
|
2023
|
-
return Lo(r) && Z0(r, i) &&
|
|
2023
|
+
return Lo(r) && Z0(r, i) && Ui(r) !== "body";
|
|
2024
2024
|
}) : [];
|
|
2025
2025
|
}
|
|
2026
2026
|
function oA(n, e, t) {
|
|
@@ -2031,7 +2031,7 @@ function oA(n, e, t) {
|
|
|
2031
2031
|
return o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o;
|
|
2032
2032
|
}
|
|
2033
2033
|
function ey(n) {
|
|
2034
|
-
var e = n.reference, t = n.element, i = n.placement, r = i ?
|
|
2034
|
+
var e = n.reference, t = n.element, i = n.placement, r = i ? Bi(i) : null, s = i ? Io(i) : null, o = e.x + e.width / 2 - t.width / 2, a = e.y + e.height / 2 - t.height / 2, c;
|
|
2035
2035
|
switch (r) {
|
|
2036
2036
|
case zn:
|
|
2037
2037
|
c = { x: o, y: e.y - t.height };
|
|
@@ -2083,14 +2083,14 @@ function aA(n, e) {
|
|
|
2083
2083
|
});
|
|
2084
2084
|
m.length === 0 && (m = d);
|
|
2085
2085
|
var g = m.reduce(function(u, h) {
|
|
2086
|
-
return u[h] = Xa(n, { placement: h, boundary: r, rootBoundary: s, padding: o })[
|
|
2086
|
+
return u[h] = Xa(n, { placement: h, boundary: r, rootBoundary: s, padding: o })[Bi(h)], u;
|
|
2087
2087
|
}, {});
|
|
2088
2088
|
return Object.keys(g).sort(function(u, h) {
|
|
2089
2089
|
return g[u] - g[h];
|
|
2090
2090
|
});
|
|
2091
2091
|
}
|
|
2092
2092
|
function lA(n) {
|
|
2093
|
-
if (
|
|
2093
|
+
if (Bi(n) === wf)
|
|
2094
2094
|
return [];
|
|
2095
2095
|
var e = Bc(n);
|
|
2096
2096
|
return [Om(n), e, Om(e)];
|
|
@@ -2098,10 +2098,10 @@ function lA(n) {
|
|
|
2098
2098
|
function cA(n) {
|
|
2099
2099
|
var e = n.state, t = n.options, i = n.name;
|
|
2100
2100
|
if (!e.modifiersData[i]._skip) {
|
|
2101
|
-
for (var r = t.mainAxis, s = r === void 0 ? !0 : r, o = t.altAxis, a = o === void 0 ? !0 : o, c = t.fallbackPlacements, l = t.padding, f = t.boundary, d = t.rootBoundary, m = t.altBoundary, g = t.flipVariations, u = g === void 0 ? !0 : g, h = t.allowedAutoPlacements, y = e.options.placement, p =
|
|
2102
|
-
return se.concat(
|
|
2101
|
+
for (var r = t.mainAxis, s = r === void 0 ? !0 : r, o = t.altAxis, a = o === void 0 ? !0 : o, c = t.fallbackPlacements, l = t.padding, f = t.boundary, d = t.rootBoundary, m = t.altBoundary, g = t.flipVariations, u = g === void 0 ? !0 : g, h = t.allowedAutoPlacements, y = e.options.placement, p = Bi(y), v = p === y, w = c || (v || !u ? [Bc(y)] : lA(y)), S = [y].concat(w).reduce(function(se, j) {
|
|
2102
|
+
return se.concat(Bi(j) === wf ? aA(e, { placement: j, boundary: f, rootBoundary: d, padding: l, flipVariations: u, allowedAutoPlacements: h }) : j);
|
|
2103
2103
|
}, []), E = e.rects.reference, _ = e.rects.popper, x = /* @__PURE__ */ new Map(), M = !0, T = S[0], A = 0; A < S.length; A++) {
|
|
2104
|
-
var C = S[A], R =
|
|
2104
|
+
var C = S[A], R = Bi(C), I = Io(C) === Co, P = [zn, ii].indexOf(R) >= 0, O = P ? "width" : "height", b = Xa(e, { placement: C, boundary: f, rootBoundary: d, altBoundary: m, padding: l }), L = P ? I ? ri : Un : I ? ii : zn;
|
|
2105
2105
|
E[O] > _[O] && (L = Bc(L));
|
|
2106
2106
|
var N = Bc(L), D = [];
|
|
2107
2107
|
if (s && D.push(b[R] <= 0), a && D.push(b[L] <= 0, b[N] <= 0), D.every(function(se) {
|
|
@@ -2146,7 +2146,7 @@ function hA(n) {
|
|
|
2146
2146
|
}
|
|
2147
2147
|
var dA = { name: "hide", enabled: !0, phase: "main", requiresIfExists: ["preventOverflow"], fn: hA };
|
|
2148
2148
|
function fA(n, e, t) {
|
|
2149
|
-
var i =
|
|
2149
|
+
var i = Bi(n), r = [Un, zn].indexOf(i) >= 0 ? -1 : 1, s = typeof t == "function" ? t(Object.assign({}, e, { placement: n })) : t, o = s[0], a = s[1];
|
|
2150
2150
|
return o = o || 0, a = (a || 0) * r, [Un, ri].indexOf(i) >= 0 ? { x: a, y: o } : { x: o, y: a };
|
|
2151
2151
|
}
|
|
2152
2152
|
function pA(n) {
|
|
@@ -2165,7 +2165,7 @@ function vA(n) {
|
|
|
2165
2165
|
return n === "x" ? "y" : "x";
|
|
2166
2166
|
}
|
|
2167
2167
|
function yA(n) {
|
|
2168
|
-
var e = n.state, t = n.options, i = n.name, r = t.mainAxis, s = r === void 0 ? !0 : r, o = t.altAxis, a = o === void 0 ? !1 : o, c = t.boundary, l = t.rootBoundary, f = t.altBoundary, d = t.padding, m = t.tether, g = m === void 0 ? !0 : m, u = t.tetherOffset, h = u === void 0 ? 0 : u, y = Xa(e, { boundary: c, rootBoundary: l, padding: d, altBoundary: f }), p =
|
|
2168
|
+
var e = n.state, t = n.options, i = n.name, r = t.mainAxis, s = r === void 0 ? !0 : r, o = t.altAxis, a = o === void 0 ? !1 : o, c = t.boundary, l = t.rootBoundary, f = t.altBoundary, d = t.padding, m = t.tether, g = m === void 0 ? !0 : m, u = t.tetherOffset, h = u === void 0 ? 0 : u, y = Xa(e, { boundary: c, rootBoundary: l, padding: d, altBoundary: f }), p = Bi(e.placement), v = Io(e.placement), w = !v, S = Sf(p), E = vA(S), _ = e.modifiersData.popperOffsets, x = e.rects.reference, M = e.rects.popper, T = typeof h == "function" ? h(Object.assign({}, e.rects, { placement: e.placement })) : h, A = typeof T == "number" ? { mainAxis: T, altAxis: T } : Object.assign({ mainAxis: 0, altAxis: 0 }, T), C = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, R = { x: 0, y: 0 };
|
|
2169
2169
|
if (_) {
|
|
2170
2170
|
if (s) {
|
|
2171
2171
|
var I, P = S === "y" ? zn : Un, O = S === "y" ? ii : ri, b = S === "y" ? "height" : "width", L = _[S], N = L + y[P], D = L - y[O], z = g ? -M[b] / 2 : 0, G = v === Co ? x[b] : M[b], H = v === Co ? -M[b] : -x[b], ee = e.elements.arrow, se = g && ee ? _f(ee) : { width: 0, height: 0 }, j = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : X0(), U = j[P], W = j[O], K = Na(0, x[b], se[b]), J = w ? x[b] / 2 - z - K - U - A.mainAxis : G - K - U - A.mainAxis, Q = w ? -x[b] / 2 + z + K + W + A.mainAxis : H + K + W + A.mainAxis, te = e.elements.arrow && fl(e.elements.arrow), q = te ? S === "y" ? te.clientTop || 0 : te.clientLeft || 0 : 0, re = (I = C == null ? void 0 : C[S]) != null ? I : 0, B = L + J - re - q, $ = L + Q - re, X = Na(g ? Yc(N, B) : N, L, g ? Ms(D, $) : D);
|
|
@@ -2192,7 +2192,7 @@ function MA(n) {
|
|
|
2192
2192
|
function _A(n, e, t) {
|
|
2193
2193
|
t === void 0 && (t = !1);
|
|
2194
2194
|
var i = ni(e), r = ni(e) && MA(e), s = Qr(e), o = Po(n, r), a = { scrollLeft: 0, scrollTop: 0 }, c = { x: 0, y: 0 };
|
|
2195
|
-
return (i || !i && !t) && ((
|
|
2195
|
+
return (i || !i && !t) && ((Ui(e) !== "body" || Af(s)) && (a = wA(e)), ni(e) ? (c = Po(e, !0), c.x += e.clientLeft, c.y += e.clientTop) : s && (c.x = Ef(s))), { x: o.left + a.scrollLeft - c.x, y: o.top + a.scrollTop - c.y, width: o.width, height: o.height };
|
|
2196
2196
|
}
|
|
2197
2197
|
function SA(n) {
|
|
2198
2198
|
var e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Set(), i = [];
|
|
@@ -2408,7 +2408,7 @@ usage: app.provide(ID_INJECTION_KEY, {
|
|
|
2408
2408
|
let bo = [];
|
|
2409
2409
|
const Vm = (n) => {
|
|
2410
2410
|
const e = n;
|
|
2411
|
-
e.key ===
|
|
2411
|
+
e.key === Ni.esc && bo.forEach((t) => t(e));
|
|
2412
2412
|
}, DA = (n) => {
|
|
2413
2413
|
an(() => {
|
|
2414
2414
|
bo.length === 0 && document.addEventListener("keydown", Vm), tn && bo.push(n);
|
|
@@ -2680,7 +2680,7 @@ const eC = ft({
|
|
|
2680
2680
|
"--color": s
|
|
2681
2681
|
};
|
|
2682
2682
|
});
|
|
2683
|
-
return (r, s) => (me(), Pe("i",
|
|
2683
|
+
return (r, s) => (me(), Pe("i", Di({
|
|
2684
2684
|
class: k(t).b(),
|
|
2685
2685
|
style: k(i)
|
|
2686
2686
|
}, r.$attrs), [
|
|
@@ -3028,7 +3028,7 @@ const aC = ft({
|
|
|
3028
3028
|
select: Me,
|
|
3029
3029
|
clear: Te,
|
|
3030
3030
|
resizeTextarea: K
|
|
3031
|
-
}), (fe, be) => (me(), Pe("div",
|
|
3031
|
+
}), (fe, be) => (me(), Pe("div", Di(k(o), {
|
|
3032
3032
|
class: [
|
|
3033
3033
|
k(a),
|
|
3034
3034
|
{
|
|
@@ -3075,7 +3075,7 @@ const aC = ft({
|
|
|
3075
3075
|
}, 8, ["class"])) : Ge("v-if", !0)
|
|
3076
3076
|
], 2)
|
|
3077
3077
|
], 2)) : Ge("v-if", !0),
|
|
3078
|
-
Ne("input",
|
|
3078
|
+
Ne("input", Di({
|
|
3079
3079
|
id: k(m),
|
|
3080
3080
|
ref_key: "input",
|
|
3081
3081
|
ref: p,
|
|
@@ -3176,7 +3176,7 @@ const aC = ft({
|
|
|
3176
3176
|
], 2)) : Ge("v-if", !0)
|
|
3177
3177
|
], 64)) : (me(), Pe(Ht, { key: 1 }, [
|
|
3178
3178
|
Ge(" textarea "),
|
|
3179
|
-
Ne("textarea",
|
|
3179
|
+
Ne("textarea", Di({
|
|
3180
3180
|
id: k(m),
|
|
3181
3181
|
ref_key: "textarea",
|
|
3182
3182
|
ref: v,
|
|
@@ -3712,7 +3712,7 @@ const py = ft({
|
|
|
3712
3712
|
l == null || l(), l = void 0;
|
|
3713
3713
|
}), e({
|
|
3714
3714
|
triggerRef: r
|
|
3715
|
-
}), (f, d) => f.virtualTriggering ? Ge("v-if", !0) : (me(), He(k(BC),
|
|
3715
|
+
}), (f, d) => f.virtualTriggering ? Ge("v-if", !0) : (me(), He(k(BC), Di({ key: 0 }, f.$attrs, {
|
|
3716
3716
|
"aria-controls": k(s),
|
|
3717
3717
|
"aria-describedby": k(o),
|
|
3718
3718
|
"aria-expanded": k(c),
|
|
@@ -3844,7 +3844,7 @@ const $C = () => {
|
|
|
3844
3844
|
}, a = (u) => {
|
|
3845
3845
|
if (!n.loop && !n.trapped || o.paused)
|
|
3846
3846
|
return;
|
|
3847
|
-
const { key: h, altKey: y, ctrlKey: p, metaKey: v, currentTarget: w, shiftKey: S } = u, { loop: E } = n, _ = h ===
|
|
3847
|
+
const { key: h, altKey: y, ctrlKey: p, metaKey: v, currentTarget: w, shiftKey: S } = u, { loop: E } = n, _ = h === Ni.tab && !y && !p && !v, x = document.activeElement;
|
|
3848
3848
|
if (_ && x) {
|
|
3849
3849
|
const M = w, [T, A] = WC(M);
|
|
3850
3850
|
if (T && A) {
|
|
@@ -4228,7 +4228,7 @@ const o2 = 0, a2 = (n) => {
|
|
|
4228
4228
|
popperInstanceRef: h,
|
|
4229
4229
|
updatePopper: C,
|
|
4230
4230
|
contentStyle: _
|
|
4231
|
-
}), (I, P) => (me(), Pe("div",
|
|
4231
|
+
}), (I, P) => (me(), Pe("div", Di({
|
|
4232
4232
|
ref_key: "contentRef",
|
|
4233
4233
|
ref: g
|
|
4234
4234
|
}, k(S), {
|
|
@@ -4293,7 +4293,7 @@ const f2 = Ln(IC), Bf = Symbol("elTooltip"), jn = ft({
|
|
|
4293
4293
|
},
|
|
4294
4294
|
triggerKeys: {
|
|
4295
4295
|
type: Xe(Array),
|
|
4296
|
-
default: () => [
|
|
4296
|
+
default: () => [Ni.enter, Ni.space]
|
|
4297
4297
|
}
|
|
4298
4298
|
}), {
|
|
4299
4299
|
useModelToggleProps: p2,
|
|
@@ -4433,7 +4433,7 @@ const _2 = De({
|
|
|
4433
4433
|
onBeforeLeave: I
|
|
4434
4434
|
}, {
|
|
4435
4435
|
default: he(() => [
|
|
4436
|
-
k(w) ? Nt((me(), He(k(d2),
|
|
4436
|
+
k(w) ? Nt((me(), He(k(d2), Di({
|
|
4437
4437
|
key: 0,
|
|
4438
4438
|
id: k(c),
|
|
4439
4439
|
ref_key: "contentRef",
|
|
@@ -5277,7 +5277,7 @@ const Y2 = De({
|
|
|
5277
5277
|
type: c,
|
|
5278
5278
|
disabled: l,
|
|
5279
5279
|
shouldAddSpace: d
|
|
5280
|
-
}), (u, h) => (me(), He(Zn(u.tag),
|
|
5280
|
+
}), (u, h) => (me(), He(Zn(u.tag), Di({
|
|
5281
5281
|
ref_key: "_ref",
|
|
5282
5282
|
ref: o
|
|
5283
5283
|
}, k(f), {
|
|
@@ -5570,7 +5570,7 @@ const cL = Ln(lL), wy = Symbol("rowContextKey"), uL = [
|
|
|
5570
5570
|
}
|
|
5571
5571
|
});
|
|
5572
5572
|
var mL = /* @__PURE__ */ ut(pL, [["__file", "row.vue"]]);
|
|
5573
|
-
const
|
|
5573
|
+
const Si = Ln(mL), gL = ft({
|
|
5574
5574
|
tag: {
|
|
5575
5575
|
type: String,
|
|
5576
5576
|
default: "div"
|
|
@@ -5731,7 +5731,7 @@ const AL = De({
|
|
|
5731
5731
|
t(r);
|
|
5732
5732
|
}
|
|
5733
5733
|
};
|
|
5734
|
-
return (r, s) => (me(), He(cl,
|
|
5734
|
+
return (r, s) => (me(), He(cl, Di({
|
|
5735
5735
|
name: k(e).b()
|
|
5736
5736
|
}, u1(i)), {
|
|
5737
5737
|
default: he(() => [
|
|
@@ -5984,7 +5984,7 @@ const oi = Ln(UL, {
|
|
|
5984
5984
|
Main: Ly
|
|
5985
5985
|
});
|
|
5986
5986
|
gr(Ey);
|
|
5987
|
-
const Ry = gr(Ay), zf = gr(Cy),
|
|
5987
|
+
const Ry = gr(Ay), zf = gr(Cy), Ti = gr(Ly), XL = /* @__PURE__ */ De({
|
|
5988
5988
|
inheritAttrs: !1
|
|
5989
5989
|
});
|
|
5990
5990
|
function YL(n, e, t, i, r, s) {
|
|
@@ -6685,7 +6685,7 @@ const vR = 11, yR = (n, e) => {
|
|
|
6685
6685
|
}, G.value), ie = (de) => {
|
|
6686
6686
|
jc(n.modelValue, de) || e(Kr, de);
|
|
6687
6687
|
}, Se = (de) => GT(de, (we) => !o.disabledOptions.has(we)), ge = (de) => {
|
|
6688
|
-
if (n.multiple && de.code !==
|
|
6688
|
+
if (n.multiple && de.code !== Ni.delete && de.target.value.length <= 0) {
|
|
6689
6689
|
const we = n.modelValue.slice(), Ue = Se(we);
|
|
6690
6690
|
if (Ue < 0)
|
|
6691
6691
|
return;
|
|
@@ -6726,7 +6726,7 @@ const vR = 11, yR = (n, e) => {
|
|
|
6726
6726
|
const mt = Rn(de) ? de[0] : de;
|
|
6727
6727
|
let un = null;
|
|
6728
6728
|
if (mt != null && mt.value) {
|
|
6729
|
-
const Ct = se.value.filter((
|
|
6729
|
+
const Ct = se.value.filter((Ai) => Ai.value === mt.value);
|
|
6730
6730
|
Ct.length > 0 && (un = Ct[0].$el);
|
|
6731
6731
|
}
|
|
6732
6732
|
if (l.value && un) {
|
|
@@ -7488,7 +7488,7 @@ const LR = ft({
|
|
|
7488
7488
|
return e({
|
|
7489
7489
|
popperRef: a,
|
|
7490
7490
|
hide: d
|
|
7491
|
-
}), (y, p) => (me(), He(k(Ff),
|
|
7491
|
+
}), (y, p) => (me(), He(k(Ff), Di({
|
|
7492
7492
|
ref_key: "tooltipRef",
|
|
7493
7493
|
ref: o
|
|
7494
7494
|
}, y.$attrs, {
|
|
@@ -7716,7 +7716,7 @@ const BR = "popover", FR = yE(NR, BR), Tu = Ln(DR, {
|
|
|
7716
7716
|
setFirstValue: w,
|
|
7717
7717
|
setSecondValue: S
|
|
7718
7718
|
};
|
|
7719
|
-
}, { left: HR, down: WR, right: jR, up: $R, home: ZR, end: XR, pageUp: YR, pageDown: JR } =
|
|
7719
|
+
}, { left: HR, down: WR, right: jR, up: $R, home: ZR, end: XR, pageUp: YR, pageDown: JR } = Ni, qR = (n, e, t) => {
|
|
7720
7720
|
const i = Ae(), r = Ae(!1), s = ce(() => e.value instanceof Function), o = ce(() => s.value && e.value(n.modelValue) || n.modelValue), a = ud(() => {
|
|
7721
7721
|
t.value && (r.value = !0);
|
|
7722
7722
|
}, 50), c = ud(() => {
|
|
@@ -8241,7 +8241,7 @@ const vP = ft({
|
|
|
8241
8241
|
down: R,
|
|
8242
8242
|
left: I,
|
|
8243
8243
|
right: P
|
|
8244
|
-
} =
|
|
8244
|
+
} = Ni;
|
|
8245
8245
|
if (![C, R, I, P].includes(A))
|
|
8246
8246
|
return;
|
|
8247
8247
|
const O = Array.from(T.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")), b = O.indexOf(T.target);
|
|
@@ -8298,7 +8298,7 @@ const vP = ft({
|
|
|
8298
8298
|
M(), t("tabClick", C, D, se);
|
|
8299
8299
|
},
|
|
8300
8300
|
onKeydown: (se) => {
|
|
8301
|
-
z && (se.code ===
|
|
8301
|
+
z && (se.code === Ni.delete || se.code === Ni.backspace) && t("tabRemove", C, se);
|
|
8302
8302
|
}
|
|
8303
8303
|
}, [H, G]);
|
|
8304
8304
|
});
|
|
@@ -8393,7 +8393,7 @@ const vP = ft({
|
|
|
8393
8393
|
tabindex: "0",
|
|
8394
8394
|
onClick: u,
|
|
8395
8395
|
onKeydown: (w) => {
|
|
8396
|
-
w.code ===
|
|
8396
|
+
w.code === Ni.enter && u();
|
|
8397
8397
|
}
|
|
8398
8398
|
}, [h ? Ze(t, "add-icon") : oe(Ft, {
|
|
8399
8399
|
class: s.is("icon-plus")
|
|
@@ -12939,7 +12939,7 @@ class Nu extends yi {
|
|
|
12939
12939
|
}
|
|
12940
12940
|
Nu.prototype.isWebGLCubeRenderTarget = !0;
|
|
12941
12941
|
const Rh = /* @__PURE__ */ new Z(), FI = /* @__PURE__ */ new Z(), zI = /* @__PURE__ */ new sn();
|
|
12942
|
-
class
|
|
12942
|
+
class Pi {
|
|
12943
12943
|
constructor(e = new Z(1, 0, 0), t = 0) {
|
|
12944
12944
|
this.normal = e, this.constant = t;
|
|
12945
12945
|
}
|
|
@@ -13009,10 +13009,10 @@ class Ri {
|
|
|
13009
13009
|
return new this.constructor().copy(this);
|
|
13010
13010
|
}
|
|
13011
13011
|
}
|
|
13012
|
-
|
|
13012
|
+
Pi.prototype.isPlane = !0;
|
|
13013
13013
|
const lo = /* @__PURE__ */ new br(), rc = /* @__PURE__ */ new Z();
|
|
13014
13014
|
class xl {
|
|
13015
|
-
constructor(e = new
|
|
13015
|
+
constructor(e = new Pi(), t = new Pi(), i = new Pi(), r = new Pi(), s = new Pi(), o = new Pi()) {
|
|
13016
13016
|
this.planes = [e, t, i, r, s, o];
|
|
13017
13017
|
}
|
|
13018
13018
|
set(e, t, i, r, s, o) {
|
|
@@ -16807,7 +16807,7 @@ function uD(n, e, t) {
|
|
|
16807
16807
|
function hD(n) {
|
|
16808
16808
|
const e = this;
|
|
16809
16809
|
let t = null, i = 0, r = !1, s = !1;
|
|
16810
|
-
const o = new
|
|
16810
|
+
const o = new Pi(), a = new sn(), c = { value: null, needsUpdate: !1 };
|
|
16811
16811
|
this.uniform = c, this.numPlanes = 0, this.numIntersection = 0, this.init = function(d, m, g) {
|
|
16812
16812
|
const u = d.length !== 0 || m || // enable state of previous frame - the clipping code has to
|
|
16813
16813
|
// run another frame in order to reset the state:
|
|
@@ -19475,25 +19475,25 @@ class tp extends rn {
|
|
|
19475
19475
|
}
|
|
19476
19476
|
}
|
|
19477
19477
|
tp.prototype.isArrayCamera = !0;
|
|
19478
|
-
class
|
|
19478
|
+
class Ii extends ot {
|
|
19479
19479
|
constructor() {
|
|
19480
19480
|
super(), this.type = "Group";
|
|
19481
19481
|
}
|
|
19482
19482
|
}
|
|
19483
|
-
|
|
19483
|
+
Ii.prototype.isGroup = !0;
|
|
19484
19484
|
const VN = { type: "move" };
|
|
19485
19485
|
class Ih {
|
|
19486
19486
|
constructor() {
|
|
19487
19487
|
this._targetRay = null, this._grip = null, this._hand = null;
|
|
19488
19488
|
}
|
|
19489
19489
|
getHandSpace() {
|
|
19490
|
-
return this._hand === null && (this._hand = new
|
|
19490
|
+
return this._hand === null && (this._hand = new Ii(), this._hand.matrixAutoUpdate = !1, this._hand.visible = !1, this._hand.joints = {}, this._hand.inputState = { pinching: !1 }), this._hand;
|
|
19491
19491
|
}
|
|
19492
19492
|
getTargetRaySpace() {
|
|
19493
|
-
return this._targetRay === null && (this._targetRay = new
|
|
19493
|
+
return this._targetRay === null && (this._targetRay = new Ii(), this._targetRay.matrixAutoUpdate = !1, this._targetRay.visible = !1, this._targetRay.hasLinearVelocity = !1, this._targetRay.linearVelocity = new Z(), this._targetRay.hasAngularVelocity = !1, this._targetRay.angularVelocity = new Z()), this._targetRay;
|
|
19494
19494
|
}
|
|
19495
19495
|
getGripSpace() {
|
|
19496
|
-
return this._grip === null && (this._grip = new
|
|
19496
|
+
return this._grip === null && (this._grip = new Ii(), this._grip.matrixAutoUpdate = !1, this._grip.visible = !1, this._grip.hasLinearVelocity = !1, this._grip.linearVelocity = new Z(), this._grip.hasAngularVelocity = !1, this._grip.angularVelocity = new Z()), this._grip;
|
|
19497
19497
|
}
|
|
19498
19498
|
dispatchEvent(e) {
|
|
19499
19499
|
return this._targetRay !== null && this._targetRay.dispatchEvent(e), this._grip !== null && this._grip.dispatchEvent(e), this._hand !== null && this._hand.dispatchEvent(e), this;
|
|
@@ -19510,7 +19510,7 @@ class Ih {
|
|
|
19510
19510
|
for (const h of e.hand.values()) {
|
|
19511
19511
|
const y = t.getJointPose(h, i);
|
|
19512
19512
|
if (l.joints[h.jointName] === void 0) {
|
|
19513
|
-
const v = new
|
|
19513
|
+
const v = new Ii();
|
|
19514
19514
|
v.matrixAutoUpdate = !1, v.visible = !1, l.joints[h.jointName] = v, l.add(v);
|
|
19515
19515
|
}
|
|
19516
19516
|
const p = l.joints[h.jointName];
|
|
@@ -19917,7 +19917,7 @@ function At(n = {}) {
|
|
|
19917
19917
|
_e.wireframe === !0 && (Ue = X.getWireframeAttribute(ve), Ke = 2), (_e.morphTargets || _e.morphNormals) && fe.update(Ie, ve, _e, we), ge.setup(Ie, _e, we, ve, Ue);
|
|
19918
19918
|
let Ye, mt = be;
|
|
19919
19919
|
Ue !== null && (Ye = $.get(Ue), mt = ie, mt.setIndex(Ye));
|
|
19920
|
-
const un = Ue !== null ? Ue.count : ze.count, Ct = ve.drawRange.start * Ke,
|
|
19920
|
+
const un = Ue !== null ? Ue.count : ze.count, Ct = ve.drawRange.start * Ke, Ai = ve.drawRange.count * Ke, Pt = Qe !== null ? Qe.start * Ke : 0, os = Qe !== null ? Qe.count * Ke : 1 / 0, _n = Math.max(Ct, Pt), n1 = Math.min(un, Ct + Ai, Pt + os) - 1, Il = Math.max(0, n1 - _n + 1);
|
|
19921
19921
|
if (Il !== 0) {
|
|
19922
19922
|
if (Ie.isMesh)
|
|
19923
19923
|
_e.wireframe === !0 ? (Q.setLineWidth(_e.wireframeLinewidth * j()), mt.setMode(1)) : mt.setMode(4);
|
|
@@ -20080,14 +20080,14 @@ function At(n = {}) {
|
|
|
20080
20080
|
ve.version === ze.__version ? (ze.needsLights && ze.lightsStateVersion !== Ke.state.version || ze.outputEncoding !== de || _e.isInstancedMesh && ze.instancing === !1 || !_e.isInstancedMesh && ze.instancing === !0 || _e.isSkinnedMesh && ze.skinning === !1 || !_e.isSkinnedMesh && ze.skinning === !0 || ze.envMap !== we || ve.fog && ze.fog !== Ie || ze.numClippingPlanes !== void 0 && (ze.numClippingPlanes !== pe.numPlanes || ze.numIntersection !== pe.numIntersection) || ze.vertexAlphas !== Ue) && (Ye = !0) : (Ye = !0, ze.__version = ve.version);
|
|
20081
20081
|
let mt = ze.currentProgram;
|
|
20082
20082
|
Ye === !0 && (mt = vt(ve, ye, _e));
|
|
20083
|
-
let un = !1, Ct = !1,
|
|
20083
|
+
let un = !1, Ct = !1, Ai = !1;
|
|
20084
20084
|
const Pt = mt.getUniforms(), os = ze.uniforms;
|
|
20085
|
-
if (Q.useProgram(mt.program) && (un = !0, Ct = !0,
|
|
20085
|
+
if (Q.useProgram(mt.program) && (un = !0, Ct = !0, Ai = !0), ve.id !== S && (S = ve.id, Ct = !0), un || E !== Y) {
|
|
20086
20086
|
if (Pt.setValue(U, "projectionMatrix", Y.projectionMatrix), J.logarithmicDepthBuffer && Pt.setValue(
|
|
20087
20087
|
U,
|
|
20088
20088
|
"logDepthBufFC",
|
|
20089
20089
|
2 / (Math.log(Y.far + 1) / Math.LN2)
|
|
20090
|
-
), E !== Y && (E = Y, Ct = !0,
|
|
20090
|
+
), E !== Y && (E = Y, Ct = !0, Ai = !0), ve.isShaderMaterial || ve.isMeshPhongMaterial || ve.isMeshToonMaterial || ve.isMeshStandardMaterial || ve.envMap) {
|
|
20091
20091
|
const _n = Pt.map.cameraPosition;
|
|
20092
20092
|
_n !== void 0 && _n.setValue(
|
|
20093
20093
|
U,
|
|
@@ -20101,7 +20101,7 @@ function At(n = {}) {
|
|
|
20101
20101
|
const _n = _e.skeleton;
|
|
20102
20102
|
_n && (J.floatVertexTextures ? (_n.boneTexture === null && _n.computeBoneTexture(), Pt.setValue(U, "boneTexture", _n.boneTexture, re), Pt.setValue(U, "boneTextureSize", _n.boneTextureSize)) : Pt.setOptional(U, _n, "boneMatrices"));
|
|
20103
20103
|
}
|
|
20104
|
-
return (Ct || ze.receiveShadow !== _e.receiveShadow) && (ze.receiveShadow = _e.receiveShadow, Pt.setValue(U, "receiveShadow", _e.receiveShadow)), Ct && (Pt.setValue(U, "toneMappingExposure", h.toneMappingExposure), ze.needsLights && Vt(os,
|
|
20104
|
+
return (Ct || ze.receiveShadow !== _e.receiveShadow) && (ze.receiveShadow = _e.receiveShadow, Pt.setValue(U, "receiveShadow", _e.receiveShadow)), Ct && (Pt.setValue(U, "toneMappingExposure", h.toneMappingExposure), ze.needsLights && Vt(os, Ai), Ie && ve.fog && ae.refreshFogUniforms(os, Ie), ae.refreshMaterialUniforms(os, ve, C, A, G), Vr.upload(U, ze.uniformsList, os, re)), ve.isShaderMaterial && ve.uniformsNeedUpdate === !0 && (Vr.upload(U, ze.uniformsList, os, re), ve.uniformsNeedUpdate = !1), ve.isSpriteMaterial && Pt.setValue(U, "center", _e.center), Pt.setValue(U, "modelViewMatrix", _e.modelViewMatrix), Pt.setValue(U, "normalMatrix", _e.normalMatrix), Pt.setValue(U, "modelMatrix", _e.matrixWorld), mt;
|
|
20105
20105
|
}
|
|
20106
20106
|
function Vt(Y, ye) {
|
|
20107
20107
|
Y.ambientLightColor.needsUpdate = ye, Y.lightProbe.needsUpdate = ye, Y.directionalLights.needsUpdate = ye, Y.directionalLightShadows.needsUpdate = ye, Y.pointLights.needsUpdate = ye, Y.pointLightShadows.needsUpdate = ye, Y.spotLights.needsUpdate = ye, Y.spotLightShadows.needsUpdate = ye, Y.rectAreaLights.needsUpdate = ye, Y.hemisphereLights.needsUpdate = ye;
|
|
@@ -20198,8 +20198,8 @@ function At(n = {}) {
|
|
|
20198
20198
|
return;
|
|
20199
20199
|
}
|
|
20200
20200
|
U.pixelStorei(37440, _e.flipY), U.pixelStorei(37441, _e.premultiplyAlpha), U.pixelStorei(3317, _e.unpackAlignment);
|
|
20201
|
-
const Ye = U.getParameter(3314), mt = U.getParameter(32878), un = U.getParameter(3316), Ct = U.getParameter(3315),
|
|
20202
|
-
U.pixelStorei(3314, Pt.width), U.pixelStorei(32878, Pt.height), U.pixelStorei(3316, Y.min.x), U.pixelStorei(3315, Y.min.y), U.pixelStorei(32877, Y.min.z), ve.isDataTexture || ve.isDataTexture3D ? U.texSubImage3D(Ke, Ie, ye.x, ye.y, ye.z, Qe, de, we, Ue, ze, Pt.data) : ve.isCompressedTexture ? (console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."), U.compressedTexSubImage3D(Ke, Ie, ye.x, ye.y, ye.z, Qe, de, we, Ue, Pt.data)) : U.texSubImage3D(Ke, Ie, ye.x, ye.y, ye.z, Qe, de, we, Ue, ze, Pt), U.pixelStorei(3314, Ye), U.pixelStorei(32878, mt), U.pixelStorei(3316, un), U.pixelStorei(3315, Ct), U.pixelStorei(32877,
|
|
20201
|
+
const Ye = U.getParameter(3314), mt = U.getParameter(32878), un = U.getParameter(3316), Ct = U.getParameter(3315), Ai = U.getParameter(32877), Pt = ve.isCompressedTexture ? ve.mipmaps[0] : ve.image;
|
|
20202
|
+
U.pixelStorei(3314, Pt.width), U.pixelStorei(32878, Pt.height), U.pixelStorei(3316, Y.min.x), U.pixelStorei(3315, Y.min.y), U.pixelStorei(32877, Y.min.z), ve.isDataTexture || ve.isDataTexture3D ? U.texSubImage3D(Ke, Ie, ye.x, ye.y, ye.z, Qe, de, we, Ue, ze, Pt.data) : ve.isCompressedTexture ? (console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."), U.compressedTexSubImage3D(Ke, Ie, ye.x, ye.y, ye.z, Qe, de, we, Ue, Pt.data)) : U.texSubImage3D(Ke, Ie, ye.x, ye.y, ye.z, Qe, de, we, Ue, ze, Pt), U.pixelStorei(3314, Ye), U.pixelStorei(32878, mt), U.pixelStorei(3316, un), U.pixelStorei(3315, Ct), U.pixelStorei(32877, Ai), Ie === 0 && _e.generateMipmaps && U.generateMipmap(Ke), Q.unbindTexture();
|
|
20203
20203
|
}, this.initTexture = function(Y) {
|
|
20204
20204
|
re.setTexture2D(Y, 0), Q.unbindTexture();
|
|
20205
20205
|
}, this.resetState = function() {
|
|
@@ -20734,7 +20734,7 @@ class ln extends nn {
|
|
|
20734
20734
|
}
|
|
20735
20735
|
ln.prototype.isLineBasicMaterial = !0;
|
|
20736
20736
|
const Qg = /* @__PURE__ */ new Z(), ev = /* @__PURE__ */ new Z(), tv = /* @__PURE__ */ new $e(), Dh = /* @__PURE__ */ new is(), uc = /* @__PURE__ */ new br();
|
|
20737
|
-
class
|
|
20737
|
+
class Vi extends ot {
|
|
20738
20738
|
constructor(e = new Je(), t = new ln()) {
|
|
20739
20739
|
super(), this.type = "Line", this.geometry = e, this.material = t, this.updateMorphTargets();
|
|
20740
20740
|
}
|
|
@@ -20824,9 +20824,9 @@ class Ui extends ot {
|
|
|
20824
20824
|
}
|
|
20825
20825
|
}
|
|
20826
20826
|
}
|
|
20827
|
-
|
|
20827
|
+
Vi.prototype.isLine = !0;
|
|
20828
20828
|
const nv = /* @__PURE__ */ new Z(), iv = /* @__PURE__ */ new Z();
|
|
20829
|
-
class Nn extends
|
|
20829
|
+
class Nn extends Vi {
|
|
20830
20830
|
constructor(e, t) {
|
|
20831
20831
|
super(e, t), this.type = "LineSegments";
|
|
20832
20832
|
}
|
|
@@ -20846,7 +20846,7 @@ class Nn extends Ui {
|
|
|
20846
20846
|
}
|
|
20847
20847
|
}
|
|
20848
20848
|
Nn.prototype.isLineSegments = !0;
|
|
20849
|
-
class Uu extends
|
|
20849
|
+
class Uu extends Vi {
|
|
20850
20850
|
constructor(e, t) {
|
|
20851
20851
|
super(e, t), this.type = "LineLoop";
|
|
20852
20852
|
}
|
|
@@ -21066,7 +21066,7 @@ class ko extends Jr {
|
|
|
21066
21066
|
return new ko(e.radius, e.height, e.radialSegments, e.heightSegments, e.openEnded, e.thetaStart, e.thetaLength);
|
|
21067
21067
|
}
|
|
21068
21068
|
}
|
|
21069
|
-
class
|
|
21069
|
+
class ki extends Je {
|
|
21070
21070
|
constructor(e, t, i = 1, r = 0) {
|
|
21071
21071
|
super(), this.type = "PolyhedronGeometry", this.parameters = {
|
|
21072
21072
|
vertices: e,
|
|
@@ -21141,10 +21141,10 @@ class Vi extends Je {
|
|
|
21141
21141
|
}
|
|
21142
21142
|
}
|
|
21143
21143
|
static fromJSON(e) {
|
|
21144
|
-
return new
|
|
21144
|
+
return new ki(e.vertices, e.indices, e.radius, e.details);
|
|
21145
21145
|
}
|
|
21146
21146
|
}
|
|
21147
|
-
class Go extends
|
|
21147
|
+
class Go extends ki {
|
|
21148
21148
|
constructor(e = 1, t = 0) {
|
|
21149
21149
|
const i = (1 + Math.sqrt(5)) / 2, r = 1 / i, s = [
|
|
21150
21150
|
// (±1, ±1, ±1)
|
|
@@ -22099,7 +22099,7 @@ function mB(n, e, t, i) {
|
|
|
22099
22099
|
r += (n[o] - n[s]) * (n[s + 1] + n[o + 1]), o = s;
|
|
22100
22100
|
return r;
|
|
22101
22101
|
}
|
|
22102
|
-
class
|
|
22102
|
+
class Fi {
|
|
22103
22103
|
// calculate area of the contour polygon
|
|
22104
22104
|
static area(e) {
|
|
22105
22105
|
const t = e.length;
|
|
@@ -22109,7 +22109,7 @@ class Bi {
|
|
|
22109
22109
|
return i * 0.5;
|
|
22110
22110
|
}
|
|
22111
22111
|
static isClockWise(e) {
|
|
22112
|
-
return
|
|
22112
|
+
return Fi.area(e) < 0;
|
|
22113
22113
|
}
|
|
22114
22114
|
static triangulateShape(e, t) {
|
|
22115
22115
|
const i = [], r = [], s = [];
|
|
@@ -22154,14 +22154,14 @@ class xi extends Je {
|
|
|
22154
22154
|
const T = a.extractPoints(l);
|
|
22155
22155
|
let A = T.shape;
|
|
22156
22156
|
const C = T.holes;
|
|
22157
|
-
if (!
|
|
22157
|
+
if (!Fi.isClockWise(A)) {
|
|
22158
22158
|
A = A.reverse();
|
|
22159
22159
|
for (let q = 0, re = C.length; q < re; q++) {
|
|
22160
22160
|
const B = C[q];
|
|
22161
|
-
|
|
22161
|
+
Fi.isClockWise(B) && (C[q] = B.reverse());
|
|
22162
22162
|
}
|
|
22163
22163
|
}
|
|
22164
|
-
const I =
|
|
22164
|
+
const I = Fi.triangulateShape(A, C), P = A;
|
|
22165
22165
|
for (let q = 0, re = C.length; q < re; q++) {
|
|
22166
22166
|
const B = C[q];
|
|
22167
22167
|
A = A.concat(B);
|
|
@@ -22355,7 +22355,7 @@ function vB(n, e, t) {
|
|
|
22355
22355
|
t.shapes.push(n.uuid);
|
|
22356
22356
|
return e.extrudePath !== void 0 && (t.options.extrudePath = e.extrudePath.toJSON()), t;
|
|
22357
22357
|
}
|
|
22358
|
-
class Ho extends
|
|
22358
|
+
class Ho extends ki {
|
|
22359
22359
|
constructor(e = 1, t = 0) {
|
|
22360
22360
|
const i = (1 + Math.sqrt(5)) / 2, r = [
|
|
22361
22361
|
-1,
|
|
@@ -22494,7 +22494,7 @@ class Wo extends Je {
|
|
|
22494
22494
|
return new Wo(e.points, e.segments, e.phiStart, e.phiLength);
|
|
22495
22495
|
}
|
|
22496
22496
|
}
|
|
22497
|
-
class Ds extends
|
|
22497
|
+
class Ds extends ki {
|
|
22498
22498
|
constructor(e = 1, t = 0) {
|
|
22499
22499
|
const i = [
|
|
22500
22500
|
1,
|
|
@@ -22626,12 +22626,12 @@ class Ns extends Je {
|
|
|
22626
22626
|
const d = r.length / 3, m = f.extractPoints(t);
|
|
22627
22627
|
let g = m.shape;
|
|
22628
22628
|
const u = m.holes;
|
|
22629
|
-
|
|
22629
|
+
Fi.isClockWise(g) === !1 && (g = g.reverse());
|
|
22630
22630
|
for (let y = 0, p = u.length; y < p; y++) {
|
|
22631
22631
|
const v = u[y];
|
|
22632
|
-
|
|
22632
|
+
Fi.isClockWise(v) === !0 && (u[y] = v.reverse());
|
|
22633
22633
|
}
|
|
22634
|
-
const h =
|
|
22634
|
+
const h = Fi.triangulateShape(g, u);
|
|
22635
22635
|
for (let y = 0, p = u.length; y < p; y++) {
|
|
22636
22636
|
const v = u[y];
|
|
22637
22637
|
g = g.concat(v);
|
|
@@ -22704,7 +22704,7 @@ class Bs extends Je {
|
|
|
22704
22704
|
return new Bs(e.radius, e.widthSegments, e.heightSegments, e.phiStart, e.phiLength, e.thetaStart, e.thetaLength);
|
|
22705
22705
|
}
|
|
22706
22706
|
}
|
|
22707
|
-
class $o extends
|
|
22707
|
+
class $o extends ki {
|
|
22708
22708
|
constructor(e = 1, t = 0) {
|
|
22709
22709
|
const i = [
|
|
22710
22710
|
1,
|
|
@@ -22929,8 +22929,8 @@ var uv = /* @__PURE__ */ Object.freeze({
|
|
|
22929
22929
|
ParametricBufferGeometry: tu,
|
|
22930
22930
|
PlaneGeometry: Os,
|
|
22931
22931
|
PlaneBufferGeometry: Os,
|
|
22932
|
-
PolyhedronGeometry:
|
|
22933
|
-
PolyhedronBufferGeometry:
|
|
22932
|
+
PolyhedronGeometry: ki,
|
|
22933
|
+
PolyhedronBufferGeometry: ki,
|
|
22934
22934
|
RingGeometry: jo,
|
|
22935
22935
|
RingBufferGeometry: jo,
|
|
22936
22936
|
ShapeGeometry: Ns,
|
|
@@ -23202,7 +23202,7 @@ const Ot = {
|
|
|
23202
23202
|
return n.blendMode = jf, n;
|
|
23203
23203
|
}
|
|
23204
23204
|
};
|
|
23205
|
-
class
|
|
23205
|
+
class Gi {
|
|
23206
23206
|
constructor(e, t, i, r) {
|
|
23207
23207
|
this.parameterPositions = e, this._cachedIndex = 0, this.resultBuffer = r !== void 0 ? r : new t.constructor(i), this.sampleValues = t, this.valueSize = i, this.settings = null, this.DefaultSettings_ = {};
|
|
23208
23208
|
}
|
|
@@ -23274,9 +23274,9 @@ class ki {
|
|
|
23274
23274
|
intervalChanged_() {
|
|
23275
23275
|
}
|
|
23276
23276
|
}
|
|
23277
|
-
|
|
23278
|
-
|
|
23279
|
-
class Jx extends
|
|
23277
|
+
Gi.prototype.beforeStart_ = Gi.prototype.copySampleValue_;
|
|
23278
|
+
Gi.prototype.afterEnd_ = Gi.prototype.copySampleValue_;
|
|
23279
|
+
class Jx extends Gi {
|
|
23280
23280
|
constructor(e, t, i, r) {
|
|
23281
23281
|
super(e, t, i, r), this._weightPrev = -0, this._offsetPrev = -0, this._weightNext = -0, this._offsetNext = -0, this.DefaultSettings_ = {
|
|
23282
23282
|
endingStart: bs,
|
|
@@ -23318,7 +23318,7 @@ class Jx extends ki {
|
|
|
23318
23318
|
return s;
|
|
23319
23319
|
}
|
|
23320
23320
|
}
|
|
23321
|
-
class bp extends
|
|
23321
|
+
class bp extends Gi {
|
|
23322
23322
|
constructor(e, t, i, r) {
|
|
23323
23323
|
super(e, t, i, r);
|
|
23324
23324
|
}
|
|
@@ -23329,7 +23329,7 @@ class bp extends ki {
|
|
|
23329
23329
|
return s;
|
|
23330
23330
|
}
|
|
23331
23331
|
}
|
|
23332
|
-
class qx extends
|
|
23332
|
+
class qx extends Gi {
|
|
23333
23333
|
constructor(e, t, i, r) {
|
|
23334
23334
|
super(e, t, i, r);
|
|
23335
23335
|
}
|
|
@@ -23337,7 +23337,7 @@ class qx extends ki {
|
|
|
23337
23337
|
return this.copySampleValue_(e - 1);
|
|
23338
23338
|
}
|
|
23339
23339
|
}
|
|
23340
|
-
class
|
|
23340
|
+
class Ei {
|
|
23341
23341
|
constructor(e, t, i, r) {
|
|
23342
23342
|
if (e === void 0)
|
|
23343
23343
|
throw new Error("THREE.KeyframeTrack: track name is undefined");
|
|
@@ -23517,23 +23517,23 @@ class Ti {
|
|
|
23517
23517
|
return r.createInterpolant = this.createInterpolant, r;
|
|
23518
23518
|
}
|
|
23519
23519
|
}
|
|
23520
|
-
|
|
23521
|
-
|
|
23522
|
-
|
|
23523
|
-
class js extends
|
|
23520
|
+
Ei.prototype.TimeBufferType = Float32Array;
|
|
23521
|
+
Ei.prototype.ValueBufferType = Float32Array;
|
|
23522
|
+
Ei.prototype.DefaultInterpolation = Ps;
|
|
23523
|
+
class js extends Ei {
|
|
23524
23524
|
}
|
|
23525
23525
|
js.prototype.ValueTypeName = "bool";
|
|
23526
23526
|
js.prototype.ValueBufferType = Array;
|
|
23527
23527
|
js.prototype.DefaultInterpolation = Bo;
|
|
23528
23528
|
js.prototype.InterpolantFactoryMethodLinear = void 0;
|
|
23529
23529
|
js.prototype.InterpolantFactoryMethodSmooth = void 0;
|
|
23530
|
-
class xp extends
|
|
23530
|
+
class xp extends Ei {
|
|
23531
23531
|
}
|
|
23532
23532
|
xp.prototype.ValueTypeName = "color";
|
|
23533
|
-
class Jo extends
|
|
23533
|
+
class Jo extends Ei {
|
|
23534
23534
|
}
|
|
23535
23535
|
Jo.prototype.ValueTypeName = "number";
|
|
23536
|
-
class Kx extends
|
|
23536
|
+
class Kx extends Gi {
|
|
23537
23537
|
constructor(e, t, i, r) {
|
|
23538
23538
|
super(e, t, i, r);
|
|
23539
23539
|
}
|
|
@@ -23545,7 +23545,7 @@ class Kx extends ki {
|
|
|
23545
23545
|
return s;
|
|
23546
23546
|
}
|
|
23547
23547
|
}
|
|
23548
|
-
class $s extends
|
|
23548
|
+
class $s extends Ei {
|
|
23549
23549
|
InterpolantFactoryMethodLinear(e) {
|
|
23550
23550
|
return new Kx(this.times, this.values, this.getValueSize(), e);
|
|
23551
23551
|
}
|
|
@@ -23553,14 +23553,14 @@ class $s extends Ti {
|
|
|
23553
23553
|
$s.prototype.ValueTypeName = "quaternion";
|
|
23554
23554
|
$s.prototype.DefaultInterpolation = Ps;
|
|
23555
23555
|
$s.prototype.InterpolantFactoryMethodSmooth = void 0;
|
|
23556
|
-
class Zs extends
|
|
23556
|
+
class Zs extends Ei {
|
|
23557
23557
|
}
|
|
23558
23558
|
Zs.prototype.ValueTypeName = "string";
|
|
23559
23559
|
Zs.prototype.ValueBufferType = Array;
|
|
23560
23560
|
Zs.prototype.DefaultInterpolation = Bo;
|
|
23561
23561
|
Zs.prototype.InterpolantFactoryMethodLinear = void 0;
|
|
23562
23562
|
Zs.prototype.InterpolantFactoryMethodSmooth = void 0;
|
|
23563
|
-
class qo extends
|
|
23563
|
+
class qo extends Ei {
|
|
23564
23564
|
}
|
|
23565
23565
|
qo.prototype.ValueTypeName = "vector";
|
|
23566
23566
|
class Ko {
|
|
@@ -23583,7 +23583,7 @@ class Ko {
|
|
|
23583
23583
|
blendMode: e.blendMode
|
|
23584
23584
|
};
|
|
23585
23585
|
for (let s = 0, o = i.length; s !== o; ++s)
|
|
23586
|
-
t.push(
|
|
23586
|
+
t.push(Ei.toJSON(i[s]));
|
|
23587
23587
|
return r;
|
|
23588
23588
|
}
|
|
23589
23589
|
static CreateFromMorphTargetSequence(e, t, i, r) {
|
|
@@ -25106,7 +25106,7 @@ class SB extends Mn {
|
|
|
25106
25106
|
o = new Gx();
|
|
25107
25107
|
break;
|
|
25108
25108
|
case "Line":
|
|
25109
|
-
o = new
|
|
25109
|
+
o = new Vi(a(e.geometry), c(e.material));
|
|
25110
25110
|
break;
|
|
25111
25111
|
case "LineLoop":
|
|
25112
25112
|
o = new Uu(a(e.geometry), c(e.material));
|
|
@@ -25122,7 +25122,7 @@ class SB extends Mn {
|
|
|
25122
25122
|
o = new Sl(c(e.material));
|
|
25123
25123
|
break;
|
|
25124
25124
|
case "Group":
|
|
25125
|
-
o = new
|
|
25125
|
+
o = new Ii();
|
|
25126
25126
|
break;
|
|
25127
25127
|
case "Bone":
|
|
25128
25128
|
o = new El();
|
|
@@ -25268,7 +25268,7 @@ class lw {
|
|
|
25268
25268
|
}
|
|
25269
25269
|
return E;
|
|
25270
25270
|
}
|
|
25271
|
-
const s =
|
|
25271
|
+
const s = Fi.isClockWise, o = this.subPaths;
|
|
25272
25272
|
if (o.length === 0)
|
|
25273
25273
|
return [];
|
|
25274
25274
|
if (t === !0)
|
|
@@ -27138,7 +27138,7 @@ class KB extends ot {
|
|
|
27138
27138
|
0
|
|
27139
27139
|
], 3));
|
|
27140
27140
|
const s = new ln({ fog: !1, toneMapped: !1 });
|
|
27141
|
-
this.lightPlane = new
|
|
27141
|
+
this.lightPlane = new Vi(r, s), this.add(this.lightPlane), r = new Je(), r.setAttribute("position", new je([0, 0, 0, 0, 0, 1], 3)), this.targetLine = new Vi(r, s), this.add(this.targetLine), this.update();
|
|
27142
27142
|
}
|
|
27143
27143
|
dispose() {
|
|
27144
27144
|
this.lightPlane.geometry.dispose(), this.lightPlane.material.dispose(), this.targetLine.geometry.dispose(), this.targetLine.material.dispose();
|
|
@@ -27206,7 +27206,7 @@ class eF extends Nn {
|
|
|
27206
27206
|
t.isEmpty() || (t.getCenter(this.position), t.getSize(this.scale), this.scale.multiplyScalar(0.5), super.updateMatrixWorld(e));
|
|
27207
27207
|
}
|
|
27208
27208
|
}
|
|
27209
|
-
class tF extends
|
|
27209
|
+
class tF extends Vi {
|
|
27210
27210
|
constructor(e, t = 1, i = 16776960) {
|
|
27211
27211
|
const r = i, s = [1, -1, 1, -1, 1, 1, -1, -1, 1, 1, 1, 1, -1, 1, 1, -1, -1, 1, 1, -1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0], o = new Je();
|
|
27212
27212
|
o.setAttribute("position", new je(s, 3)), o.computeBoundingSphere(), super(o, new ln({ color: r, toneMapped: !1 })), this.type = "PlaneHelper", this.plane = e, this.size = t;
|
|
@@ -27223,7 +27223,7 @@ let Tc, kh;
|
|
|
27223
27223
|
class nF extends ot {
|
|
27224
27224
|
// dir is assumed to be normalized
|
|
27225
27225
|
constructor(e = new Z(0, 0, 1), t = new Z(0, 0, 0), i = 1, r = 16776960, s = i * 0.2, o = s * 0.2) {
|
|
27226
|
-
super(), this.type = "ArrowHelper", Tc === void 0 && (Tc = new Je(), Tc.setAttribute("position", new je([0, 0, 0, 0, 1, 0], 3)), kh = new Jr(0, 0.5, 1, 5, 1), kh.translate(0, -0.5, 0)), this.position.copy(t), this.line = new
|
|
27226
|
+
super(), this.type = "ArrowHelper", Tc === void 0 && (Tc = new Je(), Tc.setAttribute("position", new je([0, 0, 0, 0, 1, 0], 3)), kh = new Jr(0, 0.5, 1, 5, 1), kh.translate(0, -0.5, 0)), this.position.copy(t), this.line = new Vi(Tc, new ln({ color: r, toneMapped: !1 })), this.line.matrixAutoUpdate = !1, this.add(this.line), this.cone = new Qt(kh, new Fn({ color: r, toneMapped: !1 })), this.cone.matrixAutoUpdate = !1, this.add(this.cone), this.setDirection(e), this.setLength(i, s, o);
|
|
27227
27227
|
}
|
|
27228
27228
|
setDirection(e) {
|
|
27229
27229
|
if (e.y > 0.99999)
|
|
@@ -27310,7 +27310,7 @@ class rF {
|
|
|
27310
27310
|
return s < 103 ? i : s > 142 ? (i |= 31744, i |= (s == 255 ? 0 : 1) && t & 8388607, i) : s < 113 ? (r |= 2048, i |= (r >> 114 - s) + (r >> 113 - s & 1), i) : (i |= s - 112 << 10 | r >> 1, i += r & 1, i);
|
|
27311
27311
|
}
|
|
27312
27312
|
}
|
|
27313
|
-
const To = 4, Gr = 8,
|
|
27313
|
+
const To = 4, Gr = 8, Ri = Math.pow(2, Gr), Aw = [0.125, 0.215, 0.35, 0.446, 0.526, 0.582], Cw = Gr - To + 1 + Aw.length, po = 20, Oi = {
|
|
27314
27314
|
[On]: 0,
|
|
27315
27315
|
[Is]: 1,
|
|
27316
27316
|
[Pu]: 2,
|
|
@@ -27441,10 +27441,10 @@ class oF {
|
|
|
27441
27441
|
const p = y % 3;
|
|
27442
27442
|
p == 0 ? (a.up.set(0, c[y], 0), a.lookAt(l[y], 0, 0)) : p == 1 ? (a.up.set(0, 0, c[y]), a.lookAt(0, l[y], 0)) : (a.up.set(0, c[y], 0), a.lookAt(0, 0, l[y])), Ac(
|
|
27443
27443
|
r,
|
|
27444
|
-
p *
|
|
27445
|
-
y > 2 ?
|
|
27446
|
-
|
|
27447
|
-
|
|
27444
|
+
p * Ri,
|
|
27445
|
+
y > 2 ? Ri : 0,
|
|
27446
|
+
Ri,
|
|
27447
|
+
Ri
|
|
27448
27448
|
), f.setRenderTarget(r), u && f.render(sF, a), f.render(e, a);
|
|
27449
27449
|
}
|
|
27450
27450
|
f.toneMapping = g, f.outputEncoding = m, f.autoClear = d;
|
|
@@ -27453,7 +27453,7 @@ class oF {
|
|
|
27453
27453
|
const i = this._renderer;
|
|
27454
27454
|
e.isCubeTexture ? this._cubemapShader == null && (this._cubemapShader = Fv()) : this._equirectShader == null && (this._equirectShader = Bv());
|
|
27455
27455
|
const r = e.isCubeTexture ? this._cubemapShader : this._equirectShader, s = new Qt(Aa[0], r), o = r.uniforms;
|
|
27456
|
-
o.envMap.value = e, e.isCubeTexture || o.texelSize.value.set(1 / e.image.width, 1 / e.image.height), o.inputEncoding.value =
|
|
27456
|
+
o.envMap.value = e, e.isCubeTexture || o.texelSize.value.set(1 / e.image.width, 1 / e.image.height), o.inputEncoding.value = Oi[e.encoding], o.outputEncoding.value = Oi[t.texture.encoding], Ac(t, 0, 0, 3 * Ri, 2 * Ri), i.setRenderTarget(t), i.render(s, Gh);
|
|
27457
27457
|
}
|
|
27458
27458
|
_applyPMREM(e) {
|
|
27459
27459
|
const t = this._renderer, i = t.autoClear;
|
|
@@ -27506,8 +27506,8 @@ class oF {
|
|
|
27506
27506
|
}
|
|
27507
27507
|
for (let _ = 0; _ < p.length; _++)
|
|
27508
27508
|
p[_] = p[_] / v;
|
|
27509
|
-
m.envMap.value = e.texture, m.samples.value = y, m.weights.value = p, m.latitudinal.value = o === "latitudinal", a && (m.poleAxis.value = a), m.dTheta.value = u, m.mipInt.value = Gr - i, m.inputEncoding.value =
|
|
27510
|
-
const w = Pv[r], S = 3 * Math.max(0,
|
|
27509
|
+
m.envMap.value = e.texture, m.samples.value = y, m.weights.value = p, m.latitudinal.value = o === "latitudinal", a && (m.poleAxis.value = a), m.dTheta.value = u, m.mipInt.value = Gr - i, m.inputEncoding.value = Oi[e.texture.encoding], m.outputEncoding.value = Oi[e.texture.encoding];
|
|
27510
|
+
const w = Pv[r], S = 3 * Math.max(0, Ri - 2 * w), E = (r === 0 ? 0 : 2 * Ri) + 2 * w * (r > Gr - To ? r - Gr + To : 0);
|
|
27511
27511
|
Ac(t, S, E, 3 * w, 2 * w), c.setRenderTarget(t), c.render(d, Gh);
|
|
27512
27512
|
}
|
|
27513
27513
|
}
|
|
@@ -27554,7 +27554,7 @@ function lF() {
|
|
|
27554
27554
|
return { _lodPlanes: n, _sizeLods: e, _sigmas: t };
|
|
27555
27555
|
}
|
|
27556
27556
|
function Nv(n) {
|
|
27557
|
-
const e = new yi(3 *
|
|
27557
|
+
const e = new yi(3 * Ri, 3 * Ri, n);
|
|
27558
27558
|
return e.texture.mapping = oa, e.texture.name = "PMREM.cubeUv", e.scissorTest = !0, e;
|
|
27559
27559
|
}
|
|
27560
27560
|
function Ac(n, e, t, i, r) {
|
|
@@ -27573,8 +27573,8 @@ function cF(n) {
|
|
|
27573
27573
|
dTheta: { value: 0 },
|
|
27574
27574
|
mipInt: { value: 0 },
|
|
27575
27575
|
poleAxis: { value: t },
|
|
27576
|
-
inputEncoding: { value:
|
|
27577
|
-
outputEncoding: { value:
|
|
27576
|
+
inputEncoding: { value: Oi[On] },
|
|
27577
|
+
outputEncoding: { value: Oi[On] }
|
|
27578
27578
|
},
|
|
27579
27579
|
vertexShader: Bp(),
|
|
27580
27580
|
fragmentShader: (
|
|
@@ -27657,8 +27657,8 @@ function Bv() {
|
|
|
27657
27657
|
uniforms: {
|
|
27658
27658
|
envMap: { value: null },
|
|
27659
27659
|
texelSize: { value: n },
|
|
27660
|
-
inputEncoding: { value:
|
|
27661
|
-
outputEncoding: { value:
|
|
27660
|
+
inputEncoding: { value: Oi[On] },
|
|
27661
|
+
outputEncoding: { value: Oi[On] }
|
|
27662
27662
|
},
|
|
27663
27663
|
vertexShader: Bp(),
|
|
27664
27664
|
fragmentShader: (
|
|
@@ -27713,8 +27713,8 @@ function Fv() {
|
|
|
27713
27713
|
name: "CubemapToCubeUV",
|
|
27714
27714
|
uniforms: {
|
|
27715
27715
|
envMap: { value: null },
|
|
27716
|
-
inputEncoding: { value:
|
|
27717
|
-
outputEncoding: { value:
|
|
27716
|
+
inputEncoding: { value: Oi[On] },
|
|
27717
|
+
outputEncoding: { value: Oi[On] }
|
|
27718
27718
|
},
|
|
27719
27719
|
vertexShader: Bp(),
|
|
27720
27720
|
fragmentShader: (
|
|
@@ -28105,7 +28105,7 @@ $e.prototype.makeFrustum = function(n, e, t, i, r, s) {
|
|
|
28105
28105
|
$e.prototype.getInverse = function(n) {
|
|
28106
28106
|
return console.warn("THREE.Matrix4: .getInverse() has been removed. Use matrixInv.copy( matrix ).invert(); instead."), this.copy(n).invert();
|
|
28107
28107
|
};
|
|
28108
|
-
|
|
28108
|
+
Pi.prototype.isIntersectionLine = function(n) {
|
|
28109
28109
|
return console.warn("THREE.Plane: .isIntersectionLine() has been renamed to .intersectsLine()."), this.intersectsLine(n);
|
|
28110
28110
|
};
|
|
28111
28111
|
xn.prototype.multiplyVector3 = function(n) {
|
|
@@ -28887,7 +28887,7 @@ const jF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
28887
28887
|
GreaterEqualStencilFunc: tI,
|
|
28888
28888
|
GreaterStencilFunc: QP,
|
|
28889
28889
|
GridHelper: _w,
|
|
28890
|
-
Group:
|
|
28890
|
+
Group: Ii,
|
|
28891
28891
|
HalfFloatType: _s,
|
|
28892
28892
|
HemisphereLight: _p,
|
|
28893
28893
|
HemisphereLightHelper: JB,
|
|
@@ -28913,14 +28913,14 @@ const jF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
28913
28913
|
IntType: vb,
|
|
28914
28914
|
InterleavedBuffer: rs,
|
|
28915
28915
|
InterleavedBufferAttribute: fr,
|
|
28916
|
-
Interpolant:
|
|
28916
|
+
Interpolant: Gi,
|
|
28917
28917
|
InterpolateDiscrete: Bo,
|
|
28918
28918
|
InterpolateLinear: Ps,
|
|
28919
28919
|
InterpolateSmooth: Uc,
|
|
28920
28920
|
InvertStencilOp: XP,
|
|
28921
28921
|
JSONLoader: GF,
|
|
28922
28922
|
KeepStencilOp: Vc,
|
|
28923
|
-
KeyframeTrack:
|
|
28923
|
+
KeyframeTrack: Ei,
|
|
28924
28924
|
LOD: Gx,
|
|
28925
28925
|
LatheBufferGeometry: Wo,
|
|
28926
28926
|
LatheGeometry: Wo,
|
|
@@ -28932,7 +28932,7 @@ const jF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
28932
28932
|
LessStencilFunc: JP,
|
|
28933
28933
|
Light: wi,
|
|
28934
28934
|
LightProbe: Pl,
|
|
28935
|
-
Line:
|
|
28935
|
+
Line: Vi,
|
|
28936
28936
|
Line3: bw,
|
|
28937
28937
|
LineBasicMaterial: ln,
|
|
28938
28938
|
LineCurve: Ll,
|
|
@@ -29022,7 +29022,7 @@ const jF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
29022
29022
|
ParticleSystemMaterial: MF,
|
|
29023
29023
|
Path: sl,
|
|
29024
29024
|
PerspectiveCamera: rn,
|
|
29025
|
-
Plane:
|
|
29025
|
+
Plane: Pi,
|
|
29026
29026
|
PlaneBufferGeometry: Os,
|
|
29027
29027
|
PlaneGeometry: Os,
|
|
29028
29028
|
PlaneHelper: tF,
|
|
@@ -29033,8 +29033,8 @@ const jF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
29033
29033
|
Points: ca,
|
|
29034
29034
|
PointsMaterial: ss,
|
|
29035
29035
|
PolarGridHelper: qB,
|
|
29036
|
-
PolyhedronBufferGeometry:
|
|
29037
|
-
PolyhedronGeometry:
|
|
29036
|
+
PolyhedronBufferGeometry: ki,
|
|
29037
|
+
PolyhedronGeometry: ki,
|
|
29038
29038
|
PositionalAudio: OB,
|
|
29039
29039
|
PropertyBinding: gt,
|
|
29040
29040
|
PropertyMixer: pw,
|
|
@@ -29118,7 +29118,7 @@ const jF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
29118
29118
|
ShapeBufferGeometry: Ns,
|
|
29119
29119
|
ShapeGeometry: Ns,
|
|
29120
29120
|
ShapePath: lw,
|
|
29121
|
-
ShapeUtils:
|
|
29121
|
+
ShapeUtils: Fi,
|
|
29122
29122
|
ShortType: gb,
|
|
29123
29123
|
Skeleton: Al,
|
|
29124
29124
|
SkeletonHelper: ww,
|
|
@@ -30215,7 +30215,7 @@ class Sz {
|
|
|
30215
30215
|
this.name = yt.KHR_MESH_QUANTIZATION;
|
|
30216
30216
|
}
|
|
30217
30217
|
}
|
|
30218
|
-
class Qo extends
|
|
30218
|
+
class Qo extends Gi {
|
|
30219
30219
|
constructor(e, t, i, r) {
|
|
30220
30220
|
super(e, t, i, r);
|
|
30221
30221
|
}
|
|
@@ -30821,7 +30821,7 @@ class Rz {
|
|
|
30821
30821
|
else if (y.mode === qi.LINES)
|
|
30822
30822
|
p = new Nn(h, v);
|
|
30823
30823
|
else if (y.mode === qi.LINE_STRIP)
|
|
30824
|
-
p = new
|
|
30824
|
+
p = new Vi(h, v);
|
|
30825
30825
|
else if (y.mode === qi.LINE_LOOP)
|
|
30826
30826
|
p = new Uu(h, v);
|
|
30827
30827
|
else if (y.mode === qi.POINTS)
|
|
@@ -30832,7 +30832,7 @@ class Rz {
|
|
|
30832
30832
|
}
|
|
30833
30833
|
if (d.length === 1)
|
|
30834
30834
|
return d[0];
|
|
30835
|
-
const m = new
|
|
30835
|
+
const m = new Ii();
|
|
30836
30836
|
for (let g = 0, u = d.length; g < u; g++)
|
|
30837
30837
|
m.add(d[g]);
|
|
30838
30838
|
return m;
|
|
@@ -30959,7 +30959,7 @@ class Rz {
|
|
|
30959
30959
|
}), Promise.all(a);
|
|
30960
30960
|
}().then(function(a) {
|
|
30961
30961
|
let c;
|
|
30962
|
-
if (s.isBone === !0 ? c = new El() : a.length > 1 ? c = new
|
|
30962
|
+
if (s.isBone === !0 ? c = new El() : a.length > 1 ? c = new Ii() : a.length === 1 ? c = a[0] : c = new ot(), c !== a[0])
|
|
30963
30963
|
for (let l = 0, f = a.length; l < f; l++)
|
|
30964
30964
|
c.add(a[l]);
|
|
30965
30965
|
if (s.name && (c.userData.name = s.name, c.name = o), gs(c, s), s.extensions && Ra(i, c, s), s.matrix !== void 0) {
|
|
@@ -30976,7 +30976,7 @@ class Rz {
|
|
|
30976
30976
|
* @return {Promise<Group>}
|
|
30977
30977
|
*/
|
|
30978
30978
|
loadScene(e) {
|
|
30979
|
-
const t = this.json, i = this.extensions, r = this.json.scenes[e], s = this, o = new
|
|
30979
|
+
const t = this.json, i = this.extensions, r = this.json.scenes[e], s = this, o = new Ii();
|
|
30980
30980
|
r.name && (o.name = s.createUniqueName(r.name)), gs(o, r), r.extensions && Ra(i, o, r);
|
|
30981
30981
|
const a = r.nodes || [], c = [];
|
|
30982
30982
|
for (let l = 0, f = a.length; l < f; l++)
|
|
@@ -31506,7 +31506,7 @@ const Gz = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
31506
31506
|
/* 2 */
|
|
31507
31507
|
/***/
|
|
31508
31508
|
(o) => {
|
|
31509
|
-
o.exports = /* @__PURE__ */ JSON.parse('{"name":"zincjs","version":"1.
|
|
31509
|
+
o.exports = /* @__PURE__ */ JSON.parse('{"name":"zincjs","version":"1.9.0","description":"ZincJS (Web-based-Zinc-Visualisation)","main":"build/zinc.js","directories":{"doc":"docs"},"files":["package.json","LICENSE","README.md","src/*","build/zinc.js","build/zinc.frontend.js","build/zinc.js.map","webpack.config.js"],"scripts":{"build-bundle":"webpack --config webpack.frontend.js; webpack --config webpack.backend.js","build-backend":"webpack --config webpack.backend.js","test":"npm --prefix ./test install && npm --prefix ./test run test-ci","changelog":"auto-changelog -p --output CHANGELOG.md --template keepachangelog","jsdoc":"jsdoc -c jsdoc_conf.json","version":"npm run build-bundle;npm run jsdoc;npm run changelog; git add CHANGELOG.md docs","release:beta":"npm version prerelease --preid=beta; npm publish --tag beta","release:minor":"npm version minor; npm publish","release:patch":"npm version patch; npm publish"},"repository":{"type":"git","url":"git+https://github.com/alan-wu/ZincJS.git"},"keywords":["library","webgl","3d","zincjs"],"author":"Alan Wu <alan.wu@auckland.ac.nz>","license":"MIT","bugs":{"url":"https://github.com/alan-wu/ZincJS/issues"},"homepage":"http://alan-wu.github.io/ZincJS/","devDependencies":{"@babel/core":"^7.23.9","@babel/preset-env":"^7.23.9","auto-changelog":"^2.4.0","babel-loader":"^9.1.3","babel-preset-minify":"^0.5.1","file-loader":"^6.2.0","jsdoc":"^4.0.2","raw-loader":"^4.0.2","webpack":"^5.90.3","webpack-cli":"^5.1.4","webpack-node-externals":"^3.0.0"},"dependencies":{"css-element-queries":"^1.2.2","lodash":"^4.17.19","promise-polyfill":"^8.1.3","three":"^0.130.1","three-spritetext":"1.6.2","url-loader":"^4.1.1","url-polyfill":"^1.1.7","webworkify-webpack":"^2.1.5"}}');
|
|
31510
31510
|
},
|
|
31511
31511
|
/* 3 */
|
|
31512
31512
|
/***/
|
|
@@ -36125,7 +36125,7 @@ void main() {
|
|
|
36125
36125
|
}, h = function(_, x, M, T, A) {
|
|
36126
36126
|
var C = _, R = x, I = A, P = M, O = T, b = new l.Raycaster();
|
|
36127
36127
|
b.params.Line.threshold = 0.1, b.params.Points.threshold = 1;
|
|
36128
|
-
var L = new l.Vector2(), N = !1, D = /* @__PURE__ */ new Date(), z = !1, G = 0, H = [], ee = { zincCamera: void 0, x: -1, y: -1 };
|
|
36128
|
+
var L = new l.Vector2(), N = !1, D = /* @__PURE__ */ new Date(), z = !1, G = 0, H = [], ee = { zincCamera: void 0, x: -1, y: -1 }, se = void 0;
|
|
36129
36129
|
this.enable = () => {
|
|
36130
36130
|
enable = !0;
|
|
36131
36131
|
}, this.disable = () => {
|
|
@@ -36135,13 +36135,15 @@ void main() {
|
|
|
36135
36135
|
var K = C.getThreeJSScene();
|
|
36136
36136
|
I.render(K, W.cameraObject);
|
|
36137
36137
|
}
|
|
36138
|
-
var J = C.getPickableThreeJSObjects();
|
|
36138
|
+
var J = se || C.getPickableThreeJSObjects();
|
|
36139
36139
|
return H.length = 0, b.intersectObjects(J, !0, H);
|
|
36140
|
-
}, this.
|
|
36141
|
-
|
|
36142
|
-
|
|
36140
|
+
}, this.setPickableObjects = (W) => {
|
|
36141
|
+
W === void 0 ? se = void 0 : (se = [], W.forEach((K) => {
|
|
36142
|
+
K.getGroup() && K.getGroup().visible && se.push(K.getGroup());
|
|
36143
|
+
}));
|
|
36144
|
+
}, this.getIntersectsObjectWithOrigin = (W, K, J) => (b.set(K, J), this.getIntersectsObject(W)), this.getIntersectsObjectWithCamera = (W, K, J) => (W.getNDCFromDocumentCoords(K, J, L), b.setFromCamera(L, W.cameraObject), this.getIntersectsObject(W)), this.pick = (W, K, J) => {
|
|
36143
36145
|
if (I && C && W && P) {
|
|
36144
|
-
|
|
36146
|
+
this.getIntersectsObjectWithCamera(W, K, J);
|
|
36145
36147
|
for (var Q, te = H.length, q = 0; q < te; q++)
|
|
36146
36148
|
if (Q = H[q].object ? H[q].object.userData : void 0, Q && Q.isMarkerCluster && Q.visible && Q.clusterIsVisible(H[q].object.clusterIndex))
|
|
36147
36149
|
return void Q.zoomToCluster(H[q].object.clusterIndex);
|
|
@@ -36150,7 +36152,7 @@ void main() {
|
|
|
36150
36152
|
};
|
|
36151
36153
|
var j = (W, K, J) => {
|
|
36152
36154
|
if (I && C && W && O) {
|
|
36153
|
-
if (
|
|
36155
|
+
if (this.getIntersectsObjectWithCamera(W, K, J), D.setTime(Date.now()), H.length === 0) {
|
|
36154
36156
|
if (z)
|
|
36155
36157
|
return;
|
|
36156
36158
|
z = !0;
|
|
@@ -37600,7 +37602,7 @@ const kc = /* @__PURE__ */ tL(zr), Yv = (n, e) => {
|
|
|
37600
37602
|
Col: Vn,
|
|
37601
37603
|
Container: oi,
|
|
37602
37604
|
InputNumber: vr,
|
|
37603
|
-
Main:
|
|
37605
|
+
Main: Ti,
|
|
37604
37606
|
Slider: ai,
|
|
37605
37607
|
ElIconArrowLeft: jr,
|
|
37606
37608
|
ElIconArrowRight: $r
|
|
@@ -37615,6 +37617,7 @@ const kc = /* @__PURE__ */ tL(zr), Yv = (n, e) => {
|
|
|
37615
37617
|
adjust: 0,
|
|
37616
37618
|
pAdjust: 0,
|
|
37617
37619
|
lengthScale: 0,
|
|
37620
|
+
distance: 0,
|
|
37618
37621
|
newDistance: 0,
|
|
37619
37622
|
width: 1,
|
|
37620
37623
|
currentIndex: 0,
|
|
@@ -37676,7 +37679,7 @@ const kc = /* @__PURE__ */ tL(zr), Yv = (n, e) => {
|
|
|
37676
37679
|
}
|
|
37677
37680
|
};
|
|
37678
37681
|
function eU(n, e, t, i, r, s) {
|
|
37679
|
-
const o = Vn, a = ai, c = vr, l =
|
|
37682
|
+
const o = Vn, a = ai, c = vr, l = Si, f = es, d = Ti, m = oi;
|
|
37680
37683
|
return me(), He(m, { class: "lines-container" }, {
|
|
37681
37684
|
default: he(() => [
|
|
37682
37685
|
oe(d, { class: "slides-block" }, {
|
|
@@ -37731,39 +37734,44 @@ function eU(n, e, t, i, r, s) {
|
|
|
37731
37734
|
_: 1
|
|
37732
37735
|
}),
|
|
37733
37736
|
n.currentIndex > -1 && n.distance > 0 ? (me(), Pe(Ht, { key: 0 }, [
|
|
37734
|
-
oe(
|
|
37735
|
-
offset: 0,
|
|
37736
|
-
span: 4
|
|
37737
|
-
}, {
|
|
37738
|
-
default: he(() => [
|
|
37739
|
-
oe(f, {
|
|
37740
|
-
size: "small",
|
|
37741
|
-
disabled: n.currentIndex === 0,
|
|
37742
|
-
icon: n.ElIconArrowLeft,
|
|
37743
|
-
onClick: e[2] || (e[2] = (g) => s.changeIndex(!1))
|
|
37744
|
-
}, null, 8, ["disabled", "icon"])
|
|
37745
|
-
]),
|
|
37746
|
-
_: 1
|
|
37747
|
-
}),
|
|
37748
|
-
oe(o, {
|
|
37749
|
-
offset: 4,
|
|
37750
|
-
span: 9
|
|
37751
|
-
}, {
|
|
37752
|
-
default: he(() => [
|
|
37753
|
-
st(" Editing Line " + xt(n.currentIndex + 1), 1)
|
|
37754
|
-
]),
|
|
37755
|
-
_: 1
|
|
37756
|
-
}),
|
|
37757
|
-
oe(o, {
|
|
37758
|
-
offset: 2,
|
|
37759
|
-
span: 2
|
|
37760
|
-
}, {
|
|
37737
|
+
oe(l, null, {
|
|
37761
37738
|
default: he(() => [
|
|
37762
|
-
oe(
|
|
37763
|
-
|
|
37764
|
-
|
|
37765
|
-
|
|
37766
|
-
|
|
37739
|
+
oe(o, {
|
|
37740
|
+
offset: 0,
|
|
37741
|
+
span: 4
|
|
37742
|
+
}, {
|
|
37743
|
+
default: he(() => [
|
|
37744
|
+
oe(f, {
|
|
37745
|
+
size: "small",
|
|
37746
|
+
disabled: n.currentIndex === 0,
|
|
37747
|
+
icon: n.ElIconArrowLeft,
|
|
37748
|
+
onClick: e[2] || (e[2] = (g) => s.changeIndex(!1))
|
|
37749
|
+
}, null, 8, ["disabled", "icon"])
|
|
37750
|
+
]),
|
|
37751
|
+
_: 1
|
|
37752
|
+
}),
|
|
37753
|
+
oe(o, {
|
|
37754
|
+
offset: 4,
|
|
37755
|
+
span: 9
|
|
37756
|
+
}, {
|
|
37757
|
+
default: he(() => [
|
|
37758
|
+
st(" Editing Line " + xt(n.currentIndex + 1), 1)
|
|
37759
|
+
]),
|
|
37760
|
+
_: 1
|
|
37761
|
+
}),
|
|
37762
|
+
oe(o, {
|
|
37763
|
+
offset: 2,
|
|
37764
|
+
span: 2
|
|
37765
|
+
}, {
|
|
37766
|
+
default: he(() => [
|
|
37767
|
+
oe(f, {
|
|
37768
|
+
size: "small",
|
|
37769
|
+
icon: n.ElIconArrowRight,
|
|
37770
|
+
onClick: e[3] || (e[3] = (g) => s.changeIndex(!0))
|
|
37771
|
+
}, null, 8, ["icon"])
|
|
37772
|
+
]),
|
|
37773
|
+
_: 1
|
|
37774
|
+
})
|
|
37767
37775
|
]),
|
|
37768
37776
|
_: 1
|
|
37769
37777
|
}),
|
|
@@ -37854,15 +37862,16 @@ function eU(n, e, t, i, r, s) {
|
|
|
37854
37862
|
_: 1
|
|
37855
37863
|
});
|
|
37856
37864
|
}
|
|
37857
|
-
const Fw = /* @__PURE__ */ Wi(Qz, [["render", eU], ["__scopeId", "data-v-
|
|
37865
|
+
const Fw = /* @__PURE__ */ Wi(Qz, [["render", eU], ["__scopeId", "data-v-34725561"]]), tU = {
|
|
37858
37866
|
name: "PointsControls",
|
|
37859
37867
|
components: {
|
|
37860
37868
|
Col: Vn,
|
|
37861
37869
|
Container: oi,
|
|
37862
37870
|
InputNumber: vr,
|
|
37863
|
-
Main:
|
|
37871
|
+
Main: Ti,
|
|
37864
37872
|
Select: ra,
|
|
37865
37873
|
Slider: ai,
|
|
37874
|
+
Row: Si,
|
|
37866
37875
|
Option: sa,
|
|
37867
37876
|
ElIconArrowLeft: jr,
|
|
37868
37877
|
ElIconArrowRight: $r
|
|
@@ -37942,7 +37951,7 @@ const Fw = /* @__PURE__ */ Wi(Qz, [["render", eU], ["__scopeId", "data-v-e225678
|
|
|
37942
37951
|
}
|
|
37943
37952
|
};
|
|
37944
37953
|
function nU(n, e, t, i, r, s) {
|
|
37945
|
-
const o = Vn, a = ai, c = vr, l =
|
|
37954
|
+
const o = Vn, a = ai, c = vr, l = Si, f = sa, d = ra, m = es, g = Ti, u = oi;
|
|
37946
37955
|
return me(), He(u, { class: "pointset-container" }, {
|
|
37947
37956
|
default: he(() => [
|
|
37948
37957
|
oe(g, { class: "slides-block" }, {
|
|
@@ -38181,7 +38190,7 @@ function nU(n, e, t, i, r, s) {
|
|
|
38181
38190
|
_: 1
|
|
38182
38191
|
});
|
|
38183
38192
|
}
|
|
38184
|
-
const zw = /* @__PURE__ */ Wi(tU, [["render", nU], ["__scopeId", "data-v-
|
|
38193
|
+
const zw = /* @__PURE__ */ Wi(tU, [["render", nU], ["__scopeId", "data-v-b763b06f"]]), iU = {
|
|
38185
38194
|
name: "TextureSlidesControls",
|
|
38186
38195
|
components: {
|
|
38187
38196
|
Col: Vn,
|
|
@@ -38189,8 +38198,8 @@ const zw = /* @__PURE__ */ Wi(tU, [["render", nU], ["__scopeId", "data-v-8633fbd
|
|
|
38189
38198
|
Footer: Ry,
|
|
38190
38199
|
Icon: Ft,
|
|
38191
38200
|
InputNumber: vr,
|
|
38192
|
-
Main:
|
|
38193
|
-
Row:
|
|
38201
|
+
Main: Ti,
|
|
38202
|
+
Row: Si,
|
|
38194
38203
|
Select: ra,
|
|
38195
38204
|
Slider: ai,
|
|
38196
38205
|
Option: sa,
|
|
@@ -38239,7 +38248,7 @@ const zw = /* @__PURE__ */ Wi(tU, [["render", nU], ["__scopeId", "data-v-8633fbd
|
|
|
38239
38248
|
}
|
|
38240
38249
|
};
|
|
38241
38250
|
function rU(n, e, t, i, r, s) {
|
|
38242
|
-
const o = sa, a = ra, c = Vn, l = ai, f = vr, d = Xc, m = Ft, g =
|
|
38251
|
+
const o = sa, a = ra, c = Vn, l = ai, f = vr, d = Xc, m = Ft, g = Si, u = Ti, h = fu, y = Ry, p = oi;
|
|
38243
38252
|
return me(), He(p, { class: "t-slides-container" }, {
|
|
38244
38253
|
default: he(() => [
|
|
38245
38254
|
oe(u, { class: "slides-block" }, {
|
|
@@ -38373,7 +38382,7 @@ const Uw = /* @__PURE__ */ Wi(iU, [["render", rU], ["__scopeId", "data-v-ad830fb
|
|
|
38373
38382
|
Col: Vn,
|
|
38374
38383
|
Container: oi,
|
|
38375
38384
|
InputNumber: vr,
|
|
38376
|
-
Main:
|
|
38385
|
+
Main: Ti,
|
|
38377
38386
|
Slider: ai
|
|
38378
38387
|
},
|
|
38379
38388
|
inject: ["boundingDims"],
|
|
@@ -38426,7 +38435,7 @@ const Uw = /* @__PURE__ */ Wi(iU, [["render", rU], ["__scopeId", "data-v-ad830fb
|
|
|
38426
38435
|
}
|
|
38427
38436
|
};
|
|
38428
38437
|
function oU(n, e, t, i, r, s) {
|
|
38429
|
-
const o = Vn, a = ai, c = vr, l =
|
|
38438
|
+
const o = Vn, a = ai, c = vr, l = Si, f = Ti, d = oi;
|
|
38430
38439
|
return me(), He(d, { class: "transformation-container" }, {
|
|
38431
38440
|
default: he(() => [
|
|
38432
38441
|
oe(f, { class: "slides-block" }, {
|
|
@@ -38639,7 +38648,7 @@ const Vw = /* @__PURE__ */ Wi(sU, [["render", oU], ["__scopeId", "data-v-6e61928
|
|
|
38639
38648
|
components: {
|
|
38640
38649
|
Container: oi,
|
|
38641
38650
|
Header: zf,
|
|
38642
|
-
Main:
|
|
38651
|
+
Main: Ti,
|
|
38643
38652
|
Slider: ai
|
|
38644
38653
|
},
|
|
38645
38654
|
props: {
|
|
@@ -39152,7 +39161,7 @@ const Hw = /* @__PURE__ */ Wi(pU, [["render", gU], ["__scopeId", "data-v-61e4173
|
|
|
39152
39161
|
Container: oi,
|
|
39153
39162
|
Header: zf,
|
|
39154
39163
|
Input: wu,
|
|
39155
|
-
Main:
|
|
39164
|
+
Main: Ti
|
|
39156
39165
|
},
|
|
39157
39166
|
props: {
|
|
39158
39167
|
createData: {
|
|
@@ -39201,7 +39210,7 @@ const Hw = /* @__PURE__ */ Wi(pU, [["render", gU], ["__scopeId", "data-v-61e4173
|
|
|
39201
39210
|
/* @__PURE__ */ st(" __annotation region ")
|
|
39202
39211
|
], -1));
|
|
39203
39212
|
function xU(n, e, t, i, r, s) {
|
|
39204
|
-
const o = zf, a = Vn, c =
|
|
39213
|
+
const o = zf, a = Vn, c = Si, l = wu, f = es, d = Ti, m = oi;
|
|
39205
39214
|
return me(), He(m, { class: "create-container" }, {
|
|
39206
39215
|
default: he(() => [
|
|
39207
39216
|
oe(o, {
|
|
@@ -39700,7 +39709,7 @@ const Zw = AU("main", {
|
|
|
39700
39709
|
ElIconDelete: Xc,
|
|
39701
39710
|
Icon: Ft,
|
|
39702
39711
|
Popover: Tu,
|
|
39703
|
-
Row:
|
|
39712
|
+
Row: Si,
|
|
39704
39713
|
Tooltip: y1
|
|
39705
39714
|
},
|
|
39706
39715
|
props: {
|
|
@@ -39805,7 +39814,7 @@ const Zw = AU("main", {
|
|
|
39805
39814
|
class: "delete-container"
|
|
39806
39815
|
};
|
|
39807
39816
|
function IU(n, e, t, i, r, s) {
|
|
39808
|
-
const o = $n("CreateTooltiipContent"), a = $n("Tooltip"), c = Vn, l = es, f =
|
|
39817
|
+
const o = $n("CreateTooltiipContent"), a = $n("Tooltip"), c = Vn, l = es, f = Si, d = Tu;
|
|
39809
39818
|
return me(), Pe("div", {
|
|
39810
39819
|
style: Bt(s.position),
|
|
39811
39820
|
class: "region-tooltip"
|
|
@@ -39957,7 +39966,7 @@ function ef(n, e) {
|
|
|
39957
39966
|
}
|
|
39958
39967
|
);
|
|
39959
39968
|
}
|
|
39960
|
-
var tf = ef(OU, { path: "/" }),
|
|
39969
|
+
var tf = ef(OU, { path: "/" }), Ci = function(n, e, t, i, r) {
|
|
39961
39970
|
if (i === "m")
|
|
39962
39971
|
throw new TypeError("Private method is not writable");
|
|
39963
39972
|
if (i === "a" && !r)
|
|
@@ -39971,20 +39980,20 @@ var tf = ef(OU, { path: "/" }), Ai = function(n, e, t, i, r) {
|
|
|
39971
39980
|
if (typeof e == "function" ? n !== e || !i : !e.has(n))
|
|
39972
39981
|
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
39973
39982
|
return t === "m" ? i : t === "a" ? i.call(n) : i ? i.value : e.get(n);
|
|
39974
|
-
}, Ki, Ga,
|
|
39983
|
+
}, Ki, Ga, Li, Tn, Ir;
|
|
39975
39984
|
const DU = 1e4;
|
|
39976
39985
|
class NU {
|
|
39977
39986
|
/**
|
|
39978
39987
|
* @param serverEndpoint The URL of a map annotation service.
|
|
39979
39988
|
*/
|
|
39980
39989
|
constructor(e) {
|
|
39981
|
-
Ki.add(this), Ga.set(this, void 0),
|
|
39990
|
+
Ki.add(this), Ga.set(this, void 0), Li.set(this, null), Tn.set(
|
|
39982
39991
|
this,
|
|
39983
39992
|
null
|
|
39984
39993
|
/**
|
|
39985
39994
|
* @param serverEndpoint The URL of a map annotation service.
|
|
39986
39995
|
*/
|
|
39987
|
-
), e.slice(-1) === "/" ?
|
|
39996
|
+
), e.slice(-1) === "/" ? Ci(this, Ga, e.slice(0, -1), "f") : Ci(this, Ga, e, "f");
|
|
39988
39997
|
}
|
|
39989
39998
|
/**
|
|
39990
39999
|
* Get information about the logged-in SPARC user.
|
|
@@ -39992,7 +40001,7 @@ class NU {
|
|
|
39992
40001
|
* Requires {@linkcode authenticate} to first be called.
|
|
39993
40002
|
*/
|
|
39994
40003
|
get currentUser() {
|
|
39995
|
-
return Gt(this,
|
|
40004
|
+
return Gt(this, Li, "f");
|
|
39996
40005
|
}
|
|
39997
40006
|
/**
|
|
39998
40007
|
* Get information about any error from the last call
|
|
@@ -40009,9 +40018,9 @@ class NU {
|
|
|
40009
40018
|
* or a reason why the user is invalid.
|
|
40010
40019
|
*/
|
|
40011
40020
|
async authenticate(e) {
|
|
40012
|
-
|
|
40021
|
+
Ci(this, Tn, null, "f"), Ci(this, Li, null, "f");
|
|
40013
40022
|
const t = await Gt(this, Ki, "m", Ir).call(this, e, "authenticate");
|
|
40014
|
-
return "error" in t ? (tf.remove("annotation-key"), Promise.resolve(Gt(this, Tn, "f"))) : (tf.set("annotation-key", t.session, { secure: !0, expires: 1 }),
|
|
40023
|
+
return "error" in t ? (tf.remove("annotation-key"), Promise.resolve(Gt(this, Tn, "f"))) : (tf.set("annotation-key", t.session, { secure: !0, expires: 1 }), Ci(this, Li, t.data, "f"), Promise.resolve(Gt(this, Li, "f")));
|
|
40015
40024
|
}
|
|
40016
40025
|
/**
|
|
40017
40026
|
* Unauthenticate with the annotation service.
|
|
@@ -40020,7 +40029,7 @@ class NU {
|
|
|
40020
40029
|
* @return A Promise with data about the call.
|
|
40021
40030
|
*/
|
|
40022
40031
|
async unauthenticate(e) {
|
|
40023
|
-
|
|
40032
|
+
Ci(this, Tn, null, "f"), Ci(this, Li, null, "f");
|
|
40024
40033
|
const t = await Gt(this, Ki, "m", Ir).call(this, e, "unauthenticate");
|
|
40025
40034
|
return "success" in t ? Promise.resolve(t) : Promise.resolve(Gt(this, Tn, "f"));
|
|
40026
40035
|
}
|
|
@@ -40102,22 +40111,22 @@ class NU {
|
|
|
40102
40111
|
* annotation couldn't be added
|
|
40103
40112
|
*/
|
|
40104
40113
|
async addAnnotation(e, t) {
|
|
40105
|
-
if (Gt(this,
|
|
40114
|
+
if (Gt(this, Li, "f") && Gt(this, Li, "f").canUpdate) {
|
|
40106
40115
|
const i = Object.assign({
|
|
40107
|
-
creator: Gt(this,
|
|
40116
|
+
creator: Gt(this, Li, "f"),
|
|
40108
40117
|
created: (/* @__PURE__ */ new Date()).toISOString()
|
|
40109
40118
|
}, t), r = await Gt(this, Ki, "m", Ir).call(this, e, "annotation/", "POST", {
|
|
40110
40119
|
data: i
|
|
40111
40120
|
});
|
|
40112
40121
|
if (!("error" in r))
|
|
40113
40122
|
return Promise.resolve(r);
|
|
40114
|
-
|
|
40123
|
+
Ci(this, Tn, r, "f");
|
|
40115
40124
|
} else
|
|
40116
|
-
|
|
40125
|
+
Ci(this, Tn, { error: "user cannot add annotation" }, "f");
|
|
40117
40126
|
return Promise.resolve(Gt(this, Tn, "f"));
|
|
40118
40127
|
}
|
|
40119
40128
|
}
|
|
40120
|
-
Ga = /* @__PURE__ */ new WeakMap(),
|
|
40129
|
+
Ga = /* @__PURE__ */ new WeakMap(), Li = /* @__PURE__ */ new WeakMap(), Tn = /* @__PURE__ */ new WeakMap(), Ki = /* @__PURE__ */ new WeakSet(), Ir = async function(e, t, i = "GET", r = {}) {
|
|
40121
40130
|
let s = !0;
|
|
40122
40131
|
const o = new AbortController();
|
|
40123
40132
|
setTimeout(() => {
|
|
@@ -40149,7 +40158,7 @@ Ga = /* @__PURE__ */ new WeakMap(), Ci = /* @__PURE__ */ new WeakMap(), Tn = /*
|
|
|
40149
40158
|
};
|
|
40150
40159
|
}
|
|
40151
40160
|
const f = await fetch(c, a);
|
|
40152
|
-
return s = !1, f.ok ? Promise.resolve(await f.json()) : (
|
|
40161
|
+
return s = !1, f.ok ? Promise.resolve(await f.json()) : (Ci(this, Tn, { error: `${f.status} ${f.statusText}` }, "f"), Promise.resolve(Gt(this, Tn, "f")));
|
|
40153
40162
|
};
|
|
40154
40163
|
const ll = { ALL: 0, SELECTED: 1, HIGHLIGHTED: 2, MOVE: 3 }, BU = function(n, e, t) {
|
|
40155
40164
|
this.eventType = n, this.identifiers = e, this.zincObjects = t;
|
|
@@ -40342,7 +40351,7 @@ const Ic = (n, e, t) => {
|
|
|
40342
40351
|
}
|
|
40343
40352
|
return { Zinc: kc, renderer: e, container: n };
|
|
40344
40353
|
}, jt = function() {
|
|
40345
|
-
Qn.call(this), this.scene = void 0, this.rendererContainer = void 0, this.displayArea = void 0, this.graphicsHighlight = new UU(), this.selectObjectOnPick = !0, this.zincRenderer = null, this.selectedScreenCoordinates = new Vp.Vector3(), this.selectedCenter = void 0, this.liveUpdatesObjects = void 0;
|
|
40354
|
+
Qn.call(this), this.scene = void 0, this.rendererContainer = void 0, this.displayArea = void 0, this.graphicsHighlight = new UU(), this.selectObjectOnPick = !0, this.zincRenderer = null, this.selectedScreenCoordinates = new Vp.Vector3(), this.selectedCenter = void 0, this.liveUpdatesObjects = void 0, this.ignorePreviousSelected = !1;
|
|
40346
40355
|
};
|
|
40347
40356
|
jt.prototype = Object.create(Qn.prototype);
|
|
40348
40357
|
jt.prototype.getIntersectedObject = function(n) {
|
|
@@ -40365,12 +40374,14 @@ jt.prototype.getAnnotationsFromObjects = function(n) {
|
|
|
40365
40374
|
for (var t = 0; t < n.length; t++) {
|
|
40366
40375
|
const i = n[t].userData;
|
|
40367
40376
|
let r;
|
|
40368
|
-
if (i)
|
|
40377
|
+
if (i) {
|
|
40369
40378
|
if (i.isGlyph || i.isGlyphset) {
|
|
40370
40379
|
let s = i;
|
|
40371
40380
|
i.isGlyph && (s = i.getGlyphset()), r = s.userData ? s.userData.annotation : void 0, r && r.data && (n[t].name && n[t].name != "" ? r.data.id = n[t].name : r.data.id = s.groupName);
|
|
40372
40381
|
} else
|
|
40373
40382
|
r = i.userData ? i.userData.annotation : void 0, r && r.data && (r.data.id = n[t].name);
|
|
40383
|
+
r && (r.data.zincObject = i);
|
|
40384
|
+
}
|
|
40374
40385
|
r && e.push(r);
|
|
40375
40386
|
}
|
|
40376
40387
|
return e;
|
|
@@ -40414,7 +40425,7 @@ jt.prototype.objectsToZincObjects = function(n) {
|
|
|
40414
40425
|
};
|
|
40415
40426
|
jt.prototype.setSelectedByObjects = function(n, e, t, i) {
|
|
40416
40427
|
let r = !1;
|
|
40417
|
-
if (this.selectObjectOnPick ? r = this.graphicsHighlight.setSelected(n) : r = !0, r) {
|
|
40428
|
+
if (this.selectObjectOnPick ? r = this.graphicsHighlight.setSelected(n) : r = !0, r || this.ignorePreviousSelected) {
|
|
40418
40429
|
const s = this.objectsToZincObjects(n);
|
|
40419
40430
|
if (this.selectObjectOnPick && this.setupLiveCoordinates(s), i) {
|
|
40420
40431
|
const o = ll.SELECTED, a = this.getAnnotationsFromObjects(n);
|
|
@@ -40577,7 +40588,8 @@ const kU = function() {
|
|
|
40577
40588
|
C ? C.point.y : 0,
|
|
40578
40589
|
C ? C.point.z : 0
|
|
40579
40590
|
],
|
|
40580
|
-
intersected: C
|
|
40591
|
+
intersected: C,
|
|
40592
|
+
intersects: M
|
|
40581
40593
|
}, P = { x: T, y: A };
|
|
40582
40594
|
if (R.id) {
|
|
40583
40595
|
I.threeID = (O = R.object) == null ? void 0 : O.id, R.object.userData.isGlyph ? R.object.name ? e.setSelectedByObjects(
|
|
@@ -42197,7 +42209,7 @@ const s4 = {
|
|
|
42197
42209
|
Loading: PP,
|
|
42198
42210
|
Option: sa,
|
|
42199
42211
|
Popover: Tu,
|
|
42200
|
-
Row:
|
|
42212
|
+
Row: Si,
|
|
42201
42213
|
Select: ra,
|
|
42202
42214
|
Slider: ai,
|
|
42203
42215
|
TabPane: zy,
|
|
@@ -42774,6 +42786,7 @@ const s4 = {
|
|
|
42774
42786
|
let s = n;
|
|
42775
42787
|
s.slice(-1) === "/" && (s = s.slice(0, -1)), r.region = s, this.removeFromLocalAnnotationList(s, e), this.localAnnotationsList.push(r);
|
|
42776
42788
|
}
|
|
42789
|
+
this.$emit("userPrimitivesUpdated", { region: n, group: e, zincObject: t });
|
|
42777
42790
|
},
|
|
42778
42791
|
/**
|
|
42779
42792
|
* @vuese
|
|
@@ -43576,7 +43589,7 @@ const s4 = {
|
|
|
43576
43589
|
this.setMarkerModeForObjectsWithName(n, e, "on");
|
|
43577
43590
|
}
|
|
43578
43591
|
}
|
|
43579
|
-
}, Hp = (n) => (f0("data-v-
|
|
43592
|
+
}, Hp = (n) => (f0("data-v-f0dd699a"), n = n(), p0(), n), o4 = {
|
|
43580
43593
|
ref: "scaffoldContainer",
|
|
43581
43594
|
class: "scaffold-container",
|
|
43582
43595
|
"element-loading-text": "Loading...",
|
|
@@ -43587,7 +43600,7 @@ const s4 = {
|
|
|
43587
43600
|
/* @__PURE__ */ st(" window ")
|
|
43588
43601
|
], -1)), v4 = ["onClick"];
|
|
43589
43602
|
function y4(n, e, t, i, r, s) {
|
|
43590
|
-
const o = $n("map-svg-sprite-color"), a = Xw, c = $n("DrawToolbar"), l = B0, f = Ft, d = Tu, m = Hw, g = Gw, u = $n("map-svg-icon"), h = ai, y =
|
|
43603
|
+
const o = $n("map-svg-sprite-color"), a = Xw, c = $n("DrawToolbar"), l = B0, f = Ft, d = Tu, m = Hw, g = Gw, u = $n("map-svg-icon"), h = ai, y = Si, p = zy, v = sa, w = ra, S = Fy, E = es, _ = Vn, x = yd;
|
|
43591
43604
|
return Nt((me(), Pe("div", o4, [
|
|
43592
43605
|
oe(o),
|
|
43593
43606
|
oe(a, {
|
|
@@ -44045,7 +44058,7 @@ function y4(n, e, t, i, r, s) {
|
|
|
44045
44058
|
[x, n.loading]
|
|
44046
44059
|
]);
|
|
44047
44060
|
}
|
|
44048
|
-
const M4 = /* @__PURE__ */ Wi(s4, [["render", y4], ["__scopeId", "data-v-
|
|
44061
|
+
const M4 = /* @__PURE__ */ Wi(s4, [["render", y4], ["__scopeId", "data-v-f0dd699a"]]);
|
|
44049
44062
|
export {
|
|
44050
44063
|
M4 as ScaffoldVuer
|
|
44051
44064
|
};
|