@realsee/dnalogel 3.50.7 → 3.50.9
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/CHANGELOG.md +7 -0
- package/dist/index.cjs.js +4 -4
- package/dist/index.js +17 -10
- package/dist/index.umd.js +4 -4
- package/libs/CruisePlugin/Work.js +111 -108
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/utils/PointHelper.js +35 -31
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -48,7 +48,7 @@ import LE from "earcut";
|
|
|
48
48
|
import { GLTFLoader as kE } from "@realsee/five/gltf-loader";
|
|
49
49
|
function RE() {
|
|
50
50
|
console.debug(
|
|
51
|
-
"%c %c@realsee/dnalogel %cv3.50.
|
|
51
|
+
"%c %c@realsee/dnalogel %cv3.50.9",
|
|
52
52
|
[
|
|
53
53
|
"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=')",
|
|
54
54
|
"background-repeat: no-repeat",
|
|
@@ -1764,7 +1764,11 @@ class ew extends E.Object3D {
|
|
|
1764
1764
|
v(this, "lineMesh");
|
|
1765
1765
|
v(this, "ballMesh");
|
|
1766
1766
|
v(this, "borderMesh");
|
|
1767
|
-
this.planeMesh = mC(), this.lineMesh = gC(), this.ballMesh = vC(), this.borderMesh = yC(), this.
|
|
1767
|
+
this.planeMesh = mC(), this.lineMesh = gC(), this.ballMesh = vC(), this.borderMesh = yC(), this.addEventListener("added", () => {
|
|
1768
|
+
this.add(this.planeMesh, this.lineMesh, this.ballMesh, this.borderMesh);
|
|
1769
|
+
}), this.addEventListener("removed", () => {
|
|
1770
|
+
this.remove(this.planeMesh, this.lineMesh, this.ballMesh, this.borderMesh);
|
|
1771
|
+
}), $1(t);
|
|
1768
1772
|
}
|
|
1769
1773
|
updateWithIntersect(t) {
|
|
1770
1774
|
if (!t.face)
|
|
@@ -27811,7 +27815,7 @@ let ws = class {
|
|
|
27811
27815
|
/**
|
|
27812
27816
|
* @realsee/dnalogel 版本号
|
|
27813
27817
|
*/
|
|
27814
|
-
v(this, "VERSION", "3.50.
|
|
27818
|
+
v(this, "VERSION", "3.50.9");
|
|
27815
27819
|
v(this, "NAME");
|
|
27816
27820
|
v(this, "five");
|
|
27817
27821
|
v(this, "workUtil");
|
|
@@ -51236,12 +51240,14 @@ class nv extends VM {
|
|
|
51236
51240
|
* @description: Change play speed
|
|
51237
51241
|
*/
|
|
51238
51242
|
changeSpeed(t, i = !0) {
|
|
51243
|
+
var l;
|
|
51239
51244
|
const { state: r, privateState: s, hooks: o } = this, { currentPlayKeyframe: a } = s;
|
|
51240
51245
|
if (o.emit("speedChange", t, { userAction: i }), r.playing && a)
|
|
51241
51246
|
try {
|
|
51242
|
-
const
|
|
51243
|
-
|
|
51244
|
-
} catch (
|
|
51247
|
+
const c = a.originDuration !== void 0 ? a.originDuration * (1 - this.getProgress()) : void 0, h = a.keyframe, { privateState: u } = this;
|
|
51248
|
+
((l = this.privateState.currentPlayKeyframe) == null ? void 0 : l.keyframe.id) !== h.id && (this.privateState.currentPlayKeyframe = { keyframe: h }), u.currentPlayQueue.push(this.getPlayPromise(h, { duration: c }));
|
|
51249
|
+
} catch (c) {
|
|
51250
|
+
console.error(c);
|
|
51245
51251
|
}
|
|
51246
51252
|
}
|
|
51247
51253
|
/**
|
|
@@ -51414,16 +51420,17 @@ class nv extends VM {
|
|
|
51414
51420
|
return 800;
|
|
51415
51421
|
})();
|
|
51416
51422
|
s.currentPlayKeyframe && (s.currentPlayKeyframe.originDuration = c), yield new Promise((h) => {
|
|
51417
|
-
var
|
|
51418
|
-
this.fiveUtil.moveToPano(t.panoIndex, {
|
|
51423
|
+
var d, f, m;
|
|
51424
|
+
const u = this.fiveUtil.moveToPano(t.panoIndex, {
|
|
51419
51425
|
latitude: t.latitude,
|
|
51420
51426
|
longitude: t.longitude,
|
|
51421
51427
|
fov: t.fov,
|
|
51422
51428
|
duration: this.getSpeededDuration(c),
|
|
51423
|
-
effect: (
|
|
51429
|
+
effect: (m = (f = i == null ? void 0 : i.moveEffect) != null ? f : (d = this.state.config) == null ? void 0 : d.moveEffect) != null ? m : t.moveEffect,
|
|
51424
51430
|
moveCancelCallback: () => h(),
|
|
51425
51431
|
moveEndCallback: () => h()
|
|
51426
|
-
})
|
|
51432
|
+
});
|
|
51433
|
+
u instanceof Promise && u.then(() => h()), a && r.once("panoArrived", () => h());
|
|
51427
51434
|
}), a && (this.privateState.modeChanging = !1);
|
|
51428
51435
|
});
|
|
51429
51436
|
}
|