@realsee/dnalogel 3.47.9 → 3.47.11
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/Line.d.ts +1 -0
- package/dist/Sculpt/Meshes/Polyline.d.ts +1 -0
- package/dist/Sculpt/Meshes/RectangleWithEdge.d.ts +1 -0
- package/dist/index.cjs.js +57 -57
- package/dist/index.js +3236 -3222
- package/dist/index.umd.js +50 -50
- package/libs/AreaMakerPlugin/Controller.js +14 -13
- package/libs/AreaMakerPlugin/index.js +15 -14
- package/libs/AreaMakerPlugin/utils/Item.js +15 -14
- package/libs/CSS3DRenderPlugin/Controller.js +12 -11
- package/libs/CSS3DRenderPlugin/index.js +18 -17
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +12 -11
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +26 -25
- package/libs/CruisePlugin/BaseController.js +17 -16
- package/libs/CruisePlugin/Move.js +20 -19
- package/libs/CruisePlugin/Work.js +15 -14
- package/libs/CruisePlugin/index.js +19 -18
- package/libs/CurrentPanoImagePlugin/Controller.js +14 -13
- package/libs/CurrentPanoImagePlugin/index.js +16 -15
- package/libs/GuideLinePlugin/Controller.js +17 -16
- package/libs/GuideLinePlugin/GuideLineItem.js +15 -14
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +5 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +15 -14
- package/libs/GuideLinePlugin/index.js +19 -18
- package/libs/ModelMakerPlugin/Controller.js +13 -12
- package/libs/ModelMakerPlugin/index.js +15 -14
- package/libs/ModelTVVideoPlugin/Plugin.js +37 -36
- package/libs/ModelTVVideoPlugin/index.js +13 -12
- package/libs/Object3DHelperPlugin/Controller.js +14 -13
- package/libs/Object3DHelperPlugin/index.js +18 -17
- package/libs/PanoCompassPlugin/Controller.js +15 -14
- package/libs/PanoCompassPlugin/index.js +16 -15
- package/libs/PanoDoorLabelPlugin/BaseController.js +15 -14
- package/libs/PanoDoorLabelPlugin/Controller.js +15 -14
- package/libs/PanoDoorLabelPlugin/index.js +16 -15
- package/libs/PanoMeasurePlugin/Components/Controller0.js +12 -11
- package/libs/PanoMeasurePlugin/Components/Controller1.js +12 -11
- package/libs/PanoMeasurePlugin/Controller/EditController.js +12 -11
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +13 -12
- package/libs/PanoMeasurePlugin/Controller/index.js +10 -9
- package/libs/PanoMeasurePlugin/Model/area.js +12 -11
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +12 -11
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +12 -11
- package/libs/PanoMeasurePlugin/index.js +21 -20
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +12 -11
- package/libs/PanoSpatialTagPlugin/Plugin.js +14 -13
- package/libs/PanoSpatialTagPlugin/index.js +11 -10
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +14 -13
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +13 -12
- package/libs/PanoTagPlugin/Components/Tag/index.js +13 -12
- package/libs/PanoTagPlugin/Components/TagContainer.js +13 -12
- package/libs/PanoTagPlugin/Components/TagItem.js +13 -12
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +34 -33
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +13 -12
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +13 -12
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +15 -14
- package/libs/PanoTagPlugin/controller/TagRender.js +12 -11
- package/libs/PanoTagPlugin/controller/TagUtil.js +13 -12
- package/libs/PanoTagPlugin/controller/index.js +22 -16
- package/libs/PanoTagPlugin/index.js +21 -20
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +14 -13
- package/libs/PanoVideoPlugin/Controller.js +15 -14
- package/libs/PanoVideoPlugin/VideoMeshController.js +30 -29
- package/libs/PanoVideoPlugin/index.js +18 -17
- package/libs/PipelinePlugin/Controller.js +14 -13
- package/libs/PipelinePlugin/index.js +16 -15
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +21 -20
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +15 -14
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +13 -12
- package/libs/Sculpt/Meshes/Box.js +11 -9
- package/libs/Sculpt/Meshes/Cylinder.js +17 -15
- package/libs/Sculpt/Meshes/Line.d.ts +1 -0
- package/libs/Sculpt/Meshes/Line.js +84 -78
- package/libs/Sculpt/Meshes/Point.js +14 -12
- package/libs/Sculpt/Meshes/Polyline.d.ts +1 -0
- package/libs/Sculpt/Meshes/Polyline.js +69 -74
- package/libs/Sculpt/Meshes/Rectangle.js +6 -4
- package/libs/Sculpt/Meshes/RectangleWithEdge.d.ts +1 -0
- package/libs/Sculpt/Objects/Base/index.js +5 -5
- package/libs/Sculpt/Objects/Line/Editor.js +17 -15
- package/libs/Sculpt/Objects/Polygon/index.js +22 -22
- package/libs/Sculpt/Objects/Rectangle/Editor.js +2 -2
- package/libs/Sculpt/Objects/Rectangle/index.js +79 -69
- package/libs/Sculpt/index.js +15 -14
- package/libs/Sculpt/utils/three/ColoredMesh.js +6 -4
- package/libs/base/BasePlugin.js +16 -14
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +13 -12
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +16 -15
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +13 -12
- package/libs/floorplan/ModelFloorplanPlugin/index.js +16 -15
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +15 -14
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -15
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +13 -12
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +16 -15
- package/libs/floorplan/index.js +3 -1
- package/libs/index.js +12 -12
- package/libs/shared-utils/five/index.js +5 -3
- package/libs/shared-utils/five/lookObject.js +20 -18
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.js +4 -1
- package/libs/shared-utils/three/applyObjectMatrixWorld.js +4 -6
- package/libs/shared-utils/three/index.js +3 -1
- package/package.json +1 -1
|
@@ -40,7 +40,9 @@ import { TagRender as O } from "./TagRender.js";
|
|
|
40
40
|
import { isModelLike as R } from "../../shared-utils/five/mode.js";
|
|
41
41
|
import "hammerjs";
|
|
42
42
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
43
|
-
import "
|
|
43
|
+
import "@realsee/five/line";
|
|
44
|
+
import "../../shared-utils/tag.js";
|
|
45
|
+
import "../../Sculpt/utils/Modules/Global.js";
|
|
44
46
|
import "../../shared-utils/three/THREESphere.js";
|
|
45
47
|
import "animejs";
|
|
46
48
|
import { nextFrame as G } from "../../shared-utils/animationFrame/index.js";
|
|
@@ -110,12 +112,6 @@ import "../../vendor/svelte-carousel/src/utils/interval.js";
|
|
|
110
112
|
import "../Components/Common/MediaItem.js";
|
|
111
113
|
import "../Components/Tag/MarketingTag.js";
|
|
112
114
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
113
|
-
import "../../Sculpt/typings/style.js";
|
|
114
|
-
import "../../shared-utils/five/FiveLine.js";
|
|
115
|
-
import "@realsee/five/line";
|
|
116
|
-
import "../../shared-utils/three/IObject3D.js";
|
|
117
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
118
|
-
import "../../shared-utils/tag.js";
|
|
119
115
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
120
116
|
import "../../shared-utils/five/getFiveModel.js";
|
|
121
117
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
@@ -124,7 +120,6 @@ import "../../shared-utils/Subscribe.js";
|
|
|
124
120
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
125
121
|
import "../../shared-utils/five/transformPosition.js";
|
|
126
122
|
import "../../shared-utils/three/temp.js";
|
|
127
|
-
import "../../Sculpt/utils/Modules/Global.js";
|
|
128
123
|
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
129
124
|
import "../../Object3DHelperPlugin/Controller.js";
|
|
130
125
|
import "../../base/BasePlugin.js";
|
|
@@ -132,6 +127,7 @@ import "../../shared-utils/url/absoluteUrl.js";
|
|
|
132
127
|
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
133
128
|
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
134
129
|
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
130
|
+
import "../../shared-utils/three/IObject3D.js";
|
|
135
131
|
import "../../shared-utils/three/boundingBox.js";
|
|
136
132
|
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
137
133
|
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
@@ -144,6 +140,7 @@ import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
|
144
140
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
145
141
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
146
142
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
143
|
+
import "../../shared-utils/three/centerPoint.js";
|
|
147
144
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
148
145
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
149
146
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -184,12 +181,16 @@ import "../../shared-utils/three/Assets/index.js";
|
|
|
184
181
|
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
185
182
|
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
186
183
|
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
184
|
+
import "../../Sculpt/Meshes/Line.js";
|
|
185
|
+
import "../../Sculpt/typings/style.js";
|
|
186
|
+
import "../../shared-utils/five/FiveLine.js";
|
|
187
|
+
import "../../Sculpt/utils/removeAllTag.js";
|
|
188
|
+
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
189
|
+
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
187
190
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
188
191
|
import "../../shared-utils/isTouchDevice.js";
|
|
189
192
|
import "../../shared-utils/five/getPosition.js";
|
|
190
193
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
191
|
-
import "../../Sculpt/utils/removeAllTag.js";
|
|
192
|
-
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
193
194
|
import "../utils/noTypecheck.js";
|
|
194
195
|
import "../Components/Tag/AudioTag/index.js";
|
|
195
196
|
import "../Components/Tag/AudioTag/AudioTag.js";
|
|
@@ -242,8 +243,8 @@ import "../utils/addDebugPoints.js";
|
|
|
242
243
|
import "../utils/requestIdleCallback.js";
|
|
243
244
|
import "../Components/TagItem.js";
|
|
244
245
|
import "../Components/Common/TagPoint.js";
|
|
245
|
-
const S = "Dnalogel-PanoTagPlugin",
|
|
246
|
-
class
|
|
246
|
+
const S = "Dnalogel-PanoTagPlugin", qo = (p) => `${S}--${p}`;
|
|
247
|
+
class Ho extends O {
|
|
247
248
|
constructor(e, t) {
|
|
248
249
|
super(e);
|
|
249
250
|
/** state */
|
|
@@ -373,7 +374,12 @@ class qo extends O {
|
|
|
373
374
|
load(e) {
|
|
374
375
|
return l(this, null, function* () {
|
|
375
376
|
var i, o;
|
|
376
|
-
this.clearTags()
|
|
377
|
+
this.clearTags();
|
|
378
|
+
try {
|
|
379
|
+
console.debug(S, " load:", { data: JSON.parse(JSON.stringify(e)) });
|
|
380
|
+
} catch (s) {
|
|
381
|
+
}
|
|
382
|
+
this.config = f({}, this.config, {
|
|
377
383
|
globalConfig: (i = e.globalConfig) != null ? i : {},
|
|
378
384
|
contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
|
|
379
385
|
});
|
|
@@ -648,7 +654,7 @@ class qo extends O {
|
|
|
648
654
|
}
|
|
649
655
|
}
|
|
650
656
|
export {
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
657
|
+
Ho as PanoTagPluginController,
|
|
658
|
+
Ho as default,
|
|
659
|
+
qo as pluginFlag
|
|
654
660
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./controller/index.js";
|
|
2
|
-
import { pluginFlag as
|
|
3
|
-
import { defaultGlobalConfig as
|
|
4
|
-
import { ContentType as
|
|
2
|
+
import { pluginFlag as ep } from "./controller/index.js";
|
|
3
|
+
import { defaultGlobalConfig as ap } from "./typings/tag/TagConfig.js";
|
|
4
|
+
import { ContentType as gp, DimensionType as up, PointType as Pp } from "./Archive/deprecated.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
7
7
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -72,14 +72,7 @@ import "./Components/Common/MediaItem.js";
|
|
|
72
72
|
import "./Components/Tag/MarketingTag.js";
|
|
73
73
|
import "hammerjs";
|
|
74
74
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
75
|
-
import "../Sculpt/Meshes/Line.js";
|
|
76
|
-
import "../Sculpt/typings/style.js";
|
|
77
|
-
import "../shared-utils/five/FiveLine.js";
|
|
78
75
|
import "@realsee/five/line";
|
|
79
|
-
import "../shared-utils/three/IObject3D.js";
|
|
80
|
-
import "../shared-utils/three/centerPoint.js";
|
|
81
|
-
import "../shared-utils/three/THREESphere.js";
|
|
82
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
83
76
|
import "../shared-utils/tag.js";
|
|
84
77
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
85
78
|
import "../shared-utils/five/getFiveModel.js";
|
|
@@ -93,10 +86,13 @@ import "../Sculpt/utils/Modules/Global.js";
|
|
|
93
86
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
94
87
|
import "../Object3DHelperPlugin/Controller.js";
|
|
95
88
|
import "../base/BasePlugin.js";
|
|
89
|
+
import "../shared-utils/three/THREESphere.js";
|
|
96
90
|
import "../shared-utils/url/absoluteUrl.js";
|
|
91
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
97
92
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
98
93
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
99
94
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
95
|
+
import "../shared-utils/three/IObject3D.js";
|
|
100
96
|
import "../shared-utils/three/boundingBox.js";
|
|
101
97
|
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
102
98
|
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
@@ -109,6 +105,7 @@ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
|
109
105
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
110
106
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
111
107
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
108
|
+
import "../shared-utils/three/centerPoint.js";
|
|
112
109
|
import "../shared-utils/three/getObjectVisible.js";
|
|
113
110
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
114
111
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -150,12 +147,16 @@ import "../shared-utils/three/Assets/index.js";
|
|
|
150
147
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
151
148
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
152
149
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
150
|
+
import "../Sculpt/Meshes/Line.js";
|
|
151
|
+
import "../Sculpt/typings/style.js";
|
|
152
|
+
import "../shared-utils/five/FiveLine.js";
|
|
153
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
154
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
155
|
+
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
153
156
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
154
157
|
import "../shared-utils/isTouchDevice.js";
|
|
155
158
|
import "../shared-utils/five/getPosition.js";
|
|
156
159
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
157
|
-
import "../Sculpt/utils/removeAllTag.js";
|
|
158
|
-
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
159
160
|
import "./utils/noTypecheck.js";
|
|
160
161
|
import "./Components/Tag/AudioTag/index.js";
|
|
161
162
|
import "./Components/Tag/AudioTag/AudioTag.js";
|
|
@@ -216,14 +217,14 @@ import "./Components/TagContainer.js";
|
|
|
216
217
|
import "./Components/TagItem.js";
|
|
217
218
|
import "./Components/Common/TagPoint.js";
|
|
218
219
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
219
|
-
const
|
|
220
|
+
const ip = (o, t) => new r(o, t);
|
|
220
221
|
export {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
222
|
+
gp as ContentType,
|
|
223
|
+
up as DimensionType,
|
|
224
|
+
ip as PanoTagPlugin,
|
|
224
225
|
r as PanoTagPluginController,
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
226
|
+
Pp as PointType,
|
|
227
|
+
ip as default,
|
|
228
|
+
ap as defaultGlobalConfig,
|
|
229
|
+
ep as pluginFlag
|
|
229
230
|
};
|
|
@@ -19,18 +19,13 @@ import { isPanoramaLike as R, isModelLike as S } from "../../../shared-utils/fiv
|
|
|
19
19
|
import "three";
|
|
20
20
|
import "hammerjs";
|
|
21
21
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
22
|
-
import "
|
|
22
|
+
import "@realsee/five/line";
|
|
23
|
+
import "../../../shared-utils/tag.js";
|
|
24
|
+
import "../../../Sculpt/utils/Modules/Global.js";
|
|
23
25
|
import "../../../shared-utils/three/THREESphere.js";
|
|
24
26
|
import "animejs";
|
|
25
27
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
26
|
-
import "../../../Sculpt/typings/style.js";
|
|
27
|
-
import "../../../shared-utils/five/FiveLine.js";
|
|
28
|
-
import "@realsee/five/line";
|
|
29
28
|
import "../../../shared-utils/positionToVector3.js";
|
|
30
|
-
import "../../../shared-utils/three/IObject3D.js";
|
|
31
|
-
import "../../../shared-utils/three/centerPoint.js";
|
|
32
|
-
import "../../../shared-utils/isNil.js";
|
|
33
|
-
import "../../../shared-utils/tag.js";
|
|
34
29
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
35
30
|
import "../../../shared-utils/five/getFiveModel.js";
|
|
36
31
|
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
@@ -39,7 +34,6 @@ import "../../../shared-utils/Subscribe.js";
|
|
|
39
34
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
40
35
|
import "../../../shared-utils/five/transformPosition.js";
|
|
41
36
|
import "../../../shared-utils/three/temp.js";
|
|
42
|
-
import "../../../Sculpt/utils/Modules/Global.js";
|
|
43
37
|
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
44
38
|
import "../../../Object3DHelperPlugin/Controller.js";
|
|
45
39
|
import "../../../base/BasePlugin.js";
|
|
@@ -47,6 +41,7 @@ import "../../../shared-utils/url/absoluteUrl.js";
|
|
|
47
41
|
import "../../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
48
42
|
import "../../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
49
43
|
import "../../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
44
|
+
import "../../../shared-utils/three/IObject3D.js";
|
|
50
45
|
import "../../../shared-utils/three/boundingBox.js";
|
|
51
46
|
import "../../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
52
47
|
import "../../../shared-utils/Object3DHelper/utils/direction.js";
|
|
@@ -59,7 +54,9 @@ import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
|
59
54
|
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
60
55
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
61
56
|
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
57
|
+
import "../../../shared-utils/three/centerPoint.js";
|
|
62
58
|
import "../../../shared-utils/three/getObjectVisible.js";
|
|
59
|
+
import "../../../shared-utils/isNil.js";
|
|
63
60
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
64
61
|
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
65
62
|
import "../../../shared-utils/util.js";
|
|
@@ -100,13 +97,17 @@ import "../../../shared-utils/three/Assets/index.js";
|
|
|
100
97
|
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
101
98
|
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
102
99
|
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
100
|
+
import "../../../Sculpt/Meshes/Line.js";
|
|
101
|
+
import "../../../Sculpt/typings/style.js";
|
|
102
|
+
import "../../../shared-utils/five/FiveLine.js";
|
|
103
|
+
import "../../../Sculpt/utils/removeAllTag.js";
|
|
104
|
+
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
105
|
+
import "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
103
106
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
104
107
|
import "../../../shared-utils/isTouchDevice.js";
|
|
105
108
|
import "../../../shared-utils/five/getPosition.js";
|
|
106
109
|
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
107
|
-
|
|
108
|
-
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
109
|
-
function wi(o, i, t) {
|
|
110
|
+
function zi(o, i, t) {
|
|
110
111
|
var v, b, j, C, A;
|
|
111
112
|
const D = (v = t == null ? void 0 : t.useCache) != null ? v : !0;
|
|
112
113
|
if (!o)
|
|
@@ -152,5 +153,5 @@ function wi(o, i, t) {
|
|
|
152
153
|
return P(T), Object.values(f).forEach((p) => P(p)), T._isMerged = !0, T;
|
|
153
154
|
}
|
|
154
155
|
export {
|
|
155
|
-
|
|
156
|
+
zi as calculateTagConfig
|
|
156
157
|
};
|
|
@@ -17,18 +17,9 @@ import "./utils/shader.js";
|
|
|
17
17
|
import "three";
|
|
18
18
|
import "hammerjs";
|
|
19
19
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
20
|
-
import "../Sculpt/Meshes/Line.js";
|
|
21
|
-
import "../Sculpt/typings/style.js";
|
|
22
|
-
import "../shared-utils/five/FiveLine.js";
|
|
23
20
|
import "@realsee/five/line";
|
|
24
|
-
import "../shared-utils/positionToVector3.js";
|
|
25
|
-
import "../shared-utils/three/IObject3D.js";
|
|
26
|
-
import "../shared-utils/three/centerPoint.js";
|
|
27
|
-
import "../shared-utils/three/THREESphere.js";
|
|
28
|
-
import "animejs";
|
|
29
|
-
import "../shared-utils/isNil.js";
|
|
30
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
31
21
|
import "../shared-utils/tag.js";
|
|
22
|
+
import "../shared-utils/positionToVector3.js";
|
|
32
23
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
33
24
|
import "../shared-utils/five/getFiveModel.js";
|
|
34
25
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
@@ -40,9 +31,11 @@ import "../shared-utils/three/temp.js";
|
|
|
40
31
|
import "../Sculpt/utils/Modules/Global.js";
|
|
41
32
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
42
33
|
import "../Object3DHelperPlugin/Controller.js";
|
|
34
|
+
import "../shared-utils/three/THREESphere.js";
|
|
43
35
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
44
36
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
45
37
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
38
|
+
import "../shared-utils/three/IObject3D.js";
|
|
46
39
|
import "../shared-utils/three/boundingBox.js";
|
|
47
40
|
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
48
41
|
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
@@ -55,7 +48,11 @@ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
|
55
48
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
56
49
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
57
50
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
51
|
+
import "../shared-utils/three/centerPoint.js";
|
|
58
52
|
import "../shared-utils/three/getObjectVisible.js";
|
|
53
|
+
import "animejs";
|
|
54
|
+
import "../shared-utils/isNil.js";
|
|
55
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
59
56
|
import "../shared-utils/url/absoluteUrl.js";
|
|
60
57
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
61
58
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -97,15 +94,19 @@ import "../shared-utils/three/Assets/index.js";
|
|
|
97
94
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
98
95
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
99
96
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
97
|
+
import "../Sculpt/Meshes/Line.js";
|
|
98
|
+
import "../Sculpt/typings/style.js";
|
|
99
|
+
import "../shared-utils/five/FiveLine.js";
|
|
100
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
101
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
102
|
+
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
100
103
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
101
104
|
import "../shared-utils/isTouchDevice.js";
|
|
102
105
|
import "../shared-utils/five/getPosition.js";
|
|
103
106
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
104
|
-
import "../Sculpt/utils/removeAllTag.js";
|
|
105
|
-
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
106
107
|
import "../shared-utils/animationFrame/index.js";
|
|
107
108
|
import "./utils/index.js";
|
|
108
|
-
class
|
|
109
|
+
class mt extends _ {
|
|
109
110
|
constructor(r) {
|
|
110
111
|
super(r);
|
|
111
112
|
s(this, "controllerMap", /* @__PURE__ */ new Map());
|
|
@@ -248,5 +249,5 @@ class lt extends _ {
|
|
|
248
249
|
}
|
|
249
250
|
}
|
|
250
251
|
export {
|
|
251
|
-
|
|
252
|
+
mt as PanoVideoPluginController
|
|
252
253
|
};
|
|
@@ -5,20 +5,14 @@ import { vertexShader as M, fragmentShader as P } from "./utils/shader.js";
|
|
|
5
5
|
import { VideoTexture as F, LinearFilter as c, ShaderMaterial as y, Vector4 as x, SphereBufferGeometry as L, Mesh as V, Vector3 as m, Quaternion as b } from "three";
|
|
6
6
|
import "hammerjs";
|
|
7
7
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
8
|
-
import "
|
|
8
|
+
import "@realsee/five/line";
|
|
9
|
+
import "../shared-utils/tag.js";
|
|
10
|
+
import "../Sculpt/utils/Modules/Global.js";
|
|
9
11
|
import "../shared-utils/three/THREESphere.js";
|
|
10
12
|
import A from "animejs";
|
|
11
13
|
import { requestAnimationFrameInterval as D } from "../shared-utils/animationFrame/index.js";
|
|
12
14
|
import E from "./utils/index.js";
|
|
13
|
-
import "../Sculpt/typings/style.js";
|
|
14
|
-
import "../shared-utils/five/FiveLine.js";
|
|
15
|
-
import "@realsee/five/line";
|
|
16
15
|
import "../shared-utils/positionToVector3.js";
|
|
17
|
-
import "../shared-utils/three/IObject3D.js";
|
|
18
|
-
import "../shared-utils/three/centerPoint.js";
|
|
19
|
-
import "../shared-utils/isNil.js";
|
|
20
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
21
|
-
import "../shared-utils/tag.js";
|
|
22
16
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
23
17
|
import "../shared-utils/five/getFiveModel.js";
|
|
24
18
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
@@ -27,14 +21,15 @@ import "../shared-utils/Subscribe.js";
|
|
|
27
21
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
28
22
|
import "../shared-utils/five/transformPosition.js";
|
|
29
23
|
import "../shared-utils/three/temp.js";
|
|
30
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
31
24
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
32
25
|
import "../Object3DHelperPlugin/Controller.js";
|
|
33
26
|
import "../base/BasePlugin.js";
|
|
34
27
|
import "../shared-utils/url/absoluteUrl.js";
|
|
28
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
35
29
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
36
30
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
37
31
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
32
|
+
import "../shared-utils/three/IObject3D.js";
|
|
38
33
|
import "../shared-utils/three/boundingBox.js";
|
|
39
34
|
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
40
35
|
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
@@ -47,7 +42,9 @@ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
|
47
42
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
48
43
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
49
44
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
45
|
+
import "../shared-utils/three/centerPoint.js";
|
|
50
46
|
import "../shared-utils/three/getObjectVisible.js";
|
|
47
|
+
import "../shared-utils/isNil.js";
|
|
51
48
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
52
49
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
53
50
|
import "../shared-utils/util.js";
|
|
@@ -88,13 +85,17 @@ import "../shared-utils/three/Assets/index.js";
|
|
|
88
85
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
89
86
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
90
87
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
88
|
+
import "../Sculpt/Meshes/Line.js";
|
|
89
|
+
import "../Sculpt/typings/style.js";
|
|
90
|
+
import "../shared-utils/five/FiveLine.js";
|
|
91
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
92
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
93
|
+
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
91
94
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
92
95
|
import "../shared-utils/isTouchDevice.js";
|
|
93
96
|
import "../shared-utils/five/getPosition.js";
|
|
94
97
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
95
|
-
|
|
96
|
-
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
97
|
-
class ce {
|
|
98
|
+
class ge {
|
|
98
99
|
/** 初始化视频、模型以及相关事件监听。 */
|
|
99
100
|
constructor(i, e) {
|
|
100
101
|
t(this, "video");
|
|
@@ -134,27 +135,27 @@ class ce {
|
|
|
134
135
|
/** 把 uv 值转换成位置 */
|
|
135
136
|
t(this, "uv2Position", (i, e) => {
|
|
136
137
|
var f;
|
|
137
|
-
const o = Math.PI, a = Math.PI * 2, d = i,
|
|
138
|
-
-1 * Math.cos(a * d) * Math.sin(o *
|
|
139
|
-
1 * Math.cos(o *
|
|
140
|
-
1 * Math.sin(a * d) * Math.sin(o *
|
|
138
|
+
const o = Math.PI, a = Math.PI * 2, d = i, r = 1 - e, s = new m(
|
|
139
|
+
-1 * Math.cos(a * d) * Math.sin(o * r),
|
|
140
|
+
1 * Math.cos(o * r),
|
|
141
|
+
1 * Math.sin(a * d) * Math.sin(o * r)
|
|
141
142
|
);
|
|
142
|
-
|
|
143
|
+
s.setX(-s.x);
|
|
143
144
|
const h = (f = this.five.work) == null ? void 0 : f.observers[this.panoIndex];
|
|
144
145
|
if (!h)
|
|
145
146
|
return this.logWarning(`点位 ${this.panoIndex} 不存在,请检查 Five 数据是否正常。`);
|
|
146
|
-
const u = h.position.clone(), l = h.quaternion.clone(), p =
|
|
147
|
+
const u = h.position.clone(), l = h.quaternion.clone(), p = s.clone();
|
|
147
148
|
return p.applyAxisAngle(new m(0, 1, 0), Math.PI / 2), p.applyQuaternion(l), p.add(u), p;
|
|
148
149
|
});
|
|
149
150
|
/** Five 数据加载后需要根据点位位姿调整点位模型位置 */
|
|
150
151
|
t(this, "onFiveDataLoaded", () => {
|
|
151
|
-
var
|
|
152
|
-
const i = (
|
|
152
|
+
var s;
|
|
153
|
+
const i = (s = this.five.work) == null ? void 0 : s.observers[this.panoIndex];
|
|
153
154
|
if (!i)
|
|
154
155
|
return this.logWarning(`点位 ${this.panoIndex} 不存在,请检查 Five 数据是否正常。`);
|
|
155
156
|
this.observer = i;
|
|
156
|
-
const { x: e, y: n, z: o, w: a } = i.quaternion, d = new b(e, n, o, a),
|
|
157
|
-
this.videoMesh.position.fromArray([
|
|
157
|
+
const { x: e, y: n, z: o, w: a } = i.quaternion, d = new b(e, n, o, a), r = i.position;
|
|
158
|
+
this.videoMesh.position.fromArray([r.x, r.y, r.z]), this.videoMesh.quaternion.set(0, 0, 0, 1), this.videoMesh.rotateOnAxis(new m(0, 1, 0), Math.PI / 2), this.videoMesh.applyQuaternion(d);
|
|
158
159
|
});
|
|
159
160
|
/** 兼容视频播放 */
|
|
160
161
|
t(this, "onFiveWantsMoveToPano", (i) => {
|
|
@@ -254,8 +255,8 @@ class ce {
|
|
|
254
255
|
var i;
|
|
255
256
|
(i = this.renderFiveDisposer) == null || i.call(this), this.renderFiveDisposer = void 0;
|
|
256
257
|
});
|
|
257
|
-
var
|
|
258
|
-
this.five = i, this.panoIndex = e.panoIndex, this._id = e.renderID, this.url = e.url, this.origin = e.origin.slice(), this.hooks = e.hooks, this._enabled = (h = (
|
|
258
|
+
var s, h;
|
|
259
|
+
this.five = i, this.panoIndex = e.panoIndex, this._id = e.renderID, this.url = e.url, this.origin = e.origin.slice(), this.hooks = e.hooks, this._enabled = (h = (s = e.initialState) == null ? void 0 : s.enabled) != null ? h : !0;
|
|
259
260
|
const n = document.createElement("video");
|
|
260
261
|
n.crossOrigin = "anonymous", n.autoplay = !1, n.muted = !0, n.loop = !0, n.playsInline = !0, this.video = n;
|
|
261
262
|
const o = new F(this.video);
|
|
@@ -274,8 +275,8 @@ class ce {
|
|
|
274
275
|
transparent: !0
|
|
275
276
|
}), d = new L(1, 64, 64);
|
|
276
277
|
d.scale(-1, 1, 1);
|
|
277
|
-
const
|
|
278
|
-
|
|
278
|
+
const r = new V(d, a);
|
|
279
|
+
r.name = "pano-video-plugin", this.videoMesh = r, this.five.work && this.onFiveDataLoaded(), this.enabled && this.addEventListeners(), this.mountIfNeeded(), window[`__PANOVIDEO_${this.renderID}_DEBUG__`] = this;
|
|
279
280
|
}
|
|
280
281
|
/** 传入的 ID,不可更改 */
|
|
281
282
|
get renderID() {
|
|
@@ -365,10 +366,10 @@ class ce {
|
|
|
365
366
|
checkIntersectionInBounding(i, e) {
|
|
366
367
|
if (!e.uv)
|
|
367
368
|
return !1;
|
|
368
|
-
const [n, o] = e.uv.toArray(), [a, d,
|
|
369
|
+
const [n, o] = e.uv.toArray(), [a, d, r, s] = i, h = 1 - d - s, u = a + r, l = h + s;
|
|
369
370
|
return n >= a && n <= u && o >= h && o <= l;
|
|
370
371
|
}
|
|
371
372
|
}
|
|
372
373
|
export {
|
|
373
|
-
|
|
374
|
+
ge as VideoMeshController
|
|
374
375
|
};
|
|
@@ -1,22 +1,13 @@
|
|
|
1
1
|
import { PanoVideoPluginController as r } from "./Controller.js";
|
|
2
|
-
import { typings as
|
|
2
|
+
import { typings as Wo } from "./typings/index.js";
|
|
3
3
|
import "./VideoMeshController.js";
|
|
4
4
|
import "./utils/shader.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "hammerjs";
|
|
7
7
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
8
|
-
import "../Sculpt/Meshes/Line.js";
|
|
9
|
-
import "../Sculpt/typings/style.js";
|
|
10
|
-
import "../shared-utils/five/FiveLine.js";
|
|
11
8
|
import "@realsee/five/line";
|
|
12
|
-
import "../shared-utils/positionToVector3.js";
|
|
13
|
-
import "../shared-utils/three/IObject3D.js";
|
|
14
|
-
import "../shared-utils/three/centerPoint.js";
|
|
15
|
-
import "../shared-utils/three/THREESphere.js";
|
|
16
|
-
import "animejs";
|
|
17
|
-
import "../shared-utils/isNil.js";
|
|
18
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
19
9
|
import "../shared-utils/tag.js";
|
|
10
|
+
import "../shared-utils/positionToVector3.js";
|
|
20
11
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
21
12
|
import "../shared-utils/five/getFiveModel.js";
|
|
22
13
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
@@ -29,10 +20,14 @@ import "../Sculpt/utils/Modules/Global.js";
|
|
|
29
20
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
30
21
|
import "../Object3DHelperPlugin/Controller.js";
|
|
31
22
|
import "../base/BasePlugin.js";
|
|
23
|
+
import "../shared-utils/three/THREESphere.js";
|
|
24
|
+
import "animejs";
|
|
32
25
|
import "../shared-utils/url/absoluteUrl.js";
|
|
26
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
33
27
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
34
28
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
35
29
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
30
|
+
import "../shared-utils/three/IObject3D.js";
|
|
36
31
|
import "../shared-utils/three/boundingBox.js";
|
|
37
32
|
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
38
33
|
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
@@ -45,7 +40,9 @@ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
|
45
40
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
46
41
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
47
42
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
43
|
+
import "../shared-utils/three/centerPoint.js";
|
|
48
44
|
import "../shared-utils/three/getObjectVisible.js";
|
|
45
|
+
import "../shared-utils/isNil.js";
|
|
49
46
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
50
47
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
51
48
|
import "../shared-utils/util.js";
|
|
@@ -86,17 +83,21 @@ import "../shared-utils/three/Assets/index.js";
|
|
|
86
83
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
87
84
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
88
85
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
86
|
+
import "../Sculpt/Meshes/Line.js";
|
|
87
|
+
import "../Sculpt/typings/style.js";
|
|
88
|
+
import "../shared-utils/five/FiveLine.js";
|
|
89
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
90
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
91
|
+
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
89
92
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
90
93
|
import "../shared-utils/isTouchDevice.js";
|
|
91
94
|
import "../shared-utils/five/getPosition.js";
|
|
92
95
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
93
|
-
import "../Sculpt/utils/removeAllTag.js";
|
|
94
|
-
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
95
96
|
import "../shared-utils/animationFrame/index.js";
|
|
96
97
|
import "./utils/index.js";
|
|
97
|
-
const
|
|
98
|
+
const Ro = (o) => new r(o);
|
|
98
99
|
export {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
Ro as PanoVideoPlugin,
|
|
101
|
+
Wo as PanoVideoPluginType,
|
|
102
|
+
Ro as default
|
|
102
103
|
};
|
|
@@ -37,17 +37,9 @@ import "../base/BasePlugin.js";
|
|
|
37
37
|
import "../shared-utils/Subscribe.js";
|
|
38
38
|
import "hammerjs";
|
|
39
39
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
40
|
-
import "../Sculpt/Meshes/Line.js";
|
|
41
|
-
import "../Sculpt/typings/style.js";
|
|
42
|
-
import "../shared-utils/five/FiveLine.js";
|
|
43
40
|
import "@realsee/five/line";
|
|
44
|
-
import "../shared-utils/positionToVector3.js";
|
|
45
|
-
import "../shared-utils/three/IObject3D.js";
|
|
46
|
-
import "../shared-utils/three/centerPoint.js";
|
|
47
|
-
import "../shared-utils/three/THREESphere.js";
|
|
48
|
-
import "animejs";
|
|
49
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
50
41
|
import "../shared-utils/tag.js";
|
|
42
|
+
import "../shared-utils/positionToVector3.js";
|
|
51
43
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
52
44
|
import "../shared-utils/five/getFiveModel.js";
|
|
53
45
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
@@ -58,9 +50,11 @@ import "../shared-utils/three/temp.js";
|
|
|
58
50
|
import "../Sculpt/utils/Modules/Global.js";
|
|
59
51
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
60
52
|
import "../Object3DHelperPlugin/Controller.js";
|
|
53
|
+
import "../shared-utils/three/THREESphere.js";
|
|
61
54
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
62
55
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
63
56
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
57
|
+
import "../shared-utils/three/IObject3D.js";
|
|
64
58
|
import "../shared-utils/three/boundingBox.js";
|
|
65
59
|
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
66
60
|
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
@@ -73,7 +67,10 @@ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
|
73
67
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
74
68
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
75
69
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
70
|
+
import "../shared-utils/three/centerPoint.js";
|
|
76
71
|
import "../shared-utils/three/getObjectVisible.js";
|
|
72
|
+
import "animejs";
|
|
73
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
77
74
|
import "../shared-utils/url/absoluteUrl.js";
|
|
78
75
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
79
76
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -115,12 +112,16 @@ import "../shared-utils/three/Assets/index.js";
|
|
|
115
112
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
116
113
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
117
114
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
115
|
+
import "../Sculpt/Meshes/Line.js";
|
|
116
|
+
import "../Sculpt/typings/style.js";
|
|
117
|
+
import "../shared-utils/five/FiveLine.js";
|
|
118
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
119
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
120
|
+
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
118
121
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
119
122
|
import "../shared-utils/isTouchDevice.js";
|
|
120
123
|
import "../shared-utils/five/getPosition.js";
|
|
121
124
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
122
|
-
import "../Sculpt/utils/removeAllTag.js";
|
|
123
|
-
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
124
125
|
import "../shared-utils/isTruelyObject.js";
|
|
125
126
|
import "../shared-utils/animationFrame/index.js";
|
|
126
127
|
import "./utils/Objects/Pipe.js";
|
|
@@ -129,7 +130,7 @@ import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
|
|
|
129
130
|
import "../shared-utils/three/Extras/Core/Interpolations.js";
|
|
130
131
|
import "../shared-utils/three/Extras/Core/Interpolations2.js";
|
|
131
132
|
const g = { flowSpeed: 0.6, rotateSpeed: 0 };
|
|
132
|
-
class
|
|
133
|
+
class Te extends S {
|
|
133
134
|
constructor(t) {
|
|
134
135
|
super(t);
|
|
135
136
|
// ==================== public properties ====================
|
|
@@ -409,5 +410,5 @@ class Se extends S {
|
|
|
409
410
|
}
|
|
410
411
|
}
|
|
411
412
|
export {
|
|
412
|
-
|
|
413
|
+
Te as Controller
|
|
413
414
|
};
|