@realsee/dnalogel 3.46.0 → 3.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/dist/Sculpt/utils/removeAllTag.d.ts +2 -0
- package/dist/index.cjs.js +53 -53
- package/dist/index.js +2583 -2573
- package/dist/index.umd.js +46 -46
- package/libs/AreaMakerPlugin/Controller.js +3 -2
- package/libs/AreaMakerPlugin/index.js +3 -2
- package/libs/AreaMakerPlugin/utils/Item.js +3 -2
- package/libs/CSS3DRenderPlugin/Controller.js +3 -2
- package/libs/CSS3DRenderPlugin/index.js +6 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +3 -2
- package/libs/CruisePlugin/BaseController.js +5 -4
- package/libs/CruisePlugin/Move.js +3 -2
- package/libs/CruisePlugin/Work.js +3 -2
- package/libs/CruisePlugin/index.js +7 -6
- package/libs/CurrentPanoImagePlugin/Controller.js +3 -2
- package/libs/CurrentPanoImagePlugin/index.js +4 -3
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +7 -6
- package/libs/ModelMakerPlugin/Controller.js +3 -2
- package/libs/ModelMakerPlugin/index.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -2
- package/libs/Object3DHelperPlugin/Controller.js +19 -18
- package/libs/Object3DHelperPlugin/index.js +6 -5
- package/libs/PanoCompassPlugin/Controller.js +3 -2
- package/libs/PanoCompassPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/BaseController.js +3 -2
- package/libs/PanoDoorLabelPlugin/Controller.js +21 -20
- package/libs/PanoDoorLabelPlugin/index.js +4 -3
- package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
- package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
- package/libs/PanoMeasurePlugin/Model/area.js +3 -2
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -2
- package/libs/PanoMeasurePlugin/index.js +14 -13
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
- package/libs/PanoSpatialTagPlugin/Plugin.js +4 -3
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +34 -33
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +62 -61
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +6 -5
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
- package/libs/PanoVideoPlugin/Controller.js +3 -2
- package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
- package/libs/PanoVideoPlugin/index.js +6 -5
- package/libs/PipelinePlugin/Controller.js +3 -2
- package/libs/PipelinePlugin/index.js +4 -3
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -0
- package/libs/Sculpt/Meshes/Line.js +17 -14
- package/libs/Sculpt/Objects/Base/index.js +20 -17
- package/libs/Sculpt/utils/removeAllTag.d.ts +2 -0
- package/libs/Sculpt/utils/removeAllTag.js +10 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/index.js +126 -125
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -113,6 +113,7 @@ import "../Sculpt/typings/style.js";
|
|
|
113
113
|
import "../shared-utils/five/FiveLine.js";
|
|
114
114
|
import "../shared-utils/tag.js";
|
|
115
115
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
116
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
116
117
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
117
118
|
import "../shared-utils/isTouchDevice.js";
|
|
118
119
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -127,7 +128,7 @@ import "../vendor/svelte/internal/index.js";
|
|
|
127
128
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
128
129
|
import "../shared-utils/math/planimetry.js";
|
|
129
130
|
import "../shared-utils/dom/resizeObserver.js";
|
|
130
|
-
class
|
|
131
|
+
class Ce extends k {
|
|
131
132
|
/** AreaMakerPlugin
|
|
132
133
|
* @param `five` `<Five>` Five 实例
|
|
133
134
|
* @param `params` `<PluginType.Params> | <undefined>` 插件初始化参数
|
|
@@ -402,5 +403,5 @@ class Me extends k {
|
|
|
402
403
|
}
|
|
403
404
|
}
|
|
404
405
|
export {
|
|
405
|
-
|
|
406
|
+
Ce as Controller
|
|
406
407
|
};
|
|
@@ -78,6 +78,7 @@ import "../Sculpt/typings/style.js";
|
|
|
78
78
|
import "../shared-utils/five/FiveLine.js";
|
|
79
79
|
import "../shared-utils/tag.js";
|
|
80
80
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
81
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
81
82
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
82
83
|
import "../shared-utils/isTouchDevice.js";
|
|
83
84
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -99,7 +100,7 @@ import "../vendor/svelte/internal/index.js";
|
|
|
99
100
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
100
101
|
import "../shared-utils/math/planimetry.js";
|
|
101
102
|
import "../shared-utils/dom/resizeObserver.js";
|
|
102
|
-
const
|
|
103
|
+
const Zr = (r, o) => new t(r, o);
|
|
103
104
|
export {
|
|
104
|
-
|
|
105
|
+
Zr as AreaMakerPlugin
|
|
105
106
|
};
|
|
@@ -90,6 +90,7 @@ import "../../Sculpt/typings/style.js";
|
|
|
90
90
|
import "../../shared-utils/five/FiveLine.js";
|
|
91
91
|
import "../../shared-utils/tag.js";
|
|
92
92
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
93
|
+
import "../../Sculpt/utils/removeAllTag.js";
|
|
93
94
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
94
95
|
import "../../shared-utils/isTouchDevice.js";
|
|
95
96
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -107,7 +108,7 @@ class V extends y {
|
|
|
107
108
|
this.areaMakerItem.makerObject.raycast(t, o);
|
|
108
109
|
}
|
|
109
110
|
}
|
|
110
|
-
class
|
|
111
|
+
class fi {
|
|
111
112
|
constructor(i, t) {
|
|
112
113
|
e(this, "id");
|
|
113
114
|
/** 标注名称 */
|
|
@@ -363,5 +364,5 @@ function u(a, i) {
|
|
|
363
364
|
t.multiply(o), t.multiply(s), t.multiply(n), a.applyMatrix4(t);
|
|
364
365
|
}
|
|
365
366
|
export {
|
|
366
|
-
|
|
367
|
+
fi as AreaMakerItem
|
|
367
368
|
};
|
|
@@ -94,12 +94,13 @@ import "../Sculpt/typings/style.js";
|
|
|
94
94
|
import "../shared-utils/five/FiveLine.js";
|
|
95
95
|
import "../shared-utils/tag.js";
|
|
96
96
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
97
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
97
98
|
import "./utils/three/CSS3DSprite.js";
|
|
98
99
|
import "../shared-utils/isTouchDevice.js";
|
|
99
100
|
import "../shared-utils/five/getPosition.js";
|
|
100
101
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
101
102
|
const b = "v2.0.1", E = `CSS3DRenderPlugin@${b}`;
|
|
102
|
-
class
|
|
103
|
+
class at extends j {
|
|
103
104
|
constructor(e) {
|
|
104
105
|
super();
|
|
105
106
|
m(this, "five");
|
|
@@ -212,5 +213,5 @@ class dt extends j {
|
|
|
212
213
|
}
|
|
213
214
|
export {
|
|
214
215
|
E as PLUGIN_NAME,
|
|
215
|
-
|
|
216
|
+
at as default
|
|
216
217
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import o from "./Controller.js";
|
|
2
|
-
import { CSS3DRender as
|
|
2
|
+
import { CSS3DRender as Kr } from "./utils/three/CSS3DRender.js";
|
|
3
3
|
import "./utils/generateBehindFiveElement.js";
|
|
4
4
|
import "three";
|
|
5
5
|
import "hammerjs";
|
|
@@ -79,6 +79,7 @@ import "../shared-utils/five/FiveLine.js";
|
|
|
79
79
|
import "../shared-utils/positionToVector3.js";
|
|
80
80
|
import "../shared-utils/tag.js";
|
|
81
81
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
82
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
82
83
|
import "./utils/three/CSS3DSprite.js";
|
|
83
84
|
import "../shared-utils/isTouchDevice.js";
|
|
84
85
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -86,9 +87,9 @@ import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
|
86
87
|
import "./utils/three/CSS3DScene.js";
|
|
87
88
|
import "./utils/getAllCSS3DObject.js";
|
|
88
89
|
import "./utils/three/CSS3DGroup.js";
|
|
89
|
-
const
|
|
90
|
+
const Hr = (r) => new o(r);
|
|
90
91
|
export {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
Kr as CSS3DRender,
|
|
93
|
+
Hr as CSS3DRenderPlugin,
|
|
94
|
+
Hr as default
|
|
94
95
|
};
|
|
@@ -84,12 +84,13 @@ import "../../../Sculpt/typings/style.js";
|
|
|
84
84
|
import "../../../shared-utils/five/FiveLine.js";
|
|
85
85
|
import "../../../shared-utils/tag.js";
|
|
86
86
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
87
|
+
import "../../../Sculpt/utils/removeAllTag.js";
|
|
87
88
|
import "./CSS3DSprite.js";
|
|
88
89
|
import "../../../shared-utils/isTouchDevice.js";
|
|
89
90
|
import "../../../shared-utils/five/getPosition.js";
|
|
90
91
|
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
91
92
|
const $ = 1, W = `CSS3DObjectPlus@${$}`, k = 216e-5, z = 3e-3;
|
|
92
|
-
class
|
|
93
|
+
class Vi extends N {
|
|
93
94
|
constructor(t) {
|
|
94
95
|
var x, b, w, g, V;
|
|
95
96
|
if (O(t.cornerPoints) && O(t.width))
|
|
@@ -195,7 +196,7 @@ class gi extends N {
|
|
|
195
196
|
}
|
|
196
197
|
}
|
|
197
198
|
export {
|
|
198
|
-
|
|
199
|
+
Vi as CSS3DObjectPlus,
|
|
199
200
|
z as DefaultRatio,
|
|
200
201
|
k as MinRatio
|
|
201
202
|
};
|
|
@@ -31,7 +31,7 @@ import { anyPositionToVector3 as q } from "../../../shared-utils/positionToVecto
|
|
|
31
31
|
import B from "./CSS3DRenderer.js";
|
|
32
32
|
import { Subscribe as A } from "../../../shared-utils/Subscribe.js";
|
|
33
33
|
import { CSS3DObjectPlus as W } from "./CSS3DObject.js";
|
|
34
|
-
import { MinRatio as
|
|
34
|
+
import { MinRatio as xt } from "./CSS3DObject.js";
|
|
35
35
|
import { CSS3DFrontScene as H, CSS3DBehindScene as T } from "./CSS3DScene.js";
|
|
36
36
|
import { CSS3DFrontGroup as U, CSS3DBehindGroup as z } from "./CSS3DGroup.js";
|
|
37
37
|
import { CSS3DObject as j } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -110,6 +110,7 @@ import "../../../Sculpt/typings/style.js";
|
|
|
110
110
|
import "../../../shared-utils/five/FiveLine.js";
|
|
111
111
|
import "../../../shared-utils/tag.js";
|
|
112
112
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
113
|
+
import "../../../Sculpt/utils/removeAllTag.js";
|
|
113
114
|
import "./CSS3DSprite.js";
|
|
114
115
|
import "../../../shared-utils/isTouchDevice.js";
|
|
115
116
|
import "../../../shared-utils/five/getPosition.js";
|
|
@@ -383,7 +384,7 @@ class y {
|
|
|
383
384
|
n(y, "setFrontModeContainer", K), n(y, "setBehindModeContainer", Q);
|
|
384
385
|
export {
|
|
385
386
|
y as CSS3DRender,
|
|
386
|
-
|
|
387
|
+
xt as MinRatio,
|
|
387
388
|
l as PLUGIN,
|
|
388
389
|
i as globalStore
|
|
389
390
|
};
|
|
@@ -111,13 +111,14 @@ import "../Sculpt/typings/style.js";
|
|
|
111
111
|
import "../shared-utils/five/FiveLine.js";
|
|
112
112
|
import "../shared-utils/tag.js";
|
|
113
113
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
114
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
114
115
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
115
116
|
import "../shared-utils/isTouchDevice.js";
|
|
116
117
|
import "../shared-utils/five/getPosition.js";
|
|
117
118
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
118
119
|
import "../shared-utils/isTruelyObject.js";
|
|
119
|
-
const g = "CruisePlugin", d = `${g}`,
|
|
120
|
-
class
|
|
120
|
+
const g = "CruisePlugin", d = `${g}`, pt = (r) => `${d}--${r}`;
|
|
121
|
+
class dt extends y {
|
|
121
122
|
constructor(e, t) {
|
|
122
123
|
super(e, t);
|
|
123
124
|
o(this, "state", {
|
|
@@ -292,6 +293,6 @@ class pt extends y {
|
|
|
292
293
|
}
|
|
293
294
|
}
|
|
294
295
|
export {
|
|
295
|
-
|
|
296
|
-
|
|
296
|
+
dt as default,
|
|
297
|
+
pt as pluginFlag
|
|
297
298
|
};
|
|
@@ -117,6 +117,7 @@ import "../Sculpt/typings/style.js";
|
|
|
117
117
|
import "../shared-utils/five/FiveLine.js";
|
|
118
118
|
import "../shared-utils/tag.js";
|
|
119
119
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
120
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
120
121
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
121
122
|
import "../shared-utils/isTouchDevice.js";
|
|
122
123
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -270,7 +271,7 @@ import "./utils/coordinatesAngle.js";
|
|
|
270
271
|
import "./utils/coordinatesToVector.js";
|
|
271
272
|
import "./utils/safeCall.js";
|
|
272
273
|
import "../shared-utils/five/fiveLoaded.js";
|
|
273
|
-
class
|
|
274
|
+
class fe extends z {
|
|
274
275
|
constructor(t, r) {
|
|
275
276
|
var h;
|
|
276
277
|
super(t, r);
|
|
@@ -378,5 +379,5 @@ class he extends z {
|
|
|
378
379
|
}
|
|
379
380
|
}
|
|
380
381
|
export {
|
|
381
|
-
|
|
382
|
+
fe as default
|
|
382
383
|
};
|
|
@@ -248,6 +248,7 @@ import "../Sculpt/typings/style.js";
|
|
|
248
248
|
import "../shared-utils/five/FiveLine.js";
|
|
249
249
|
import "../shared-utils/tag.js";
|
|
250
250
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
251
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
251
252
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
252
253
|
import "../shared-utils/isTouchDevice.js";
|
|
253
254
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -270,7 +271,7 @@ import "./utils/getFiveStateOnCurve.js";
|
|
|
270
271
|
import "../shared-utils/formatRad.js";
|
|
271
272
|
import "./Work.js";
|
|
272
273
|
import "./utils/coordinatesToVector.js";
|
|
273
|
-
class
|
|
274
|
+
class co extends G {
|
|
274
275
|
constructor(t, e) {
|
|
275
276
|
super(t, e);
|
|
276
277
|
k(this, "state", {
|
|
@@ -658,5 +659,5 @@ class lo extends G {
|
|
|
658
659
|
}
|
|
659
660
|
}
|
|
660
661
|
export {
|
|
661
|
-
|
|
662
|
+
co as default
|
|
662
663
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { typing as
|
|
1
|
+
import { typing as Hi } from "./typing/index.js";
|
|
2
2
|
import t from "./Work.js";
|
|
3
3
|
import i from "./Move.js";
|
|
4
4
|
import "../GuideLinePlugin/index.js";
|
|
@@ -87,6 +87,7 @@ import "../Sculpt/typings/style.js";
|
|
|
87
87
|
import "../shared-utils/five/FiveLine.js";
|
|
88
88
|
import "../shared-utils/tag.js";
|
|
89
89
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
90
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
90
91
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
91
92
|
import "../shared-utils/isTouchDevice.js";
|
|
92
93
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -242,13 +243,13 @@ import "./utils/safeCall.js";
|
|
|
242
243
|
import "../shared-utils/five/fiveLoaded.js";
|
|
243
244
|
import "./BaseController.js";
|
|
244
245
|
import "./utils/getFiveStateOnCurve.js";
|
|
245
|
-
const
|
|
246
|
+
const Di = (o, r) => new t(o, r), Ei = (o, r) => new i(o, r);
|
|
246
247
|
export {
|
|
247
|
-
|
|
248
|
+
Di as CruisePlugin,
|
|
248
249
|
t as CruisePluginController,
|
|
249
|
-
|
|
250
|
+
Hi as CruisePluginTypes,
|
|
250
251
|
i as MoveController,
|
|
251
|
-
|
|
252
|
+
Ei as MovePlugin,
|
|
252
253
|
t as WalkController,
|
|
253
|
-
|
|
254
|
+
Di as default
|
|
254
255
|
};
|
|
@@ -113,12 +113,13 @@ import "../Sculpt/typings/style.js";
|
|
|
113
113
|
import "../shared-utils/five/FiveLine.js";
|
|
114
114
|
import "../shared-utils/tag.js";
|
|
115
115
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
116
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
116
117
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
117
118
|
import "../shared-utils/isTouchDevice.js";
|
|
118
119
|
import "../shared-utils/five/getPosition.js";
|
|
119
120
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
120
121
|
import "../shared-utils/isTruelyObject.js";
|
|
121
|
-
class
|
|
122
|
+
class ae extends M {
|
|
122
123
|
constructor(i, e) {
|
|
123
124
|
super(i);
|
|
124
125
|
// ==================== public properties ====================
|
|
@@ -349,5 +350,5 @@ class he extends M {
|
|
|
349
350
|
}
|
|
350
351
|
}
|
|
351
352
|
export {
|
|
352
|
-
|
|
353
|
+
ae as CurrentPanoImagePluginController
|
|
353
354
|
};
|
|
@@ -82,6 +82,7 @@ import "../Sculpt/typings/style.js";
|
|
|
82
82
|
import "../shared-utils/five/FiveLine.js";
|
|
83
83
|
import "../shared-utils/tag.js";
|
|
84
84
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
85
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
85
86
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
86
87
|
import "../shared-utils/isTouchDevice.js";
|
|
87
88
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -91,8 +92,8 @@ import "../shared-utils/animationFrame/index.js";
|
|
|
91
92
|
import "../shared-utils/equal.js";
|
|
92
93
|
import "../shared-utils/isTruelyObject.js";
|
|
93
94
|
import "../shared-utils/three/loadTexture.js";
|
|
94
|
-
const
|
|
95
|
+
const Rr = (r, o) => new t(r, o);
|
|
95
96
|
export {
|
|
96
|
-
|
|
97
|
-
|
|
97
|
+
Rr as CurrentPanoImagePlugin,
|
|
98
|
+
Rr as default
|
|
98
99
|
};
|
|
@@ -243,6 +243,7 @@ import "../Sculpt/typings/style.js";
|
|
|
243
243
|
import "../shared-utils/five/FiveLine.js";
|
|
244
244
|
import "../shared-utils/tag.js";
|
|
245
245
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
246
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
246
247
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
247
248
|
import "../shared-utils/isTouchDevice.js";
|
|
248
249
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -269,8 +270,8 @@ import "../CruisePlugin/utils/coordinatesAngle.js";
|
|
|
269
270
|
import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
270
271
|
import "../CruisePlugin/utils/safeCall.js";
|
|
271
272
|
import "../shared-utils/five/fiveLoaded.js";
|
|
272
|
-
const b = "GuideLinePlugin", g = `${b}`,
|
|
273
|
-
class
|
|
273
|
+
const b = "GuideLinePlugin", g = `${b}`, be = (s) => `${g}--${s}`;
|
|
274
|
+
class ge extends N {
|
|
274
275
|
constructor(t, i) {
|
|
275
276
|
super(t, i);
|
|
276
277
|
h(this, "name", b);
|
|
@@ -412,6 +413,6 @@ class be extends N {
|
|
|
412
413
|
}
|
|
413
414
|
}
|
|
414
415
|
export {
|
|
415
|
-
|
|
416
|
-
|
|
416
|
+
ge as default,
|
|
417
|
+
be as pluginFlag
|
|
417
418
|
};
|
|
@@ -5,7 +5,7 @@ import "../shared-utils/five/changeMode.js";
|
|
|
5
5
|
import "../CruisePlugin/Move.js";
|
|
6
6
|
import "../CruisePlugin/Work.js";
|
|
7
7
|
import "../shared-utils/Subscribe.js";
|
|
8
|
-
import { GuideLineItem as
|
|
8
|
+
import { GuideLineItem as Br } from "./GuideLineItem/index.js";
|
|
9
9
|
import "three";
|
|
10
10
|
import "./utils/createLineGeometry.js";
|
|
11
11
|
import "../vendor/polyline-normals/index.js";
|
|
@@ -98,6 +98,7 @@ import "../Sculpt/typings/style.js";
|
|
|
98
98
|
import "../shared-utils/five/FiveLine.js";
|
|
99
99
|
import "../shared-utils/tag.js";
|
|
100
100
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
101
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
101
102
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
102
103
|
import "../shared-utils/isTouchDevice.js";
|
|
103
104
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -242,5 +243,5 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
|
242
243
|
import "../CruisePlugin/utils/safeCall.js";
|
|
243
244
|
import "../shared-utils/five/fiveLoaded.js";
|
|
244
245
|
export {
|
|
245
|
-
|
|
246
|
+
Br as GuideLineItem
|
|
246
247
|
};
|
|
@@ -15,7 +15,7 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
15
15
|
import "./Components/Tag.js";
|
|
16
16
|
import "./utils/index.js";
|
|
17
17
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
18
|
-
import { GuideLineModeItem as
|
|
18
|
+
import { GuideLineModeItem as Ir } from "./GuideLineModeItem/index.js";
|
|
19
19
|
import "../vendor/polyline-normals/index.js";
|
|
20
20
|
import "../vendor/polyline-miter-util/index.js";
|
|
21
21
|
import "../vendor/gl-vec2/add.js";
|
|
@@ -100,6 +100,7 @@ import "../Sculpt/typings/style.js";
|
|
|
100
100
|
import "../shared-utils/five/FiveLine.js";
|
|
101
101
|
import "../shared-utils/tag.js";
|
|
102
102
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
103
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
103
104
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
104
105
|
import "../shared-utils/isTouchDevice.js";
|
|
105
106
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -225,5 +226,5 @@ import "../PanoTagPlugin/Components/TagContainer.js";
|
|
|
225
226
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
226
227
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
227
228
|
export {
|
|
228
|
-
|
|
229
|
+
Ir as GuideLineModeItem
|
|
229
230
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "./Controller.js";
|
|
2
|
-
import { GuideLineItem$1 as
|
|
3
|
-
import { GuideLineModeItem$1 as
|
|
2
|
+
import { GuideLineItem$1 as Br } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as Er } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -85,6 +85,7 @@ import "../Sculpt/typings/style.js";
|
|
|
85
85
|
import "../shared-utils/five/FiveLine.js";
|
|
86
86
|
import "../shared-utils/tag.js";
|
|
87
87
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
88
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
88
89
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
89
90
|
import "../shared-utils/isTouchDevice.js";
|
|
90
91
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -241,10 +242,10 @@ import "../shared-utils/five/changeMode.js";
|
|
|
241
242
|
import "../shared-utils/nearlyEqual.js";
|
|
242
243
|
import "../CruisePlugin/Move.js";
|
|
243
244
|
import "../CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
244
|
-
const r = (i, o) => new t(i, o),
|
|
245
|
+
const r = (i, o) => new t(i, o), yr = r;
|
|
245
246
|
export {
|
|
246
|
-
|
|
247
|
-
|
|
247
|
+
Br as GuideLineItem,
|
|
248
|
+
Er as GuideLineModeItem,
|
|
248
249
|
r as GuideLinePlugin,
|
|
249
|
-
|
|
250
|
+
yr as default
|
|
250
251
|
};
|
|
@@ -61,6 +61,7 @@ import "../shared-utils/five/FiveLine.js";
|
|
|
61
61
|
import "../shared-utils/three/centerPoint.js";
|
|
62
62
|
import "../shared-utils/tag.js";
|
|
63
63
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
64
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
64
65
|
import "../Sculpt/Meshes/Polygon.js";
|
|
65
66
|
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
66
67
|
import "../shared-utils/three/earcut3D.js";
|
|
@@ -138,7 +139,7 @@ import "../components/AreaLabel/LabelItem.js";
|
|
|
138
139
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
139
140
|
import "./item/baseItem.js";
|
|
140
141
|
import "../shared-utils/three/addIfNotExists.js";
|
|
141
|
-
class
|
|
142
|
+
class ti extends z {
|
|
142
143
|
constructor(t, e) {
|
|
143
144
|
var s, l;
|
|
144
145
|
super(t);
|
|
@@ -299,5 +300,5 @@ class Xe extends z {
|
|
|
299
300
|
}
|
|
300
301
|
}
|
|
301
302
|
export {
|
|
302
|
-
|
|
303
|
+
ti as Controller
|
|
303
304
|
};
|
|
@@ -83,6 +83,7 @@ import "../Sculpt/typings/style.js";
|
|
|
83
83
|
import "../shared-utils/five/FiveLine.js";
|
|
84
84
|
import "../shared-utils/tag.js";
|
|
85
85
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
86
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
86
87
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
87
88
|
import "../shared-utils/isTouchDevice.js";
|
|
88
89
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -111,7 +112,7 @@ import "../vendor/svelte/internal/index.js";
|
|
|
111
112
|
import "../components/AreaLabel/LabelItem.js";
|
|
112
113
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
113
114
|
import "./item/prismItem.js";
|
|
114
|
-
const
|
|
115
|
+
const Mr = (...o) => new r(...o);
|
|
115
116
|
export {
|
|
116
|
-
|
|
117
|
+
Mr as ModelMakerPlugin
|
|
117
118
|
};
|
|
@@ -99,6 +99,7 @@ import "../Sculpt/typings/style.js";
|
|
|
99
99
|
import "../shared-utils/five/FiveLine.js";
|
|
100
100
|
import "../shared-utils/tag.js";
|
|
101
101
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
102
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
102
103
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
103
104
|
import "../shared-utils/isTouchDevice.js";
|
|
104
105
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -106,7 +107,7 @@ import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
|
106
107
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
107
108
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
108
109
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
109
|
-
const
|
|
110
|
+
const gt = (s, { videoElement: g }) => {
|
|
110
111
|
const e = {
|
|
111
112
|
videoMeshes: [],
|
|
112
113
|
videoTextureEnabled: !1,
|
|
@@ -249,6 +250,6 @@ const Tt = (s, { videoElement: g }) => {
|
|
|
249
250
|
}), { enable: h, disable: u, load: L, dispose: V, state: e, css3DRenderPlugin: f };
|
|
250
251
|
};
|
|
251
252
|
export {
|
|
252
|
-
|
|
253
|
-
|
|
253
|
+
gt as ModelTVVideoPlugin,
|
|
254
|
+
gt as default
|
|
254
255
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelTVVideoPlugin as r } from "./Plugin.js";
|
|
2
|
-
import { DIRECTION as
|
|
2
|
+
import { DIRECTION as Ko } from "./typings.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import "./utils/parseData.js";
|
|
5
5
|
import "../CSS3DRenderPlugin/index.js";
|
|
@@ -83,6 +83,7 @@ import "../Sculpt/typings/style.js";
|
|
|
83
83
|
import "../shared-utils/five/FiveLine.js";
|
|
84
84
|
import "../shared-utils/tag.js";
|
|
85
85
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
86
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
86
87
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
87
88
|
import "../shared-utils/isTouchDevice.js";
|
|
88
89
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -92,7 +93,7 @@ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
|
92
93
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
93
94
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
94
95
|
export {
|
|
95
|
-
|
|
96
|
+
Ko as DIRECTION,
|
|
96
97
|
r as ModelTVVideoPlugin,
|
|
97
98
|
r as default
|
|
98
99
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
var x = Object.defineProperty;
|
|
2
2
|
var P = Object.getOwnPropertySymbols;
|
|
3
3
|
var I = Object.prototype.hasOwnProperty, W = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var S = (
|
|
4
|
+
var S = (p, o, e) => o in p ? x(p, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[o] = e, n = (p, o) => {
|
|
5
5
|
for (var e in o || (o = {}))
|
|
6
|
-
I.call(o, e) && S(
|
|
6
|
+
I.call(o, e) && S(p, e, o[e]);
|
|
7
7
|
if (P)
|
|
8
8
|
for (var e of P(o))
|
|
9
|
-
W.call(o, e) && S(
|
|
10
|
-
return
|
|
9
|
+
W.call(o, e) && S(p, e, o[e]);
|
|
10
|
+
return p;
|
|
11
11
|
};
|
|
12
|
-
var f = (
|
|
13
|
-
var g = (
|
|
12
|
+
var f = (p, o, e) => (S(p, typeof o != "symbol" ? o + "" : o, e), e);
|
|
13
|
+
var g = (p, o, e) => new Promise((t, r) => {
|
|
14
14
|
var s = (h) => {
|
|
15
15
|
try {
|
|
16
16
|
b(e.next(h));
|
|
17
|
-
} catch (
|
|
18
|
-
r(
|
|
17
|
+
} catch (l) {
|
|
18
|
+
r(l);
|
|
19
19
|
}
|
|
20
20
|
}, d = (h) => {
|
|
21
21
|
try {
|
|
22
22
|
b(e.throw(h));
|
|
23
|
-
} catch (
|
|
24
|
-
r(
|
|
23
|
+
} catch (l) {
|
|
24
|
+
r(l);
|
|
25
25
|
}
|
|
26
26
|
}, b = (h) => h.done ? t(h.value) : Promise.resolve(h.value).then(s, d);
|
|
27
|
-
b((e = e.apply(
|
|
27
|
+
b((e = e.apply(p, o)).next());
|
|
28
28
|
});
|
|
29
29
|
import { Controller as L } from "../base/BasePlugin.js";
|
|
30
30
|
import "three";
|
|
@@ -109,6 +109,7 @@ import "../Sculpt/typings/style.js";
|
|
|
109
109
|
import "../shared-utils/five/FiveLine.js";
|
|
110
110
|
import "../shared-utils/tag.js";
|
|
111
111
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
112
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
112
113
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
113
114
|
import "../shared-utils/isTouchDevice.js";
|
|
114
115
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -120,7 +121,7 @@ const w = "Object3DHelperPlugin", D = w, X = () => {
|
|
|
120
121
|
}, Z = () => {
|
|
121
122
|
console.error(`${D} is disabled`);
|
|
122
123
|
};
|
|
123
|
-
class
|
|
124
|
+
class Wr extends L {
|
|
124
125
|
constructor(e) {
|
|
125
126
|
super(e);
|
|
126
127
|
f(this, "name", w);
|
|
@@ -196,22 +197,22 @@ class Ir extends L {
|
|
|
196
197
|
console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
|
|
197
198
|
return;
|
|
198
199
|
}
|
|
199
|
-
const r = new N(), s = [], d = (M = this.five.getElement()) == null ? void 0 : M.parentElement, b = this.five.camera,
|
|
200
|
+
const r = new N(), s = [], d = (M = this.five.getElement()) == null ? void 0 : M.parentElement, b = this.five.camera, l = n(n({}, {
|
|
200
201
|
moveHelper: !0,
|
|
201
202
|
rotateHelper: !0,
|
|
202
203
|
scaleHelper: !0,
|
|
203
204
|
boundingBoxHelper: !1,
|
|
204
205
|
positionFrom: "objectPosition"
|
|
205
|
-
}), t), { moveHelper: y, rotateHelper: B, scaleHelper: j, boundingBoxHelper: k } =
|
|
206
|
+
}), t), { moveHelper: y, rotateHelper: B, scaleHelper: j, boundingBoxHelper: k } = l, u = new R(), v = new R(), C = (i) => {
|
|
206
207
|
if (i)
|
|
207
208
|
return typeof i == "boolean" ? i : i.enable;
|
|
208
209
|
};
|
|
209
210
|
if (C(y)) {
|
|
210
|
-
const i = n(n({}, this.getConfig(
|
|
211
|
+
const i = n(n({}, this.getConfig(l.moveHelper)), l), m = new _(e, n({}, i)), a = new H(this.five, U, e, m, i, u, v);
|
|
211
212
|
r.addControllers({ moveController: a.helperController }), s.push(() => a.dispose());
|
|
212
213
|
}
|
|
213
214
|
if (C(B)) {
|
|
214
|
-
const i = n(n({}, this.getConfig(
|
|
215
|
+
const i = n(n({}, this.getConfig(l.rotateHelper)), l), m = new $(e, n({ container: d }, i)), a = new H(this.five, V, e, m, i, u, v);
|
|
215
216
|
r.addControllers({ rotateController: a.helperController }), s.push(() => a.dispose());
|
|
216
217
|
}
|
|
217
218
|
if (C(k)) {
|
|
@@ -248,7 +249,7 @@ class Ir extends L {
|
|
|
248
249
|
}
|
|
249
250
|
});
|
|
250
251
|
} else {
|
|
251
|
-
const i = n(n({}, this.getConfig(
|
|
252
|
+
const i = n(n({}, this.getConfig(l.scaleHelper)), l), m = new K(e, i), a = new H(this.five, Q, e, m, i, u, v);
|
|
252
253
|
r.addControllers({ scaleController: a.helperController }), s.push(() => a.dispose());
|
|
253
254
|
}
|
|
254
255
|
return this.objectHelperMap.set(e, { helper: r, disposers: s }), r.controllers;
|
|
@@ -292,6 +293,6 @@ class Ir extends L {
|
|
|
292
293
|
}
|
|
293
294
|
}
|
|
294
295
|
export {
|
|
295
|
-
|
|
296
|
+
Wr as Object3DHelperController,
|
|
296
297
|
D as PLUGIN
|
|
297
298
|
};
|