@realsee/dnalogel 3.49.9 → 3.49.10
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 +3 -0
- package/dist/index.cjs.js +4 -4
- package/dist/index.js +8 -9
- package/dist/index.umd.js +4 -4
- package/dist/shared-utils/three/PointSelector/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Line/index.js +2 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/index.d.ts +1 -1
- package/libs/shared-utils/three/PointSelector/index.js +12 -15
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -48,7 +48,7 @@ import zE from "earcut";
|
|
|
48
48
|
import { GLTFLoader as BE } from "@realsee/five/gltf-loader";
|
|
49
49
|
function NE() {
|
|
50
50
|
console.debug(
|
|
51
|
-
"%c %c@realsee/dnalogel %cv3.49.
|
|
51
|
+
"%c %c@realsee/dnalogel %cv3.49.10",
|
|
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",
|
|
@@ -27790,7 +27790,7 @@ let ws = class {
|
|
|
27790
27790
|
/**
|
|
27791
27791
|
* @realsee/dnalogel 版本号
|
|
27792
27792
|
*/
|
|
27793
|
-
v(this, "VERSION", "3.49.
|
|
27793
|
+
v(this, "VERSION", "3.49.10");
|
|
27794
27794
|
v(this, "NAME");
|
|
27795
27795
|
v(this, "five");
|
|
27796
27796
|
v(this, "workUtil");
|
|
@@ -31967,11 +31967,8 @@ class eM extends En {
|
|
|
31967
31967
|
v(this, "onLeave", () => {
|
|
31968
31968
|
this.pointSelectorHelper.hide(), this.outOfFive = !0, this.emit("intersectionUpdate", null);
|
|
31969
31969
|
});
|
|
31970
|
-
v(this, "
|
|
31971
|
-
|
|
31972
|
-
clientX: t.center.x,
|
|
31973
|
-
clientY: t.center.y
|
|
31974
|
-
}), this.select();
|
|
31970
|
+
v(this, "onClick", () => {
|
|
31971
|
+
this.select();
|
|
31975
31972
|
});
|
|
31976
31973
|
/**
|
|
31977
31974
|
* 1. 如果之前没有长按行为「即没有长按点时」-> 滑动全景
|
|
@@ -32121,14 +32118,14 @@ class eM extends En {
|
|
|
32121
32118
|
const t = this.five.getElement();
|
|
32122
32119
|
if (!t)
|
|
32123
32120
|
throw new Error("five element not found");
|
|
32124
|
-
this.hammer || (this.hammer = new Md(t)), this.mode === "cursor" ? (this.five.on("wantsMoveToPano", Ro), this.five.on("wantsChangeMode", Ro), this.five.on("wantsTapGesture", Ro), t.addEventListener("mousemove", this.updateByMousePosition), kc || t.addEventListener("wheel", this.onMouseWheel), t.addEventListener("
|
|
32121
|
+
this.hammer || (this.hammer = new Md(t)), this.mode === "cursor" ? (this.five.on("wantsMoveToPano", Ro), this.five.on("wantsChangeMode", Ro), this.five.on("wantsTapGesture", Ro), t.addEventListener("mousemove", this.updateByMousePosition), kc || t.addEventListener("wheel", this.onMouseWheel), t.addEventListener("click", this.onClick), t.addEventListener("mouseenter", this.onEnter), t.addEventListener("mouseout", this.onLeave), this.five.on("wantsPanGesture", this.onFiveWantsPanGesture), this.hammer.on("pan", this.onPan), this.hammer.on("press", this.onPress), this.hammer.on("panend", this.onPanEnd)) : this.mode === "fixed" && (this.five.on("panoArrived", this.renderScreenCenter), this.five.on("panGesture", this.renderScreenCenter), this.five.on("interiaPan", this.renderScreenCenter), this.renderScreenCenter(), this.pointSelectorHelper.show()), this.pointSelectorHelper.hooks.on("intersectionUpdate", this.emitIntersectionUpdate), this.lastFiveHelperVisible = this.five.helperVisible, this.five.helperVisible = !1, this.emit("enable");
|
|
32125
32122
|
}
|
|
32126
32123
|
disable() {
|
|
32127
32124
|
if (!this.enabled)
|
|
32128
32125
|
return;
|
|
32129
32126
|
this.enabled = !1, this.pointSelectorHelper.disable(), this.five.getElement().style.cursor = "";
|
|
32130
32127
|
const t = this.five.getElement();
|
|
32131
|
-
this.five.off("wantsPanGesture", this.onFiveWantsPanGesture), this.five.off("wantsMoveToPano", Ro), this.five.off("wantsChangeMode", Ro), this.five.off("wantsTapGesture", Ro), this.five.helperVisible = this.lastFiveHelperVisible, t == null || t.removeEventListener("mousemove", this.updateByMousePosition), t == null || t.removeEventListener("wheel", this.onMouseWheel), t == null || t.removeEventListener("mouseenter", this.onEnter), t == null || t.removeEventListener("mouseout", this.onLeave),
|
|
32128
|
+
this.five.off("wantsPanGesture", this.onFiveWantsPanGesture), this.five.off("wantsMoveToPano", Ro), this.five.off("wantsChangeMode", Ro), this.five.off("wantsTapGesture", Ro), this.five.helperVisible = this.lastFiveHelperVisible, t == null || t.removeEventListener("mousemove", this.updateByMousePosition), t == null || t.removeEventListener("wheel", this.onMouseWheel), t == null || t.removeEventListener("mouseenter", this.onEnter), t == null || t.removeEventListener("mouseout", this.onLeave), t == null || t.removeEventListener("click", this.onClick), this.hammer.off("pan", this.onPan), this.hammer.off("press", this.onPress), this.hammer.off("panend", this.onPanEnd), this.five.off("panoArrived", this.renderScreenCenter), this.five.off("panGesture", this.renderScreenCenter), this.five.off("interiaPan", this.renderScreenCenter), this.pointSelectorHelper.hooks.off("intersectionUpdate", this.emitIntersectionUpdate), this.emit("disable");
|
|
32132
32129
|
}
|
|
32133
32130
|
dispose() {
|
|
32134
32131
|
this.disable(), this.pointSelectorHelper.dispose();
|
|
@@ -57621,6 +57618,8 @@ function h6(e, n, t) {
|
|
|
57621
57618
|
}, b = () => {
|
|
57622
57619
|
g() && (h.push(m.pop()), e.setPoints(h), w(f), n.pointSelectorHelper.magnifier.render());
|
|
57623
57620
|
}, A = (I) => {
|
|
57621
|
+
if (!I)
|
|
57622
|
+
return;
|
|
57624
57623
|
m.length = 0;
|
|
57625
57624
|
const T = h.length === 0 ? I.point : u.clone();
|
|
57626
57625
|
h.push(T), e.setPoints(h), h.length === 2 && (x(), s());
|