@realsee/dnalogel 3.50.13 → 3.50.15-alpha.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/CHANGELOG.md +3 -0
- package/README.md +116 -0
- package/dist/Sculpt/Objects/Base/index.d.ts +1 -1
- package/dist/Sculpt/index.d.ts +2 -2
- package/dist/index.cjs.js +264 -264
- package/dist/index.js +4111 -4089
- package/dist/index.umd.js +266 -266
- package/dist/shared-utils/equal.d.ts +1 -1
- package/dist/shared-utils/index.d.ts +2 -1
- package/dist/shared-utils/tag.d.ts +19 -8
- package/dist/shared-utils/three/index.d.ts +1 -0
- package/libs/AreaMakerPlugin/Controller.js +107 -77
- package/libs/AreaMakerPlugin/index.js +39 -9
- package/libs/AreaMakerPlugin/utils/Item.js +68 -38
- package/libs/CSS3DRenderPlugin/Controller.js +38 -18
- package/libs/CSS3DRenderPlugin/index.js +41 -21
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +63 -38
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +103 -83
- package/libs/CruisePlugin/BaseController.js +72 -42
- package/libs/CruisePlugin/Move.js +35 -16
- package/libs/CruisePlugin/Work.js +67 -48
- package/libs/CruisePlugin/index.js +45 -26
- package/libs/CurrentPanoImagePlugin/Controller.js +71 -41
- package/libs/CurrentPanoImagePlugin/index.js +40 -10
- package/libs/GuideLinePlugin/Controller.js +76 -57
- package/libs/GuideLinePlugin/GuideLineItem.js +40 -21
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +4 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +34 -15
- package/libs/GuideLinePlugin/index.js +45 -26
- package/libs/ModelMakerPlugin/Controller.js +53 -35
- package/libs/ModelMakerPlugin/index.js +40 -22
- package/libs/ModelTVVideoPlugin/Plugin.js +52 -32
- package/libs/ModelTVVideoPlugin/index.js +28 -8
- package/libs/Object3DHelperPlugin/Controller.js +55 -36
- package/libs/Object3DHelperPlugin/index.js +43 -24
- package/libs/PanoCompassPlugin/Controller.js +39 -19
- package/libs/PanoCompassPlugin/index.js +40 -20
- package/libs/PanoDoorLabelPlugin/BaseController.js +62 -32
- package/libs/PanoDoorLabelPlugin/Controller.js +105 -75
- package/libs/PanoDoorLabelPlugin/index.js +40 -10
- package/libs/PanoMeasurePlugin/Components/Controller0.js +9 -9
- package/libs/PanoMeasurePlugin/Components/Controller1.js +9 -9
- package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +79 -53
- package/libs/PanoMeasurePlugin/Controller/index.js +18 -18
- package/libs/PanoMeasurePlugin/Model/area.js +46 -20
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +36 -7
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +9 -9
- package/libs/PanoMeasurePlugin/index.js +4 -4
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +46 -18
- package/libs/PanoRulerProPlugin/Controller.js +88 -39
- package/libs/PanoRulerProPlugin/RulerItems.js +151 -102
- package/libs/PanoRulerProPlugin/index.js +53 -4
- package/libs/PanoSpatialTagPlugin/Plugin.js +58 -38
- package/libs/PanoSpatialTagPlugin/index.js +26 -6
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +82 -52
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +238 -209
- package/libs/PanoTagPlugin/Components/Tag/index.js +155 -128
- package/libs/PanoTagPlugin/Components/TagContainer.js +103 -76
- package/libs/PanoTagPlugin/Components/TagItem.js +34 -7
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +32 -5
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +62 -35
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +60 -33
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +61 -34
- package/libs/PanoTagPlugin/controller/TagRender.js +53 -34
- package/libs/PanoTagPlugin/controller/TagUtil.js +37 -18
- package/libs/PanoTagPlugin/controller/index.js +48 -29
- package/libs/PanoTagPlugin/index.js +46 -27
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +62 -32
- package/libs/PanoVideoPlugin/Controller.js +98 -68
- package/libs/PanoVideoPlugin/VideoMeshController.js +58 -28
- package/libs/PanoVideoPlugin/index.js +43 -13
- package/libs/PipelinePlugin/Controller.js +95 -66
- package/libs/PipelinePlugin/index.js +40 -11
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +46 -16
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +45 -15
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +63 -33
- package/libs/Sculpt/Meshes/Box.js +4 -3
- package/libs/Sculpt/Meshes/Cylinder.js +4 -3
- package/libs/Sculpt/Meshes/Line.js +13 -12
- package/libs/Sculpt/Meshes/LineWithDots.js +9 -7
- package/libs/Sculpt/Meshes/Point.js +4 -3
- package/libs/Sculpt/Meshes/Polygon.js +3 -2
- package/libs/Sculpt/Meshes/Prism.js +12 -10
- package/libs/Sculpt/Meshes/Rectangle.js +4 -3
- package/libs/Sculpt/Objects/Base/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Line/Editor.js +8 -7
- package/libs/Sculpt/index.d.ts +2 -2
- package/libs/Sculpt/index.js +4 -3
- package/libs/Sculpt/utils/three/ColoredMesh.js +7 -6
- package/libs/base/BasePlugin.js +5 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +91 -62
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +40 -11
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +82 -53
- package/libs/floorplan/ModelFloorplanPlugin/index.js +40 -11
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +75 -45
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +41 -11
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +107 -78
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +40 -11
- package/libs/floorplan/index.js +2 -1
- package/libs/index.js +34 -34
- package/libs/shared-utils/equal.d.ts +1 -1
- package/libs/shared-utils/five/index.js +4 -3
- package/libs/shared-utils/five/lookObject.js +4 -3
- package/libs/shared-utils/index.d.ts +2 -1
- package/libs/shared-utils/index.js +60 -55
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +19 -8
- package/libs/shared-utils/tag.js +68 -49
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -2
- package/libs/shared-utils/three/index.d.ts +1 -0
- package/libs/shared-utils/three/index.js +2 -1
- package/package.json +1 -1
|
@@ -43,11 +43,6 @@ import "earcut";
|
|
|
43
43
|
import "../../shared-utils/three/getNormal.js";
|
|
44
44
|
import "../utils/dom/areaDom.js";
|
|
45
45
|
import "../../shared-utils/three/geometryUtil.js";
|
|
46
|
-
import "hammerjs";
|
|
47
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
48
|
-
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
49
|
-
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
50
|
-
import "../../vendor/three/build/three.module.js";
|
|
51
46
|
import "../../shared-utils/tag.js";
|
|
52
47
|
import "../../shared-utils/positionToVector3.js";
|
|
53
48
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -58,6 +53,11 @@ import "../../shared-utils/Utils/WorkUtil.js";
|
|
|
58
53
|
import "../../shared-utils/five/transformPosition.js";
|
|
59
54
|
import "../../shared-utils/three/temp.js";
|
|
60
55
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
56
|
+
import "hammerjs";
|
|
57
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
58
|
+
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
59
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
60
|
+
import "../../vendor/three/build/three.module.js";
|
|
61
61
|
import "../../shared-utils/three/core/Sphere.js";
|
|
62
62
|
import "animejs";
|
|
63
63
|
import "../../shared-utils/isNil.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var I = Object.defineProperty;
|
|
2
2
|
var R = (c, r, t) => r in c ? I(c, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[r] = t;
|
|
3
|
-
var
|
|
3
|
+
var o = (c, r, t) => (R(c, typeof r != "symbol" ? r + "" : r, t), t);
|
|
4
4
|
import G from "hammerjs";
|
|
5
5
|
import T from "../Modules/DeleteDom/index.js";
|
|
6
6
|
import w from "../utils/isNDCPointInScreen.js";
|
|
@@ -31,10 +31,6 @@ import "../utils/ndc2Screen.js";
|
|
|
31
31
|
import "../Model/polyline.js";
|
|
32
32
|
import "../utils/dom/areaDom.js";
|
|
33
33
|
import "../../shared-utils/three/geometryUtil.js";
|
|
34
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
35
|
-
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
36
|
-
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
37
|
-
import "../../vendor/three/build/three.module.js";
|
|
38
34
|
import "../../shared-utils/tag.js";
|
|
39
35
|
import "../../shared-utils/positionToVector3.js";
|
|
40
36
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -45,51 +41,81 @@ import "../../shared-utils/Utils/WorkUtil.js";
|
|
|
45
41
|
import "../../shared-utils/five/transformPosition.js";
|
|
46
42
|
import "../../shared-utils/three/temp.js";
|
|
47
43
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
44
|
+
import "../../shared-utils/three/PointSelector/index.js";
|
|
45
|
+
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
46
|
+
import "../../shared-utils/three/Magnifier.js";
|
|
47
|
+
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
48
|
+
import "../../shared-utils/three/Assets/index.js";
|
|
49
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
50
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
51
|
+
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
52
|
+
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
53
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
54
|
+
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
55
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
56
|
+
import "../../vendor/three/build/three.module.js";
|
|
48
57
|
import "../../shared-utils/three/core/Sphere.js";
|
|
49
58
|
import "animejs";
|
|
50
59
|
import "../../shared-utils/isNil.js";
|
|
51
60
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
61
|
+
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
62
|
+
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
63
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
64
|
+
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
65
|
+
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
66
|
+
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
67
|
+
import "../../Sculpt/Meshes/Line.js";
|
|
68
|
+
import "../../Sculpt/typings/style.js";
|
|
52
69
|
import "../../shared-utils/three/IObject3D.js";
|
|
70
|
+
import "../../Sculpt/utils/removeAllTag.js";
|
|
71
|
+
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
72
|
+
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
73
|
+
import "../../shared-utils/util.js";
|
|
74
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
75
|
+
import "../../shared-utils/isTouchDevice.js";
|
|
76
|
+
import "../../shared-utils/five/getPosition.js";
|
|
77
|
+
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
78
|
+
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
53
79
|
import "../../shared-utils/three/generatePolygonGeometry.js";
|
|
54
80
|
import "../../shared-utils/three/earcut3D.js";
|
|
55
81
|
import "earcut";
|
|
56
82
|
import "../../shared-utils/three/getNormal.js";
|
|
57
83
|
import "../utils/isIntersecting.js";
|
|
58
84
|
const E = () => !1;
|
|
59
|
-
class
|
|
85
|
+
class de extends U {
|
|
60
86
|
constructor(t) {
|
|
61
87
|
super(t);
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
88
|
+
o(this, "type", "watch");
|
|
89
|
+
o(this, "deleteDom");
|
|
90
|
+
o(this, "choose");
|
|
65
91
|
// tmd 真没时间改了,先这样吧,理解万岁
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
var
|
|
92
|
+
o(this, "highlightedLines", []);
|
|
93
|
+
o(this, "highlightedArea");
|
|
94
|
+
o(this, "fiveElement");
|
|
95
|
+
o(this, "editPointState");
|
|
96
|
+
o(this, "hammer");
|
|
97
|
+
o(this, "onPanStart", (t) => {
|
|
98
|
+
var m;
|
|
73
99
|
if (this.model.getAllLines().length === 0 || !this.fiveElement)
|
|
74
100
|
return;
|
|
75
|
-
const i = C(t).point, e = (
|
|
101
|
+
const i = C(t).point, e = (m = j(this.five, this.model.getAllPoints(), i, 20)) == null ? void 0 : m.point;
|
|
76
102
|
if (!e) {
|
|
77
103
|
this.editPointState = void 0;
|
|
78
104
|
return;
|
|
79
105
|
}
|
|
80
|
-
const n = this.model.polylines.find((a) => a.includes(e)),
|
|
106
|
+
const n = this.model.polylines.find((a) => a.includes(e)), p = {
|
|
81
107
|
point: e,
|
|
82
108
|
associatedLines: n.lines
|
|
83
109
|
};
|
|
84
110
|
this.hook.emit("wantsDragLine", {
|
|
85
111
|
point: e.id,
|
|
86
|
-
lines:
|
|
87
|
-
}) || (this.editPointState =
|
|
112
|
+
lines: p.associatedLines.map(({ id: a }) => a)
|
|
113
|
+
}) || (this.editPointState = p, this.magnifier.appendTo(this.container), this.magnifier.enable(), this.group.add(this.mouseGroup));
|
|
88
114
|
});
|
|
89
|
-
|
|
115
|
+
o(this, "onPanEnd", () => {
|
|
90
116
|
this.editPointState && (this.editPointState.associatedLines.forEach((t) => t.mesh.setMaterial({ dashed: !1 })), this.highlightLines(this.editPointState.associatedLines), this.editPointState = void 0, this.magnifier.disable(), this.group.remove(this.mouseGroup));
|
|
91
117
|
});
|
|
92
|
-
|
|
118
|
+
o(this, "onPan", (t) => {
|
|
93
119
|
if (!this.editPointState || !this.fiveElement)
|
|
94
120
|
return;
|
|
95
121
|
const i = C(t).ndcPoint, e = new M();
|
|
@@ -97,15 +123,15 @@ class Vt extends U {
|
|
|
97
123
|
const [n] = D(this.five).intersectRaycaster(e);
|
|
98
124
|
n && this.onIntersectionUpdate(n);
|
|
99
125
|
});
|
|
100
|
-
|
|
126
|
+
o(this, "onIntersectionUpdate", (t, i) => {
|
|
101
127
|
if (this.editPointState) {
|
|
102
128
|
if (this.clearHighlightLines(), this.editPointState.point.position.copy(t.point), this.editPointState.associatedLines.forEach((e) => {
|
|
103
129
|
e.mesh.setPoints(e.points[0].position.clone(), e.points[1].position.clone()), e.lightMesh.setPoints(e.points[0].position.clone(), e.points[1].position.clone()), e.mesh.setMaterial({ dashed: !0 });
|
|
104
130
|
}), this.updateDistanceUI(), this.magnifier.renderWithPoint(t.point), this.mouseGroup.position.copy(t.point), i)
|
|
105
131
|
this.mouseGroup.quaternion.copy(i.quaternion);
|
|
106
132
|
else if (t.face) {
|
|
107
|
-
const n = t.face.normal.clone().multiplyScalar(0.05),
|
|
108
|
-
this.mouseGroup.lookAt(
|
|
133
|
+
const n = t.face.normal.clone().multiplyScalar(0.05), l = t.point.clone().add(n).clone().add(n);
|
|
134
|
+
this.mouseGroup.lookAt(l);
|
|
109
135
|
}
|
|
110
136
|
this.five.needsRender = !0, this.hook.emit(
|
|
111
137
|
"selectedChange",
|
|
@@ -113,43 +139,43 @@ class Vt extends U {
|
|
|
113
139
|
);
|
|
114
140
|
}
|
|
115
141
|
});
|
|
116
|
-
|
|
142
|
+
o(this, "wantsPanGesture", () => {
|
|
117
143
|
if (this.editPointState)
|
|
118
144
|
return !1;
|
|
119
145
|
});
|
|
120
|
-
|
|
146
|
+
o(this, "wantsTapGesture", (t) => {
|
|
121
147
|
var S;
|
|
122
|
-
const i = this.model.areas.map((
|
|
148
|
+
const i = this.model.areas.map((s) => t.intersectObject(s.polygon, !0)[0]).sort((s, h) => s.distance - h.distance), e = (S = i[0]) == null ? void 0 : S.object.parent;
|
|
123
149
|
if (e instanceof F) {
|
|
124
|
-
const
|
|
125
|
-
if (
|
|
126
|
-
const { x: h, y: u } = i[0].point.clone().project(this.five.camera),
|
|
127
|
-
return this.chooseArea(
|
|
150
|
+
const s = this.model.areas.find((h) => h.polygon === e);
|
|
151
|
+
if (s) {
|
|
152
|
+
const { x: h, y: u } = i[0].point.clone().project(this.five.camera), d = `${(h + 1) / 2 * 100}%`, g = `${(-u + 1) / 2 * 100}%`;
|
|
153
|
+
return this.chooseArea(s, { left: d, top: g }), !1;
|
|
128
154
|
}
|
|
129
155
|
}
|
|
130
|
-
const n = D(this.five), [
|
|
131
|
-
if (!
|
|
156
|
+
const n = D(this.five), [p] = n.intersectRaycaster(t);
|
|
157
|
+
if (!p)
|
|
132
158
|
return;
|
|
133
|
-
const
|
|
134
|
-
const [h, u] =
|
|
135
|
-
if (!w(
|
|
159
|
+
const l = this.five.camera, m = p.point.clone().project(l), a = this.container.clientWidth, f = this.container.clientHeight, P = new L(m.x * a, m.y * f), v = this.model.getAllLines().map((s) => {
|
|
160
|
+
const [h, u] = s.points, d = h.position.clone().project(l), g = u.position.clone().project(l);
|
|
161
|
+
if (!w(d) && !w(g))
|
|
136
162
|
return null;
|
|
137
|
-
const H = new L(
|
|
138
|
-
return { id:
|
|
139
|
-
}).filter((
|
|
163
|
+
const H = new L(d.x * a, d.y * f), k = new L(g.x * a, g.y * f);
|
|
164
|
+
return { id: s.id, points: [H, k] };
|
|
165
|
+
}).filter((s) => !!s);
|
|
140
166
|
if (v.length === 0)
|
|
141
167
|
return;
|
|
142
|
-
const y = v.map((
|
|
143
|
-
const h = b(P,
|
|
144
|
-
return { id:
|
|
145
|
-
}).sort((
|
|
168
|
+
const y = v.map((s) => {
|
|
169
|
+
const h = b(P, s.points);
|
|
170
|
+
return { id: s.id, distance: h.distanceTo(P) };
|
|
171
|
+
}).sort((s, h) => s.distance - h.distance)[0];
|
|
146
172
|
if (y.distance > 20)
|
|
147
173
|
return;
|
|
148
|
-
const A = this.model.getAllLines().find(({ id:
|
|
174
|
+
const A = this.model.getAllLines().find(({ id: s }) => s === y.id);
|
|
149
175
|
if (A)
|
|
150
176
|
return this.chooseLine(A), !1;
|
|
151
177
|
});
|
|
152
|
-
|
|
178
|
+
o(this, "chooseLine", (t) => {
|
|
153
179
|
this.choose = "line";
|
|
154
180
|
const i = t.getPolyline().lines;
|
|
155
181
|
this.deleteDom.setLines(i).updatePosition().show(), this.highlightLines(i), this.five.needsRender = !0, this.hook.emit(
|
|
@@ -157,26 +183,26 @@ class Vt extends U {
|
|
|
157
183
|
i.map((e) => e)
|
|
158
184
|
);
|
|
159
185
|
});
|
|
160
|
-
|
|
186
|
+
o(this, "chooseArea", (t, i) => {
|
|
161
187
|
this.choose = t, this.deleteDom.updatePosition(i.left, `calc(${i.top} - 20px)`).show(), this.highlightArea(t);
|
|
162
188
|
});
|
|
163
|
-
|
|
189
|
+
o(this, "polylineRemoved", (t) => {
|
|
164
190
|
t.lines.forEach((i) => this.removeLine(i)), this.hook.emit(
|
|
165
191
|
"selectedChange",
|
|
166
192
|
this.model.getAllLines().filter((i) => i.selected).map((i) => i)
|
|
167
193
|
);
|
|
168
194
|
});
|
|
169
|
-
|
|
195
|
+
o(this, "onCameraUpdate", () => {
|
|
170
196
|
this.updateDistanceUI(), this.highlightedLines.length > 0 && this.deleteDom.updatePosition();
|
|
171
197
|
});
|
|
172
|
-
|
|
198
|
+
o(this, "deleteArea", (t) => {
|
|
173
199
|
this.unHighlightArea(t), t.dispose(), this.deleteDom.hide();
|
|
174
200
|
});
|
|
175
|
-
|
|
201
|
+
o(this, "deleteLine", () => {
|
|
176
202
|
const t = this.highlightedLines[0], i = this.model.getPolylineByLine(t);
|
|
177
203
|
i && (this.model.removePolyline(i), this.highlightedLines = [], this.deleteDom.setLines([]).hide());
|
|
178
204
|
});
|
|
179
|
-
|
|
205
|
+
o(this, "cancelDeleteClickCallback", () => {
|
|
180
206
|
this.deleteDom.hide(), this.clearHighlightLines(), this.unHighlightArea();
|
|
181
207
|
});
|
|
182
208
|
this.deleteDom = new T(this.five, {
|
|
@@ -229,5 +255,5 @@ class Vt extends U {
|
|
|
229
255
|
}
|
|
230
256
|
}
|
|
231
257
|
export {
|
|
232
|
-
|
|
258
|
+
de as default
|
|
233
259
|
};
|
|
@@ -22,11 +22,12 @@ import { UIController as W } from "../Modules/UIController/index.js";
|
|
|
22
22
|
import { GuideController as A } from "../Modules/GuideController.js";
|
|
23
23
|
import { ShortcutKeyController as B } from "./ShortcutKeyController.js";
|
|
24
24
|
import { safeObj as U } from "../../shared-utils/safeObj.js";
|
|
25
|
+
import "../../shared-utils/tag.js";
|
|
25
26
|
import { Magnifier as V } from "../../shared-utils/three/Magnifier.js";
|
|
27
|
+
import "../../shared-utils/three/PointSelector/index.js";
|
|
26
28
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
27
29
|
import "@realsee/five/line";
|
|
28
30
|
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
29
|
-
import "../../shared-utils/tag.js";
|
|
30
31
|
import "../../shared-utils/three/core/Sphere.js";
|
|
31
32
|
import "animejs";
|
|
32
33
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -59,26 +60,30 @@ import "../utils/dom/areaDom.js";
|
|
|
59
60
|
import "../../shared-utils/three/geometryUtil.js";
|
|
60
61
|
import "hammerjs";
|
|
61
62
|
import "../../shared-utils/isNil.js";
|
|
62
|
-
import "
|
|
63
|
-
import "
|
|
64
|
-
import "
|
|
65
|
-
import "
|
|
66
|
-
import "
|
|
67
|
-
import "../../
|
|
68
|
-
import "../../shared-utils/Subscribe.js";
|
|
69
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
70
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
71
|
-
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
72
|
-
import "../../vendor/three/build/three.module.js";
|
|
63
|
+
import "../Modules/DeleteDom/index.js";
|
|
64
|
+
import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
65
|
+
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
66
|
+
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
67
|
+
import "../utils/math.js";
|
|
68
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
73
69
|
import "../../shared-utils/positionToVector3.js";
|
|
74
70
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
75
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
76
71
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
77
72
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
73
|
+
import "../../shared-utils/Subscribe.js";
|
|
78
74
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
79
75
|
import "../../shared-utils/five/transformPosition.js";
|
|
80
76
|
import "../../shared-utils/three/temp.js";
|
|
81
77
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
78
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
79
|
+
import "../../vendor/three/build/three.module.js";
|
|
80
|
+
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
81
|
+
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
82
|
+
import "../../shared-utils/three/Assets/index.js";
|
|
83
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
84
|
+
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
85
|
+
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
86
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
82
87
|
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
83
88
|
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
84
89
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -95,11 +100,6 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
|
95
100
|
import "../../shared-utils/five/getPosition.js";
|
|
96
101
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
97
102
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
98
|
-
import "../Modules/DeleteDom/index.js";
|
|
99
|
-
import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
100
|
-
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
101
|
-
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
102
|
-
import "../utils/math.js";
|
|
103
103
|
import "../utils/findClosestPoint.js";
|
|
104
104
|
import "../utils/ndc2Screen.js";
|
|
105
105
|
import "../../shared-utils/getPointFromHammerEvent.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var l = Object.defineProperty;
|
|
2
2
|
var d = (o, t, e) => t in o ? l(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
|
|
3
3
|
var i = (o, t, e) => (d(o, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
-
import * as
|
|
4
|
+
import * as m from "three";
|
|
5
5
|
import { uuid as f } from "../../shared-utils/uuid.js";
|
|
6
6
|
import { Subscribe as c } from "@realsee/five";
|
|
7
7
|
import u from "./line.js";
|
|
8
8
|
import v from "./polygon.js";
|
|
9
9
|
import { Polyline as y } from "./polyline.js";
|
|
10
|
-
import
|
|
10
|
+
import n from "./point.js";
|
|
11
11
|
import { AreaItem as C } from "../utils/dom/areaDom.js";
|
|
12
12
|
import "../utils/line.js";
|
|
13
13
|
import "../../shared-utils/five/FiveLine.js";
|
|
@@ -24,11 +24,6 @@ import "earcut";
|
|
|
24
24
|
import "../../shared-utils/three/getNormal.js";
|
|
25
25
|
import "../utils/isIntersecting.js";
|
|
26
26
|
import "../../shared-utils/three/geometryUtil.js";
|
|
27
|
-
import "hammerjs";
|
|
28
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
29
|
-
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
30
|
-
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
31
|
-
import "../../vendor/three/build/three.module.js";
|
|
32
27
|
import "../../shared-utils/tag.js";
|
|
33
28
|
import "../../shared-utils/positionToVector3.js";
|
|
34
29
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -40,11 +35,42 @@ import "../../shared-utils/Utils/WorkUtil.js";
|
|
|
40
35
|
import "../../shared-utils/five/transformPosition.js";
|
|
41
36
|
import "../../shared-utils/three/temp.js";
|
|
42
37
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
38
|
+
import "hammerjs";
|
|
39
|
+
import "../../shared-utils/three/PointSelector/index.js";
|
|
40
|
+
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
41
|
+
import "../../shared-utils/three/Magnifier.js";
|
|
42
|
+
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
43
|
+
import "../../shared-utils/three/Assets/index.js";
|
|
44
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
45
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
46
|
+
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
47
|
+
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
48
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
49
|
+
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
50
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
51
|
+
import "../../vendor/three/build/three.module.js";
|
|
43
52
|
import "../../shared-utils/three/core/Sphere.js";
|
|
44
53
|
import "animejs";
|
|
45
54
|
import "../../shared-utils/isNil.js";
|
|
46
55
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
47
|
-
|
|
56
|
+
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
57
|
+
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
58
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
59
|
+
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
60
|
+
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
61
|
+
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
62
|
+
import "../../Sculpt/Meshes/Line.js";
|
|
63
|
+
import "../../Sculpt/typings/style.js";
|
|
64
|
+
import "../../Sculpt/utils/removeAllTag.js";
|
|
65
|
+
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
66
|
+
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
67
|
+
import "../../shared-utils/util.js";
|
|
68
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
69
|
+
import "../../shared-utils/isTouchDevice.js";
|
|
70
|
+
import "../../shared-utils/five/getPosition.js";
|
|
71
|
+
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
72
|
+
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
73
|
+
class Ft {
|
|
48
74
|
constructor(t, e) {
|
|
49
75
|
i(this, "id", f());
|
|
50
76
|
i(this, "selected", !1);
|
|
@@ -73,14 +99,14 @@ class at {
|
|
|
73
99
|
i(this, "updateDom", () => {
|
|
74
100
|
this.five && (this.polyline.lines.forEach((t) => t.distanceItem.update(this.five)), this.areaItem.updateDomPosition(this.five));
|
|
75
101
|
});
|
|
76
|
-
var
|
|
102
|
+
var p;
|
|
77
103
|
t && (this.points = t), this.model = e.model, this.polygon = new v(t), this.polyline = new y({ model: e.model }), this.areaItem = new C({
|
|
78
104
|
area: this,
|
|
79
|
-
clickCallback: (
|
|
80
|
-
const
|
|
81
|
-
this.hook.emit("selected", this, { left:
|
|
105
|
+
clickCallback: (r, s) => {
|
|
106
|
+
const a = r.clientX + "px", h = r.clientY + "px";
|
|
107
|
+
this.hook.emit("selected", this, { left: a, top: h });
|
|
82
108
|
}
|
|
83
|
-
}), this.domContainer = e.domContainer || null, this.meshContainer = e.meshContainer || null, this.five = e.five || null, this.areaItem.appendTo(this.domContainer), (
|
|
109
|
+
}), this.domContainer = e.domContainer || null, this.meshContainer = e.meshContainer || null, this.five = e.five || null, this.areaItem.appendTo(this.domContainer), (p = this.five) == null || p.on("cameraUpdate", this.updateDom);
|
|
84
110
|
}
|
|
85
111
|
/**
|
|
86
112
|
* @description: 多边形的端点是否闭合
|
|
@@ -90,14 +116,14 @@ class at {
|
|
|
90
116
|
return this.points.length >= 4 && ((t = this.points.at(0)) == null ? void 0 : t.equals(this.points.at(-1)));
|
|
91
117
|
}
|
|
92
118
|
addPoints(t) {
|
|
93
|
-
var
|
|
119
|
+
var r;
|
|
94
120
|
this.points = this.points.concat(t);
|
|
95
|
-
const e = this.points.at(-2),
|
|
96
|
-
if (e &&
|
|
97
|
-
const s = new u(new
|
|
121
|
+
const e = this.points.at(-2), p = this.points.at(-1);
|
|
122
|
+
if (e && p) {
|
|
123
|
+
const s = new u(new n(e), new n(p), this.polyline.model);
|
|
98
124
|
this.polyline.addLine(s), this.meshContainer.add(s.mesh), this.five && (s.distanceItem.setCanSelect(!1), s.distanceItem.appendTo(this.domContainer), s.distanceItem.update(this.five));
|
|
99
125
|
}
|
|
100
|
-
(
|
|
126
|
+
(r = this.meshContainer) != null && r.children.includes(this.polygon) || this.meshContainer.add(this.polygon), this.polygon.updatePoints(this.points), this.areaItem.updateArea(this.five), this.points.length === 3 ? this.planeHelper = new m.Plane().setFromCoplanarPoints(this.points[0], this.points[1], this.points[2]) : this.points.length < 3 && (this.planeHelper = null);
|
|
101
127
|
}
|
|
102
128
|
/**
|
|
103
129
|
* @description: 移除最后一个添加的点
|
|
@@ -123,7 +149,7 @@ class at {
|
|
|
123
149
|
* @description: 获取一个点投影在当前平面上的点
|
|
124
150
|
*/
|
|
125
151
|
projectPoint(t) {
|
|
126
|
-
return t && (this.planeHelper ? this.planeHelper.projectPoint(t, new
|
|
152
|
+
return t && (this.planeHelper ? this.planeHelper.projectPoint(t, new m.Vector3()) : t);
|
|
127
153
|
}
|
|
128
154
|
remove() {
|
|
129
155
|
this.polygon.removeFromParent(), this.areaItem.remove(), this.polyline.lines.forEach((t) => t.remove());
|
|
@@ -143,5 +169,5 @@ class at {
|
|
|
143
169
|
}
|
|
144
170
|
}
|
|
145
171
|
export {
|
|
146
|
-
|
|
172
|
+
Ft as default
|
|
147
173
|
};
|
|
@@ -1,25 +1,54 @@
|
|
|
1
|
+
import "../../shared-utils/tag.js";
|
|
1
2
|
import "three";
|
|
2
|
-
import { Magnifier as
|
|
3
|
+
import { Magnifier as t } from "../../shared-utils/three/Magnifier.js";
|
|
4
|
+
import "../../shared-utils/three/PointSelector/index.js";
|
|
3
5
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
4
6
|
import "@realsee/five/line";
|
|
5
7
|
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
6
|
-
import "../../shared-utils/tag.js";
|
|
7
8
|
import "../../shared-utils/three/core/Sphere.js";
|
|
8
9
|
import "animejs";
|
|
9
10
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
10
|
-
import "hammerjs";
|
|
11
|
-
import "../../shared-utils/Subscribe.js";
|
|
12
|
-
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
13
|
-
import "../../vendor/three/build/three.module.js";
|
|
14
11
|
import "../../shared-utils/positionToVector3.js";
|
|
15
12
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
16
13
|
import "../../shared-utils/five/getFiveModel.js";
|
|
17
14
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
18
15
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
16
|
+
import "../../shared-utils/Subscribe.js";
|
|
19
17
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
20
18
|
import "../../shared-utils/five/transformPosition.js";
|
|
21
19
|
import "../../shared-utils/three/temp.js";
|
|
22
20
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
21
|
+
import "hammerjs";
|
|
22
|
+
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
23
|
+
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
24
|
+
import "../../shared-utils/three/Assets/index.js";
|
|
25
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
26
|
+
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
27
|
+
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
28
|
+
import "../../shared-utils/three/centerPoint.js";
|
|
29
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
30
|
+
import "../../shared-utils/isNil.js";
|
|
31
|
+
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
32
|
+
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
33
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
34
|
+
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
35
|
+
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
36
|
+
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
37
|
+
import "../../Sculpt/Meshes/Line.js";
|
|
38
|
+
import "../../Sculpt/typings/style.js";
|
|
39
|
+
import "../../shared-utils/five/FiveLine.js";
|
|
40
|
+
import "../../shared-utils/three/IObject3D.js";
|
|
41
|
+
import "../../Sculpt/utils/removeAllTag.js";
|
|
42
|
+
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
43
|
+
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
44
|
+
import "../../shared-utils/util.js";
|
|
45
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
46
|
+
import "../../shared-utils/isTouchDevice.js";
|
|
47
|
+
import "../../shared-utils/five/getPosition.js";
|
|
48
|
+
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
49
|
+
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
50
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
51
|
+
import "../../vendor/three/build/three.module.js";
|
|
23
52
|
export {
|
|
24
|
-
|
|
53
|
+
t as default
|
|
25
54
|
};
|
|
@@ -40,11 +40,6 @@ import "../../../shared-utils/three/getNormal.js";
|
|
|
40
40
|
import "../../utils/isIntersecting.js";
|
|
41
41
|
import "../../utils/dom/areaDom.js";
|
|
42
42
|
import "../../../shared-utils/three/geometryUtil.js";
|
|
43
|
-
import "hammerjs";
|
|
44
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
45
|
-
import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
46
|
-
import "../../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
47
|
-
import "../../../vendor/three/build/three.module.js";
|
|
48
43
|
import "../../../shared-utils/tag.js";
|
|
49
44
|
import "../../../shared-utils/positionToVector3.js";
|
|
50
45
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -56,19 +51,24 @@ import "../../../shared-utils/Utils/WorkUtil.js";
|
|
|
56
51
|
import "../../../shared-utils/five/transformPosition.js";
|
|
57
52
|
import "../../../shared-utils/three/temp.js";
|
|
58
53
|
import "../../../shared-utils/dom/resizeObserver.js";
|
|
59
|
-
import "
|
|
60
|
-
import "animejs";
|
|
61
|
-
import "../../../shared-utils/isNil.js";
|
|
62
|
-
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
54
|
+
import "hammerjs";
|
|
63
55
|
import "../../../shared-utils/three/PointSelector/index.js";
|
|
64
56
|
import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
65
57
|
import "../../../shared-utils/three/Magnifier.js";
|
|
66
58
|
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
67
59
|
import "../../../shared-utils/three/Assets/index.js";
|
|
68
60
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
61
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
69
62
|
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
70
63
|
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
71
64
|
import "../../../shared-utils/three/getObjectVisible.js";
|
|
65
|
+
import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
66
|
+
import "../../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
67
|
+
import "../../../vendor/three/build/three.module.js";
|
|
68
|
+
import "../../../shared-utils/three/core/Sphere.js";
|
|
69
|
+
import "animejs";
|
|
70
|
+
import "../../../shared-utils/isNil.js";
|
|
71
|
+
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
72
72
|
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
73
73
|
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
74
74
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import t from "./Controller/index.js";
|
|
2
|
+
import "../shared-utils/tag.js";
|
|
2
3
|
import "three";
|
|
3
4
|
import { Magnifier as fr } from "../shared-utils/three/Magnifier.js";
|
|
5
|
+
import "../shared-utils/three/PointSelector/index.js";
|
|
4
6
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
5
7
|
import "@realsee/five/line";
|
|
6
8
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
7
|
-
import "../shared-utils/tag.js";
|
|
8
9
|
import "../shared-utils/three/core/Sphere.js";
|
|
9
10
|
import "animejs";
|
|
10
11
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -37,8 +38,6 @@ import "./utils/dom/areaDom.js";
|
|
|
37
38
|
import "../shared-utils/three/geometryUtil.js";
|
|
38
39
|
import "hammerjs";
|
|
39
40
|
import "../shared-utils/isNil.js";
|
|
40
|
-
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
41
|
-
import "../vendor/three/build/three.module.js";
|
|
42
41
|
import "../shared-utils/positionToVector3.js";
|
|
43
42
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
44
43
|
import "../shared-utils/five/getFiveModel.js";
|
|
@@ -49,7 +48,6 @@ import "../shared-utils/Utils/WorkUtil.js";
|
|
|
49
48
|
import "../shared-utils/five/transformPosition.js";
|
|
50
49
|
import "../shared-utils/three/temp.js";
|
|
51
50
|
import "../shared-utils/dom/resizeObserver.js";
|
|
52
|
-
import "../shared-utils/three/PointSelector/index.js";
|
|
53
51
|
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
54
52
|
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
55
53
|
import "../shared-utils/three/Assets/index.js";
|
|
@@ -74,6 +72,8 @@ import "../shared-utils/isTouchDevice.js";
|
|
|
74
72
|
import "../shared-utils/five/getPosition.js";
|
|
75
73
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
76
74
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
75
|
+
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
76
|
+
import "../vendor/three/build/three.module.js";
|
|
77
77
|
import "./Modules/DeleteDom/index.js";
|
|
78
78
|
import "./Modules/DeleteDom/_Assets/delete.svg.js";
|
|
79
79
|
import "./Modules/DeleteDom/_Assets/delete_bg.png.js";
|