@realsee/dnalogel 3.50.13 → 3.50.14
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 +194 -194
- package/dist/index.js +3617 -3596
- package/dist/index.umd.js +191 -191
- package/dist/shared-utils/equal.d.ts +1 -1
- package/dist/shared-utils/index.d.ts +2 -1
- package/dist/shared-utils/tag.d.ts +18 -7
- package/libs/AreaMakerPlugin/Controller.js +3 -3
- package/libs/AreaMakerPlugin/index.js +6 -6
- package/libs/AreaMakerPlugin/utils/Item.js +3 -3
- package/libs/CSS3DRenderPlugin/Controller.js +3 -3
- package/libs/CSS3DRenderPlugin/index.js +7 -7
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -3
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +5 -5
- package/libs/CruisePlugin/BaseController.js +13 -13
- package/libs/CruisePlugin/Move.js +3 -3
- package/libs/CruisePlugin/Work.js +2 -2
- package/libs/CruisePlugin/index.js +8 -8
- package/libs/CurrentPanoImagePlugin/Controller.js +3 -3
- package/libs/CurrentPanoImagePlugin/index.js +6 -6
- package/libs/GuideLinePlugin/Controller.js +19 -19
- package/libs/GuideLinePlugin/GuideLineItem.js +7 -7
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -3
- package/libs/GuideLinePlugin/index.js +8 -8
- package/libs/ModelMakerPlugin/Controller.js +3 -3
- package/libs/ModelMakerPlugin/index.js +7 -7
- package/libs/ModelTVVideoPlugin/Plugin.js +5 -5
- package/libs/ModelTVVideoPlugin/index.js +5 -5
- package/libs/Object3DHelperPlugin/Controller.js +6 -6
- package/libs/Object3DHelperPlugin/index.js +7 -7
- package/libs/PanoCompassPlugin/Controller.js +6 -6
- package/libs/PanoCompassPlugin/index.js +6 -6
- package/libs/PanoDoorLabelPlugin/BaseController.js +7 -7
- package/libs/PanoDoorLabelPlugin/Controller.js +6 -6
- package/libs/PanoDoorLabelPlugin/index.js +6 -6
- package/libs/PanoMeasurePlugin/Components/Controller0.js +5 -5
- package/libs/PanoMeasurePlugin/Components/Controller1.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +4 -4
- package/libs/PanoMeasurePlugin/Controller/index.js +3 -3
- package/libs/PanoMeasurePlugin/Model/area.js +5 -5
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +7 -7
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +5 -5
- package/libs/PanoMeasurePlugin/index.js +3 -3
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -3
- package/libs/PanoRulerProPlugin/Controller.js +52 -33
- package/libs/PanoRulerProPlugin/RulerItems.js +104 -85
- package/libs/PanoRulerProPlugin/index.js +23 -4
- package/libs/PanoSpatialTagPlugin/Plugin.js +5 -5
- package/libs/PanoSpatialTagPlugin/index.js +5 -5
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -3
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -3
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -3
- package/libs/PanoTagPlugin/Components/TagContainer.js +6 -6
- package/libs/PanoTagPlugin/Components/TagItem.js +3 -3
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -3
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +7 -7
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +7 -7
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +7 -7
- package/libs/PanoTagPlugin/controller/TagRender.js +6 -6
- package/libs/PanoTagPlugin/controller/TagUtil.js +5 -5
- package/libs/PanoTagPlugin/controller/index.js +3 -3
- package/libs/PanoTagPlugin/index.js +6 -6
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -3
- package/libs/PanoVideoPlugin/Controller.js +7 -7
- package/libs/PanoVideoPlugin/VideoMeshController.js +3 -3
- package/libs/PanoVideoPlugin/index.js +7 -7
- package/libs/PipelinePlugin/Controller.js +15 -15
- package/libs/PipelinePlugin/index.js +7 -7
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -3
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -3
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +3 -3
- package/libs/Sculpt/Meshes/Box.js +1 -1
- package/libs/Sculpt/Meshes/Cylinder.js +1 -1
- package/libs/Sculpt/Meshes/Line.js +4 -4
- package/libs/Sculpt/Meshes/LineWithDots.js +3 -2
- package/libs/Sculpt/Meshes/Point.js +1 -1
- package/libs/Sculpt/Meshes/Prism.js +9 -8
- package/libs/Sculpt/Meshes/Rectangle.js +1 -1
- package/libs/Sculpt/Objects/Line/Editor.js +1 -1
- package/libs/Sculpt/index.js +1 -1
- package/libs/Sculpt/utils/three/ColoredMesh.js +1 -1
- package/libs/base/BasePlugin.js +2 -2
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -3
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -6
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -3
- package/libs/floorplan/ModelFloorplanPlugin/index.js +6 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +7 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +7 -7
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -3
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +6 -6
- package/libs/floorplan/index.js +1 -1
- package/libs/index.js +6 -6
- package/libs/shared-utils/equal.d.ts +1 -1
- package/libs/shared-utils/five/index.js +1 -1
- package/libs/shared-utils/five/lookObject.js +1 -1
- package/libs/shared-utils/index.d.ts +2 -1
- package/libs/shared-utils/index.js +57 -54
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +18 -7
- package/libs/shared-utils/tag.js +80 -61
- package/libs/shared-utils/three/index.js +1 -1
- package/package.json +1 -1
|
@@ -3,12 +3,12 @@ var m = (e, i, t) => i in e ? p(e, i, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var s = (e, i, t) => (m(e, typeof i != "symbol" ? i + "" : i, t), t);
|
|
4
4
|
import { IObject3D as d } from "../../shared-utils/three/IObject3D.js";
|
|
5
5
|
import { anyPositionToVector3 as P } from "../../shared-utils/positionToVector3.js";
|
|
6
|
+
import "../../shared-utils/tag.js";
|
|
6
7
|
import "three";
|
|
7
8
|
import "hammerjs";
|
|
8
9
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
9
10
|
import "@realsee/five/line";
|
|
10
11
|
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
11
|
-
import "../../shared-utils/tag.js";
|
|
12
12
|
import "../../shared-utils/three/core/Sphere.js";
|
|
13
13
|
import "animejs";
|
|
14
14
|
import { notNil as r } from "../../shared-utils/isNil.js";
|
|
@@ -12,13 +12,13 @@ var n = (i, e, t) => e in i ? u(i, e, { enumerable: !0, configurable: !0, writab
|
|
|
12
12
|
var o = (i, e, t) => (n(i, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
13
|
import { IObject3D as f } from "../../shared-utils/three/IObject3D.js";
|
|
14
14
|
import * as h from "three";
|
|
15
|
+
import "../../shared-utils/tag.js";
|
|
15
16
|
import "hammerjs";
|
|
16
17
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
17
18
|
import { DEFAULT_HIGHLIGHT_OPACITY as M } from "../typings/style.js";
|
|
18
19
|
import "@realsee/five/line";
|
|
19
20
|
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
20
21
|
import { anyPositionToVector3 as d } from "../../shared-utils/positionToVector3.js";
|
|
21
|
-
import "../../shared-utils/tag.js";
|
|
22
22
|
import "../../shared-utils/three/core/Sphere.js";
|
|
23
23
|
import "animejs";
|
|
24
24
|
import { notNil as g } from "../../shared-utils/isNil.js";
|
|
@@ -16,10 +16,10 @@ import { LineMaterial as H, THREE_Line2 as I } from "../../shared-utils/five/Fiv
|
|
|
16
16
|
import { LineGeometry as b } from "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
17
17
|
import { anyPositionToVector3 as v } from "../../shared-utils/positionToVector3.js";
|
|
18
18
|
import { IObject3D as x } from "../../shared-utils/three/IObject3D.js";
|
|
19
|
+
import { LightTag as R } from "../../shared-utils/tag.js";
|
|
19
20
|
import "hammerjs";
|
|
20
21
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
21
|
-
import { centerPoint as
|
|
22
|
-
import { LightTag as W } from "../../shared-utils/tag.js";
|
|
22
|
+
import { centerPoint as W } from "../../shared-utils/three/centerPoint.js";
|
|
23
23
|
import { removeAllTag as O } from "../utils/removeAllTag.js";
|
|
24
24
|
import { getLengthHTML as P } from "../utils/Meshes/getLengthHTML.js";
|
|
25
25
|
import { applyObjectMatrixWorld as _ } from "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
@@ -180,9 +180,9 @@ class ee extends x {
|
|
|
180
180
|
}).filter(c).map((t) => _(this, t));
|
|
181
181
|
i.forEach(([t, s], l) => {
|
|
182
182
|
var u;
|
|
183
|
-
const d =
|
|
183
|
+
const d = W(t, s);
|
|
184
184
|
this.doms[l] = (u = this.doms[l]) != null ? u : (() => {
|
|
185
|
-
const n = new
|
|
185
|
+
const n = new R(this.five);
|
|
186
186
|
return n.intersectCheck = !1, n.simulate3D = !0, n;
|
|
187
187
|
})(), this.doms[l].setPosition(d, [t, s]);
|
|
188
188
|
const a = (n) => {
|
|
@@ -13,6 +13,7 @@ var n = (s, i, t) => i in s ? d(s, i, { enumerable: !0, configurable: !0, writab
|
|
|
13
13
|
var e = (s, i, t) => (n(s, typeof i != "symbol" ? i + "" : i, t), t);
|
|
14
14
|
import { anyPositionToVector3 as b } from "../../shared-utils/positionToVector3.js";
|
|
15
15
|
import { PointMesh as P } from "./Point.js";
|
|
16
|
+
import "../../shared-utils/tag.js";
|
|
16
17
|
import "three";
|
|
17
18
|
import "hammerjs";
|
|
18
19
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -22,7 +23,7 @@ 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
25
|
import { IObject3D as M } from "../../shared-utils/three/IObject3D.js";
|
|
25
|
-
class
|
|
26
|
+
class R extends S {
|
|
26
27
|
constructor(t) {
|
|
27
28
|
super();
|
|
28
29
|
e(this, "name", "LineWithDotsMesh");
|
|
@@ -66,5 +67,5 @@ class N extends S {
|
|
|
66
67
|
}
|
|
67
68
|
}
|
|
68
69
|
export {
|
|
69
|
-
|
|
70
|
+
R as LineWithDotsMesh
|
|
70
71
|
};
|
|
@@ -24,11 +24,11 @@ import * as h from "three";
|
|
|
24
24
|
import { DEFAULT_HIGHLIGHT_OPACITY as I } from "../typings/style.js";
|
|
25
25
|
import { IObject3D as W } from "../../shared-utils/three/IObject3D.js";
|
|
26
26
|
import { anyPositionToVector3 as x } from "../../shared-utils/positionToVector3.js";
|
|
27
|
+
import { LightTag as B } from "../../shared-utils/tag.js";
|
|
27
28
|
import "hammerjs";
|
|
28
29
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
29
30
|
import "@realsee/five/line";
|
|
30
31
|
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
31
|
-
import { LightTag as B } from "../../shared-utils/tag.js";
|
|
32
32
|
import { removeAllTag as E } from "../utils/removeAllTag.js";
|
|
33
33
|
import { getLengthHTML as S } from "../utils/Meshes/getLengthHTML.js";
|
|
34
34
|
import { applyObjectMatrixWorld as T } from "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
@@ -11,8 +11,9 @@ var g = (n, o, t) => o in n ? b(n, o, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
};
|
|
12
12
|
var h = (n, o, t) => (g(n, typeof o != "symbol" ? o + "" : o, t), t);
|
|
13
13
|
import { IObject3D as c } from "../../shared-utils/three/IObject3D.js";
|
|
14
|
-
import { anyPositionToVector3 as
|
|
15
|
-
import
|
|
14
|
+
import { anyPositionToVector3 as p } from "../../shared-utils/positionToVector3.js";
|
|
15
|
+
import "../../shared-utils/tag.js";
|
|
16
|
+
import * as a from "three";
|
|
16
17
|
import "hammerjs";
|
|
17
18
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
18
19
|
import { LineMesh as y } from "./Line.js";
|
|
@@ -23,7 +24,7 @@ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
23
24
|
import { PolygonMesh as d } from "./Polygon.js";
|
|
24
25
|
import { PolygonWithEdgeMesh as u } from "./PolygonWithEdge.js";
|
|
25
26
|
import { intersectWithoutLine as S } from "../../shared-utils/three/core/Raycaster.js";
|
|
26
|
-
class
|
|
27
|
+
class D extends c {
|
|
27
28
|
constructor(t) {
|
|
28
29
|
super();
|
|
29
30
|
h(this, "name", "PrismMesh");
|
|
@@ -44,7 +45,7 @@ class z extends c {
|
|
|
44
45
|
var s, i;
|
|
45
46
|
const t = (s = this.topPolygon) == null ? void 0 : s.center, e = (i = this.bottomPolygon) == null ? void 0 : i.center;
|
|
46
47
|
if (t && e)
|
|
47
|
-
return new
|
|
48
|
+
return new a.Vector3().lerpVectors(t, e, 0.5);
|
|
48
49
|
}
|
|
49
50
|
get worldCenter() {
|
|
50
51
|
return this.updateMatrixWorld(), this.localToWorld(this.localCenter);
|
|
@@ -64,7 +65,7 @@ class z extends c {
|
|
|
64
65
|
});
|
|
65
66
|
}
|
|
66
67
|
setPoints(t) {
|
|
67
|
-
f(t.points) && this.setBottomPoints(t.points), f(t.heightPoint) && this.setTopHeightPoint(
|
|
68
|
+
f(t.points) && this.setBottomPoints(t.points), f(t.heightPoint) && this.setTopHeightPoint(p(t.heightPoint));
|
|
68
69
|
}
|
|
69
70
|
highlight() {
|
|
70
71
|
this.bottomPolygon.highlight(), this.topPolygon.highlight(), this.edgePlanes.children.forEach((t) => {
|
|
@@ -77,11 +78,11 @@ class z extends c {
|
|
|
77
78
|
});
|
|
78
79
|
}
|
|
79
80
|
setBottomPoints(t) {
|
|
80
|
-
this.bottomPolygon.setPoints(t.map(
|
|
81
|
+
this.bottomPolygon.setPoints(t.map(p)), this.heightPoint && this.setTopHeightPoint(this.heightPoint);
|
|
81
82
|
}
|
|
82
83
|
setTopHeightPoint(t) {
|
|
83
84
|
this.heightPoint = t, this.addIfNotExists(this.topPolygon);
|
|
84
|
-
const e = this.bottomPolygon.projectPoint(t), s = new
|
|
85
|
+
const e = this.bottomPolygon.projectPoint(t), s = new a.Vector3().subVectors(t, e);
|
|
85
86
|
this.up.copy(s.clone().normalize());
|
|
86
87
|
const r = this.bottomPolygon.points.map((l) => l.clone().add(s));
|
|
87
88
|
this.topPolygon.setPoints(r), this.setEdgePlanes();
|
|
@@ -104,5 +105,5 @@ class z extends c {
|
|
|
104
105
|
}
|
|
105
106
|
}
|
|
106
107
|
export {
|
|
107
|
-
|
|
108
|
+
D as PrismMesh
|
|
108
109
|
};
|
|
@@ -2,12 +2,12 @@ var l = Object.defineProperty;
|
|
|
2
2
|
var c = (r, e, t) => e in r ? l(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
3
|
var i = (r, e, t) => (c(r, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import { anyPositionToVector3 as a } from "../../shared-utils/positionToVector3.js";
|
|
5
|
+
import "../../shared-utils/tag.js";
|
|
5
6
|
import "three";
|
|
6
7
|
import "hammerjs";
|
|
7
8
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
8
9
|
import "@realsee/five/line";
|
|
9
10
|
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
10
|
-
import "../../shared-utils/tag.js";
|
|
11
11
|
import "../../shared-utils/three/core/Sphere.js";
|
|
12
12
|
import "animejs";
|
|
13
13
|
import { notNil as h } from "../../shared-utils/isNil.js";
|
|
@@ -5,12 +5,12 @@ import { BaseEditor as p } from "../Base/Editor.js";
|
|
|
5
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
|
+
import "../../../shared-utils/tag.js";
|
|
8
9
|
import "three";
|
|
9
10
|
import "hammerjs";
|
|
10
11
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
11
12
|
import "@realsee/five/line";
|
|
12
13
|
import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
13
|
-
import "../../../shared-utils/tag.js";
|
|
14
14
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
15
15
|
import "animejs";
|
|
16
16
|
import { notNil as m } from "../../../shared-utils/isNil.js";
|
package/libs/Sculpt/index.js
CHANGED
|
@@ -30,12 +30,12 @@ var a = (m, i, e) => new Promise((t, n) => {
|
|
|
30
30
|
import { globalModules as O } from "./utils/Modules/Global.js";
|
|
31
31
|
import { Subscribe as S } from "../shared-utils/Subscribe.js";
|
|
32
32
|
import { IObject3D as k } from "../shared-utils/three/IObject3D.js";
|
|
33
|
+
import "../shared-utils/tag.js";
|
|
33
34
|
import "three";
|
|
34
35
|
import "hammerjs";
|
|
35
36
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
36
37
|
import "@realsee/five/line";
|
|
37
38
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
38
|
-
import "../shared-utils/tag.js";
|
|
39
39
|
import "../shared-utils/three/core/Sphere.js";
|
|
40
40
|
import "animejs";
|
|
41
41
|
import { notNil as H } from "../shared-utils/isNil.js";
|
|
@@ -13,11 +13,11 @@ 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
15
|
import { IObject3D as p } from "../../../shared-utils/three/IObject3D.js";
|
|
16
|
+
import "../../../shared-utils/tag.js";
|
|
16
17
|
import "hammerjs";
|
|
17
18
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
18
19
|
import "@realsee/five/line";
|
|
19
20
|
import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
20
|
-
import "../../../shared-utils/tag.js";
|
|
21
21
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
22
22
|
import "animejs";
|
|
23
23
|
import { notNil as y } from "../../../shared-utils/isNil.js";
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -2,12 +2,12 @@ var o = Object.defineProperty;
|
|
|
2
2
|
var s = (e, t, r) => t in e ? o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
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
|
+
import "../shared-utils/tag.js";
|
|
5
6
|
import "three";
|
|
6
7
|
import "hammerjs";
|
|
7
8
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
8
9
|
import "@realsee/five/line";
|
|
9
10
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
10
|
-
import "../shared-utils/tag.js";
|
|
11
11
|
import "../shared-utils/three/core/Sphere.js";
|
|
12
12
|
import "animejs";
|
|
13
13
|
import { FiveUtil as a } from "../shared-utils/Utils/FiveUtil.js";
|
|
@@ -18,7 +18,7 @@ let P = class {
|
|
|
18
18
|
/**
|
|
19
19
|
* @realsee/dnalogel 版本号
|
|
20
20
|
*/
|
|
21
|
-
i(this, "VERSION", "3.50.
|
|
21
|
+
i(this, "VERSION", "3.50.14");
|
|
22
22
|
i(this, "NAME");
|
|
23
23
|
i(this, "five");
|
|
24
24
|
i(this, "workUtil");
|
|
@@ -40,11 +40,11 @@ import { getPxmm as T, getAttachedY as k } from "../../shared-utils/getPxmm.js";
|
|
|
40
40
|
import { correctFiveState as R } from "../utils/correctFiveState.js";
|
|
41
41
|
import { changeModelCanvasOpacity as A } from "../../shared-utils/changeModelCanvasOpacity.js";
|
|
42
42
|
import { FloorplanErrorType as m, SHOW_ANIME_DURATION as H } from "../utils/constant.js";
|
|
43
|
+
import "../../shared-utils/tag.js";
|
|
43
44
|
import "hammerjs";
|
|
44
45
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
45
46
|
import "@realsee/five/line";
|
|
46
47
|
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
47
|
-
import "../../shared-utils/tag.js";
|
|
48
48
|
import "../../shared-utils/three/core/Sphere.js";
|
|
49
49
|
import "animejs";
|
|
50
50
|
import { isNil as U } from "../../shared-utils/isNil.js";
|
|
@@ -89,12 +89,12 @@ import "../../shared-utils/five/getFiveModel.js";
|
|
|
89
89
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
90
90
|
import "../../shared-utils/nearlyEqual.js";
|
|
91
91
|
import "../../shared-utils/five/changeMode.js";
|
|
92
|
-
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
93
|
-
import "../../vendor/three/build/three.module.js";
|
|
94
92
|
import "../../shared-utils/positionToVector3.js";
|
|
95
93
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
96
94
|
import "../../shared-utils/three/temp.js";
|
|
97
95
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
96
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
97
|
+
import "../../vendor/three/build/three.module.js";
|
|
98
98
|
function W(d) {
|
|
99
99
|
const { latitude: r, longitude: t } = d, e = Math.abs(r - Math.PI / 2) > 5 * Math.PI / 180, i = t > 5 * (Math.PI / 180) && t < 355 * (Math.PI / 180);
|
|
100
100
|
return e || i;
|
|
@@ -39,12 +39,6 @@ import "../constant.js";
|
|
|
39
39
|
import "../../base/BasePluginWithData.js";
|
|
40
40
|
import "../../base/BasePlugin.js";
|
|
41
41
|
import "../../shared-utils/Subscribe.js";
|
|
42
|
-
import "hammerjs";
|
|
43
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
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";
|
|
48
42
|
import "../../shared-utils/tag.js";
|
|
49
43
|
import "../../shared-utils/positionToVector3.js";
|
|
50
44
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -55,6 +49,12 @@ import "../../shared-utils/Utils/WorkUtil.js";
|
|
|
55
49
|
import "../../shared-utils/five/transformPosition.js";
|
|
56
50
|
import "../../shared-utils/three/temp.js";
|
|
57
51
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
52
|
+
import "hammerjs";
|
|
53
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
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";
|
|
58
58
|
import "../../shared-utils/three/core/Sphere.js";
|
|
59
59
|
import "animejs";
|
|
60
60
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
@@ -39,12 +39,12 @@ import { Controller as T } from "../../base/BasePluginWithData.js";
|
|
|
39
39
|
import { correctFiveState as k } from "../utils/correctFiveState.js";
|
|
40
40
|
import { changeModelCanvasOpacity as F } from "../../shared-utils/changeModelCanvasOpacity.js";
|
|
41
41
|
import { FIVE_CAMERA_DEFAULT_FOV as R, FloorplanErrorType as p, SHOW_ANIME_DURATION as H } from "../utils/constant.js";
|
|
42
|
+
import "../../shared-utils/tag.js";
|
|
42
43
|
import "three";
|
|
43
44
|
import "hammerjs";
|
|
44
45
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
45
46
|
import "@realsee/five/line";
|
|
46
47
|
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
47
|
-
import "../../shared-utils/tag.js";
|
|
48
48
|
import "../../shared-utils/three/core/Sphere.js";
|
|
49
49
|
import "animejs";
|
|
50
50
|
import { isNil as G } from "../../shared-utils/isNil.js";
|
|
@@ -88,12 +88,12 @@ import "../../shared-utils/five/getFiveModel.js";
|
|
|
88
88
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
89
89
|
import "../../shared-utils/nearlyEqual.js";
|
|
90
90
|
import "../../shared-utils/five/changeMode.js";
|
|
91
|
-
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
92
|
-
import "../../vendor/three/build/three.module.js";
|
|
93
91
|
import "../../shared-utils/positionToVector3.js";
|
|
94
92
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
95
93
|
import "../../shared-utils/three/temp.js";
|
|
96
94
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
95
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
96
|
+
import "../../vendor/three/build/three.module.js";
|
|
97
97
|
function W(d) {
|
|
98
98
|
const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) > 5 * Math.PI / 180, i = t > 5 * (Math.PI / 180) && t < 355 * (Math.PI / 180);
|
|
99
99
|
return e || i;
|
|
@@ -40,12 +40,6 @@ import "three";
|
|
|
40
40
|
import "../../base/BasePluginWithData.js";
|
|
41
41
|
import "../../base/BasePlugin.js";
|
|
42
42
|
import "../../shared-utils/Subscribe.js";
|
|
43
|
-
import "hammerjs";
|
|
44
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
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";
|
|
49
43
|
import "../../shared-utils/tag.js";
|
|
50
44
|
import "../../shared-utils/positionToVector3.js";
|
|
51
45
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -56,6 +50,12 @@ import "../../shared-utils/Utils/WorkUtil.js";
|
|
|
56
50
|
import "../../shared-utils/five/transformPosition.js";
|
|
57
51
|
import "../../shared-utils/three/temp.js";
|
|
58
52
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
53
|
+
import "hammerjs";
|
|
54
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
55
|
+
import "@realsee/five/line";
|
|
56
|
+
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
57
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
58
|
+
import "../../vendor/three/build/three.module.js";
|
|
59
59
|
import "../../shared-utils/three/core/Sphere.js";
|
|
60
60
|
import "animejs";
|
|
61
61
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
@@ -48,15 +48,9 @@ import "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
|
48
48
|
import "../../shared-utils/isTruelyObject.js";
|
|
49
49
|
import "../../base/BasePlugin.js";
|
|
50
50
|
import "../../shared-utils/Subscribe.js";
|
|
51
|
-
import "three";
|
|
52
|
-
import "hammerjs";
|
|
53
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
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";
|
|
58
51
|
import "../../shared-utils/tag.js";
|
|
59
52
|
import "../../shared-utils/positionToVector3.js";
|
|
53
|
+
import "three";
|
|
60
54
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
61
55
|
import "../../shared-utils/five/getFiveModel.js";
|
|
62
56
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
@@ -65,6 +59,12 @@ import "../../shared-utils/Utils/WorkUtil.js";
|
|
|
65
59
|
import "../../shared-utils/five/transformPosition.js";
|
|
66
60
|
import "../../shared-utils/three/temp.js";
|
|
67
61
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
62
|
+
import "hammerjs";
|
|
63
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
64
|
+
import "@realsee/five/line";
|
|
65
|
+
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
66
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
67
|
+
import "../../vendor/three/build/three.module.js";
|
|
68
68
|
import "../../shared-utils/three/core/Sphere.js";
|
|
69
69
|
import "animejs";
|
|
70
70
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
@@ -19,15 +19,9 @@ import "../../shared-utils/isTruelyObject.js";
|
|
|
19
19
|
import "../../base/BasePluginWithData.js";
|
|
20
20
|
import "../../base/BasePlugin.js";
|
|
21
21
|
import "../../shared-utils/Subscribe.js";
|
|
22
|
-
import "three";
|
|
23
|
-
import "hammerjs";
|
|
24
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
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";
|
|
29
22
|
import "../../shared-utils/tag.js";
|
|
30
23
|
import "../../shared-utils/positionToVector3.js";
|
|
24
|
+
import "three";
|
|
31
25
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
32
26
|
import "../../shared-utils/five/getFiveModel.js";
|
|
33
27
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
@@ -36,6 +30,12 @@ import "../../shared-utils/Utils/WorkUtil.js";
|
|
|
36
30
|
import "../../shared-utils/five/transformPosition.js";
|
|
37
31
|
import "../../shared-utils/three/temp.js";
|
|
38
32
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
33
|
+
import "hammerjs";
|
|
34
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
35
|
+
import "@realsee/five/line";
|
|
36
|
+
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
37
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
38
|
+
import "../../vendor/three/build/three.module.js";
|
|
39
39
|
import "../../shared-utils/three/core/Sphere.js";
|
|
40
40
|
import "animejs";
|
|
41
41
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
@@ -38,11 +38,11 @@ import { Controller as M } from "../../base/BasePluginWithData.js";
|
|
|
38
38
|
import { changeMode as P } from "../../shared-utils/five/changeMode.js";
|
|
39
39
|
import { getPxmm as D, getAttachedY as O } from "../../shared-utils/getPxmm.js";
|
|
40
40
|
import { changeModelCanvasOpacity as b } from "../../shared-utils/changeModelCanvasOpacity.js";
|
|
41
|
+
import "../../shared-utils/tag.js";
|
|
41
42
|
import "hammerjs";
|
|
42
43
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
43
44
|
import "@realsee/five/line";
|
|
44
45
|
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
45
|
-
import "../../shared-utils/tag.js";
|
|
46
46
|
import "../../shared-utils/three/core/Sphere.js";
|
|
47
47
|
import "animejs";
|
|
48
48
|
import { isNil as k } from "../../shared-utils/isNil.js";
|
|
@@ -86,12 +86,12 @@ import "../../shared-utils/five/getFiveModel.js";
|
|
|
86
86
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
87
87
|
import "../../shared-utils/nearlyEqual.js";
|
|
88
88
|
import "../../shared-utils/to.js";
|
|
89
|
-
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
90
|
-
import "../../vendor/three/build/three.module.js";
|
|
91
89
|
import "../../shared-utils/positionToVector3.js";
|
|
92
90
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
93
91
|
import "../../shared-utils/three/temp.js";
|
|
94
92
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
93
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
94
|
+
import "../../vendor/three/build/three.module.js";
|
|
95
95
|
class Jt extends M {
|
|
96
96
|
constructor(t, e) {
|
|
97
97
|
var h, p;
|
|
@@ -38,12 +38,6 @@ import "../constant.js";
|
|
|
38
38
|
import "../../base/BasePluginWithData.js";
|
|
39
39
|
import "../../base/BasePlugin.js";
|
|
40
40
|
import "../../shared-utils/Subscribe.js";
|
|
41
|
-
import "hammerjs";
|
|
42
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
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";
|
|
47
41
|
import "../../shared-utils/tag.js";
|
|
48
42
|
import "../../shared-utils/positionToVector3.js";
|
|
49
43
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -54,6 +48,12 @@ import "../../shared-utils/Utils/WorkUtil.js";
|
|
|
54
48
|
import "../../shared-utils/five/transformPosition.js";
|
|
55
49
|
import "../../shared-utils/three/temp.js";
|
|
56
50
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
51
|
+
import "hammerjs";
|
|
52
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
53
|
+
import "@realsee/five/line";
|
|
54
|
+
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
55
|
+
import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
56
|
+
import "../../vendor/three/build/three.module.js";
|
|
57
57
|
import "../../shared-utils/three/core/Sphere.js";
|
|
58
58
|
import "animejs";
|
|
59
59
|
import "../../shared-utils/url/absoluteUrl.js";
|
package/libs/floorplan/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
2
2
|
import "three";
|
|
3
|
+
import "../shared-utils/tag.js";
|
|
3
4
|
import "hammerjs";
|
|
4
5
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
5
6
|
import "@realsee/five/line";
|
|
6
7
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
7
|
-
import "../shared-utils/tag.js";
|
|
8
8
|
import "../shared-utils/three/core/Sphere.js";
|
|
9
9
|
import "animejs";
|
|
10
10
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
package/libs/index.js
CHANGED
|
@@ -77,12 +77,6 @@ import "@realsee/five";
|
|
|
77
77
|
import "three";
|
|
78
78
|
import "./CSS3DRenderPlugin/Controller.js";
|
|
79
79
|
import "./CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
80
|
-
import "hammerjs";
|
|
81
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
82
|
-
import "@realsee/five/line";
|
|
83
|
-
import "./vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
84
|
-
import "./vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
85
|
-
import "./vendor/three/build/three.module.js";
|
|
86
80
|
import "./shared-utils/tag.js";
|
|
87
81
|
import "./shared-utils/positionToVector3.js";
|
|
88
82
|
import "./shared-utils/five/vector3ToScreen.js";
|
|
@@ -94,6 +88,12 @@ import "./shared-utils/Utils/WorkUtil.js";
|
|
|
94
88
|
import "./shared-utils/five/transformPosition.js";
|
|
95
89
|
import "./shared-utils/three/temp.js";
|
|
96
90
|
import "./shared-utils/dom/resizeObserver.js";
|
|
91
|
+
import "hammerjs";
|
|
92
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
93
|
+
import "@realsee/five/line";
|
|
94
|
+
import "./vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
95
|
+
import "./vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
96
|
+
import "./vendor/three/build/three.module.js";
|
|
97
97
|
import "./shared-utils/three/core/Sphere.js";
|
|
98
98
|
import "animejs";
|
|
99
99
|
import "./shared-utils/url/absoluteUrl.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "three";
|
|
2
2
|
import "hammerjs";
|
|
3
3
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
4
|
+
import "../tag.js";
|
|
4
5
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
5
6
|
import "@realsee/five/line";
|
|
6
7
|
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
7
|
-
import "../tag.js";
|
|
8
8
|
import "../three/core/Sphere.js";
|
|
9
9
|
import "animejs";
|
|
10
10
|
function u(e) {
|
|
@@ -28,13 +28,13 @@ var g = (o, e, t) => new Promise((r, m) => {
|
|
|
28
28
|
import * as n from "three";
|
|
29
29
|
import "hammerjs";
|
|
30
30
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
31
|
+
import "../tag.js";
|
|
31
32
|
import { vectorToCoordinates as N } from "../vectorToCoordinate.js";
|
|
32
33
|
import { FiveUtil as O } from "../Utils/FiveUtil.js";
|
|
33
34
|
import { notNil as Y } from "../isNil.js";
|
|
34
35
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
35
36
|
import "@realsee/five/line";
|
|
36
37
|
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
37
|
-
import "../tag.js";
|
|
38
38
|
import { worldBoundingSphere as j } from "../three/boundingBox.js";
|
|
39
39
|
import "animejs";
|
|
40
40
|
function ot(o, e, t) {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export * from './math';
|
|
2
|
+
export * from './tag';
|
|
2
3
|
export * from './five';
|
|
3
4
|
export * from './three';
|
|
4
5
|
export * from './isNil';
|
|
5
6
|
export * from './uuid';
|
|
6
7
|
export * from './url/absoluteUrl';
|
|
7
8
|
export * from './animationFrame';
|
|
8
|
-
export
|
|
9
|
+
export * from './equal';
|