@realsee/dnalogel 3.51.0 → 3.52.1
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 +15 -0
- package/dist/Object3DHelperPlugin/Controller.d.ts +9 -9
- package/dist/Object3DHelperPlugin/FiveControllerWrapper.d.ts +4 -2
- package/dist/PanoMeasurePlugin/Model/area.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Model/polygon.d.ts +1 -1
- package/dist/PanoMeasurePlugin/typings/data.d.ts +1 -2
- package/dist/Sculpt/Editors/BoxMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Editors/CircleMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Editors/CylinderMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Editors/PrismMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Editors/RectangleMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Meshes/Box.d.ts +6 -24
- package/dist/Sculpt/Meshes/Circle.d.ts +0 -4
- package/dist/Sculpt/Meshes/Cylinder.d.ts +0 -1
- package/dist/Sculpt/Meshes/Line.d.ts +9 -22
- package/dist/Sculpt/Meshes/Polygon.d.ts +1 -5
- package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/dist/Sculpt/Meshes/Prism.d.ts +29 -10
- package/dist/Sculpt/Meshes/Rectangle.d.ts +1 -5
- package/dist/Sculpt/Objects/Base/index.d.ts +3 -3
- package/dist/Sculpt/Objects/Box/index.d.ts +7 -2
- package/dist/Sculpt/Objects/Circle/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Cylinder/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Line/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Point/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Polygon/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Polyline/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Prism/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Rectangle/index.d.ts +13 -2
- package/dist/Sculpt/index.d.ts +10 -19
- package/dist/Sculpt/typings/style.d.ts +6 -0
- package/dist/Sculpt/utils/export.d.ts +24 -18
- package/dist/Sculpt/utils/sortPositionsByCameraPosition.d.ts +5 -0
- package/dist/Sculpt/utils/three/ColoredMesh.d.ts +4 -0
- package/dist/index.cjs.js +88 -3009
- package/dist/index.d.ts +79 -1
- package/dist/index.js +35141 -54254
- package/dist/index.umd.js +81 -3002
- package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +1 -0
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +7 -3
- package/dist/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +0 -1
- package/dist/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +3 -1
- package/dist/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +2 -0
- package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -1
- package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +4 -2
- package/dist/shared-utils/Object3DHelper/typings/index.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/utils/calculateScaleByCamera.d.ts +4 -1
- package/dist/shared-utils/five/FiveLine.d.ts +18 -14
- package/dist/shared-utils/index.d.ts +0 -1
- package/dist/shared-utils/math/planimetry.d.ts +1 -1
- package/dist/shared-utils/tag.d.ts +5 -7
- package/dist/shared-utils/three/boundingBox.d.ts +14 -20
- package/dist/shared-utils/three/core/LineGeometry.d.ts +13 -0
- package/dist/shared-utils/three/core/PrismGeometry.d.ts +14 -0
- package/dist/shared-utils/three/geometryUtil.d.ts +8 -0
- package/dist/shared-utils/three/getNormal.d.ts +5 -2
- package/libs/AreaMakerPlugin/Controller.js +47 -100
- package/libs/AreaMakerPlugin/index.js +12 -65
- package/libs/AreaMakerPlugin/utils/Item.js +102 -157
- package/libs/CSS3DRenderPlugin/Controller.js +45 -93
- package/libs/CSS3DRenderPlugin/index.js +15 -63
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +51 -106
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +79 -131
- package/libs/CruisePlugin/BaseController.js +90 -143
- package/libs/CruisePlugin/Move.js +39 -83
- package/libs/CruisePlugin/Work.js +52 -96
- package/libs/CruisePlugin/index.js +23 -67
- package/libs/CurrentPanoImagePlugin/Controller.js +88 -141
- package/libs/CurrentPanoImagePlugin/index.js +11 -64
- package/libs/GuideLinePlugin/Controller.js +13 -57
- package/libs/GuideLinePlugin/GuideLineItem.js +20 -64
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -8
- package/libs/GuideLinePlugin/GuideLineModeItem.js +15 -59
- package/libs/GuideLinePlugin/index.js +23 -67
- package/libs/ModelMakerPlugin/Controller.js +125 -165
- package/libs/ModelMakerPlugin/index.js +23 -63
- package/libs/ModelMakerPlugin/item/baseItem.js +2 -3
- package/libs/ModelMakerPlugin/item/boxItem.js +2 -3
- package/libs/ModelMakerPlugin/item/polygonItem.js +6 -7
- package/libs/ModelMakerPlugin/item/prismItem.js +2 -3
- package/libs/ModelMakerPlugin/utils/getFiveDomEvent.js +2 -3
- package/libs/ModelTVVideoPlugin/Plugin.js +49 -97
- package/libs/ModelTVVideoPlugin/index.js +8 -56
- package/libs/Object3DHelperPlugin/Controller.d.ts +9 -9
- package/libs/Object3DHelperPlugin/Controller.js +105 -92
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +4 -2
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +35 -30
- package/libs/Object3DHelperPlugin/index.js +15 -30
- package/libs/PanoCompassPlugin/Controller.js +46 -93
- package/libs/PanoCompassPlugin/index.js +17 -64
- package/libs/PanoCursorRaycasterPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/BaseController.js +27 -80
- package/libs/PanoDoorLabelPlugin/Controller.js +80 -133
- package/libs/PanoDoorLabelPlugin/index.js +11 -64
- package/libs/PanoMeasurePlugin/Components/Controller0.js +79 -128
- package/libs/PanoMeasurePlugin/Components/Controller1.js +92 -141
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +73 -122
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +72 -121
- package/libs/PanoMeasurePlugin/Controller/index.js +89 -135
- package/libs/PanoMeasurePlugin/Model/area.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/area.js +25 -74
- package/libs/PanoMeasurePlugin/Model/index.js +3 -2
- package/libs/PanoMeasurePlugin/Model/line.js +1 -0
- package/libs/PanoMeasurePlugin/Model/polygon.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/polygon.js +7 -7
- package/libs/PanoMeasurePlugin/Model/polyline.js +3 -2
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -56
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +17 -66
- package/libs/PanoMeasurePlugin/index.js +18 -64
- package/libs/PanoMeasurePlugin/typings/data.d.ts +1 -2
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +5 -59
- package/libs/PanoMeasurePlugin/utils/line.js +3 -2
- package/libs/PanoRulerProPlugin/Controller.js +34 -89
- package/libs/PanoRulerProPlugin/RulerItems.js +92 -147
- package/libs/PanoRulerProPlugin/index.js +10 -65
- package/libs/PanoSpatialTagPlugin/Plugin.js +130 -178
- package/libs/PanoSpatialTagPlugin/index.js +6 -54
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +61 -116
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +138 -193
- package/libs/PanoTagPlugin/Components/Tag/index.js +140 -194
- package/libs/PanoTagPlugin/Components/TagContainer.js +58 -112
- package/libs/PanoTagPlugin/Components/TagItem.js +137 -191
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +109 -164
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +22 -76
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +33 -87
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +39 -94
- package/libs/PanoTagPlugin/controller/TagRender.js +18 -62
- package/libs/PanoTagPlugin/controller/TagUtil.js +80 -124
- package/libs/PanoTagPlugin/controller/index.js +37 -81
- package/libs/PanoTagPlugin/index.js +28 -72
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +14 -14
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +22 -77
- package/libs/PanoVideoPlugin/Controller.js +43 -96
- package/libs/PanoVideoPlugin/VideoMeshController.js +64 -119
- package/libs/PanoVideoPlugin/index.js +14 -67
- package/libs/PipelinePlugin/Controller.js +123 -176
- package/libs/PipelinePlugin/index.js +11 -64
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +15 -70
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -58
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +42 -97
- package/libs/Sculpt/Editors/BoxMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/BoxMeshEditor.js +98 -0
- package/libs/Sculpt/Editors/CircleMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/CircleMeshEditor.js +9 -0
- package/libs/Sculpt/Editors/CylinderMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/CylinderMeshEditor.js +41 -0
- package/libs/Sculpt/Editors/PrismMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/PrismMeshEditor.js +43 -0
- package/libs/Sculpt/Editors/RectangleMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/RectangleMeshEditor.js +70 -0
- package/libs/Sculpt/Meshes/Box.d.ts +6 -24
- package/libs/Sculpt/Meshes/Box.js +22 -93
- package/libs/Sculpt/Meshes/Circle.d.ts +0 -4
- package/libs/Sculpt/Meshes/Circle.js +18 -27
- package/libs/Sculpt/Meshes/Cylinder.d.ts +0 -1
- package/libs/Sculpt/Meshes/Cylinder.js +17 -24
- package/libs/Sculpt/Meshes/Line.d.ts +9 -22
- package/libs/Sculpt/Meshes/Line.js +85 -104
- package/libs/Sculpt/Meshes/LineWithDots.js +10 -14
- package/libs/Sculpt/Meshes/Point.js +29 -34
- package/libs/Sculpt/Meshes/Polygon.d.ts +1 -5
- package/libs/Sculpt/Meshes/Polygon.js +40 -53
- package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/libs/Sculpt/Meshes/Prism.d.ts +29 -10
- package/libs/Sculpt/Meshes/Prism.js +108 -84
- package/libs/Sculpt/Meshes/Rectangle.d.ts +1 -5
- package/libs/Sculpt/Meshes/Rectangle.js +12 -22
- package/libs/Sculpt/Meshes/RectangleWithEdge.js +17 -20
- package/libs/Sculpt/Objects/Base/index.d.ts +3 -3
- package/libs/Sculpt/Objects/Base/index.js +20 -25
- package/libs/Sculpt/Objects/Box/index.d.ts +7 -2
- package/libs/Sculpt/Objects/Box/index.js +72 -60
- package/libs/Sculpt/Objects/Circle/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Circle/index.js +41 -37
- package/libs/Sculpt/Objects/Cylinder/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Cylinder/index.js +66 -62
- package/libs/Sculpt/Objects/Line/Editor.js +8 -10
- package/libs/Sculpt/Objects/Line/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Line/index.js +45 -41
- package/libs/Sculpt/Objects/Point/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Point/index.js +33 -29
- package/libs/Sculpt/Objects/Polygon/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Polygon/index.js +67 -63
- package/libs/Sculpt/Objects/Polyline/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Polyline/index.js +46 -42
- package/libs/Sculpt/Objects/Prism/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Prism/index.js +58 -53
- package/libs/Sculpt/Objects/Rectangle/index.d.ts +13 -2
- package/libs/Sculpt/Objects/Rectangle/index.js +143 -81
- package/libs/Sculpt/index.d.ts +10 -19
- package/libs/Sculpt/index.js +105 -107
- package/libs/Sculpt/typings/style.d.ts +6 -0
- package/libs/Sculpt/utils/export.d.ts +24 -18
- package/libs/Sculpt/utils/export.js +52 -19
- package/libs/Sculpt/utils/sortPositionsByCameraPosition.d.ts +5 -0
- package/libs/Sculpt/utils/sortPositionsByCameraPosition.js +9 -0
- package/libs/Sculpt/utils/three/ColoredMesh.d.ts +4 -0
- package/libs/Sculpt/utils/three/ColoredMesh.js +40 -37
- package/libs/base/BasePlugin.js +10 -15
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +96 -147
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +12 -63
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +53 -105
- package/libs/floorplan/ModelFloorplanPlugin/index.js +11 -63
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +65 -118
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +11 -64
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +54 -106
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +11 -63
- package/libs/floorplan/index.js +0 -5
- package/libs/index.d.ts +79 -1
- package/libs/index.js +229 -215
- package/libs/shared-utils/Object3DHelper/Base/BaseController.d.ts +1 -0
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +112 -122
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +7 -3
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +60 -39
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +47 -47
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +0 -1
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +28 -28
- package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +3 -1
- package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js +25 -18
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +2 -0
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +18 -14
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -1
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +1 -0
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +2 -1
- package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +4 -2
- package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.js +40 -28
- package/libs/shared-utils/Object3DHelper/typings/index.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/utils/calculateScaleByCamera.d.ts +4 -1
- package/libs/shared-utils/Object3DHelper/utils/calculateScaleByCamera.js +4 -4
- package/libs/shared-utils/five/FiveDomEvents.js +88 -88
- package/libs/shared-utils/five/FiveLine.d.ts +18 -14
- package/libs/shared-utils/five/FiveLine.js +31 -13
- package/libs/shared-utils/five/index.js +2 -7
- package/libs/shared-utils/five/lookObject.js +27 -32
- package/libs/shared-utils/index.d.ts +0 -1
- package/libs/shared-utils/index.js +31 -33
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/planimetry.d.ts +1 -1
- package/libs/shared-utils/tag.d.ts +5 -7
- package/libs/shared-utils/tag.js +1 -1
- package/libs/shared-utils/three/boundingBox.d.ts +14 -20
- package/libs/shared-utils/three/core/LineGeometry.d.ts +13 -0
- package/libs/shared-utils/three/core/LineGeometry.js +26 -0
- package/libs/shared-utils/three/core/PrismGeometry.d.ts +14 -0
- package/libs/shared-utils/three/core/PrismGeometry.js +42 -0
- package/libs/shared-utils/three/earcut3D.js +5 -5
- package/libs/shared-utils/three/geometryUtil.d.ts +8 -0
- package/libs/shared-utils/three/geometryUtil.js +3 -1
- package/libs/shared-utils/three/getNormal.d.ts +5 -2
- package/libs/shared-utils/three/getNormal.js +6 -5
- package/libs/shared-utils/three/index.js +0 -5
- package/package.json +1 -1
- package/dist/Sculpt/Objects/Box/Editor.d.ts +0 -5
- package/dist/Sculpt/Objects/Circle/Editor.d.ts +0 -5
- package/dist/Sculpt/Objects/Cylinder/Editor.d.ts +0 -5
- package/dist/Sculpt/Objects/Prism/Editor.d.ts +0 -5
- package/dist/Sculpt/Objects/Rectangle/Editor.d.ts +0 -5
- package/dist/Sculpt/utils/getBetterNormal.d.ts +0 -2
- package/libs/Sculpt/Objects/Box/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Box/Editor.js +0 -44
- package/libs/Sculpt/Objects/Circle/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Circle/Editor.js +0 -9
- package/libs/Sculpt/Objects/Cylinder/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Cylinder/Editor.js +0 -41
- package/libs/Sculpt/Objects/Prism/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Prism/Editor.js +0 -44
- package/libs/Sculpt/Objects/Rectangle/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Rectangle/Editor.js +0 -9
- package/libs/Sculpt/utils/getBetterNormal.d.ts +0 -2
- package/libs/Sculpt/utils/getBetterNormal.js +0 -8
- package/libs/vendor/three/build/three.module.js +0 -19336
- package/libs/vendor/three/examples/jsm/lines/LineGeometry.js +0 -28
- package/libs/vendor/three/examples/jsm/lines/LineSegmentsGeometry.js +0 -69
|
@@ -10,7 +10,7 @@ var w = (d, a, e) => a in d ? x(d, a, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
O.call(a, e) && w(d, e, a[e]);
|
|
11
11
|
return d;
|
|
12
12
|
}, M = (d, a) => j(d, G(a));
|
|
13
|
-
var
|
|
13
|
+
var s = (d, a, e) => (w(d, typeof a != "symbol" ? a + "" : a, e), e);
|
|
14
14
|
import $ from "../Model/line.js";
|
|
15
15
|
import I from "../Model/point.js";
|
|
16
16
|
import { throttle as q } from "../../shared-utils/throttle.js";
|
|
@@ -29,6 +29,7 @@ import "../../shared-utils/uuid.js";
|
|
|
29
29
|
import "../utils/line.js";
|
|
30
30
|
import "../../shared-utils/five/FiveLine.js";
|
|
31
31
|
import "@realsee/five/line";
|
|
32
|
+
import "../../shared-utils/isNil.js";
|
|
32
33
|
import "../utils/constants.js";
|
|
33
34
|
import "@realsee/five";
|
|
34
35
|
import "../utils/dom/distanceItem.js";
|
|
@@ -57,114 +58,64 @@ import "../../shared-utils/dom/resizeObserver.js";
|
|
|
57
58
|
import "../../shared-utils/five/fiveEveryReadyListener.js";
|
|
58
59
|
import "hammerjs";
|
|
59
60
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
60
|
-
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
61
|
-
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
62
|
-
import "../../vendor/three/build/three.module.js";
|
|
63
61
|
import "../../shared-utils/three/core/Sphere.js";
|
|
64
62
|
import "animejs";
|
|
65
|
-
import "../../shared-utils/isNil.js";
|
|
66
63
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
67
|
-
import "../../Sculpt/Meshes/Polygon.js";
|
|
68
|
-
import "../../Sculpt/typings/style.js";
|
|
69
|
-
import "../../Sculpt/utils/three/ColoredMesh.js";
|
|
70
|
-
import "../../Sculpt/utils/Modules/Global.js";
|
|
71
|
-
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
72
|
-
import "../../Object3DHelperPlugin/Controller.js";
|
|
73
|
-
import "../../base/BasePlugin.js";
|
|
74
|
-
import "../../shared-utils/url/absoluteUrl.js";
|
|
75
|
-
import "../../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
76
|
-
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
77
|
-
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
78
|
-
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
79
|
-
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
80
|
-
import "../../shared-utils/three/boundingBox.js";
|
|
81
|
-
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
82
|
-
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
83
|
-
import "../../shared-utils/Object3DHelper/Constants/color.js";
|
|
84
|
-
import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
85
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
86
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
87
|
-
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
88
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
89
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
90
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
91
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
92
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
93
64
|
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
94
65
|
import "../../shared-utils/three/Magnifier.js";
|
|
95
66
|
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
96
67
|
import "../../shared-utils/three/Assets/index.js";
|
|
68
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
69
|
+
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
70
|
+
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
71
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
97
72
|
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
98
73
|
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
74
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
75
|
+
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
76
|
+
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
99
77
|
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
100
78
|
import "../../Sculpt/Meshes/Line.js";
|
|
79
|
+
import "../../Sculpt/typings/style.js";
|
|
101
80
|
import "../../Sculpt/utils/removeAllTag.js";
|
|
102
81
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
103
82
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
104
83
|
import "../../shared-utils/util.js";
|
|
84
|
+
import "../../shared-utils/three/core/LineGeometry.js";
|
|
105
85
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
106
86
|
import "../../shared-utils/isTouchDevice.js";
|
|
107
87
|
import "../../shared-utils/five/getPosition.js";
|
|
108
88
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
109
89
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
110
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
111
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
112
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
113
|
-
import "../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
114
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
115
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
116
|
-
import "../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
117
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
118
|
-
import "../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
119
|
-
import "../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
120
|
-
import "../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
121
|
-
import "../../shared-utils/threex/domevents/index.js";
|
|
122
|
-
import "../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
123
|
-
import "../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
124
|
-
import "../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
125
|
-
import "../../shared-utils/Object3DHelper/index.js";
|
|
126
|
-
import "../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
127
|
-
import "../../shared-utils/math/rad2Deg.js";
|
|
128
|
-
import "../../shared-utils/math/deg2Rad.js";
|
|
129
|
-
import "../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
130
|
-
import "../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
131
|
-
import "../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
132
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
133
|
-
import "../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
134
|
-
import "../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
135
|
-
import "../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
136
|
-
import "../../shared-utils/five/fiveModelLoad.js";
|
|
137
|
-
import "../../shared-utils/five/FiveDomEvents.js";
|
|
138
|
-
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
139
90
|
import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
140
91
|
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
141
92
|
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
142
93
|
const b = () => !1;
|
|
143
|
-
class
|
|
94
|
+
class Lt extends z {
|
|
144
95
|
constructor(e) {
|
|
145
96
|
super(e);
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
97
|
+
s(this, "type", "edit");
|
|
98
|
+
s(this, "polyline");
|
|
99
|
+
s(this, "area");
|
|
100
|
+
s(this, "hasAppendDashed", !1);
|
|
150
101
|
// private deleteDom: DeleteDom
|
|
151
|
-
|
|
102
|
+
s(this, "fiveElement");
|
|
152
103
|
/** 上一个端点位置 */
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
104
|
+
s(this, "lastPoint", null);
|
|
105
|
+
s(this, "pointSelector");
|
|
106
|
+
s(this, "deleteDom");
|
|
156
107
|
/** 根据 intersection 更新放大镜和吸附点 */
|
|
157
|
-
|
|
108
|
+
s(this, "onIntersectionUpdate", q((e, t) => {
|
|
158
109
|
this.currentMeasureType === "area" && typeof t == "boolean" && (t ? this.hook.emit("readyComplete") : this.hook.emit("notReadyComplete")), this.updateDashed();
|
|
159
110
|
}, 20));
|
|
160
111
|
/** 撤销编辑 */
|
|
161
|
-
|
|
112
|
+
s(this, "revoke", () => {
|
|
162
113
|
this.currentMeasureType === "area" ? this.revokeArea() : this.currentMeasureType === "line" && this.revokeLine();
|
|
163
114
|
});
|
|
164
115
|
/**
|
|
165
116
|
* @description: 测面积的撤销功能
|
|
166
117
|
*/
|
|
167
|
-
|
|
118
|
+
s(this, "revokeArea", () => {
|
|
168
119
|
if (this.area.points.length !== 0) {
|
|
169
120
|
if (this.area.popPoint(), this.hook.emit("pointsChange", this.area.points), this.area.points.length === 0) {
|
|
170
121
|
this.lastPoint = null, this.hasAppendDashed = !1, this.dashed.remove(), this.five.needsRender = !0, this.hook.emit("revoke", { isEmpty: !0 });
|
|
@@ -177,7 +128,7 @@ class ui extends z {
|
|
|
177
128
|
/**
|
|
178
129
|
* @description: 测距的撤销功能
|
|
179
130
|
*/
|
|
180
|
-
|
|
131
|
+
s(this, "revokeLine", (e) => {
|
|
181
132
|
const t = e || this.polyline;
|
|
182
133
|
if (t.lines.length === 0 && this.lastPoint) {
|
|
183
134
|
this.lastPoint = null, this.hasAppendDashed = !1, this.dashed.remove(), this.hook.emit("anchorChange", null), this.hook.emit("editedDashedLineChange", null), this.five.needsRender = !0, this.hook.emit("pointsChange", []);
|
|
@@ -188,21 +139,21 @@ class ui extends z {
|
|
|
188
139
|
const i = t.lines[t.lines.length - 1], n = i.findAnotherPoint(this.lastPoint);
|
|
189
140
|
n && (this.lastPoint = n, this.hook.emit("anchorChange", n.position), this.group.remove(i.mesh), t.removeLine(i), i.distanceItem.remove(), this.updateDashed(), this.five.needsRender = !0);
|
|
190
141
|
});
|
|
191
|
-
|
|
142
|
+
s(this, "checkMouseLeave", (e) => {
|
|
192
143
|
e || (this.dashed.hide(), this.perpendicularDashed.hide(), this.area.hideArea());
|
|
193
144
|
});
|
|
194
145
|
/** 编辑线条发生改变时通知外部 */
|
|
195
|
-
|
|
146
|
+
s(this, "onLineChanged", () => {
|
|
196
147
|
this.hook.emit("editedPolylineChange", this.polyline);
|
|
197
148
|
});
|
|
198
|
-
|
|
149
|
+
s(this, "onWantsSelect", () => {
|
|
199
150
|
if (this.currentMeasureType === "area") {
|
|
200
151
|
const e = this.area.polygon.isBlank || this.area.polygon.visible === !1;
|
|
201
152
|
if (this.area.points.length >= 3 && e)
|
|
202
153
|
return !1;
|
|
203
154
|
}
|
|
204
155
|
});
|
|
205
|
-
|
|
156
|
+
s(this, "wantsMoveToPano", () => {
|
|
206
157
|
if (this.lastPoint)
|
|
207
158
|
return !1;
|
|
208
159
|
});
|
|
@@ -211,13 +162,13 @@ class ui extends z {
|
|
|
211
162
|
* 2. 把上一个点的位置更新为当前点的位置
|
|
212
163
|
* 3. 清除 pointSelector
|
|
213
164
|
*/
|
|
214
|
-
|
|
215
|
-
var
|
|
165
|
+
s(this, "onSelect", () => {
|
|
166
|
+
var l, c, u, y;
|
|
216
167
|
this.hasAppendDashed || (this.dashed.distanceItem.appendTo(this.container), this.group.add(this.dashed.mesh), this.currentMeasureType === "area" && this.group.add(this.perpendicularDashed.mesh)), this.hasAppendDashed = !0;
|
|
217
168
|
const e = (() => {
|
|
218
|
-
var
|
|
169
|
+
var o, h;
|
|
219
170
|
if (this.currentMeasureType === "area")
|
|
220
|
-
return this.area.projectPoint((
|
|
171
|
+
return this.area.projectPoint((o = this.pointSelector.position) == null ? void 0 : o.point);
|
|
221
172
|
if (this.currentMeasureType === "line")
|
|
222
173
|
return (h = this.pointSelector.position) == null ? void 0 : h.point;
|
|
223
174
|
})();
|
|
@@ -227,20 +178,20 @@ class ui extends z {
|
|
|
227
178
|
if (i != null && i.position && t.position.equals(i == null ? void 0 : i.position))
|
|
228
179
|
return;
|
|
229
180
|
this.lastPoint = t;
|
|
230
|
-
const n = (
|
|
181
|
+
const n = (o) => {
|
|
231
182
|
if (!this.lastPoint)
|
|
232
183
|
return [];
|
|
233
|
-
const { intersection: h, pointSelectorInstance: L } =
|
|
234
|
-
if (
|
|
184
|
+
const { intersection: h, pointSelectorInstance: L } = o, g = L.pointSelectorHelper.pointHelper, m = new f.Vector3(0, 0, 1).applyQuaternion(g.quaternion);
|
|
185
|
+
if (m.x > 0.9999 || m.y > 0.9999 || m.z > 0.9999 || m.x < -0.9999 || m.y < -0.9999 || m.z < -0.9999) {
|
|
235
186
|
const S = h.point, v = this.lastPoint.position.clone().sub(S);
|
|
236
187
|
L.pointSelectorHelper.updateWithIntersect(h, { emitEvent: !1 });
|
|
237
188
|
const r = new f.Line3(
|
|
238
189
|
g.localToWorld(new f.Vector3(1, 0, 0)).add(v),
|
|
239
190
|
g.localToWorld(new f.Vector3(-1, 0, 0)).add(v)
|
|
240
|
-
),
|
|
191
|
+
), p = new f.Line3(
|
|
241
192
|
g.localToWorld(new f.Vector3(0, 1, 0)).add(v),
|
|
242
193
|
g.localToWorld(new f.Vector3(0, -1, 0)).add(v)
|
|
243
|
-
), A = r.closestPointToPoint(S, !1, new f.Vector3()), P =
|
|
194
|
+
), A = r.closestPointToPoint(S, !1, new f.Vector3()), P = p.closestPointToPoint(S, !1, new f.Vector3());
|
|
244
195
|
return [A, P];
|
|
245
196
|
}
|
|
246
197
|
return [];
|
|
@@ -250,8 +201,8 @@ class ui extends z {
|
|
|
250
201
|
const h = new $(i, t, this.model);
|
|
251
202
|
h.distanceItem.setCanSelect(!1), h.distanceItem.appendTo(this.container), this.polyline.addLine(h), this.group.add(h.mesh), h.distanceItem.update(this.five);
|
|
252
203
|
}
|
|
253
|
-
const
|
|
254
|
-
typeof
|
|
204
|
+
const o = (c = (l = this.editParams) == null ? void 0 : l.autoEndConfig) == null ? void 0 : c.line;
|
|
205
|
+
typeof o == "number" && (this.polyline.getPointLength() >= o ? this.complete() : this.polyline.getPointLength() === o - 1 && this.hook.emit("readyComplete")), this.hook.emit("pointsChange", this.polyline.points);
|
|
255
206
|
} else if (this.currentMeasureType === "area") {
|
|
256
207
|
if (this.area.addPoints(t.position), this.area.isClosed) {
|
|
257
208
|
this.complete();
|
|
@@ -261,26 +212,26 @@ class ui extends z {
|
|
|
261
212
|
var L;
|
|
262
213
|
return [this.area.points[0], ...(L = n(...h)) != null ? L : []];
|
|
263
214
|
});
|
|
264
|
-
const
|
|
265
|
-
typeof
|
|
215
|
+
const o = (y = (u = this.editParams) == null ? void 0 : u.autoEndConfig) == null ? void 0 : y.area;
|
|
216
|
+
typeof o == "number" && (this.area.points.length >= o ? this.complete() : this.area.points.length === o - 1 && this.hook.emit("readyComplete")), this.hook.emit("pointsChange", this.area.points);
|
|
266
217
|
}
|
|
267
218
|
this.updateDashed(), this.five.needsRender = !0, this.hook.emit("anchorChange", t.position);
|
|
268
219
|
});
|
|
269
220
|
/** 移动全景时更新 distanceItem 在屏幕上的位置 */
|
|
270
|
-
|
|
221
|
+
s(this, "onCameraUpdate", () => {
|
|
271
222
|
this.updateDistanceUI();
|
|
272
223
|
});
|
|
273
224
|
/** 更新虚线 */
|
|
274
|
-
|
|
225
|
+
s(this, "updateDashed", () => {
|
|
275
226
|
var i;
|
|
276
227
|
if (!this.lastPoint)
|
|
277
228
|
return;
|
|
278
229
|
const e = this.lastPoint.position, t = (() => {
|
|
279
|
-
var n,
|
|
230
|
+
var n, l;
|
|
280
231
|
if (this.currentMeasureType === "area")
|
|
281
232
|
return this.area.projectPoint((n = this.pointSelector.position) == null ? void 0 : n.point);
|
|
282
233
|
if (this.currentMeasureType === "line")
|
|
283
|
-
return (
|
|
234
|
+
return (l = this.pointSelector.position) == null ? void 0 : l.point;
|
|
284
235
|
})();
|
|
285
236
|
if (!t) {
|
|
286
237
|
this.dashed.hide();
|
|
@@ -290,17 +241,17 @@ class ui extends z {
|
|
|
290
241
|
if (this.area.areaItem.setCanSelect(!1), this.area.points.length >= 2) {
|
|
291
242
|
const n = (i = this.pointSelector.position) == null ? void 0 : i.point;
|
|
292
243
|
if (n) {
|
|
293
|
-
const
|
|
294
|
-
this.perpendicularDashed.setPoints(
|
|
244
|
+
const o = n, h = t;
|
|
245
|
+
this.perpendicularDashed.setPoints(o, h), this.perpendicularDashed.show();
|
|
295
246
|
} else
|
|
296
247
|
this.perpendicularDashed.hide();
|
|
297
|
-
const
|
|
298
|
-
if (
|
|
248
|
+
const l = this.area.polyline.lines.map((o) => ({ start: o.points[0].position, end: o.points[1].position })), c = H({ start: e, end: t }, l), u = H({ start: t, end: this.area.points[0] }, l);
|
|
249
|
+
if (c || u)
|
|
299
250
|
this.area.hideArea(), this.hook.emit("allowAddPointStateChange", "forbid");
|
|
300
251
|
else {
|
|
301
252
|
this.area.showArea();
|
|
302
|
-
const
|
|
303
|
-
this.area.polygon.updatePoints(
|
|
253
|
+
const o = [...this.area.points, t];
|
|
254
|
+
this.area.polygon.updatePoints(o), this.area.areaItem.updateArea(this.five), this.hook.emit("allowAddPointStateChange", "allow");
|
|
304
255
|
}
|
|
305
256
|
} else
|
|
306
257
|
this.area.hideArea(), this.perpendicularDashed.hide();
|
|
@@ -308,23 +259,23 @@ class ui extends z {
|
|
|
308
259
|
});
|
|
309
260
|
// ====================================================================================================================================
|
|
310
261
|
// 下面一堆高亮相关
|
|
311
|
-
|
|
262
|
+
s(this, "wantsTapGesture", (e) => {
|
|
312
263
|
var S, v;
|
|
313
264
|
if (this.editParams.pointSelectorMode === "cursor" || this.lastPoint)
|
|
314
265
|
return !1;
|
|
315
|
-
const t = this.model.areas.map((r) => e.intersectObject(r.polygon, !0)[0]).sort((r,
|
|
266
|
+
const t = this.model.areas.map((r) => e.intersectObject(r.polygon, !0)[0]).sort((r, p) => r.distance - p.distance), i = (v = (S = t[0]) == null ? void 0 : S.object) == null ? void 0 : v.parent;
|
|
316
267
|
if (i != null && i.isPolygonMesh) {
|
|
317
|
-
const r = this.model.areas.find((
|
|
268
|
+
const r = this.model.areas.find((p) => p.polygon === i);
|
|
318
269
|
if (r) {
|
|
319
|
-
const { x:
|
|
270
|
+
const { x: p, y: A } = t[0].point.clone().project(this.five.camera), P = `${(p + 1) / 2 * 100}%`, C = `${(-A + 1) / 2 * 100}%`;
|
|
320
271
|
return this.chooseArea(r, { left: P, top: C }), !1;
|
|
321
272
|
}
|
|
322
273
|
}
|
|
323
274
|
const [n] = X(this.five).intersectRaycaster(e);
|
|
324
275
|
if (!n)
|
|
325
276
|
return;
|
|
326
|
-
const
|
|
327
|
-
const [
|
|
277
|
+
const l = this.five.camera, c = n.point.clone().project(l), u = this.container.clientWidth, y = this.container.clientHeight, o = new T(c.x * u, c.y * y), h = this.model.getAllLines().map((r) => {
|
|
278
|
+
const [p, A] = r.points, P = p.position.clone().project(l), C = A.position.clone().project(l);
|
|
328
279
|
if (!U(P) && !U(C))
|
|
329
280
|
return null;
|
|
330
281
|
const V = new T(P.x * u, P.y * y), W = new T(C.x * u, C.y * y);
|
|
@@ -333,40 +284,40 @@ class ui extends z {
|
|
|
333
284
|
if (h.length === 0)
|
|
334
285
|
return;
|
|
335
286
|
const g = h.map((r) => {
|
|
336
|
-
const
|
|
337
|
-
return { id: r.id, distance:
|
|
338
|
-
}).sort((r,
|
|
287
|
+
const p = Q(o, r.points);
|
|
288
|
+
return { id: r.id, distance: p.distanceTo(o) };
|
|
289
|
+
}).sort((r, p) => r.distance - p.distance)[0];
|
|
339
290
|
if (g.distance > 20)
|
|
340
291
|
return;
|
|
341
|
-
const
|
|
342
|
-
if (
|
|
343
|
-
return this.chooseLine(
|
|
292
|
+
const m = this.model.getAllLines().find(({ id: r }) => r === g.id);
|
|
293
|
+
if (m)
|
|
294
|
+
return this.chooseLine(m), !1;
|
|
344
295
|
});
|
|
345
|
-
|
|
296
|
+
s(this, "chooseLine", (e) => {
|
|
346
297
|
const t = e.getPolyline().lines;
|
|
347
298
|
this.deleteDom.setTarget(t).setLines(t).updatePosition().show(), this.highlightLines(t), this.hook.emit("selectedChange", t);
|
|
348
299
|
});
|
|
349
|
-
|
|
300
|
+
s(this, "chooseArea", (e, t) => {
|
|
350
301
|
this.deleteDom.setTarget(e).updatePosition(t.left, `calc(${t.top} - 1.5rem)`).show(), this.highlightArea(e);
|
|
351
302
|
});
|
|
352
|
-
|
|
303
|
+
s(this, "deleteArea", (e) => {
|
|
353
304
|
this.unHighlightArea(e), e.dispose(), this.deleteDom.hide();
|
|
354
305
|
});
|
|
355
|
-
|
|
306
|
+
s(this, "deleteLine", (e) => {
|
|
356
307
|
const t = e[0], i = this.model.getPolylineByLine(t);
|
|
357
308
|
i && (this.model.removePolyline(i), i.lines.forEach((n) => this.removeLine(n)), this.deleteDom.setLines([]).hide());
|
|
358
309
|
});
|
|
359
310
|
this.fiveElement = this.five.getElement(), this.deleteDom = new N(this.five, {
|
|
360
311
|
i18n: this.config.i18n,
|
|
361
312
|
onClick: (t, i) => {
|
|
362
|
-
var
|
|
363
|
-
const n = i.type === "area",
|
|
364
|
-
n && this.deleteArea(i),
|
|
313
|
+
var c;
|
|
314
|
+
const n = i.type === "area", l = Array.isArray(i) && ((c = i[0]) == null ? void 0 : c.type) === "line";
|
|
315
|
+
n && this.deleteArea(i), l && this.deleteLine(i);
|
|
365
316
|
},
|
|
366
317
|
cancel: (t) => {
|
|
367
|
-
var
|
|
318
|
+
var l;
|
|
368
319
|
this.deleteDom.hide();
|
|
369
|
-
const i = t.type === "area", n = Array.isArray(t) && ((
|
|
320
|
+
const i = t.type === "area", n = Array.isArray(t) && ((l = t[0]) == null ? void 0 : l.type) === "line";
|
|
370
321
|
i && this.unHighlightArea(t), n && this.unHighlightLines(t);
|
|
371
322
|
}
|
|
372
323
|
}).appendTo(this.container), this.pointSelector = new F(this.five, M(k({}, this.pointSelectorConfig), {
|
|
@@ -420,5 +371,5 @@ class ui extends z {
|
|
|
420
371
|
}
|
|
421
372
|
}
|
|
422
373
|
export {
|
|
423
|
-
|
|
374
|
+
Lt as default
|
|
424
375
|
};
|
|
@@ -16,6 +16,7 @@ import "../../shared-utils/uuid.js";
|
|
|
16
16
|
import "../utils/line.js";
|
|
17
17
|
import "../../shared-utils/five/FiveLine.js";
|
|
18
18
|
import "@realsee/five/line";
|
|
19
|
+
import "../../shared-utils/isNil.js";
|
|
19
20
|
import "../utils/constants.js";
|
|
20
21
|
import "@realsee/five";
|
|
21
22
|
import "../utils/dom/distanceItem.js";
|
|
@@ -32,7 +33,7 @@ import "../../shared-utils/animationFrame/index.js";
|
|
|
32
33
|
import "../../shared-utils/noop.js";
|
|
33
34
|
import "../utils/mouseGroup.js";
|
|
34
35
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
35
|
-
class
|
|
36
|
+
class pe extends M {
|
|
36
37
|
constructor(e) {
|
|
37
38
|
super(e);
|
|
38
39
|
t(this, "state", "watching");
|
|
@@ -146,5 +147,5 @@ class me extends M {
|
|
|
146
147
|
}
|
|
147
148
|
}
|
|
148
149
|
export {
|
|
149
|
-
|
|
150
|
+
pe as default
|
|
150
151
|
};
|
|
@@ -9,6 +9,7 @@ import "../../shared-utils/uuid.js";
|
|
|
9
9
|
import "../utils/line.js";
|
|
10
10
|
import "../../shared-utils/five/FiveLine.js";
|
|
11
11
|
import "@realsee/five/line";
|
|
12
|
+
import "../../shared-utils/isNil.js";
|
|
12
13
|
import "../utils/constants.js";
|
|
13
14
|
import "@realsee/five";
|
|
14
15
|
import "../utils/dom/distanceItem.js";
|
|
@@ -17,7 +18,7 @@ import "../utils/isNDCPointInScreen.js";
|
|
|
17
18
|
import "../../shared-utils/three/centerPoint.js";
|
|
18
19
|
import "../Model/point.js";
|
|
19
20
|
import "../utils/ironbox.js";
|
|
20
|
-
class
|
|
21
|
+
class S extends v {
|
|
21
22
|
constructor(i) {
|
|
22
23
|
super(i);
|
|
23
24
|
s(this, "type", "view");
|
|
@@ -81,5 +82,5 @@ class R extends v {
|
|
|
81
82
|
}
|
|
82
83
|
}
|
|
83
84
|
export {
|
|
84
|
-
|
|
85
|
+
S as default
|
|
85
86
|
};
|