@realsee/dnalogel 3.48.3 → 3.48.4
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.
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var Z = Object.defineProperty, G = Object.defineProperties;
|
|
2
|
+
var K = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var y = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var x = (u, i, e) => i in u ?
|
|
4
|
+
var S = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var x = (u, i, e) => i in u ? Z(u, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : u[i] = e, p = (u, i) => {
|
|
6
6
|
for (var e in i || (i = {}))
|
|
7
|
-
|
|
7
|
+
S.call(i, e) && x(u, e, i[e]);
|
|
8
8
|
if (y)
|
|
9
9
|
for (var e of y(i))
|
|
10
10
|
D.call(i, e) && x(u, e, i[e]);
|
|
11
11
|
return u;
|
|
12
|
-
}, M = (u, i) =>
|
|
12
|
+
}, M = (u, i) => G(u, K(i));
|
|
13
13
|
var j = (u, i) => {
|
|
14
14
|
var e = {};
|
|
15
15
|
for (var t in u)
|
|
16
|
-
|
|
16
|
+
S.call(u, t) && i.indexOf(t) < 0 && (e[t] = u[t]);
|
|
17
17
|
if (u != null && y)
|
|
18
18
|
for (var t of y(u))
|
|
19
19
|
i.indexOf(t) < 0 && D.call(u, t) && (e[t] = u[t]);
|
|
@@ -36,7 +36,7 @@ var I = (u, i, e) => new Promise((t, r) => {
|
|
|
36
36
|
}, o = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(n, l);
|
|
37
37
|
o((e = e.apply(u, i)).next());
|
|
38
38
|
});
|
|
39
|
-
import { Subscribe as
|
|
39
|
+
import { Subscribe as Q } from "../../../shared-utils/Subscribe.js";
|
|
40
40
|
import { calculateTagConfig as U } from "../../utils/tag/calculateTagConfig.js";
|
|
41
41
|
import { getTagStickType as Y } from "../../utils/tag/format.js";
|
|
42
42
|
import { isPanoramaLike as w, isModelLike as P } from "../../../shared-utils/five/mode.js";
|
|
@@ -126,7 +126,7 @@ class Ye {
|
|
|
126
126
|
})(), this.matrix = e.matrix ? (() => {
|
|
127
127
|
const d = new B.Matrix4().fromArray(e.matrix);
|
|
128
128
|
return d.premultiply(i.workUtil.transform), d.elements;
|
|
129
|
-
})() : e.matrix, this.initialConfig = n, this.computedConfig = l, this.stickType = t, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new fe(), this.hooks = new
|
|
129
|
+
})() : e.matrix, this.initialConfig = n, this.computedConfig = l, this.stickType = t, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new fe(), this.hooks = new Q(), Object.keys(e).forEach((d) => {
|
|
130
130
|
this[d] === void 0 && e[d] !== void 0 && (this[d] = e[d]);
|
|
131
131
|
});
|
|
132
132
|
}
|
|
@@ -191,7 +191,7 @@ class Ye {
|
|
|
191
191
|
return I(this, null, function* () {
|
|
192
192
|
var o, s;
|
|
193
193
|
const e = (o = this.enabled) != null ? o : !0, t = (s = this.state) == null ? void 0 : s.visible, r = e && t;
|
|
194
|
-
r === !1 && (this.state.visible = !0, this.enabled = !0, this.applyVisible(), this.plugin.
|
|
194
|
+
r === !1 && (this.state.visible = !0, this.enabled = !0, this.applyVisible(), this.plugin.render(), this.computeRenderType() !== "Mesh" && (yield de(0)), this.dom && (this.dom.style.visibility = "hidden"), this.contentDom && (this.contentDom.style.visibility = "hidden"));
|
|
195
195
|
const n = (() => {
|
|
196
196
|
var c;
|
|
197
197
|
const a = [];
|
|
@@ -206,7 +206,7 @@ class Ye {
|
|
|
206
206
|
updateRender: () => {
|
|
207
207
|
this.five.needsRender = !0;
|
|
208
208
|
}
|
|
209
|
-
}, i)).finished, e === !1 && (this.enabled = !1), t === !1 && this.updateVisible(), r === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
|
|
209
|
+
}, i)).finished, e === !1 && (this.enabled = !1, this.updateVisible()), t === !1 && this.updateVisible(), r === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
|
|
210
210
|
});
|
|
211
211
|
}
|
|
212
212
|
/**
|
|
@@ -479,9 +479,9 @@ class Ye {
|
|
|
479
479
|
const k = (() => {
|
|
480
480
|
if (!T(this))
|
|
481
481
|
return;
|
|
482
|
-
const _ = this.plugin.tags.filter(T).map((
|
|
483
|
-
var
|
|
484
|
-
return (
|
|
482
|
+
const _ = this.plugin.tags.filter(T).map((X) => {
|
|
483
|
+
var F;
|
|
484
|
+
return (F = X.model) == null ? void 0 : F.object;
|
|
485
485
|
}).filter(E), [q] = V.intersectObjects(_, !0);
|
|
486
486
|
return q;
|
|
487
487
|
})(), J = r.distanceTo(d), W = (a = e.distanceAccuracy) != null ? a : 0.01;
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.48.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.48.4",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|