@realsee/dnalogel 3.47.4 → 3.47.6
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 +6 -0
- package/dist/Sculpt/Meshes/Polygon.d.ts +1 -1
- package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/dist/Sculpt/utils/Meshes/getLengthHTML.d.ts +1 -0
- package/dist/Sculpt/utils/three/ColoredMesh.d.ts +2 -2
- package/dist/index.cjs.js +62 -40
- package/dist/index.js +2453 -2428
- package/dist/index.umd.js +65 -43
- package/dist/shared-utils/five/vector3ToScreen.d.ts +4 -4
- package/dist/shared-utils/tag.d.ts +4 -4
- package/dist/shared-utils/three/index.d.ts +0 -2
- package/dist/shared-utils/three/raycaster.d.ts +2 -0
- package/libs/AreaMakerPlugin/Controller.js +16 -14
- package/libs/AreaMakerPlugin/index.js +18 -16
- package/libs/AreaMakerPlugin/utils/Item.js +55 -53
- package/libs/CSS3DRenderPlugin/Controller.js +14 -12
- package/libs/CSS3DRenderPlugin/index.js +21 -19
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +15 -13
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +16 -14
- package/libs/CruisePlugin/BaseController.js +29 -27
- package/libs/CruisePlugin/Move.js +21 -19
- package/libs/CruisePlugin/Work.js +16 -14
- package/libs/CruisePlugin/index.js +22 -20
- package/libs/CurrentPanoImagePlugin/Controller.js +25 -23
- package/libs/CurrentPanoImagePlugin/index.js +19 -17
- package/libs/GuideLinePlugin/Controller.js +18 -16
- package/libs/GuideLinePlugin/GuideLineItem.js +18 -16
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -4
- package/libs/GuideLinePlugin/GuideLineModeItem.js +18 -16
- package/libs/GuideLinePlugin/index.js +22 -20
- package/libs/ModelMakerPlugin/Controller.js +22 -20
- package/libs/ModelMakerPlugin/index.js +18 -16
- package/libs/ModelMakerPlugin/item/baseItem.js +14 -13
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +6 -5
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +17 -15
- package/libs/ModelTVVideoPlugin/index.js +16 -14
- package/libs/Object3DHelperPlugin/Controller.js +17 -15
- package/libs/Object3DHelperPlugin/index.js +21 -19
- package/libs/PanoCompassPlugin/Controller.js +18 -16
- package/libs/PanoCompassPlugin/index.js +19 -17
- package/libs/PanoDoorLabelPlugin/BaseController.js +18 -16
- package/libs/PanoDoorLabelPlugin/Controller.js +38 -36
- package/libs/PanoDoorLabelPlugin/index.js +19 -17
- package/libs/PanoMeasurePlugin/Components/Controller0.js +15 -13
- package/libs/PanoMeasurePlugin/Components/Controller1.js +15 -13
- package/libs/PanoMeasurePlugin/Controller/EditController.js +14 -12
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +15 -13
- package/libs/PanoMeasurePlugin/Controller/index.js +13 -11
- package/libs/PanoMeasurePlugin/Model/area.js +15 -13
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +15 -13
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +15 -13
- package/libs/PanoMeasurePlugin/index.js +24 -22
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +15 -13
- package/libs/PanoSpatialTagPlugin/Plugin.js +17 -15
- package/libs/PanoSpatialTagPlugin/index.js +14 -12
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +17 -15
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +16 -14
- package/libs/PanoTagPlugin/Components/Tag/index.js +16 -14
- package/libs/PanoTagPlugin/Components/TagContainer.js +16 -14
- package/libs/PanoTagPlugin/Components/TagItem.js +16 -14
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +60 -60
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +16 -14
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +16 -14
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +18 -16
- package/libs/PanoTagPlugin/controller/TagRender.js +15 -13
- package/libs/PanoTagPlugin/controller/TagUtil.js +16 -14
- package/libs/PanoTagPlugin/controller/index.js +18 -16
- package/libs/PanoTagPlugin/index.js +24 -22
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +17 -15
- package/libs/PanoVideoPlugin/Controller.js +18 -16
- package/libs/PanoVideoPlugin/VideoMeshController.js +18 -16
- package/libs/PanoVideoPlugin/index.js +21 -19
- package/libs/PipelinePlugin/Controller.js +17 -15
- package/libs/PipelinePlugin/index.js +19 -17
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +18 -16
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +18 -16
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +35 -33
- package/libs/Sculpt/Meshes/Box.js +6 -7
- package/libs/Sculpt/Meshes/Cylinder.js +15 -16
- package/libs/Sculpt/Meshes/Line.js +28 -28
- package/libs/Sculpt/Meshes/Point.js +6 -7
- package/libs/Sculpt/Meshes/Polygon.d.ts +1 -1
- package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/libs/Sculpt/Meshes/Polyline.js +5 -6
- package/libs/Sculpt/Meshes/Rectangle.js +3 -4
- package/libs/Sculpt/Objects/Line/Editor.js +15 -16
- package/libs/Sculpt/Objects/Line/index.js +35 -35
- package/libs/Sculpt/Objects/Polygon/index.js +55 -61
- package/libs/Sculpt/Objects/Polyline/index.js +45 -45
- package/libs/Sculpt/index.js +1 -1
- package/libs/Sculpt/utils/Meshes/getLengthHTML.d.ts +1 -0
- package/libs/Sculpt/utils/Meshes/getLengthHTML.js +34 -0
- package/libs/Sculpt/utils/three/ColoredMesh.d.ts +2 -2
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -4
- package/libs/base/BasePlugin.js +14 -15
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +15 -13
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -17
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +15 -13
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -17
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +18 -16
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +19 -17
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +15 -13
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -17
- package/libs/floorplan/index.js +1 -2
- package/libs/index.js +15 -15
- package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.js +7 -7
- package/libs/shared-utils/five/index.js +3 -4
- package/libs/shared-utils/five/lookObject.js +3 -4
- package/libs/shared-utils/five/vector3ToScreen.d.ts +4 -4
- package/libs/shared-utils/five/vector3ToScreen.js +9 -4
- package/libs/shared-utils/index.js +45 -49
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +4 -4
- package/libs/shared-utils/tag.js +60 -46
- package/libs/shared-utils/three/index.d.ts +0 -2
- package/libs/shared-utils/three/index.js +1 -2
- package/libs/shared-utils/three/raycaster.d.ts +2 -0
- package/libs/shared-utils/three/raycaster.js +6 -0
- package/package.json +1 -1
- package/dist/shared-utils/three/getIntersect.d.ts +0 -21
- package/dist/shared-utils/three/getRaycaster.d.ts +0 -6
- package/libs/shared-utils/three/getIntersect.d.ts +0 -21
- package/libs/shared-utils/three/getIntersect.js +0 -24
- package/libs/shared-utils/three/getRaycaster.d.ts +0 -6
- package/libs/shared-utils/three/getRaycaster.js +0 -12
|
@@ -60,38 +60,44 @@ import "./Common/MediaItem.js";
|
|
|
60
60
|
import "./Tag/MarketingTag.js";
|
|
61
61
|
import "hammerjs";
|
|
62
62
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
63
|
+
import "../../Sculpt/Meshes/Line.js";
|
|
64
|
+
import "../../Sculpt/typings/style.js";
|
|
65
|
+
import "../../shared-utils/five/FiveLine.js";
|
|
63
66
|
import "@realsee/five/line";
|
|
67
|
+
import "../../shared-utils/positionToVector3.js";
|
|
68
|
+
import "../../shared-utils/three/IObject3D.js";
|
|
69
|
+
import "../../shared-utils/three/centerPoint.js";
|
|
70
|
+
import "../../shared-utils/three/THREESphere.js";
|
|
71
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
72
|
+
import "../../shared-utils/tag.js";
|
|
73
|
+
import "../../shared-utils/five/vector3ToScreen.js";
|
|
74
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
75
|
+
import "../../shared-utils/three/raycaster.js";
|
|
64
76
|
import "../../Sculpt/utils/Modules/Global.js";
|
|
65
77
|
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
66
78
|
import "../../Object3DHelperPlugin/Controller.js";
|
|
67
79
|
import "../../base/BasePlugin.js";
|
|
68
80
|
import "../../shared-utils/Subscribe.js";
|
|
69
|
-
import "../../shared-utils/three/THREESphere.js";
|
|
70
81
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
71
82
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
72
83
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
73
84
|
import "../../shared-utils/five/transformPosition.js";
|
|
74
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
75
85
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
76
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
77
86
|
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
78
87
|
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
79
88
|
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
80
|
-
import "../../shared-utils/three/IObject3D.js";
|
|
81
89
|
import "../../shared-utils/three/boundingBox.js";
|
|
82
90
|
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
83
91
|
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
84
92
|
import "../../shared-utils/Object3DHelper/Constants/color.js";
|
|
85
93
|
import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
86
94
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
87
|
-
import "../../shared-utils/positionToVector3.js";
|
|
88
95
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
89
96
|
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
90
97
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
91
98
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
92
99
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
93
100
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
94
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
95
101
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
96
102
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
97
103
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -133,16 +139,12 @@ import "../../shared-utils/three/Assets/index.js";
|
|
|
133
139
|
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
134
140
|
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
135
141
|
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
136
|
-
import "../../Sculpt/Meshes/Line.js";
|
|
137
|
-
import "../../Sculpt/typings/style.js";
|
|
138
|
-
import "../../shared-utils/five/FiveLine.js";
|
|
139
|
-
import "../../shared-utils/tag.js";
|
|
140
|
-
import "../../shared-utils/five/vector3ToScreen.js";
|
|
141
|
-
import "../../Sculpt/utils/removeAllTag.js";
|
|
142
142
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
143
143
|
import "../../shared-utils/isTouchDevice.js";
|
|
144
144
|
import "../../shared-utils/five/getPosition.js";
|
|
145
145
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
146
|
+
import "../../Sculpt/utils/removeAllTag.js";
|
|
147
|
+
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
146
148
|
import "../utils/noTypecheck.js";
|
|
147
149
|
import "./Tag/AudioTag/index.js";
|
|
148
150
|
import "./Tag/AudioTag/AudioTag.js";
|
|
@@ -381,7 +383,7 @@ function O(a, t, o) {
|
|
|
381
383
|
m
|
|
382
384
|
];
|
|
383
385
|
}
|
|
384
|
-
class
|
|
386
|
+
class wr extends v {
|
|
385
387
|
constructor(t) {
|
|
386
388
|
super(), w(
|
|
387
389
|
this,
|
|
@@ -404,5 +406,5 @@ class Sr extends v {
|
|
|
404
406
|
}
|
|
405
407
|
}
|
|
406
408
|
export {
|
|
407
|
-
|
|
409
|
+
wr as default
|
|
408
410
|
};
|
|
@@ -6,8 +6,7 @@ import tt from "./Common/TagPoint.js";
|
|
|
6
6
|
import { isModelLike as et } from "../../shared-utils/five/mode.js";
|
|
7
7
|
import "hammerjs";
|
|
8
8
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
9
|
-
import "
|
|
10
|
-
import "../../Sculpt/utils/Modules/Global.js";
|
|
9
|
+
import "../../Sculpt/Meshes/Line.js";
|
|
11
10
|
import "../../shared-utils/three/THREESphere.js";
|
|
12
11
|
import "animejs";
|
|
13
12
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -66,6 +65,17 @@ import "../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
|
66
65
|
import "../../vendor/svelte-carousel/src/utils/interval.js";
|
|
67
66
|
import "./Common/MediaItem.js";
|
|
68
67
|
import "./Tag/MarketingTag.js";
|
|
68
|
+
import "../../Sculpt/typings/style.js";
|
|
69
|
+
import "../../shared-utils/five/FiveLine.js";
|
|
70
|
+
import "@realsee/five/line";
|
|
71
|
+
import "../../shared-utils/positionToVector3.js";
|
|
72
|
+
import "../../shared-utils/three/IObject3D.js";
|
|
73
|
+
import "../../shared-utils/three/centerPoint.js";
|
|
74
|
+
import "../../shared-utils/tag.js";
|
|
75
|
+
import "../../shared-utils/five/vector3ToScreen.js";
|
|
76
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
77
|
+
import "../../shared-utils/three/raycaster.js";
|
|
78
|
+
import "../../Sculpt/utils/Modules/Global.js";
|
|
69
79
|
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
70
80
|
import "../../Object3DHelperPlugin/Controller.js";
|
|
71
81
|
import "../../base/BasePlugin.js";
|
|
@@ -74,26 +84,22 @@ import "../../shared-utils/Utils/FiveUtil.js";
|
|
|
74
84
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
75
85
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
76
86
|
import "../../shared-utils/five/transformPosition.js";
|
|
77
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
78
87
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
79
88
|
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
80
89
|
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
81
90
|
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
82
|
-
import "../../shared-utils/three/IObject3D.js";
|
|
83
91
|
import "../../shared-utils/three/boundingBox.js";
|
|
84
92
|
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
85
93
|
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
86
94
|
import "../../shared-utils/Object3DHelper/Constants/color.js";
|
|
87
95
|
import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
88
96
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
89
|
-
import "../../shared-utils/positionToVector3.js";
|
|
90
97
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
91
98
|
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
92
99
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
93
100
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
94
101
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
95
102
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
96
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
97
103
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
98
104
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
99
105
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -135,16 +141,12 @@ import "../../shared-utils/three/Assets/index.js";
|
|
|
135
141
|
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
136
142
|
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
137
143
|
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
138
|
-
import "../../Sculpt/Meshes/Line.js";
|
|
139
|
-
import "../../Sculpt/typings/style.js";
|
|
140
|
-
import "../../shared-utils/five/FiveLine.js";
|
|
141
|
-
import "../../shared-utils/tag.js";
|
|
142
|
-
import "../../shared-utils/five/vector3ToScreen.js";
|
|
143
|
-
import "../../Sculpt/utils/removeAllTag.js";
|
|
144
144
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
145
145
|
import "../../shared-utils/isTouchDevice.js";
|
|
146
146
|
import "../../shared-utils/five/getPosition.js";
|
|
147
147
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
148
|
+
import "../../Sculpt/utils/removeAllTag.js";
|
|
149
|
+
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
148
150
|
import "./Tag/AudioTag/index.js";
|
|
149
151
|
import "./Tag/AudioTag/AudioTag.js";
|
|
150
152
|
import "./Common/Audio.js";
|
|
@@ -530,7 +532,7 @@ function at(o, t, i) {
|
|
|
530
532
|
H
|
|
531
533
|
];
|
|
532
534
|
}
|
|
533
|
-
class
|
|
535
|
+
class Jo extends J {
|
|
534
536
|
constructor(t) {
|
|
535
537
|
super(), K(
|
|
536
538
|
this,
|
|
@@ -551,5 +553,5 @@ class Go extends J {
|
|
|
551
553
|
}
|
|
552
554
|
}
|
|
553
555
|
export {
|
|
554
|
-
|
|
556
|
+
Jo as default
|
|
555
557
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
var
|
|
1
|
+
var X = Object.defineProperty, Z = Object.defineProperties;
|
|
2
2
|
var G = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var y = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var F = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var x = (u, i, e) => i in u ? X(u, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : u[i] = e, p = (u, i) => {
|
|
6
6
|
for (var e in i || (i = {}))
|
|
7
|
-
|
|
7
|
+
F.call(i, e) && x(u, e, i[e]);
|
|
8
8
|
if (y)
|
|
9
9
|
for (var e of y(i))
|
|
10
|
-
|
|
10
|
+
D.call(i, e) && x(u, e, i[e]);
|
|
11
11
|
return u;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
12
|
+
}, M = (u, i) => Z(u, G(i));
|
|
13
|
+
var j = (u, i) => {
|
|
14
14
|
var e = {};
|
|
15
15
|
for (var t in u)
|
|
16
|
-
|
|
16
|
+
F.call(u, t) && i.indexOf(t) < 0 && (e[t] = u[t]);
|
|
17
17
|
if (u != null && y)
|
|
18
18
|
for (var t of y(u))
|
|
19
|
-
i.indexOf(t) < 0 &&
|
|
19
|
+
i.indexOf(t) < 0 && D.call(u, t) && (e[t] = u[t]);
|
|
20
20
|
return e;
|
|
21
21
|
};
|
|
22
|
-
var f = (u, i, e) => (
|
|
23
|
-
var
|
|
22
|
+
var f = (u, i, e) => (x(u, typeof i != "symbol" ? i + "" : i, e), e);
|
|
23
|
+
var I = (u, i, e) => new Promise((t, r) => {
|
|
24
24
|
var n = (o) => {
|
|
25
25
|
try {
|
|
26
26
|
s(e.next(o));
|
|
@@ -37,51 +37,57 @@ var U = (u, i, e) => new Promise((t, r) => {
|
|
|
37
37
|
s((e = e.apply(u, i)).next());
|
|
38
38
|
});
|
|
39
39
|
import { Subscribe as K } from "../../../shared-utils/Subscribe.js";
|
|
40
|
-
import { calculateTagConfig as
|
|
40
|
+
import { calculateTagConfig as U } from "../../utils/tag/calculateTagConfig.js";
|
|
41
41
|
import { getTagStickType as Y } from "../../utils/tag/format.js";
|
|
42
|
-
import { isPanoramaLike as
|
|
43
|
-
import * as
|
|
42
|
+
import { isPanoramaLike as w, isModelLike as P } from "../../../shared-utils/five/mode.js";
|
|
43
|
+
import * as B from "three";
|
|
44
44
|
import "hammerjs";
|
|
45
45
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
46
46
|
import { centerPoint as ee } from "../../../shared-utils/three/centerPoint.js";
|
|
47
|
-
import "
|
|
48
|
-
import { anyPositionToVector3 as A } from "../../../shared-utils/positionToVector3.js";
|
|
49
|
-
import "../../../Sculpt/utils/Modules/Global.js";
|
|
47
|
+
import "../../../Sculpt/Meshes/Line.js";
|
|
50
48
|
import "../../../shared-utils/three/THREESphere.js";
|
|
51
49
|
import { blink as ie, reblink as te } from "../../../shared-utils/three/blink.js";
|
|
52
50
|
import { vectorToCoordinates as ne } from "../../../shared-utils/vectorToCoordinate.js";
|
|
53
|
-
import { transformPosition as
|
|
54
|
-
import { isNil as
|
|
51
|
+
import { transformPosition as A } from "../../../shared-utils/five/transformPosition.js";
|
|
52
|
+
import { isNil as O, notNil as R } from "../../../shared-utils/isNil.js";
|
|
55
53
|
import { lookPoint as oe } from "../../../shared-utils/five/lookPoint.js";
|
|
56
54
|
import { uuid as se } from "../../../shared-utils/uuid.js";
|
|
57
55
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
58
56
|
import { objectAssignDeepExports as b } from "../../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
57
|
+
import { anyPositionToVector3 as E } from "../../../shared-utils/positionToVector3.js";
|
|
59
58
|
import { getTagPosition as L, getTagCenterPosition as $ } from "../../utils/tagPosition.js";
|
|
60
59
|
import { checkRange as C } from "../../utils/checkRange.js";
|
|
61
|
-
import { isMediaPlaneTag as re, isMediaModelTag as
|
|
60
|
+
import { isMediaPlaneTag as re, isMediaModelTag as T } from "../../utils/tag/tagCheck.js";
|
|
62
61
|
import { getUrlExt as N } from "../../../shared-utils/url/getUrl.js";
|
|
63
62
|
import { getFloorIndex as le } from "../../../shared-utils/five/getFloorIndex.js";
|
|
64
63
|
import { safeObj as z } from "../../../shared-utils/safeObj.js";
|
|
65
64
|
import { toArray as ae } from "../../../shared-utils/util.js";
|
|
66
65
|
import { Cache as fe } from "../../utils/Cache.js";
|
|
67
66
|
import { sleep as de } from "../../../CruisePlugin/utils/sleep.js";
|
|
67
|
+
import { _raycaster as V } from "../../../shared-utils/three/raycaster.js";
|
|
68
68
|
import "../../../shared-utils/typescript/entries.js";
|
|
69
69
|
import "../../utils/tag/adaptConfig.js";
|
|
70
70
|
import "../../typings/tag/TagConfig.js";
|
|
71
71
|
import "@realsee/five";
|
|
72
72
|
import "animejs";
|
|
73
|
+
import "../../../Sculpt/typings/style.js";
|
|
74
|
+
import "../../../shared-utils/five/FiveLine.js";
|
|
75
|
+
import "@realsee/five/line";
|
|
76
|
+
import "../../../shared-utils/three/IObject3D.js";
|
|
77
|
+
import "../../../shared-utils/tag.js";
|
|
78
|
+
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
79
|
+
import "../../../shared-utils/five/getFiveModel.js";
|
|
80
|
+
import "../../../Sculpt/utils/Modules/Global.js";
|
|
73
81
|
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
74
82
|
import "../../../Object3DHelperPlugin/Controller.js";
|
|
75
83
|
import "../../../base/BasePlugin.js";
|
|
76
84
|
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
77
85
|
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
78
86
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
79
|
-
import "../../../shared-utils/five/getFiveModel.js";
|
|
80
87
|
import "../../../shared-utils/url/absoluteUrl.js";
|
|
81
88
|
import "../../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
82
89
|
import "../../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
83
90
|
import "../../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
84
|
-
import "../../../shared-utils/three/IObject3D.js";
|
|
85
91
|
import "../../../shared-utils/three/boundingBox.js";
|
|
86
92
|
import "../../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
87
93
|
import "../../../shared-utils/Object3DHelper/utils/direction.js";
|
|
@@ -134,20 +140,14 @@ import "../../../shared-utils/three/Assets/index.js";
|
|
|
134
140
|
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
135
141
|
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
136
142
|
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
137
|
-
import "../../../Sculpt/Meshes/Line.js";
|
|
138
|
-
import "../../../Sculpt/typings/style.js";
|
|
139
|
-
import "../../../shared-utils/five/FiveLine.js";
|
|
140
|
-
import "../../../shared-utils/tag.js";
|
|
141
|
-
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
142
|
-
import "../../../Sculpt/utils/removeAllTag.js";
|
|
143
143
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
144
144
|
import "../../../shared-utils/isTouchDevice.js";
|
|
145
145
|
import "../../../shared-utils/five/getPosition.js";
|
|
146
146
|
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
147
|
+
import "../../../Sculpt/utils/removeAllTag.js";
|
|
148
|
+
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
147
149
|
import "../../../shared-utils/formatRad.js";
|
|
148
|
-
|
|
149
|
-
k.params.Points.threshold = 0.1;
|
|
150
|
-
class ht {
|
|
150
|
+
class mt {
|
|
151
151
|
constructor(i, e) {
|
|
152
152
|
f(this, "plugin");
|
|
153
153
|
f(this, "id");
|
|
@@ -183,7 +183,7 @@ class ht {
|
|
|
183
183
|
e.stickType = t;
|
|
184
184
|
const r = JSON.parse(JSON.stringify(e.data)), n = (o = e.initialConfig) != null ? o : e.config ? JSON.parse(JSON.stringify(e.config)) : {};
|
|
185
185
|
e.initialConfig = n;
|
|
186
|
-
const l =
|
|
186
|
+
const l = U(e, i.config), s = this.getConfig(e);
|
|
187
187
|
e.config = s, this.id = (a = e.id) != null ? a : se(), this.enabled = (c = e.enabled) != null ? c : !0, this.contentType = e.contentType, this.data = (g = s.initialData) != null && g.important ? b(e.data, r, s.initialData) : b(e.data, s.initialData, r), this.state = p({
|
|
188
188
|
visible: void 0,
|
|
189
189
|
unfolded: !this.can("fold")
|
|
@@ -192,9 +192,9 @@ class ht {
|
|
|
192
192
|
if (!d)
|
|
193
193
|
return;
|
|
194
194
|
const m = i.workUtil.transform;
|
|
195
|
-
return Array.isArray(d) && d.length === 4 ? d.map(
|
|
195
|
+
return Array.isArray(d) && d.length === 4 ? d.map(E).map((h) => A(h, m).toArray()) : A(E(d), m).toArray();
|
|
196
196
|
})(), this.matrix = e.matrix ? (() => {
|
|
197
|
-
const d = new
|
|
197
|
+
const d = new B.Matrix4().fromArray(e.matrix);
|
|
198
198
|
return d.premultiply(i.workUtil.transform), d.elements;
|
|
199
199
|
})() : e.matrix, this.initialConfig = n, this.computedConfig = l, this.stickType = t, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new fe(), this.hooks = new K(), Object.keys(e).forEach((d) => {
|
|
200
200
|
this[d] === void 0 && e[d] !== void 0 && (this[d] = e[d]);
|
|
@@ -215,7 +215,7 @@ class ht {
|
|
|
215
215
|
}
|
|
216
216
|
get currentConfig() {
|
|
217
217
|
var r, n;
|
|
218
|
-
const i =
|
|
218
|
+
const i = U(this, this.plugin.config, { useCache: !0 }), e = this.five.getCurrentState().mode, t = (r = i.configWithFiveMode) == null ? void 0 : r[e];
|
|
219
219
|
return (n = t != null ? t : i) != null ? n : {};
|
|
220
220
|
}
|
|
221
221
|
get currentVisible() {
|
|
@@ -234,7 +234,7 @@ class ht {
|
|
|
234
234
|
* @description 找到标签
|
|
235
235
|
*/
|
|
236
236
|
find(i) {
|
|
237
|
-
return
|
|
237
|
+
return I(this, null, function* () {
|
|
238
238
|
var r;
|
|
239
239
|
const e = this.fiveState;
|
|
240
240
|
if (!this.fiveState)
|
|
@@ -242,7 +242,7 @@ class ht {
|
|
|
242
242
|
const t = (r = i == null ? void 0 : i.targetMode) != null ? r : this.five.state.mode;
|
|
243
243
|
if (t === "Panorama") {
|
|
244
244
|
const n = e == null ? void 0 : e.panoIndex;
|
|
245
|
-
if (
|
|
245
|
+
if (O(n))
|
|
246
246
|
return;
|
|
247
247
|
const l = this.workUtil.getObserverPosition(n), s = this.centerPosition.clone().sub(l).normalize();
|
|
248
248
|
this.five.setState(p({
|
|
@@ -258,7 +258,7 @@ class ht {
|
|
|
258
258
|
* @description 闪烁
|
|
259
259
|
*/
|
|
260
260
|
blink(i) {
|
|
261
|
-
return
|
|
261
|
+
return I(this, null, function* () {
|
|
262
262
|
var s, o;
|
|
263
263
|
const e = (s = this.enabled) != null ? s : !0, t = (o = this.state) == null ? void 0 : o.visible, r = e && t;
|
|
264
264
|
r === !1 && (this.state.visible = !0, this.enabled = !0, this.applyVisible(), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.plugin.render(), yield de(0), this.dom && (this.dom.style.visibility = "hidden"), this.contentDom && (this.contentDom.style.visibility = "hidden"));
|
|
@@ -358,7 +358,7 @@ class ht {
|
|
|
358
358
|
}
|
|
359
359
|
getConfig(i, e) {
|
|
360
360
|
var l, s, o;
|
|
361
|
-
const t =
|
|
361
|
+
const t = U(i != null ? i : this, this.plugin.config, { useCache: e == null ? void 0 : e.useCache }), r = (l = e == null ? void 0 : e.fiveMode) != null ? l : this.five.getCurrentState().mode, n = (s = t.configWithFiveMode) == null ? void 0 : s[r];
|
|
362
362
|
return (o = n != null ? n : t) != null ? o : {};
|
|
363
363
|
}
|
|
364
364
|
getDistance(i, e = 3) {
|
|
@@ -370,7 +370,7 @@ class ht {
|
|
|
370
370
|
return !1;
|
|
371
371
|
const e = p(p({}, this.five.getCurrentState()), i);
|
|
372
372
|
let t = this.cache.getVisible(this, e);
|
|
373
|
-
return
|
|
373
|
+
return O(t) && (t = this.computeVisible(e).value, this.cache.setVisible(this, e, t)), t;
|
|
374
374
|
}
|
|
375
375
|
getUnfoldedByPanoIndex(i) {
|
|
376
376
|
if (!this.currentVisible)
|
|
@@ -417,7 +417,7 @@ class ht {
|
|
|
417
417
|
if (t[0].type === "Image")
|
|
418
418
|
return N(t[0].url) === "gif" ? "Dom" : "Mesh";
|
|
419
419
|
}
|
|
420
|
-
} else if (
|
|
420
|
+
} else if (T(this))
|
|
421
421
|
return t.length === 1 && t[0].type === "Image" ? N(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
|
|
422
422
|
}
|
|
423
423
|
})();
|
|
@@ -443,11 +443,11 @@ class ht {
|
|
|
443
443
|
if ((m == null ? void 0 : m.value) === !1)
|
|
444
444
|
return m;
|
|
445
445
|
if (o.followModelVisibility === !0 && ["poincare", "aerophoto", "sand"].includes(this.workUtil.fromType) && (r === "Floorplan" || r === "Mapview")) {
|
|
446
|
-
const c = this.computeVisibleByFloorIndex(), { value: h } = c, v =
|
|
446
|
+
const c = this.computeVisibleByFloorIndex(), { value: h } = c, v = j(c, ["value"]);
|
|
447
447
|
if (h === !1)
|
|
448
448
|
return p({ value: !1, checkedList: n, reason: "followModelVisibility check failed" }, v);
|
|
449
449
|
}
|
|
450
|
-
if (
|
|
450
|
+
if (w(r) && o.visiblePanoIndex !== void 0 && o.visiblePanoIndex !== "all" && t !== void 0) {
|
|
451
451
|
if (n.push("visiblePanoIndex"), Array.isArray(o.visiblePanoIndex) && !o.visiblePanoIndex.includes(t))
|
|
452
452
|
return {
|
|
453
453
|
value: !1,
|
|
@@ -503,7 +503,7 @@ class ht {
|
|
|
503
503
|
if (n === "ModelLike")
|
|
504
504
|
return P(e);
|
|
505
505
|
if (n === "PanoramaLike")
|
|
506
|
-
return !
|
|
506
|
+
return !w(e);
|
|
507
507
|
if (n === "all")
|
|
508
508
|
return !0;
|
|
509
509
|
if (typeof n == "string")
|
|
@@ -512,7 +512,7 @@ class ht {
|
|
|
512
512
|
if ((() => {
|
|
513
513
|
var l;
|
|
514
514
|
const n = t();
|
|
515
|
-
if (
|
|
515
|
+
if (R((l = this.fiveState) == null ? void 0 : l.panoIndex) && i.entryFromModel) {
|
|
516
516
|
if (P(e) && n ? this.entryFromModel = !1 : this.entryFromModel = !0, P(e))
|
|
517
517
|
return !0;
|
|
518
518
|
} else
|
|
@@ -529,7 +529,7 @@ class ht {
|
|
|
529
529
|
/** 通过射线检测标签可用性 */
|
|
530
530
|
computeVisibleByIntersect(i) {
|
|
531
531
|
var o, a, c, g;
|
|
532
|
-
const e = z(z((o = this.getConfig().visibleConfig) != null ? o : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, r =
|
|
532
|
+
const e = z(z((o = this.getConfig().visibleConfig) != null ? o : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, r = w(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
|
|
533
533
|
if (r === void 0)
|
|
534
534
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
|
|
535
535
|
const n = ae(
|
|
@@ -541,21 +541,21 @@ class ht {
|
|
|
541
541
|
);
|
|
542
542
|
let l = 0, s = 0;
|
|
543
543
|
for (const d of n) {
|
|
544
|
-
const m = new
|
|
544
|
+
const m = new B.Vector3().subVectors(d, r).normalize();
|
|
545
545
|
let h;
|
|
546
|
-
|
|
547
|
-
const [v] = this.fiveUtil.model.intersectRaycaster(
|
|
546
|
+
V.set(r, m);
|
|
547
|
+
const [v] = this.fiveUtil.model.intersectRaycaster(V);
|
|
548
548
|
h = v == null ? void 0 : v.distance;
|
|
549
|
-
const
|
|
550
|
-
if (!
|
|
549
|
+
const k = (() => {
|
|
550
|
+
if (!T(this))
|
|
551
551
|
return;
|
|
552
|
-
const
|
|
553
|
-
var
|
|
554
|
-
return (
|
|
555
|
-
}).filter(
|
|
556
|
-
return
|
|
552
|
+
const _ = this.plugin.tags.filter(T).map((Q) => {
|
|
553
|
+
var S;
|
|
554
|
+
return (S = Q.model) == null ? void 0 : S.object;
|
|
555
|
+
}).filter(R), [q] = V.intersectObjects(_, !0);
|
|
556
|
+
return q;
|
|
557
557
|
})(), J = r.distanceTo(d), W = (a = e.distanceAccuracy) != null ? a : 0.01;
|
|
558
|
-
h = Math.min(h != null ? h : 1 / 0, (c =
|
|
558
|
+
h = Math.min(h != null ? h : 1 / 0, (c = k == null ? void 0 : k.distance) != null ? c : 1 / 0), h + W >= J ? l++ : s++;
|
|
559
559
|
const H = (g = e.needPassed) != null ? g : 1;
|
|
560
560
|
if (l >= H)
|
|
561
561
|
return { value: !0 };
|
|
@@ -630,7 +630,7 @@ class ht {
|
|
|
630
630
|
}).map((s) => ({ tag: s, id: s.id, tagConfig: s.getConfig().unfoldedConfig })).filter(({ tagConfig: s }) => {
|
|
631
631
|
var o, a;
|
|
632
632
|
return !(typeof s == "function" || s.keep || s.autoUnfold === !1 || ((o = s.autoUnfold) == null ? void 0 : o.enable) === !1 || ((a = s.autoUnfold) == null ? void 0 : a.strategy) !== "MinimumDistance");
|
|
633
|
-
}).map((s) =>
|
|
633
|
+
}).map((s) => M(p({}, s), { distance: s.tag.getDistance() })).filter(({ distance: s, tagConfig: o }) => {
|
|
634
634
|
const a = o.autoUnfold.distance;
|
|
635
635
|
return !(a && C(s, a) === !1);
|
|
636
636
|
}).sort((s, o) => s.distance - o.distance).findIndex((s) => s.id === this.id);
|
|
@@ -670,7 +670,7 @@ class ht {
|
|
|
670
670
|
return { reason: `plugin.state.visible is ${this.plugin.state.visible}` };
|
|
671
671
|
if (!this.enabled)
|
|
672
672
|
return { reason: `tag ${this.id} enabled is: ${this.enabled}` };
|
|
673
|
-
const i =
|
|
673
|
+
const i = M(p({}, this.computeVisible()), {
|
|
674
674
|
tagInstance: this
|
|
675
675
|
});
|
|
676
676
|
return i.value !== this.state.visible ? { reason: "插件故障,请联系维护人员, err: 0", info: i } : this.state.visible ? { reason: "应该是能看见才对", info: i } : i.value === !0 ? { reason: "插件故障,请联系维护人员, err: 1", info: i } : { reason: (e = i.reason.type) != null ? e : i.reason, info: i };
|
|
@@ -685,5 +685,5 @@ class ht {
|
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
687
|
export {
|
|
688
|
-
|
|
688
|
+
mt as BaseTag
|
|
689
689
|
};
|
|
@@ -45,24 +45,31 @@ import "@realsee/five";
|
|
|
45
45
|
import "../../../shared-utils/five/mode.js";
|
|
46
46
|
import "hammerjs";
|
|
47
47
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
48
|
+
import "../../../Sculpt/Meshes/Line.js";
|
|
49
|
+
import "../../../Sculpt/typings/style.js";
|
|
50
|
+
import "../../../shared-utils/five/FiveLine.js";
|
|
48
51
|
import "@realsee/five/line";
|
|
52
|
+
import "../../../shared-utils/three/IObject3D.js";
|
|
53
|
+
import "../../../shared-utils/three/THREESphere.js";
|
|
54
|
+
import "animejs";
|
|
55
|
+
import "../../../shared-utils/isNil.js";
|
|
56
|
+
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
57
|
+
import "../../../shared-utils/tag.js";
|
|
58
|
+
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
59
|
+
import "../../../shared-utils/five/getFiveModel.js";
|
|
60
|
+
import "../../../shared-utils/three/raycaster.js";
|
|
49
61
|
import "../../../Sculpt/utils/Modules/Global.js";
|
|
50
62
|
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
51
63
|
import "../../../Object3DHelperPlugin/Controller.js";
|
|
52
64
|
import "../../../base/BasePlugin.js";
|
|
53
|
-
import "../../../shared-utils/three/THREESphere.js";
|
|
54
|
-
import "animejs";
|
|
55
65
|
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
56
66
|
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
57
67
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
58
68
|
import "../../../shared-utils/five/transformPosition.js";
|
|
59
|
-
import "../../../shared-utils/five/getFiveModel.js";
|
|
60
69
|
import "../../../shared-utils/url/absoluteUrl.js";
|
|
61
|
-
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
62
70
|
import "../../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
63
71
|
import "../../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
64
72
|
import "../../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
65
|
-
import "../../../shared-utils/three/IObject3D.js";
|
|
66
73
|
import "../../../shared-utils/three/boundingBox.js";
|
|
67
74
|
import "../../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
68
75
|
import "../../../shared-utils/Object3DHelper/utils/direction.js";
|
|
@@ -76,7 +83,6 @@ import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
|
76
83
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
77
84
|
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
78
85
|
import "../../../shared-utils/three/getObjectVisible.js";
|
|
79
|
-
import "../../../shared-utils/isNil.js";
|
|
80
86
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
81
87
|
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
82
88
|
import "../../../shared-utils/util.js";
|
|
@@ -117,16 +123,12 @@ import "../../../shared-utils/three/Assets/index.js";
|
|
|
117
123
|
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
118
124
|
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
119
125
|
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
120
|
-
import "../../../Sculpt/Meshes/Line.js";
|
|
121
|
-
import "../../../Sculpt/typings/style.js";
|
|
122
|
-
import "../../../shared-utils/five/FiveLine.js";
|
|
123
|
-
import "../../../shared-utils/tag.js";
|
|
124
|
-
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
125
|
-
import "../../../Sculpt/utils/removeAllTag.js";
|
|
126
126
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
127
127
|
import "../../../shared-utils/isTouchDevice.js";
|
|
128
128
|
import "../../../shared-utils/five/getPosition.js";
|
|
129
129
|
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
130
|
+
import "../../../Sculpt/utils/removeAllTag.js";
|
|
131
|
+
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
130
132
|
import "../../utils/tag/format.js";
|
|
131
133
|
import "../../../shared-utils/three/blink.js";
|
|
132
134
|
import "../../../shared-utils/vectorToCoordinate.js";
|
|
@@ -140,7 +142,7 @@ import "../../../shared-utils/five/getFloorIndex.js";
|
|
|
140
142
|
import "../../../shared-utils/safeObj.js";
|
|
141
143
|
import "../../utils/Cache.js";
|
|
142
144
|
import "../../../CruisePlugin/utils/sleep.js";
|
|
143
|
-
class
|
|
145
|
+
class Ni extends D {
|
|
144
146
|
constructor(i, p) {
|
|
145
147
|
super(i, p);
|
|
146
148
|
l(this, "loading", !1);
|
|
@@ -193,5 +195,5 @@ class Si extends D {
|
|
|
193
195
|
}
|
|
194
196
|
}
|
|
195
197
|
export {
|
|
196
|
-
|
|
198
|
+
Ni as ModelTag
|
|
197
199
|
};
|
|
@@ -23,24 +23,31 @@ import "@realsee/five";
|
|
|
23
23
|
import "../../../shared-utils/five/mode.js";
|
|
24
24
|
import "hammerjs";
|
|
25
25
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
26
|
+
import "../../../Sculpt/Meshes/Line.js";
|
|
27
|
+
import "../../../Sculpt/typings/style.js";
|
|
28
|
+
import "../../../shared-utils/five/FiveLine.js";
|
|
26
29
|
import "@realsee/five/line";
|
|
30
|
+
import "../../../shared-utils/three/IObject3D.js";
|
|
31
|
+
import "../../../shared-utils/three/THREESphere.js";
|
|
32
|
+
import "animejs";
|
|
33
|
+
import "../../../shared-utils/isNil.js";
|
|
34
|
+
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
35
|
+
import "../../../shared-utils/tag.js";
|
|
36
|
+
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
37
|
+
import "../../../shared-utils/five/getFiveModel.js";
|
|
38
|
+
import "../../../shared-utils/three/raycaster.js";
|
|
27
39
|
import "../../../Sculpt/utils/Modules/Global.js";
|
|
28
40
|
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
29
41
|
import "../../../Object3DHelperPlugin/Controller.js";
|
|
30
42
|
import "../../../base/BasePlugin.js";
|
|
31
|
-
import "../../../shared-utils/three/THREESphere.js";
|
|
32
|
-
import "animejs";
|
|
33
43
|
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
34
44
|
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
35
45
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
36
46
|
import "../../../shared-utils/five/transformPosition.js";
|
|
37
|
-
import "../../../shared-utils/five/getFiveModel.js";
|
|
38
47
|
import "../../../shared-utils/url/absoluteUrl.js";
|
|
39
|
-
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
40
48
|
import "../../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
41
49
|
import "../../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
42
50
|
import "../../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
43
|
-
import "../../../shared-utils/three/IObject3D.js";
|
|
44
51
|
import "../../../shared-utils/three/boundingBox.js";
|
|
45
52
|
import "../../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
46
53
|
import "../../../shared-utils/Object3DHelper/utils/direction.js";
|
|
@@ -54,7 +61,6 @@ import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
|
54
61
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
55
62
|
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
56
63
|
import "../../../shared-utils/three/getObjectVisible.js";
|
|
57
|
-
import "../../../shared-utils/isNil.js";
|
|
58
64
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
59
65
|
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
60
66
|
import "../../../shared-utils/util.js";
|
|
@@ -95,16 +101,12 @@ import "../../../shared-utils/three/Assets/index.js";
|
|
|
95
101
|
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
96
102
|
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
97
103
|
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
98
|
-
import "../../../Sculpt/Meshes/Line.js";
|
|
99
|
-
import "../../../Sculpt/typings/style.js";
|
|
100
|
-
import "../../../shared-utils/five/FiveLine.js";
|
|
101
|
-
import "../../../shared-utils/tag.js";
|
|
102
|
-
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
103
|
-
import "../../../Sculpt/utils/removeAllTag.js";
|
|
104
104
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
105
105
|
import "../../../shared-utils/isTouchDevice.js";
|
|
106
106
|
import "../../../shared-utils/five/getPosition.js";
|
|
107
107
|
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
108
|
+
import "../../../Sculpt/utils/removeAllTag.js";
|
|
109
|
+
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
108
110
|
import "../../utils/tag/format.js";
|
|
109
111
|
import "../../../shared-utils/three/blink.js";
|
|
110
112
|
import "../../../shared-utils/vectorToCoordinate.js";
|
|
@@ -120,7 +122,7 @@ import "../../../shared-utils/safeObj.js";
|
|
|
120
122
|
import "../../utils/Cache.js";
|
|
121
123
|
import "../../../CruisePlugin/utils/sleep.js";
|
|
122
124
|
const P = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map();
|
|
123
|
-
class
|
|
125
|
+
class Gi extends f {
|
|
124
126
|
constructor(i, t) {
|
|
125
127
|
super(i, t), this.state.unfolded = !0;
|
|
126
128
|
}
|
|
@@ -177,5 +179,5 @@ class wi extends f {
|
|
|
177
179
|
}
|
|
178
180
|
}
|
|
179
181
|
export {
|
|
180
|
-
|
|
182
|
+
Gi as PlaneTag
|
|
181
183
|
};
|