@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
|
@@ -24,6 +24,7 @@ export declare class LightTag {
|
|
|
24
24
|
private disposer;
|
|
25
25
|
private config;
|
|
26
26
|
private fiveUtil;
|
|
27
|
+
private disposers;
|
|
27
28
|
constructor(five: Five, position?: AnyPosition, config?: {
|
|
28
29
|
wrapper?: HTMLElement;
|
|
29
30
|
positionsForRotate?: AnyPosition[];
|
|
@@ -38,6 +39,7 @@ export declare class LightTag {
|
|
|
38
39
|
updateScreenPosition(): void;
|
|
39
40
|
private onCameraUpdate;
|
|
40
41
|
private onFiveEveryReady;
|
|
42
|
+
private addResizeListener;
|
|
41
43
|
}
|
|
42
44
|
export declare function tag(five: Five, position: AnyPosition, config?: {
|
|
43
45
|
wrapper?: HTMLElement;
|
|
@@ -52,6 +52,7 @@ import "../vendor/three/build/three.module.js";
|
|
|
52
52
|
import "../shared-utils/positionToVector3.js";
|
|
53
53
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
54
54
|
import "../shared-utils/three/temp.js";
|
|
55
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
55
56
|
import "../shared-utils/isTruelyObject.js";
|
|
56
57
|
import "../shared-utils/three/core/Object3D.js";
|
|
57
58
|
import "../shared-utils/three/core/LineSegments.js";
|
|
@@ -61,7 +62,6 @@ import "../components/AreaLabel/LabelItem.js";
|
|
|
61
62
|
import "../vendor/svelte/internal/index.js";
|
|
62
63
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
63
64
|
import "../shared-utils/math/planimetry.js";
|
|
64
|
-
import "../shared-utils/dom/resizeObserver.js";
|
|
65
65
|
class ht extends k {
|
|
66
66
|
/** AreaMakerPlugin
|
|
67
67
|
* @param `five` `<Five>` Five 实例
|
|
@@ -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";
|
|
@@ -33,7 +34,6 @@ import "../components/AreaLabel/LabelItem.js";
|
|
|
33
34
|
import "../vendor/svelte/internal/index.js";
|
|
34
35
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
35
36
|
import "../shared-utils/math/planimetry.js";
|
|
36
|
-
import "../shared-utils/dom/resizeObserver.js";
|
|
37
37
|
const L = (r, o) => new t(r, o);
|
|
38
38
|
export {
|
|
39
39
|
L as AreaMakerPlugin
|
|
@@ -2,15 +2,15 @@ var R = Object.defineProperty, F = Object.defineProperties;
|
|
|
2
2
|
var C = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var f = Object.getOwnPropertySymbols;
|
|
4
4
|
var O = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var p = (
|
|
5
|
+
var p = (o, i, e) => i in o ? R(o, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[i] = e, a = (o, i) => {
|
|
6
6
|
for (var e in i || (i = {}))
|
|
7
|
-
O.call(i, e) && p(
|
|
7
|
+
O.call(i, e) && p(o, e, i[e]);
|
|
8
8
|
if (f)
|
|
9
9
|
for (var e of f(i))
|
|
10
|
-
S.call(i, e) && p(
|
|
11
|
-
return
|
|
12
|
-
}, l = (
|
|
13
|
-
var
|
|
10
|
+
S.call(i, e) && p(o, e, i[e]);
|
|
11
|
+
return o;
|
|
12
|
+
}, l = (o, i) => F(o, C(i));
|
|
13
|
+
var s = (o, i, e) => (p(o, typeof i != "symbol" ? i + "" : i, e), e);
|
|
14
14
|
import { CSS3DRender as j } from "./utils/three/CSS3DRender.js";
|
|
15
15
|
import x from "./utils/generateBehindFiveElement.js";
|
|
16
16
|
import "three";
|
|
@@ -48,16 +48,17 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
48
48
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
49
49
|
import "../shared-utils/five/transformPosition.js";
|
|
50
50
|
import "../shared-utils/three/temp.js";
|
|
51
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
51
52
|
const b = "v2.0.1", E = `CSS3DRenderPlugin@${b}`;
|
|
52
|
-
class
|
|
53
|
+
class ue extends j {
|
|
53
54
|
constructor(e) {
|
|
54
55
|
super();
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
56
|
+
s(this, "five");
|
|
57
|
+
s(this, "behindFiveContainer");
|
|
58
|
+
s(this, "frontFiveContainer");
|
|
59
|
+
s(this, "VERSION", b);
|
|
60
|
+
s(this, "staticPrefix", "//vr-image-4.realsee-cdn.cn");
|
|
61
|
+
s(this, "created3DElementResults", []);
|
|
61
62
|
/**
|
|
62
63
|
* @description 根据传入的四个点位创建一个 3d dom容器,可以通过ReactDom.render()的方式将react组件放到容器中
|
|
63
64
|
* @param { Vector3Position[] } points 矩形四个点坐标
|
|
@@ -93,10 +94,10 @@ class ce extends j {
|
|
|
93
94
|
* } | void
|
|
94
95
|
* ```
|
|
95
96
|
*/
|
|
96
|
-
|
|
97
|
+
s(this, "create3DDomContainer", (e, t) => {
|
|
97
98
|
if (this.state.disposed)
|
|
98
99
|
return;
|
|
99
|
-
const
|
|
100
|
+
const n = (() => {
|
|
100
101
|
var m;
|
|
101
102
|
(t == null ? void 0 : t.dpr) !== void 0 && console.warn(`${E}: please use "config.devicePixelRatio" replace "config.dpr"`);
|
|
102
103
|
const d = {
|
|
@@ -107,9 +108,9 @@ class ce extends j {
|
|
|
107
108
|
wrapperStyle: {}
|
|
108
109
|
};
|
|
109
110
|
return Object.assign(d, t, (t == null ? void 0 : t.mode) === "behind" ? { scene: this.five.scene } : void 0);
|
|
110
|
-
})(), { autoRender: h } =
|
|
111
|
-
|
|
112
|
-
const r = this.create3DElement(this.five.camera, e, l(a({},
|
|
111
|
+
})(), { autoRender: h } = n;
|
|
112
|
+
n.mode === "behind" && n.behindFiveContainer && (this.behindFiveContainer = n.behindFiveContainer);
|
|
113
|
+
const r = this.create3DElement(this.five.camera, e, l(a({}, n), { autoRender: !1 }));
|
|
113
114
|
if (!r)
|
|
114
115
|
return;
|
|
115
116
|
const D = r.dispose;
|
|
@@ -162,5 +163,5 @@ class ce extends j {
|
|
|
162
163
|
}
|
|
163
164
|
export {
|
|
164
165
|
E as PLUGIN_NAME,
|
|
165
|
-
|
|
166
|
+
ue as default
|
|
166
167
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import o from "./Controller.js";
|
|
2
|
-
import { CSS3DRender as
|
|
2
|
+
import { CSS3DRender as O } from "./utils/three/CSS3DRender.js";
|
|
3
3
|
import "./utils/generateBehindFiveElement.js";
|
|
4
4
|
import "three";
|
|
5
5
|
import "hammerjs";
|
|
@@ -18,6 +18,7 @@ import "../shared-utils/Subscribe.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";
|
|
@@ -36,9 +37,9 @@ import "./utils/three/CSS3DScene.js";
|
|
|
36
37
|
import "./utils/getAllCSS3DObject.js";
|
|
37
38
|
import "../shared-utils/util.js";
|
|
38
39
|
import "./utils/three/CSS3DGroup.js";
|
|
39
|
-
const
|
|
40
|
+
const L = (r) => new o(r);
|
|
40
41
|
export {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
O as CSS3DRender,
|
|
43
|
+
L as CSS3DRenderPlugin,
|
|
44
|
+
L as default
|
|
44
45
|
};
|
|
@@ -26,8 +26,9 @@ 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
|
const $ = 1, W = `CSS3DObjectPlus@${$}`, k = 216e-5, z = 3e-3;
|
|
30
|
-
class
|
|
31
|
+
class Pt extends N {
|
|
31
32
|
constructor(t) {
|
|
32
33
|
var x, b, w, g, V;
|
|
33
34
|
if (O(t.cornerPoints) && O(t.width))
|
|
@@ -133,7 +134,7 @@ class ut extends N {
|
|
|
133
134
|
}
|
|
134
135
|
}
|
|
135
136
|
export {
|
|
136
|
-
|
|
137
|
+
Pt as CSS3DObjectPlus,
|
|
137
138
|
z as DefaultRatio,
|
|
138
139
|
k as MinRatio
|
|
139
140
|
};
|
|
@@ -18,20 +18,20 @@ var l = (o, e, t) => new Promise((s, r) => {
|
|
|
18
18
|
} catch (S) {
|
|
19
19
|
r(S);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, u = (c) => {
|
|
22
22
|
try {
|
|
23
23
|
f(t.throw(c));
|
|
24
24
|
} catch (S) {
|
|
25
25
|
r(S);
|
|
26
26
|
}
|
|
27
|
-
}, f = (c) => c.done ? s(c.value) : Promise.resolve(c.value).then(d,
|
|
27
|
+
}, f = (c) => c.done ? s(c.value) : Promise.resolve(c.value).then(d, u);
|
|
28
28
|
f((t = t.apply(o, e)).next());
|
|
29
29
|
});
|
|
30
30
|
import { anyPositionToVector3 as q } from "../../../shared-utils/positionToVector3.js";
|
|
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 xe } 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";
|
|
@@ -55,13 +55,14 @@ 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/isNil.js";
|
|
61
62
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
62
63
|
import "../getAllCSS3DObject.js";
|
|
63
64
|
import "../../../shared-utils/util.js";
|
|
64
|
-
const J = 3, G = "CSS3DRenderer", b = `${G}@${J}`,
|
|
65
|
+
const J = 3, G = "CSS3DRenderer", b = `${G}@${J}`, p = () => {
|
|
65
66
|
console.error(`${b} is disposed`);
|
|
66
67
|
}, n = {
|
|
67
68
|
css3DObjects: [],
|
|
@@ -130,7 +131,7 @@ class y {
|
|
|
130
131
|
*/
|
|
131
132
|
i(this, "create3DElement", (e, t, s) => {
|
|
132
133
|
if (this.state.disposed)
|
|
133
|
-
return
|
|
134
|
+
return p();
|
|
134
135
|
const r = (() => {
|
|
135
136
|
const h = {
|
|
136
137
|
ratio: 216e-5,
|
|
@@ -145,9 +146,9 @@ class y {
|
|
|
145
146
|
})(), d = t.map(q);
|
|
146
147
|
if ((d == null ? void 0 : d.length) < 4)
|
|
147
148
|
return console.error(`${b}: requires 4 point but params may have fewer`);
|
|
148
|
-
const { ratio:
|
|
149
|
+
const { ratio: u, devicePixelRatio: f, mode: c, autoRender: S, container: O, pointerEvents: F, wrapperStyle: I } = r;
|
|
149
150
|
let m = !1;
|
|
150
|
-
const a = this.createObject(d, { ratio:
|
|
151
|
+
const a = this.createObject(d, { ratio: u, dpr: f, container: O, mode: c, pointerEvents: F, wrapperStyle: I });
|
|
151
152
|
n.css3DObjects.push(a), r.scene && this.setScene(r.scene);
|
|
152
153
|
const N = () => {
|
|
153
154
|
if (m)
|
|
@@ -212,7 +213,7 @@ class y {
|
|
|
212
213
|
}
|
|
213
214
|
setState(e, t = { userAction: !0 }) {
|
|
214
215
|
if (this.state.disposed)
|
|
215
|
-
return
|
|
216
|
+
return p();
|
|
216
217
|
const s = g({}, this.state);
|
|
217
218
|
this.state = Object.assign(this.state, e), s.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), s.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), s.disposed !== this.state.disposed && this.handleDispose(), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: t.userAction });
|
|
218
219
|
}
|
|
@@ -222,25 +223,25 @@ class y {
|
|
|
222
223
|
show() {
|
|
223
224
|
return l(this, arguments, function* ({ userAction: e } = { userAction: !0 }) {
|
|
224
225
|
if (this.state.disposed)
|
|
225
|
-
return
|
|
226
|
+
return p();
|
|
226
227
|
this.setState({ visible: !0 }, { userAction: e }), this.hooks.emit("show", { userAction: e });
|
|
227
228
|
});
|
|
228
229
|
}
|
|
229
230
|
hide() {
|
|
230
231
|
return l(this, arguments, function* ({ userAction: e } = { userAction: !0 }) {
|
|
231
232
|
if (this.state.disposed)
|
|
232
|
-
return
|
|
233
|
+
return p();
|
|
233
234
|
this.setState({ visible: !1 }, { userAction: e }), this.hooks.emit("hide", { userAction: e });
|
|
234
235
|
});
|
|
235
236
|
}
|
|
236
237
|
enable({ userAction: e } = { userAction: !0 }) {
|
|
237
238
|
if (this.state.disposed)
|
|
238
|
-
return
|
|
239
|
+
return p();
|
|
239
240
|
this.setState({ enabled: !0 }, { userAction: e }), this.hooks.emit("enable", { userAction: e });
|
|
240
241
|
}
|
|
241
242
|
disable({ userAction: e } = { userAction: !0 }) {
|
|
242
243
|
if (this.state.disposed)
|
|
243
|
-
return
|
|
244
|
+
return p();
|
|
244
245
|
this.setState({ enabled: !1 }, { userAction: e }), this.hooks.emit("disable", { userAction: e });
|
|
245
246
|
}
|
|
246
247
|
getFrontCSS3DScene({ createSceneIfNotExists: e = !1 } = {}) {
|
|
@@ -265,8 +266,8 @@ class y {
|
|
|
265
266
|
console.error(`${b}: scene is required when mode is behind`);
|
|
266
267
|
return;
|
|
267
268
|
}
|
|
268
|
-
const
|
|
269
|
-
n.behindModeStore.css3DScene =
|
|
269
|
+
const u = new T(d);
|
|
270
|
+
n.behindModeStore.css3DScene = u, n.behindModeStore.scene = d;
|
|
270
271
|
}
|
|
271
272
|
return n.behindModeStore.css3DScene;
|
|
272
273
|
}
|
|
@@ -329,7 +330,7 @@ class y {
|
|
|
329
330
|
i(y, "setFrontModeContainer", K), i(y, "setBehindModeContainer", Q);
|
|
330
331
|
export {
|
|
331
332
|
y as CSS3DRender,
|
|
332
|
-
|
|
333
|
+
xe as MinRatio,
|
|
333
334
|
b as PLUGIN,
|
|
334
335
|
n as globalStore
|
|
335
336
|
};
|
|
@@ -46,13 +46,14 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
46
46
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
47
47
|
import "../shared-utils/five/transformPosition.js";
|
|
48
48
|
import "../shared-utils/three/temp.js";
|
|
49
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
49
50
|
import "../shared-utils/three/core/Sphere.js";
|
|
50
51
|
import "animejs";
|
|
51
52
|
import "../shared-utils/url/absoluteUrl.js";
|
|
52
53
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
53
54
|
import "../shared-utils/isTruelyObject.js";
|
|
54
|
-
const b = "CruisePlugin", l = `${b}`,
|
|
55
|
-
class
|
|
55
|
+
const b = "CruisePlugin", l = `${b}`, T = (a) => `${l}--${a}`;
|
|
56
|
+
class X extends y {
|
|
56
57
|
constructor(e, t) {
|
|
57
58
|
super(e, t);
|
|
58
59
|
d(this, "state", {
|
|
@@ -227,6 +228,6 @@ class T extends y {
|
|
|
227
228
|
}
|
|
228
229
|
}
|
|
229
230
|
export {
|
|
230
|
-
|
|
231
|
-
|
|
231
|
+
X as default,
|
|
232
|
+
T as pluginFlag
|
|
232
233
|
};
|
|
@@ -56,6 +56,7 @@ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
|
56
56
|
import "../vendor/three/build/three.module.js";
|
|
57
57
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
58
58
|
import "../shared-utils/three/temp.js";
|
|
59
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
59
60
|
import "../shared-utils/vectorToCoordinate.js";
|
|
60
61
|
import "../shared-utils/formatRad.js";
|
|
61
62
|
import "../GuideLinePlugin/Controller.js";
|
|
@@ -85,7 +86,6 @@ import "../PanoTagPlugin/utils/debounce.js";
|
|
|
85
86
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
86
87
|
import "../PanoTagPlugin/utils/tag/format.js";
|
|
87
88
|
import "../shared-utils/audio.js";
|
|
88
|
-
import "../shared-utils/dom/resizeObserver.js";
|
|
89
89
|
import "../PanoTagPlugin/controller/TagRender.js";
|
|
90
90
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
91
91
|
import "../vendor/svelte/internal/index.js";
|
|
@@ -22,6 +22,7 @@ import "../shared-utils/Utils/BaseUtil.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 "../shared-utils/three/core/Sphere.js";
|
|
26
27
|
import "animejs";
|
|
27
28
|
import "../shared-utils/url/absoluteUrl.js";
|
|
@@ -54,7 +55,6 @@ import "../PanoTagPlugin/utils/debounce.js";
|
|
|
54
55
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
55
56
|
import "../PanoTagPlugin/utils/tag/format.js";
|
|
56
57
|
import "../shared-utils/audio.js";
|
|
57
|
-
import "../shared-utils/dom/resizeObserver.js";
|
|
58
58
|
import "../PanoTagPlugin/controller/TagRender.js";
|
|
59
59
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
60
60
|
import "../vendor/svelte/internal/index.js";
|
|
@@ -52,8 +52,9 @@ import "../vendor/three/build/three.module.js";
|
|
|
52
52
|
import "../shared-utils/positionToVector3.js";
|
|
53
53
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
54
54
|
import "../shared-utils/three/temp.js";
|
|
55
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
55
56
|
import "../shared-utils/isTruelyObject.js";
|
|
56
|
-
class
|
|
57
|
+
class N extends M {
|
|
57
58
|
constructor(e, i) {
|
|
58
59
|
super(e);
|
|
59
60
|
// ==================== public properties ====================
|
|
@@ -284,5 +285,5 @@ class K extends M {
|
|
|
284
285
|
}
|
|
285
286
|
}
|
|
286
287
|
export {
|
|
287
|
-
|
|
288
|
+
N as CurrentPanoImagePluginController
|
|
288
289
|
};
|
|
@@ -17,6 +17,7 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
17
17
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
18
18
|
import "../shared-utils/five/transformPosition.js";
|
|
19
19
|
import "../shared-utils/three/temp.js";
|
|
20
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
20
21
|
import "../shared-utils/three/core/Sphere.js";
|
|
21
22
|
import "animejs";
|
|
22
23
|
import "../shared-utils/url/absoluteUrl.js";
|
|
@@ -26,8 +27,8 @@ import "../shared-utils/animationFrame/index.js";
|
|
|
26
27
|
import "../shared-utils/equal.js";
|
|
27
28
|
import "../shared-utils/isTruelyObject.js";
|
|
28
29
|
import "../shared-utils/three/loadTexture.js";
|
|
29
|
-
const
|
|
30
|
+
const E = (r, o) => new t(r, o);
|
|
30
31
|
export {
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
E as CurrentPanoImagePlugin,
|
|
33
|
+
E as default
|
|
33
34
|
};
|
|
@@ -32,6 +32,7 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
32
32
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
33
33
|
import "../shared-utils/five/transformPosition.js";
|
|
34
34
|
import "../shared-utils/three/temp.js";
|
|
35
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
35
36
|
import "../shared-utils/three/core/Sphere.js";
|
|
36
37
|
import "../shared-utils/three/blink.js";
|
|
37
38
|
import "animejs";
|
|
@@ -48,7 +49,6 @@ import "../PanoTagPlugin/utils/debounce.js";
|
|
|
48
49
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
49
50
|
import "../PanoTagPlugin/utils/tag/format.js";
|
|
50
51
|
import "../shared-utils/audio.js";
|
|
51
|
-
import "../shared-utils/dom/resizeObserver.js";
|
|
52
52
|
import "../PanoTagPlugin/controller/TagRender.js";
|
|
53
53
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
54
54
|
import "../vendor/svelte/internal/index.js";
|
|
@@ -36,6 +36,7 @@ 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
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
39
40
|
import "animejs";
|
|
40
41
|
import "../shared-utils/util.js";
|
|
41
42
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -45,7 +46,6 @@ import "../PanoTagPlugin/utils/debounce.js";
|
|
|
45
46
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
46
47
|
import "../PanoTagPlugin/utils/tag/format.js";
|
|
47
48
|
import "../shared-utils/audio.js";
|
|
48
|
-
import "../shared-utils/dom/resizeObserver.js";
|
|
49
49
|
import "../PanoTagPlugin/controller/TagRender.js";
|
|
50
50
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
51
51
|
import "../vendor/svelte/internal/index.js";
|
|
@@ -20,6 +20,7 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
20
20
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
21
21
|
import "../shared-utils/five/transformPosition.js";
|
|
22
22
|
import "../shared-utils/three/temp.js";
|
|
23
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
23
24
|
import "../shared-utils/three/core/Sphere.js";
|
|
24
25
|
import "animejs";
|
|
25
26
|
import "../shared-utils/url/absoluteUrl.js";
|
|
@@ -61,7 +62,6 @@ import "../PanoTagPlugin/utils/debounce.js";
|
|
|
61
62
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
62
63
|
import "../PanoTagPlugin/utils/tag/format.js";
|
|
63
64
|
import "../shared-utils/audio.js";
|
|
64
|
-
import "../shared-utils/dom/resizeObserver.js";
|
|
65
65
|
import "../PanoTagPlugin/controller/TagRender.js";
|
|
66
66
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
67
67
|
import "../vendor/svelte/internal/index.js";
|
|
@@ -81,6 +81,7 @@ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
|
81
81
|
import "../vendor/three/build/three.module.js";
|
|
82
82
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
83
83
|
import "../shared-utils/three/temp.js";
|
|
84
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
84
85
|
import "./utils/Text.js";
|
|
85
86
|
import "../vendor/svelte/internal/index.js";
|
|
86
87
|
import "../components/AreaLabel/LabelItem.js";
|
|
@@ -91,7 +92,7 @@ import "../shared-utils/five/FiveDomEvents.js";
|
|
|
91
92
|
import "../shared-utils/three/getObjectVisible.js";
|
|
92
93
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
93
94
|
import "../shared-utils/isTouchDevice.js";
|
|
94
|
-
class
|
|
95
|
+
class at extends z {
|
|
95
96
|
constructor(e, t) {
|
|
96
97
|
var r, p;
|
|
97
98
|
super(e);
|
|
@@ -252,5 +253,5 @@ class nt extends z {
|
|
|
252
253
|
}
|
|
253
254
|
}
|
|
254
255
|
export {
|
|
255
|
-
|
|
256
|
+
at as Controller
|
|
256
257
|
};
|
|
@@ -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";
|
|
@@ -64,7 +65,7 @@ import "../components/AreaLabel/LabelItem.js";
|
|
|
64
65
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
65
66
|
import "./item/prismItem.js";
|
|
66
67
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
67
|
-
const
|
|
68
|
+
const so = (...o) => new r(...o);
|
|
68
69
|
export {
|
|
69
|
-
|
|
70
|
+
so as ModelMakerPlugin
|
|
70
71
|
};
|
|
@@ -15,13 +15,14 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
15
15
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
16
16
|
import "../../shared-utils/five/transformPosition.js";
|
|
17
17
|
import "../../shared-utils/three/temp.js";
|
|
18
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
18
19
|
import "../../shared-utils/three/core/Sphere.js";
|
|
19
20
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
20
21
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
21
22
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
22
23
|
import "../../shared-utils/three/core/Raycaster.js";
|
|
23
24
|
import "../../shared-utils/isTouchDevice.js";
|
|
24
|
-
class
|
|
25
|
+
class S extends p {
|
|
25
26
|
constructor(t) {
|
|
26
27
|
var s, r;
|
|
27
28
|
super();
|
|
@@ -64,5 +65,5 @@ class N extends p {
|
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
67
|
export {
|
|
67
|
-
|
|
68
|
+
S as ModelMakerBaseItem
|
|
68
69
|
};
|
|
@@ -12,6 +12,7 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
12
12
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
13
13
|
import "../../shared-utils/five/transformPosition.js";
|
|
14
14
|
import "../../shared-utils/three/temp.js";
|
|
15
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
15
16
|
import "../../shared-utils/three/boundingBox.js";
|
|
16
17
|
import "../../shared-utils/three/core/Sphere.js";
|
|
17
18
|
import "../utils/getFiveDomEvent.js";
|
|
@@ -20,11 +21,11 @@ import "../../shared-utils/three/getObjectVisible.js";
|
|
|
20
21
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
21
22
|
import "../../shared-utils/three/core/Raycaster.js";
|
|
22
23
|
import "../../shared-utils/isTouchDevice.js";
|
|
23
|
-
class
|
|
24
|
+
class q extends r {
|
|
24
25
|
constructor(...o) {
|
|
25
26
|
super(...o);
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
export {
|
|
29
|
-
|
|
30
|
+
q as ModelMakerBoxItem
|
|
30
31
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var r = Object.defineProperty;
|
|
2
|
-
var s = (t,
|
|
3
|
-
var o = (t,
|
|
4
|
-
import { ModelMakerBaseItem as
|
|
2
|
+
var s = (t, i, e) => i in t ? r(t, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[i] = e;
|
|
3
|
+
var o = (t, i, e) => (s(t, typeof i != "symbol" ? i + "" : i, e), e);
|
|
4
|
+
import { ModelMakerBaseItem as p } from "./baseItem.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "../../shared-utils/three/addIfNotExists.js";
|
|
7
7
|
import "../../shared-utils/Subscribe.js";
|
|
@@ -14,6 +14,7 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
14
14
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
15
15
|
import "../../shared-utils/five/transformPosition.js";
|
|
16
16
|
import "../../shared-utils/three/temp.js";
|
|
17
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
17
18
|
import "../../shared-utils/three/boundingBox.js";
|
|
18
19
|
import "../../shared-utils/three/core/Sphere.js";
|
|
19
20
|
import "../utils/getFiveDomEvent.js";
|
|
@@ -22,9 +23,9 @@ import "../../shared-utils/three/getObjectVisible.js";
|
|
|
22
23
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
23
24
|
import "../../shared-utils/three/core/Raycaster.js";
|
|
24
25
|
import "../../shared-utils/isTouchDevice.js";
|
|
25
|
-
class
|
|
26
|
-
constructor(...
|
|
27
|
-
super(...
|
|
26
|
+
class R extends p {
|
|
27
|
+
constructor(...e) {
|
|
28
|
+
super(...e);
|
|
28
29
|
o(this, "hideTag", () => {
|
|
29
30
|
this.tag.hide();
|
|
30
31
|
});
|
|
@@ -44,5 +45,5 @@ class P extends h {
|
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
47
|
export {
|
|
47
|
-
|
|
48
|
+
R as ModelMakerPolygonItem
|
|
48
49
|
};
|
|
@@ -25,18 +25,19 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
25
25
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
26
26
|
import "../../shared-utils/five/transformPosition.js";
|
|
27
27
|
import "../../shared-utils/three/temp.js";
|
|
28
|
+
import "../../shared-utils/dom/resizeObserver.js";
|
|
28
29
|
import "../utils/getFiveDomEvent.js";
|
|
29
30
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
30
31
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
31
32
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
32
33
|
import "../../shared-utils/three/core/Raycaster.js";
|
|
33
34
|
import "../../shared-utils/isTouchDevice.js";
|
|
34
|
-
class
|
|
35
|
+
class J extends f {
|
|
35
36
|
constructor(...o) {
|
|
36
37
|
const r = o[0], m = M(r.model), a = new u.Vector3().lerpVectors(n(m, 0), n(m, 5), 0.5);
|
|
37
38
|
super(s(e({}, r), { position: a })), this.enable();
|
|
38
39
|
}
|
|
39
40
|
}
|
|
40
41
|
export {
|
|
41
|
-
|
|
42
|
+
J as ModelMakerPrismItem
|
|
42
43
|
};
|
|
@@ -45,6 +45,7 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
45
45
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
46
46
|
import "../shared-utils/five/transformPosition.js";
|
|
47
47
|
import "../shared-utils/three/temp.js";
|
|
48
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
48
49
|
import "../shared-utils/three/core/Sphere.js";
|
|
49
50
|
import "animejs";
|
|
50
51
|
import "../shared-utils/isNil.js";
|
|
@@ -56,7 +57,7 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
56
57
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
57
58
|
import "../shared-utils/url/absoluteUrl.js";
|
|
58
59
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
59
|
-
const
|
|
60
|
+
const Me = (s, { videoElement: g }) => {
|
|
60
61
|
const e = {
|
|
61
62
|
videoMeshes: [],
|
|
62
63
|
videoTextureEnabled: !1,
|
|
@@ -199,6 +200,6 @@ const Ee = (s, { videoElement: g }) => {
|
|
|
199
200
|
}), { enable: h, disable: m, load: L, dispose: V, state: e, css3DRenderPlugin: f };
|
|
200
201
|
};
|
|
201
202
|
export {
|
|
202
|
-
|
|
203
|
-
|
|
203
|
+
Me as ModelTVVideoPlugin,
|
|
204
|
+
Me as default
|
|
204
205
|
};
|