@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as p from "three";
|
|
2
2
|
import { Subscribe as yo, Five as To } from "@realsee/five";
|
|
3
3
|
import { CSS3DRenderPlugin as Mo } from "../CSS3DRenderPlugin/index.js";
|
|
4
4
|
import Po from "./Components/origins.js";
|
|
@@ -43,82 +43,34 @@ import "../Sculpt/Meshes/Line.js";
|
|
|
43
43
|
import "../Sculpt/typings/style.js";
|
|
44
44
|
import "../shared-utils/five/FiveLine.js";
|
|
45
45
|
import "@realsee/five/line";
|
|
46
|
-
import "../
|
|
47
|
-
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
48
|
-
import "../vendor/three/build/three.module.js";
|
|
46
|
+
import "../shared-utils/isNil.js";
|
|
49
47
|
import "../shared-utils/three/IObject3D.js";
|
|
50
48
|
import "../Sculpt/utils/removeAllTag.js";
|
|
51
49
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
52
50
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
53
51
|
import "../shared-utils/util.js";
|
|
52
|
+
import "../shared-utils/three/core/LineGeometry.js";
|
|
54
53
|
import "../shared-utils/three/core/Sphere.js";
|
|
55
54
|
import "animejs";
|
|
56
|
-
import "../shared-utils/isNil.js";
|
|
57
55
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
58
|
-
import "../Sculpt/Meshes/Polygon.js";
|
|
59
|
-
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
60
|
-
import "../shared-utils/three/earcut3D.js";
|
|
61
|
-
import "earcut";
|
|
62
|
-
import "../shared-utils/three/getNormal.js";
|
|
63
|
-
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
64
|
-
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
65
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
66
|
-
import "../Sculpt/utils/Modules/Cursor.js";
|
|
67
|
-
import "../Object3DHelperPlugin/Controller.js";
|
|
68
|
-
import "../base/BasePlugin.js";
|
|
69
|
-
import "../shared-utils/url/absoluteUrl.js";
|
|
70
|
-
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
71
|
-
import "../Sculpt/utils/three/rayOnLine.js";
|
|
72
|
-
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
73
|
-
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
74
|
-
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
75
|
-
import "../shared-utils/three/boundingBox.js";
|
|
76
|
-
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
77
|
-
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
78
|
-
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
79
|
-
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
80
|
-
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
81
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
82
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
83
|
-
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
84
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
85
|
-
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
86
|
-
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
87
|
-
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
88
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
89
|
-
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
90
|
-
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
91
|
-
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
92
|
-
import "../shared-utils/Object3DHelper/index.js";
|
|
93
|
-
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
94
|
-
import "../shared-utils/math/rad2Deg.js";
|
|
95
|
-
import "../shared-utils/math/deg2Rad.js";
|
|
96
|
-
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
97
|
-
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
98
|
-
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
99
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
100
|
-
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
101
|
-
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
102
|
-
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
103
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
104
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
105
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
106
|
-
import "../shared-utils/isTouchDevice.js";
|
|
107
|
-
import "../shared-utils/three/geometryUtil.js";
|
|
108
56
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
57
|
+
import "../shared-utils/isTouchDevice.js";
|
|
109
58
|
import "../shared-utils/five/getPosition.js";
|
|
110
59
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
111
60
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
112
61
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
113
62
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
114
63
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
64
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
65
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
66
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
115
67
|
import "../vendor/svelte/internal/index.js";
|
|
116
68
|
import "./store.js";
|
|
117
69
|
import "../vendor/svelte/store/index.js";
|
|
118
|
-
const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png",
|
|
70
|
+
const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", He = (n, r) => {
|
|
119
71
|
var k, z, q, B, G, J, K, Q;
|
|
120
72
|
let j = r == null ? void 0 : r.container, y = 1.4;
|
|
121
|
-
const oo = (k = r == null ? void 0 : r.wait) != null ? k : 200,
|
|
73
|
+
const oo = (k = r == null ? void 0 : r.wait) != null ? k : 200, eo = (z = r == null ? void 0 : r.maxNumberOnScreen) != null ? z : 3, I = (q = r == null ? void 0 : r.minRad) != null ? q : Math.PI / 4, L = (B = r == null ? void 0 : r.nearTolerance) != null ? B : 100, to = (G = r == null ? void 0 : r.upsideHeight) != null ? G : 1.6, A = (J = r == null ? void 0 : r.minDistance) != null ? J : 1.2, f = (K = r == null ? void 0 : r.maxDistance) != null ? K : 3.5, C = Mo(n), S = document.createElement("div");
|
|
122
74
|
S.classList.add("PanoSpatialTagPlugin"), Object.assign(S.style, Eo);
|
|
123
75
|
const V = new yo();
|
|
124
76
|
let Z = new Image();
|
|
@@ -136,203 +88,203 @@ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoS
|
|
|
136
88
|
}, Y = new Po({
|
|
137
89
|
target: S,
|
|
138
90
|
props: { origins: o.origins }
|
|
139
|
-
}), _ = (
|
|
91
|
+
}), _ = (e, s) => {
|
|
140
92
|
T(), s && M();
|
|
141
93
|
}, F = () => {
|
|
142
94
|
o.forbidden && (o.forbidden = !1, M());
|
|
143
|
-
}, H = (
|
|
95
|
+
}, H = (e, s) => {
|
|
144
96
|
if (o.tags.length === 0)
|
|
145
97
|
return;
|
|
146
|
-
const
|
|
147
|
-
|
|
148
|
-
const g = new
|
|
149
|
-
P.multiplyMatrices(
|
|
150
|
-
const $ =
|
|
151
|
-
if ($ < A || $ > f || !g.containsPoint(
|
|
152
|
-
return
|
|
153
|
-
const x =
|
|
154
|
-
if (x.angleTo(
|
|
155
|
-
return
|
|
156
|
-
}), o.tags.forEach((
|
|
157
|
-
|
|
158
|
-
contentZoom: 0.1 +
|
|
159
|
-
lineWidthZoom: 0.38 * (0.01 +
|
|
160
|
-
destroying:
|
|
161
|
-
}) :
|
|
162
|
-
lineWidthZoom: 0.38 * (0.01 +
|
|
163
|
-
lineHeightZoom: 0.4 + (
|
|
164
|
-
contentZoom: 0.1 +
|
|
98
|
+
const a = s.longitude - n.state.longitude, t = n.camera.clone();
|
|
99
|
+
t.position.copy(s.offset), t.rotateOnWorldAxis(new p.Vector3(0, 1, 0), a), t.updateProjectionMatrix(), t.updateMatrixWorld(!0);
|
|
100
|
+
const g = new p.Frustum(), P = new p.Matrix4();
|
|
101
|
+
P.multiplyMatrices(t.projectionMatrix, t.matrixWorldInverse), g.setFromProjectionMatrix(P), o.tags.forEach((i) => {
|
|
102
|
+
const $ = t.position.clone().setY(y).distanceTo(i.position);
|
|
103
|
+
if ($ < A || $ > f || !g.containsPoint(i.position))
|
|
104
|
+
return i.destroying = !0;
|
|
105
|
+
const x = i.position.clone().sub(t.position).setY(0);
|
|
106
|
+
if (x.angleTo(i.normal) > Math.PI / 2 - I && x.angleTo(i.normal) < Math.PI / 2 + I)
|
|
107
|
+
return i.destroying = !0;
|
|
108
|
+
}), o.tags.forEach((i) => {
|
|
109
|
+
i.destroying ? i.app.$set({
|
|
110
|
+
contentZoom: 0.1 + t.position.distanceTo(i.position) / f,
|
|
111
|
+
lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(i.position) / f),
|
|
112
|
+
destroying: i.destroying
|
|
113
|
+
}) : i.app.$set({
|
|
114
|
+
lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(i.position) / f),
|
|
115
|
+
lineHeightZoom: 0.4 + (t.position.distanceTo(i.position) - A) / f * 0.6,
|
|
116
|
+
contentZoom: 0.1 + t.position.distanceTo(i.position) / f
|
|
165
117
|
});
|
|
166
118
|
}), setTimeout(() => {
|
|
167
|
-
o.tags.forEach((
|
|
168
|
-
|
|
169
|
-
}), o.tags = o.tags.filter((
|
|
119
|
+
o.tags.forEach((i) => {
|
|
120
|
+
i.destroying && (i.app.$destroy(), i = null);
|
|
121
|
+
}), o.tags = o.tags.filter((i) => !i.destroying), T();
|
|
170
122
|
}, 1900);
|
|
171
|
-
}, N = (
|
|
172
|
-
|
|
123
|
+
}, N = (e) => {
|
|
124
|
+
e !== To.Mode.Panorama && !o.forbidden && (Y.$set({ origins: [] }), o.tags.forEach((s) => {
|
|
173
125
|
s.app.$destroy(), s = null;
|
|
174
126
|
}), o.origins = [], o.tags = [], o.forbidden = !0);
|
|
175
127
|
}, T = () => {
|
|
176
128
|
if (o.forbidden || !o.enabled)
|
|
177
129
|
return;
|
|
178
|
-
const
|
|
179
|
-
o.origins = o.tags.map((
|
|
180
|
-
const
|
|
130
|
+
const e = n.camera, s = e.getWorldDirection(new p.Vector3());
|
|
131
|
+
o.origins = o.tags.map((a) => {
|
|
132
|
+
const t = a.position.clone().project(e), g = a.position.clone().sub(e.position).setY(0).angleTo(s.setY(0)) < Math.PI / 2;
|
|
181
133
|
return {
|
|
182
|
-
id:
|
|
134
|
+
id: a.id,
|
|
183
135
|
front: g,
|
|
184
|
-
left: (
|
|
185
|
-
top: (-
|
|
186
|
-
destroying:
|
|
136
|
+
left: (t.x + 1) / 2 * 100,
|
|
137
|
+
top: (-t.y + 1) / 2 * 100,
|
|
138
|
+
destroying: a.destroying
|
|
187
139
|
};
|
|
188
140
|
}), Y.$set({ origins: o.origins });
|
|
189
141
|
}, M = () => {
|
|
190
142
|
o.forbidden || !o.enabled || (o.timeoutId && clearTimeout(o.timeoutId), o.timeoutId = setTimeout(() => {
|
|
191
143
|
o.timeoutId = void 0;
|
|
192
|
-
const
|
|
193
|
-
|
|
144
|
+
const e = no();
|
|
145
|
+
e.length && (o.tags = o.tags.concat(e), T());
|
|
194
146
|
}, oo));
|
|
195
|
-
},
|
|
196
|
-
const { clientWidth:
|
|
197
|
-
P.multiplyMatrices(
|
|
198
|
-
const $ = o.tags.filter((
|
|
199
|
-
if (o.tags.find((
|
|
200
|
-
return
|
|
201
|
-
const u =
|
|
202
|
-
if (u < A || u > f || !g.containsPoint(
|
|
203
|
-
return
|
|
204
|
-
const E =
|
|
205
|
-
if (E.angleTo(
|
|
206
|
-
return
|
|
207
|
-
const w =
|
|
208
|
-
if (!o.tags.every((
|
|
209
|
-
if (
|
|
147
|
+
}, no = () => {
|
|
148
|
+
const { clientWidth: e, clientHeight: s } = n.getElement(), a = [], t = n.camera, g = new p.Frustum(), P = new p.Matrix4(), i = t.getWorldDirection(new p.Vector3());
|
|
149
|
+
P.multiplyMatrices(t.projectionMatrix, t.matrixWorldInverse), g.setFromProjectionMatrix(P);
|
|
150
|
+
const $ = o.tags.filter((d) => g.containsPoint(d.position) && !d.destroying).length, x = o.points.reduce((d, m) => {
|
|
151
|
+
if (o.tags.find((l) => m.id === l.id && !l.destroying))
|
|
152
|
+
return d;
|
|
153
|
+
const u = t.position.clone().setY(y).distanceTo(m.position);
|
|
154
|
+
if (u < A || u > f || !g.containsPoint(m.position))
|
|
155
|
+
return d;
|
|
156
|
+
const E = m.position.clone().sub(t.position).setY(0);
|
|
157
|
+
if (E.angleTo(m.normal) > Math.PI / 2 - I && E.angleTo(m.normal) < Math.PI / 2 + I)
|
|
158
|
+
return d;
|
|
159
|
+
const w = m.position.clone().project(t);
|
|
160
|
+
if (!o.tags.every((l) => {
|
|
161
|
+
if (l.position.clone().sub(t.position).setY(0).angleTo(i.setY(0)) > Math.PI / 2)
|
|
210
162
|
return !0;
|
|
211
|
-
const b =
|
|
212
|
-
return Math.sqrt(Math.pow((w.x - b.x) / 2 *
|
|
163
|
+
const b = l.position.clone().project(t);
|
|
164
|
+
return Math.sqrt(Math.pow((w.x - b.x) / 2 * e, 2) + Math.pow((w.y - b.y) / 2 * s, 2)) > L;
|
|
213
165
|
}))
|
|
214
|
-
return
|
|
166
|
+
return d;
|
|
215
167
|
const h = {
|
|
216
|
-
id:
|
|
217
|
-
position:
|
|
218
|
-
normal:
|
|
219
|
-
replacement:
|
|
220
|
-
weight:
|
|
168
|
+
id: m.id,
|
|
169
|
+
position: m.position,
|
|
170
|
+
normal: m.normal,
|
|
171
|
+
replacement: m.replacement,
|
|
172
|
+
weight: m.weight,
|
|
221
173
|
distance: u
|
|
222
174
|
};
|
|
223
175
|
let c;
|
|
224
|
-
for (let
|
|
225
|
-
const O =
|
|
176
|
+
for (let l = 0, b = d.length; l < b; l++) {
|
|
177
|
+
const O = d[l];
|
|
226
178
|
if (h.weight > O.weight) {
|
|
227
|
-
c =
|
|
179
|
+
c = l;
|
|
228
180
|
break;
|
|
229
181
|
}
|
|
230
182
|
if (h.distance < O.distance) {
|
|
231
|
-
c =
|
|
183
|
+
c = l;
|
|
232
184
|
break;
|
|
233
185
|
}
|
|
234
186
|
}
|
|
235
|
-
return c !== void 0 ?
|
|
187
|
+
return c !== void 0 ? d.splice(c, 0, h) : d.push(h), d;
|
|
236
188
|
}, []);
|
|
237
|
-
for (let
|
|
238
|
-
const u = x[
|
|
239
|
-
if (
|
|
189
|
+
for (let d = 0, m = x.length; d < m && !($ + a.length >= eo); d++) {
|
|
190
|
+
const u = x[d];
|
|
191
|
+
if (a.find((c) => u.id === c.id))
|
|
240
192
|
continue;
|
|
241
|
-
const E = u.position.clone().project(
|
|
242
|
-
if (!o.tags.concat(
|
|
243
|
-
if (c.position.clone().sub(
|
|
193
|
+
const E = u.position.clone().project(t);
|
|
194
|
+
if (!o.tags.concat(a).every((c) => {
|
|
195
|
+
if (c.position.clone().sub(t.position).setY(0).angleTo(i.setY(0)) > Math.PI / 2)
|
|
244
196
|
return !0;
|
|
245
|
-
const
|
|
246
|
-
return Math.sqrt(Math.pow((E.x -
|
|
197
|
+
const l = c.position.clone().project(t);
|
|
198
|
+
return Math.sqrt(Math.pow((E.x - l.x) / 2 * e, 2) + Math.pow((E.y - l.y) / 2 * s, 2)) > L;
|
|
247
199
|
}))
|
|
248
200
|
continue;
|
|
249
|
-
const w = new
|
|
250
|
-
|
|
251
|
-
u.position.clone().sub(
|
|
201
|
+
const w = new p.Raycaster(
|
|
202
|
+
t.position.clone().setY(y),
|
|
203
|
+
u.position.clone().sub(t.position.clone().setY(y)).normalize(),
|
|
252
204
|
0,
|
|
253
205
|
u.distance + v
|
|
254
|
-
), [h] = o.intersectObjects ? w.intersectObjects(o.intersectObjects, !0) :
|
|
206
|
+
), [h] = o.intersectObjects ? w.intersectObjects(o.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(w) : w.intersectObjects(n.model.children, !0);
|
|
255
207
|
if (h && u.distance - h.distance < v) {
|
|
256
|
-
const { position: c, normal:
|
|
208
|
+
const { position: c, normal: l, id: b, replacement: O } = u, fo = new p.Plane().setFromNormalAndCoplanarPoint(l, c), X = c.clone().sub(t.position).cross(new p.Vector3(0, 1, 0)).setLength(D), uo = [
|
|
257
209
|
c.clone(),
|
|
258
210
|
c.clone().add(X),
|
|
259
|
-
c.clone().add(new
|
|
260
|
-
c.clone().add(new
|
|
261
|
-
].map((wo) => fo.projectPoint(wo, new
|
|
211
|
+
c.clone().add(new p.Vector3(0, D, 0)).add(X),
|
|
212
|
+
c.clone().add(new p.Vector3(0, D, 0))
|
|
213
|
+
].map((wo) => fo.projectPoint(wo, new p.Vector3())), { container: go, dispose: ho } = C.create3DDomContainer(uo) || {}, bo = new xo({
|
|
262
214
|
target: go,
|
|
263
215
|
props: {
|
|
264
216
|
id: b,
|
|
265
217
|
content: o.render(o.template, O),
|
|
266
|
-
lineWidthZoom: 0.38 * (0.01 +
|
|
267
|
-
lineHeightZoom: 0.4 + (
|
|
268
|
-
contentZoom: 0.1 +
|
|
269
|
-
upsideDown: c.y >
|
|
218
|
+
lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(c) / f),
|
|
219
|
+
lineHeightZoom: 0.4 + (t.position.distanceTo(c) - A) / f * 0.6,
|
|
220
|
+
contentZoom: 0.1 + t.position.distanceTo(c) / f,
|
|
221
|
+
upsideDown: c.y > to,
|
|
270
222
|
folded: o.folded,
|
|
271
223
|
events: o.events,
|
|
272
224
|
hooks: V,
|
|
273
225
|
dispose: ho
|
|
274
226
|
}
|
|
275
227
|
});
|
|
276
|
-
|
|
228
|
+
a.push({
|
|
277
229
|
position: c,
|
|
278
|
-
normal:
|
|
230
|
+
normal: l,
|
|
279
231
|
id: b,
|
|
280
232
|
app: bo
|
|
281
233
|
});
|
|
282
234
|
}
|
|
283
235
|
}
|
|
284
|
-
return
|
|
285
|
-
},
|
|
286
|
-
o.points =
|
|
287
|
-
var
|
|
236
|
+
return a;
|
|
237
|
+
}, io = (e) => {
|
|
238
|
+
o.points = e.points.map((s) => {
|
|
239
|
+
var a, t;
|
|
288
240
|
return {
|
|
289
241
|
id: s.id,
|
|
290
|
-
position: new
|
|
291
|
-
normal: new
|
|
292
|
-
replacement: (
|
|
293
|
-
weight: (
|
|
242
|
+
position: new p.Vector3().fromArray(s.position),
|
|
243
|
+
normal: new p.Vector3().fromArray(s.normal),
|
|
244
|
+
replacement: (a = s.replacement) != null ? a : {},
|
|
245
|
+
weight: (t = s.weight) != null ? t : -1
|
|
294
246
|
};
|
|
295
|
-
}),
|
|
296
|
-
}, ro = (
|
|
297
|
-
o.intersectObjects =
|
|
247
|
+
}), e.render && (o.render = e.render), e.template && (o.template = e.template), e.events && (o.events = e.events), e.enabled === !1 && (o.enabled = e.enabled), e.folded === !0 && (o.folded = e.folded);
|
|
248
|
+
}, ro = (e) => {
|
|
249
|
+
o.intersectObjects = e, M();
|
|
298
250
|
}, so = () => {
|
|
299
251
|
o.enabled = !0, M();
|
|
300
252
|
}, co = () => {
|
|
301
|
-
o.enabled = !1, Y.$set({ origins: [] }), o.tags.forEach((
|
|
302
|
-
|
|
253
|
+
o.enabled = !1, Y.$set({ origins: [] }), o.tags.forEach((e) => {
|
|
254
|
+
e.app.$destroy(), e = null;
|
|
303
255
|
}), o.origins = [], o.tags = [];
|
|
304
|
-
},
|
|
305
|
-
o.folded = !1, o.tags.forEach((
|
|
306
|
-
|
|
256
|
+
}, lo = () => {
|
|
257
|
+
o.folded = !1, o.tags.forEach((e) => {
|
|
258
|
+
e.app.$set({ folded: o.folded });
|
|
307
259
|
});
|
|
308
|
-
},
|
|
309
|
-
o.folded = !0, o.tags.forEach((
|
|
310
|
-
|
|
260
|
+
}, po = () => {
|
|
261
|
+
o.folded = !0, o.tags.forEach((e) => {
|
|
262
|
+
e.app.$set({ folded: o.folded });
|
|
311
263
|
});
|
|
312
|
-
},
|
|
264
|
+
}, ao = (e) => {
|
|
313
265
|
o.tags.forEach((s) => {
|
|
314
|
-
s.id ===
|
|
266
|
+
s.id === e && s.app.$set({ folded: !1 });
|
|
315
267
|
});
|
|
316
|
-
},
|
|
268
|
+
}, mo = (e) => {
|
|
317
269
|
o.tags.forEach((s) => {
|
|
318
|
-
s.id ===
|
|
270
|
+
s.id === e && s.app.$set({ folded: !0 });
|
|
319
271
|
});
|
|
320
272
|
}, U = () => {
|
|
321
|
-
|
|
273
|
+
n.once("renderFrame", T);
|
|
322
274
|
}, R = () => {
|
|
323
|
-
j || (j =
|
|
275
|
+
j || (j = n.getElement().parentElement), j && j.appendChild(S), o.forbidden = !1, y = n.model.bounding.getCenter(new p.Vector3()).y, M(), n.on("panoWillArrive", H), n.on("panoArrived", F), n.on("modeChange", N), n.on("cameraUpdate", _);
|
|
324
276
|
}, W = () => {
|
|
325
|
-
Z = null, C.disposeAll(), Y.$destroy(), o.tags.forEach((
|
|
326
|
-
|
|
327
|
-
}), o.origins = [], o.tags = [],
|
|
277
|
+
Z = null, C.disposeAll(), Y.$destroy(), o.tags.forEach((e) => {
|
|
278
|
+
e.app.$destroy(), e = null;
|
|
279
|
+
}), o.origins = [], o.tags = [], n.off("modelLoaded", R), n.off("renderFrame", T), n.off("panoWillArrive", H), n.off("panoArrived", F), n.off("modeChange", N), n.off("cameraUpdate", _), n.off("dispose", W), window.removeEventListener("resize", U, !1);
|
|
328
280
|
};
|
|
329
|
-
return window.addEventListener("resize", U, !1), (Q =
|
|
330
|
-
load:
|
|
281
|
+
return window.addEventListener("resize", U, !1), (Q = n == null ? void 0 : n.model) != null && Q.loaded ? R() : n.once("modelLoaded", R), n.on("dispose", W), {
|
|
282
|
+
load: io,
|
|
331
283
|
setIntersectObjects: ro,
|
|
332
|
-
unfoldAll:
|
|
333
|
-
foldAll:
|
|
334
|
-
unfold:
|
|
335
|
-
fold:
|
|
284
|
+
unfoldAll: lo,
|
|
285
|
+
foldAll: po,
|
|
286
|
+
unfold: ao,
|
|
287
|
+
fold: mo,
|
|
336
288
|
enable: so,
|
|
337
289
|
disable: co,
|
|
338
290
|
hooks: V,
|
|
@@ -340,6 +292,6 @@ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoS
|
|
|
340
292
|
};
|
|
341
293
|
};
|
|
342
294
|
export {
|
|
343
|
-
|
|
344
|
-
|
|
295
|
+
He as PanoSpatialTagPlugin,
|
|
296
|
+
He as default
|
|
345
297
|
};
|
|
@@ -40,75 +40,27 @@ import "../Sculpt/Meshes/Line.js";
|
|
|
40
40
|
import "../Sculpt/typings/style.js";
|
|
41
41
|
import "../shared-utils/five/FiveLine.js";
|
|
42
42
|
import "@realsee/five/line";
|
|
43
|
-
import "../
|
|
44
|
-
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
45
|
-
import "../vendor/three/build/three.module.js";
|
|
43
|
+
import "../shared-utils/isNil.js";
|
|
46
44
|
import "../shared-utils/three/IObject3D.js";
|
|
47
45
|
import "../Sculpt/utils/removeAllTag.js";
|
|
48
46
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
49
47
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
50
48
|
import "../shared-utils/util.js";
|
|
49
|
+
import "../shared-utils/three/core/LineGeometry.js";
|
|
51
50
|
import "../shared-utils/three/core/Sphere.js";
|
|
52
51
|
import "animejs";
|
|
53
|
-
import "../shared-utils/isNil.js";
|
|
54
52
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
55
|
-
import "../Sculpt/Meshes/Polygon.js";
|
|
56
|
-
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
57
|
-
import "../shared-utils/three/earcut3D.js";
|
|
58
|
-
import "earcut";
|
|
59
|
-
import "../shared-utils/three/getNormal.js";
|
|
60
|
-
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
61
|
-
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
62
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
63
|
-
import "../Sculpt/utils/Modules/Cursor.js";
|
|
64
|
-
import "../Object3DHelperPlugin/Controller.js";
|
|
65
|
-
import "../base/BasePlugin.js";
|
|
66
|
-
import "../shared-utils/url/absoluteUrl.js";
|
|
67
|
-
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
68
|
-
import "../Sculpt/utils/three/rayOnLine.js";
|
|
69
|
-
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
70
|
-
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
71
|
-
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
72
|
-
import "../shared-utils/three/boundingBox.js";
|
|
73
|
-
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
74
|
-
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
75
|
-
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
76
|
-
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
77
|
-
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
78
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
79
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
80
|
-
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
81
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
82
|
-
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
83
|
-
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
84
|
-
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
85
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
86
|
-
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
87
|
-
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
88
|
-
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
89
|
-
import "../shared-utils/Object3DHelper/index.js";
|
|
90
|
-
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
91
|
-
import "../shared-utils/math/rad2Deg.js";
|
|
92
|
-
import "../shared-utils/math/deg2Rad.js";
|
|
93
|
-
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
94
|
-
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
95
|
-
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
96
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
97
|
-
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
98
|
-
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
99
|
-
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
100
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
101
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
102
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
103
|
-
import "../shared-utils/isTouchDevice.js";
|
|
104
|
-
import "../shared-utils/three/geometryUtil.js";
|
|
105
53
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
54
|
+
import "../shared-utils/isTouchDevice.js";
|
|
106
55
|
import "../shared-utils/five/getPosition.js";
|
|
107
56
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
108
57
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
109
58
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
110
59
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
111
60
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
61
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
62
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
63
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
112
64
|
import "./Components/origins.js";
|
|
113
65
|
import "../vendor/svelte/internal/index.js";
|
|
114
66
|
import "./store.js";
|