@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
package/libs/index.js
CHANGED
|
@@ -81,79 +81,25 @@ import "./shared-utils/Subscribe.js";
|
|
|
81
81
|
import "./shared-utils/Utils/WorkUtil.js";
|
|
82
82
|
import "./shared-utils/five/transformPosition.js";
|
|
83
83
|
import "./shared-utils/three/temp.js";
|
|
84
|
-
import "./Sculpt/utils/Modules/Global.js";
|
|
85
|
-
import "./Sculpt/utils/Modules/Cursor.js";
|
|
86
|
-
import "./shared-utils/five/FiveDomEvents.js";
|
|
87
|
-
import "./shared-utils/three/getObjectVisible.js";
|
|
88
|
-
import "./shared-utils/five/calculateThreeMouse.js";
|
|
89
|
-
import "./shared-utils/three/THREERaycaster.js";
|
|
90
|
-
import "./shared-utils/three/PointSelector/index.js";
|
|
91
|
-
import "./shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
92
|
-
import "./shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
93
|
-
import "./shared-utils/three/Assets/index.js";
|
|
94
|
-
import "./CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
95
|
-
import "./CSS3DRenderPlugin/utils/even.js";
|
|
96
|
-
import "./CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
97
|
-
import "./shared-utils/three/centerPoint.js";
|
|
98
84
|
import "./shared-utils/three/THREESphere.js";
|
|
99
85
|
import "animejs";
|
|
100
|
-
import "./shared-utils/isNil.js";
|
|
101
|
-
import "./base/BasePlugin.js";
|
|
102
86
|
import "./shared-utils/url/absoluteUrl.js";
|
|
103
|
-
import "./shared-utils/
|
|
104
|
-
import "./shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
105
|
-
import "./shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
106
|
-
import "./shared-utils/three/IObject3D.js";
|
|
107
|
-
import "./shared-utils/three/boundingBox.js";
|
|
108
|
-
import "./shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
109
|
-
import "./shared-utils/Object3DHelper/utils/direction.js";
|
|
110
|
-
import "./shared-utils/Object3DHelper/Constants/color.js";
|
|
111
|
-
import "./shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
87
|
+
import "./shared-utils/five/fiveModelLoad.js";
|
|
112
88
|
import "./CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
113
89
|
import "./CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
114
90
|
import "./CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
91
|
+
import "./CSS3DRenderPlugin/utils/even.js";
|
|
92
|
+
import "./CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
93
|
+
import "./CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
94
|
+
import "./shared-utils/three/centerPoint.js";
|
|
95
|
+
import "./shared-utils/three/getObjectVisible.js";
|
|
96
|
+
import "./shared-utils/isNil.js";
|
|
115
97
|
import "./CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
116
98
|
import "./CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
117
99
|
import "./shared-utils/util.js";
|
|
118
100
|
import "./CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
119
|
-
import "./shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
120
|
-
import "./shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
121
|
-
import "./shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
122
|
-
import "./shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
123
|
-
import "./shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
124
|
-
import "./shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
125
|
-
import "./shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
126
|
-
import "./shared-utils/Object3DHelper/Base/BaseController.js";
|
|
127
|
-
import "./shared-utils/threex/domevents/index.js";
|
|
128
|
-
import "./shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
129
|
-
import "./shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
130
|
-
import "./Sculpt/utils/three/rayOnLine.js";
|
|
131
|
-
import "./Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
132
|
-
import "./shared-utils/Object3DHelper/index.js";
|
|
133
|
-
import "./shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
134
|
-
import "./shared-utils/math/rad2Deg.js";
|
|
135
|
-
import "./shared-utils/math/deg2Rad.js";
|
|
136
|
-
import "./shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
137
|
-
import "./shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
138
|
-
import "./shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
139
|
-
import "./shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
140
|
-
import "./shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
141
|
-
import "./shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
142
|
-
import "./shared-utils/five/fiveModelLoad.js";
|
|
143
|
-
import "./shared-utils/three/PointSelector/utils/html.js";
|
|
144
|
-
import "./shared-utils/five/initialCSS3DRender.js";
|
|
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";
|
|
152
|
-
import "./CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
153
|
-
import "./shared-utils/isTouchDevice.js";
|
|
154
|
-
import "./shared-utils/five/getPosition.js";
|
|
155
|
-
import "./shared-utils/five/getRaycasterByNdcPosition.js";
|
|
156
101
|
import "./shared-utils/createLine/index.js";
|
|
102
|
+
import "./shared-utils/five/FiveLine.js";
|
|
157
103
|
import "./ModelRoomLabelPlugin/Controller.js";
|
|
158
104
|
import "./ModelRoomLabelPlugin/RoomLabelItems.js";
|
|
159
105
|
import "./vendor/svelte/internal/index.js";
|
|
@@ -188,6 +134,7 @@ import "./floorplan/Components/RoomHighlight/Room.js";
|
|
|
188
134
|
import "./floorplan/Components/MissingFloor.js";
|
|
189
135
|
import "./floorplan/Components/Camera.js";
|
|
190
136
|
import "./floorplan/Assets/camera.js";
|
|
137
|
+
import "./shared-utils/math/rad2Deg.js";
|
|
191
138
|
import "./floorplan/Components/Compass.js";
|
|
192
139
|
import "./floorplan/Assets/compass.js";
|
|
193
140
|
import "./floorplan/utils/formatData.js";
|
|
@@ -196,6 +143,7 @@ import "./shared-utils/filter.js";
|
|
|
196
143
|
import "./shared-utils/tap.js";
|
|
197
144
|
import "./shared-utils/getPxmm.js";
|
|
198
145
|
import "./base/BasePluginWithData.js";
|
|
146
|
+
import "./base/BasePlugin.js";
|
|
199
147
|
import "./floorplan/utils/correctFiveState.js";
|
|
200
148
|
import "./floorplan/utils/constant.js";
|
|
201
149
|
import "./shared-utils/nearlyEqual.js";
|
|
@@ -240,6 +188,7 @@ import "./PanoMeasurePlugin/utils/dom/base.js";
|
|
|
240
188
|
import "./PanoMeasurePlugin/utils/isNDCPointInScreen.js";
|
|
241
189
|
import "./PanoMeasurePlugin/Model/area.js";
|
|
242
190
|
import "./PanoMeasurePlugin/Model/polygon.js";
|
|
191
|
+
import "./shared-utils/three/IObject3D.js";
|
|
243
192
|
import "./shared-utils/three/generatePolygonGeometry.js";
|
|
244
193
|
import "./shared-utils/three/earcut3D.js";
|
|
245
194
|
import "earcut";
|
|
@@ -247,6 +196,22 @@ import "./shared-utils/three/getNormal.js";
|
|
|
247
196
|
import "./PanoMeasurePlugin/utils/dom/areaDom.js";
|
|
248
197
|
import "./shared-utils/three/geometryUtil.js";
|
|
249
198
|
import "./PanoMeasurePlugin/utils/isIntersecting.js";
|
|
199
|
+
import "./shared-utils/three/PointSelector/index.js";
|
|
200
|
+
import "./shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
201
|
+
import "./shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
202
|
+
import "./shared-utils/three/Assets/index.js";
|
|
203
|
+
import "./shared-utils/three/PointSelector/utils/html.js";
|
|
204
|
+
import "./shared-utils/five/initialCSS3DRender.js";
|
|
205
|
+
import "./shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
206
|
+
import "./Sculpt/Meshes/Line.js";
|
|
207
|
+
import "./Sculpt/typings/style.js";
|
|
208
|
+
import "./Sculpt/utils/removeAllTag.js";
|
|
209
|
+
import "./Sculpt/utils/Meshes/getLengthHTML.js";
|
|
210
|
+
import "./shared-utils/three/applyObjectMatrixWorld.js";
|
|
211
|
+
import "./CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
212
|
+
import "./shared-utils/isTouchDevice.js";
|
|
213
|
+
import "./shared-utils/five/getPosition.js";
|
|
214
|
+
import "./shared-utils/five/getRaycasterByNdcPosition.js";
|
|
250
215
|
import "./PanoMeasurePlugin/Modules/DeleteDom/index.js";
|
|
251
216
|
import "./PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js";
|
|
252
217
|
import "./PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
@@ -261,6 +226,7 @@ import "./PanoMeasurePlugin/Controller/MixedController.js";
|
|
|
261
226
|
import "./PanoMeasurePlugin/Modules/rangePiece/index.js";
|
|
262
227
|
import "./shared-utils/noop.js";
|
|
263
228
|
import "./PanoMeasurePlugin/utils/mouseGroup.js";
|
|
229
|
+
import "./shared-utils/five/calculateThreeMouse.js";
|
|
264
230
|
import "./PanoMeasurePlugin/Modules/UIController/index.js";
|
|
265
231
|
import "./PanoMeasurePlugin/Modules/UIController/HTML.js";
|
|
266
232
|
import "./PanoMeasurePlugin/Modules/UIController/mobileHTML.js";
|
|
@@ -412,6 +378,8 @@ import "./CruisePlugin/utils/sleep.js";
|
|
|
412
378
|
import "./PanoTagPlugin/controller/TagUtil.js";
|
|
413
379
|
import "./PanoTagPlugin/tag.config.js";
|
|
414
380
|
import "./PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
381
|
+
import "./shared-utils/five/FiveDomEvents.js";
|
|
382
|
+
import "./shared-utils/three/THREERaycaster.js";
|
|
415
383
|
import "./PanoTagPlugin/utils/DebugUtil.js";
|
|
416
384
|
import "./PanoTagPlugin/utils/addDebugPoints.js";
|
|
417
385
|
import "./PanoTagPlugin/controller/Tag/PointTag.js";
|
|
@@ -428,6 +396,36 @@ import "./CruisePlugin/utils/coordinatesAngle.js";
|
|
|
428
396
|
import "./CruisePlugin/utils/coordinatesToVector.js";
|
|
429
397
|
import "./CruisePlugin/utils/safeCall.js";
|
|
430
398
|
import "./shared-utils/five/fiveLoaded.js";
|
|
399
|
+
import "./shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
400
|
+
import "./shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
401
|
+
import "./shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
402
|
+
import "./shared-utils/three/boundingBox.js";
|
|
403
|
+
import "./shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
404
|
+
import "./shared-utils/Object3DHelper/utils/direction.js";
|
|
405
|
+
import "./shared-utils/Object3DHelper/Constants/color.js";
|
|
406
|
+
import "./shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
407
|
+
import "./shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
408
|
+
import "./shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
409
|
+
import "./shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
410
|
+
import "./shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
411
|
+
import "./shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
412
|
+
import "./shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
413
|
+
import "./shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
414
|
+
import "./shared-utils/Object3DHelper/Base/BaseController.js";
|
|
415
|
+
import "./shared-utils/threex/domevents/index.js";
|
|
416
|
+
import "./shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
417
|
+
import "./shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
418
|
+
import "./Sculpt/utils/three/rayOnLine.js";
|
|
419
|
+
import "./Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
420
|
+
import "./shared-utils/Object3DHelper/index.js";
|
|
421
|
+
import "./shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
422
|
+
import "./shared-utils/math/deg2Rad.js";
|
|
423
|
+
import "./shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
424
|
+
import "./shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
425
|
+
import "./shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
426
|
+
import "./shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
427
|
+
import "./shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
428
|
+
import "./shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
431
429
|
import "./PanoVideoPlugin/Controller.js";
|
|
432
430
|
import "./PanoVideoPlugin/VideoMeshController.js";
|
|
433
431
|
import "./PanoVideoPlugin/utils/shader.js";
|
|
@@ -446,6 +444,8 @@ import "./shared-utils/three/objects/LineSegments.js";
|
|
|
446
444
|
import "./components/AreaLabel/LabelItem.js";
|
|
447
445
|
import "./components/AreaLabel/Assets/roomLabelBg.js";
|
|
448
446
|
import "./CurrentPanoImagePlugin/Controller.js";
|
|
447
|
+
import "./Sculpt/utils/Modules/Global.js";
|
|
448
|
+
import "./Sculpt/utils/Modules/Cursor.js";
|
|
449
449
|
import "./shared-utils/three/recurveFindObject.js";
|
|
450
450
|
import "./Sculpt/Objects/Polyline/index.js";
|
|
451
451
|
import "./vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
@@ -4,12 +4,11 @@ import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
|
4
4
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
5
5
|
import "@realsee/five/line";
|
|
6
6
|
import "../tag.js";
|
|
7
|
-
import "../../Sculpt/utils/Modules/Global.js";
|
|
8
7
|
import "../three/THREESphere.js";
|
|
9
8
|
import "animejs";
|
|
10
|
-
function
|
|
9
|
+
function f(e) {
|
|
11
10
|
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 不存在" };
|
|
12
11
|
}
|
|
13
12
|
export {
|
|
14
|
-
|
|
13
|
+
f as checkFiveModelLoaded
|
|
15
14
|
};
|
|
@@ -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 = (e, o, t) => o in e ? B(e, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[o] = t, T = (e, o) => {
|
|
5
|
+
for (var t in o || (o = {}))
|
|
6
|
+
F.call(o, t) && V(e, t, o[t]);
|
|
7
7
|
if (U)
|
|
8
|
-
for (var t of U(
|
|
9
|
-
H.call(
|
|
10
|
-
return
|
|
8
|
+
for (var t of U(o))
|
|
9
|
+
H.call(o, t) && V(e, t, o[t]);
|
|
10
|
+
return e;
|
|
11
11
|
};
|
|
12
|
-
var g = (
|
|
12
|
+
var g = (e, o, 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 = (o, e, 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(e, o)).next());
|
|
27
27
|
});
|
|
28
28
|
import * as n from "three";
|
|
29
29
|
import "hammerjs";
|
|
@@ -34,18 +34,17 @@ import { notNil as Y } from "../isNil.js";
|
|
|
34
34
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
35
35
|
import "@realsee/five/line";
|
|
36
36
|
import "../tag.js";
|
|
37
|
-
import "../../Sculpt/utils/Modules/Global.js";
|
|
38
37
|
import { worldBoundingSphere as j } from "../three/boundingBox.js";
|
|
39
38
|
import "animejs";
|
|
40
|
-
function
|
|
39
|
+
function tt(e, o, t) {
|
|
41
40
|
return g(this, null, function* () {
|
|
42
41
|
var P, x, z;
|
|
43
|
-
if (!
|
|
42
|
+
if (!o)
|
|
44
43
|
return;
|
|
45
|
-
const r = j(
|
|
44
|
+
const r = j(o);
|
|
46
45
|
if (!r)
|
|
47
46
|
return;
|
|
48
|
-
const m = new O(
|
|
47
|
+
const m = new O(e), u = (P = t == null ? void 0 : t.scale) != null ? P : 1.4, s = r.center, l = e.camera.position.clone().sub(s).setY(0).normalize(), a = e.state.mode === "Mapview" ? e.state.fov : 60, C = Math.max(1.5, r.radius * u), k = C * (1 / Math.tan(n.MathUtils.degToRad(a / 2)));
|
|
49
48
|
let p = 0;
|
|
50
49
|
const w = [], M = (c) => {
|
|
51
50
|
const i = n.MathUtils.degToRad(c);
|
|
@@ -64,21 +63,21 @@ function ot(o, e, t) {
|
|
|
64
63
|
p += 30;
|
|
65
64
|
}
|
|
66
65
|
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());
|
|
67
|
-
if (
|
|
68
|
-
return
|
|
66
|
+
if (e.state.mode === "Mapview")
|
|
67
|
+
return e.updateCamera(
|
|
69
68
|
T({
|
|
70
69
|
offset: s,
|
|
71
70
|
distance: v
|
|
72
71
|
}, b),
|
|
73
72
|
800
|
|
74
73
|
);
|
|
75
|
-
|
|
74
|
+
e.setState(T({
|
|
76
75
|
mode: "Mapview",
|
|
77
76
|
offset: s,
|
|
78
77
|
distance: v
|
|
79
|
-
}, b)), yield
|
|
78
|
+
}, b)), yield e.ready();
|
|
80
79
|
});
|
|
81
80
|
}
|
|
82
81
|
export {
|
|
83
|
-
|
|
82
|
+
tt as lookObject
|
|
84
83
|
};
|
|
@@ -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.15",
|
|
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",
|
|
@@ -3,7 +3,6 @@ import "three";
|
|
|
3
3
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
4
4
|
import "@realsee/five/line";
|
|
5
5
|
import "../tag.js";
|
|
6
|
-
import "../../Sculpt/utils/Modules/Global.js";
|
|
7
6
|
import "./THREESphere.js";
|
|
8
7
|
import "animejs";
|
|
9
8
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|