@realsee/dnalogel 3.48.7 → 3.49.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 +12 -3
- package/dist/Sculpt/Meshes/Line.d.ts +2 -1
- package/dist/Sculpt/Meshes/Prism.d.ts +1 -0
- package/dist/index.cjs.js +3008 -87
- package/dist/index.js +39484 -20079
- package/dist/index.umd.js +3001 -80
- package/dist/shared-utils/Object3DHelper/Controller/RotateController.d.ts +0 -1
- package/dist/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +1 -1
- package/dist/shared-utils/three/PointSelector/index.d.ts +2 -1
- package/dist/shared-utils/three/generatePolygonGeometry.d.ts +1 -1
- package/dist/shared-utils/three/index.d.ts +1 -1
- package/libs/AreaMakerPlugin/Controller.js +7 -4
- package/libs/AreaMakerPlugin/index.js +7 -4
- package/libs/AreaMakerPlugin/utils/Item.js +7 -4
- package/libs/CSS3DRenderPlugin/Controller.js +12 -9
- package/libs/CSS3DRenderPlugin/index.js +9 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +21 -18
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +6 -3
- package/libs/CruisePlugin/BaseController.js +12 -9
- package/libs/CruisePlugin/Move.js +7 -4
- package/libs/CruisePlugin/Work.js +7 -4
- package/libs/CruisePlugin/index.js +11 -8
- package/libs/CurrentPanoImagePlugin/Controller.js +6 -3
- package/libs/CurrentPanoImagePlugin/index.js +7 -4
- package/libs/GuideLinePlugin/Controller.js +9 -6
- package/libs/GuideLinePlugin/GuideLineItem.js +7 -4
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +4 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +7 -4
- package/libs/GuideLinePlugin/index.js +11 -8
- package/libs/ModelMakerPlugin/Controller.js +7 -4
- package/libs/ModelMakerPlugin/index.js +7 -4
- package/libs/ModelMakerPlugin/item/baseItem.js +2 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +2 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +2 -2
- package/libs/ModelMakerPlugin/item/prismItem.js +2 -2
- package/libs/ModelMakerPlugin/utils/getFiveDomEvent.js +1 -1
- package/libs/ModelTVVideoPlugin/Plugin.js +7 -4
- package/libs/ModelTVVideoPlugin/index.js +6 -3
- package/libs/Object3DHelperPlugin/Controller.js +6 -3
- package/libs/Object3DHelperPlugin/index.js +9 -6
- package/libs/PanoCompassPlugin/Controller.js +6 -3
- package/libs/PanoCompassPlugin/index.js +7 -4
- package/libs/PanoDoorLabelPlugin/BaseController.js +16 -13
- package/libs/PanoDoorLabelPlugin/Controller.js +58 -55
- package/libs/PanoDoorLabelPlugin/index.js +7 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +6 -3
- package/libs/PanoMeasurePlugin/Components/Controller1.js +6 -3
- package/libs/PanoMeasurePlugin/Controller/EditController.js +6 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +6 -3
- package/libs/PanoMeasurePlugin/Controller/index.js +6 -3
- package/libs/PanoMeasurePlugin/Model/area.js +6 -3
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +4 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +6 -3
- package/libs/PanoMeasurePlugin/index.js +17 -14
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +16 -13
- package/libs/PanoSpatialTagPlugin/Plugin.js +7 -4
- package/libs/PanoSpatialTagPlugin/index.js +4 -1
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +24 -21
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +6 -3
- package/libs/PanoTagPlugin/Components/Tag/index.js +6 -3
- package/libs/PanoTagPlugin/Components/TagContainer.js +6 -3
- package/libs/PanoTagPlugin/Components/TagItem.js +6 -3
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +11 -5
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +14 -11
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +12 -9
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +10 -7
- package/libs/PanoTagPlugin/controller/TagRender.js +7 -4
- package/libs/PanoTagPlugin/controller/TagUtil.js +7 -4
- package/libs/PanoTagPlugin/controller/index.js +10 -7
- package/libs/PanoTagPlugin/index.js +16 -13
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +25 -22
- package/libs/PanoVideoPlugin/Controller.js +9 -6
- package/libs/PanoVideoPlugin/VideoMeshController.js +6 -3
- package/libs/PanoVideoPlugin/index.js +9 -6
- package/libs/PipelinePlugin/Controller.js +13 -10
- package/libs/PipelinePlugin/index.js +7 -4
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +6 -3
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +16 -13
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +20 -17
- package/libs/Sculpt/Meshes/Box.js +7 -6
- package/libs/Sculpt/Meshes/Cylinder.js +4 -3
- package/libs/Sculpt/Meshes/Line.d.ts +2 -1
- package/libs/Sculpt/Meshes/Line.js +11 -10
- package/libs/Sculpt/Meshes/LineWithDots.js +1 -1
- package/libs/Sculpt/Meshes/Point.js +11 -10
- package/libs/Sculpt/Meshes/PolygonWithEdge.js +1 -1
- package/libs/Sculpt/Meshes/Polyline.js +31 -31
- package/libs/Sculpt/Meshes/Prism.d.ts +1 -0
- package/libs/Sculpt/Meshes/Prism.js +48 -38
- package/libs/Sculpt/Meshes/Rectangle.js +5 -4
- package/libs/Sculpt/Objects/Line/Editor.js +4 -3
- package/libs/Sculpt/index.js +4 -3
- package/libs/Sculpt/utils/Modules/Global.js +1 -1
- package/libs/Sculpt/utils/three/ColoredMesh.js +5 -4
- package/libs/base/BasePlugin.js +5 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +6 -3
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +7 -4
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +6 -3
- package/libs/floorplan/ModelFloorplanPlugin/index.js +7 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +6 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +7 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +6 -3
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +7 -4
- package/libs/floorplan/index.js +2 -1
- package/libs/index.js +131 -128
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +57 -57
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.d.ts +0 -1
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +91 -97
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +34 -31
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -1
- package/libs/shared-utils/five/FiveDomEvents.js +1 -1
- package/libs/shared-utils/five/FiveLine.js +6 -18
- package/libs/shared-utils/five/index.js +4 -3
- package/libs/shared-utils/five/lookObject.js +18 -17
- package/libs/shared-utils/index.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/index.d.ts +2 -1
- package/libs/shared-utils/three/PointSelector/index.js +24 -22
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +1 -1
- package/libs/shared-utils/three/boundingBox.js +1 -1
- package/libs/shared-utils/three/generatePolygonGeometry.d.ts +1 -1
- package/libs/shared-utils/three/generatePolygonGeometry.js +8 -10
- package/libs/shared-utils/three/index.d.ts +1 -1
- package/libs/shared-utils/three/index.js +2 -1
- package/libs/vendor/three/build/three.module.js +19336 -0
- package/libs/vendor/three/examples/jsm/lines/LineGeometry.js +28 -0
- package/libs/vendor/three/examples/jsm/lines/LineSegmentsGeometry.js +69 -0
- package/package.json +1 -1
- /package/dist/shared-utils/three/{objects → core}/LineSegments.d.ts +0 -0
- /package/dist/shared-utils/three/{THREERaycaster.d.ts → core/Raycaster.d.ts} +0 -0
- /package/dist/shared-utils/three/{THREESphere.d.ts → core/Sphere.d.ts} +0 -0
- /package/libs/shared-utils/three/{objects → core}/LineSegments.d.ts +0 -0
- /package/libs/shared-utils/three/{objects → core}/LineSegments.js +0 -0
- /package/libs/shared-utils/three/{THREERaycaster.d.ts → core/Raycaster.d.ts} +0 -0
- /package/libs/shared-utils/three/{THREERaycaster.js → core/Raycaster.js} +0 -0
- /package/libs/shared-utils/three/{THREESphere.d.ts → core/Sphere.d.ts} +0 -0
- /package/libs/shared-utils/three/{THREESphere.js → core/Sphere.js} +0 -0
|
@@ -1,27 +1,37 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
var b = Object.defineProperty;
|
|
2
|
+
var m = Object.getOwnPropertySymbols;
|
|
3
|
+
var E = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var g = (n, o, t) => o in n ? b(n, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[o] = t, P = (n, o) => {
|
|
5
|
+
for (var t in o || (o = {}))
|
|
6
|
+
E.call(o, t) && g(n, t, o[t]);
|
|
7
|
+
if (m)
|
|
8
|
+
for (var t of m(o))
|
|
9
|
+
C.call(o, t) && g(n, t, o[t]);
|
|
10
|
+
return n;
|
|
11
|
+
};
|
|
12
|
+
var h = (n, o, t) => (g(n, typeof o != "symbol" ? o + "" : o, t), t);
|
|
13
|
+
import { IObject3D as c } from "../../shared-utils/three/IObject3D.js";
|
|
14
|
+
import { anyPositionToVector3 as a } from "../../shared-utils/positionToVector3.js";
|
|
15
|
+
import * as p from "three";
|
|
7
16
|
import "hammerjs";
|
|
8
17
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
9
|
-
import { LineMesh as
|
|
10
|
-
import "../../shared-utils/three/
|
|
18
|
+
import { LineMesh as y } from "./Line.js";
|
|
19
|
+
import "../../shared-utils/three/core/Sphere.js";
|
|
11
20
|
import "animejs";
|
|
12
|
-
import { notNil as
|
|
21
|
+
import { notNil as f } from "../../shared-utils/isNil.js";
|
|
13
22
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
14
|
-
import { PolygonMesh as
|
|
15
|
-
import { PolygonWithEdgeMesh as
|
|
16
|
-
import { intersectWithoutLine as
|
|
17
|
-
class
|
|
23
|
+
import { PolygonMesh as d } from "./Polygon.js";
|
|
24
|
+
import { PolygonWithEdgeMesh as u } from "./PolygonWithEdge.js";
|
|
25
|
+
import { intersectWithoutLine as S } from "../../shared-utils/three/core/Raycaster.js";
|
|
26
|
+
class z extends c {
|
|
18
27
|
constructor(t) {
|
|
19
28
|
super();
|
|
20
29
|
h(this, "name", "PrismMesh");
|
|
21
30
|
h(this, "heightPoint");
|
|
22
|
-
h(this, "bottomPolygon", new
|
|
23
|
-
h(this, "topPolygon", new
|
|
24
|
-
h(this, "
|
|
31
|
+
h(this, "bottomPolygon", new u());
|
|
32
|
+
h(this, "topPolygon", new u());
|
|
33
|
+
h(this, "paramStyle");
|
|
34
|
+
h(this, "edgePlanes", new c());
|
|
25
35
|
this.topPolygon.name = "TopPolygon", this.bottomPolygon.name = "BottomPolygon", this.edgePlanes.name = "EdgePlanes", this.addIfNotExists(this.bottomPolygon), t && this.setPoints(t), t && this.setStyle(t);
|
|
26
36
|
}
|
|
27
37
|
/**
|
|
@@ -31,10 +41,10 @@ class L extends g {
|
|
|
31
41
|
return this.localCenter;
|
|
32
42
|
}
|
|
33
43
|
get localCenter() {
|
|
34
|
-
var
|
|
35
|
-
const t = (
|
|
36
|
-
if (t &&
|
|
37
|
-
return new
|
|
44
|
+
var s, i;
|
|
45
|
+
const t = (s = this.topPolygon) == null ? void 0 : s.center, e = (i = this.bottomPolygon) == null ? void 0 : i.center;
|
|
46
|
+
if (t && e)
|
|
47
|
+
return new p.Vector3().lerpVectors(t, e, 0.5);
|
|
38
48
|
}
|
|
39
49
|
get worldCenter() {
|
|
40
50
|
return this.updateMatrixWorld(), this.localToWorld(this.localCenter);
|
|
@@ -49,12 +59,12 @@ class L extends g {
|
|
|
49
59
|
return this.bottomPolygon.lineColor;
|
|
50
60
|
}
|
|
51
61
|
setStyle(t) {
|
|
52
|
-
this.bottomPolygon.setStyle(
|
|
53
|
-
(
|
|
62
|
+
this.paramStyle = P(P({}, this.paramStyle), t), this.bottomPolygon.setStyle(this.paramStyle), this.topPolygon.setStyle(this.paramStyle), this.edgePlanes.children.forEach((e) => {
|
|
63
|
+
(e instanceof y || e instanceof d) && e.setStyle(this.paramStyle);
|
|
54
64
|
});
|
|
55
65
|
}
|
|
56
66
|
setPoints(t) {
|
|
57
|
-
|
|
67
|
+
f(t.points) && this.setBottomPoints(t.points), f(t.heightPoint) && this.setTopHeightPoint(a(t.heightPoint));
|
|
58
68
|
}
|
|
59
69
|
highlight() {
|
|
60
70
|
this.bottomPolygon.highlight(), this.topPolygon.highlight(), this.edgePlanes.children.forEach((t) => {
|
|
@@ -67,32 +77,32 @@ class L extends g {
|
|
|
67
77
|
});
|
|
68
78
|
}
|
|
69
79
|
setBottomPoints(t) {
|
|
70
|
-
this.bottomPolygon.setPoints(t.map(
|
|
80
|
+
this.bottomPolygon.setPoints(t.map(a)), this.heightPoint && this.setTopHeightPoint(this.heightPoint);
|
|
71
81
|
}
|
|
72
82
|
setTopHeightPoint(t) {
|
|
73
83
|
this.heightPoint = t, this.addIfNotExists(this.topPolygon);
|
|
74
|
-
const
|
|
75
|
-
this.up.copy(
|
|
76
|
-
const r = this.bottomPolygon.points.map((l) => l.clone().add(
|
|
84
|
+
const e = this.bottomPolygon.projectPoint(t), s = new p.Vector3().subVectors(t, e);
|
|
85
|
+
this.up.copy(s.clone().normalize());
|
|
86
|
+
const r = this.bottomPolygon.points.map((l) => l.clone().add(s));
|
|
77
87
|
this.topPolygon.setPoints(r), this.setEdgePlanes();
|
|
78
88
|
}
|
|
79
|
-
raycast(t,
|
|
80
|
-
return this.children.forEach((
|
|
81
|
-
|
|
89
|
+
raycast(t, e) {
|
|
90
|
+
return this.children.forEach((s) => {
|
|
91
|
+
S(s, t, e, !0);
|
|
82
92
|
}), !1;
|
|
83
93
|
}
|
|
84
94
|
setEdgePlanes() {
|
|
85
|
-
const t = this.bottomPolygon.points,
|
|
86
|
-
this.addIfNotExists(this.edgePlanes), this.edgePlanes.removeChildren(), t.forEach((
|
|
87
|
-
if (
|
|
95
|
+
const t = this.bottomPolygon.points, e = this.topPolygon.points;
|
|
96
|
+
this.addIfNotExists(this.edgePlanes), this.edgePlanes.removeChildren(), t.forEach((s, i) => {
|
|
97
|
+
if (i === 0)
|
|
88
98
|
return;
|
|
89
|
-
const r = new
|
|
90
|
-
r.setPoints([t[
|
|
91
|
-
const l = new
|
|
92
|
-
l.name = "EdgeLine", l.setPoints([t[
|
|
99
|
+
const r = new d({ color: this.color });
|
|
100
|
+
r.setPoints([t[i - 1], t[i], e[i], e[i - 1]]);
|
|
101
|
+
const l = new y({ lineColor: this.lineColor, lineWidth: this.lineWidth });
|
|
102
|
+
l.name = "EdgeLine", l.setPoints([t[i - 1], e[i - 1]]), this.edgePlanes.add(r, l);
|
|
93
103
|
});
|
|
94
104
|
}
|
|
95
105
|
}
|
|
96
106
|
export {
|
|
97
|
-
|
|
107
|
+
z as PrismMesh
|
|
98
108
|
};
|
|
@@ -6,8 +6,9 @@ import "three";
|
|
|
6
6
|
import "hammerjs";
|
|
7
7
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
8
8
|
import "@realsee/five/line";
|
|
9
|
+
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
9
10
|
import "../../shared-utils/tag.js";
|
|
10
|
-
import "../../shared-utils/three/
|
|
11
|
+
import "../../shared-utils/three/core/Sphere.js";
|
|
11
12
|
import "animejs";
|
|
12
13
|
import { notNil as h } from "../../shared-utils/isNil.js";
|
|
13
14
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -15,7 +16,7 @@ import { PolygonMesh as u } from "./Polygon.js";
|
|
|
15
16
|
import { RectangleGeometry as g } from "../utils/three/RectangleGeometry.js";
|
|
16
17
|
import { getBetterNormal as f } from "../utils/getBetterNormal.js";
|
|
17
18
|
import { Sculpt as d } from "../index.js";
|
|
18
|
-
class
|
|
19
|
+
class T extends u {
|
|
19
20
|
constructor(t) {
|
|
20
21
|
super(t);
|
|
21
22
|
i(this, "name", "RectangleMesh");
|
|
@@ -37,12 +38,12 @@ class S extends u {
|
|
|
37
38
|
return;
|
|
38
39
|
}
|
|
39
40
|
if (t.length === 3) {
|
|
40
|
-
const [
|
|
41
|
+
const [m, s, n] = o, p = m.clone().add(n).sub(s);
|
|
41
42
|
o.push(p);
|
|
42
43
|
}
|
|
43
44
|
this.up.copy(f(o, d.modules.five.camera.position)), this.points = o, this.geometry = new g(o), this.planeHelperNeedUpdate = !0, this.geometryInfoNeedUpdate = !0;
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
47
|
export {
|
|
47
|
-
|
|
48
|
+
T as RectangleMesh
|
|
48
49
|
};
|
|
@@ -9,8 +9,9 @@ import "three";
|
|
|
9
9
|
import "hammerjs";
|
|
10
10
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
11
11
|
import "@realsee/five/line";
|
|
12
|
+
import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
12
13
|
import "../../../shared-utils/tag.js";
|
|
13
|
-
import "../../../shared-utils/three/
|
|
14
|
+
import "../../../shared-utils/three/core/Sphere.js";
|
|
14
15
|
import "animejs";
|
|
15
16
|
import { notNil as m } from "../../../shared-utils/isNil.js";
|
|
16
17
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -42,7 +43,7 @@ class l extends p {
|
|
|
42
43
|
super.disable(), this.removeChildren();
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
|
-
class
|
|
46
|
+
class q extends l {
|
|
46
47
|
constructor(t) {
|
|
47
48
|
super(t);
|
|
48
49
|
o(this, "onDrag", (t) => {
|
|
@@ -57,6 +58,6 @@ class O extends l {
|
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
60
|
export {
|
|
60
|
-
|
|
61
|
+
q as LineEditor,
|
|
61
62
|
l as LineEditorAbstract
|
|
62
63
|
};
|
package/libs/Sculpt/index.js
CHANGED
|
@@ -34,8 +34,9 @@ import "three";
|
|
|
34
34
|
import "hammerjs";
|
|
35
35
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
36
36
|
import "@realsee/five/line";
|
|
37
|
+
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
37
38
|
import "../shared-utils/tag.js";
|
|
38
|
-
import "../shared-utils/three/
|
|
39
|
+
import "../shared-utils/three/core/Sphere.js";
|
|
39
40
|
import "animejs";
|
|
40
41
|
import { notNil as k } from "../shared-utils/isNil.js";
|
|
41
42
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -229,8 +230,8 @@ const a = class extends S {
|
|
|
229
230
|
};
|
|
230
231
|
let d = a;
|
|
231
232
|
h(d, "modules", O);
|
|
232
|
-
const
|
|
233
|
+
const he = (m) => new d(m);
|
|
233
234
|
export {
|
|
234
235
|
d as Sculpt,
|
|
235
|
-
|
|
236
|
+
he as SculptPlugin
|
|
236
237
|
};
|
|
@@ -25,7 +25,7 @@ class f {
|
|
|
25
25
|
get pointSelector() {
|
|
26
26
|
if (!this.inited)
|
|
27
27
|
throw new Error("Global not inited");
|
|
28
|
-
return this._pointSelector ? this._pointSelector : (this._pointSelector = new c(this.five), this._pointSelector);
|
|
28
|
+
return this._pointSelector ? this._pointSelector : (this._pointSelector = new c(this.five, { mode: "cursor" }), this._pointSelector);
|
|
29
29
|
}
|
|
30
30
|
get fiveDomEvents() {
|
|
31
31
|
if (!this.inited)
|
|
@@ -12,16 +12,17 @@ var u = (i, e, t) => e in i ? g(i, e, { enumerable: !0, configurable: !0, writab
|
|
|
12
12
|
var n = (i, e, t) => (u(i, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
13
|
import * as s from "three";
|
|
14
14
|
import { DEFAULT_COLOR as F } from "../../typings/style.js";
|
|
15
|
-
import { IObject3D as
|
|
15
|
+
import { IObject3D as p } 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 "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
19
20
|
import "../../../shared-utils/tag.js";
|
|
20
|
-
import "../../../shared-utils/three/
|
|
21
|
+
import "../../../shared-utils/three/core/Sphere.js";
|
|
21
22
|
import "animejs";
|
|
22
23
|
import { notNil as y } from "../../../shared-utils/isNil.js";
|
|
23
24
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
24
|
-
class
|
|
25
|
+
class x extends p {
|
|
25
26
|
constructor(t) {
|
|
26
27
|
var h, m;
|
|
27
28
|
super();
|
|
@@ -83,5 +84,5 @@ class _ extends B {
|
|
|
83
84
|
}
|
|
84
85
|
}
|
|
85
86
|
export {
|
|
86
|
-
|
|
87
|
+
x as ColoredMesh
|
|
87
88
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -6,18 +6,19 @@ import "three";
|
|
|
6
6
|
import "hammerjs";
|
|
7
7
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
8
8
|
import "@realsee/five/line";
|
|
9
|
+
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
9
10
|
import "../shared-utils/tag.js";
|
|
10
|
-
import "../shared-utils/three/
|
|
11
|
+
import "../shared-utils/three/core/Sphere.js";
|
|
11
12
|
import "animejs";
|
|
12
13
|
import { FiveUtil as a } from "../shared-utils/Utils/FiveUtil.js";
|
|
13
14
|
import { absoluteUrl as m } from "../shared-utils/url/absoluteUrl.js";
|
|
14
15
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
15
|
-
let
|
|
16
|
+
let P = class {
|
|
16
17
|
constructor(t, r) {
|
|
17
18
|
/**
|
|
18
19
|
* @realsee/dnalogel 版本号
|
|
19
20
|
*/
|
|
20
|
-
i(this, "VERSION", "3.
|
|
21
|
+
i(this, "VERSION", "3.49.1");
|
|
21
22
|
i(this, "NAME");
|
|
22
23
|
i(this, "five");
|
|
23
24
|
i(this, "workUtil");
|
|
@@ -54,5 +55,5 @@ let x = class {
|
|
|
54
55
|
}
|
|
55
56
|
};
|
|
56
57
|
export {
|
|
57
|
-
|
|
58
|
+
P as Controller
|
|
58
59
|
};
|
|
@@ -43,8 +43,9 @@ import { FloorplanErrorType as m, SHOW_ANIME_DURATION as H } from "../utils/cons
|
|
|
43
43
|
import "hammerjs";
|
|
44
44
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
45
45
|
import "@realsee/five/line";
|
|
46
|
+
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
46
47
|
import "../../shared-utils/tag.js";
|
|
47
|
-
import "../../shared-utils/three/
|
|
48
|
+
import "../../shared-utils/three/core/Sphere.js";
|
|
48
49
|
import "animejs";
|
|
49
50
|
import { isNil as U } from "../../shared-utils/isNil.js";
|
|
50
51
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -88,6 +89,8 @@ import "../../shared-utils/five/getFiveModel.js";
|
|
|
88
89
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
89
90
|
import "../../shared-utils/nearlyEqual.js";
|
|
90
91
|
import "../../shared-utils/five/changeMode.js";
|
|
92
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
93
|
+
import "../../vendor/three/build/three.module.js";
|
|
91
94
|
import "../../shared-utils/positionToVector3.js";
|
|
92
95
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
93
96
|
import "../../shared-utils/three/temp.js";
|
|
@@ -99,7 +102,7 @@ function G(d) {
|
|
|
99
102
|
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);
|
|
100
103
|
return e && i;
|
|
101
104
|
}
|
|
102
|
-
class
|
|
105
|
+
class ee extends O {
|
|
103
106
|
constructor(t, e) {
|
|
104
107
|
var a, f;
|
|
105
108
|
super(t);
|
|
@@ -434,5 +437,5 @@ class Xt extends O {
|
|
|
434
437
|
}
|
|
435
438
|
}
|
|
436
439
|
export {
|
|
437
|
-
|
|
440
|
+
ee as Controller
|
|
438
441
|
};
|
|
@@ -42,6 +42,9 @@ import "../../shared-utils/Subscribe.js";
|
|
|
42
42
|
import "hammerjs";
|
|
43
43
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
44
44
|
import "@realsee/five/line";
|
|
45
|
+
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
46
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
47
|
+
import "../../vendor/three/build/three.module.js";
|
|
45
48
|
import "../../shared-utils/tag.js";
|
|
46
49
|
import "../../shared-utils/positionToVector3.js";
|
|
47
50
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -51,7 +54,7 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
51
54
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
52
55
|
import "../../shared-utils/five/transformPosition.js";
|
|
53
56
|
import "../../shared-utils/three/temp.js";
|
|
54
|
-
import "../../shared-utils/three/
|
|
57
|
+
import "../../shared-utils/three/core/Sphere.js";
|
|
55
58
|
import "animejs";
|
|
56
59
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
57
60
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -63,8 +66,8 @@ import "../../shared-utils/five/changeMode.js";
|
|
|
63
66
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
64
67
|
import "../../shared-utils/isNil.js";
|
|
65
68
|
import "../../shared-utils/five/fiveModelLoad.js";
|
|
66
|
-
const
|
|
69
|
+
const xo = (o, r) => new t(o, r);
|
|
67
70
|
export {
|
|
68
|
-
|
|
69
|
-
|
|
71
|
+
xo as MapviewFloorplanPlugin,
|
|
72
|
+
xo as default
|
|
70
73
|
};
|
|
@@ -43,8 +43,9 @@ import "three";
|
|
|
43
43
|
import "hammerjs";
|
|
44
44
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
45
45
|
import "@realsee/five/line";
|
|
46
|
+
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
46
47
|
import "../../shared-utils/tag.js";
|
|
47
|
-
import "../../shared-utils/three/
|
|
48
|
+
import "../../shared-utils/three/core/Sphere.js";
|
|
48
49
|
import "animejs";
|
|
49
50
|
import { isNil as G } from "../../shared-utils/isNil.js";
|
|
50
51
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -87,6 +88,8 @@ import "../../shared-utils/five/getFiveModel.js";
|
|
|
87
88
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
88
89
|
import "../../shared-utils/nearlyEqual.js";
|
|
89
90
|
import "../../shared-utils/five/changeMode.js";
|
|
91
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
92
|
+
import "../../vendor/three/build/three.module.js";
|
|
90
93
|
import "../../shared-utils/positionToVector3.js";
|
|
91
94
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
92
95
|
import "../../shared-utils/three/temp.js";
|
|
@@ -98,7 +101,7 @@ function z(d) {
|
|
|
98
101
|
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);
|
|
99
102
|
return e && i;
|
|
100
103
|
}
|
|
101
|
-
class
|
|
104
|
+
class te extends T {
|
|
102
105
|
constructor(t, e) {
|
|
103
106
|
var a, f, m;
|
|
104
107
|
super(t);
|
|
@@ -429,5 +432,5 @@ class Xt extends T {
|
|
|
429
432
|
}
|
|
430
433
|
}
|
|
431
434
|
export {
|
|
432
|
-
|
|
435
|
+
te as Controller
|
|
433
436
|
};
|
|
@@ -43,6 +43,9 @@ import "../../shared-utils/Subscribe.js";
|
|
|
43
43
|
import "hammerjs";
|
|
44
44
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
45
45
|
import "@realsee/five/line";
|
|
46
|
+
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
47
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
48
|
+
import "../../vendor/three/build/three.module.js";
|
|
46
49
|
import "../../shared-utils/tag.js";
|
|
47
50
|
import "../../shared-utils/positionToVector3.js";
|
|
48
51
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -52,7 +55,7 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
52
55
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
53
56
|
import "../../shared-utils/five/transformPosition.js";
|
|
54
57
|
import "../../shared-utils/three/temp.js";
|
|
55
|
-
import "../../shared-utils/three/
|
|
58
|
+
import "../../shared-utils/three/core/Sphere.js";
|
|
56
59
|
import "animejs";
|
|
57
60
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
58
61
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -62,8 +65,8 @@ import "../../shared-utils/nearlyEqual.js";
|
|
|
62
65
|
import "../../shared-utils/five/changeMode.js";
|
|
63
66
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
64
67
|
import "../../shared-utils/isNil.js";
|
|
65
|
-
const
|
|
68
|
+
const xo = (o, r) => new t(o, r);
|
|
66
69
|
export {
|
|
67
|
-
|
|
68
|
-
|
|
70
|
+
xo as ModelFloorplanPlugin,
|
|
71
|
+
xo as default
|
|
69
72
|
};
|
|
@@ -52,6 +52,9 @@ import "three";
|
|
|
52
52
|
import "hammerjs";
|
|
53
53
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
54
54
|
import "@realsee/five/line";
|
|
55
|
+
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
56
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
57
|
+
import "../../vendor/three/build/three.module.js";
|
|
55
58
|
import "../../shared-utils/tag.js";
|
|
56
59
|
import "../../shared-utils/positionToVector3.js";
|
|
57
60
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -61,12 +64,12 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
61
64
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
62
65
|
import "../../shared-utils/five/transformPosition.js";
|
|
63
66
|
import "../../shared-utils/three/temp.js";
|
|
64
|
-
import "../../shared-utils/three/
|
|
67
|
+
import "../../shared-utils/three/core/Sphere.js";
|
|
65
68
|
import "animejs";
|
|
66
69
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
67
70
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
68
71
|
import "../Assets/floorplanExtraObject.js";
|
|
69
|
-
class
|
|
72
|
+
class mt extends O {
|
|
70
73
|
constructor(t, i) {
|
|
71
74
|
super(t);
|
|
72
75
|
// =============== public properties =================
|
|
@@ -209,5 +212,5 @@ class ut extends O {
|
|
|
209
212
|
}
|
|
210
213
|
}
|
|
211
214
|
export {
|
|
212
|
-
|
|
215
|
+
mt as Controller
|
|
213
216
|
};
|
|
@@ -23,6 +23,9 @@ import "three";
|
|
|
23
23
|
import "hammerjs";
|
|
24
24
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
25
25
|
import "@realsee/five/line";
|
|
26
|
+
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
27
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
28
|
+
import "../../vendor/three/build/three.module.js";
|
|
26
29
|
import "../../shared-utils/tag.js";
|
|
27
30
|
import "../../shared-utils/positionToVector3.js";
|
|
28
31
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -32,14 +35,14 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
32
35
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
33
36
|
import "../../shared-utils/five/transformPosition.js";
|
|
34
37
|
import "../../shared-utils/three/temp.js";
|
|
35
|
-
import "../../shared-utils/three/
|
|
38
|
+
import "../../shared-utils/three/core/Sphere.js";
|
|
36
39
|
import "animejs";
|
|
37
40
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
38
41
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
39
42
|
import "../utils/formatData.js";
|
|
40
43
|
import "../Assets/floorplanExtraObject.js";
|
|
41
|
-
const
|
|
44
|
+
const U = (o, r) => new t(o, r);
|
|
42
45
|
export {
|
|
43
|
-
|
|
44
|
-
|
|
46
|
+
U as PanoFloorplanRadarPlugin,
|
|
47
|
+
U as default
|
|
45
48
|
};
|
|
@@ -41,8 +41,9 @@ import { changeModelCanvasOpacity as b } from "../../shared-utils/changeModelCan
|
|
|
41
41
|
import "hammerjs";
|
|
42
42
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
43
43
|
import "@realsee/five/line";
|
|
44
|
+
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
44
45
|
import "../../shared-utils/tag.js";
|
|
45
|
-
import "../../shared-utils/three/
|
|
46
|
+
import "../../shared-utils/three/core/Sphere.js";
|
|
46
47
|
import "animejs";
|
|
47
48
|
import { isNil as k } from "../../shared-utils/isNil.js";
|
|
48
49
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -85,10 +86,12 @@ import "../../shared-utils/five/getFiveModel.js";
|
|
|
85
86
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
86
87
|
import "../../shared-utils/nearlyEqual.js";
|
|
87
88
|
import "../../shared-utils/to.js";
|
|
89
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
90
|
+
import "../../vendor/three/build/three.module.js";
|
|
88
91
|
import "../../shared-utils/positionToVector3.js";
|
|
89
92
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
90
93
|
import "../../shared-utils/three/temp.js";
|
|
91
|
-
class
|
|
94
|
+
class qt extends M {
|
|
92
95
|
constructor(t, e) {
|
|
93
96
|
var h, c;
|
|
94
97
|
super(t);
|
|
@@ -361,5 +364,5 @@ class Bt extends M {
|
|
|
361
364
|
}
|
|
362
365
|
}
|
|
363
366
|
export {
|
|
364
|
-
|
|
367
|
+
qt as Controller
|
|
365
368
|
};
|
|
@@ -41,6 +41,9 @@ import "../../shared-utils/Subscribe.js";
|
|
|
41
41
|
import "hammerjs";
|
|
42
42
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
43
43
|
import "@realsee/five/line";
|
|
44
|
+
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
45
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
46
|
+
import "../../vendor/three/build/three.module.js";
|
|
44
47
|
import "../../shared-utils/tag.js";
|
|
45
48
|
import "../../shared-utils/positionToVector3.js";
|
|
46
49
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -50,7 +53,7 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
50
53
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
51
54
|
import "../../shared-utils/five/transformPosition.js";
|
|
52
55
|
import "../../shared-utils/three/temp.js";
|
|
53
|
-
import "../../shared-utils/three/
|
|
56
|
+
import "../../shared-utils/three/core/Sphere.js";
|
|
54
57
|
import "animejs";
|
|
55
58
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
56
59
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -60,8 +63,8 @@ import "../../shared-utils/to.js";
|
|
|
60
63
|
import "../../shared-utils/getPxmm.js";
|
|
61
64
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
62
65
|
import "../../shared-utils/isNil.js";
|
|
63
|
-
const
|
|
66
|
+
const co = (o, r) => new t(o, r);
|
|
64
67
|
export {
|
|
65
|
-
|
|
66
|
-
|
|
68
|
+
co as TopviewFloorplanPlugin,
|
|
69
|
+
co as default
|
|
67
70
|
};
|
package/libs/floorplan/index.js
CHANGED
|
@@ -3,8 +3,9 @@ import "three";
|
|
|
3
3
|
import "hammerjs";
|
|
4
4
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
5
5
|
import "@realsee/five/line";
|
|
6
|
+
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
6
7
|
import "../shared-utils/tag.js";
|
|
7
|
-
import "../shared-utils/three/
|
|
8
|
+
import "../shared-utils/three/core/Sphere.js";
|
|
8
9
|
import "animejs";
|
|
9
10
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
10
11
|
import "../shared-utils/nearlyEqual.js";
|