@realsee/dnalogel 3.73.1 → 3.73.3
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 -0
- package/dist/MeasurePlugin/Controller.d.ts +3 -4
- package/dist/MeasurePlugin/index.d.ts +2 -1
- package/dist/Sculpt/utils/export.d.ts +1 -0
- package/dist/index.cjs.js +71 -71
- package/dist/index.js +4893 -4894
- package/dist/index.umd.js +76 -76
- package/dist/shared-utils/three/index.d.ts +2 -0
- package/libs/AreaMakerPlugin/Controller.js +3 -2
- package/libs/AreaMakerPlugin/index.js +3 -2
- package/libs/AreaMakerPlugin/utils/Item.js +80 -79
- package/libs/CSS3DRenderPlugin/Controller.js +3 -2
- package/libs/CSS3DRenderPlugin/index.js +6 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +1 -0
- package/libs/CruisePlugin/BaseController.js +5 -4
- package/libs/CruisePlugin/Move.js +1 -1
- package/libs/CruisePlugin/Work.js +1 -1
- package/libs/CruisePlugin/index.js +1 -1
- package/libs/CurrentPanoImagePlugin/Controller.js +3 -2
- package/libs/CurrentPanoImagePlugin/index.js +4 -3
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/MeasurePlugin/Controller.d.ts +3 -4
- package/libs/MeasurePlugin/Controller.js +29 -29
- package/libs/MeasurePlugin/index.d.ts +2 -1
- package/libs/MeasurePlugin/index.js +6 -5
- package/libs/MeasurePlugin/utils/MeasureMesh.js +1 -1
- package/libs/ModelChassisCompassPlugin/Plugin.js +4 -3
- package/libs/ModelChassisCompassPlugin/index.js +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -5
- package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
- package/libs/ModelMakerPlugin/Controller.js +1 -1
- package/libs/ModelMakerPlugin/index.js +1 -1
- package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -2
- package/libs/ModelViewPlugin/Plugin.js +4 -3
- package/libs/ModelViewPlugin/index.js +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +18 -17
- package/libs/Object3DHelperPlugin/index.js +6 -5
- package/libs/PanoCompassPlugin/Controller.js +3 -2
- package/libs/PanoCompassPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/Controller.js +3 -2
- package/libs/PanoDoorLabelPlugin/index.js +4 -3
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
- package/libs/PanoMeasurePlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
- package/libs/PanoRulerProPlugin/Controller.js +3 -2
- package/libs/PanoRulerProPlugin/RulerItems.js +3 -2
- package/libs/PanoRulerProPlugin/index.js +4 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +4 -3
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +233 -232
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +22 -21
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +1 -1
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/PanoTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
- package/libs/PanoTagPlugin/utils/tag/format.js +3 -2
- package/libs/PanoVideoPlugin/Controller.js +3 -2
- package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
- package/libs/PanoVideoPlugin/index.js +6 -5
- package/libs/PipelinePlugin/Controller.js +95 -94
- package/libs/PipelinePlugin/index.js +4 -3
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +22 -21
- package/libs/Sculpt/Meshes/Circle.js +3 -2
- package/libs/Sculpt/Meshes/Cylinder.js +3 -2
- package/libs/Sculpt/Meshes/Line.js +3 -2
- package/libs/Sculpt/Meshes/LineWithDots.js +5 -4
- package/libs/Sculpt/Meshes/Point.js +3 -2
- package/libs/Sculpt/Meshes/Rectangle.js +4 -3
- package/libs/Sculpt/Objects/Base/index.js +1 -0
- package/libs/Sculpt/Objects/Line/Editor.js +7 -6
- package/libs/Sculpt/index.js +19 -18
- package/libs/Sculpt/utils/export.d.ts +1 -0
- package/libs/Sculpt/utils/export.js +23 -20
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -2
- package/libs/base/BasePlugin.js +8 -7
- package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -2
- package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -3
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +146 -145
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +3 -2
- package/libs/shared-utils/exports.js +62 -55
- package/libs/shared-utils/five/index.js +4 -3
- package/libs/shared-utils/five/lookObject.js +3 -2
- package/libs/shared-utils/index.js +1 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.js +3 -2
- package/libs/shared-utils/three/PointDomHelper.js +3 -2
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -2
- package/libs/shared-utils/three/geometryUtil.js +12 -8
- package/libs/shared-utils/three/index.d.ts +2 -0
- package/libs/shared-utils/three/index.js +1 -0
- package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +139 -151
- package/package.json +1 -1
|
@@ -24,10 +24,11 @@ import "../../shared-utils/three/core/Sphere.js";
|
|
|
24
24
|
import "../../shared-utils/three/blink.js";
|
|
25
25
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
26
26
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
27
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
27
28
|
import { notNil as d } from "../../shared-utils/isNil.js";
|
|
28
29
|
import "../../shared-utils/five/FivePuppet.js";
|
|
29
30
|
import { IObject3D as V } from "../../shared-utils/three/IObject3D.js";
|
|
30
|
-
class
|
|
31
|
+
class A extends _ {
|
|
31
32
|
constructor(t) {
|
|
32
33
|
super();
|
|
33
34
|
e(this, "name", "LineWithDotsMesh");
|
|
@@ -69,9 +70,9 @@ class z extends _ {
|
|
|
69
70
|
super.setPoints(t);
|
|
70
71
|
const o = t.map(P).filter(d);
|
|
71
72
|
this.pointGroup.removeChildren(), this.addIfNotExists(this.pointGroup), o.forEach((p) => {
|
|
72
|
-
var n,
|
|
73
|
+
var n, m, y;
|
|
73
74
|
const h = new M(a(r({}, this.style), {
|
|
74
|
-
color: (
|
|
75
|
+
color: (y = (n = this._paramsStyle) == null ? void 0 : n.pointColor) != null ? y : (m = this._paramsStyle) == null ? void 0 : m.lineColor,
|
|
75
76
|
tip: void 0
|
|
76
77
|
}));
|
|
77
78
|
h.position.copy(p), this.pointGroup.add(h);
|
|
@@ -79,5 +80,5 @@ class z extends _ {
|
|
|
79
80
|
}
|
|
80
81
|
}
|
|
81
82
|
export {
|
|
82
|
-
|
|
83
|
+
A as LineWithDotsMesh
|
|
83
84
|
};
|
|
@@ -39,10 +39,11 @@ import "../../shared-utils/three/core/Sphere.js";
|
|
|
39
39
|
import "../../shared-utils/three/blink.js";
|
|
40
40
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
41
41
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
42
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
42
43
|
import "../../shared-utils/five/FivePuppet.js";
|
|
43
44
|
const x = "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==";
|
|
44
45
|
let C = null;
|
|
45
|
-
class
|
|
46
|
+
class st extends T {
|
|
46
47
|
constructor(t) {
|
|
47
48
|
var w, y, V;
|
|
48
49
|
super();
|
|
@@ -140,5 +141,5 @@ class ot extends T {
|
|
|
140
141
|
}
|
|
141
142
|
}
|
|
142
143
|
export {
|
|
143
|
-
|
|
144
|
+
st as PointMesh
|
|
144
145
|
};
|
|
@@ -15,10 +15,11 @@ import "../../shared-utils/three/core/Sphere.js";
|
|
|
15
15
|
import "../../shared-utils/three/blink.js";
|
|
16
16
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
17
17
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
18
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
18
19
|
import "../../shared-utils/five/FivePuppet.js";
|
|
19
20
|
import { PolygonMesh as g } from "./Polygon.js";
|
|
20
21
|
import { RectangleGeometry as d } from "../utils/three/RectangleGeometry.js";
|
|
21
|
-
class
|
|
22
|
+
class k extends g {
|
|
22
23
|
constructor(t) {
|
|
23
24
|
super(t);
|
|
24
25
|
i(this, "name", "RectangleMesh");
|
|
@@ -33,12 +34,12 @@ class j extends g {
|
|
|
33
34
|
return;
|
|
34
35
|
}
|
|
35
36
|
if (t.length === 3) {
|
|
36
|
-
const [m,
|
|
37
|
+
const [m, p, n] = r, s = m.clone().add(n).sub(p);
|
|
37
38
|
r.push(s);
|
|
38
39
|
}
|
|
39
40
|
this.points = r, this.geometry = new d(r), this.planeHelperNeedUpdate = !0, this.geometryInfoNeedUpdate = !0;
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
export {
|
|
43
|
-
|
|
44
|
+
k as RectangleMesh
|
|
44
45
|
};
|
|
@@ -28,6 +28,7 @@ import "../../../shared-utils/three/core/Sphere.js";
|
|
|
28
28
|
import "../../../shared-utils/three/blink.js";
|
|
29
29
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
30
30
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
31
|
+
import "../../../vendor/earcut/src/earcut.js";
|
|
31
32
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
32
33
|
const p = /* @__PURE__ */ new Map();
|
|
33
34
|
class M extends S {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var p = Object.defineProperty;
|
|
2
|
-
var g = (
|
|
3
|
-
var o = (
|
|
2
|
+
var g = (r, e, t) => e in r ? p(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
|
+
var o = (r, e, t) => (g(r, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import { BaseEditor as d } from "../Base/Editor.js";
|
|
5
5
|
import { Sculpt as n } from "../../index.js";
|
|
6
6
|
import { PointMesh as a } from "../../Meshes/Point.js";
|
|
@@ -18,6 +18,7 @@ import "../../../shared-utils/three/core/Sphere.js";
|
|
|
18
18
|
import "../../../shared-utils/three/blink.js";
|
|
19
19
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
20
20
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
21
|
+
import "../../../vendor/earcut/src/earcut.js";
|
|
21
22
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
22
23
|
class l extends d {
|
|
23
24
|
constructor(t) {
|
|
@@ -25,7 +26,7 @@ class l extends d {
|
|
|
25
26
|
o(this, "draggingPoints", []);
|
|
26
27
|
o(this, "onDragstart", (t) => {
|
|
27
28
|
const i = t.target;
|
|
28
|
-
this.draggingPoints = this.pointMeshes.filter((
|
|
29
|
+
this.draggingPoints = this.pointMeshes.filter((s) => s.position.equals(i.position));
|
|
29
30
|
});
|
|
30
31
|
o(this, "onDragend", (t) => {
|
|
31
32
|
this.draggingPoints = [];
|
|
@@ -47,14 +48,14 @@ class l extends d {
|
|
|
47
48
|
super.disable(), this.removeChildren();
|
|
48
49
|
}
|
|
49
50
|
}
|
|
50
|
-
class
|
|
51
|
+
class I extends l {
|
|
51
52
|
constructor(t) {
|
|
52
53
|
super(t);
|
|
53
54
|
o(this, "onDrag", (t) => {
|
|
54
55
|
if (!this.draggingPoints || this.draggingPoints.length === 0)
|
|
55
56
|
return;
|
|
56
57
|
const i = m(n.modules.five, t.raycaster);
|
|
57
|
-
this.draggingPoints.forEach((
|
|
58
|
+
this.draggingPoints.forEach((s) => s.position.copy(i.point)), this.originObject.lineMesh.setPoints(this.pointMeshes.map((s) => s.position));
|
|
58
59
|
});
|
|
59
60
|
}
|
|
60
61
|
get points() {
|
|
@@ -62,6 +63,6 @@ class H extends l {
|
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
export {
|
|
65
|
-
|
|
66
|
+
I as LineEditor,
|
|
66
67
|
l as LineEditorAbstract
|
|
67
68
|
};
|
package/libs/Sculpt/index.js
CHANGED
|
@@ -10,19 +10,19 @@ var p = (o, r, e) => r in o ? U(o, r, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
B.call(r, e) && p(o, e, r[e]);
|
|
11
11
|
return o;
|
|
12
12
|
}, a = (o, r) => D(o, L(r));
|
|
13
|
-
var
|
|
13
|
+
var m = (o, r, e) => (p(o, typeof r != "symbol" ? r + "" : r, e), e);
|
|
14
14
|
var u = (o, r, e) => new Promise((t, i) => {
|
|
15
15
|
var l = (c) => {
|
|
16
16
|
try {
|
|
17
17
|
n(e.next(c));
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
18
|
+
} catch (h) {
|
|
19
|
+
i(h);
|
|
20
20
|
}
|
|
21
21
|
}, s = (c) => {
|
|
22
22
|
try {
|
|
23
23
|
n(e.throw(c));
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
24
|
+
} catch (h) {
|
|
25
|
+
i(h);
|
|
26
26
|
}
|
|
27
27
|
}, n = (c) => c.done ? t(c.value) : Promise.resolve(c.value).then(l, s);
|
|
28
28
|
n((e = e.apply(o, r)).next());
|
|
@@ -43,6 +43,7 @@ import "../shared-utils/three/core/Sphere.js";
|
|
|
43
43
|
import "../shared-utils/three/blink.js";
|
|
44
44
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
45
45
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
46
|
+
import "../vendor/earcut/src/earcut.js";
|
|
46
47
|
import "../shared-utils/five/FivePuppet.js";
|
|
47
48
|
import { recurveFindObject as F } from "../shared-utils/three/recurveFindObject.js";
|
|
48
49
|
import { Polyline as I } from "./Objects/Polyline/index.js";
|
|
@@ -60,15 +61,15 @@ import { withResolvers as M } from "../shared-utils/promise/withResolvers.js";
|
|
|
60
61
|
const d = class extends x {
|
|
61
62
|
constructor(e, t, i) {
|
|
62
63
|
super();
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
m(this, "group");
|
|
65
|
+
m(this, "theme");
|
|
66
|
+
m(this, "config");
|
|
67
|
+
m(this, "five");
|
|
68
|
+
m(this, "creatingItem", null);
|
|
68
69
|
/**
|
|
69
70
|
* @description: 撤销
|
|
70
71
|
*/
|
|
71
|
-
|
|
72
|
+
m(this, "undo", () => {
|
|
72
73
|
if (this.creatingItem) {
|
|
73
74
|
this.creatingItem.undo(), this.five.needsRender = !0;
|
|
74
75
|
return;
|
|
@@ -79,7 +80,7 @@ const d = class extends x {
|
|
|
79
80
|
/**
|
|
80
81
|
* @description: 重做
|
|
81
82
|
*/
|
|
82
|
-
|
|
83
|
+
m(this, "redo", () => {
|
|
83
84
|
if (this.creatingItem) {
|
|
84
85
|
this.creatingItem.redo(), this.five.needsRender = !0;
|
|
85
86
|
return;
|
|
@@ -91,7 +92,7 @@ const d = class extends x {
|
|
|
91
92
|
magnifier: { width: 190, height: 190, scale: 2, dragEnabled: !0 }
|
|
92
93
|
}, i), this.group = new z(), this.group.name = "Sculpt", this.group.__sculpt__ = this, e.scene.add(this.group), d.modules.init(e, this.config), O("ctrl+z, command+z", this.undo), O("ctrl+shift+z, command+shift+z", this.redo), d.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: l, origDomEvent: s }) => {
|
|
93
94
|
var c;
|
|
94
|
-
const n = F((c = l == null ? void 0 : l[0]) == null ? void 0 : c.object, (
|
|
95
|
+
const n = F((c = l == null ? void 0 : l[0]) == null ? void 0 : c.object, (h) => h.isSculptObject);
|
|
95
96
|
return n && !n.editing ? this.emit("click", s, n) : !1;
|
|
96
97
|
}), window.__SCULPT_DEBUG__ = this, window.__SCULPT_MODULES_DEBUG__ = d.modules;
|
|
97
98
|
}
|
|
@@ -259,16 +260,16 @@ const d = class extends x {
|
|
|
259
260
|
}
|
|
260
261
|
};
|
|
261
262
|
let f = d;
|
|
262
|
-
|
|
263
|
-
const
|
|
263
|
+
m(f, "modules", E);
|
|
264
|
+
const Ie = (o, r, e) => {
|
|
264
265
|
if (r && typeof r == "object" && ("theme" in r || "config" in r)) {
|
|
265
266
|
const t = r;
|
|
266
267
|
return new f(o, t.theme, t.config);
|
|
267
268
|
}
|
|
268
269
|
return new f(o, r, e);
|
|
269
|
-
},
|
|
270
|
+
}, be = (o, r) => new f(o, r == null ? void 0 : r.theme, r == null ? void 0 : r.config);
|
|
270
271
|
export {
|
|
271
272
|
f as Sculpt,
|
|
272
|
-
|
|
273
|
-
|
|
273
|
+
Ie as SculptPlugin,
|
|
274
|
+
be as SculptPluginForFive
|
|
274
275
|
};
|
|
@@ -22,3 +22,4 @@ export { createPoint } from '../Objects/Point';
|
|
|
22
22
|
export { createPolygon } from '../Objects/Polygon';
|
|
23
23
|
export { createPrism } from '../Objects/Prism';
|
|
24
24
|
export { createRectangle } from '../Objects/Rectangle';
|
|
25
|
+
export { transformUnit, transformUnitSquare } from './unit';
|
|
@@ -4,15 +4,15 @@ import { CircleMeshEditor as e } from "../Editors/CircleMeshEditor.js";
|
|
|
4
4
|
import { CylinderMeshEditor as t } from "../Editors/CylinderMeshEditor.js";
|
|
5
5
|
import { PrismMeshEditor as m } from "../Editors/PrismMeshEditor.js";
|
|
6
6
|
import { RectangleMeshEditor as i } from "../Editors/RectangleMeshEditor.js";
|
|
7
|
-
import { BoxMesh as
|
|
8
|
-
import { CircleMesh as
|
|
7
|
+
import { BoxMesh as f } from "../Meshes/Box.js";
|
|
8
|
+
import { CircleMesh as p } from "../Meshes/Circle.js";
|
|
9
9
|
import { CircleWithEdgeMesh as s } from "../Meshes/CircleWithEdge.js";
|
|
10
|
-
import { CylinderMesh as
|
|
11
|
-
import { LineMesh as
|
|
12
|
-
import { PointMesh as
|
|
13
|
-
import { PolygonMesh as
|
|
14
|
-
import { PrismMesh as
|
|
15
|
-
import { RectangleMesh as
|
|
10
|
+
import { CylinderMesh as n } from "../Meshes/Cylinder.js";
|
|
11
|
+
import { LineMesh as c } from "../Meshes/Line.js";
|
|
12
|
+
import { PointMesh as a } from "../Meshes/Point.js";
|
|
13
|
+
import { PolygonMesh as l } from "../Meshes/Polygon.js";
|
|
14
|
+
import { PrismMesh as h } from "../Meshes/Prism.js";
|
|
15
|
+
import { RectangleMesh as M } from "../Meshes/Rectangle.js";
|
|
16
16
|
import { RectangleWithEdgeMesh as d } from "../Meshes/RectangleWithEdge.js";
|
|
17
17
|
import { createBox as g } from "../Objects/Box/index.js";
|
|
18
18
|
import { createCircle as E } from "../Objects/Circle/index.js";
|
|
@@ -21,23 +21,24 @@ import { createLine as y } from "../Objects/Line/index.js";
|
|
|
21
21
|
import { createPoint as C } from "../Objects/Point/index.js";
|
|
22
22
|
import { createPolygon as x } from "../Objects/Polygon/index.js";
|
|
23
23
|
import { createPrism as _ } from "../Objects/Prism/index.js";
|
|
24
|
-
import { createRectangle as
|
|
25
|
-
|
|
24
|
+
import { createRectangle as u } from "../Objects/Rectangle/index.js";
|
|
25
|
+
import { transformUnit as B, transformUnitSquare as R } from "./unit.js";
|
|
26
|
+
const Y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26
27
|
__proto__: null,
|
|
27
28
|
BaseEditor: r,
|
|
28
|
-
BoxMesh:
|
|
29
|
+
BoxMesh: f,
|
|
29
30
|
BoxMeshEditor: o,
|
|
30
|
-
CircleMesh:
|
|
31
|
+
CircleMesh: p,
|
|
31
32
|
CircleMeshEditor: e,
|
|
32
33
|
CircleWithEdgeMesh: s,
|
|
33
|
-
CylinderMesh:
|
|
34
|
+
CylinderMesh: n,
|
|
34
35
|
CylinderMeshEditor: t,
|
|
35
|
-
LineMesh:
|
|
36
|
-
PointMesh:
|
|
37
|
-
PolygonMesh:
|
|
38
|
-
PrismMesh:
|
|
36
|
+
LineMesh: c,
|
|
37
|
+
PointMesh: a,
|
|
38
|
+
PolygonMesh: l,
|
|
39
|
+
PrismMesh: h,
|
|
39
40
|
PrismMeshEditor: m,
|
|
40
|
-
RectangleMesh:
|
|
41
|
+
RectangleMesh: M,
|
|
41
42
|
RectangleMeshEditor: i,
|
|
42
43
|
RectangleWithEdgeMesh: d,
|
|
43
44
|
createBox: g,
|
|
@@ -47,8 +48,10 @@ const U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
47
48
|
createPoint: C,
|
|
48
49
|
createPolygon: x,
|
|
49
50
|
createPrism: _,
|
|
50
|
-
createRectangle:
|
|
51
|
+
createRectangle: u,
|
|
52
|
+
transformUnit: B,
|
|
53
|
+
transformUnitSquare: R
|
|
51
54
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
52
55
|
export {
|
|
53
|
-
|
|
56
|
+
Y as _export
|
|
54
57
|
};
|
|
@@ -25,8 +25,9 @@ import "../../../shared-utils/three/core/Sphere.js";
|
|
|
25
25
|
import "../../../shared-utils/three/blink.js";
|
|
26
26
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
27
27
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
28
|
+
import "../../../vendor/earcut/src/earcut.js";
|
|
28
29
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
29
|
-
class
|
|
30
|
+
class x extends M {
|
|
30
31
|
constructor(t) {
|
|
31
32
|
var d, m;
|
|
32
33
|
super();
|
|
@@ -100,5 +101,5 @@ class A extends M {
|
|
|
100
101
|
}
|
|
101
102
|
}
|
|
102
103
|
export {
|
|
103
|
-
|
|
104
|
+
x as ColoredMesh
|
|
104
105
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var e = Object.defineProperty;
|
|
2
2
|
var s = (o, t, i) => t in o ? e(o, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[t] = i;
|
|
3
3
|
var r = (o, t, i) => (s(o, typeof t != "symbol" ? t + "" : t, i), i);
|
|
4
|
-
import { Subscribe as
|
|
4
|
+
import { Subscribe as m } from "../shared-utils/Subscribe.js";
|
|
5
5
|
import "../shared-utils/tag.js";
|
|
6
6
|
import "three";
|
|
7
7
|
import "../vendor/hammerjs/hammer.js";
|
|
@@ -14,15 +14,16 @@ import "../shared-utils/three/core/Sphere.js";
|
|
|
14
14
|
import "../shared-utils/three/blink.js";
|
|
15
15
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
16
16
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
17
|
-
import
|
|
17
|
+
import "../vendor/earcut/src/earcut.js";
|
|
18
|
+
import { FiveUtil as l } from "../shared-utils/Utils/FiveUtil.js";
|
|
18
19
|
import { DEFAULT_STATIC_PREFIX as p } from "../shared-utils/url/defaultUrls.js";
|
|
19
20
|
import "../shared-utils/five/FivePuppet.js";
|
|
20
|
-
let
|
|
21
|
+
let I = class {
|
|
21
22
|
constructor(t, i) {
|
|
22
23
|
/**
|
|
23
24
|
* @realsee/dnalogel 版本号
|
|
24
25
|
*/
|
|
25
|
-
r(this, "VERSION", "3.73.
|
|
26
|
+
r(this, "VERSION", "3.73.3");
|
|
26
27
|
r(this, "NAME");
|
|
27
28
|
r(this, "five");
|
|
28
29
|
r(this, "workUtil");
|
|
@@ -30,9 +31,9 @@ let A = class {
|
|
|
30
31
|
/**
|
|
31
32
|
* @description: 插件事件钩子
|
|
32
33
|
*/
|
|
33
|
-
r(this, "hooks", new
|
|
34
|
+
r(this, "hooks", new m());
|
|
34
35
|
r(this, "staticPrefix", p);
|
|
35
|
-
this.five = t, this.fiveUtil = new
|
|
36
|
+
this.five = t, this.fiveUtil = new l(t), this.workUtil = this.fiveUtil.workUtil, i != null && i.staticPrefix && (this.staticPrefix = i.staticPrefix);
|
|
36
37
|
}
|
|
37
38
|
set workCode(t) {
|
|
38
39
|
this.workUtil.workCode = t, this.onWorkCodeChange();
|
|
@@ -53,5 +54,5 @@ let A = class {
|
|
|
53
54
|
}
|
|
54
55
|
};
|
|
55
56
|
export {
|
|
56
|
-
|
|
57
|
+
I as Controller
|
|
57
58
|
};
|
|
@@ -40,6 +40,7 @@ import "../../shared-utils/three/core/Sphere.js";
|
|
|
40
40
|
import "../../shared-utils/three/blink.js";
|
|
41
41
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
42
42
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
43
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
43
44
|
import { FLOORPLAN_DEFAULT_IMAGE as v } from "../../shared-utils/url/defaultUrls.js";
|
|
44
45
|
import { replaceStaticPrefix as w } from "../../shared-utils/url/replace-static-prefix.js";
|
|
45
46
|
import { equal as D } from "../../shared-utils/equal.js";
|
|
@@ -122,7 +123,7 @@ import "../../shared-utils/url/absoluteUrl.js";
|
|
|
122
123
|
import "../../shared-utils/isTruelyObject.js";
|
|
123
124
|
import "../../base/BasePlugin.js";
|
|
124
125
|
import "../Assets/floorplanExtraObject.js";
|
|
125
|
-
class
|
|
126
|
+
class Si extends k {
|
|
126
127
|
constructor(t, i) {
|
|
127
128
|
var o, s;
|
|
128
129
|
super(t);
|
|
@@ -344,5 +345,5 @@ class xi extends k {
|
|
|
344
345
|
}
|
|
345
346
|
}
|
|
346
347
|
export {
|
|
347
|
-
|
|
348
|
+
Si as Controller
|
|
348
349
|
};
|
|
@@ -77,6 +77,7 @@ import "../../shared-utils/three/core/Line2.js";
|
|
|
77
77
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
78
78
|
import "../../Sculpt/utils/unit.js";
|
|
79
79
|
import "../../Sculpt/utils/renderDom.js";
|
|
80
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
80
81
|
import "../../shared-utils/five/FivePuppet.js";
|
|
81
82
|
import "@realsee/five";
|
|
82
83
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
@@ -94,8 +95,8 @@ import "../../base/BasePluginWithData.js";
|
|
|
94
95
|
import "../../base/BasePlugin.js";
|
|
95
96
|
import "../utils/formatData.js";
|
|
96
97
|
import "../Assets/floorplanExtraObject.js";
|
|
97
|
-
const
|
|
98
|
+
const Vo = (o, r) => new t(o, r);
|
|
98
99
|
export {
|
|
99
|
-
|
|
100
|
-
|
|
100
|
+
Vo as FloorplanGuidePlugin,
|
|
101
|
+
Vo as default
|
|
101
102
|
};
|
|
@@ -54,6 +54,7 @@ import "../../shared-utils/three/core/Sphere.js";
|
|
|
54
54
|
import "../../shared-utils/three/blink.js";
|
|
55
55
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
56
56
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
57
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
57
58
|
import { FLOORPLAN_DEFAULT_IMAGE as J } from "../../shared-utils/url/defaultUrls.js";
|
|
58
59
|
import { replaceStaticPrefix as X } from "../../shared-utils/url/replace-static-prefix.js";
|
|
59
60
|
import "../../shared-utils/five/FivePuppet.js";
|
|
@@ -154,7 +155,7 @@ function Q(l) {
|
|
|
154
155
|
const { latitude: h, longitude: t } = l, e = Math.abs(h - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
155
156
|
return e && i;
|
|
156
157
|
}
|
|
157
|
-
class
|
|
158
|
+
class mi extends G {
|
|
158
159
|
constructor(t, e) {
|
|
159
160
|
var a, d;
|
|
160
161
|
super(t);
|
|
@@ -512,5 +513,5 @@ class li extends G {
|
|
|
512
513
|
}
|
|
513
514
|
}
|
|
514
515
|
export {
|
|
515
|
-
|
|
516
|
+
mi as Controller
|
|
516
517
|
};
|
|
@@ -100,6 +100,7 @@ import "../../shared-utils/three/core/Line2.js";
|
|
|
100
100
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
101
101
|
import "../../Sculpt/utils/unit.js";
|
|
102
102
|
import "../../Sculpt/utils/renderDom.js";
|
|
103
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
103
104
|
import "../../shared-utils/five/FivePuppet.js";
|
|
104
105
|
import "@realsee/five";
|
|
105
106
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
@@ -117,8 +118,8 @@ import "../../shared-utils/five/changeMode.js";
|
|
|
117
118
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
118
119
|
import "../../shared-utils/url/replace-static-prefix.js";
|
|
119
120
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
120
|
-
const
|
|
121
|
+
const gr = (o, r) => new t(o, r);
|
|
121
122
|
export {
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
gr as MapviewFloorplanPlugin,
|
|
124
|
+
gr as default
|
|
124
125
|
};
|
|
@@ -52,6 +52,7 @@ import "../../shared-utils/three/core/Sphere.js";
|
|
|
52
52
|
import "../../shared-utils/three/blink.js";
|
|
53
53
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
54
54
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
55
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
55
56
|
import { FLOORPLAN_DEFAULT_IMAGE as W } from "../../shared-utils/url/defaultUrls.js";
|
|
56
57
|
import { replaceStaticPrefix as U } from "../../shared-utils/url/replace-static-prefix.js";
|
|
57
58
|
import "../../shared-utils/five/FivePuppet.js";
|
|
@@ -152,7 +153,7 @@ function z(d) {
|
|
|
152
153
|
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);
|
|
153
154
|
return e && i;
|
|
154
155
|
}
|
|
155
|
-
class
|
|
156
|
+
class ti extends T {
|
|
156
157
|
constructor(t, e) {
|
|
157
158
|
var a, p, c;
|
|
158
159
|
super(t);
|
|
@@ -486,5 +487,5 @@ class Ze extends T {
|
|
|
486
487
|
}
|
|
487
488
|
}
|
|
488
489
|
export {
|
|
489
|
-
|
|
490
|
+
ti as Controller
|
|
490
491
|
};
|
|
@@ -100,6 +100,7 @@ import "../../shared-utils/three/core/Line2.js";
|
|
|
100
100
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
101
101
|
import "../../Sculpt/utils/unit.js";
|
|
102
102
|
import "../../Sculpt/utils/renderDom.js";
|
|
103
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
103
104
|
import "../../shared-utils/five/FivePuppet.js";
|
|
104
105
|
import "@realsee/five";
|
|
105
106
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
@@ -116,8 +117,8 @@ import "../../shared-utils/five/changeMode.js";
|
|
|
116
117
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
117
118
|
import "../../shared-utils/url/replace-static-prefix.js";
|
|
118
119
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
119
|
-
const
|
|
120
|
+
const gr = (o, r) => new t(o, r);
|
|
120
121
|
export {
|
|
121
|
-
|
|
122
|
-
|
|
122
|
+
gr as ModelFloorplanPlugin,
|
|
123
|
+
gr as default
|
|
123
124
|
};
|
|
@@ -44,6 +44,7 @@ import "../../shared-utils/three/core/Sphere.js";
|
|
|
44
44
|
import "../../shared-utils/three/blink.js";
|
|
45
45
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
46
46
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
47
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
47
48
|
import { FLOORPLAN_DEFAULT_IMAGE as E } from "../../shared-utils/url/defaultUrls.js";
|
|
48
49
|
import { replaceStaticPrefix as k } from "../../shared-utils/url/replace-static-prefix.js";
|
|
49
50
|
import "../../shared-utils/five/FivePuppet.js";
|
|
@@ -115,7 +116,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
|
115
116
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
116
117
|
import "@realsee/five";
|
|
117
118
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
118
|
-
class
|
|
119
|
+
class di extends O {
|
|
119
120
|
constructor(t, i) {
|
|
120
121
|
super(t);
|
|
121
122
|
// =============== public properties =================
|
|
@@ -258,5 +259,5 @@ class mi extends O {
|
|
|
258
259
|
}
|
|
259
260
|
}
|
|
260
261
|
export {
|
|
261
|
-
|
|
262
|
+
di as Controller
|
|
262
263
|
};
|
|
@@ -74,6 +74,7 @@ import "../../shared-utils/three/core/Line2.js";
|
|
|
74
74
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
75
75
|
import "../../Sculpt/utils/unit.js";
|
|
76
76
|
import "../../Sculpt/utils/renderDom.js";
|
|
77
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
77
78
|
import "../../shared-utils/five/FivePuppet.js";
|
|
78
79
|
import "@realsee/five";
|
|
79
80
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
@@ -87,8 +88,8 @@ import "../utils/formatData.js";
|
|
|
87
88
|
import "../Assets/floorplanExtraObject.js";
|
|
88
89
|
import "../../shared-utils/url/replace-static-prefix.js";
|
|
89
90
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
90
|
-
const
|
|
91
|
+
const Mo = (o, r) => new t(o, r);
|
|
91
92
|
export {
|
|
92
|
-
|
|
93
|
-
|
|
93
|
+
Mo as PanoFloorplanRadarPlugin,
|
|
94
|
+
Mo as default
|
|
94
95
|
};
|
|
@@ -50,6 +50,7 @@ import "../../shared-utils/three/core/Sphere.js";
|
|
|
50
50
|
import "../../shared-utils/three/blink.js";
|
|
51
51
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
52
52
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
53
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
53
54
|
import { FLOORPLAN_DEFAULT_IMAGE as z } from "../../shared-utils/url/defaultUrls.js";
|
|
54
55
|
import { replaceStaticPrefix as H } from "../../shared-utils/url/replace-static-prefix.js";
|
|
55
56
|
import "../../shared-utils/five/FivePuppet.js";
|
|
@@ -142,7 +143,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
|
142
143
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
143
144
|
import "@realsee/five";
|
|
144
145
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
145
|
-
class
|
|
146
|
+
class qi extends M {
|
|
146
147
|
constructor(t, i) {
|
|
147
148
|
var h, l;
|
|
148
149
|
super(t);
|
|
@@ -416,5 +417,5 @@ class ji extends M {
|
|
|
416
417
|
}
|
|
417
418
|
}
|
|
418
419
|
export {
|
|
419
|
-
|
|
420
|
+
qi as Controller
|
|
420
421
|
};
|
|
@@ -98,6 +98,7 @@ import "../../shared-utils/three/core/Line2.js";
|
|
|
98
98
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
99
99
|
import "../../Sculpt/utils/unit.js";
|
|
100
100
|
import "../../Sculpt/utils/renderDom.js";
|
|
101
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
101
102
|
import "../../shared-utils/five/FivePuppet.js";
|
|
102
103
|
import "@realsee/five";
|
|
103
104
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
@@ -114,8 +115,8 @@ import "../../shared-utils/getPxmm.js";
|
|
|
114
115
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
115
116
|
import "../../shared-utils/url/replace-static-prefix.js";
|
|
116
117
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
117
|
-
const
|
|
118
|
+
const wr = (o, r) => new t(o, r);
|
|
118
119
|
export {
|
|
119
|
-
|
|
120
|
-
|
|
120
|
+
wr as TopviewFloorplanPlugin,
|
|
121
|
+
wr as default
|
|
121
122
|
};
|
package/libs/floorplan/index.js
CHANGED
|
@@ -11,5 +11,6 @@ import "../shared-utils/three/core/Sphere.js";
|
|
|
11
11
|
import "../shared-utils/three/blink.js";
|
|
12
12
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
13
13
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
14
|
+
import "../vendor/earcut/src/earcut.js";
|
|
14
15
|
import "../shared-utils/five/FivePuppet.js";
|
|
15
16
|
import "../shared-utils/nearlyEqual.js";
|