@realsee/dnalogel 3.50.14 → 3.50.15-alpha.0
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/README.md +116 -0
- package/dist/Sculpt/Objects/Base/index.d.ts +1 -1
- package/dist/Sculpt/index.d.ts +2 -2
- package/dist/index.cjs.js +255 -255
- package/dist/index.js +2733 -2732
- package/dist/index.umd.js +251 -251
- package/dist/shared-utils/tag.d.ts +1 -1
- package/dist/shared-utils/three/index.d.ts +1 -0
- package/libs/AreaMakerPlugin/Controller.js +104 -74
- package/libs/AreaMakerPlugin/index.js +33 -3
- package/libs/AreaMakerPlugin/utils/Item.js +66 -36
- package/libs/CSS3DRenderPlugin/Controller.js +35 -15
- package/libs/CSS3DRenderPlugin/index.js +34 -14
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +60 -35
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +98 -78
- package/libs/CruisePlugin/BaseController.js +59 -29
- package/libs/CruisePlugin/Move.js +32 -13
- package/libs/CruisePlugin/Work.js +65 -46
- package/libs/CruisePlugin/index.js +37 -18
- package/libs/CurrentPanoImagePlugin/Controller.js +68 -38
- package/libs/CurrentPanoImagePlugin/index.js +34 -4
- package/libs/GuideLinePlugin/Controller.js +59 -40
- package/libs/GuideLinePlugin/GuideLineItem.js +33 -14
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +33 -14
- package/libs/GuideLinePlugin/index.js +37 -18
- package/libs/ModelMakerPlugin/Controller.js +50 -32
- package/libs/ModelMakerPlugin/index.js +33 -15
- package/libs/ModelTVVideoPlugin/Plugin.js +47 -27
- package/libs/ModelTVVideoPlugin/index.js +23 -3
- package/libs/Object3DHelperPlugin/Controller.js +49 -30
- package/libs/Object3DHelperPlugin/index.js +36 -17
- package/libs/PanoCompassPlugin/Controller.js +33 -13
- package/libs/PanoCompassPlugin/index.js +34 -14
- package/libs/PanoDoorLabelPlugin/BaseController.js +55 -25
- package/libs/PanoDoorLabelPlugin/Controller.js +99 -69
- package/libs/PanoDoorLabelPlugin/index.js +34 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +8 -8
- package/libs/PanoMeasurePlugin/Components/Controller1.js +8 -8
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +75 -49
- package/libs/PanoMeasurePlugin/Controller/index.js +15 -15
- package/libs/PanoMeasurePlugin/Model/area.js +41 -15
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +29 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +8 -8
- package/libs/PanoMeasurePlugin/index.js +3 -3
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +43 -15
- package/libs/PanoRulerProPlugin/Controller.js +60 -30
- package/libs/PanoRulerProPlugin/RulerItems.js +85 -55
- package/libs/PanoRulerProPlugin/index.js +33 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +53 -33
- package/libs/PanoSpatialTagPlugin/index.js +21 -1
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +79 -49
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +235 -206
- package/libs/PanoTagPlugin/Components/Tag/index.js +152 -125
- package/libs/PanoTagPlugin/Components/TagContainer.js +97 -70
- package/libs/PanoTagPlugin/Components/TagItem.js +31 -4
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +29 -2
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +55 -28
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +53 -26
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +54 -27
- package/libs/PanoTagPlugin/controller/TagRender.js +47 -28
- package/libs/PanoTagPlugin/controller/TagUtil.js +32 -13
- package/libs/PanoTagPlugin/controller/index.js +45 -26
- package/libs/PanoTagPlugin/index.js +40 -21
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +59 -29
- package/libs/PanoVideoPlugin/Controller.js +91 -61
- package/libs/PanoVideoPlugin/VideoMeshController.js +56 -26
- package/libs/PanoVideoPlugin/index.js +36 -6
- package/libs/PipelinePlugin/Controller.js +80 -51
- package/libs/PipelinePlugin/index.js +34 -5
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +44 -14
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +43 -13
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +61 -31
- package/libs/Sculpt/Meshes/Box.js +3 -2
- package/libs/Sculpt/Meshes/Cylinder.js +3 -2
- package/libs/Sculpt/Meshes/Line.js +9 -8
- package/libs/Sculpt/Meshes/LineWithDots.js +8 -7
- package/libs/Sculpt/Meshes/Point.js +3 -2
- package/libs/Sculpt/Meshes/Polygon.js +3 -2
- package/libs/Sculpt/Meshes/Prism.js +8 -7
- package/libs/Sculpt/Meshes/Rectangle.js +3 -2
- package/libs/Sculpt/Objects/Base/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Line/Editor.js +7 -6
- package/libs/Sculpt/index.d.ts +2 -2
- package/libs/Sculpt/index.js +3 -2
- package/libs/Sculpt/utils/three/ColoredMesh.js +6 -5
- package/libs/base/BasePlugin.js +4 -3
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +88 -59
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +34 -5
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +79 -50
- package/libs/floorplan/ModelFloorplanPlugin/index.js +34 -5
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +68 -38
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +34 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +104 -75
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +34 -5
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +28 -28
- package/libs/shared-utils/five/index.js +3 -2
- package/libs/shared-utils/five/lookObject.js +3 -2
- package/libs/shared-utils/index.js +44 -42
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +1 -1
- package/libs/shared-utils/tag.js +41 -41
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -2
- package/libs/shared-utils/three/index.d.ts +1 -0
- package/libs/shared-utils/three/index.js +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Object3DHelperController as o } from "./Controller.js";
|
|
2
|
-
import { PLUGIN as
|
|
2
|
+
import { PLUGIN as Mr } from "./Controller.js";
|
|
3
3
|
import "../base/BasePlugin.js";
|
|
4
4
|
import "../shared-utils/Subscribe.js";
|
|
5
5
|
import "../shared-utils/tag.js";
|
|
@@ -14,37 +14,56 @@ import "../shared-utils/five/transformPosition.js";
|
|
|
14
14
|
import "../shared-utils/three/temp.js";
|
|
15
15
|
import "../shared-utils/dom/resizeObserver.js";
|
|
16
16
|
import "hammerjs";
|
|
17
|
+
import "../shared-utils/three/PointSelector/index.js";
|
|
18
|
+
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
19
|
+
import "../shared-utils/three/Magnifier.js";
|
|
20
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
21
|
+
import "../shared-utils/three/Assets/index.js";
|
|
22
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
17
23
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
24
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
25
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
26
|
+
import "../shared-utils/three/centerPoint.js";
|
|
27
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
18
28
|
import "@realsee/five/line";
|
|
19
29
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
20
30
|
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
21
31
|
import "../vendor/three/build/three.module.js";
|
|
22
32
|
import "../shared-utils/three/core/Sphere.js";
|
|
23
33
|
import "animejs";
|
|
24
|
-
import "../shared-utils/
|
|
34
|
+
import "../shared-utils/isNil.js";
|
|
25
35
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
36
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
37
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
38
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
39
|
+
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
40
|
+
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
41
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
42
|
+
import "../Sculpt/Meshes/Line.js";
|
|
43
|
+
import "../Sculpt/typings/style.js";
|
|
44
|
+
import "../shared-utils/five/FiveLine.js";
|
|
45
|
+
import "../shared-utils/three/IObject3D.js";
|
|
46
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
47
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
48
|
+
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
49
|
+
import "../shared-utils/util.js";
|
|
50
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
51
|
+
import "../shared-utils/isTouchDevice.js";
|
|
52
|
+
import "../shared-utils/five/getPosition.js";
|
|
53
|
+
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
54
|
+
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
55
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
26
56
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
27
57
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
28
58
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
29
|
-
import "../shared-utils/three/IObject3D.js";
|
|
30
59
|
import "../shared-utils/three/boundingBox.js";
|
|
31
60
|
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
32
61
|
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
33
62
|
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
34
63
|
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
35
64
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
36
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
37
|
-
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
38
|
-
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
39
|
-
import "../CSS3DRenderPlugin/utils/even.js";
|
|
40
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
41
|
-
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
42
|
-
import "../shared-utils/three/centerPoint.js";
|
|
43
|
-
import "../shared-utils/three/getObjectVisible.js";
|
|
44
|
-
import "../shared-utils/isNil.js";
|
|
45
65
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
46
66
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
47
|
-
import "../shared-utils/util.js";
|
|
48
67
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
49
68
|
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
50
69
|
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
@@ -71,10 +90,10 @@ import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
|
71
90
|
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
72
91
|
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
73
92
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
74
|
-
const
|
|
93
|
+
const Fr = (r) => new o(r);
|
|
75
94
|
export {
|
|
76
95
|
o as Object3DHelperController,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
96
|
+
Fr as Object3DHelperPlugin,
|
|
97
|
+
Mr as PLUGIN,
|
|
98
|
+
Fr as default
|
|
80
99
|
};
|
|
@@ -46,36 +46,56 @@ import "../shared-utils/five/transformPosition.js";
|
|
|
46
46
|
import "../shared-utils/three/temp.js";
|
|
47
47
|
import "../shared-utils/dom/resizeObserver.js";
|
|
48
48
|
import "hammerjs";
|
|
49
|
+
import "../shared-utils/three/PointSelector/index.js";
|
|
50
|
+
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
51
|
+
import "../shared-utils/three/Magnifier.js";
|
|
52
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
53
|
+
import "../shared-utils/three/Assets/index.js";
|
|
54
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
49
55
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
56
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
57
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
58
|
+
import "../shared-utils/three/centerPoint.js";
|
|
59
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
50
60
|
import "@realsee/five/line";
|
|
51
61
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
52
62
|
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
53
63
|
import "../vendor/three/build/three.module.js";
|
|
54
64
|
import "../shared-utils/three/core/Sphere.js";
|
|
55
65
|
import "animejs";
|
|
56
|
-
import "../shared-utils/
|
|
66
|
+
import "../shared-utils/isNil.js";
|
|
57
67
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
58
|
-
import "
|
|
59
|
-
import "../
|
|
60
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
68
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
69
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
61
70
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
62
71
|
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
63
72
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
64
|
-
import "../
|
|
65
|
-
import "../
|
|
66
|
-
import "../
|
|
67
|
-
import "../shared-utils/
|
|
68
|
-
import "../shared-utils/three/
|
|
69
|
-
import "../
|
|
73
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
74
|
+
import "../Sculpt/Meshes/Line.js";
|
|
75
|
+
import "../Sculpt/typings/style.js";
|
|
76
|
+
import "../shared-utils/five/FiveLine.js";
|
|
77
|
+
import "../shared-utils/three/IObject3D.js";
|
|
78
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
79
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
80
|
+
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
81
|
+
import "../shared-utils/util.js";
|
|
82
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
83
|
+
import "../shared-utils/isTouchDevice.js";
|
|
84
|
+
import "../shared-utils/five/getPosition.js";
|
|
85
|
+
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
86
|
+
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
87
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
88
|
+
import "./Assets/roomInfoIcon.js";
|
|
89
|
+
import "../CSS3DRenderPlugin/Controller.js";
|
|
90
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
70
91
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
71
92
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
72
|
-
import "../shared-utils/util.js";
|
|
73
93
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
74
94
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
75
95
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
76
96
|
import "../shared-utils/animationFrame/index.js";
|
|
77
97
|
const g = { userAction: !0 };
|
|
78
|
-
class
|
|
98
|
+
class Je extends A {
|
|
79
99
|
constructor(e, t) {
|
|
80
100
|
super(e, t);
|
|
81
101
|
/**
|
|
@@ -330,5 +350,5 @@ class Ce extends A {
|
|
|
330
350
|
}
|
|
331
351
|
}
|
|
332
352
|
export {
|
|
333
|
-
|
|
353
|
+
Je as PanoCompassController
|
|
334
354
|
};
|
|
@@ -15,40 +15,60 @@ import "../shared-utils/five/transformPosition.js";
|
|
|
15
15
|
import "../shared-utils/three/temp.js";
|
|
16
16
|
import "../shared-utils/dom/resizeObserver.js";
|
|
17
17
|
import "hammerjs";
|
|
18
|
+
import "../shared-utils/three/PointSelector/index.js";
|
|
19
|
+
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
20
|
+
import "../shared-utils/three/Magnifier.js";
|
|
21
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
22
|
+
import "../shared-utils/three/Assets/index.js";
|
|
23
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
18
24
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
25
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
26
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
27
|
+
import "../shared-utils/three/centerPoint.js";
|
|
28
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
19
29
|
import "@realsee/five/line";
|
|
20
30
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
21
31
|
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
22
32
|
import "../vendor/three/build/three.module.js";
|
|
23
33
|
import "../shared-utils/three/core/Sphere.js";
|
|
24
34
|
import "animejs";
|
|
25
|
-
import "../shared-utils/
|
|
35
|
+
import "../shared-utils/isNil.js";
|
|
26
36
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
37
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
38
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
39
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
40
|
+
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
41
|
+
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
42
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
43
|
+
import "../Sculpt/Meshes/Line.js";
|
|
44
|
+
import "../Sculpt/typings/style.js";
|
|
45
|
+
import "../shared-utils/five/FiveLine.js";
|
|
46
|
+
import "../shared-utils/three/IObject3D.js";
|
|
47
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
48
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
49
|
+
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
50
|
+
import "../shared-utils/util.js";
|
|
51
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
52
|
+
import "../shared-utils/isTouchDevice.js";
|
|
53
|
+
import "../shared-utils/five/getPosition.js";
|
|
54
|
+
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
55
|
+
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
56
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
27
57
|
import "./getRoomInfoInstance.js";
|
|
28
58
|
import "./Assets/roomInfoIcon.js";
|
|
29
59
|
import "../shared-utils/three/loadTexture.js";
|
|
30
60
|
import "../CSS3DRenderPlugin/index.js";
|
|
31
61
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
32
62
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
33
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
34
|
-
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
35
|
-
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
36
|
-
import "../CSS3DRenderPlugin/utils/even.js";
|
|
37
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
38
|
-
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
39
|
-
import "../shared-utils/three/centerPoint.js";
|
|
40
|
-
import "../shared-utils/three/getObjectVisible.js";
|
|
41
|
-
import "../shared-utils/isNil.js";
|
|
42
63
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
43
64
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
44
|
-
import "../shared-utils/util.js";
|
|
45
65
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
46
66
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
47
67
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
48
68
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
49
69
|
import "../shared-utils/animationFrame/index.js";
|
|
50
|
-
const
|
|
70
|
+
const xo = (o, r) => new t(o, r);
|
|
51
71
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
72
|
+
xo as PanoCompassPlugin,
|
|
73
|
+
xo as default
|
|
54
74
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
1
|
+
var h = Object.defineProperty, l = Object.defineProperties;
|
|
2
2
|
var d = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var a = Object.getOwnPropertySymbols;
|
|
4
4
|
var u = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
6
|
-
for (var t in
|
|
7
|
-
u.call(
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
10
|
-
b.call(
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
var
|
|
5
|
+
var p = (e, i, t) => i in e ? h(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, r = (e, i) => {
|
|
6
|
+
for (var t in i || (i = {}))
|
|
7
|
+
u.call(i, t) && p(e, t, i[t]);
|
|
8
|
+
if (a)
|
|
9
|
+
for (var t of a(i))
|
|
10
|
+
b.call(i, t) && p(e, t, i[t]);
|
|
11
|
+
return e;
|
|
12
|
+
}, o = (e, i) => l(e, d(i));
|
|
13
|
+
var s = (e, i, t) => (p(e, typeof i != "symbol" ? i + "" : i, t), t);
|
|
14
14
|
import { Five as v } from "@realsee/five";
|
|
15
15
|
import { Controller as c } from "../base/BasePlugin.js";
|
|
16
16
|
import "../shared-utils/Subscribe.js";
|
|
@@ -26,21 +26,51 @@ import "../shared-utils/five/transformPosition.js";
|
|
|
26
26
|
import "../shared-utils/three/temp.js";
|
|
27
27
|
import "../shared-utils/dom/resizeObserver.js";
|
|
28
28
|
import "hammerjs";
|
|
29
|
+
import "../shared-utils/three/PointSelector/index.js";
|
|
30
|
+
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
31
|
+
import "../shared-utils/three/Magnifier.js";
|
|
32
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
33
|
+
import "../shared-utils/three/Assets/index.js";
|
|
34
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
29
35
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
36
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
37
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
38
|
+
import "../shared-utils/three/centerPoint.js";
|
|
39
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
30
40
|
import "@realsee/five/line";
|
|
31
41
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
32
42
|
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
33
43
|
import "../vendor/three/build/three.module.js";
|
|
34
44
|
import "../shared-utils/three/core/Sphere.js";
|
|
35
45
|
import "animejs";
|
|
36
|
-
import "../shared-utils/
|
|
46
|
+
import "../shared-utils/isNil.js";
|
|
37
47
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
38
|
-
|
|
48
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
49
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
50
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
51
|
+
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
52
|
+
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
53
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
54
|
+
import "../Sculpt/Meshes/Line.js";
|
|
55
|
+
import "../Sculpt/typings/style.js";
|
|
56
|
+
import "../shared-utils/five/FiveLine.js";
|
|
57
|
+
import "../shared-utils/three/IObject3D.js";
|
|
58
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
59
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
60
|
+
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
61
|
+
import "../shared-utils/util.js";
|
|
62
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
63
|
+
import "../shared-utils/isTouchDevice.js";
|
|
64
|
+
import "../shared-utils/five/getPosition.js";
|
|
65
|
+
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
66
|
+
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
67
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
68
|
+
class St extends c {
|
|
39
69
|
constructor(t) {
|
|
40
70
|
super(t);
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
71
|
+
s(this, "state");
|
|
72
|
+
s(this, "container");
|
|
73
|
+
s(this, "enabled");
|
|
44
74
|
this.five = t, this.five.once("dispose", this.dispose), this.enabled = !0, this.state = this.initState();
|
|
45
75
|
}
|
|
46
76
|
/**
|
|
@@ -48,14 +78,14 @@ class L extends c {
|
|
|
48
78
|
* @param options
|
|
49
79
|
*/
|
|
50
80
|
enable(t) {
|
|
51
|
-
this.enabled = !0, this.updateState(r(
|
|
81
|
+
this.enabled = !0, this.updateState(o(r({}, t), { userAction: !0 }));
|
|
52
82
|
}
|
|
53
83
|
/**
|
|
54
84
|
* 禁用组件
|
|
55
85
|
* @param options
|
|
56
86
|
*/
|
|
57
87
|
disable(t) {
|
|
58
|
-
this.enabled = !1, this.updateState(r(
|
|
88
|
+
this.enabled = !1, this.updateState(o(r({}, t), { userAction: !0 }));
|
|
59
89
|
}
|
|
60
90
|
/**
|
|
61
91
|
* 显示 UI
|
|
@@ -64,7 +94,7 @@ class L extends c {
|
|
|
64
94
|
*/
|
|
65
95
|
show(t) {
|
|
66
96
|
if (this.state.enabled)
|
|
67
|
-
return this.setState(r(
|
|
97
|
+
return this.setState(o(r({}, this.state), { visible: !0 }), t), Promise.resolve();
|
|
68
98
|
}
|
|
69
99
|
/**
|
|
70
100
|
* 隐藏 UI
|
|
@@ -73,7 +103,7 @@ class L extends c {
|
|
|
73
103
|
*/
|
|
74
104
|
hide(t) {
|
|
75
105
|
if (this.state.enabled)
|
|
76
|
-
return this.setState(r(
|
|
106
|
+
return this.setState(o(r({}, this.state), { visible: !1 }), t), Promise.resolve();
|
|
77
107
|
}
|
|
78
108
|
/**
|
|
79
109
|
* 销毁对象
|
|
@@ -87,11 +117,11 @@ class L extends c {
|
|
|
87
117
|
* @param options @BaseOptions 可选配置
|
|
88
118
|
* @returns
|
|
89
119
|
*/
|
|
90
|
-
setState(t,
|
|
120
|
+
setState(t, m) {
|
|
91
121
|
if (!this.enabled)
|
|
92
122
|
return;
|
|
93
|
-
const
|
|
94
|
-
this.state =
|
|
123
|
+
const n = r({}, this.state);
|
|
124
|
+
this.state = r(r(r({}, this.state), t), m), this.stateChangedCallback(n, m);
|
|
95
125
|
}
|
|
96
126
|
get visible() {
|
|
97
127
|
return this.five.state.mode === v.Mode.Panorama;
|
|
@@ -100,9 +130,9 @@ class L extends c {
|
|
|
100
130
|
this.enabled && (this.container = t, this.render());
|
|
101
131
|
}
|
|
102
132
|
updateState(t) {
|
|
103
|
-
this.setState(r(
|
|
133
|
+
this.setState(o(r({}, this.state), { enabled: this.enabled, visible: this.visible }), t);
|
|
104
134
|
}
|
|
105
135
|
}
|
|
106
136
|
export {
|
|
107
|
-
|
|
137
|
+
St as BasePanoPluginController
|
|
108
138
|
};
|