@realsee/dnalogel 3.49.8 → 3.49.9
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/index.cjs.js +36 -36
- package/dist/index.js +730 -722
- package/dist/index.umd.js +46 -46
- package/dist/shared-utils/tag.d.ts +2 -0
- package/libs/AreaMakerPlugin/Controller.js +1 -1
- package/libs/AreaMakerPlugin/index.js +1 -1
- package/libs/CSS3DRenderPlugin/Controller.js +20 -19
- package/libs/CSS3DRenderPlugin/index.js +6 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +16 -15
- package/libs/CruisePlugin/BaseController.js +5 -4
- package/libs/CruisePlugin/Move.js +1 -1
- package/libs/CruisePlugin/index.js +1 -1
- package/libs/CurrentPanoImagePlugin/Controller.js +3 -2
- package/libs/CurrentPanoImagePlugin/index.js +4 -3
- package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/ModelMakerPlugin/Controller.js +3 -2
- package/libs/ModelMakerPlugin/index.js +3 -2
- package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +8 -7
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -2
- package/libs/Object3DHelperPlugin/Controller.js +3 -2
- 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 +8 -7
- package/libs/PanoDoorLabelPlugin/Controller.js +3 -2
- 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 +12 -11
- 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 +3 -2
- 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 +3 -2
- 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/utils/tag/calculateTagConfig.js +10 -9
- 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/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 +9 -8
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +19 -18
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/index.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +2 -0
- package/libs/shared-utils/tag.js +20 -11
- package/package.json +1 -1
|
@@ -78,6 +78,7 @@ import "../../shared-utils/Subscribe.js";
|
|
|
78
78
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
79
79
|
import "../../shared-utils/five/transformPosition.js";
|
|
80
80
|
import "../../shared-utils/three/temp.js";
|
|
81
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
81
82
|
import "./Tag/AudioTag/index.js";
|
|
82
83
|
import "./Tag/AudioTag/AudioTag.js";
|
|
83
84
|
import "./Common/Audio.js";
|
|
@@ -464,7 +465,7 @@ function at(o, t, i) {
|
|
|
464
465
|
H
|
|
465
466
|
];
|
|
466
467
|
}
|
|
467
|
-
class
|
|
468
|
+
class Li extends J {
|
|
468
469
|
constructor(t) {
|
|
469
470
|
super(), K(
|
|
470
471
|
this,
|
|
@@ -485,5 +486,5 @@ class zi extends J {
|
|
|
485
486
|
}
|
|
486
487
|
}
|
|
487
488
|
export {
|
|
488
|
-
|
|
489
|
+
Li as default
|
|
489
490
|
};
|
|
@@ -78,8 +78,9 @@ import "../../../shared-utils/five/getFiveModel.js";
|
|
|
78
78
|
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
79
79
|
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
80
80
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
81
|
+
import "../../../shared-utils/dom/resizeObserver.js";
|
|
81
82
|
import "../../../shared-utils/formatRad.js";
|
|
82
|
-
class
|
|
83
|
+
class ii {
|
|
83
84
|
constructor(i, e) {
|
|
84
85
|
f(this, "plugin");
|
|
85
86
|
f(this, "id");
|
|
@@ -638,5 +639,5 @@ class ei {
|
|
|
638
639
|
}
|
|
639
640
|
}
|
|
640
641
|
export {
|
|
641
|
-
|
|
642
|
+
ii as BaseTag
|
|
642
643
|
};
|
|
@@ -57,6 +57,7 @@ import "../../../shared-utils/Utils/BaseUtil.js";
|
|
|
57
57
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
58
58
|
import "../../../shared-utils/five/transformPosition.js";
|
|
59
59
|
import "../../../shared-utils/three/temp.js";
|
|
60
|
+
import "../../../shared-utils/dom/resizeObserver.js";
|
|
60
61
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
61
62
|
import "animejs";
|
|
62
63
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -74,7 +75,7 @@ import "../../../shared-utils/url/getUrl.js";
|
|
|
74
75
|
import "../../../shared-utils/five/getFloorIndex.js";
|
|
75
76
|
import "../../../shared-utils/safeObj.js";
|
|
76
77
|
import "../../utils/Cache.js";
|
|
77
|
-
class
|
|
78
|
+
class Ot extends D {
|
|
78
79
|
constructor(i, s) {
|
|
79
80
|
super(i, s);
|
|
80
81
|
l(this, "loading", !1);
|
|
@@ -127,5 +128,5 @@ class Ct extends D {
|
|
|
127
128
|
}
|
|
128
129
|
}
|
|
129
130
|
export {
|
|
130
|
-
|
|
131
|
+
Ot as ModelTag
|
|
131
132
|
};
|
|
@@ -35,6 +35,7 @@ import "../../../shared-utils/Utils/BaseUtil.js";
|
|
|
35
35
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
36
36
|
import "../../../shared-utils/five/transformPosition.js";
|
|
37
37
|
import "../../../shared-utils/three/temp.js";
|
|
38
|
+
import "../../../shared-utils/dom/resizeObserver.js";
|
|
38
39
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
39
40
|
import "animejs";
|
|
40
41
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -54,7 +55,7 @@ import "../../../shared-utils/five/getFloorIndex.js";
|
|
|
54
55
|
import "../../../shared-utils/safeObj.js";
|
|
55
56
|
import "../../utils/Cache.js";
|
|
56
57
|
const P = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map();
|
|
57
|
-
class
|
|
58
|
+
class be extends f {
|
|
58
59
|
constructor(t, e) {
|
|
59
60
|
super(t, e), this.state.unfolded = !0;
|
|
60
61
|
}
|
|
@@ -111,5 +112,5 @@ class De extends f {
|
|
|
111
112
|
}
|
|
112
113
|
}
|
|
113
114
|
export {
|
|
114
|
-
|
|
115
|
+
be as PlaneTag
|
|
115
116
|
};
|
|
@@ -26,6 +26,7 @@ import "../../../shared-utils/Utils/BaseUtil.js";
|
|
|
26
26
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
27
27
|
import "../../../shared-utils/five/transformPosition.js";
|
|
28
28
|
import "../../../shared-utils/three/temp.js";
|
|
29
|
+
import "../../../shared-utils/dom/resizeObserver.js";
|
|
29
30
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
30
31
|
import "animejs";
|
|
31
32
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -46,7 +47,7 @@ import "../../../shared-utils/five/getFloorIndex.js";
|
|
|
46
47
|
import "../../../shared-utils/safeObj.js";
|
|
47
48
|
import "../../utils/Cache.js";
|
|
48
49
|
const b = new c.Vector2();
|
|
49
|
-
class
|
|
50
|
+
class dt extends g {
|
|
50
51
|
constructor(t, e) {
|
|
51
52
|
super(t, e);
|
|
52
53
|
l(this, "__Object__");
|
|
@@ -148,5 +149,5 @@ class at extends g {
|
|
|
148
149
|
}
|
|
149
150
|
}
|
|
150
151
|
export {
|
|
151
|
-
|
|
152
|
+
dt as PointTag
|
|
152
153
|
};
|
|
@@ -105,6 +105,7 @@ import "../../shared-utils/Subscribe.js";
|
|
|
105
105
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
106
106
|
import "../../shared-utils/five/transformPosition.js";
|
|
107
107
|
import "../../shared-utils/three/temp.js";
|
|
108
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
108
109
|
import "../../shared-utils/three/core/Sphere.js";
|
|
109
110
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
110
111
|
import "../utils/noTypecheck.js";
|
|
@@ -178,7 +179,7 @@ import "../../shared-utils/five/calculateThreeMouse.js";
|
|
|
178
179
|
import "../../shared-utils/three/core/Raycaster.js";
|
|
179
180
|
import "../../shared-utils/isTouchDevice.js";
|
|
180
181
|
import "../../base/BasePlugin.js";
|
|
181
|
-
class
|
|
182
|
+
class Oe extends U {
|
|
182
183
|
constructor(t) {
|
|
183
184
|
super(t);
|
|
184
185
|
d(this, "rendererMap", /* @__PURE__ */ new Map());
|
|
@@ -329,5 +330,5 @@ class xe extends U {
|
|
|
329
330
|
}
|
|
330
331
|
}
|
|
331
332
|
export {
|
|
332
|
-
|
|
333
|
+
Oe as TagRender
|
|
333
334
|
};
|
|
@@ -39,6 +39,7 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
39
39
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
40
40
|
import "../../shared-utils/five/transformPosition.js";
|
|
41
41
|
import "../../shared-utils/three/temp.js";
|
|
42
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
42
43
|
import "../../shared-utils/three/core/Sphere.js";
|
|
43
44
|
import "animejs";
|
|
44
45
|
import "../../shared-utils/isNil.js";
|
|
@@ -61,7 +62,7 @@ import "../../shared-utils/three/getNormal.js";
|
|
|
61
62
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
62
63
|
import "../../shared-utils/three/core/Raycaster.js";
|
|
63
64
|
import "../../shared-utils/isTouchDevice.js";
|
|
64
|
-
class
|
|
65
|
+
class be extends E {
|
|
65
66
|
constructor(e) {
|
|
66
67
|
super(e);
|
|
67
68
|
r(this, "tags", []);
|
|
@@ -191,5 +192,5 @@ class Qe extends E {
|
|
|
191
192
|
}
|
|
192
193
|
}
|
|
193
194
|
export {
|
|
194
|
-
|
|
195
|
+
be as TagUtil
|
|
195
196
|
};
|
|
@@ -36,7 +36,8 @@ import "../../../shared-utils/Subscribe.js";
|
|
|
36
36
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
37
37
|
import "../../../shared-utils/five/transformPosition.js";
|
|
38
38
|
import "../../../shared-utils/three/temp.js";
|
|
39
|
-
|
|
39
|
+
import "../../../shared-utils/dom/resizeObserver.js";
|
|
40
|
+
function Co(o, i, e) {
|
|
40
41
|
var v, b, j, C, A;
|
|
41
42
|
const D = (v = e == null ? void 0 : e.useCache) != null ? v : !0;
|
|
42
43
|
if (!o)
|
|
@@ -50,18 +51,18 @@ function jo(o, i, e) {
|
|
|
50
51
|
const k = {}, d = {}, y = {};
|
|
51
52
|
i.contentTypeConfig && Object.entries(i.contentTypeConfig).forEach(([n, r]) => {
|
|
52
53
|
var O, W;
|
|
53
|
-
const t = n, a = t.split("-"), g = n.startsWith("["),
|
|
54
|
+
const t = n, a = t.split("-"), g = n.startsWith("["), s = g ? a[0].slice(1, -1) : void 0, p = g ? a.slice(1) : a, f = s ? ["PanoramaLike", "ModelLike"].includes(s) ? (O = d[s]) != null ? O : d[s] = {} : (W = y[s]) != null ? W : y[s] = {} : k;
|
|
54
55
|
if (!f[t]) {
|
|
55
|
-
if (
|
|
56
|
-
const [c] =
|
|
56
|
+
if (p.length === 0 && (f[t] = r), p.length === 1) {
|
|
57
|
+
const [c] = p;
|
|
57
58
|
(o.contentType === c || c === "Any") && (f[t] = r);
|
|
58
59
|
}
|
|
59
|
-
if (
|
|
60
|
-
const [c = "Any", u = "Any"] =
|
|
60
|
+
if (p.length === 2) {
|
|
61
|
+
const [c = "Any", u = "Any"] = p;
|
|
61
62
|
c === "Mixin" && o.contentType === u && (f[t] = r), (o.stickType === c || c === "Any") && (o.contentType === u || u === "Any") && (f[t] = r);
|
|
62
63
|
}
|
|
63
|
-
if (
|
|
64
|
-
const [c = "Any", u, w] =
|
|
64
|
+
if (p.length === 3) {
|
|
65
|
+
const [c = "Any", u, w] = p;
|
|
65
66
|
if (u === "Audio" && o.contentType === "Audio") {
|
|
66
67
|
const L = o;
|
|
67
68
|
(L.stickType === c || c === "Any") && L.data.appearance === w && (f[t] = r);
|
|
@@ -82,5 +83,5 @@ function jo(o, i, e) {
|
|
|
82
83
|
return P(T), Object.values(m).forEach((n) => P(n)), T._isMerged = !0, T;
|
|
83
84
|
}
|
|
84
85
|
export {
|
|
85
|
-
|
|
86
|
+
Co as calculateTagConfig
|
|
86
87
|
};
|
|
@@ -31,13 +31,14 @@ import "../shared-utils/Subscribe.js";
|
|
|
31
31
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
32
32
|
import "../shared-utils/five/transformPosition.js";
|
|
33
33
|
import "../shared-utils/three/temp.js";
|
|
34
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
34
35
|
import "../shared-utils/three/core/Sphere.js";
|
|
35
36
|
import "animejs";
|
|
36
37
|
import "../shared-utils/animationFrame/index.js";
|
|
37
38
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
38
39
|
import "./utils/index.js";
|
|
39
40
|
import "../shared-utils/url/absoluteUrl.js";
|
|
40
|
-
class
|
|
41
|
+
class T extends _ {
|
|
41
42
|
constructor(e) {
|
|
42
43
|
super(e);
|
|
43
44
|
s(this, "controllerMap", /* @__PURE__ */ new Map());
|
|
@@ -180,5 +181,5 @@ class Q extends _ {
|
|
|
180
181
|
}
|
|
181
182
|
}
|
|
182
183
|
export {
|
|
183
|
-
|
|
184
|
+
T as PanoVideoPluginController
|
|
184
185
|
};
|
|
@@ -23,8 +23,9 @@ import "../shared-utils/Subscribe.js";
|
|
|
23
23
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
24
24
|
import "../shared-utils/five/transformPosition.js";
|
|
25
25
|
import "../shared-utils/three/temp.js";
|
|
26
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
26
27
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
27
|
-
class
|
|
28
|
+
class ie {
|
|
28
29
|
/** 初始化视频、模型以及相关事件监听。 */
|
|
29
30
|
constructor(e, i) {
|
|
30
31
|
t(this, "video");
|
|
@@ -300,5 +301,5 @@ class ee {
|
|
|
300
301
|
}
|
|
301
302
|
}
|
|
302
303
|
export {
|
|
303
|
-
|
|
304
|
+
ie as VideoMeshController
|
|
304
305
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PanoVideoPluginController as r } from "./Controller.js";
|
|
2
|
-
import { typings as
|
|
2
|
+
import { typings as E } from "./typings/index.js";
|
|
3
3
|
import "./VideoMeshController.js";
|
|
4
4
|
import "./utils/shader.js";
|
|
5
5
|
import "three";
|
|
@@ -19,6 +19,7 @@ import "../shared-utils/Subscribe.js";
|
|
|
19
19
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
20
20
|
import "../shared-utils/five/transformPosition.js";
|
|
21
21
|
import "../shared-utils/three/temp.js";
|
|
22
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
22
23
|
import "../shared-utils/three/core/Sphere.js";
|
|
23
24
|
import "animejs";
|
|
24
25
|
import "../shared-utils/animationFrame/index.js";
|
|
@@ -26,9 +27,9 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
26
27
|
import "./utils/index.js";
|
|
27
28
|
import "../base/BasePlugin.js";
|
|
28
29
|
import "../shared-utils/url/absoluteUrl.js";
|
|
29
|
-
const
|
|
30
|
+
const A = (o) => new r(o);
|
|
30
31
|
export {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
A as PanoVideoPlugin,
|
|
33
|
+
E as PanoVideoPluginType,
|
|
34
|
+
A as default
|
|
34
35
|
};
|
|
@@ -50,6 +50,7 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
50
50
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
51
51
|
import "../shared-utils/five/transformPosition.js";
|
|
52
52
|
import "../shared-utils/three/temp.js";
|
|
53
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
53
54
|
import "../shared-utils/three/core/Sphere.js";
|
|
54
55
|
import "animejs";
|
|
55
56
|
import "../shared-utils/url/absoluteUrl.js";
|
|
@@ -62,7 +63,7 @@ import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
|
|
|
62
63
|
import "../shared-utils/three/Extras/Core/Interpolations.js";
|
|
63
64
|
import "../shared-utils/three/Extras/Core/Interpolations2.js";
|
|
64
65
|
const g = { flowSpeed: 0.6, rotateSpeed: 0 };
|
|
65
|
-
class
|
|
66
|
+
class le extends S {
|
|
66
67
|
constructor(e) {
|
|
67
68
|
super(e);
|
|
68
69
|
// ==================== public properties ====================
|
|
@@ -342,5 +343,5 @@ class me extends S {
|
|
|
342
343
|
}
|
|
343
344
|
}
|
|
344
345
|
export {
|
|
345
|
-
|
|
346
|
+
le as Controller
|
|
346
347
|
};
|
|
@@ -18,6 +18,7 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
18
18
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
19
19
|
import "../shared-utils/five/transformPosition.js";
|
|
20
20
|
import "../shared-utils/three/temp.js";
|
|
21
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
21
22
|
import "../shared-utils/three/core/Sphere.js";
|
|
22
23
|
import "animejs";
|
|
23
24
|
import "../shared-utils/url/absoluteUrl.js";
|
|
@@ -34,8 +35,8 @@ import "../shared-utils/animationFrame/BetterTween.js";
|
|
|
34
35
|
import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
|
|
35
36
|
import "../shared-utils/three/Extras/Core/Interpolations.js";
|
|
36
37
|
import "../shared-utils/three/Extras/Core/Interpolations2.js";
|
|
37
|
-
const
|
|
38
|
+
const M = (r) => new o(r);
|
|
38
39
|
export {
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
M as PipelinePlugin,
|
|
41
|
+
M as default
|
|
41
42
|
};
|
|
@@ -22,6 +22,7 @@ import "../../../shared-utils/Subscribe.js";
|
|
|
22
22
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
23
23
|
import "../../../shared-utils/five/transformPosition.js";
|
|
24
24
|
import "../../../shared-utils/three/temp.js";
|
|
25
|
+
import "../../../shared-utils/dom/resizeObserver.js";
|
|
25
26
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
26
27
|
import "../../../shared-utils/animationFrame/BetterTween.js";
|
|
27
28
|
import "../../../shared-utils/three/Extras/Curves/BezierCurve3.js";
|
|
@@ -46,7 +47,7 @@ const d = (
|
|
|
46
47
|
}
|
|
47
48
|
`
|
|
48
49
|
);
|
|
49
|
-
class
|
|
50
|
+
class K extends h {
|
|
50
51
|
constructor(t) {
|
|
51
52
|
super(t, d);
|
|
52
53
|
/** 初始状态下,当前水管内的水流在整体管道上的位移
|
|
@@ -104,5 +105,5 @@ class J extends h {
|
|
|
104
105
|
}
|
|
105
106
|
}
|
|
106
107
|
export {
|
|
107
|
-
|
|
108
|
+
K as ObjectFlowPipe
|
|
108
109
|
};
|
|
@@ -22,12 +22,13 @@ import "../../../shared-utils/Subscribe.js";
|
|
|
22
22
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
23
23
|
import "../../../shared-utils/five/transformPosition.js";
|
|
24
24
|
import "../../../shared-utils/three/temp.js";
|
|
25
|
+
import "../../../shared-utils/dom/resizeObserver.js";
|
|
25
26
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
26
27
|
import "../../../shared-utils/animationFrame/index.js";
|
|
27
28
|
import "../../../shared-utils/three/Extras/Curves/BezierCurve3.js";
|
|
28
29
|
import "../../../shared-utils/three/Extras/Core/Interpolations.js";
|
|
29
30
|
import "../../../shared-utils/three/Extras/Core/Interpolations2.js";
|
|
30
|
-
class
|
|
31
|
+
class J extends a {
|
|
31
32
|
constructor(i) {
|
|
32
33
|
super(i);
|
|
33
34
|
o(this, "imageCount", 64);
|
|
@@ -50,5 +51,5 @@ class G extends a {
|
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
53
|
export {
|
|
53
|
-
|
|
54
|
+
J as ObjectHighlightPipe
|
|
54
55
|
};
|
|
@@ -47,6 +47,7 @@ import "../../../shared-utils/Subscribe.js";
|
|
|
47
47
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
48
48
|
import "../../../shared-utils/five/transformPosition.js";
|
|
49
49
|
import "../../../shared-utils/three/temp.js";
|
|
50
|
+
import "../../../shared-utils/dom/resizeObserver.js";
|
|
50
51
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
51
52
|
import "../../../shared-utils/animationFrame/index.js";
|
|
52
53
|
import "../../../shared-utils/three/Extras/Core/Interpolations.js";
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -94,6 +94,7 @@ import "../../vendor/three/build/three.module.js";
|
|
|
94
94
|
import "../../shared-utils/positionToVector3.js";
|
|
95
95
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
96
96
|
import "../../shared-utils/three/temp.js";
|
|
97
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
97
98
|
function W(d) {
|
|
98
99
|
const { latitude: r, longitude: t } = d, e = Math.abs(r - Math.PI / 2) > 5 * Math.PI / 180, i = t > 5 * (Math.PI / 180) && t < 355 * (Math.PI / 180);
|
|
99
100
|
return e || i;
|
|
@@ -102,7 +103,7 @@ function G(d) {
|
|
|
102
103
|
const { latitude: r, longitude: t } = d, e = Math.abs(r - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
103
104
|
return e && i;
|
|
104
105
|
}
|
|
105
|
-
class
|
|
106
|
+
class ie extends O {
|
|
106
107
|
constructor(t, e) {
|
|
107
108
|
var a, f;
|
|
108
109
|
super(t);
|
|
@@ -437,5 +438,5 @@ class ee extends O {
|
|
|
437
438
|
}
|
|
438
439
|
}
|
|
439
440
|
export {
|
|
440
|
-
|
|
441
|
+
ie as Controller
|
|
441
442
|
};
|
|
@@ -54,6 +54,7 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
54
54
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
55
55
|
import "../../shared-utils/five/transformPosition.js";
|
|
56
56
|
import "../../shared-utils/three/temp.js";
|
|
57
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
57
58
|
import "../../shared-utils/three/core/Sphere.js";
|
|
58
59
|
import "animejs";
|
|
59
60
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
@@ -66,8 +67,8 @@ import "../../shared-utils/five/changeMode.js";
|
|
|
66
67
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
67
68
|
import "../../shared-utils/isNil.js";
|
|
68
69
|
import "../../shared-utils/five/fiveModelLoad.js";
|
|
69
|
-
const
|
|
70
|
+
const Co = (o, r) => new t(o, r);
|
|
70
71
|
export {
|
|
71
|
-
|
|
72
|
-
|
|
72
|
+
Co as MapviewFloorplanPlugin,
|
|
73
|
+
Co as default
|
|
73
74
|
};
|
|
@@ -93,6 +93,7 @@ import "../../vendor/three/build/three.module.js";
|
|
|
93
93
|
import "../../shared-utils/positionToVector3.js";
|
|
94
94
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
95
95
|
import "../../shared-utils/three/temp.js";
|
|
96
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
96
97
|
function W(d) {
|
|
97
98
|
const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) > 5 * Math.PI / 180, i = t > 5 * (Math.PI / 180) && t < 355 * (Math.PI / 180);
|
|
98
99
|
return e || i;
|
|
@@ -101,7 +102,7 @@ function z(d) {
|
|
|
101
102
|
const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
102
103
|
return e && i;
|
|
103
104
|
}
|
|
104
|
-
class
|
|
105
|
+
class ee extends T {
|
|
105
106
|
constructor(t, e) {
|
|
106
107
|
var a, f, m;
|
|
107
108
|
super(t);
|
|
@@ -432,5 +433,5 @@ class te extends T {
|
|
|
432
433
|
}
|
|
433
434
|
}
|
|
434
435
|
export {
|
|
435
|
-
|
|
436
|
+
ee as Controller
|
|
436
437
|
};
|
|
@@ -55,6 +55,7 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
55
55
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
56
56
|
import "../../shared-utils/five/transformPosition.js";
|
|
57
57
|
import "../../shared-utils/three/temp.js";
|
|
58
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
58
59
|
import "../../shared-utils/three/core/Sphere.js";
|
|
59
60
|
import "animejs";
|
|
60
61
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
@@ -65,8 +66,8 @@ import "../../shared-utils/nearlyEqual.js";
|
|
|
65
66
|
import "../../shared-utils/five/changeMode.js";
|
|
66
67
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
67
68
|
import "../../shared-utils/isNil.js";
|
|
68
|
-
const
|
|
69
|
+
const Co = (o, r) => new t(o, r);
|
|
69
70
|
export {
|
|
70
|
-
|
|
71
|
-
|
|
71
|
+
Co as ModelFloorplanPlugin,
|
|
72
|
+
Co as default
|
|
72
73
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var g = Object.defineProperty, w = Object.defineProperties;
|
|
2
2
|
var v = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var m = Object.getOwnPropertySymbols;
|
|
4
4
|
var A = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var u = (r, e, t) => e in r ? g(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, p = (r, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
7
|
A.call(e, t) && u(r, t, e[t]);
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
8
|
+
if (m)
|
|
9
|
+
for (var t of m(e))
|
|
10
10
|
S.call(e, t) && u(r, t, e[t]);
|
|
11
11
|
return r;
|
|
12
12
|
}, f = (r, e) => w(r, v(e));
|
|
@@ -31,7 +31,7 @@ import _ from "./Components/Main.js";
|
|
|
31
31
|
import { equal as y } from "../../shared-utils/equal.js";
|
|
32
32
|
import { CAMERA_IMAGE as D } from "../Assets/camera.js";
|
|
33
33
|
import { Controller as O } from "../../base/BasePluginWithData.js";
|
|
34
|
-
import { formatData as
|
|
34
|
+
import { formatData as b, formatExtraObjects as x } from "../utils/formatData.js";
|
|
35
35
|
import "../../vendor/svelte/internal/index.js";
|
|
36
36
|
import "./Components/Camera.js";
|
|
37
37
|
import "../../shared-utils/throttle.js";
|
|
@@ -64,12 +64,13 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
64
64
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
65
65
|
import "../../shared-utils/five/transformPosition.js";
|
|
66
66
|
import "../../shared-utils/three/temp.js";
|
|
67
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
67
68
|
import "../../shared-utils/three/core/Sphere.js";
|
|
68
69
|
import "animejs";
|
|
69
70
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
70
71
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
71
72
|
import "../Assets/floorplanExtraObject.js";
|
|
72
|
-
class
|
|
73
|
+
class gt extends O {
|
|
73
74
|
constructor(t, i) {
|
|
74
75
|
super(t);
|
|
75
76
|
// =============== public properties =================
|
|
@@ -114,7 +115,7 @@ class mt extends O {
|
|
|
114
115
|
return Object.prototype.hasOwnProperty.apply(l, ["version"]);
|
|
115
116
|
}
|
|
116
117
|
const h = JSON.parse(JSON.stringify(t)), d = a(h) ? h.data : h, n = this.data;
|
|
117
|
-
this.data = yield
|
|
118
|
+
this.data = yield b(d), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, n), i && this.updateState(i, s), this.render();
|
|
118
119
|
});
|
|
119
120
|
}
|
|
120
121
|
show() {
|
|
@@ -169,7 +170,7 @@ class mt extends O {
|
|
|
169
170
|
}
|
|
170
171
|
formatData(t) {
|
|
171
172
|
return c(this, null, function* () {
|
|
172
|
-
return yield
|
|
173
|
+
return yield b(t.data);
|
|
173
174
|
});
|
|
174
175
|
}
|
|
175
176
|
_enable(t) {
|
|
@@ -212,5 +213,5 @@ class mt extends O {
|
|
|
212
213
|
}
|
|
213
214
|
}
|
|
214
215
|
export {
|
|
215
|
-
|
|
216
|
+
gt as Controller
|
|
216
217
|
};
|
|
@@ -35,14 +35,15 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
35
35
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
36
36
|
import "../../shared-utils/five/transformPosition.js";
|
|
37
37
|
import "../../shared-utils/three/temp.js";
|
|
38
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
38
39
|
import "../../shared-utils/three/core/Sphere.js";
|
|
39
40
|
import "animejs";
|
|
40
41
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
41
42
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
42
43
|
import "../utils/formatData.js";
|
|
43
44
|
import "../Assets/floorplanExtraObject.js";
|
|
44
|
-
const
|
|
45
|
+
const V = (o, r) => new t(o, r);
|
|
45
46
|
export {
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
V as PanoFloorplanRadarPlugin,
|
|
48
|
+
V as default
|
|
48
49
|
};
|