@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
|
@@ -9,14 +9,9 @@ import "hammerjs";
|
|
|
9
9
|
import "../../../shared-utils/three/PointSelector/index.js";
|
|
10
10
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
11
11
|
import "@realsee/five/line";
|
|
12
|
-
import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
13
12
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
14
13
|
import "animejs";
|
|
15
14
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
16
|
-
import "../../../Sculpt/Meshes/Polygon.js";
|
|
17
|
-
import "../../../Sculpt/utils/Modules/Global.js";
|
|
18
|
-
import "../../../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
19
|
-
import "../../../Sculpt/utils/three/rayOnLine.js";
|
|
20
15
|
import "../../../vendor/svelte/transition/index.js";
|
|
21
16
|
import "../../../vendor/svelte/easing/index.js";
|
|
22
17
|
import "../../utils/noTypecheck.js";
|
|
@@ -59,75 +54,25 @@ import "../../../Sculpt/utils/removeAllTag.js";
|
|
|
59
54
|
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
60
55
|
import "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
61
56
|
import "../../../shared-utils/util.js";
|
|
57
|
+
import "../../../shared-utils/three/core/LineGeometry.js";
|
|
62
58
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
63
59
|
import "../../../shared-utils/isTouchDevice.js";
|
|
64
60
|
import "../../../shared-utils/five/getPosition.js";
|
|
65
61
|
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
66
62
|
import "../../../shared-utils/three/PointSelector/utils/contents.js";
|
|
67
|
-
import "../../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
68
|
-
import "../../../vendor/three/build/three.module.js";
|
|
69
|
-
import "../../../shared-utils/three/generatePolygonGeometry.js";
|
|
70
|
-
import "../../../shared-utils/three/earcut3D.js";
|
|
71
|
-
import "earcut";
|
|
72
|
-
import "../../../shared-utils/three/getNormal.js";
|
|
73
|
-
import "../../../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
74
|
-
import "../../../Sculpt/utils/three/ColoredMesh.js";
|
|
75
|
-
import "../../../shared-utils/three/geometryUtil.js";
|
|
76
|
-
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
77
|
-
import "../../../Object3DHelperPlugin/Controller.js";
|
|
78
|
-
import "../../../base/BasePlugin.js";
|
|
79
|
-
import "../../../shared-utils/url/absoluteUrl.js";
|
|
80
|
-
import "../../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
81
|
-
import "../../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
82
|
-
import "../../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
83
|
-
import "../../../shared-utils/three/boundingBox.js";
|
|
84
|
-
import "../../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
85
|
-
import "../../../shared-utils/Object3DHelper/utils/direction.js";
|
|
86
|
-
import "../../../shared-utils/Object3DHelper/Constants/color.js";
|
|
87
|
-
import "../../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
88
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
89
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
90
|
-
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
91
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
92
|
-
import "../../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
93
|
-
import "../../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
94
|
-
import "../../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
95
|
-
import "../../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
96
|
-
import "../../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
97
|
-
import "../../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
98
|
-
import "../../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
99
|
-
import "../../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
100
|
-
import "../../../shared-utils/threex/domevents/index.js";
|
|
101
|
-
import "../../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
102
|
-
import "../../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
103
|
-
import "../../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
104
|
-
import "../../../shared-utils/Object3DHelper/index.js";
|
|
105
|
-
import "../../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
106
|
-
import "../../../shared-utils/math/rad2Deg.js";
|
|
107
|
-
import "../../../shared-utils/math/deg2Rad.js";
|
|
108
|
-
import "../../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
109
|
-
import "../../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
110
|
-
import "../../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
111
|
-
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
112
|
-
import "../../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
113
|
-
import "../../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
114
|
-
import "../../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
115
|
-
import "../../../shared-utils/five/fiveModelLoad.js";
|
|
116
|
-
import "../../../shared-utils/five/FiveDomEvents.js";
|
|
117
|
-
import "../../../shared-utils/five/calculateThreeMouse.js";
|
|
118
63
|
function Q(t) {
|
|
119
64
|
U(t, "svelte-7aiuwz", '@charset "UTF-8";.tag-point-click-helper.svelte-7aiuwz.svelte-7aiuwz{position:absolute;pointer-events:auto;cursor:pointer;width:calc(100% + 0.75rem);height:calc(100% + 0.75rem);left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-7aiuwz.svelte-7aiuwz{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.tag-folded-point.svelte-7aiuwz.svelte-7aiuwz,.tag-unfolded-point.svelte-7aiuwz.svelte-7aiuwz{transition:all 0.5s}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-7aiuwz .tag-folded-point.svelte-7aiuwz{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-7aiuwz .tag-folded-point.svelte-7aiuwz{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{opacity:1;scale:1}');
|
|
120
65
|
}
|
|
121
66
|
function V(t) {
|
|
122
|
-
let
|
|
123
|
-
return
|
|
67
|
+
let o, a, d, s, c, m, w, e, n, p, g, v;
|
|
68
|
+
return s = new H({
|
|
124
69
|
props: {
|
|
125
70
|
center: !0,
|
|
126
71
|
blurRadius: 15,
|
|
127
72
|
spreadRadius: 5,
|
|
128
73
|
opacity: 0.3
|
|
129
74
|
}
|
|
130
|
-
}),
|
|
75
|
+
}), n = new J({
|
|
131
76
|
props: {
|
|
132
77
|
icon: (
|
|
133
78
|
/*url*/
|
|
@@ -138,129 +83,129 @@ function V(t) {
|
|
|
138
83
|
t[1]
|
|
139
84
|
)
|
|
140
85
|
}
|
|
141
|
-
}),
|
|
86
|
+
}), n.$on(
|
|
142
87
|
"iconLoaded",
|
|
143
88
|
/*iconLoaded_handler*/
|
|
144
89
|
t[7]
|
|
145
90
|
), {
|
|
146
91
|
c() {
|
|
147
|
-
|
|
148
|
-
|
|
92
|
+
o = h("div"), a = h("div"), d = _(), S(s.$$.fragment), c = _(), m = h("div"), w = _(), e = h("div"), S(n.$$.fragment), z(a, "class", "tag-point-click-helper svelte-7aiuwz"), z(m, "class", "tag-unfolded-point svelte-7aiuwz"), y(
|
|
93
|
+
m,
|
|
149
94
|
"transition-delay",
|
|
150
95
|
/*folded*/
|
|
151
96
|
(t[3] ? (
|
|
152
97
|
/*foldDelay*/
|
|
153
98
|
t[5]
|
|
154
99
|
) : 0) + "ms"
|
|
155
|
-
), z(
|
|
156
|
-
|
|
100
|
+
), z(e, "class", "tag-folded-point svelte-7aiuwz"), y(
|
|
101
|
+
e,
|
|
157
102
|
"transition-delay",
|
|
158
103
|
/*folded*/
|
|
159
104
|
(t[3] ? (
|
|
160
105
|
/*foldDelay*/
|
|
161
106
|
t[5]
|
|
162
107
|
) : 0) + "ms"
|
|
163
|
-
), z(
|
|
164
|
-
|
|
108
|
+
), z(o, "class", "tag-point-wrapper svelte-7aiuwz"), b(
|
|
109
|
+
o,
|
|
165
110
|
"unfolded",
|
|
166
111
|
/*unfolded*/
|
|
167
112
|
t[0]
|
|
168
113
|
), b(
|
|
169
|
-
|
|
114
|
+
o,
|
|
170
115
|
"folded",
|
|
171
116
|
/*folded*/
|
|
172
117
|
t[3]
|
|
173
118
|
);
|
|
174
119
|
},
|
|
175
|
-
m(
|
|
176
|
-
W(
|
|
177
|
-
|
|
120
|
+
m(i, l) {
|
|
121
|
+
W(i, o, l), f(o, a), f(o, d), A(s, o, null), f(o, c), f(o, m), f(o, w), f(o, e), A(n, e, null), p = !0, g || (v = X(
|
|
122
|
+
a,
|
|
178
123
|
"click",
|
|
179
124
|
/*handlePointClick*/
|
|
180
125
|
t[4]
|
|
181
126
|
), g = !0);
|
|
182
127
|
},
|
|
183
|
-
p(
|
|
184
|
-
|
|
128
|
+
p(i, [l]) {
|
|
129
|
+
l & /*folded*/
|
|
185
130
|
8 && y(
|
|
186
|
-
|
|
131
|
+
m,
|
|
187
132
|
"transition-delay",
|
|
188
133
|
/*folded*/
|
|
189
|
-
(
|
|
134
|
+
(i[3] ? (
|
|
190
135
|
/*foldDelay*/
|
|
191
|
-
|
|
136
|
+
i[5]
|
|
192
137
|
) : 0) + "ms"
|
|
193
138
|
);
|
|
194
139
|
const r = {};
|
|
195
|
-
|
|
140
|
+
l & /*url*/
|
|
196
141
|
4 && (r.icon = /*url*/
|
|
197
|
-
|
|
142
|
+
i[2]), l & /*width*/
|
|
198
143
|
2 && (r.width = /*width*/
|
|
199
|
-
|
|
144
|
+
i[1]), n.$set(r), l & /*folded*/
|
|
200
145
|
8 && y(
|
|
201
|
-
|
|
146
|
+
e,
|
|
202
147
|
"transition-delay",
|
|
203
148
|
/*folded*/
|
|
204
|
-
(
|
|
149
|
+
(i[3] ? (
|
|
205
150
|
/*foldDelay*/
|
|
206
|
-
|
|
151
|
+
i[5]
|
|
207
152
|
) : 0) + "ms"
|
|
208
|
-
), (!
|
|
153
|
+
), (!p || l & /*unfolded*/
|
|
209
154
|
1) && b(
|
|
210
|
-
|
|
155
|
+
o,
|
|
211
156
|
"unfolded",
|
|
212
157
|
/*unfolded*/
|
|
213
|
-
|
|
214
|
-
), (!
|
|
158
|
+
i[0]
|
|
159
|
+
), (!p || l & /*folded*/
|
|
215
160
|
8) && b(
|
|
216
|
-
|
|
161
|
+
o,
|
|
217
162
|
"folded",
|
|
218
163
|
/*folded*/
|
|
219
|
-
|
|
164
|
+
i[3]
|
|
220
165
|
);
|
|
221
166
|
},
|
|
222
|
-
i(
|
|
223
|
-
|
|
167
|
+
i(i) {
|
|
168
|
+
p || (D(s.$$.fragment, i), D(n.$$.fragment, i), p = !0);
|
|
224
169
|
},
|
|
225
|
-
o(
|
|
226
|
-
I(
|
|
170
|
+
o(i) {
|
|
171
|
+
I(s.$$.fragment, i), I(n.$$.fragment, i), p = !1;
|
|
227
172
|
},
|
|
228
|
-
d(
|
|
229
|
-
|
|
173
|
+
d(i) {
|
|
174
|
+
i && B(o), R(s), R(n), g = !1, v();
|
|
230
175
|
}
|
|
231
176
|
};
|
|
232
177
|
}
|
|
233
|
-
function Y(t,
|
|
234
|
-
let d,
|
|
178
|
+
function Y(t, o, a) {
|
|
179
|
+
let d, s, c, m;
|
|
235
180
|
const w = E("hooks");
|
|
236
|
-
let { tag:
|
|
181
|
+
let { tag: e } = o, n, p = !1;
|
|
237
182
|
const g = () => {
|
|
238
|
-
|
|
183
|
+
n !== void 0 && clearTimeout(n), p = !0, n = setTimeout(
|
|
239
184
|
() => {
|
|
240
|
-
|
|
185
|
+
p = !1;
|
|
241
186
|
},
|
|
242
187
|
800
|
|
243
188
|
);
|
|
244
189
|
}, v = (r) => {
|
|
245
|
-
|
|
246
|
-
},
|
|
247
|
-
function
|
|
190
|
+
p || (e.entryFromModel && N(e.five.state.mode) ? e.find({ targetMode: "Panorama" }).then(() => e.unfoldAndFoldOthers()) : w.emit("click", { event: r, target: "TagPoint", tag: e }));
|
|
191
|
+
}, i = (() => e.contentType === "Text" && e.data.appearance === "plane" ? 500 : 800)();
|
|
192
|
+
function l(r) {
|
|
248
193
|
G.call(this, t, r);
|
|
249
194
|
}
|
|
250
195
|
return t.$$set = (r) => {
|
|
251
|
-
"tag" in r &&
|
|
196
|
+
"tag" in r && a(6, e = r.tag);
|
|
252
197
|
}, t.$$.update = () => {
|
|
253
198
|
var r, k, T, L;
|
|
254
199
|
t.$$.dirty & /*tag*/
|
|
255
|
-
64 &&
|
|
256
|
-
1 &&
|
|
257
|
-
64 &&
|
|
258
|
-
64 &&
|
|
200
|
+
64 && a(0, d = (r = e.state) == null ? void 0 : r.unfolded), t.$$.dirty & /*unfolded*/
|
|
201
|
+
1 && a(3, s = !d), t.$$.dirty & /*tag*/
|
|
202
|
+
64 && a(2, c = (T = (k = e.style) == null ? void 0 : k.point) != null && T.url ? (L = e.style) == null ? void 0 : L.point : { url: K }), t.$$.dirty & /*tag*/
|
|
203
|
+
64 && a(1, m = (() => {
|
|
259
204
|
var M, $, C, F;
|
|
260
|
-
const P = ($ = (M =
|
|
205
|
+
const P = ($ = (M = e.style) == null ? void 0 : M.point) == null ? void 0 : $.width;
|
|
261
206
|
if (typeof P == "number")
|
|
262
207
|
return P;
|
|
263
|
-
const u = (F = (C =
|
|
208
|
+
const u = (F = (C = e.style) == null ? void 0 : C.point) == null ? void 0 : F.size;
|
|
264
209
|
if (typeof u == "number")
|
|
265
210
|
return u;
|
|
266
211
|
if (u === "S")
|
|
@@ -274,20 +219,20 @@ function Y(t, e, n) {
|
|
|
274
219
|
})());
|
|
275
220
|
}, g(), [
|
|
276
221
|
d,
|
|
277
|
-
|
|
222
|
+
m,
|
|
278
223
|
c,
|
|
279
|
-
|
|
224
|
+
s,
|
|
280
225
|
v,
|
|
281
|
-
o,
|
|
282
226
|
i,
|
|
283
|
-
|
|
227
|
+
e,
|
|
228
|
+
l
|
|
284
229
|
];
|
|
285
230
|
}
|
|
286
|
-
class
|
|
287
|
-
constructor(
|
|
288
|
-
super(), q(this,
|
|
231
|
+
class ae extends j {
|
|
232
|
+
constructor(o) {
|
|
233
|
+
super(), q(this, o, Y, V, O, { tag: 6 }, Q);
|
|
289
234
|
}
|
|
290
235
|
}
|
|
291
236
|
export {
|
|
292
|
-
|
|
237
|
+
ae as default
|
|
293
238
|
};
|