@realsee/dnalogel 3.50.17-alpha.0 → 3.51.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/CHANGELOG.md +3 -0
- package/dist/ModelMakerPlugin/Controller.d.ts +2 -0
- package/dist/Sculpt/utils/export.d.ts +18 -0
- package/dist/index.cjs.js +207 -207
- package/dist/index.js +34866 -34775
- package/dist/index.umd.js +211 -211
- package/dist/shared-utils/five/fiveEveryReadyListener.d.ts +2 -0
- package/dist/shared-utils/index.d.ts +1 -0
- package/dist/shared-utils/tag.d.ts +40 -1
- package/dist/shared-utils/three/temp.d.ts +2 -2
- package/libs/AreaMakerPlugin/Controller.js +100 -46
- package/libs/AreaMakerPlugin/index.js +64 -10
- package/libs/AreaMakerPlugin/utils/Item.js +156 -100
- package/libs/CSS3DRenderPlugin/Controller.js +93 -44
- package/libs/CSS3DRenderPlugin/index.js +62 -13
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +105 -49
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +130 -77
- package/libs/CruisePlugin/BaseController.js +143 -89
- package/libs/CruisePlugin/Move.js +83 -39
- package/libs/CruisePlugin/Work.js +95 -51
- package/libs/CruisePlugin/index.js +66 -22
- package/libs/CurrentPanoImagePlugin/Controller.js +139 -85
- package/libs/CurrentPanoImagePlugin/index.js +63 -9
- package/libs/GuideLinePlugin/Controller.js +57 -13
- package/libs/GuideLinePlugin/GuideLineItem.js +63 -19
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +6 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +58 -14
- package/libs/GuideLinePlugin/index.js +66 -22
- package/libs/ModelMakerPlugin/Controller.d.ts +2 -0
- package/libs/ModelMakerPlugin/Controller.js +190 -129
- package/libs/ModelMakerPlugin/index.js +63 -21
- package/libs/ModelMakerPlugin/item/baseItem.js +4 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +5 -3
- package/libs/ModelMakerPlugin/item/polygonItem.js +9 -7
- package/libs/ModelMakerPlugin/item/prismItem.js +5 -3
- package/libs/ModelTVVideoPlugin/Plugin.js +96 -47
- package/libs/ModelTVVideoPlugin/index.js +55 -6
- package/libs/Object3DHelperPlugin/Controller.js +42 -25
- package/libs/Object3DHelperPlugin/index.js +28 -12
- package/libs/PanoCompassPlugin/Controller.js +92 -44
- package/libs/PanoCompassPlugin/index.js +63 -15
- package/libs/PanoDoorLabelPlugin/BaseController.js +79 -25
- package/libs/PanoDoorLabelPlugin/Controller.js +132 -78
- package/libs/PanoDoorLabelPlugin/index.js +63 -9
- package/libs/PanoMeasurePlugin/Components/Controller0.js +126 -77
- package/libs/PanoMeasurePlugin/Components/Controller1.js +139 -90
- package/libs/PanoMeasurePlugin/Controller/EditController.js +120 -71
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +120 -70
- package/libs/PanoMeasurePlugin/Controller/index.js +132 -86
- package/libs/PanoMeasurePlugin/Model/area.js +72 -22
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +56 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +64 -15
- package/libs/PanoMeasurePlugin/index.js +62 -16
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +57 -2
- package/libs/PanoRulerProPlugin/Controller.js +88 -33
- package/libs/PanoRulerProPlugin/RulerItems.js +146 -91
- package/libs/PanoRulerProPlugin/index.js +64 -9
- package/libs/PanoSpatialTagPlugin/Plugin.js +177 -128
- package/libs/PanoSpatialTagPlugin/index.js +53 -4
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +116 -60
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +192 -136
- package/libs/PanoTagPlugin/Components/Tag/index.js +194 -139
- package/libs/PanoTagPlugin/Components/TagContainer.js +112 -57
- package/libs/PanoTagPlugin/Components/TagItem.js +204 -149
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +157 -101
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +75 -20
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +86 -31
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +93 -37
- package/libs/PanoTagPlugin/controller/TagRender.js +62 -18
- package/libs/PanoTagPlugin/controller/TagUtil.js +123 -79
- package/libs/PanoTagPlugin/controller/index.js +110 -72
- package/libs/PanoTagPlugin/index.js +72 -28
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +77 -21
- package/libs/PanoVideoPlugin/Controller.js +95 -41
- package/libs/PanoVideoPlugin/VideoMeshController.js +119 -63
- package/libs/PanoVideoPlugin/index.js +66 -12
- package/libs/PipelinePlugin/Controller.js +173 -119
- package/libs/PipelinePlugin/index.js +63 -9
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +70 -14
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +58 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +98 -42
- package/libs/Sculpt/Meshes/Box.js +3 -2
- package/libs/Sculpt/Meshes/Cylinder.js +10 -6
- package/libs/Sculpt/Meshes/Line.js +43 -38
- package/libs/Sculpt/Meshes/LineWithDots.js +14 -10
- package/libs/Sculpt/Meshes/Point.js +24 -20
- package/libs/Sculpt/Meshes/Polygon.js +5 -2
- package/libs/Sculpt/Meshes/Prism.js +19 -16
- package/libs/Sculpt/Objects/Line/Editor.js +6 -5
- package/libs/Sculpt/index.js +15 -14
- package/libs/Sculpt/utils/export.d.ts +18 -0
- package/libs/Sculpt/utils/export.js +21 -0
- package/libs/Sculpt/utils/three/ColoredMesh.js +26 -22
- package/libs/base/BasePlugin.js +14 -10
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +146 -94
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +62 -10
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +109 -56
- package/libs/floorplan/ModelFloorplanPlugin/index.js +62 -9
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +116 -63
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +62 -9
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +105 -52
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +62 -9
- package/libs/floorplan/index.js +4 -0
- package/libs/index.js +208 -206
- package/libs/shared-utils/five/fiveEveryReadyListener.d.ts +2 -0
- package/libs/shared-utils/five/fiveEveryReadyListener.js +15 -0
- package/libs/shared-utils/five/index.js +6 -2
- package/libs/shared-utils/five/lookObject.js +31 -27
- package/libs/shared-utils/index.d.ts +1 -0
- package/libs/shared-utils/index.js +19 -17
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +40 -1
- package/libs/shared-utils/tag.js +139 -86
- package/libs/shared-utils/three/index.js +4 -0
- package/libs/shared-utils/three/temp.d.ts +2 -2
- package/libs/shared-utils/three/temp.js +4 -4
- package/package.json +1 -1
- package/README.md +0 -116
|
@@ -2,15 +2,15 @@ var h = Object.defineProperty, l = Object.defineProperties;
|
|
|
2
2
|
var d = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var a = Object.getOwnPropertySymbols;
|
|
4
4
|
var u = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var e = (r, i, t) => i in r ? h(r, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[i] = t, o = (r, i) => {
|
|
6
6
|
for (var t in i || (i = {}))
|
|
7
|
-
u.call(i, t) &&
|
|
7
|
+
u.call(i, t) && e(r, t, i[t]);
|
|
8
8
|
if (a)
|
|
9
9
|
for (var t of a(i))
|
|
10
|
-
b.call(i, t) &&
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
var
|
|
10
|
+
b.call(i, t) && e(r, t, i[t]);
|
|
11
|
+
return r;
|
|
12
|
+
}, p = (r, i) => l(r, d(i));
|
|
13
|
+
var m = (r, i, t) => (e(r, 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";
|
|
@@ -24,7 +24,10 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
24
24
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
25
25
|
import "../shared-utils/five/transformPosition.js";
|
|
26
26
|
import "../shared-utils/three/temp.js";
|
|
27
|
+
import "../shared-utils/three/core/Raycaster.js";
|
|
27
28
|
import "../shared-utils/dom/resizeObserver.js";
|
|
29
|
+
import "../shared-utils/five/fiveEveryReadyListener.js";
|
|
30
|
+
import "../shared-utils/throttle.js";
|
|
28
31
|
import "hammerjs";
|
|
29
32
|
import "../shared-utils/three/PointSelector/index.js";
|
|
30
33
|
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
@@ -45,32 +48,83 @@ import "../shared-utils/three/core/Sphere.js";
|
|
|
45
48
|
import "animejs";
|
|
46
49
|
import "../shared-utils/isNil.js";
|
|
47
50
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
48
|
-
import "../
|
|
49
|
-
import "../shared-utils/
|
|
51
|
+
import "../Sculpt/Meshes/Polygon.js";
|
|
52
|
+
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
53
|
+
import "../shared-utils/three/earcut3D.js";
|
|
54
|
+
import "earcut";
|
|
55
|
+
import "../shared-utils/three/getNormal.js";
|
|
56
|
+
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
57
|
+
import "../Sculpt/typings/style.js";
|
|
58
|
+
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
59
|
+
import "../shared-utils/three/IObject3D.js";
|
|
60
|
+
import "../Sculpt/utils/Modules/Global.js";
|
|
61
|
+
import "../Sculpt/utils/Modules/Cursor.js";
|
|
62
|
+
import "../Object3DHelperPlugin/Controller.js";
|
|
63
|
+
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
64
|
+
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
65
|
+
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
66
|
+
import "../shared-utils/three/boundingBox.js";
|
|
67
|
+
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
68
|
+
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
69
|
+
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
70
|
+
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
71
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
50
72
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
51
73
|
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
52
74
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
75
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
76
|
+
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
77
|
+
import "../shared-utils/util.js";
|
|
78
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
79
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
80
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
53
81
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
54
82
|
import "../Sculpt/Meshes/Line.js";
|
|
55
|
-
import "../Sculpt/typings/style.js";
|
|
56
83
|
import "../shared-utils/five/FiveLine.js";
|
|
57
|
-
import "../shared-utils/three/IObject3D.js";
|
|
58
84
|
import "../Sculpt/utils/removeAllTag.js";
|
|
59
85
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
60
86
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
61
|
-
import "../
|
|
87
|
+
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
88
|
+
import "../Sculpt/utils/three/rayOnLine.js";
|
|
62
89
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
90
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
91
|
+
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
92
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
93
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
94
|
+
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
95
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
96
|
+
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
97
|
+
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
98
|
+
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
99
|
+
import "../shared-utils/threex/domevents/index.js";
|
|
100
|
+
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
101
|
+
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
102
|
+
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
103
|
+
import "../shared-utils/Object3DHelper/index.js";
|
|
104
|
+
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
105
|
+
import "../shared-utils/math/rad2Deg.js";
|
|
106
|
+
import "../shared-utils/math/deg2Rad.js";
|
|
107
|
+
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
108
|
+
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
109
|
+
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
110
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
111
|
+
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
112
|
+
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
113
|
+
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
114
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
115
|
+
import "../shared-utils/five/FiveDomEvents.js";
|
|
116
|
+
import "../shared-utils/five/calculateThreeMouse.js";
|
|
63
117
|
import "../shared-utils/isTouchDevice.js";
|
|
118
|
+
import "../shared-utils/three/geometryUtil.js";
|
|
64
119
|
import "../shared-utils/five/getPosition.js";
|
|
65
120
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
66
121
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
67
|
-
|
|
68
|
-
class St extends c {
|
|
122
|
+
class Si extends c {
|
|
69
123
|
constructor(t) {
|
|
70
124
|
super(t);
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
125
|
+
m(this, "state");
|
|
126
|
+
m(this, "container");
|
|
127
|
+
m(this, "enabled");
|
|
74
128
|
this.five = t, this.five.once("dispose", this.dispose), this.enabled = !0, this.state = this.initState();
|
|
75
129
|
}
|
|
76
130
|
/**
|
|
@@ -78,14 +132,14 @@ class St extends c {
|
|
|
78
132
|
* @param options
|
|
79
133
|
*/
|
|
80
134
|
enable(t) {
|
|
81
|
-
this.enabled = !0, this.updateState(o(
|
|
135
|
+
this.enabled = !0, this.updateState(p(o({}, t), { userAction: !0 }));
|
|
82
136
|
}
|
|
83
137
|
/**
|
|
84
138
|
* 禁用组件
|
|
85
139
|
* @param options
|
|
86
140
|
*/
|
|
87
141
|
disable(t) {
|
|
88
|
-
this.enabled = !1, this.updateState(o(
|
|
142
|
+
this.enabled = !1, this.updateState(p(o({}, t), { userAction: !0 }));
|
|
89
143
|
}
|
|
90
144
|
/**
|
|
91
145
|
* 显示 UI
|
|
@@ -94,7 +148,7 @@ class St extends c {
|
|
|
94
148
|
*/
|
|
95
149
|
show(t) {
|
|
96
150
|
if (this.state.enabled)
|
|
97
|
-
return this.setState(o(
|
|
151
|
+
return this.setState(p(o({}, this.state), { visible: !0 }), t), Promise.resolve();
|
|
98
152
|
}
|
|
99
153
|
/**
|
|
100
154
|
* 隐藏 UI
|
|
@@ -103,7 +157,7 @@ class St extends c {
|
|
|
103
157
|
*/
|
|
104
158
|
hide(t) {
|
|
105
159
|
if (this.state.enabled)
|
|
106
|
-
return this.setState(o(
|
|
160
|
+
return this.setState(p(o({}, this.state), { visible: !1 }), t), Promise.resolve();
|
|
107
161
|
}
|
|
108
162
|
/**
|
|
109
163
|
* 销毁对象
|
|
@@ -117,11 +171,11 @@ class St extends c {
|
|
|
117
171
|
* @param options @BaseOptions 可选配置
|
|
118
172
|
* @returns
|
|
119
173
|
*/
|
|
120
|
-
setState(t,
|
|
174
|
+
setState(t, s) {
|
|
121
175
|
if (!this.enabled)
|
|
122
176
|
return;
|
|
123
|
-
const n =
|
|
124
|
-
this.state =
|
|
177
|
+
const n = o({}, this.state);
|
|
178
|
+
this.state = o(o(o({}, this.state), t), s), this.stateChangedCallback(n, s);
|
|
125
179
|
}
|
|
126
180
|
get visible() {
|
|
127
181
|
return this.five.state.mode === v.Mode.Panorama;
|
|
@@ -130,9 +184,9 @@ class St extends c {
|
|
|
130
184
|
this.enabled && (this.container = t, this.render());
|
|
131
185
|
}
|
|
132
186
|
updateState(t) {
|
|
133
|
-
this.setState(o(
|
|
187
|
+
this.setState(p(o({}, this.state), { enabled: this.enabled, visible: this.visible }), t);
|
|
134
188
|
}
|
|
135
189
|
}
|
|
136
190
|
export {
|
|
137
|
-
|
|
191
|
+
Si as BasePanoPluginController
|
|
138
192
|
};
|
|
@@ -2,15 +2,15 @@ var $ = Object.defineProperty, B = Object.defineProperties;
|
|
|
2
2
|
var U = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var C = Object.getOwnPropertySymbols;
|
|
4
4
|
var G = Object.prototype.hasOwnProperty, N = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var T = (
|
|
5
|
+
var T = (d, a, i) => a in d ? $(d, a, { enumerable: !0, configurable: !0, writable: !0, value: i }) : d[a] = i, H = (d, a) => {
|
|
6
6
|
for (var i in a || (a = {}))
|
|
7
|
-
G.call(a, i) && T(
|
|
7
|
+
G.call(a, i) && T(d, i, a[i]);
|
|
8
8
|
if (C)
|
|
9
9
|
for (var i of C(a))
|
|
10
|
-
N.call(a, i) && T(
|
|
11
|
-
return
|
|
12
|
-
}, W = (
|
|
13
|
-
var n = (
|
|
10
|
+
N.call(a, i) && T(d, i, a[i]);
|
|
11
|
+
return d;
|
|
12
|
+
}, W = (d, a) => B(d, U(a));
|
|
13
|
+
var n = (d, a, i) => (T(d, typeof a != "symbol" ? a + "" : a, i), i);
|
|
14
14
|
import { Raycaster as Q, Vector3 as V, Quaternion as j, Euler as z } from "three";
|
|
15
15
|
import { BasePanoPluginController as q } from "./BaseController.js";
|
|
16
16
|
import X from "./DoorLabelItem.js";
|
|
@@ -27,7 +27,10 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
27
27
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
28
28
|
import "../shared-utils/five/transformPosition.js";
|
|
29
29
|
import "../shared-utils/three/temp.js";
|
|
30
|
+
import "../shared-utils/three/core/Raycaster.js";
|
|
30
31
|
import "../shared-utils/dom/resizeObserver.js";
|
|
32
|
+
import "../shared-utils/five/fiveEveryReadyListener.js";
|
|
33
|
+
import "../shared-utils/throttle.js";
|
|
31
34
|
import "hammerjs";
|
|
32
35
|
import "../shared-utils/three/PointSelector/index.js";
|
|
33
36
|
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
@@ -48,30 +51,81 @@ import "../shared-utils/three/core/Sphere.js";
|
|
|
48
51
|
import "animejs";
|
|
49
52
|
import "../shared-utils/isNil.js";
|
|
50
53
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
51
|
-
import "../
|
|
52
|
-
import "../shared-utils/
|
|
54
|
+
import "../Sculpt/Meshes/Polygon.js";
|
|
55
|
+
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
56
|
+
import "../shared-utils/three/earcut3D.js";
|
|
57
|
+
import "earcut";
|
|
58
|
+
import "../shared-utils/three/getNormal.js";
|
|
59
|
+
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
60
|
+
import "../Sculpt/typings/style.js";
|
|
61
|
+
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
62
|
+
import "../shared-utils/three/IObject3D.js";
|
|
63
|
+
import "../Sculpt/utils/Modules/Global.js";
|
|
64
|
+
import "../Sculpt/utils/Modules/Cursor.js";
|
|
65
|
+
import "../Object3DHelperPlugin/Controller.js";
|
|
66
|
+
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
67
|
+
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
68
|
+
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
69
|
+
import "../shared-utils/three/boundingBox.js";
|
|
70
|
+
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
71
|
+
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
72
|
+
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
73
|
+
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
74
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
53
75
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
54
76
|
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
55
77
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
78
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
79
|
+
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
80
|
+
import "../shared-utils/util.js";
|
|
81
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
82
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
83
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
56
84
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
57
85
|
import "../Sculpt/Meshes/Line.js";
|
|
58
|
-
import "../Sculpt/typings/style.js";
|
|
59
86
|
import "../shared-utils/five/FiveLine.js";
|
|
60
|
-
import "../shared-utils/three/IObject3D.js";
|
|
61
87
|
import "../Sculpt/utils/removeAllTag.js";
|
|
62
88
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
63
89
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
64
|
-
import "../
|
|
90
|
+
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
91
|
+
import "../Sculpt/utils/three/rayOnLine.js";
|
|
65
92
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
93
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
94
|
+
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
95
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
96
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
97
|
+
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
98
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
99
|
+
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
100
|
+
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
101
|
+
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
102
|
+
import "../shared-utils/threex/domevents/index.js";
|
|
103
|
+
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
104
|
+
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
105
|
+
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
106
|
+
import "../shared-utils/Object3DHelper/index.js";
|
|
107
|
+
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
108
|
+
import "../shared-utils/math/rad2Deg.js";
|
|
109
|
+
import "../shared-utils/math/deg2Rad.js";
|
|
110
|
+
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
111
|
+
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
112
|
+
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
113
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
114
|
+
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
115
|
+
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
116
|
+
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
117
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
118
|
+
import "../shared-utils/five/FiveDomEvents.js";
|
|
119
|
+
import "../shared-utils/five/calculateThreeMouse.js";
|
|
66
120
|
import "../shared-utils/isTouchDevice.js";
|
|
121
|
+
import "../shared-utils/three/geometryUtil.js";
|
|
67
122
|
import "../shared-utils/five/getPosition.js";
|
|
68
123
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
69
124
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
70
|
-
import "../shared-utils/url/absoluteUrl.js";
|
|
71
125
|
import "../vendor/svelte/internal/index.js";
|
|
72
126
|
import "../vendor/classnames/index.js";
|
|
73
127
|
const ii = { userAction: !0 };
|
|
74
|
-
class
|
|
128
|
+
class ao extends q {
|
|
75
129
|
constructor(i) {
|
|
76
130
|
super(i);
|
|
77
131
|
n(this, "MinVisibledistance", 1.8);
|
|
@@ -90,23 +144,23 @@ class at extends q {
|
|
|
90
144
|
n(this, "doorLabels");
|
|
91
145
|
n(this, "roomObservers");
|
|
92
146
|
n(this, "loadData", (i, r) => {
|
|
93
|
-
r && (this.MaxVisibledistance = r.MaxVisibledistance, this.MinVisibledistance = r.MinVisibledistance, this.OffsetHeight = r.OffsetHeight), this.doorLabelItems && this.doorLabelItems.length > 0 && this.doorLabelItems.forEach((
|
|
94
|
-
|
|
147
|
+
r && (this.MaxVisibledistance = r.MaxVisibledistance, this.MinVisibledistance = r.MinVisibledistance, this.OffsetHeight = r.OffsetHeight), this.doorLabelItems && this.doorLabelItems.length > 0 && this.doorLabelItems.forEach((c) => {
|
|
148
|
+
c.$destroy();
|
|
95
149
|
}), this.labelItems = [], this.doorLabels = [], this.doorLabelItems = [], this.floorplanServerData = i, typeof this.five.ready == "function" ? this.five.ready().then(() => this.initData()) : this.five.once("panoArrived", () => {
|
|
96
150
|
this.initData();
|
|
97
151
|
});
|
|
98
152
|
});
|
|
99
153
|
n(this, "initRoomObservers", () => {
|
|
100
|
-
var
|
|
101
|
-
const i = this.floorplanServerData.computed_data.floor_datas || [],
|
|
102
|
-
const s =
|
|
154
|
+
var m, l;
|
|
155
|
+
const i = this.floorplanServerData.computed_data.floor_datas || [], c = (((l = (m = this.five) == null ? void 0 : m.work) == null ? void 0 : l.observers) || []).map((e) => {
|
|
156
|
+
const s = e.panoIndex, h = e.floorIndex, t = i == null ? void 0 : i.find((o) => o.floor_index === h);
|
|
103
157
|
if (t) {
|
|
104
|
-
const
|
|
105
|
-
if (
|
|
106
|
-
return { panoIndex: s, floorIndex:
|
|
158
|
+
const o = t.rooms.find((p) => p.observer_indexs.includes(s));
|
|
159
|
+
if (o)
|
|
160
|
+
return { panoIndex: s, floorIndex: h, name: o.name };
|
|
107
161
|
}
|
|
108
162
|
}).filter(Boolean);
|
|
109
|
-
this.roomObservers =
|
|
163
|
+
this.roomObservers = c;
|
|
110
164
|
});
|
|
111
165
|
n(this, "hideAllLabels", () => {
|
|
112
166
|
this.labelItems.forEach((i) => {
|
|
@@ -116,115 +170,115 @@ class at extends q {
|
|
|
116
170
|
n(this, "fixDoorVisibleAndPosition", () => {
|
|
117
171
|
this.initRoomObservers();
|
|
118
172
|
const { panoIndex: i } = this.five;
|
|
119
|
-
if (!this.visible || this.five.model.empty || i === null || !this.roomObservers.find((
|
|
173
|
+
if (!this.visible || this.five.model.empty || i === null || !this.roomObservers.find((e) => e.panoIndex === i))
|
|
120
174
|
return;
|
|
121
|
-
const r = this.roomObservers.find((
|
|
175
|
+
const r = this.roomObservers.find((e) => e.panoIndex === i), m = this.five.work.observers.find((e) => e.panoIndex === i).position.clone(), l = (() => {
|
|
122
176
|
if (this.visibleLabelMap.has(i))
|
|
123
177
|
return this.visibleLabelMap.get(i);
|
|
124
178
|
{
|
|
125
|
-
const
|
|
126
|
-
return this.doorLabels.forEach((s,
|
|
179
|
+
const e = [];
|
|
180
|
+
return this.doorLabels.forEach((s, h) => {
|
|
127
181
|
if (s.roomName === r.name)
|
|
128
182
|
return;
|
|
129
|
-
const t = s.position.clone(),
|
|
130
|
-
if (
|
|
183
|
+
const t = s.position.clone(), o = t.distanceTo(m);
|
|
184
|
+
if (o < this.MinVisibledistance || o > this.MaxVisibledistance)
|
|
131
185
|
return;
|
|
132
|
-
const
|
|
133
|
-
|
|
134
|
-
const [b] = this.five.model.intersectRaycaster(
|
|
135
|
-
b && b.distance + 0.1 <
|
|
136
|
-
}), this.visibleLabelMap.set(i,
|
|
186
|
+
const p = new Q(), v = t.clone().sub(m).normalize();
|
|
187
|
+
p.set(m, v);
|
|
188
|
+
const [b] = this.five.model.intersectRaycaster(p);
|
|
189
|
+
b && b.distance + 0.1 < o || e.push(h);
|
|
190
|
+
}), this.visibleLabelMap.set(i, e), e;
|
|
137
191
|
}
|
|
138
192
|
})();
|
|
139
|
-
this.labelItems.forEach((
|
|
140
|
-
|
|
193
|
+
this.labelItems.forEach((e, s) => {
|
|
194
|
+
e.visible = l.includes(s);
|
|
141
195
|
}), this.fixDoorPosition();
|
|
142
196
|
});
|
|
143
197
|
n(this, "fixDoorPosition", () => {
|
|
144
|
-
var t,
|
|
198
|
+
var t, o, p, v, b, y, g, w, L, E, _, S;
|
|
145
199
|
const { panoIndex: i, camera: r } = this.five;
|
|
146
200
|
if (i === null)
|
|
147
201
|
return;
|
|
148
202
|
if (this.five.currentMode !== "Panorama")
|
|
149
203
|
return this.hideAllLabels();
|
|
150
|
-
const
|
|
151
|
-
if (
|
|
152
|
-
if (
|
|
153
|
-
const x = r.position.distanceTo(
|
|
154
|
-
|
|
204
|
+
const c = this.five.getElement(), m = c.clientWidth, l = c.clientHeight, e = r.getWorldDirection(new V()), s = [], h = [...this.labelItems];
|
|
205
|
+
if (h.forEach((f, u) => {
|
|
206
|
+
if (f.visible) {
|
|
207
|
+
const x = r.position.distanceTo(f.position), M = f.position.clone().add(new V(0, this.OffsetHeight, 0)), A = M.clone().sub(r.position).normalize().angleTo(e), O = M.clone().project(r), P = (O.x + 1) / 2.2 * 100, I = (-O.y + 1) / 2.2 * 100, D = P >= 0 && P <= 100 && I >= 0 && I <= 100 && x > this.MinVisibledistance && x <= this.MaxVisibledistance;
|
|
208
|
+
f.left = P, f.top = I, f.inSight = D && A < Math.PI / 2, f.cameraToward = Y(this.five), D ? s.push({ disFromCameraToLabel: x, left: P, top: I, index: u }) : f.transform = "translate(-50%, -50%)";
|
|
155
209
|
} else
|
|
156
|
-
|
|
210
|
+
f.inSight = !1;
|
|
157
211
|
}), s.length > 1) {
|
|
158
|
-
let
|
|
212
|
+
let f = 0;
|
|
159
213
|
s.sort((u, x) => x.disFromCameraToLabel - u.disFromCameraToLabel);
|
|
160
214
|
for (let u = 1; u < s.length; u++) {
|
|
161
215
|
const { index: x, left: M, top: k } = s[u - 1], { index: A, left: O, top: P } = s[u], I = this.container.children[x], D = this.container.children[A];
|
|
162
216
|
if (!I || !D)
|
|
163
217
|
return;
|
|
164
218
|
const R = {
|
|
165
|
-
left:
|
|
166
|
-
top:
|
|
167
|
-
width: (
|
|
219
|
+
left: m * M / 100,
|
|
220
|
+
top: l * k / 100,
|
|
221
|
+
width: (p = (o = (t = I.children) == null ? void 0 : t[0]) == null ? void 0 : o.clientWidth) != null ? p : 0,
|
|
168
222
|
height: (y = (b = (v = I.children) == null ? void 0 : v[0]) == null ? void 0 : b.clientHeight) != null ? y : 0
|
|
169
223
|
}, F = {
|
|
170
|
-
left:
|
|
171
|
-
top:
|
|
224
|
+
left: m * O / 100,
|
|
225
|
+
top: l * P / 100,
|
|
172
226
|
width: (L = (w = (g = D.children) == null ? void 0 : g[0]) == null ? void 0 : w.clientWidth) != null ? L : 0,
|
|
173
227
|
height: (S = (_ = (E = D.children) == null ? void 0 : E[0]) == null ? void 0 : _.clientHeight) != null ? S : 0
|
|
174
228
|
};
|
|
175
|
-
Z(R, F) && (
|
|
229
|
+
Z(R, F) && (f++, h[x].transform = `translate(-50%, ${(f - 1) * 100 - 50}%)`, h[A].transform = `translate(-50%, ${f * 100 - 50}%)`);
|
|
176
230
|
}
|
|
177
231
|
}
|
|
178
|
-
this.labelItems =
|
|
232
|
+
this.labelItems = h, this.render();
|
|
179
233
|
});
|
|
180
234
|
n(this, "onClick", (i, r) => {
|
|
181
235
|
if (!this.roomObservers)
|
|
182
236
|
return;
|
|
183
|
-
const { work:
|
|
184
|
-
let
|
|
185
|
-
for (const s of
|
|
237
|
+
const { work: c } = this.five;
|
|
238
|
+
let m, l, e = 1 / 0;
|
|
239
|
+
for (const s of c.observers)
|
|
186
240
|
if (this.roomObservers.find((t) => t.panoIndex === s.panoIndex && t.name === i)) {
|
|
187
|
-
const t = s.standingPosition,
|
|
188
|
-
|
|
241
|
+
const t = s.standingPosition, o = r.distanceTo(t);
|
|
242
|
+
o < e && (m = s.panoIndex, l = t.clone().sub(r).normalize(), e = o);
|
|
189
243
|
}
|
|
190
|
-
if (
|
|
244
|
+
if (l !== null && m !== null) {
|
|
191
245
|
const s = {};
|
|
192
|
-
if (
|
|
193
|
-
const t = new V(0, 0, -1),
|
|
194
|
-
|
|
246
|
+
if (e > 0) {
|
|
247
|
+
const t = new V(0, 0, -1), o = l.clone(), p = new j();
|
|
248
|
+
p.setFromUnitVectors(t, o);
|
|
195
249
|
const v = new z();
|
|
196
|
-
v.setFromQuaternion(
|
|
250
|
+
v.setFromQuaternion(p, "YXZ"), s.longitude = v.y;
|
|
197
251
|
}
|
|
198
|
-
this.five.emit("wantsToMoveToPano",
|
|
252
|
+
this.five.emit("wantsToMoveToPano", m, {}, !0) || this.five.moveToPano(m, { longitude: s.longitude });
|
|
199
253
|
}
|
|
200
254
|
});
|
|
201
255
|
n(this, "initData", () => {
|
|
202
|
-
var
|
|
256
|
+
var m;
|
|
203
257
|
this.doorLabels = [];
|
|
204
|
-
const i = this.five.panoIndex, r = this.floorplanServerData.computed_data.observers[i].floor_index,
|
|
205
|
-
this.rooms =
|
|
206
|
-
var
|
|
207
|
-
const
|
|
208
|
-
|
|
209
|
-
const
|
|
210
|
-
let
|
|
258
|
+
const i = this.five.panoIndex, r = this.floorplanServerData.computed_data.observers[i].floor_index, c = r !== void 0 && ((m = this.floorplanServerData.computed_data.floor_datas[r]) == null ? void 0 : m.rooms);
|
|
259
|
+
this.rooms = c, this.rooms && this.rooms.length > 0 && this.rooms.forEach((l) => {
|
|
260
|
+
var h;
|
|
261
|
+
const e = (h = this.floorplanServerData.computed_data.doors) == null ? void 0 : h.filter((t) => !!(t && t.name === l.name)), s = this.five.work.observers.filter((t, o) => !!l.observer_indexs.find((p) => p === o));
|
|
262
|
+
e && e.forEach((t) => {
|
|
263
|
+
const o = t.position;
|
|
264
|
+
let p = 1 / 0, v;
|
|
211
265
|
s.forEach((y) => {
|
|
212
266
|
const g = y.standingPosition, w = {
|
|
213
267
|
x: g.x,
|
|
214
268
|
y: g.y,
|
|
215
269
|
z: g.z
|
|
216
|
-
}, L = J(
|
|
217
|
-
L <
|
|
218
|
-
}), v && (
|
|
219
|
-
const b = new V(
|
|
270
|
+
}, L = J(o, w);
|
|
271
|
+
L < p && (p = L, v = w);
|
|
272
|
+
}), v && (o.y = v.y + 0.01);
|
|
273
|
+
const b = new V(o.x, o.y, o.z);
|
|
220
274
|
b.add(new V(-0.2, 1.8, 0).applyEuler(new z(0, t.rad, 0))), this.doorLabels.push({
|
|
221
|
-
roomName:
|
|
275
|
+
roomName: l.name,
|
|
222
276
|
name: t.name,
|
|
223
277
|
position: b,
|
|
224
278
|
toward: K(t.rad)
|
|
225
279
|
});
|
|
226
280
|
});
|
|
227
|
-
}), this.labelItems = this.doorLabels.map((
|
|
281
|
+
}), this.labelItems = this.doorLabels.map((l) => W(H({}, l), {
|
|
228
282
|
left: 0,
|
|
229
283
|
top: 0,
|
|
230
284
|
visible: !1,
|
|
@@ -236,12 +290,12 @@ class at extends q {
|
|
|
236
290
|
}
|
|
237
291
|
stateChangedCallback(i, r) {
|
|
238
292
|
if (this.hooks.hasListener("stateChange")) {
|
|
239
|
-
const
|
|
293
|
+
const c = {
|
|
240
294
|
state: this.state,
|
|
241
295
|
prevState: i,
|
|
242
296
|
userAction: r ? r.userAction : ii.userAction
|
|
243
297
|
};
|
|
244
|
-
this.hooks.emit("stateChange",
|
|
298
|
+
this.hooks.emit("stateChange", c);
|
|
245
299
|
}
|
|
246
300
|
}
|
|
247
301
|
render() {
|
|
@@ -275,5 +329,5 @@ class at extends q {
|
|
|
275
329
|
}
|
|
276
330
|
}
|
|
277
331
|
export {
|
|
278
|
-
|
|
332
|
+
ao as PanoDoorLabelPluginController
|
|
279
333
|
};
|
|
@@ -13,7 +13,10 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
13
13
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
14
14
|
import "../shared-utils/five/transformPosition.js";
|
|
15
15
|
import "../shared-utils/three/temp.js";
|
|
16
|
+
import "../shared-utils/three/core/Raycaster.js";
|
|
16
17
|
import "../shared-utils/dom/resizeObserver.js";
|
|
18
|
+
import "../shared-utils/five/fiveEveryReadyListener.js";
|
|
19
|
+
import "../shared-utils/throttle.js";
|
|
17
20
|
import "hammerjs";
|
|
18
21
|
import "../shared-utils/three/PointSelector/index.js";
|
|
19
22
|
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
@@ -34,32 +37,83 @@ import "../shared-utils/three/core/Sphere.js";
|
|
|
34
37
|
import "animejs";
|
|
35
38
|
import "../shared-utils/isNil.js";
|
|
36
39
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
37
|
-
import "../
|
|
38
|
-
import "../shared-utils/
|
|
40
|
+
import "../Sculpt/Meshes/Polygon.js";
|
|
41
|
+
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
42
|
+
import "../shared-utils/three/earcut3D.js";
|
|
43
|
+
import "earcut";
|
|
44
|
+
import "../shared-utils/three/getNormal.js";
|
|
45
|
+
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
46
|
+
import "../Sculpt/typings/style.js";
|
|
47
|
+
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
48
|
+
import "../shared-utils/three/IObject3D.js";
|
|
49
|
+
import "../Sculpt/utils/Modules/Global.js";
|
|
50
|
+
import "../Sculpt/utils/Modules/Cursor.js";
|
|
51
|
+
import "../Object3DHelperPlugin/Controller.js";
|
|
52
|
+
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
53
|
+
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
54
|
+
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
55
|
+
import "../shared-utils/three/boundingBox.js";
|
|
56
|
+
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
57
|
+
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
58
|
+
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
59
|
+
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
60
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
39
61
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
40
62
|
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
41
63
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
64
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
65
|
+
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
66
|
+
import "../shared-utils/util.js";
|
|
67
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
68
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
69
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
42
70
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
43
71
|
import "../Sculpt/Meshes/Line.js";
|
|
44
|
-
import "../Sculpt/typings/style.js";
|
|
45
72
|
import "../shared-utils/five/FiveLine.js";
|
|
46
|
-
import "../shared-utils/three/IObject3D.js";
|
|
47
73
|
import "../Sculpt/utils/removeAllTag.js";
|
|
48
74
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
49
75
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
50
|
-
import "../
|
|
76
|
+
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
77
|
+
import "../Sculpt/utils/three/rayOnLine.js";
|
|
51
78
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
79
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
80
|
+
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
81
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
82
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
83
|
+
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
84
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
85
|
+
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
86
|
+
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
87
|
+
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
88
|
+
import "../shared-utils/threex/domevents/index.js";
|
|
89
|
+
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
90
|
+
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
91
|
+
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
92
|
+
import "../shared-utils/Object3DHelper/index.js";
|
|
93
|
+
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
94
|
+
import "../shared-utils/math/rad2Deg.js";
|
|
95
|
+
import "../shared-utils/math/deg2Rad.js";
|
|
96
|
+
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
97
|
+
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
98
|
+
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
99
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
100
|
+
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
101
|
+
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
102
|
+
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
103
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
104
|
+
import "../shared-utils/five/FiveDomEvents.js";
|
|
105
|
+
import "../shared-utils/five/calculateThreeMouse.js";
|
|
52
106
|
import "../shared-utils/isTouchDevice.js";
|
|
107
|
+
import "../shared-utils/three/geometryUtil.js";
|
|
53
108
|
import "../shared-utils/five/getPosition.js";
|
|
54
109
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
55
110
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
56
|
-
import "../shared-utils/url/absoluteUrl.js";
|
|
57
111
|
import "./DoorLabelItem.js";
|
|
58
112
|
import "../vendor/svelte/internal/index.js";
|
|
59
113
|
import "../vendor/classnames/index.js";
|
|
60
114
|
import "./utils.js";
|
|
61
|
-
const
|
|
115
|
+
const ar = (o) => new r(o);
|
|
62
116
|
export {
|
|
63
|
-
|
|
64
|
-
|
|
117
|
+
ar as PanoDoorLabelPlugin,
|
|
118
|
+
ar as default
|
|
65
119
|
};
|