@realsee/dnalogel 3.47.13 → 3.47.15
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 +8 -0
- package/dist/PanoTagPlugin/utils/requestIdleCallback.d.ts +1 -1
- package/dist/Sculpt/Meshes/Line.d.ts +1 -0
- package/dist/Sculpt/Meshes/Polygon.d.ts +2 -1
- package/dist/index.cjs.js +53 -53
- package/dist/index.js +18650 -18640
- package/dist/index.umd.js +47 -47
- package/libs/AreaMakerPlugin/Controller.js +78 -150
- package/libs/AreaMakerPlugin/index.js +3 -75
- package/libs/AreaMakerPlugin/utils/Item.js +111 -185
- package/libs/CSS3DRenderPlugin/Controller.js +29 -86
- package/libs/CSS3DRenderPlugin/index.js +12 -69
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +58 -127
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +113 -174
- package/libs/CruisePlugin/BaseController.js +50 -122
- package/libs/CruisePlugin/Move.js +21 -74
- package/libs/CruisePlugin/Work.js +46 -99
- package/libs/CruisePlugin/index.js +26 -79
- package/libs/CurrentPanoImagePlugin/Controller.js +104 -176
- package/libs/CurrentPanoImagePlugin/index.js +4 -76
- package/libs/GuideLinePlugin/Controller.js +26 -79
- package/libs/GuideLinePlugin/GuideLineItem.js +24 -77
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +2 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +22 -75
- package/libs/GuideLinePlugin/index.js +26 -79
- package/libs/ModelMakerPlugin/Controller.js +83 -139
- package/libs/ModelMakerPlugin/index.js +16 -72
- package/libs/ModelTVVideoPlugin/Plugin.js +48 -105
- package/libs/ModelTVVideoPlugin/index.js +7 -64
- package/libs/Object3DHelperPlugin/Controller.js +32 -56
- package/libs/Object3DHelperPlugin/index.js +12 -35
- package/libs/PanoCompassPlugin/Controller.js +37 -93
- package/libs/PanoCompassPlugin/index.js +11 -67
- package/libs/PanoDoorLabelPlugin/BaseController.js +25 -97
- package/libs/PanoDoorLabelPlugin/Controller.js +115 -187
- package/libs/PanoDoorLabelPlugin/index.js +4 -76
- package/libs/PanoMeasurePlugin/Components/Controller0.js +83 -128
- package/libs/PanoMeasurePlugin/Components/Controller1.js +96 -141
- package/libs/PanoMeasurePlugin/Controller/EditController.js +66 -111
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +51 -121
- package/libs/PanoMeasurePlugin/Controller/index.js +59 -101
- package/libs/PanoMeasurePlugin/Model/area.js +21 -91
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +0 -73
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +27 -72
- package/libs/PanoMeasurePlugin/index.js +25 -67
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +17 -89
- package/libs/PanoSpatialTagPlugin/Plugin.js +106 -163
- package/libs/PanoSpatialTagPlugin/index.js +5 -62
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +67 -141
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +208 -281
- package/libs/PanoTagPlugin/Components/Tag/index.js +180 -251
- package/libs/PanoTagPlugin/Components/TagContainer.js +80 -151
- package/libs/PanoTagPlugin/Components/TagItem.js +67 -138
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +61 -132
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +28 -99
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +30 -101
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +36 -107
- package/libs/PanoTagPlugin/controller/TagRender.js +68 -121
- package/libs/PanoTagPlugin/controller/TagUtil.js +79 -132
- package/libs/PanoTagPlugin/controller/index.js +55 -108
- package/libs/PanoTagPlugin/index.js +31 -84
- package/libs/PanoTagPlugin/utils/requestIdleCallback.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/requestIdleCallback.js +5 -13
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +30 -104
- package/libs/PanoVideoPlugin/Controller.js +64 -136
- package/libs/PanoVideoPlugin/VideoMeshController.js +74 -148
- package/libs/PanoVideoPlugin/index.js +8 -80
- package/libs/PipelinePlugin/Controller.js +128 -199
- package/libs/PipelinePlugin/index.js +5 -76
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +17 -91
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +14 -88
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +56 -130
- package/libs/Sculpt/Meshes/Box.js +5 -6
- package/libs/Sculpt/Meshes/Cylinder.js +2 -3
- package/libs/Sculpt/Meshes/Line.d.ts +1 -0
- package/libs/Sculpt/Meshes/Line.js +50 -41
- package/libs/Sculpt/Meshes/Point.js +9 -10
- package/libs/Sculpt/Meshes/Polygon.d.ts +2 -1
- package/libs/Sculpt/Meshes/Polygon.js +47 -37
- package/libs/Sculpt/Meshes/Polyline.js +18 -16
- package/libs/Sculpt/Meshes/Rectangle.js +3 -4
- package/libs/Sculpt/Objects/Line/Editor.js +2 -3
- package/libs/Sculpt/Objects/Rectangle/index.js +1 -1
- package/libs/Sculpt/utils/removeAllTag.js +4 -4
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -4
- package/libs/base/BasePlugin.js +3 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +59 -128
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -75
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +59 -129
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -75
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +62 -134
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -76
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +81 -151
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -75
- package/libs/floorplan/index.js +0 -1
- package/libs/index.js +62 -62
- package/libs/shared-utils/five/index.js +2 -3
- package/libs/shared-utils/five/lookObject.js +17 -18
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/index.js +0 -1
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var l = Object.defineProperty;
|
|
2
|
-
var d = (
|
|
3
|
-
var i = (
|
|
4
|
-
import * as
|
|
2
|
+
var d = (o, t, e) => t in o ? l(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
|
|
3
|
+
var i = (o, t, e) => (d(o, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
+
import * as r 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 a 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";
|
|
@@ -35,82 +35,12 @@ import "../../shared-utils/Subscribe.js";
|
|
|
35
35
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
36
36
|
import "../../shared-utils/five/transformPosition.js";
|
|
37
37
|
import "../../shared-utils/three/temp.js";
|
|
38
|
-
import "../../Sculpt/utils/Modules/Global.js";
|
|
39
|
-
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
40
|
-
import "../../Object3DHelperPlugin/Controller.js";
|
|
41
|
-
import "../../base/BasePlugin.js";
|
|
42
38
|
import "../../shared-utils/three/THREESphere.js";
|
|
43
39
|
import "animejs";
|
|
44
|
-
import "../../shared-utils/url/absoluteUrl.js";
|
|
45
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
46
|
-
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
47
|
-
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
48
|
-
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
49
|
-
import "../../shared-utils/three/boundingBox.js";
|
|
50
|
-
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
51
|
-
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
52
|
-
import "../../shared-utils/Object3DHelper/Constants/color.js";
|
|
53
|
-
import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
54
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
55
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
56
|
-
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
57
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
58
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
59
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
60
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
61
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
62
40
|
import "../../shared-utils/isNil.js";
|
|
63
|
-
import "../../
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
67
|
-
import "../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
68
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
69
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
70
|
-
import "../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
71
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
72
|
-
import "../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
73
|
-
import "../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
74
|
-
import "../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
75
|
-
import "../../shared-utils/threex/domevents/index.js";
|
|
76
|
-
import "../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
77
|
-
import "../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
78
|
-
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
79
|
-
import "../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
80
|
-
import "../../shared-utils/Object3DHelper/index.js";
|
|
81
|
-
import "../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
82
|
-
import "../../shared-utils/math/rad2Deg.js";
|
|
83
|
-
import "../../shared-utils/math/deg2Rad.js";
|
|
84
|
-
import "../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
85
|
-
import "../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
86
|
-
import "../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
87
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
88
|
-
import "../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
89
|
-
import "../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
90
|
-
import "../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
91
|
-
import "../../shared-utils/five/fiveModelLoad.js";
|
|
92
|
-
import "../../shared-utils/five/FiveDomEvents.js";
|
|
93
|
-
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
94
|
-
import "../../shared-utils/three/THREERaycaster.js";
|
|
95
|
-
import "../../shared-utils/three/PointSelector/index.js";
|
|
96
|
-
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
97
|
-
import "../../shared-utils/three/Magnifier.js";
|
|
98
|
-
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
99
|
-
import "../../shared-utils/three/Assets/index.js";
|
|
100
|
-
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
101
|
-
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
102
|
-
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
103
|
-
import "../../Sculpt/Meshes/Line.js";
|
|
104
|
-
import "../../Sculpt/typings/style.js";
|
|
105
|
-
import "../../Sculpt/utils/removeAllTag.js";
|
|
106
|
-
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
107
|
-
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
108
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
109
|
-
import "../../shared-utils/isTouchDevice.js";
|
|
110
|
-
import "../../shared-utils/five/getPosition.js";
|
|
111
|
-
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
112
|
-
class Ii {
|
|
113
|
-
constructor(t, o) {
|
|
41
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
42
|
+
class ot {
|
|
43
|
+
constructor(t, e) {
|
|
114
44
|
i(this, "id", f());
|
|
115
45
|
i(this, "selected", !1);
|
|
116
46
|
i(this, "text");
|
|
@@ -138,14 +68,14 @@ class Ii {
|
|
|
138
68
|
i(this, "updateDom", () => {
|
|
139
69
|
this.five && (this.polyline.lines.forEach((t) => t.distanceItem.update(this.five)), this.areaItem.updateDomPosition(this.five));
|
|
140
70
|
});
|
|
141
|
-
var
|
|
142
|
-
t && (this.points = t), this.model =
|
|
71
|
+
var n;
|
|
72
|
+
t && (this.points = t), this.model = e.model, this.polygon = new v(t), this.polyline = new y({ model: e.model }), this.areaItem = new C({
|
|
143
73
|
area: this,
|
|
144
|
-
clickCallback: (
|
|
145
|
-
const
|
|
146
|
-
this.hook.emit("selected", this, { left:
|
|
74
|
+
clickCallback: (p, s) => {
|
|
75
|
+
const h = p.clientX + "px", m = p.clientY + "px";
|
|
76
|
+
this.hook.emit("selected", this, { left: h, top: m });
|
|
147
77
|
}
|
|
148
|
-
}), this.domContainer =
|
|
78
|
+
}), this.domContainer = e.domContainer || null, this.meshContainer = e.meshContainer || null, this.five = e.five || null, this.areaItem.appendTo(this.domContainer), (n = this.five) == null || n.on("cameraUpdate", this.updateDom);
|
|
149
79
|
}
|
|
150
80
|
/**
|
|
151
81
|
* @description: 多边形的端点是否闭合
|
|
@@ -155,14 +85,14 @@ class Ii {
|
|
|
155
85
|
return this.points.length >= 4 && ((t = this.points.at(0)) == null ? void 0 : t.equals(this.points.at(-1)));
|
|
156
86
|
}
|
|
157
87
|
addPoints(t) {
|
|
158
|
-
var
|
|
88
|
+
var p;
|
|
159
89
|
this.points = this.points.concat(t);
|
|
160
|
-
const
|
|
161
|
-
if (
|
|
162
|
-
const
|
|
163
|
-
this.polyline.addLine(
|
|
90
|
+
const e = this.points.at(-2), n = this.points.at(-1);
|
|
91
|
+
if (e && n) {
|
|
92
|
+
const s = new u(new a(e), new a(n), this.polyline.model);
|
|
93
|
+
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));
|
|
164
94
|
}
|
|
165
|
-
(
|
|
95
|
+
(p = this.meshContainer) != null && p.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 r.Plane().setFromCoplanarPoints(this.points[0], this.points[1], this.points[2]) : this.points.length < 3 && (this.planeHelper = null);
|
|
166
96
|
}
|
|
167
97
|
/**
|
|
168
98
|
* @description: 移除最后一个添加的点
|
|
@@ -188,7 +118,7 @@ class Ii {
|
|
|
188
118
|
* @description: 获取一个点投影在当前平面上的点
|
|
189
119
|
*/
|
|
190
120
|
projectPoint(t) {
|
|
191
|
-
return t && (this.planeHelper ? this.planeHelper.projectPoint(t, new
|
|
121
|
+
return t && (this.planeHelper ? this.planeHelper.projectPoint(t, new r.Vector3()) : t);
|
|
192
122
|
}
|
|
193
123
|
remove() {
|
|
194
124
|
this.polygon.removeFromParent(), this.areaItem.remove(), this.polyline.lines.forEach((t) => t.remove());
|
|
@@ -208,5 +138,5 @@ class Ii {
|
|
|
208
138
|
}
|
|
209
139
|
}
|
|
210
140
|
export {
|
|
211
|
-
|
|
141
|
+
ot as default
|
|
212
142
|
};
|
|
@@ -3,7 +3,6 @@ import { Magnifier as o } from "../../shared-utils/three/Magnifier.js";
|
|
|
3
3
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
4
4
|
import "@realsee/five/line";
|
|
5
5
|
import "../../shared-utils/tag.js";
|
|
6
|
-
import "../../Sculpt/utils/Modules/Global.js";
|
|
7
6
|
import "../../shared-utils/three/THREESphere.js";
|
|
8
7
|
import "animejs";
|
|
9
8
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -17,78 +16,6 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
17
16
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
18
17
|
import "../../shared-utils/five/transformPosition.js";
|
|
19
18
|
import "../../shared-utils/three/temp.js";
|
|
20
|
-
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
21
|
-
import "../../Object3DHelperPlugin/Controller.js";
|
|
22
|
-
import "../../base/BasePlugin.js";
|
|
23
|
-
import "../../shared-utils/url/absoluteUrl.js";
|
|
24
|
-
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
25
|
-
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
26
|
-
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
27
|
-
import "../../shared-utils/three/IObject3D.js";
|
|
28
|
-
import "../../shared-utils/three/boundingBox.js";
|
|
29
|
-
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
30
|
-
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
31
|
-
import "../../shared-utils/Object3DHelper/Constants/color.js";
|
|
32
|
-
import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
33
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
34
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
35
|
-
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
36
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
37
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
38
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
39
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
40
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
41
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
42
|
-
import "../../shared-utils/isNil.js";
|
|
43
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
44
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
45
|
-
import "../../shared-utils/util.js";
|
|
46
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
47
|
-
import "../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
48
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
49
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
50
|
-
import "../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
51
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
52
|
-
import "../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
53
|
-
import "../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
54
|
-
import "../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
55
|
-
import "../../shared-utils/threex/domevents/index.js";
|
|
56
|
-
import "../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
57
|
-
import "../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
58
|
-
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
59
|
-
import "../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
60
|
-
import "../../shared-utils/Object3DHelper/index.js";
|
|
61
|
-
import "../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
62
|
-
import "../../shared-utils/math/rad2Deg.js";
|
|
63
|
-
import "../../shared-utils/math/deg2Rad.js";
|
|
64
|
-
import "../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
65
|
-
import "../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
66
|
-
import "../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
67
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
68
|
-
import "../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
69
|
-
import "../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
70
|
-
import "../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
71
|
-
import "../../shared-utils/five/fiveModelLoad.js";
|
|
72
|
-
import "../../shared-utils/five/FiveDomEvents.js";
|
|
73
|
-
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
74
|
-
import "../../shared-utils/three/THREERaycaster.js";
|
|
75
|
-
import "../../shared-utils/three/PointSelector/index.js";
|
|
76
|
-
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
77
|
-
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
78
|
-
import "../../shared-utils/three/Assets/index.js";
|
|
79
|
-
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
80
|
-
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
81
|
-
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
82
|
-
import "../../Sculpt/Meshes/Line.js";
|
|
83
|
-
import "../../Sculpt/typings/style.js";
|
|
84
|
-
import "../../shared-utils/five/FiveLine.js";
|
|
85
|
-
import "../../Sculpt/utils/removeAllTag.js";
|
|
86
|
-
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
87
|
-
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
88
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
89
|
-
import "../../shared-utils/isTouchDevice.js";
|
|
90
|
-
import "../../shared-utils/five/getPosition.js";
|
|
91
|
-
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
92
19
|
export {
|
|
93
20
|
o as default
|
|
94
21
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var a = Object.defineProperty;
|
|
2
|
-
var h = (
|
|
3
|
-
var i = (
|
|
2
|
+
var h = (r, o, t) => o in r ? a(r, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[o] = t;
|
|
3
|
+
var i = (r, o, t) => (h(r, typeof o != "symbol" ? o + "" : o, t), t);
|
|
4
4
|
import d from "./HTML.js";
|
|
5
5
|
import u from "./mobileHTML.js";
|
|
6
6
|
import { controllerBackgroundStyle as y, operatingSpaceStyle as f, uiWrapperStyle as v, textStyle as C, exitItemStyle as E, exitIconStyle as x } from "./style.js";
|
|
@@ -51,81 +51,36 @@ import "../../../shared-utils/Subscribe.js";
|
|
|
51
51
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
52
52
|
import "../../../shared-utils/five/transformPosition.js";
|
|
53
53
|
import "../../../shared-utils/three/temp.js";
|
|
54
|
-
import "../../../Sculpt/utils/Modules/Global.js";
|
|
55
|
-
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
56
|
-
import "../../../Object3DHelperPlugin/Controller.js";
|
|
57
|
-
import "../../../base/BasePlugin.js";
|
|
58
54
|
import "../../../shared-utils/three/THREESphere.js";
|
|
59
55
|
import "animejs";
|
|
60
|
-
import "../../../shared-utils/url/absoluteUrl.js";
|
|
61
|
-
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
62
|
-
import "../../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
63
|
-
import "../../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
64
|
-
import "../../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
65
|
-
import "../../../shared-utils/three/boundingBox.js";
|
|
66
|
-
import "../../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
67
|
-
import "../../../shared-utils/Object3DHelper/utils/direction.js";
|
|
68
|
-
import "../../../shared-utils/Object3DHelper/Constants/color.js";
|
|
69
|
-
import "../../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
70
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
71
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
72
|
-
import "../../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
73
|
-
import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
74
|
-
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
75
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
76
|
-
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
77
|
-
import "../../../shared-utils/three/getObjectVisible.js";
|
|
78
56
|
import "../../../shared-utils/isNil.js";
|
|
79
|
-
import "../../../
|
|
80
|
-
import "
|
|
81
|
-
import "../../../shared-utils/util.js";
|
|
82
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
83
|
-
import "../../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
84
|
-
import "../../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
85
|
-
import "../../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
86
|
-
import "../../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
87
|
-
import "../../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
88
|
-
import "../../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
89
|
-
import "../../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
90
|
-
import "../../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
91
|
-
import "../../../shared-utils/threex/domevents/index.js";
|
|
92
|
-
import "../../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
93
|
-
import "../../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
94
|
-
import "../../../Sculpt/utils/three/rayOnLine.js";
|
|
95
|
-
import "../../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
96
|
-
import "../../../shared-utils/Object3DHelper/index.js";
|
|
97
|
-
import "../../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
98
|
-
import "../../../shared-utils/math/rad2Deg.js";
|
|
99
|
-
import "../../../shared-utils/math/deg2Rad.js";
|
|
100
|
-
import "../../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
101
|
-
import "../../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
102
|
-
import "../../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
103
|
-
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
104
|
-
import "../../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
105
|
-
import "../../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
106
|
-
import "../../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
107
|
-
import "../../../shared-utils/five/fiveModelLoad.js";
|
|
108
|
-
import "../../../shared-utils/five/FiveDomEvents.js";
|
|
109
|
-
import "../../../shared-utils/five/calculateThreeMouse.js";
|
|
110
|
-
import "../../../shared-utils/three/THREERaycaster.js";
|
|
57
|
+
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
58
|
+
import "../../utils/isIntersecting.js";
|
|
111
59
|
import "../../../shared-utils/three/PointSelector/index.js";
|
|
112
60
|
import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
113
61
|
import "../../../shared-utils/three/Magnifier.js";
|
|
114
62
|
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
115
63
|
import "../../../shared-utils/three/Assets/index.js";
|
|
64
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
65
|
+
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
66
|
+
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
67
|
+
import "../../../shared-utils/three/getObjectVisible.js";
|
|
116
68
|
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
117
69
|
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
70
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
71
|
+
import "../../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
72
|
+
import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
118
73
|
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
119
74
|
import "../../../Sculpt/Meshes/Line.js";
|
|
120
75
|
import "../../../Sculpt/typings/style.js";
|
|
121
76
|
import "../../../Sculpt/utils/removeAllTag.js";
|
|
122
77
|
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
123
78
|
import "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
79
|
+
import "../../../shared-utils/util.js";
|
|
124
80
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
125
81
|
import "../../../shared-utils/isTouchDevice.js";
|
|
126
82
|
import "../../../shared-utils/five/getPosition.js";
|
|
127
83
|
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
128
|
-
import "../../utils/isIntersecting.js";
|
|
129
84
|
import "../DeleteDom/index.js";
|
|
130
85
|
import "../DeleteDom/_Assets/delete.svg.js";
|
|
131
86
|
import "../DeleteDom/_Assets/delete_bg.png.js";
|
|
@@ -136,7 +91,7 @@ import "../../Components/Common/Switcher1.js";
|
|
|
136
91
|
import "../../Components/Common/CircleButton.js";
|
|
137
92
|
import "../../../vendor/svelte/transition/index.js";
|
|
138
93
|
import "../../../vendor/svelte/easing/index.js";
|
|
139
|
-
class
|
|
94
|
+
class lo {
|
|
140
95
|
constructor(o, t) {
|
|
141
96
|
i(this, "revoke");
|
|
142
97
|
i(this, "container");
|
|
@@ -151,30 +106,30 @@ class oi {
|
|
|
151
106
|
if (!t || !o)
|
|
152
107
|
throw new Error("cannot find dom");
|
|
153
108
|
this.mode === "pc" && (Object.assign(t.style, E), Object.assign(o == null ? void 0 : o.style, x));
|
|
154
|
-
const
|
|
109
|
+
const e = () => {
|
|
155
110
|
t.style.opacity = "1";
|
|
156
|
-
},
|
|
111
|
+
}, s = () => {
|
|
157
112
|
t.style.opacity = "0.85";
|
|
158
|
-
},
|
|
113
|
+
}, n = () => {
|
|
159
114
|
this.measureController.disable();
|
|
160
115
|
};
|
|
161
|
-
return t.addEventListener("click",
|
|
162
|
-
t.removeEventListener("click",
|
|
116
|
+
return t.addEventListener("click", n), t.addEventListener("mouseenter", e), t.addEventListener("mouseleave", s), () => {
|
|
117
|
+
t.removeEventListener("click", n), t.removeEventListener("mouseenter", e), t.removeEventListener("mouseleave", s);
|
|
163
118
|
};
|
|
164
119
|
});
|
|
165
|
-
var
|
|
166
|
-
this._params = t, this.measureController = o, this.mode = (
|
|
167
|
-
const
|
|
168
|
-
if (
|
|
120
|
+
var s, n;
|
|
121
|
+
this._params = t, this.measureController = o, this.mode = (s = t.mode) != null ? s : "pc", this.container = document.createElement("div"), this.container.innerHTML = this.mode === "mobile" ? u : d, this.container.classList.add("fpm__ui-controller", this.mode), this.container.style.background = "rgba(0, 0, 0, 0.15)";
|
|
122
|
+
const e = (n = t.useNewUI) != null ? n : !1;
|
|
123
|
+
if (e && (t.pointSelectorMode === "cursor" ? this.svelteDom = new _({
|
|
169
124
|
target: t.container,
|
|
170
125
|
props: { measureController: this.measureController, i18n: t.i18n, showExit: t.showExit }
|
|
171
126
|
}) : t.pointSelectorMode === "fixed" && (this.svelteDom = new b({
|
|
172
127
|
target: t.container,
|
|
173
128
|
props: { measureController: this.measureController, i18n: t.i18n, showExit: t.showExit }
|
|
174
|
-
}))), !
|
|
129
|
+
}))), !e) {
|
|
175
130
|
t.container.appendChild(this.container);
|
|
176
|
-
const l = this.container.querySelectorAll(".fpm__text"),
|
|
177
|
-
Object.assign(
|
|
131
|
+
const l = this.container.querySelectorAll(".fpm__text"), m = this.container.querySelector(".fpm_ui-bg"), p = this.container.querySelector(".fpm_operating-space");
|
|
132
|
+
Object.assign(m == null ? void 0 : m.style, y), Object.assign(p == null ? void 0 : p.style, f), Object.assign(this.container.style, v), l.forEach((c) => Object.assign(c.style, C));
|
|
178
133
|
}
|
|
179
134
|
}
|
|
180
135
|
dispose() {
|
|
@@ -186,9 +141,9 @@ class oi {
|
|
|
186
141
|
}
|
|
187
142
|
hide() {
|
|
188
143
|
var o, t;
|
|
189
|
-
return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((o = this.revoke) == null || o.dispose()), (t = this.mainController) == null || t.dispose(), this.disposers.forEach((
|
|
144
|
+
return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((o = this.revoke) == null || o.dispose()), (t = this.mainController) == null || t.dispose(), this.disposers.forEach((e) => e()), this.disposers = [], this;
|
|
190
145
|
}
|
|
191
146
|
}
|
|
192
147
|
export {
|
|
193
|
-
|
|
148
|
+
lo as UIController
|
|
194
149
|
};
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import t from "./Controller/index.js";
|
|
2
2
|
import "three";
|
|
3
|
-
import { Magnifier as
|
|
3
|
+
import { Magnifier as ar } from "../shared-utils/three/Magnifier.js";
|
|
4
4
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
5
5
|
import "@realsee/five/line";
|
|
6
6
|
import "../shared-utils/tag.js";
|
|
7
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
8
7
|
import "../shared-utils/three/THREESphere.js";
|
|
9
8
|
import "animejs";
|
|
10
9
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
11
|
-
import { Model as
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
import { Polyline as
|
|
10
|
+
import { Model as lr } from "./Model/index.js";
|
|
11
|
+
import { default as sr } from "./Model/point.js";
|
|
12
|
+
import { default as Mr } from "./Model/line.js";
|
|
13
|
+
import { Polyline as xr } from "./Model/polyline.js";
|
|
15
14
|
import "./Controller/EditController.js";
|
|
16
15
|
import "../shared-utils/throttle.js";
|
|
17
16
|
import "./Controller/BaseController.js";
|
|
@@ -45,75 +44,31 @@ import "../shared-utils/Subscribe.js";
|
|
|
45
44
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
46
45
|
import "../shared-utils/five/transformPosition.js";
|
|
47
46
|
import "../shared-utils/three/temp.js";
|
|
48
|
-
import "
|
|
49
|
-
import "../Object3DHelperPlugin/Controller.js";
|
|
50
|
-
import "../base/BasePlugin.js";
|
|
51
|
-
import "../shared-utils/url/absoluteUrl.js";
|
|
52
|
-
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
53
|
-
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
54
|
-
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
55
|
-
import "../shared-utils/three/boundingBox.js";
|
|
56
|
-
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
57
|
-
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
58
|
-
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
59
|
-
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
60
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
61
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
62
|
-
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
63
|
-
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
64
|
-
import "../CSS3DRenderPlugin/utils/even.js";
|
|
65
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
66
|
-
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
67
|
-
import "../shared-utils/three/getObjectVisible.js";
|
|
68
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
69
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
70
|
-
import "../shared-utils/util.js";
|
|
71
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
72
|
-
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
73
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
74
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
75
|
-
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
76
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
77
|
-
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
78
|
-
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
79
|
-
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
80
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
81
|
-
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
82
|
-
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
83
|
-
import "../Sculpt/utils/three/rayOnLine.js";
|
|
84
|
-
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
85
|
-
import "../shared-utils/Object3DHelper/index.js";
|
|
86
|
-
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
87
|
-
import "../shared-utils/math/rad2Deg.js";
|
|
88
|
-
import "../shared-utils/math/deg2Rad.js";
|
|
89
|
-
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
90
|
-
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
91
|
-
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
92
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
93
|
-
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
94
|
-
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
95
|
-
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
96
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
97
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
98
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
99
|
-
import "../shared-utils/three/THREERaycaster.js";
|
|
47
|
+
import "./utils/isIntersecting.js";
|
|
100
48
|
import "../shared-utils/three/PointSelector/index.js";
|
|
101
49
|
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
102
50
|
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
103
51
|
import "../shared-utils/three/Assets/index.js";
|
|
52
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
53
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
54
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
55
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
104
56
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
105
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";
|
|
106
61
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
107
62
|
import "../Sculpt/Meshes/Line.js";
|
|
108
63
|
import "../Sculpt/typings/style.js";
|
|
109
64
|
import "../Sculpt/utils/removeAllTag.js";
|
|
110
65
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
111
66
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
67
|
+
import "../shared-utils/util.js";
|
|
112
68
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
113
69
|
import "../shared-utils/isTouchDevice.js";
|
|
114
70
|
import "../shared-utils/five/getPosition.js";
|
|
115
71
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
116
|
-
import "./utils/isIntersecting.js";
|
|
117
72
|
import "./Modules/DeleteDom/index.js";
|
|
118
73
|
import "./Modules/DeleteDom/_Assets/delete.svg.js";
|
|
119
74
|
import "./Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
@@ -129,6 +84,7 @@ import "./Modules/rangePiece/index.js";
|
|
|
129
84
|
import "../shared-utils/animationFrame/index.js";
|
|
130
85
|
import "../shared-utils/noop.js";
|
|
131
86
|
import "./utils/mouseGroup.js";
|
|
87
|
+
import "../shared-utils/five/calculateThreeMouse.js";
|
|
132
88
|
import "../shared-utils/filter.js";
|
|
133
89
|
import "../shared-utils/tap.js";
|
|
134
90
|
import "./Modules/UIController/index.js";
|
|
@@ -153,15 +109,17 @@ import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
|
153
109
|
import "./Components/Tip.js";
|
|
154
110
|
import "./Controller/ShortcutKeyController.js";
|
|
155
111
|
import "../shared-utils/safeObj.js";
|
|
156
|
-
|
|
112
|
+
import "../base/BasePlugin.js";
|
|
113
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
114
|
+
const pr = function(o, r) {
|
|
157
115
|
return new t(o, r);
|
|
158
116
|
};
|
|
159
117
|
export {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
118
|
+
ar as Magnifier,
|
|
119
|
+
pr as PanoMeasurePlugin,
|
|
120
|
+
Mr as PanoMeasurePluginLine,
|
|
121
|
+
lr as PanoMeasurePluginModel,
|
|
122
|
+
sr as PanoMeasurePluginPoint,
|
|
123
|
+
xr as PanoMeasurePluginPolyline,
|
|
124
|
+
pr as default
|
|
167
125
|
};
|