@realsee/dnalogel 3.45.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 +6 -0
- package/dist/Sculpt/Meshes/Line.d.ts +6 -1
- package/dist/Sculpt/utils/removeAllTag.d.ts +2 -0
- package/dist/index.cjs.js +53 -53
- package/dist/index.js +29600 -29557
- package/dist/index.umd.js +49 -49
- package/dist/shared-utils/tag.d.ts +6 -3
- package/libs/AreaMakerPlugin/Controller.js +151 -78
- package/libs/AreaMakerPlugin/index.js +77 -4
- package/libs/AreaMakerPlugin/utils/Item.js +191 -111
- package/libs/CSS3DRenderPlugin/Controller.js +90 -29
- package/libs/CSS3DRenderPlugin/index.js +76 -15
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +133 -58
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +182 -116
- package/libs/CruisePlugin/BaseController.js +122 -49
- package/libs/CruisePlugin/Move.js +74 -21
- package/libs/CruisePlugin/Work.js +99 -46
- package/libs/CruisePlugin/index.js +80 -27
- package/libs/CurrentPanoImagePlugin/Controller.js +177 -104
- package/libs/CurrentPanoImagePlugin/index.js +77 -4
- package/libs/GuideLinePlugin/Controller.js +79 -26
- package/libs/GuideLinePlugin/GuideLineItem.js +83 -30
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +82 -29
- package/libs/GuideLinePlugin/index.js +80 -27
- package/libs/ModelMakerPlugin/Controller.js +140 -82
- package/libs/ModelMakerPlugin/index.js +76 -18
- package/libs/ModelTVVideoPlugin/Plugin.js +118 -57
- package/libs/ModelTVVideoPlugin/index.js +69 -8
- package/libs/Object3DHelperPlugin/Controller.js +67 -43
- package/libs/Object3DHelperPlugin/index.js +36 -13
- package/libs/PanoCompassPlugin/Controller.js +98 -42
- package/libs/PanoCompassPlugin/index.js +72 -16
- package/libs/PanoDoorLabelPlugin/BaseController.js +99 -26
- package/libs/PanoDoorLabelPlugin/Controller.js +188 -115
- package/libs/PanoDoorLabelPlugin/index.js +77 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +141 -88
- package/libs/PanoMeasurePlugin/Components/Controller1.js +179 -126
- package/libs/PanoMeasurePlugin/Controller/EditController.js +125 -72
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +168 -92
- package/libs/PanoMeasurePlugin/Controller/index.js +110 -64
- package/libs/PanoMeasurePlugin/Model/area.js +115 -38
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +79 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +98 -45
- package/libs/PanoMeasurePlugin/index.js +77 -31
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +99 -20
- package/libs/PanoSpatialTagPlugin/Plugin.js +211 -150
- package/libs/PanoSpatialTagPlugin/index.js +67 -6
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +149 -68
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +296 -216
- package/libs/PanoTagPlugin/Components/Tag/index.js +258 -187
- package/libs/PanoTagPlugin/Components/TagContainer.js +158 -87
- package/libs/PanoTagPlugin/Components/TagItem.js +145 -74
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +133 -62
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +110 -39
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +106 -35
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +114 -43
- package/libs/PanoTagPlugin/controller/TagRender.js +133 -80
- package/libs/PanoTagPlugin/controller/TagUtil.js +137 -84
- package/libs/PanoTagPlugin/controller/index.js +114 -61
- package/libs/PanoTagPlugin/index.js +90 -37
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +122 -41
- package/libs/PanoVideoPlugin/Controller.js +138 -65
- package/libs/PanoVideoPlugin/VideoMeshController.js +150 -69
- package/libs/PanoVideoPlugin/index.js +83 -10
- package/libs/PipelinePlugin/Controller.js +200 -128
- package/libs/PipelinePlugin/index.js +77 -5
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +103 -22
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +96 -15
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +137 -56
- package/libs/Sculpt/Meshes/Box.js +6 -5
- package/libs/Sculpt/Meshes/Cylinder.js +7 -6
- package/libs/Sculpt/Meshes/Line.d.ts +6 -1
- package/libs/Sculpt/Meshes/Line.js +80 -57
- package/libs/Sculpt/Meshes/Point.js +6 -5
- package/libs/Sculpt/Meshes/Polyline.js +5 -4
- package/libs/Sculpt/Meshes/Rectangle.js +3 -2
- package/libs/Sculpt/Objects/Base/index.js +20 -17
- package/libs/Sculpt/Objects/Line/Editor.js +11 -10
- package/libs/Sculpt/utils/removeAllTag.d.ts +2 -0
- package/libs/Sculpt/utils/removeAllTag.js +10 -0
- package/libs/Sculpt/utils/three/ColoredMesh.js +14 -13
- package/libs/base/BasePlugin.js +14 -13
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +129 -59
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +76 -6
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +130 -59
- package/libs/floorplan/ModelFloorplanPlugin/index.js +76 -5
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +159 -86
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +77 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +152 -81
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +76 -5
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +193 -192
- package/libs/shared-utils/five/index.js +3 -2
- package/libs/shared-utils/five/lookObject.js +3 -2
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +6 -3
- package/libs/shared-utils/tag.js +38 -24
- package/libs/shared-utils/three/index.js +1 -0
- package/package.json +1 -1
|
@@ -26,6 +26,7 @@ import * as H from "three";
|
|
|
26
26
|
import "hammerjs";
|
|
27
27
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
28
28
|
import "@realsee/five/line";
|
|
29
|
+
import "../utils/Modules/Global.js";
|
|
29
30
|
import "../../shared-utils/three/THREESphere.js";
|
|
30
31
|
import "animejs";
|
|
31
32
|
import { notNil as I } from "../../shared-utils/isNil.js";
|
|
@@ -97,19 +98,19 @@ class v extends F {
|
|
|
97
98
|
this.lines.forEach((i) => i.unhighlight());
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
|
-
class
|
|
101
|
+
class Z extends v {
|
|
101
102
|
constructor(...i) {
|
|
102
103
|
super(c(a({}, i[0]), { withDots: !1 }));
|
|
103
104
|
l(this, "name", "PolylineMesh");
|
|
104
105
|
}
|
|
105
106
|
}
|
|
106
|
-
class
|
|
107
|
+
class _ extends v {
|
|
107
108
|
constructor(...i) {
|
|
108
109
|
super(c(a({}, i[0]), { withDots: !0 }));
|
|
109
110
|
l(this, "name", "PolylineWithDotsMesh");
|
|
110
111
|
}
|
|
111
112
|
}
|
|
112
113
|
export {
|
|
113
|
-
|
|
114
|
-
|
|
114
|
+
Z as PolylineMesh,
|
|
115
|
+
_ as PolylineWithDotsMesh
|
|
115
116
|
};
|
|
@@ -6,6 +6,7 @@ import * as u from "three";
|
|
|
6
6
|
import "hammerjs";
|
|
7
7
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
8
8
|
import "@realsee/five/line";
|
|
9
|
+
import "../utils/Modules/Global.js";
|
|
9
10
|
import "../../shared-utils/three/THREESphere.js";
|
|
10
11
|
import "animejs";
|
|
11
12
|
import { notNil as s } from "../../shared-utils/isNil.js";
|
|
@@ -14,7 +15,7 @@ import { PolygonMesh as f } from "./Polygon.js";
|
|
|
14
15
|
import { RectangleGeometry as g } from "../utils/three/RectangleGeometry.js";
|
|
15
16
|
import { getBetterNormal as d } from "../utils/getBetterNormal.js";
|
|
16
17
|
import { Sculpt as v } from "../index.js";
|
|
17
|
-
class
|
|
18
|
+
class G extends f {
|
|
18
19
|
constructor(t) {
|
|
19
20
|
super(t);
|
|
20
21
|
i(this, "name", "RectangleMesh");
|
|
@@ -46,5 +47,5 @@ class B extends f {
|
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
49
|
export {
|
|
49
|
-
|
|
50
|
+
G as RectangleMesh
|
|
50
51
|
};
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
var
|
|
1
|
+
var m = Object.defineProperty;
|
|
2
2
|
var u = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var n = (s, t, e) => t in s ?
|
|
3
|
+
var a = Object.prototype.hasOwnProperty, g = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var n = (s, t, e) => t in s ? m(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, d = (s, t) => {
|
|
5
5
|
for (var e in t || (t = {}))
|
|
6
|
-
|
|
6
|
+
a.call(t, e) && n(s, e, t[e]);
|
|
7
7
|
if (u)
|
|
8
8
|
for (var e of u(t))
|
|
9
|
-
|
|
9
|
+
g.call(t, e) && n(s, e, t[e]);
|
|
10
10
|
return s;
|
|
11
11
|
};
|
|
12
12
|
var o = (s, t, e) => (n(s, typeof t != "symbol" ? t + "" : t, e), e);
|
|
13
13
|
import { hotkeys as p } from "../../../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
14
|
-
import { Sculpt as
|
|
15
|
-
import { IObject3D as
|
|
14
|
+
import { Sculpt as l } from "../../index.js";
|
|
15
|
+
import { IObject3D as b } from "../../../shared-utils/three/IObject3D.js";
|
|
16
16
|
import { applyObjectMatrixWorld as y } from "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
17
|
+
import { removeAllTag as v } from "../../utils/removeAllTag.js";
|
|
17
18
|
const f = /* @__PURE__ */ new Map();
|
|
18
|
-
class
|
|
19
|
-
constructor(e,
|
|
19
|
+
class D extends b {
|
|
20
|
+
constructor(e, r) {
|
|
20
21
|
super();
|
|
21
22
|
o(this, "name", "Sculpt");
|
|
22
23
|
o(this, "isSculptObject", !0);
|
|
@@ -30,9 +31,11 @@ class E extends m {
|
|
|
30
31
|
*/
|
|
31
32
|
o(this, "config");
|
|
32
33
|
o(this, "editor");
|
|
33
|
-
o(this, "on", (e,
|
|
34
|
-
o(this, "off", (...e) =>
|
|
35
|
-
e != null && e.id && (this.uuid = e.id), this.config = d({ canEdit: !0, occlusionVisibility: !0, occlusionMode: "translucence" },
|
|
34
|
+
o(this, "on", (e, r, i) => l.modules.fiveDomEvents.addEventListener(this, e, r, i));
|
|
35
|
+
o(this, "off", (...e) => l.modules.fiveDomEvents.removeEventListener(this, ...e));
|
|
36
|
+
e != null && e.id && (this.uuid = e.id), this.config = d({ canEdit: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, r), e != null && e.style && (e.style.occlusionVisibility = this.config.occlusionVisibility, e.style.occlusionMode = this.config.occlusionMode), this.addEventListener("removed", () => {
|
|
37
|
+
v(this);
|
|
38
|
+
}), this.config.canEdit && (p("backspace, delete", () => {
|
|
36
39
|
this.selected && this.delete();
|
|
37
40
|
}), this.on("click", () => {
|
|
38
41
|
var c, h;
|
|
@@ -52,13 +55,13 @@ class E extends m {
|
|
|
52
55
|
};
|
|
53
56
|
}
|
|
54
57
|
get pointSelector() {
|
|
55
|
-
return
|
|
58
|
+
return l.modules.pointSelector;
|
|
56
59
|
}
|
|
57
60
|
/**
|
|
58
61
|
* @description 停止创建当前物体,等同于`esc`
|
|
59
62
|
*/
|
|
60
63
|
stopCreating() {
|
|
61
|
-
|
|
64
|
+
l.modules.pointSelector.disable();
|
|
62
65
|
}
|
|
63
66
|
/**
|
|
64
67
|
* @description 从场景中删除当前物体,并且移除事件监听
|
|
@@ -81,10 +84,10 @@ class E extends m {
|
|
|
81
84
|
return y(this, e);
|
|
82
85
|
}
|
|
83
86
|
applyObjectQuaternion(e) {
|
|
84
|
-
const
|
|
85
|
-
return Array.isArray(e) ? e.map((i) => i.clone().applyQuaternion(
|
|
87
|
+
const r = this.quaternion.clone();
|
|
88
|
+
return Array.isArray(e) ? e.map((i) => i.clone().applyQuaternion(r)) : e.clone().applyQuaternion(r);
|
|
86
89
|
}
|
|
87
90
|
}
|
|
88
91
|
export {
|
|
89
|
-
|
|
92
|
+
D as BaseObject
|
|
90
93
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
var g = Object.defineProperty;
|
|
2
2
|
var d = (s, e, t) => e in s ? g(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
|
3
|
-
var
|
|
3
|
+
var o = (s, e, t) => (d(s, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import { BaseEditor as p } from "../Base/Editor.js";
|
|
5
|
-
import { Sculpt as
|
|
5
|
+
import { Sculpt as n } from "../../index.js";
|
|
6
6
|
import { PointMesh as a } from "../../Meshes/Point.js";
|
|
7
7
|
import { getIntersectByRaycaster as h } from "../../../shared-utils/five/getPosition.js";
|
|
8
8
|
import "three";
|
|
9
9
|
import "hammerjs";
|
|
10
10
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
11
11
|
import "@realsee/five/line";
|
|
12
|
+
import "../../utils/Modules/Global.js";
|
|
12
13
|
import "../../../shared-utils/three/THREESphere.js";
|
|
13
14
|
import "animejs";
|
|
14
15
|
import { notNil as l } from "../../../shared-utils/isNil.js";
|
|
@@ -16,12 +17,12 @@ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
16
17
|
class m extends p {
|
|
17
18
|
constructor(t) {
|
|
18
19
|
super(t);
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
o(this, "draggingPoints", []);
|
|
21
|
+
o(this, "onDragstart", (t) => {
|
|
21
22
|
const i = t.target;
|
|
22
23
|
this.draggingPoints = this.pointMeshes.filter((r) => r.position.equals(i.position));
|
|
23
24
|
});
|
|
24
|
-
|
|
25
|
+
o(this, "onDragend", (t) => {
|
|
25
26
|
this.draggingPoints = [];
|
|
26
27
|
});
|
|
27
28
|
}
|
|
@@ -34,20 +35,20 @@ class m extends p {
|
|
|
34
35
|
enable() {
|
|
35
36
|
super.enable(), this.points.filter(l).forEach((t) => {
|
|
36
37
|
const i = new a();
|
|
37
|
-
i.visible = !1, i.position.copy(t), i.draggable = !0,
|
|
38
|
+
i.visible = !1, i.position.copy(t), i.draggable = !0, n.modules.fiveDomEvents.addEventListener(i, "drag", this.onDrag), n.modules.fiveDomEvents.addEventListener(i, "dragstart", this.onDragstart), n.modules.fiveDomEvents.addEventListener(i, "dragend", this.onDragend), this.add(i);
|
|
38
39
|
});
|
|
39
40
|
}
|
|
40
41
|
disable() {
|
|
41
42
|
super.disable(), this.removeChildren();
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
|
-
class
|
|
45
|
+
class O extends m {
|
|
45
46
|
constructor(t) {
|
|
46
47
|
super(t);
|
|
47
|
-
|
|
48
|
+
o(this, "onDrag", (t) => {
|
|
48
49
|
if (!this.draggingPoints || this.draggingPoints.length === 0)
|
|
49
50
|
return;
|
|
50
|
-
const i = h(
|
|
51
|
+
const i = h(n.modules.five, t.raycaster, { virtualPoint: !0 });
|
|
51
52
|
this.draggingPoints.forEach((r) => r.position.copy(i.point)), this.originObject.lineMesh.setPoints(this.pointMeshes.map((r) => r.position));
|
|
52
53
|
});
|
|
53
54
|
}
|
|
@@ -56,6 +57,6 @@ class B extends m {
|
|
|
56
57
|
}
|
|
57
58
|
}
|
|
58
59
|
export {
|
|
59
|
-
|
|
60
|
+
O as LineEditor,
|
|
60
61
|
m as LineEditorAbstract
|
|
61
62
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LightTag as a } from "../../shared-utils/tag.js";
|
|
2
|
+
function s(r) {
|
|
3
|
+
e(r), r.traverse((t) => e(t));
|
|
4
|
+
}
|
|
5
|
+
function e(r) {
|
|
6
|
+
Array.isArray(r.lengthDoms) && r.lengthDoms[0] instanceof a && r.lengthDoms.forEach((o) => o.destroy());
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
s as removeAllTag
|
|
10
|
+
};
|
|
@@ -9,28 +9,29 @@ var d = (i, t, e) => t in i ? g(i, t, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
F.call(t, e) && d(i, e, t[e]);
|
|
10
10
|
return i;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
12
|
+
var r = (i, t, e) => (d(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
13
13
|
import * as s from "three";
|
|
14
14
|
import { DEFAULT_COLOR as M } from "../../typings/style.js";
|
|
15
15
|
import { IObject3D as B } from "../../../shared-utils/three/IObject3D.js";
|
|
16
16
|
import "hammerjs";
|
|
17
17
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
18
18
|
import "@realsee/five/line";
|
|
19
|
+
import "../Modules/Global.js";
|
|
19
20
|
import "../../../shared-utils/three/THREESphere.js";
|
|
20
21
|
import "animejs";
|
|
21
22
|
import { notNil as m } from "../../../shared-utils/isNil.js";
|
|
22
23
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
23
|
-
class
|
|
24
|
+
class _ extends B {
|
|
24
25
|
constructor(e) {
|
|
25
26
|
var h, y;
|
|
26
27
|
super();
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
r(this, "name", "ColoredMesh");
|
|
29
|
+
r(this, "meshFont");
|
|
30
|
+
r(this, "meshBackground");
|
|
31
|
+
r(this, "paramsStyle", {});
|
|
32
|
+
r(this, "_geometry", new s.BufferGeometry());
|
|
32
33
|
this.paramsStyle = e != null ? e : {};
|
|
33
|
-
const
|
|
34
|
+
const c = new s.MeshBasicMaterial({
|
|
34
35
|
color: (h = e == null ? void 0 : e.color) != null ? h : M,
|
|
35
36
|
transparent: !0,
|
|
36
37
|
side: s.DoubleSide,
|
|
@@ -42,8 +43,8 @@ class R extends B {
|
|
|
42
43
|
side: s.DoubleSide,
|
|
43
44
|
depthTest: !1,
|
|
44
45
|
depthWrite: !1,
|
|
45
|
-
opacity: 0.3 / 0.5 *
|
|
46
|
-
}), o = new s.Mesh(this.geometry,
|
|
46
|
+
opacity: 0.3 / 0.5 * c.opacity
|
|
47
|
+
}), o = new s.Mesh(this.geometry, c), n = new s.Mesh(this.geometry, l);
|
|
47
48
|
o.name = "MeshFront", n.name = "MeshBackground", o.renderOrder = 1, n.renderOrder = 0, this.meshFont = o, this.meshBackground = n, this.add(o), this.setOcclusionVisibility({ occlusionVisibility: e == null ? void 0 : e.occlusionVisibility, occlusionMode: e == null ? void 0 : e.occlusionMode });
|
|
48
49
|
}
|
|
49
50
|
get color() {
|
|
@@ -69,10 +70,10 @@ class R extends B {
|
|
|
69
70
|
}
|
|
70
71
|
setOcclusionVisibility(e) {
|
|
71
72
|
var o, n, h;
|
|
72
|
-
const
|
|
73
|
-
m(l) && (l ?
|
|
73
|
+
const c = (n = (o = e.occlusionMode) != null ? o : this.paramsStyle.occlusionMode) != null ? n : "translucence", l = (h = e.occlusionVisibility) != null ? h : this.paramsStyle.occlusionVisibility;
|
|
74
|
+
m(l) && (l ? c === "depthTest" ? (this.meshFont.material.depthTest = !1, this.remove(this.meshBackground)) : c === "translucence" && (this.meshFont.material.depthTest = !0, this.addIfNotExists(this.meshBackground)) : (this.meshFont.material.depthTest = !0, this.remove(this.meshBackground)));
|
|
74
75
|
}
|
|
75
76
|
}
|
|
76
77
|
export {
|
|
77
|
-
|
|
78
|
+
_ as ColoredMesh
|
|
78
79
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
var o = Object.defineProperty;
|
|
2
|
-
var s = (
|
|
3
|
-
var
|
|
2
|
+
var s = (e, t, r) => t in e ? o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
+
var i = (e, t, r) => (s(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
4
|
import { Subscribe as l } from "../shared-utils/Subscribe.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "hammerjs";
|
|
7
7
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
8
8
|
import "@realsee/five/line";
|
|
9
|
+
import "../Sculpt/utils/Modules/Global.js";
|
|
9
10
|
import "../shared-utils/three/THREESphere.js";
|
|
10
11
|
import "animejs";
|
|
11
12
|
import { FiveUtil as a } from "../shared-utils/Utils/FiveUtil.js";
|
|
12
|
-
import { absoluteUrl as
|
|
13
|
+
import { absoluteUrl as m } from "../shared-utils/url/absoluteUrl.js";
|
|
13
14
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
14
|
-
let
|
|
15
|
+
let x = class {
|
|
15
16
|
constructor(t, r) {
|
|
16
17
|
/**
|
|
17
18
|
* @realsee/dnalogel 版本号
|
|
18
19
|
*/
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
i(this, "VERSION", "3.46.1");
|
|
21
|
+
i(this, "NAME");
|
|
22
|
+
i(this, "five");
|
|
23
|
+
i(this, "workUtil");
|
|
24
|
+
i(this, "fiveUtil");
|
|
24
25
|
/**
|
|
25
26
|
* @description: 插件事件钩子
|
|
26
27
|
*/
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
i(this, "hooks", new l());
|
|
29
|
+
i(this, "staticPrefix", "//vr-image-4.realsee-cdn.cn");
|
|
29
30
|
this.updateFive(t), r != null && r.staticPrefix && (this.staticPrefix = r.staticPrefix);
|
|
30
31
|
}
|
|
31
32
|
set workCode(t) {
|
|
@@ -47,11 +48,11 @@ let c = class {
|
|
|
47
48
|
* @description: 获取静态资源的url
|
|
48
49
|
*/
|
|
49
50
|
absoluteUrl(t) {
|
|
50
|
-
return
|
|
51
|
+
return m(this.staticPrefix, t);
|
|
51
52
|
}
|
|
52
53
|
onWorkCodeChange() {
|
|
53
54
|
}
|
|
54
55
|
};
|
|
55
56
|
export {
|
|
56
|
-
|
|
57
|
+
x as Controller
|
|
57
58
|
};
|