@realsee/dnalogel 3.42.0 → 3.44.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 +8 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +4 -2
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +2 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +6 -1
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +2 -0
- package/dist/Sculpt/Meshes/Line.d.ts +19 -1
- package/dist/Sculpt/utils/color.d.ts +1 -1
- package/dist/index.cjs.js +102 -68
- package/dist/index.js +7597 -7330
- package/dist/index.umd.js +103 -69
- package/dist/shared-utils/five/getPosition.d.ts +12 -4
- package/dist/shared-utils/five/initialCSS3DRender.d.ts +2 -0
- package/dist/shared-utils/math/deg2Rad.d.ts +1 -1
- package/dist/shared-utils/math/rad2Deg.d.ts +1 -1
- package/dist/shared-utils/positionToVector3.d.ts +6 -6
- package/{libs/shared-utils/three/PointSelector.d.ts → dist/shared-utils/three/PointSelector/index.d.ts} +23 -7
- package/dist/shared-utils/three/{PointHelper.d.ts → PointSelector/utils/PointHelper.d.ts} +11 -3
- package/dist/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +30 -0
- package/dist/shared-utils/three/{PointSelectorHelper.d.ts → PointSelector/utils/PointSelectorHelper.d.ts} +9 -10
- package/dist/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
- package/dist/shared-utils/three/index.d.ts +2 -3
- package/libs/AreaMakerPlugin/Controller.js +5 -18
- package/libs/AreaMakerPlugin/index.js +4 -17
- package/libs/AreaMakerPlugin/utils/Item.js +13 -26
- package/libs/CSS3DRenderPlugin/Controller.js +9 -6
- package/libs/CSS3DRenderPlugin/index.js +12 -9
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +6 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +4 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +73 -56
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +11 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +2 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +14 -14
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +4 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.js +13 -0
- package/libs/CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js +85 -0
- package/libs/CruisePlugin/BaseController.js +20 -33
- package/libs/CruisePlugin/Move.js +25 -23
- package/libs/CruisePlugin/Work.js +10 -8
- package/libs/CruisePlugin/index.js +23 -21
- package/libs/CurrentPanoImagePlugin/Controller.js +30 -43
- package/libs/CurrentPanoImagePlugin/index.js +5 -18
- package/libs/GuideLinePlugin/Controller.js +15 -13
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -17
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +4 -5
- package/libs/GuideLinePlugin/GuideLineModeItem.js +21 -19
- package/libs/GuideLinePlugin/index.js +23 -21
- package/libs/ModelMakerPlugin/Controller.js +19 -30
- package/libs/ModelMakerPlugin/index.js +11 -22
- package/libs/ModelTVVideoPlugin/Plugin.js +13 -10
- package/libs/ModelTVVideoPlugin/index.js +12 -9
- package/libs/Object3DHelperPlugin/Controller.js +7 -5
- package/libs/Object3DHelperPlugin/index.js +23 -21
- package/libs/PanoCompassPlugin/Controller.js +18 -15
- package/libs/PanoCompassPlugin/index.js +21 -18
- package/libs/PanoDoorLabelPlugin/BaseController.js +24 -37
- package/libs/PanoDoorLabelPlugin/Controller.js +56 -69
- package/libs/PanoDoorLabelPlugin/index.js +5 -18
- package/libs/PanoMeasurePlugin/Components/Controller0.js +40 -47
- package/libs/PanoMeasurePlugin/Components/Controller1.js +72 -79
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +6 -1
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +53 -39
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/EditController.js +177 -153
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +60 -74
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +2 -0
- package/libs/PanoMeasurePlugin/Controller/index.js +59 -60
- package/libs/PanoMeasurePlugin/Model/area.js +30 -44
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +3 -16
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +42 -49
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +1 -1
- package/libs/PanoMeasurePlugin/index.js +35 -40
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +23 -36
- package/libs/PanoSpatialTagPlugin/Plugin.js +41 -38
- package/libs/PanoSpatialTagPlugin/index.js +10 -7
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +80 -93
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +55 -69
- package/libs/PanoTagPlugin/Components/Tag/index.js +135 -145
- package/libs/PanoTagPlugin/Components/TagContainer.js +42 -52
- package/libs/PanoTagPlugin/Components/TagItem.js +74 -84
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +87 -88
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +29 -39
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +11 -21
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +18 -28
- package/libs/PanoTagPlugin/controller/TagRender.js +18 -16
- package/libs/PanoTagPlugin/controller/TagUtil.js +12 -9
- package/libs/PanoTagPlugin/controller/index.js +27 -25
- package/libs/PanoTagPlugin/index.js +28 -26
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +43 -57
- package/libs/PanoVideoPlugin/Controller.js +52 -65
- package/libs/PanoVideoPlugin/VideoMeshController.js +11 -25
- package/libs/PanoVideoPlugin/index.js +8 -21
- package/libs/PipelinePlugin/Controller.js +44 -57
- package/libs/PipelinePlugin/index.js +5 -18
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +20 -34
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +16 -30
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +39 -53
- package/libs/Sculpt/Meshes/Box.js +3 -3
- package/libs/Sculpt/Meshes/Cylinder.js +14 -14
- package/libs/Sculpt/Meshes/Line.d.ts +19 -1
- package/libs/Sculpt/Meshes/Line.js +40 -41
- package/libs/Sculpt/Meshes/LineWithDots.js +5 -6
- package/libs/Sculpt/Meshes/Point.js +3 -3
- package/libs/Sculpt/Meshes/Polyline.js +3 -3
- package/libs/Sculpt/Meshes/Prism.js +11 -12
- package/libs/Sculpt/Meshes/Rectangle.js +3 -3
- package/libs/Sculpt/Objects/Point/Editor.js +10 -10
- package/libs/Sculpt/Objects/Polygon/Editor.js +6 -6
- package/libs/Sculpt/Objects/Polyline/Editor.js +4 -4
- package/libs/Sculpt/index.js +3 -3
- package/libs/Sculpt/utils/Modules/Global.js +1 -1
- package/libs/Sculpt/utils/color.d.ts +1 -1
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -3
- package/libs/base/BasePlugin.js +4 -4
- package/libs/floorplan/Components/Compass.js +29 -31
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +9 -22
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -19
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -18
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -18
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +48 -61
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -18
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +28 -41
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -18
- package/libs/floorplan/index.js +3 -3
- package/libs/index.js +140 -137
- package/libs/shared-utils/five/getPosition.d.ts +12 -4
- package/libs/shared-utils/five/getPosition.js +23 -23
- package/libs/shared-utils/five/index.js +2 -2
- package/libs/shared-utils/five/initialCSS3DRender.d.ts +2 -0
- package/libs/shared-utils/five/initialCSS3DRender.js +17 -0
- package/libs/shared-utils/five/lookObject.js +3 -3
- package/libs/shared-utils/index.js +38 -40
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/deg2Rad.d.ts +1 -1
- package/libs/shared-utils/math/rad2Deg.d.ts +1 -1
- package/libs/shared-utils/positionToVector3.d.ts +6 -6
- package/{dist/shared-utils/three/PointSelector.d.ts → libs/shared-utils/three/PointSelector/index.d.ts} +23 -7
- package/libs/shared-utils/three/{PointSelector.js → PointSelector/index.js} +54 -45
- package/libs/shared-utils/three/{PointHelper.d.ts → PointSelector/utils/PointHelper.d.ts} +11 -3
- package/libs/shared-utils/three/PointSelector/utils/PointHelper.js +95 -0
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +30 -0
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +153 -0
- package/libs/shared-utils/three/{PointSelectorHelper.d.ts → PointSelector/utils/PointSelectorHelper.d.ts} +9 -10
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +60 -0
- package/libs/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.js +3 -4
- package/libs/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
- package/libs/shared-utils/three/index.d.ts +2 -3
- package/libs/shared-utils/three/index.js +3 -3
- package/package.json +3 -3
- package/dist/shared-utils/three/PointDomHelper.d.ts +0 -18
- package/libs/shared-utils/three/PointDomHelper.d.ts +0 -18
- package/libs/shared-utils/three/PointDomHelper.js +0 -62
- package/libs/shared-utils/three/PointHelper.js +0 -73
- package/libs/shared-utils/three/PointSelectorHelper.js +0 -52
- /package/dist/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.d.ts +0 -0
- /package/libs/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.d.ts +0 -0
|
@@ -16,12 +16,12 @@ import { DEFAULT_HIGHLIGHT_OPACITY as b } from "../utils/color.js";
|
|
|
16
16
|
import { IObject3D as E } from "../../shared-utils/three/IObject3D.js";
|
|
17
17
|
import { anyPositionToVector3 as m } from "../../shared-utils/positionToVector3.js";
|
|
18
18
|
import "hammerjs";
|
|
19
|
-
import "
|
|
20
|
-
import "
|
|
21
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
19
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
20
|
+
import "@realsee/five/line";
|
|
22
21
|
import "../../shared-utils/three/THREESphere.js";
|
|
23
22
|
import "animejs";
|
|
24
23
|
import { notNil as u } from "../../shared-utils/isNil.js";
|
|
24
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
25
25
|
const F = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sHDgwCEMBJZu0AAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAABM5JREFUWMO1V0tPG2cUPZ4Hxh6DazIOrjFNqJs0FIMqWFgWQkatsmvVbtggKlSVRVf5AWz4AWz4AUSKEChll19QJYSXkECuhFxsHjEhxCYm+DWGMZ5HF72DJq4bAzFXurI0M/I5997v3u9cC65vTJVn2lX/xHINQOYSBLTLEuIuCWw4Z3IGAEvf6ASmVHjNzHCXBG4A0AjACsAOwEbO0nsFQBnAGYASAIl+ZRMR7SolMEdsByD09fV5R0ZGgg8ePPjW5/N1iqLYpuu6RZblciKR2I9Go69evnwZnZ+fjwI4IS8AKBIRzeQfJWCANwKwh0KhtrGxsYehUOin1tbW+zzP23ietzY2NnIAoGmaLsuyUiqVyvl8XtrY2NiamZn589mzZxsAUgCOAeQAnFI2tI+VxIjaAeDzoaGh7xYWFuZOTk6OZVk+12uYqqq6JEnn0Wg0OT4+/geAXwGEAdwDIFJQXC1wO4DWR48e/RCPxxclSSroVzRFUbSDg4P848ePFwH8DuAhkWih83TRQWxFOXgAwvDwcOfo6OhvXV1d39tsNtuVBwTDWBwOh1UUxVsMw1hXVlbSdCgNV43uYSvrHg6H24aHh38eHBz85TrgF9FYLHA4HLzH43FvbW2d7u/vG+dANp8FpqIlbd3d3V8Fg8EfBUFw4BONZVmL3+9vHhkZCQL4AoAHgJPK8G+yzC0XDofdoVAo5PP5vkadTBAEtr+/39ff3x8gAp/RPOEqx2qjx+NpvXv3bk9DQ0NDvQgwDIOWlhZrMBj8kgi0UJdxRgYMArzL5XJ7vd57qLPZ7Xamp6fnNgBXtQxcjFuHw+Hyer3t9SYgCAITCAScAJoBNNEY/08GOFVVrfVMv7kMNDntFD1vjIAPrlRN0xjckOm6biFQ3jwNPwDMZrOnqVTqfb3Bi8Wivru7W/VCYkwPlKOjo0IikXh7EwQikYgE4Nw0CfXKDCipVCoTj8df3QABbW1tLUc6oUgkFPMkVACUNjc337148eKvw8PDbJ2jP1taWkoCyNDVXDSECmNSK4qiKNLq6urW8+fPI/UicHx8rD59+jSVy+WOAKSJhKENwFItLtoxk8mwsixzHR0dHe3t7c5PAU+n09rs7OzJkydPYqVSaQfANoDXALIk31S2smU1TWMPDg7K5XKZ7+3t9TudTut1U7+wsFCcmJiIpdPpbQBxADsAknQWymYCOukBHYCuKApisdhpMpnURFEU79y503TVyKenpzOTk5M7e3t7MQKPV0Zv1gNm+awB0MvlshqLxfLb29uyJElWURSbXC4XXyvqxcXFs6mpqeTc3Nzu3t7e3wQcA7BPZ8Cov1pNlJplmQtAG8MwHV6v95tAINA5MDBwPxAIuLu6upr8fr/VAN3c3JQjkcjZ+vp6fnl5+d2bN29SuVzuNYAEpf01CdRChUL+X1VskHACuA3Ay3Fcu9vt7nA6nZ7m5uYWQRCaNE3jVVW15PP580KhIGUymWw2m00DOAJwSP4WwPtq4LX2Ao6USxNlQyS/RcQcdLGwlNIz6vEMAaZpNzCk2Pll94LK/cDYimxERiBwG10sxjgvEZBE0UpE6vxj+0Ct5bTaXthgEhRmja8QWNkkPGsuIpfdjpkK+cZUWTC0KredVmtD/gdlSl6EG4AMvQAAAABJRU5ErkJggg==";
|
|
26
26
|
let w = null;
|
|
27
27
|
class O extends E {
|
|
@@ -24,12 +24,12 @@ import { anyPositionToVector3 as j } from "../../shared-utils/positionToVector3.
|
|
|
24
24
|
import { IObject3D as F } from "../../shared-utils/three/IObject3D.js";
|
|
25
25
|
import * as H from "three";
|
|
26
26
|
import "hammerjs";
|
|
27
|
-
import "
|
|
28
|
-
import "
|
|
29
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
27
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
28
|
+
import "@realsee/five/line";
|
|
30
29
|
import "../../shared-utils/three/THREESphere.js";
|
|
31
30
|
import "animejs";
|
|
32
31
|
import { notNil as I } from "../../shared-utils/isNil.js";
|
|
32
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
33
33
|
import { LineWithDotsMesh as L } from "./LineWithDots.js";
|
|
34
34
|
import { closeVectors as N } from "../../shared-utils/three/closeVectors.js";
|
|
35
35
|
class v extends F {
|
|
@@ -5,17 +5,16 @@ import { IObject3D as g } from "../../shared-utils/three/IObject3D.js";
|
|
|
5
5
|
import { anyPositionToVector3 as P } from "../../shared-utils/positionToVector3.js";
|
|
6
6
|
import * as c from "three";
|
|
7
7
|
import "hammerjs";
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
10
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
8
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
9
|
+
import { LineMesh as m } from "./Line.js";
|
|
11
10
|
import "../../shared-utils/three/THREESphere.js";
|
|
12
11
|
import "animejs";
|
|
13
|
-
import { notNil as
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
12
|
+
import { notNil as p } from "../../shared-utils/isNil.js";
|
|
13
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
14
|
+
import { PolygonMesh as y } from "./Polygon.js";
|
|
16
15
|
import { PolygonWithEdgeMesh as f } from "./PolygonWithEdge.js";
|
|
17
16
|
import { intersectWithoutLine as u } from "../../shared-utils/three/THREERaycaster.js";
|
|
18
|
-
class
|
|
17
|
+
class L extends g {
|
|
19
18
|
constructor(t) {
|
|
20
19
|
super();
|
|
21
20
|
h(this, "name", "PrismMesh");
|
|
@@ -51,11 +50,11 @@ class j extends g {
|
|
|
51
50
|
}
|
|
52
51
|
setStyle(t) {
|
|
53
52
|
this.bottomPolygon.setStyle(t), this.topPolygon.setStyle(t), this.edgePlanes.children.forEach((o) => {
|
|
54
|
-
(o instanceof
|
|
53
|
+
(o instanceof m || o instanceof y) && o.setStyle(t);
|
|
55
54
|
});
|
|
56
55
|
}
|
|
57
56
|
setPoints(t) {
|
|
58
|
-
|
|
57
|
+
p(t.points) && this.setBottomPoints(t.points), p(t.heightPoint) && this.setTopHeightPoint(P(t.heightPoint));
|
|
59
58
|
}
|
|
60
59
|
highlight() {
|
|
61
60
|
this.bottomPolygon.highlight(), this.topPolygon.highlight(), this.edgePlanes.children.forEach((t) => {
|
|
@@ -87,13 +86,13 @@ class j extends g {
|
|
|
87
86
|
this.addIfNotExists(this.edgePlanes), this.edgePlanes.removeChildren(), t.forEach((n, e) => {
|
|
88
87
|
if (e === 0)
|
|
89
88
|
return;
|
|
90
|
-
const r = new
|
|
89
|
+
const r = new y({ color: this.color });
|
|
91
90
|
r.setPoints([t[e - 1], t[e], o[e], o[e - 1]]);
|
|
92
|
-
const l = new
|
|
91
|
+
const l = new m({ lineColor: this.lineColor, lineWidth: this.lineWidth });
|
|
93
92
|
l.name = "EdgeLine", l.setPoints([t[e - 1], o[e - 1]]), this.edgePlanes.add(r, l);
|
|
94
93
|
});
|
|
95
94
|
}
|
|
96
95
|
}
|
|
97
96
|
export {
|
|
98
|
-
|
|
97
|
+
L as PrismMesh
|
|
99
98
|
};
|
|
@@ -4,12 +4,12 @@ var i = (r, e, t) => (h(r, typeof e != "symbol" ? e + "" : e, t), t);
|
|
|
4
4
|
import { anyPositionToVector3 as a } from "../../shared-utils/positionToVector3.js";
|
|
5
5
|
import * as u from "three";
|
|
6
6
|
import "hammerjs";
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
7
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
8
|
+
import "@realsee/five/line";
|
|
10
9
|
import "../../shared-utils/three/THREESphere.js";
|
|
11
10
|
import "animejs";
|
|
12
11
|
import { notNil as s } from "../../shared-utils/isNil.js";
|
|
12
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
13
13
|
import { PolygonMesh as f } from "./Polygon.js";
|
|
14
14
|
import { RectangleGeometry as g } from "../utils/three/RectangleGeometry.js";
|
|
15
15
|
import { getBetterNormal as d } from "../utils/getBetterNormal.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var a = (r,
|
|
3
|
-
var o = (r,
|
|
1
|
+
var s = Object.defineProperty;
|
|
2
|
+
var a = (r, i, t) => i in r ? s(r, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[i] = t;
|
|
3
|
+
var o = (r, i, t) => (a(r, typeof i != "symbol" ? i + "" : i, t), t);
|
|
4
4
|
import { BaseEditor as c } from "../Base/Editor.js";
|
|
5
5
|
import { Sculpt as g } from "../../index.js";
|
|
6
6
|
import { getIntersectByRaycaster as b } from "../../../shared-utils/five/getPosition.js";
|
|
7
|
-
class
|
|
8
|
-
constructor(
|
|
9
|
-
super(
|
|
10
|
-
o(this, "onDrag", (
|
|
7
|
+
class u extends c {
|
|
8
|
+
constructor(t) {
|
|
9
|
+
super(t);
|
|
10
|
+
o(this, "onDrag", (t) => {
|
|
11
11
|
var e;
|
|
12
|
-
const
|
|
13
|
-
(e = this.originObject.pointMesh) == null || e.position.copy(
|
|
12
|
+
const n = b(g.modules.five, t.raycaster, { virtualPoint: !0 });
|
|
13
|
+
(e = this.originObject.pointMesh) == null || e.position.copy(n.point);
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
16
|
enable() {
|
|
@@ -21,5 +21,5 @@ class l extends c {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
export {
|
|
24
|
-
|
|
24
|
+
u as PointEditor
|
|
25
25
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var a = Object.defineProperty;
|
|
2
2
|
var g = (o, i, t) => i in o ? a(o, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[i] = t;
|
|
3
|
-
var
|
|
3
|
+
var s = (o, i, t) => (g(o, typeof i != "symbol" ? i + "" : i, t), t);
|
|
4
4
|
import { Sculpt as c } from "../../index.js";
|
|
5
5
|
import { getIntersectByRaycaster as p } from "../../../shared-utils/five/getPosition.js";
|
|
6
6
|
import { LineEditor as h } from "../Polyline/Editor.js";
|
|
7
|
-
class
|
|
7
|
+
class f extends h {
|
|
8
8
|
constructor(t) {
|
|
9
9
|
super(t);
|
|
10
|
-
|
|
10
|
+
s(this, "onDrag", (t) => {
|
|
11
11
|
if (!this.draggingPoints || this.draggingPoints.length === 0)
|
|
12
12
|
return;
|
|
13
|
-
const e = p(c.modules.five, t.raycaster), n = this.originObject.areaMesh.projectPoint(e.point);
|
|
14
|
-
this.draggingPoints.forEach((
|
|
13
|
+
const e = p(c.modules.five, t.raycaster, { virtualPoint: !0 }), n = this.originObject.areaMesh.projectPoint(e.point);
|
|
14
|
+
this.draggingPoints.forEach((r) => r.position.copy(n)), this.originObject.areaMesh.setPoints(this.pointMeshes.map((r) => r.position));
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
17
|
get points() {
|
|
@@ -19,5 +19,5 @@ class u extends h {
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
export {
|
|
22
|
-
|
|
22
|
+
f as PolygonEditor
|
|
23
23
|
};
|
|
@@ -7,12 +7,12 @@ import { PointMesh as a } from "../../Meshes/Point.js";
|
|
|
7
7
|
import { getIntersectByRaycaster as h } from "../../../shared-utils/five/getPosition.js";
|
|
8
8
|
import "three";
|
|
9
9
|
import "hammerjs";
|
|
10
|
-
import "
|
|
11
|
-
import "
|
|
12
|
-
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
10
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
11
|
+
import "@realsee/five/line";
|
|
13
12
|
import "../../../shared-utils/three/THREESphere.js";
|
|
14
13
|
import "animejs";
|
|
15
14
|
import { notNil as l } from "../../../shared-utils/isNil.js";
|
|
15
|
+
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
16
16
|
class m extends p {
|
|
17
17
|
constructor(t) {
|
|
18
18
|
super(t);
|
|
@@ -47,7 +47,7 @@ class B extends m {
|
|
|
47
47
|
r(this, "onDrag", (t) => {
|
|
48
48
|
if (!this.draggingPoints || this.draggingPoints.length === 0)
|
|
49
49
|
return;
|
|
50
|
-
const i = h(n.modules.five, t.raycaster);
|
|
50
|
+
const i = h(n.modules.five, t.raycaster, { virtualPoint: !0 });
|
|
51
51
|
this.draggingPoints.forEach((o) => o.position.copy(i.point)), this.originObject.polyLineMesh.setPoints(this.pointMeshes.map((o) => o.position));
|
|
52
52
|
});
|
|
53
53
|
}
|
package/libs/Sculpt/index.js
CHANGED
|
@@ -32,12 +32,12 @@ import { Subscribe as S } from "../shared-utils/Subscribe.js";
|
|
|
32
32
|
import { IObject3D as L } from "../shared-utils/three/IObject3D.js";
|
|
33
33
|
import "three";
|
|
34
34
|
import "hammerjs";
|
|
35
|
-
import "
|
|
36
|
-
import "
|
|
37
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
35
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
36
|
+
import "@realsee/five/line";
|
|
38
37
|
import "../shared-utils/three/THREESphere.js";
|
|
39
38
|
import "animejs";
|
|
40
39
|
import { notNil as U } from "../shared-utils/isNil.js";
|
|
40
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
41
41
|
import { recurveFindObject as H } from "../shared-utils/three/recurveFindObject.js";
|
|
42
42
|
import { Polyline as g } from "./Objects/Polyline/index.js";
|
|
43
43
|
import { Point as P } from "./Objects/Point/index.js";
|
|
@@ -4,7 +4,7 @@ var t = (i, e, o) => (n(i, typeof e != "symbol" ? e + "" : e, o), o);
|
|
|
4
4
|
import { Cursor as s } from "./Cursor.js";
|
|
5
5
|
import { Object3DHelperController as l } from "../../../Object3DHelperPlugin/Controller.js";
|
|
6
6
|
import { FiveDomEvents as h } from "../../../shared-utils/five/FiveDomEvents.js";
|
|
7
|
-
import { PointSelector as c } from "../../../shared-utils/three/PointSelector.js";
|
|
7
|
+
import { PointSelector as c } from "../../../shared-utils/three/PointSelector/index.js";
|
|
8
8
|
class f {
|
|
9
9
|
constructor() {
|
|
10
10
|
t(this, "five");
|
|
@@ -14,12 +14,12 @@ import * as s from "three";
|
|
|
14
14
|
import { DEFAULT_COLOR as M } from "../color.js";
|
|
15
15
|
import { IObject3D as B } from "../../../shared-utils/three/IObject3D.js";
|
|
16
16
|
import "hammerjs";
|
|
17
|
-
import "
|
|
18
|
-
import "
|
|
19
|
-
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
17
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
18
|
+
import "@realsee/five/line";
|
|
20
19
|
import "../../../shared-utils/three/THREESphere.js";
|
|
21
20
|
import "animejs";
|
|
22
21
|
import { notNil as m } from "../../../shared-utils/isNil.js";
|
|
22
|
+
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
23
23
|
class R extends B {
|
|
24
24
|
constructor(e) {
|
|
25
25
|
var h, y;
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -4,19 +4,19 @@ var e = (i, t, r) => (s(i, typeof t != "symbol" ? t + "" : t, r), r);
|
|
|
4
4
|
import { Subscribe as l } from "../shared-utils/Subscribe.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "hammerjs";
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
7
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
8
|
+
import "@realsee/five/line";
|
|
10
9
|
import "../shared-utils/three/THREESphere.js";
|
|
11
10
|
import "animejs";
|
|
12
11
|
import { FiveUtil as a } from "../shared-utils/Utils/FiveUtil.js";
|
|
13
12
|
import { absoluteUrl as h } from "../shared-utils/url/absoluteUrl.js";
|
|
13
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
14
14
|
let c = class {
|
|
15
15
|
constructor(t, r) {
|
|
16
16
|
/**
|
|
17
17
|
* @realsee/dnalogel 版本号
|
|
18
18
|
*/
|
|
19
|
-
e(this, "VERSION", "3.
|
|
19
|
+
e(this, "VERSION", "3.44.0");
|
|
20
20
|
e(this, "NAME");
|
|
21
21
|
e(this, "five");
|
|
22
22
|
e(this, "workUtil");
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { SvelteComponent as k, init as b, safe_not_equal as v, append_styles as D, empty as y, insert as d, noop as
|
|
1
|
+
import { SvelteComponent as k, init as b, safe_not_equal as v, append_styles as D, empty as y, insert as d, noop as _, detach as g, element as c, space as w, text as S, attr as f, set_style as u, append as p, set_data as C } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { COMPASS_IMAGE as x } from "../Assets/compass.js";
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import { rad2Deg as z } from "../../shared-utils/math/rad2Deg.js";
|
|
4
|
+
function A(r) {
|
|
5
|
+
D(r, "svelte-rpkaro", ".floorplan-plugin__compass.svelte-rpkaro{position:absolute;left:50%;top:-2.875rem;width:14.4375rem;height:2.5625rem;will-change:opacity;transform-origin:center 11.5rem}.floorplan-plugin__compass-image.svelte-rpkaro{width:100%;height:100%;position:absolute;left:0;top:0;opacity:0.1;background-repeat:no-repeat;background-size:100% 100%}.floorplan-plugin__compass-text.svelte-rpkaro{position:absolute;left:50%;top:0.9375rem;transform:translateX(-50%);opacity:0.2;font-weight:bold;font-size:0.625rem;color:#fff}");
|
|
5
6
|
}
|
|
6
|
-
function
|
|
7
|
-
let t, e, o,
|
|
7
|
+
function M(r) {
|
|
8
|
+
let t, e, o, a, n;
|
|
8
9
|
return {
|
|
9
10
|
c() {
|
|
10
|
-
t = c("div"), e = c("div"), o = w(),
|
|
11
|
+
t = c("div"), e = c("div"), o = w(), a = c("span"), n = S(
|
|
11
12
|
/*northDesc*/
|
|
12
|
-
|
|
13
|
-
), f(e, "class", "floorplan-plugin__compass-image svelte-rpkaro"),
|
|
13
|
+
r[0]
|
|
14
|
+
), f(e, "class", "floorplan-plugin__compass-image svelte-rpkaro"), u(e, "background-image", `url(${x})`), f(a, "class", "floorplan-plugin__compass-text svelte-rpkaro"), f(t, "class", "floorplan-plugin__compass svelte-rpkaro"), u(
|
|
14
15
|
t,
|
|
15
16
|
"transform",
|
|
16
17
|
/*compassTransformStyle*/
|
|
17
|
-
|
|
18
|
+
r[2]
|
|
18
19
|
);
|
|
19
20
|
},
|
|
20
21
|
m(s, l) {
|
|
21
|
-
d(s, t, l), p(t, e), p(t, o), p(t,
|
|
22
|
+
d(s, t, l), p(t, e), p(t, o), p(t, a), p(a, n);
|
|
22
23
|
},
|
|
23
24
|
p(s, l) {
|
|
24
25
|
l & /*northDesc*/
|
|
25
26
|
1 && C(
|
|
26
|
-
|
|
27
|
+
n,
|
|
27
28
|
/*northDesc*/
|
|
28
29
|
s[0]
|
|
29
30
|
);
|
|
@@ -33,45 +34,42 @@ function z(a) {
|
|
|
33
34
|
}
|
|
34
35
|
};
|
|
35
36
|
}
|
|
36
|
-
function
|
|
37
|
+
function R(r) {
|
|
37
38
|
let t, e = (
|
|
38
39
|
/*canCompassShow*/
|
|
39
|
-
|
|
40
|
+
r[1] && M(r)
|
|
40
41
|
);
|
|
41
42
|
return {
|
|
42
43
|
c() {
|
|
43
44
|
e && e.c(), t = y();
|
|
44
45
|
},
|
|
45
|
-
m(o,
|
|
46
|
-
e && e.m(o,
|
|
46
|
+
m(o, a) {
|
|
47
|
+
e && e.m(o, a), d(o, t, a);
|
|
47
48
|
},
|
|
48
|
-
p(o, [
|
|
49
|
+
p(o, [a]) {
|
|
49
50
|
/*canCompassShow*/
|
|
50
|
-
o[1] && e.p(o,
|
|
51
|
+
o[1] && e.p(o, a);
|
|
51
52
|
},
|
|
52
|
-
i:
|
|
53
|
-
o:
|
|
53
|
+
i: _,
|
|
54
|
+
o: _,
|
|
54
55
|
d(o) {
|
|
55
56
|
e && e.d(o), o && g(t);
|
|
56
57
|
}
|
|
57
58
|
};
|
|
58
59
|
}
|
|
59
|
-
function
|
|
60
|
-
return a / Math.PI * 180;
|
|
61
|
-
}
|
|
62
|
-
function P(a, t, e) {
|
|
60
|
+
function X(r, t, e) {
|
|
63
61
|
var m;
|
|
64
|
-
let { floorplanData: o } = t, { northDesc:
|
|
65
|
-
const
|
|
66
|
-
return
|
|
67
|
-
"floorplanData" in i && e(3, o = i.floorplanData), "northDesc" in i && e(0,
|
|
68
|
-
}, [
|
|
62
|
+
let { floorplanData: o } = t, { northDesc: a } = t;
|
|
63
|
+
const n = (m = o.entrance) == null ? void 0 : m.northRad, s = typeof n == "number", h = `translateX(-50%) translateZ(10px) rotate(${-(n ? z(n) : 0) + 90}deg)`;
|
|
64
|
+
return r.$$set = (i) => {
|
|
65
|
+
"floorplanData" in i && e(3, o = i.floorplanData), "northDesc" in i && e(0, a = i.northDesc);
|
|
66
|
+
}, [a, s, h, o];
|
|
69
67
|
}
|
|
70
|
-
class
|
|
68
|
+
class I extends k {
|
|
71
69
|
constructor(t) {
|
|
72
|
-
super(), b(this, t,
|
|
70
|
+
super(), b(this, t, X, R, v, { floorplanData: 3, northDesc: 0 }, A);
|
|
73
71
|
}
|
|
74
72
|
}
|
|
75
73
|
export {
|
|
76
|
-
|
|
74
|
+
I as Compass
|
|
77
75
|
};
|
|
@@ -41,13 +41,13 @@ 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
43
|
import "hammerjs";
|
|
44
|
-
import "
|
|
45
|
-
import "
|
|
46
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
47
|
-
import { waitFiveModelLoaded as U } from "../../shared-utils/five/fiveModelLoad.js";
|
|
44
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
45
|
+
import "@realsee/five/line";
|
|
48
46
|
import "../../shared-utils/three/THREESphere.js";
|
|
49
47
|
import "animejs";
|
|
50
|
-
import { isNil as
|
|
48
|
+
import { isNil as U } from "../../shared-utils/isNil.js";
|
|
49
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
50
|
+
import { waitFiveModelLoaded as z } from "../../shared-utils/five/fiveModelLoad.js";
|
|
51
51
|
import "../../shared-utils/isTruelyObject.js";
|
|
52
52
|
import "../../vendor/svelte/internal/index.js";
|
|
53
53
|
import "../../vendor/svelte/transition/index.js";
|
|
@@ -87,19 +87,6 @@ import "../../shared-utils/five/getFiveModel.js";
|
|
|
87
87
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
88
88
|
import "../../shared-utils/nearlyEqual.js";
|
|
89
89
|
import "../../shared-utils/five/changeMode.js";
|
|
90
|
-
import "../../shared-utils/positionToVector3.js";
|
|
91
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
92
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
93
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
94
|
-
import "../../shared-utils/util.js";
|
|
95
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
96
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
97
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
98
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
99
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
100
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
101
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
102
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
103
90
|
function W(d) {
|
|
104
91
|
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);
|
|
105
92
|
return e || i;
|
|
@@ -108,7 +95,7 @@ function G(d) {
|
|
|
108
95
|
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);
|
|
109
96
|
return e && i;
|
|
110
97
|
}
|
|
111
|
-
class
|
|
98
|
+
class Jt extends O {
|
|
112
99
|
constructor(t, e) {
|
|
113
100
|
var a, f;
|
|
114
101
|
super(t);
|
|
@@ -338,7 +325,7 @@ class ae extends O {
|
|
|
338
325
|
getRoomDimensionText: (c, g) => (c / 1e3).toFixed(1) + "m × " + (g / 1e3).toFixed(1) + "m",
|
|
339
326
|
getRuleDistanceText: (c) => c.toString()
|
|
340
327
|
}, n = e ? C(e, ["selector", "scale"]) : {}, h = l(l({}, i.missingFloorConfig), n.missingFloorConfig), s = p(l(l({}, i), n), { missingFloorConfig: h });
|
|
341
|
-
this.state = { enabled: !0, visible: !1, config: s }, this.initContainer(),
|
|
328
|
+
this.state = { enabled: !0, visible: !1, config: s }, this.initContainer(), z(t).then(this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
|
|
342
329
|
}
|
|
343
330
|
load(t, e, i = !0) {
|
|
344
331
|
return u(this, null, function* () {
|
|
@@ -346,7 +333,7 @@ class ae extends O {
|
|
|
346
333
|
return Object.prototype.hasOwnProperty.apply(c, ["version"]);
|
|
347
334
|
}
|
|
348
335
|
const h = t;
|
|
349
|
-
h &&
|
|
336
|
+
h && U(h.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
350
337
|
const s = JSON.parse(JSON.stringify(t)), a = n(s) ? s.data : s, f = this.data;
|
|
351
338
|
this.data = yield S(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, f), e && this.updateState(e, i), this.render();
|
|
352
339
|
});
|
|
@@ -442,5 +429,5 @@ class ae extends O {
|
|
|
442
429
|
}
|
|
443
430
|
}
|
|
444
431
|
export {
|
|
445
|
-
|
|
432
|
+
Jt as Controller
|
|
446
433
|
};
|
|
@@ -40,22 +40,8 @@ import "../../base/BasePluginWithData.js";
|
|
|
40
40
|
import "../../base/BasePlugin.js";
|
|
41
41
|
import "../../shared-utils/Subscribe.js";
|
|
42
42
|
import "hammerjs";
|
|
43
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
44
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
45
|
-
import "../../shared-utils/positionToVector3.js";
|
|
46
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
47
43
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
48
|
-
import "
|
|
49
|
-
import "../../shared-utils/util.js";
|
|
50
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
51
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
52
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
53
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
54
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
55
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
56
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
57
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
58
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
44
|
+
import "@realsee/five/line";
|
|
59
45
|
import "../../shared-utils/three/THREESphere.js";
|
|
60
46
|
import "animejs";
|
|
61
47
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
@@ -64,16 +50,17 @@ import "../../shared-utils/Utils/WorkUtil.js";
|
|
|
64
50
|
import "../../shared-utils/five/transformPosition.js";
|
|
65
51
|
import "../../shared-utils/five/getFiveModel.js";
|
|
66
52
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
53
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
67
54
|
import "../../shared-utils/getPxmm.js";
|
|
68
55
|
import "../utils/correctFiveState.js";
|
|
69
56
|
import "../utils/constant.js";
|
|
70
57
|
import "../../shared-utils/nearlyEqual.js";
|
|
71
58
|
import "../../shared-utils/five/changeMode.js";
|
|
72
59
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
73
|
-
import "../../shared-utils/five/fiveModelLoad.js";
|
|
74
60
|
import "../../shared-utils/isNil.js";
|
|
75
|
-
|
|
61
|
+
import "../../shared-utils/five/fiveModelLoad.js";
|
|
62
|
+
const uo = (o, r) => new t(o, r);
|
|
76
63
|
export {
|
|
77
|
-
|
|
78
|
-
|
|
64
|
+
uo as MapviewFloorplanPlugin,
|
|
65
|
+
uo as default
|
|
79
66
|
};
|
|
@@ -41,12 +41,12 @@ import { changeModelCanvasOpacity as F } from "../../shared-utils/changeModelCan
|
|
|
41
41
|
import { FIVE_CAMERA_DEFAULT_FOV as R, FloorplanErrorType as p, SHOW_ANIME_DURATION as H } from "../utils/constant.js";
|
|
42
42
|
import "three";
|
|
43
43
|
import "hammerjs";
|
|
44
|
-
import "
|
|
45
|
-
import "
|
|
46
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
44
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
45
|
+
import "@realsee/five/line";
|
|
47
46
|
import "../../shared-utils/three/THREESphere.js";
|
|
48
47
|
import "animejs";
|
|
49
48
|
import { isNil as G } from "../../shared-utils/isNil.js";
|
|
49
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
50
50
|
import "../../shared-utils/isTruelyObject.js";
|
|
51
51
|
import "../../vendor/svelte/internal/index.js";
|
|
52
52
|
import "../../vendor/svelte/transition/index.js";
|
|
@@ -86,19 +86,6 @@ 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/five/changeMode.js";
|
|
89
|
-
import "../../shared-utils/positionToVector3.js";
|
|
90
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
91
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
92
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
93
|
-
import "../../shared-utils/util.js";
|
|
94
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
95
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
96
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
97
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
98
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
99
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
100
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
101
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
102
89
|
function W(d) {
|
|
103
90
|
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);
|
|
104
91
|
return e || i;
|
|
@@ -107,7 +94,7 @@ function z(d) {
|
|
|
107
94
|
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);
|
|
108
95
|
return e && i;
|
|
109
96
|
}
|
|
110
|
-
class
|
|
97
|
+
class qt extends T {
|
|
111
98
|
constructor(t, e) {
|
|
112
99
|
var a, f, m;
|
|
113
100
|
super(t);
|
|
@@ -438,5 +425,5 @@ class re extends T {
|
|
|
438
425
|
}
|
|
439
426
|
}
|
|
440
427
|
export {
|
|
441
|
-
|
|
428
|
+
qt as Controller
|
|
442
429
|
};
|
|
@@ -41,22 +41,8 @@ import "../../base/BasePluginWithData.js";
|
|
|
41
41
|
import "../../base/BasePlugin.js";
|
|
42
42
|
import "../../shared-utils/Subscribe.js";
|
|
43
43
|
import "hammerjs";
|
|
44
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
45
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
46
|
-
import "../../shared-utils/positionToVector3.js";
|
|
47
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
48
44
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
49
|
-
import "
|
|
50
|
-
import "../../shared-utils/util.js";
|
|
51
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
52
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
53
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
54
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
55
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
56
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
57
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
58
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
59
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
45
|
+
import "@realsee/five/line";
|
|
60
46
|
import "../../shared-utils/three/THREESphere.js";
|
|
61
47
|
import "animejs";
|
|
62
48
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
@@ -65,14 +51,15 @@ import "../../shared-utils/Utils/WorkUtil.js";
|
|
|
65
51
|
import "../../shared-utils/five/transformPosition.js";
|
|
66
52
|
import "../../shared-utils/five/getFiveModel.js";
|
|
67
53
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
54
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
68
55
|
import "../utils/correctFiveState.js";
|
|
69
56
|
import "../utils/constant.js";
|
|
70
57
|
import "../../shared-utils/nearlyEqual.js";
|
|
71
58
|
import "../../shared-utils/five/changeMode.js";
|
|
72
59
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
73
60
|
import "../../shared-utils/isNil.js";
|
|
74
|
-
const
|
|
61
|
+
const ao = (o, r) => new t(o, r);
|
|
75
62
|
export {
|
|
76
|
-
|
|
77
|
-
|
|
63
|
+
ao as ModelFloorplanPlugin,
|
|
64
|
+
ao as default
|
|
78
65
|
};
|