@realsee/dnalogel 3.47.10 → 3.47.12
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 +6 -0
- package/dist/Sculpt/Meshes/Line.d.ts +3 -1
- package/dist/Sculpt/Meshes/Polygon.d.ts +16 -7
- package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -0
- package/dist/Sculpt/Meshes/Polyline.d.ts +1 -0
- package/dist/Sculpt/Meshes/RectangleWithEdge.d.ts +1 -0
- package/dist/index.cjs.js +57 -57
- package/dist/index.js +3263 -3227
- package/dist/index.umd.js +50 -50
- package/libs/AreaMakerPlugin/Controller.js +14 -13
- package/libs/AreaMakerPlugin/index.js +15 -14
- package/libs/AreaMakerPlugin/utils/Item.js +15 -14
- package/libs/CSS3DRenderPlugin/Controller.js +12 -11
- package/libs/CSS3DRenderPlugin/index.js +18 -17
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +12 -11
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +26 -25
- package/libs/CruisePlugin/BaseController.js +17 -16
- package/libs/CruisePlugin/Move.js +20 -19
- package/libs/CruisePlugin/Work.js +15 -14
- package/libs/CruisePlugin/index.js +19 -18
- package/libs/CurrentPanoImagePlugin/Controller.js +14 -13
- package/libs/CurrentPanoImagePlugin/index.js +16 -15
- package/libs/GuideLinePlugin/Controller.js +17 -16
- package/libs/GuideLinePlugin/GuideLineItem.js +15 -14
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +5 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +15 -14
- package/libs/GuideLinePlugin/index.js +19 -18
- package/libs/ModelMakerPlugin/Controller.js +13 -12
- package/libs/ModelMakerPlugin/index.js +15 -14
- package/libs/ModelTVVideoPlugin/Plugin.js +37 -36
- package/libs/ModelTVVideoPlugin/index.js +13 -12
- package/libs/Object3DHelperPlugin/Controller.js +14 -13
- package/libs/Object3DHelperPlugin/index.js +18 -17
- package/libs/PanoCompassPlugin/Controller.js +15 -14
- package/libs/PanoCompassPlugin/index.js +16 -15
- package/libs/PanoDoorLabelPlugin/BaseController.js +15 -14
- package/libs/PanoDoorLabelPlugin/Controller.js +15 -14
- package/libs/PanoDoorLabelPlugin/index.js +16 -15
- package/libs/PanoMeasurePlugin/Components/Controller0.js +12 -11
- package/libs/PanoMeasurePlugin/Components/Controller1.js +12 -11
- package/libs/PanoMeasurePlugin/Controller/EditController.js +12 -11
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +13 -12
- package/libs/PanoMeasurePlugin/Controller/index.js +10 -9
- package/libs/PanoMeasurePlugin/Model/area.js +12 -11
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +12 -11
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +12 -11
- package/libs/PanoMeasurePlugin/index.js +21 -20
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +12 -11
- package/libs/PanoSpatialTagPlugin/Plugin.js +14 -13
- package/libs/PanoSpatialTagPlugin/index.js +11 -10
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +14 -13
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +13 -12
- package/libs/PanoTagPlugin/Components/Tag/index.js +13 -12
- package/libs/PanoTagPlugin/Components/TagContainer.js +13 -12
- package/libs/PanoTagPlugin/Components/TagItem.js +13 -12
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +34 -33
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +13 -12
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +13 -12
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +15 -14
- package/libs/PanoTagPlugin/controller/TagRender.js +12 -11
- package/libs/PanoTagPlugin/controller/TagUtil.js +13 -12
- package/libs/PanoTagPlugin/controller/index.js +16 -15
- package/libs/PanoTagPlugin/index.js +21 -20
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +14 -13
- package/libs/PanoVideoPlugin/Controller.js +15 -14
- package/libs/PanoVideoPlugin/VideoMeshController.js +30 -29
- package/libs/PanoVideoPlugin/index.js +18 -17
- package/libs/PipelinePlugin/Controller.js +14 -13
- package/libs/PipelinePlugin/index.js +16 -15
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +21 -20
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +15 -14
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +13 -12
- package/libs/Sculpt/Meshes/Box.js +10 -8
- package/libs/Sculpt/Meshes/Cylinder.js +17 -15
- package/libs/Sculpt/Meshes/Line.d.ts +3 -1
- package/libs/Sculpt/Meshes/Line.js +89 -78
- package/libs/Sculpt/Meshes/Point.js +14 -12
- package/libs/Sculpt/Meshes/Polygon.d.ts +16 -7
- package/libs/Sculpt/Meshes/Polygon.js +71 -33
- package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -0
- package/libs/Sculpt/Meshes/Polyline.d.ts +1 -0
- package/libs/Sculpt/Meshes/Polyline.js +69 -74
- package/libs/Sculpt/Meshes/Rectangle.js +7 -5
- package/libs/Sculpt/Meshes/RectangleWithEdge.d.ts +1 -0
- package/libs/Sculpt/Objects/Base/index.js +5 -5
- package/libs/Sculpt/Objects/Line/Editor.js +17 -15
- package/libs/Sculpt/Objects/Polygon/index.js +22 -22
- package/libs/Sculpt/Objects/Rectangle/Editor.js +2 -2
- package/libs/Sculpt/Objects/Rectangle/index.js +79 -69
- package/libs/Sculpt/index.js +15 -14
- package/libs/Sculpt/utils/three/ColoredMesh.js +6 -4
- package/libs/base/BasePlugin.js +16 -14
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +13 -12
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +16 -15
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +13 -12
- package/libs/floorplan/ModelFloorplanPlugin/index.js +16 -15
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +15 -14
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -15
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +13 -12
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +16 -15
- package/libs/floorplan/index.js +3 -1
- package/libs/index.js +12 -12
- package/libs/shared-utils/five/index.js +5 -3
- package/libs/shared-utils/five/lookObject.js +20 -18
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/applyObjectMatrixWorld.js +4 -6
- package/libs/shared-utils/three/index.js +3 -1
- package/package.json +1 -1
|
@@ -40,7 +40,9 @@ import { getPxmm as D, getAttachedY as O } from "../../shared-utils/getPxmm.js";
|
|
|
40
40
|
import { changeModelCanvasOpacity as b } from "../../shared-utils/changeModelCanvasOpacity.js";
|
|
41
41
|
import "hammerjs";
|
|
42
42
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
43
|
-
import "
|
|
43
|
+
import "@realsee/five/line";
|
|
44
|
+
import "../../shared-utils/tag.js";
|
|
45
|
+
import "../../Sculpt/utils/Modules/Global.js";
|
|
44
46
|
import "../../shared-utils/three/THREESphere.js";
|
|
45
47
|
import "animejs";
|
|
46
48
|
import { isNil as k } from "../../shared-utils/isNil.js";
|
|
@@ -84,21 +86,15 @@ import "../../shared-utils/five/getFiveModel.js";
|
|
|
84
86
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
85
87
|
import "../../shared-utils/nearlyEqual.js";
|
|
86
88
|
import "../../shared-utils/to.js";
|
|
87
|
-
import "../../Sculpt/typings/style.js";
|
|
88
|
-
import "../../shared-utils/five/FiveLine.js";
|
|
89
|
-
import "@realsee/five/line";
|
|
90
89
|
import "../../shared-utils/positionToVector3.js";
|
|
91
|
-
import "../../shared-utils/three/IObject3D.js";
|
|
92
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
93
|
-
import "../../shared-utils/tag.js";
|
|
94
90
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
95
91
|
import "../../shared-utils/three/temp.js";
|
|
96
|
-
import "../../Sculpt/utils/Modules/Global.js";
|
|
97
92
|
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
98
93
|
import "../../Object3DHelperPlugin/Controller.js";
|
|
99
94
|
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
100
95
|
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
101
96
|
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
97
|
+
import "../../shared-utils/three/IObject3D.js";
|
|
102
98
|
import "../../shared-utils/three/boundingBox.js";
|
|
103
99
|
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
104
100
|
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
@@ -111,6 +107,7 @@ import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
|
111
107
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
112
108
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
113
109
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
110
|
+
import "../../shared-utils/three/centerPoint.js";
|
|
114
111
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
115
112
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
116
113
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -151,13 +148,17 @@ import "../../shared-utils/three/Assets/index.js";
|
|
|
151
148
|
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
152
149
|
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
153
150
|
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
151
|
+
import "../../Sculpt/Meshes/Line.js";
|
|
152
|
+
import "../../Sculpt/typings/style.js";
|
|
153
|
+
import "../../shared-utils/five/FiveLine.js";
|
|
154
|
+
import "../../Sculpt/utils/removeAllTag.js";
|
|
155
|
+
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
156
|
+
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
154
157
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
155
158
|
import "../../shared-utils/isTouchDevice.js";
|
|
156
159
|
import "../../shared-utils/five/getPosition.js";
|
|
157
160
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
158
|
-
|
|
159
|
-
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
160
|
-
class se extends M {
|
|
161
|
+
class ne extends M {
|
|
161
162
|
constructor(t, i) {
|
|
162
163
|
var h, m;
|
|
163
164
|
super(t);
|
|
@@ -430,5 +431,5 @@ class se extends M {
|
|
|
430
431
|
}
|
|
431
432
|
}
|
|
432
433
|
export {
|
|
433
|
-
|
|
434
|
+
ne as Controller
|
|
434
435
|
};
|
|
@@ -40,18 +40,9 @@ import "../../base/BasePlugin.js";
|
|
|
40
40
|
import "../../shared-utils/Subscribe.js";
|
|
41
41
|
import "hammerjs";
|
|
42
42
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
43
|
-
import "../../Sculpt/Meshes/Line.js";
|
|
44
|
-
import "../../Sculpt/typings/style.js";
|
|
45
|
-
import "../../shared-utils/five/FiveLine.js";
|
|
46
43
|
import "@realsee/five/line";
|
|
47
|
-
import "../../shared-utils/positionToVector3.js";
|
|
48
|
-
import "../../shared-utils/three/IObject3D.js";
|
|
49
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
50
|
-
import "../../shared-utils/three/THREESphere.js";
|
|
51
|
-
import "animejs";
|
|
52
|
-
import "../../shared-utils/isNil.js";
|
|
53
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
54
44
|
import "../../shared-utils/tag.js";
|
|
45
|
+
import "../../shared-utils/positionToVector3.js";
|
|
55
46
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
56
47
|
import "../../shared-utils/five/getFiveModel.js";
|
|
57
48
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
@@ -62,9 +53,11 @@ import "../../shared-utils/three/temp.js";
|
|
|
62
53
|
import "../../Sculpt/utils/Modules/Global.js";
|
|
63
54
|
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
64
55
|
import "../../Object3DHelperPlugin/Controller.js";
|
|
56
|
+
import "../../shared-utils/three/THREESphere.js";
|
|
65
57
|
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
66
58
|
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
67
59
|
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
60
|
+
import "../../shared-utils/three/IObject3D.js";
|
|
68
61
|
import "../../shared-utils/three/boundingBox.js";
|
|
69
62
|
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
70
63
|
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
@@ -77,7 +70,11 @@ import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
|
77
70
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
78
71
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
79
72
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
73
|
+
import "../../shared-utils/three/centerPoint.js";
|
|
80
74
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
75
|
+
import "animejs";
|
|
76
|
+
import "../../shared-utils/isNil.js";
|
|
77
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
81
78
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
82
79
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
83
80
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -118,19 +115,23 @@ import "../../shared-utils/three/Assets/index.js";
|
|
|
118
115
|
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
119
116
|
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
120
117
|
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
118
|
+
import "../../Sculpt/Meshes/Line.js";
|
|
119
|
+
import "../../Sculpt/typings/style.js";
|
|
120
|
+
import "../../shared-utils/five/FiveLine.js";
|
|
121
|
+
import "../../Sculpt/utils/removeAllTag.js";
|
|
122
|
+
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
123
|
+
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
121
124
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
122
125
|
import "../../shared-utils/isTouchDevice.js";
|
|
123
126
|
import "../../shared-utils/five/getPosition.js";
|
|
124
127
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
125
|
-
import "../../Sculpt/utils/removeAllTag.js";
|
|
126
|
-
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
127
128
|
import "../../shared-utils/five/changeMode.js";
|
|
128
129
|
import "../../shared-utils/nearlyEqual.js";
|
|
129
130
|
import "../../shared-utils/to.js";
|
|
130
131
|
import "../../shared-utils/getPxmm.js";
|
|
131
132
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
132
|
-
const
|
|
133
|
+
const yr = (o, r) => new t(o, r);
|
|
133
134
|
export {
|
|
134
|
-
|
|
135
|
-
|
|
135
|
+
yr as TopviewFloorplanPlugin,
|
|
136
|
+
yr as default
|
|
136
137
|
};
|
package/libs/floorplan/index.js
CHANGED
|
@@ -2,7 +2,9 @@ import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
|
2
2
|
import "three";
|
|
3
3
|
import "hammerjs";
|
|
4
4
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
5
|
-
import "
|
|
5
|
+
import "@realsee/five/line";
|
|
6
|
+
import "../shared-utils/tag.js";
|
|
7
|
+
import "../Sculpt/utils/Modules/Global.js";
|
|
6
8
|
import "../shared-utils/three/THREESphere.js";
|
|
7
9
|
import "animejs";
|
|
8
10
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
package/libs/index.js
CHANGED
|
@@ -70,17 +70,9 @@ import "./CSS3DRenderPlugin/Controller.js";
|
|
|
70
70
|
import "./CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
71
71
|
import "hammerjs";
|
|
72
72
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
73
|
-
import "./Sculpt/Meshes/Line.js";
|
|
74
|
-
import "./Sculpt/typings/style.js";
|
|
75
|
-
import "./shared-utils/five/FiveLine.js";
|
|
76
73
|
import "@realsee/five/line";
|
|
77
|
-
import "./shared-utils/positionToVector3.js";
|
|
78
|
-
import "./shared-utils/three/IObject3D.js";
|
|
79
|
-
import "./shared-utils/three/centerPoint.js";
|
|
80
|
-
import "./shared-utils/three/THREESphere.js";
|
|
81
|
-
import "animejs";
|
|
82
|
-
import "./shared-utils/isNil.js";
|
|
83
74
|
import "./shared-utils/tag.js";
|
|
75
|
+
import "./shared-utils/positionToVector3.js";
|
|
84
76
|
import "./shared-utils/five/vector3ToScreen.js";
|
|
85
77
|
import "./shared-utils/five/getFiveModel.js";
|
|
86
78
|
import "./shared-utils/Utils/FiveUtil.js";
|
|
@@ -102,11 +94,16 @@ import "./shared-utils/three/Assets/index.js";
|
|
|
102
94
|
import "./CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
103
95
|
import "./CSS3DRenderPlugin/utils/even.js";
|
|
104
96
|
import "./CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
97
|
+
import "./shared-utils/three/centerPoint.js";
|
|
98
|
+
import "./shared-utils/three/THREESphere.js";
|
|
99
|
+
import "animejs";
|
|
100
|
+
import "./shared-utils/isNil.js";
|
|
105
101
|
import "./base/BasePlugin.js";
|
|
106
102
|
import "./shared-utils/url/absoluteUrl.js";
|
|
107
103
|
import "./shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
108
104
|
import "./shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
109
105
|
import "./shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
106
|
+
import "./shared-utils/three/IObject3D.js";
|
|
110
107
|
import "./shared-utils/three/boundingBox.js";
|
|
111
108
|
import "./shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
112
109
|
import "./shared-utils/Object3DHelper/utils/direction.js";
|
|
@@ -146,12 +143,16 @@ import "./shared-utils/five/fiveModelLoad.js";
|
|
|
146
143
|
import "./shared-utils/three/PointSelector/utils/html.js";
|
|
147
144
|
import "./shared-utils/five/initialCSS3DRender.js";
|
|
148
145
|
import "./shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
146
|
+
import "./Sculpt/Meshes/Line.js";
|
|
147
|
+
import "./Sculpt/typings/style.js";
|
|
148
|
+
import "./shared-utils/five/FiveLine.js";
|
|
149
|
+
import "./Sculpt/utils/removeAllTag.js";
|
|
150
|
+
import "./Sculpt/utils/Meshes/getLengthHTML.js";
|
|
151
|
+
import "./shared-utils/three/applyObjectMatrixWorld.js";
|
|
149
152
|
import "./CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
150
153
|
import "./shared-utils/isTouchDevice.js";
|
|
151
154
|
import "./shared-utils/five/getPosition.js";
|
|
152
155
|
import "./shared-utils/five/getRaycasterByNdcPosition.js";
|
|
153
|
-
import "./Sculpt/utils/removeAllTag.js";
|
|
154
|
-
import "./Sculpt/utils/Meshes/getLengthHTML.js";
|
|
155
156
|
import "./shared-utils/createLine/index.js";
|
|
156
157
|
import "./ModelRoomLabelPlugin/Controller.js";
|
|
157
158
|
import "./ModelRoomLabelPlugin/RoomLabelItems.js";
|
|
@@ -453,7 +454,6 @@ import "./Sculpt/Meshes/LineWithDots.js";
|
|
|
453
454
|
import "./Sculpt/Meshes/Point.js";
|
|
454
455
|
import "./shared-utils/three/closeVectors.js";
|
|
455
456
|
import "./Sculpt/Objects/Base/index.js";
|
|
456
|
-
import "./shared-utils/three/applyObjectMatrixWorld.js";
|
|
457
457
|
import "./Sculpt/Objects/Polyline/Editor.js";
|
|
458
458
|
import "./Sculpt/Objects/Line/Editor.js";
|
|
459
459
|
import "./Sculpt/Objects/Base/Editor.js";
|
|
@@ -2,12 +2,14 @@ import "three";
|
|
|
2
2
|
import "hammerjs";
|
|
3
3
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
4
4
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
5
|
-
import "
|
|
5
|
+
import "@realsee/five/line";
|
|
6
|
+
import "../tag.js";
|
|
7
|
+
import "../../Sculpt/utils/Modules/Global.js";
|
|
6
8
|
import "../three/THREESphere.js";
|
|
7
9
|
import "animejs";
|
|
8
|
-
function
|
|
10
|
+
function u(e) {
|
|
9
11
|
return e.model ? e.work ? e.model.loaded ? e.model.name !== e.work.model.file ? { result: !1, msg: "five.model.name 与 five.work.model.file 不一致" } : { result: !0, msg: "" } : { result: !1, msg: "five.model 未加载完成" } : { result: !1, msg: "five 数据未加载" } : { result: !1, msg: "five.model 不存在" };
|
|
10
12
|
}
|
|
11
13
|
export {
|
|
12
|
-
|
|
14
|
+
u as checkFiveModelLoaded
|
|
13
15
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var B = Object.defineProperty;
|
|
2
2
|
var U = Object.getOwnPropertySymbols;
|
|
3
3
|
var F = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var V = (
|
|
5
|
-
for (var t in
|
|
6
|
-
F.call(
|
|
4
|
+
var V = (o, e, t) => e in o ? B(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, T = (o, e) => {
|
|
5
|
+
for (var t in e || (e = {}))
|
|
6
|
+
F.call(e, t) && V(o, t, e[t]);
|
|
7
7
|
if (U)
|
|
8
|
-
for (var t of U(
|
|
9
|
-
H.call(
|
|
10
|
-
return
|
|
8
|
+
for (var t of U(e))
|
|
9
|
+
H.call(e, t) && V(o, t, e[t]);
|
|
10
|
+
return o;
|
|
11
11
|
};
|
|
12
|
-
var g = (
|
|
12
|
+
var g = (o, e, t) => new Promise((r, m) => {
|
|
13
13
|
var u = (a) => {
|
|
14
14
|
try {
|
|
15
15
|
l(t.next(a));
|
|
@@ -23,7 +23,7 @@ var g = (e, o, t) => new Promise((r, m) => {
|
|
|
23
23
|
m(d);
|
|
24
24
|
}
|
|
25
25
|
}, l = (a) => a.done ? r(a.value) : Promise.resolve(a.value).then(u, s);
|
|
26
|
-
l((t = t.apply(
|
|
26
|
+
l((t = t.apply(o, e)).next());
|
|
27
27
|
});
|
|
28
28
|
import * as n from "three";
|
|
29
29
|
import "hammerjs";
|
|
@@ -32,18 +32,20 @@ import { vectorToCoordinates as N } from "../vectorToCoordinate.js";
|
|
|
32
32
|
import { FiveUtil as O } from "../Utils/FiveUtil.js";
|
|
33
33
|
import { notNil as Y } from "../isNil.js";
|
|
34
34
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
35
|
-
import "
|
|
35
|
+
import "@realsee/five/line";
|
|
36
|
+
import "../tag.js";
|
|
37
|
+
import "../../Sculpt/utils/Modules/Global.js";
|
|
36
38
|
import { worldBoundingSphere as j } from "../three/boundingBox.js";
|
|
37
39
|
import "animejs";
|
|
38
|
-
function
|
|
40
|
+
function ot(o, e, t) {
|
|
39
41
|
return g(this, null, function* () {
|
|
40
42
|
var P, x, z;
|
|
41
|
-
if (!
|
|
43
|
+
if (!e)
|
|
42
44
|
return;
|
|
43
|
-
const r = j(
|
|
45
|
+
const r = j(e);
|
|
44
46
|
if (!r)
|
|
45
47
|
return;
|
|
46
|
-
const m = new O(
|
|
48
|
+
const m = new O(o), u = (P = t == null ? void 0 : t.scale) != null ? P : 1.4, s = r.center, l = o.camera.position.clone().sub(s).setY(0).normalize(), a = o.state.mode === "Mapview" ? o.state.fov : 60, C = Math.max(1.5, r.radius * u), k = C * (1 / Math.tan(n.MathUtils.degToRad(a / 2)));
|
|
47
49
|
let p = 0;
|
|
48
50
|
const w = [], M = (c) => {
|
|
49
51
|
const i = n.MathUtils.degToRad(c);
|
|
@@ -62,21 +64,21 @@ function $(e, o, t) {
|
|
|
62
64
|
p += 30;
|
|
63
65
|
}
|
|
64
66
|
const R = M((z = (x = w[2]) != null ? x : w[1]) != null ? z : 0), v = R.distanceTo(s), b = N(s.clone().sub(R).normalize());
|
|
65
|
-
if (
|
|
66
|
-
return
|
|
67
|
+
if (o.state.mode === "Mapview")
|
|
68
|
+
return o.updateCamera(
|
|
67
69
|
T({
|
|
68
70
|
offset: s,
|
|
69
71
|
distance: v
|
|
70
72
|
}, b),
|
|
71
73
|
800
|
|
72
74
|
);
|
|
73
|
-
|
|
75
|
+
o.setState(T({
|
|
74
76
|
mode: "Mapview",
|
|
75
77
|
offset: s,
|
|
76
78
|
distance: v
|
|
77
|
-
}, b)), yield
|
|
79
|
+
}, b)), yield o.ready();
|
|
78
80
|
});
|
|
79
81
|
}
|
|
80
82
|
export {
|
|
81
|
-
|
|
83
|
+
ot as lookObject
|
|
82
84
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.47.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.47.12",
|
|
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",
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { toArray as
|
|
2
|
-
function i(
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
const t = a.map((l) => r.localToWorld(l.clone()));
|
|
6
|
-
return Array.isArray(o) ? t : t[0];
|
|
1
|
+
import { toArray as l } from "../util.js";
|
|
2
|
+
function i(t, r) {
|
|
3
|
+
const o = l(r).map((n) => t.localToWorld(n.clone()));
|
|
4
|
+
return Array.isArray(r) ? o : o[0];
|
|
7
5
|
}
|
|
8
6
|
export {
|
|
9
7
|
i as applyObjectMatrixWorld
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import "hammerjs";
|
|
2
2
|
import "three";
|
|
3
3
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
4
|
-
import "
|
|
4
|
+
import "@realsee/five/line";
|
|
5
|
+
import "../tag.js";
|
|
6
|
+
import "../../Sculpt/utils/Modules/Global.js";
|
|
5
7
|
import "./THREESphere.js";
|
|
6
8
|
import "animejs";
|
|
7
9
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|