@realsee/dnalogel 3.46.0 → 3.47.0
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 +7 -0
- package/dist/Sculpt/Meshes/Polygon.d.ts +6 -0
- package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +8 -0
- package/dist/Sculpt/Meshes/Polyline.d.ts +7 -0
- package/dist/Sculpt/utils/removeAllTag.d.ts +2 -0
- package/dist/Sculpt/utils/three/ColoredMesh.d.ts +6 -0
- package/dist/index.cjs.js +54 -54
- package/dist/index.js +3645 -3592
- package/dist/index.umd.js +46 -46
- package/dist/shared-utils/five/getPosition.d.ts +2 -0
- package/dist/shared-utils/three/PointSelector/index.d.ts +14 -10
- package/dist/typings/typings.d.ts +2 -0
- 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/Meshes/Polygon.d.ts +6 -0
- package/libs/Sculpt/Meshes/Polygon.js +7 -4
- package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +8 -0
- package/libs/Sculpt/Meshes/PolygonWithEdge.js +38 -24
- package/libs/Sculpt/Meshes/Polyline.d.ts +7 -0
- package/libs/Sculpt/Meshes/Polyline.js +32 -23
- package/libs/Sculpt/Objects/Base/index.js +20 -17
- package/libs/Sculpt/Objects/Line/Editor.js +6 -6
- package/libs/Sculpt/Objects/Line/index.js +16 -16
- package/libs/Sculpt/Objects/Point/Editor.js +10 -10
- package/libs/Sculpt/Objects/Polygon/Editor.js +6 -6
- package/libs/Sculpt/Objects/Polygon/index.js +43 -37
- package/libs/Sculpt/Objects/Polyline/Editor.js +3 -3
- package/libs/Sculpt/Objects/Polyline/index.js +43 -43
- package/libs/Sculpt/utils/removeAllTag.d.ts +2 -0
- package/libs/Sculpt/utils/removeAllTag.js +10 -0
- package/libs/Sculpt/utils/three/ColoredMesh.d.ts +6 -0
- package/libs/Sculpt/utils/three/ColoredMesh.js +39 -31
- 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/five/getPosition.d.ts +2 -0
- package/libs/shared-utils/five/getPosition.js +25 -30
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/index.d.ts +14 -10
- package/libs/shared-utils/three/PointSelector/index.js +74 -57
- package/libs/typings/typings.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
var j = Object.defineProperty, E = Object.defineProperties;
|
|
2
2
|
var V = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var C = Object.getOwnPropertySymbols;
|
|
4
4
|
var A = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var f = (i, t, e) => t in i ? j(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, w = (i, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
7
|
A.call(t, e) && f(i, e, t[e]);
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
8
|
+
if (C)
|
|
9
|
+
for (var e of C(t))
|
|
10
10
|
D.call(t, e) && f(i, e, t[e]);
|
|
11
11
|
return i;
|
|
12
12
|
}, M = (i, t) => E(i, V(t));
|
|
13
13
|
var u = (i, t, e) => (f(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
14
|
-
var L = (i, t, e) => new Promise((
|
|
15
|
-
var a = (
|
|
14
|
+
var L = (i, t, e) => new Promise((n, d) => {
|
|
15
|
+
var a = (h) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
d(
|
|
17
|
+
P(e.next(h));
|
|
18
|
+
} catch (m) {
|
|
19
|
+
d(m);
|
|
20
20
|
}
|
|
21
|
-
}, p = (
|
|
21
|
+
}, p = (h) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
24
|
-
} catch (
|
|
25
|
-
d(
|
|
23
|
+
P(e.throw(h));
|
|
24
|
+
} catch (m) {
|
|
25
|
+
d(m);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, P = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(a, p);
|
|
28
|
+
P((e = e.apply(i, t)).next());
|
|
29
29
|
});
|
|
30
30
|
import { hotkeys as F } from "../../../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
31
|
-
import { PolylineWithDotsMesh as
|
|
31
|
+
import { PolylineWithDotsMesh as b, PolylineMesh as W } from "../../Meshes/Polyline.js";
|
|
32
32
|
import { BaseObject as O } from "../Base/index.js";
|
|
33
|
-
import * as
|
|
33
|
+
import * as c from "three";
|
|
34
34
|
import { PolylineEditor as T } from "./Editor.js";
|
|
35
35
|
import { vector3ToArray as U } from "../../../shared-utils/three/vector3ToArray.js";
|
|
36
|
-
const x = new
|
|
36
|
+
const x = new c.Vector3();
|
|
37
37
|
class G extends O {
|
|
38
|
-
constructor(e,
|
|
39
|
-
super(e,
|
|
38
|
+
constructor(e, n) {
|
|
39
|
+
super(e, n);
|
|
40
40
|
u(this, "type", "Polyline");
|
|
41
41
|
u(this, "polyLineMesh");
|
|
42
|
-
e && (this.polyLineMesh = new
|
|
42
|
+
e && (this.polyLineMesh = new b(w(w({}, e.style), e)), this.add(this.polyLineMesh)), this.editor = new T(this), F("esc", () => {
|
|
43
43
|
this.stopCreating();
|
|
44
44
|
});
|
|
45
45
|
}
|
|
@@ -47,7 +47,7 @@ class G extends O {
|
|
|
47
47
|
return M(w({}, this.baseData), {
|
|
48
48
|
points: U(this.applyObjectMatrixWorld(this.polyLineMesh.points)),
|
|
49
49
|
style: {
|
|
50
|
-
lineColor: new
|
|
50
|
+
lineColor: new c.Color(this.polyLineMesh.lineColor).getHex(),
|
|
51
51
|
lineWidth: this.polyLineMesh.lineWidth,
|
|
52
52
|
dashed: this.polyLineMesh.dashed
|
|
53
53
|
}
|
|
@@ -64,35 +64,35 @@ class G extends O {
|
|
|
64
64
|
create(e) {
|
|
65
65
|
return L(this, null, function* () {
|
|
66
66
|
this.removeChildren();
|
|
67
|
-
const
|
|
68
|
-
this.polyLineMesh =
|
|
67
|
+
const n = new b(e);
|
|
68
|
+
this.polyLineMesh = n, this.add(this.polyLineMesh), yield k(n, this.pointSelector, e), this.editor.enable();
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
function k(i, t, e) {
|
|
73
|
-
var
|
|
74
|
-
const
|
|
75
|
-
if (!
|
|
73
|
+
var P;
|
|
74
|
+
const n = i.parent;
|
|
75
|
+
if (!n)
|
|
76
76
|
return;
|
|
77
|
-
const d = (
|
|
78
|
-
|
|
79
|
-
const p = new
|
|
80
|
-
return
|
|
81
|
-
const
|
|
82
|
-
let
|
|
83
|
-
const
|
|
84
|
-
const
|
|
85
|
-
|
|
86
|
-
},
|
|
87
|
-
if (!(
|
|
77
|
+
const d = (P = e == null ? void 0 : e.limit) != null ? P : "none", a = new W(i.style);
|
|
78
|
+
n.add(a);
|
|
79
|
+
const p = new W({ dashed: !0, lineColor: i.lineColor, lineWidth: i.lineWidth });
|
|
80
|
+
return n.add(p), t.enable(), new Promise((h, m) => {
|
|
81
|
+
const o = [];
|
|
82
|
+
let l, s;
|
|
83
|
+
const g = (r) => {
|
|
84
|
+
const y = o.length === 0 ? r.point : l.clone();
|
|
85
|
+
o.push(y), i.setPoints(o);
|
|
86
|
+
}, v = (r) => {
|
|
87
|
+
if (!(o != null && o.length) || !r)
|
|
88
88
|
return;
|
|
89
|
-
const
|
|
90
|
-
d === "none" ? (
|
|
89
|
+
const y = o.at(-1).clone();
|
|
90
|
+
d === "none" ? (l = r.point, a.setPoints([y, l])) : d === "xoz" ? (s = s != null ? s : new c.Plane().setFromNormalAndCoplanarPoint(new c.Vector3(0, 1, 0), o[0]), t.plane = s, l = s.projectPoint(r.point, x), a.setPoints([y, l]), p.setPoints([l, r.point])) : d === "y" && (o.length === 1 ? (l = r.point, a.setPoints([y, l])) : (s = s != null ? s : new c.Plane().setFromCoplanarPoints(o[0], o[1], new c.Vector3(0, 1, 0).add(o[0])), t.plane = s, l = s.projectPoint(r.point, x), a.setPoints([y, l]), p.setPoints([l, r.point])));
|
|
91
91
|
};
|
|
92
|
-
t.on("select",
|
|
93
|
-
if (t.off("select",
|
|
94
|
-
return
|
|
95
|
-
|
|
92
|
+
t.on("select", g), t.on("intersectionUpdate", v), t.on("disable", () => {
|
|
93
|
+
if (t.off("select", g), t.off("intersectionUpdate", v), t.plane = null, n.remove(a), n.remove(p), o.length < 2)
|
|
94
|
+
return n.remove(i), m(new Error("Cancelled"));
|
|
95
|
+
h();
|
|
96
96
|
});
|
|
97
97
|
});
|
|
98
98
|
}
|
|
@@ -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
|
+
};
|
|
@@ -6,6 +6,12 @@ export default class ColoredMesh<TGeometry extends THREE.Geometry | THREE.Buffer
|
|
|
6
6
|
name: string;
|
|
7
7
|
meshFont: THREE.Mesh<TGeometry, THREE.MeshBasicMaterial>;
|
|
8
8
|
meshBackground: THREE.Mesh<TGeometry, THREE.MeshBasicMaterial>;
|
|
9
|
+
get style(): {
|
|
10
|
+
color: THREE.Color;
|
|
11
|
+
opacity: number;
|
|
12
|
+
occlusionVisibility: boolean;
|
|
13
|
+
occlusionMode: string;
|
|
14
|
+
};
|
|
9
15
|
get color(): THREE.Color;
|
|
10
16
|
get opacity(): number;
|
|
11
17
|
get occlusionVisibility(): boolean;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var g = Object.defineProperty;
|
|
2
2
|
var a = Object.getOwnPropertySymbols;
|
|
3
|
-
var f = Object.prototype.hasOwnProperty,
|
|
4
|
-
var
|
|
5
|
-
for (var
|
|
6
|
-
f.call(
|
|
3
|
+
var f = Object.prototype.hasOwnProperty, M = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var u = (i, e, t) => e in i ? g(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, d = (i, e) => {
|
|
5
|
+
for (var t in e || (e = {}))
|
|
6
|
+
f.call(e, t) && u(i, t, e[t]);
|
|
7
7
|
if (a)
|
|
8
|
-
for (var
|
|
9
|
-
|
|
8
|
+
for (var t of a(e))
|
|
9
|
+
M.call(e, t) && u(i, t, e[t]);
|
|
10
10
|
return i;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
12
|
+
var n = (i, e, t) => (u(i, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
13
|
import * as s from "three";
|
|
14
|
-
import { DEFAULT_COLOR as
|
|
14
|
+
import { DEFAULT_COLOR as F } 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";
|
|
@@ -19,33 +19,41 @@ import "@realsee/five/line";
|
|
|
19
19
|
import "../Modules/Global.js";
|
|
20
20
|
import "../../../shared-utils/three/THREESphere.js";
|
|
21
21
|
import "animejs";
|
|
22
|
-
import { notNil as
|
|
22
|
+
import { notNil as y } from "../../../shared-utils/isNil.js";
|
|
23
23
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
24
24
|
class _ extends B {
|
|
25
|
-
constructor(
|
|
26
|
-
var h,
|
|
25
|
+
constructor(t) {
|
|
26
|
+
var h, m;
|
|
27
27
|
super();
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
this.paramsStyle =
|
|
34
|
-
const
|
|
35
|
-
color: (h =
|
|
28
|
+
n(this, "name", "ColoredMesh");
|
|
29
|
+
n(this, "meshFont");
|
|
30
|
+
n(this, "meshBackground");
|
|
31
|
+
n(this, "paramsStyle", {});
|
|
32
|
+
n(this, "_geometry", new s.BufferGeometry());
|
|
33
|
+
this.paramsStyle = t != null ? t : {};
|
|
34
|
+
const r = new s.MeshBasicMaterial({
|
|
35
|
+
color: (h = t == null ? void 0 : t.color) != null ? h : F,
|
|
36
36
|
transparent: !0,
|
|
37
37
|
side: s.DoubleSide,
|
|
38
38
|
depthTest: !0,
|
|
39
|
-
opacity: (
|
|
39
|
+
opacity: (m = t == null ? void 0 : t.opacity) != null ? m : 0.5
|
|
40
40
|
}), l = new s.MeshBasicMaterial({
|
|
41
41
|
color: 16777215,
|
|
42
42
|
transparent: !0,
|
|
43
43
|
side: s.DoubleSide,
|
|
44
44
|
depthTest: !1,
|
|
45
45
|
depthWrite: !1,
|
|
46
|
-
opacity: 0.3 / 0.5 *
|
|
47
|
-
}), o = new s.Mesh(this.geometry,
|
|
48
|
-
o.name = "MeshFront",
|
|
46
|
+
opacity: 0.3 / 0.5 * r.opacity
|
|
47
|
+
}), o = new s.Mesh(this.geometry, r), c = new s.Mesh(this.geometry, l);
|
|
48
|
+
o.name = "MeshFront", c.name = "MeshBackground", o.renderOrder = 1, c.renderOrder = 0, this.meshFont = o, this.meshBackground = c, this.add(o), this.setOcclusionVisibility({ occlusionVisibility: t == null ? void 0 : t.occlusionVisibility, occlusionMode: t == null ? void 0 : t.occlusionMode });
|
|
49
|
+
}
|
|
50
|
+
get style() {
|
|
51
|
+
return {
|
|
52
|
+
color: this.color,
|
|
53
|
+
opacity: this.opacity,
|
|
54
|
+
occlusionVisibility: this.occlusionVisibility,
|
|
55
|
+
occlusionMode: this.occlusionMode
|
|
56
|
+
};
|
|
49
57
|
}
|
|
50
58
|
get color() {
|
|
51
59
|
return this.meshFont.material.color;
|
|
@@ -59,19 +67,19 @@ class _ extends B {
|
|
|
59
67
|
get occlusionMode() {
|
|
60
68
|
return this.meshFont.material.depthTest === !1 ? "depthTest" : "translucence";
|
|
61
69
|
}
|
|
62
|
-
set geometry(
|
|
63
|
-
this._geometry =
|
|
70
|
+
set geometry(t) {
|
|
71
|
+
this._geometry = t, this.meshFont.geometry = t, this.meshBackground.geometry = t;
|
|
64
72
|
}
|
|
65
73
|
get geometry() {
|
|
66
74
|
return this._geometry;
|
|
67
75
|
}
|
|
68
|
-
setStyle(
|
|
69
|
-
this.paramsStyle =
|
|
76
|
+
setStyle(t) {
|
|
77
|
+
this.paramsStyle = d(d({}, this.paramsStyle), t), y(t.color) && (this.meshFont.material.color.set(t.color), this.needsRender = !0), y(t.opacity) && (this.meshFont.material.opacity = t.opacity, this.meshBackground.material.opacity = 0.3 / 0.5 * t.opacity, this.needsRender = !0), this.setOcclusionVisibility(t);
|
|
70
78
|
}
|
|
71
|
-
setOcclusionVisibility(
|
|
72
|
-
var o,
|
|
73
|
-
const
|
|
74
|
-
|
|
79
|
+
setOcclusionVisibility(t) {
|
|
80
|
+
var o, c, h;
|
|
81
|
+
const r = (c = (o = t.occlusionMode) != null ? o : this.paramsStyle.occlusionMode) != null ? c : "translucence", l = (h = t.occlusionVisibility) != null ? h : this.paramsStyle.occlusionVisibility;
|
|
82
|
+
y(l) && (l ? r === "depthTest" ? (this.meshFont.material.depthTest = !1, this.remove(this.meshBackground)) : r === "translucence" && (this.meshFont.material.depthTest = !0, this.addIfNotExists(this.meshBackground)) : (this.meshFont.material.depthTest = !0, this.remove(this.meshBackground)));
|
|
75
83
|
}
|
|
76
84
|
}
|
|
77
85
|
export {
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -152,6 +152,7 @@ import "../../Sculpt/typings/style.js";
|
|
|
152
152
|
import "../../shared-utils/five/FiveLine.js";
|
|
153
153
|
import "../../shared-utils/tag.js";
|
|
154
154
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
155
|
+
import "../../Sculpt/utils/removeAllTag.js";
|
|
155
156
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
156
157
|
import "../../shared-utils/isTouchDevice.js";
|
|
157
158
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -164,7 +165,7 @@ function G(d) {
|
|
|
164
165
|
const { latitude: n, longitude: t } = d, e = Math.abs(n - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
165
166
|
return e && i;
|
|
166
167
|
}
|
|
167
|
-
class
|
|
168
|
+
class li extends O {
|
|
168
169
|
constructor(t, e) {
|
|
169
170
|
var a, m;
|
|
170
171
|
super(t);
|
|
@@ -499,5 +500,5 @@ class di extends O {
|
|
|
499
500
|
}
|
|
500
501
|
}
|
|
501
502
|
export {
|
|
502
|
-
|
|
503
|
+
li as Controller
|
|
503
504
|
};
|
|
@@ -118,6 +118,7 @@ import "../../Sculpt/typings/style.js";
|
|
|
118
118
|
import "../../shared-utils/five/FiveLine.js";
|
|
119
119
|
import "../../shared-utils/tag.js";
|
|
120
120
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
121
|
+
import "../../Sculpt/utils/removeAllTag.js";
|
|
121
122
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
122
123
|
import "../../shared-utils/isTouchDevice.js";
|
|
123
124
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -128,8 +129,8 @@ import "../utils/constant.js";
|
|
|
128
129
|
import "../../shared-utils/nearlyEqual.js";
|
|
129
130
|
import "../../shared-utils/five/changeMode.js";
|
|
130
131
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
131
|
-
const
|
|
132
|
+
const qr = (o, r) => new t(o, r);
|
|
132
133
|
export {
|
|
133
|
-
|
|
134
|
-
|
|
134
|
+
qr as MapviewFloorplanPlugin,
|
|
135
|
+
qr as default
|
|
135
136
|
};
|
|
@@ -152,6 +152,7 @@ import "../../Sculpt/typings/style.js";
|
|
|
152
152
|
import "../../shared-utils/five/FiveLine.js";
|
|
153
153
|
import "../../shared-utils/tag.js";
|
|
154
154
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
155
|
+
import "../../Sculpt/utils/removeAllTag.js";
|
|
155
156
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
156
157
|
import "../../shared-utils/isTouchDevice.js";
|
|
157
158
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -164,7 +165,7 @@ function z(d) {
|
|
|
164
165
|
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);
|
|
165
166
|
return e && i;
|
|
166
167
|
}
|
|
167
|
-
class
|
|
168
|
+
class li extends T {
|
|
168
169
|
constructor(t, e) {
|
|
169
170
|
var a, p, c;
|
|
170
171
|
super(t);
|
|
@@ -495,5 +496,5 @@ class di extends T {
|
|
|
495
496
|
}
|
|
496
497
|
}
|
|
497
498
|
export {
|
|
498
|
-
|
|
499
|
+
li as Controller
|
|
499
500
|
};
|
|
@@ -119,6 +119,7 @@ import "../../Sculpt/typings/style.js";
|
|
|
119
119
|
import "../../shared-utils/five/FiveLine.js";
|
|
120
120
|
import "../../shared-utils/tag.js";
|
|
121
121
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
122
|
+
import "../../Sculpt/utils/removeAllTag.js";
|
|
122
123
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
123
124
|
import "../../shared-utils/isTouchDevice.js";
|
|
124
125
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -128,8 +129,8 @@ import "../utils/constant.js";
|
|
|
128
129
|
import "../../shared-utils/nearlyEqual.js";
|
|
129
130
|
import "../../shared-utils/five/changeMode.js";
|
|
130
131
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
131
|
-
const
|
|
132
|
+
const vr = (o, r) => new t(o, r);
|
|
132
133
|
export {
|
|
133
|
-
|
|
134
|
-
|
|
134
|
+
vr as ModelFloorplanPlugin,
|
|
135
|
+
vr as default
|
|
135
136
|
};
|
|
@@ -129,12 +129,13 @@ import "../../Sculpt/typings/style.js";
|
|
|
129
129
|
import "../../shared-utils/five/FiveLine.js";
|
|
130
130
|
import "../../shared-utils/tag.js";
|
|
131
131
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
132
|
+
import "../../Sculpt/utils/removeAllTag.js";
|
|
132
133
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
133
134
|
import "../../shared-utils/isTouchDevice.js";
|
|
134
135
|
import "../../shared-utils/five/getPosition.js";
|
|
135
136
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
136
137
|
import "../Assets/floorplanExtraObject.js";
|
|
137
|
-
class
|
|
138
|
+
class Ci extends O {
|
|
138
139
|
constructor(t, i) {
|
|
139
140
|
super(t);
|
|
140
141
|
// =============== public properties =================
|
|
@@ -277,5 +278,5 @@ class ki extends O {
|
|
|
277
278
|
}
|
|
278
279
|
}
|
|
279
280
|
export {
|
|
280
|
-
|
|
281
|
+
Ci as Controller
|
|
281
282
|
};
|
|
@@ -100,14 +100,15 @@ 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";
|
|
106
107
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
107
108
|
import "../utils/formatData.js";
|
|
108
109
|
import "../Assets/floorplanExtraObject.js";
|
|
109
|
-
const
|
|
110
|
+
const mr = (o, r) => new t(o, r);
|
|
110
111
|
export {
|
|
111
|
-
|
|
112
|
-
|
|
112
|
+
mr as PanoFloorplanRadarPlugin,
|
|
113
|
+
mr as default
|
|
113
114
|
};
|
|
@@ -150,11 +150,12 @@ import "../../Sculpt/typings/style.js";
|
|
|
150
150
|
import "../../shared-utils/five/FiveLine.js";
|
|
151
151
|
import "../../shared-utils/tag.js";
|
|
152
152
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
153
|
+
import "../../Sculpt/utils/removeAllTag.js";
|
|
153
154
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
154
155
|
import "../../shared-utils/isTouchDevice.js";
|
|
155
156
|
import "../../shared-utils/five/getPosition.js";
|
|
156
157
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
157
|
-
class
|
|
158
|
+
class ee extends M {
|
|
158
159
|
constructor(t, i) {
|
|
159
160
|
var h, m;
|
|
160
161
|
super(t);
|
|
@@ -427,5 +428,5 @@ class ie extends M {
|
|
|
427
428
|
}
|
|
428
429
|
}
|
|
429
430
|
export {
|
|
430
|
-
|
|
431
|
+
ee as Controller
|
|
431
432
|
};
|
|
@@ -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";
|
|
@@ -126,8 +127,8 @@ import "../../shared-utils/nearlyEqual.js";
|
|
|
126
127
|
import "../../shared-utils/to.js";
|
|
127
128
|
import "../../shared-utils/getPxmm.js";
|
|
128
129
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
129
|
-
const
|
|
130
|
+
const jr = (o, r) => new t(o, r);
|
|
130
131
|
export {
|
|
131
|
-
|
|
132
|
-
|
|
132
|
+
jr as TopviewFloorplanPlugin,
|
|
133
|
+
jr as default
|
|
133
134
|
};
|