@realsee/dnalogel 3.50.14 → 3.50.15-alpha.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/README.md +116 -0
- package/dist/Sculpt/Objects/Base/index.d.ts +1 -1
- package/dist/Sculpt/index.d.ts +2 -2
- package/dist/index.cjs.js +255 -255
- package/dist/index.js +2733 -2732
- package/dist/index.umd.js +251 -251
- package/dist/shared-utils/tag.d.ts +1 -1
- package/dist/shared-utils/three/index.d.ts +1 -0
- package/libs/AreaMakerPlugin/Controller.js +104 -74
- package/libs/AreaMakerPlugin/index.js +33 -3
- package/libs/AreaMakerPlugin/utils/Item.js +66 -36
- package/libs/CSS3DRenderPlugin/Controller.js +35 -15
- package/libs/CSS3DRenderPlugin/index.js +34 -14
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +60 -35
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +98 -78
- package/libs/CruisePlugin/BaseController.js +59 -29
- package/libs/CruisePlugin/Move.js +32 -13
- package/libs/CruisePlugin/Work.js +65 -46
- package/libs/CruisePlugin/index.js +37 -18
- package/libs/CurrentPanoImagePlugin/Controller.js +68 -38
- package/libs/CurrentPanoImagePlugin/index.js +34 -4
- package/libs/GuideLinePlugin/Controller.js +59 -40
- package/libs/GuideLinePlugin/GuideLineItem.js +33 -14
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +33 -14
- package/libs/GuideLinePlugin/index.js +37 -18
- package/libs/ModelMakerPlugin/Controller.js +50 -32
- package/libs/ModelMakerPlugin/index.js +33 -15
- package/libs/ModelTVVideoPlugin/Plugin.js +47 -27
- package/libs/ModelTVVideoPlugin/index.js +23 -3
- package/libs/Object3DHelperPlugin/Controller.js +49 -30
- package/libs/Object3DHelperPlugin/index.js +36 -17
- package/libs/PanoCompassPlugin/Controller.js +33 -13
- package/libs/PanoCompassPlugin/index.js +34 -14
- package/libs/PanoDoorLabelPlugin/BaseController.js +55 -25
- package/libs/PanoDoorLabelPlugin/Controller.js +99 -69
- package/libs/PanoDoorLabelPlugin/index.js +34 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +8 -8
- package/libs/PanoMeasurePlugin/Components/Controller1.js +8 -8
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +75 -49
- package/libs/PanoMeasurePlugin/Controller/index.js +15 -15
- package/libs/PanoMeasurePlugin/Model/area.js +41 -15
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +29 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +8 -8
- package/libs/PanoMeasurePlugin/index.js +3 -3
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +43 -15
- package/libs/PanoRulerProPlugin/Controller.js +60 -30
- package/libs/PanoRulerProPlugin/RulerItems.js +85 -55
- package/libs/PanoRulerProPlugin/index.js +33 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +53 -33
- package/libs/PanoSpatialTagPlugin/index.js +21 -1
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +79 -49
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +235 -206
- package/libs/PanoTagPlugin/Components/Tag/index.js +152 -125
- package/libs/PanoTagPlugin/Components/TagContainer.js +97 -70
- package/libs/PanoTagPlugin/Components/TagItem.js +31 -4
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +29 -2
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +55 -28
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +53 -26
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +54 -27
- package/libs/PanoTagPlugin/controller/TagRender.js +47 -28
- package/libs/PanoTagPlugin/controller/TagUtil.js +32 -13
- package/libs/PanoTagPlugin/controller/index.js +45 -26
- package/libs/PanoTagPlugin/index.js +40 -21
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +59 -29
- package/libs/PanoVideoPlugin/Controller.js +91 -61
- package/libs/PanoVideoPlugin/VideoMeshController.js +56 -26
- package/libs/PanoVideoPlugin/index.js +36 -6
- package/libs/PipelinePlugin/Controller.js +80 -51
- package/libs/PipelinePlugin/index.js +34 -5
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +44 -14
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +43 -13
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +61 -31
- package/libs/Sculpt/Meshes/Box.js +3 -2
- package/libs/Sculpt/Meshes/Cylinder.js +3 -2
- package/libs/Sculpt/Meshes/Line.js +9 -8
- package/libs/Sculpt/Meshes/LineWithDots.js +8 -7
- package/libs/Sculpt/Meshes/Point.js +3 -2
- package/libs/Sculpt/Meshes/Polygon.js +3 -2
- package/libs/Sculpt/Meshes/Prism.js +8 -7
- package/libs/Sculpt/Meshes/Rectangle.js +3 -2
- package/libs/Sculpt/Objects/Base/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Line/Editor.js +7 -6
- package/libs/Sculpt/index.d.ts +2 -2
- package/libs/Sculpt/index.js +3 -2
- package/libs/Sculpt/utils/three/ColoredMesh.js +6 -5
- package/libs/base/BasePlugin.js +4 -3
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +88 -59
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +34 -5
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +79 -50
- package/libs/floorplan/ModelFloorplanPlugin/index.js +34 -5
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +68 -38
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +34 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +104 -75
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +34 -5
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +28 -28
- package/libs/shared-utils/five/index.js +3 -2
- package/libs/shared-utils/five/lookObject.js +3 -2
- package/libs/shared-utils/index.js +44 -42
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +1 -1
- package/libs/shared-utils/tag.js +41 -41
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -2
- package/libs/shared-utils/three/index.d.ts +1 -0
- package/libs/shared-utils/three/index.js +1 -0
- package/package.json +1 -1
|
@@ -9,26 +9,27 @@ var f = (a, e, t) => e in a ? d(a, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
w.call(e, t) && f(a, t, e[t]);
|
|
10
10
|
return a;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
13
|
-
var l = (a, e, t) => new Promise((i,
|
|
14
|
-
var o = (
|
|
12
|
+
var n = (a, e, t) => (f(a, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
|
+
var l = (a, e, t) => new Promise((i, p) => {
|
|
14
|
+
var o = (s) => {
|
|
15
15
|
try {
|
|
16
|
-
|
|
16
|
+
m(t.next(s));
|
|
17
17
|
} catch (c) {
|
|
18
|
-
|
|
18
|
+
p(c);
|
|
19
19
|
}
|
|
20
|
-
}, r = (
|
|
20
|
+
}, r = (s) => {
|
|
21
21
|
try {
|
|
22
|
-
|
|
22
|
+
m(t.throw(s));
|
|
23
23
|
} catch (c) {
|
|
24
|
-
|
|
24
|
+
p(c);
|
|
25
25
|
}
|
|
26
|
-
},
|
|
27
|
-
|
|
26
|
+
}, m = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(o, r);
|
|
27
|
+
m((t = t.apply(a, e)).next());
|
|
28
28
|
});
|
|
29
29
|
import * as u from "three";
|
|
30
30
|
import "../../../shared-utils/tag.js";
|
|
31
31
|
import "hammerjs";
|
|
32
|
+
import "../../../shared-utils/three/PointSelector/index.js";
|
|
32
33
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
33
34
|
import "@realsee/five/line";
|
|
34
35
|
import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
@@ -46,9 +47,38 @@ import "../../../shared-utils/Utils/WorkUtil.js";
|
|
|
46
47
|
import "../../../shared-utils/five/transformPosition.js";
|
|
47
48
|
import "../../../shared-utils/three/temp.js";
|
|
48
49
|
import "../../../shared-utils/dom/resizeObserver.js";
|
|
50
|
+
import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
51
|
+
import "../../../shared-utils/three/Magnifier.js";
|
|
52
|
+
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
53
|
+
import "../../../shared-utils/three/Assets/index.js";
|
|
54
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
55
|
+
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
56
|
+
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
57
|
+
import "../../../shared-utils/three/centerPoint.js";
|
|
58
|
+
import "../../../shared-utils/three/getObjectVisible.js";
|
|
59
|
+
import "../../../shared-utils/isNil.js";
|
|
60
|
+
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
61
|
+
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
62
|
+
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
63
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
64
|
+
import "../../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
65
|
+
import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
66
|
+
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
67
|
+
import "../../../Sculpt/Meshes/Line.js";
|
|
68
|
+
import "../../../Sculpt/typings/style.js";
|
|
69
|
+
import "../../../shared-utils/five/FiveLine.js";
|
|
70
|
+
import "../../../shared-utils/three/IObject3D.js";
|
|
71
|
+
import "../../../Sculpt/utils/removeAllTag.js";
|
|
72
|
+
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
73
|
+
import "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
74
|
+
import "../../../shared-utils/util.js";
|
|
75
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
76
|
+
import "../../../shared-utils/isTouchDevice.js";
|
|
77
|
+
import "../../../shared-utils/five/getPosition.js";
|
|
78
|
+
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
79
|
+
import "../../../shared-utils/three/PointSelector/utils/contents.js";
|
|
49
80
|
import "../../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
50
81
|
import "../../../vendor/three/build/three.module.js";
|
|
51
|
-
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
52
82
|
import "../../../shared-utils/animationFrame/index.js";
|
|
53
83
|
import "../../../shared-utils/three/Extras/Core/Interpolations.js";
|
|
54
84
|
import "../../../shared-utils/three/Extras/Core/Interpolations2.js";
|
|
@@ -82,23 +112,23 @@ const C = (
|
|
|
82
112
|
class h extends u.Mesh {
|
|
83
113
|
constructor(t, i = O) {
|
|
84
114
|
super();
|
|
85
|
-
|
|
115
|
+
n(this, "geometryConfig", {
|
|
86
116
|
radius: 1.5 / 100,
|
|
87
117
|
tubularSegments: 20,
|
|
88
118
|
radialSegments: 8
|
|
89
119
|
});
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
120
|
+
n(this, "customID");
|
|
121
|
+
n(this, "path");
|
|
122
|
+
n(this, "pathLength", 0);
|
|
123
|
+
n(this, "pathPoints");
|
|
124
|
+
n(this, "texture");
|
|
125
|
+
n(this, "opacityAnime");
|
|
96
126
|
/** u / m: 每米水管对应到贴图上,应该对应的 u 的长度 */
|
|
97
|
-
|
|
98
|
-
t.geometryConfig && (this.geometryConfig = y(y({}, this.geometryConfig), t.geometryConfig)), this.customID = t.id || this.uuid, this.pathPoints = t.path, this.path = h.calculatePath(t.path.map((
|
|
99
|
-
const { radius:
|
|
127
|
+
n(this, "uPreMeter", 1);
|
|
128
|
+
t.geometryConfig && (this.geometryConfig = y(y({}, this.geometryConfig), t.geometryConfig)), this.customID = t.id || this.uuid, this.pathPoints = t.path, this.path = h.calculatePath(t.path.map((s) => new u.Vector3().fromArray(s))), this.pathLength = this.path.getLength(), this.texture = h.formatTexture(t.texture);
|
|
129
|
+
const { radius: p, tubularSegments: o, radialSegments: r } = this.geometryConfig, m = h.formatTexture(t.texture);
|
|
100
130
|
this.geometry = h.formatGeometryUV(
|
|
101
|
-
new u.TubeBufferGeometry(this.path, o,
|
|
131
|
+
new u.TubeBufferGeometry(this.path, o, p, r),
|
|
102
132
|
this.pathLength,
|
|
103
133
|
this.uPreMeter
|
|
104
134
|
), this.material = new u.ShaderMaterial({
|
|
@@ -107,7 +137,7 @@ class h extends u.Mesh {
|
|
|
107
137
|
uOffset: { value: 0 },
|
|
108
138
|
vOffset: { value: 0 },
|
|
109
139
|
envMap: {
|
|
110
|
-
value:
|
|
140
|
+
value: m
|
|
111
141
|
}
|
|
112
142
|
},
|
|
113
143
|
transparent: !0,
|
|
@@ -122,11 +152,11 @@ class h extends u.Mesh {
|
|
|
122
152
|
static calculatePath(t) {
|
|
123
153
|
return t.length === 2 ? new u.LineCurve3(t[0], t[1]) : new x(t);
|
|
124
154
|
}
|
|
125
|
-
static formatGeometryUV(t, i,
|
|
155
|
+
static formatGeometryUV(t, i, p) {
|
|
126
156
|
const o = t.getAttribute("uv");
|
|
127
157
|
for (let r = 0; r < o.count; r++) {
|
|
128
|
-
const
|
|
129
|
-
o.setX(r,
|
|
158
|
+
const m = o.getX(r) * i * p;
|
|
159
|
+
o.setX(r, m);
|
|
130
160
|
}
|
|
131
161
|
return t;
|
|
132
162
|
}
|
|
@@ -143,9 +173,9 @@ class h extends u.Mesh {
|
|
|
143
173
|
const i = 0;
|
|
144
174
|
if (typeof (t == null ? void 0 : t.duration) != "number")
|
|
145
175
|
return this.setOpacity(i);
|
|
146
|
-
const
|
|
147
|
-
return
|
|
148
|
-
this.opacityAnime = new g({ progress:
|
|
176
|
+
const p = this.material.uniforms.opacity.value;
|
|
177
|
+
return p === i ? !0 : new Promise((r) => {
|
|
178
|
+
this.opacityAnime = new g({ progress: p }).to({ progress: i }).onUpdate(({ progress: m }) => this.setOpacity(m)).onComplete(() => r(!0)).onDispose(() => {
|
|
149
179
|
this.setOpacity(i), r(!1);
|
|
150
180
|
}).play();
|
|
151
181
|
});
|
|
@@ -158,9 +188,9 @@ class h extends u.Mesh {
|
|
|
158
188
|
const i = 1;
|
|
159
189
|
if (typeof (t == null ? void 0 : t.duration) != "number")
|
|
160
190
|
return this.setOpacity(i);
|
|
161
|
-
const
|
|
191
|
+
const p = this.material.uniforms.opacity.value;
|
|
162
192
|
return new Promise((r) => {
|
|
163
|
-
this.opacityAnime = new g({ progress:
|
|
193
|
+
this.opacityAnime = new g({ progress: p }).to({ progress: i }).onUpdate(({ progress: m }) => this.setOpacity(m)).onComplete(() => r(!0)).onDispose(() => {
|
|
164
194
|
this.setOpacity(i), r(!1);
|
|
165
195
|
}).play();
|
|
166
196
|
});
|
|
@@ -6,6 +6,7 @@ import { anyPositionToVector3 as P } from "../../shared-utils/positionToVector3.
|
|
|
6
6
|
import "../../shared-utils/tag.js";
|
|
7
7
|
import "three";
|
|
8
8
|
import "hammerjs";
|
|
9
|
+
import "../../shared-utils/three/PointSelector/index.js";
|
|
9
10
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
10
11
|
import "@realsee/five/line";
|
|
11
12
|
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
@@ -15,7 +16,7 @@ import { notNil as r } from "../../shared-utils/isNil.js";
|
|
|
15
16
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
16
17
|
import { RectangleWithEdgeMesh as c } from "./RectangleWithEdge.js";
|
|
17
18
|
import { RectangleMesh as a } from "./Rectangle.js";
|
|
18
|
-
class
|
|
19
|
+
class j extends d {
|
|
19
20
|
constructor(t) {
|
|
20
21
|
super();
|
|
21
22
|
s(this, "name", "BoxMesh");
|
|
@@ -92,5 +93,5 @@ class N extends d {
|
|
|
92
93
|
}
|
|
93
94
|
}
|
|
94
95
|
export {
|
|
95
|
-
|
|
96
|
+
j as BoxMesh
|
|
96
97
|
};
|
|
@@ -14,6 +14,7 @@ import { IObject3D as f } from "../../shared-utils/three/IObject3D.js";
|
|
|
14
14
|
import * as h from "three";
|
|
15
15
|
import "../../shared-utils/tag.js";
|
|
16
16
|
import "hammerjs";
|
|
17
|
+
import "../../shared-utils/three/PointSelector/index.js";
|
|
17
18
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
18
19
|
import { DEFAULT_HIGHLIGHT_OPACITY as M } from "../typings/style.js";
|
|
19
20
|
import "@realsee/five/line";
|
|
@@ -26,7 +27,7 @@ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
26
27
|
import { CircleWithEdgeMesh as m } from "./CircleWithEdge.js";
|
|
27
28
|
import { radiusToSegments as y } from "../utils/radiusToSegments.js";
|
|
28
29
|
import { ColoredMesh as a } from "../utils/three/ColoredMesh.js";
|
|
29
|
-
class
|
|
30
|
+
class F extends f {
|
|
30
31
|
constructor(t) {
|
|
31
32
|
super();
|
|
32
33
|
o(this, "bottomCircle");
|
|
@@ -87,5 +88,5 @@ class D extends f {
|
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
90
|
export {
|
|
90
|
-
|
|
91
|
+
F as CylinderMesh
|
|
91
92
|
};
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
var T = Object.defineProperty;
|
|
2
|
-
var
|
|
2
|
+
var p = Object.getOwnPropertySymbols;
|
|
3
3
|
var w = Object.prototype.hasOwnProperty, k = Object.prototype.propertyIsEnumerable;
|
|
4
4
|
var m = (r, o, e) => o in r ? T(r, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[o] = e, g = (r, o) => {
|
|
5
5
|
for (var e in o || (o = {}))
|
|
6
6
|
w.call(o, e) && m(r, e, o[e]);
|
|
7
|
-
if (
|
|
8
|
-
for (var e of
|
|
7
|
+
if (p)
|
|
8
|
+
for (var e of p(o))
|
|
9
9
|
k.call(o, e) && m(r, e, o[e]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
12
|
var h = (r, o, e) => (m(r, typeof o != "symbol" ? o + "" : o, e), e);
|
|
13
13
|
import * as f from "three";
|
|
14
|
-
import { DEFAULT_LINE_COLOR as
|
|
14
|
+
import { DEFAULT_LINE_COLOR as L, DEFAULT_LINE_WIDTH as C, DEFAULT_HIGHLIGHT_OPACITY as S } from "../typings/style.js";
|
|
15
15
|
import { LineMaterial as H, THREE_Line2 as I } from "../../shared-utils/five/FiveLine.js";
|
|
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
19
|
import { LightTag as R } from "../../shared-utils/tag.js";
|
|
20
20
|
import "hammerjs";
|
|
21
|
+
import "../../shared-utils/three/PointSelector/index.js";
|
|
21
22
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
22
23
|
import { centerPoint as W } from "../../shared-utils/three/centerPoint.js";
|
|
23
24
|
import { removeAllTag as O } from "../utils/removeAllTag.js";
|
|
@@ -52,7 +53,7 @@ class E extends I {
|
|
|
52
53
|
h(this, "name", "Line3");
|
|
53
54
|
}
|
|
54
55
|
}
|
|
55
|
-
class
|
|
56
|
+
class te extends x {
|
|
56
57
|
constructor(e) {
|
|
57
58
|
var l, d, a, u, n;
|
|
58
59
|
super();
|
|
@@ -68,14 +69,14 @@ class ee extends x {
|
|
|
68
69
|
h(this, "_visible", !0);
|
|
69
70
|
this.paramsStyle = e != null ? e : {};
|
|
70
71
|
const i = new b(), t = new D({
|
|
71
|
-
color: new f.Color((l = e == null ? void 0 : e.lineColor) != null ? l :
|
|
72
|
+
color: new f.Color((l = e == null ? void 0 : e.lineColor) != null ? l : L),
|
|
72
73
|
linewidth: (d = e == null ? void 0 : e.lineWidth) != null ? d : C,
|
|
73
74
|
dashScale: 40,
|
|
74
75
|
opacity: (a = e == null ? void 0 : e.opacity) != null ? a : 1,
|
|
75
76
|
transparent: !0,
|
|
76
77
|
dashed: (u = e == null ? void 0 : e.dashed) != null ? u : !1
|
|
77
78
|
}), s = new D({
|
|
78
|
-
color: new f.Color((n = e == null ? void 0 : e.lineColor) != null ? n :
|
|
79
|
+
color: new f.Color((n = e == null ? void 0 : e.lineColor) != null ? n : L),
|
|
79
80
|
linewidth: t.linewidth * 0.9,
|
|
80
81
|
dashScale: t.dashScale,
|
|
81
82
|
opacity: t.opacity * 0.7,
|
|
@@ -201,5 +202,5 @@ class ee extends x {
|
|
|
201
202
|
}
|
|
202
203
|
}
|
|
203
204
|
export {
|
|
204
|
-
|
|
205
|
+
te as LineMesh
|
|
205
206
|
};
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
var
|
|
1
|
+
var u = Object.defineProperty, d = Object.defineProperties;
|
|
2
2
|
var f = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var a = Object.getOwnPropertySymbols;
|
|
4
4
|
var g = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var n = (s, i, t) => i in s ?
|
|
5
|
+
var n = (s, i, t) => i in s ? u(s, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[i] = t, o = (s, i) => {
|
|
6
6
|
for (var t in i || (i = {}))
|
|
7
7
|
g.call(i, t) && n(s, t, i[t]);
|
|
8
8
|
if (a)
|
|
9
9
|
for (var t of a(i))
|
|
10
10
|
c.call(i, t) && n(s, t, i[t]);
|
|
11
11
|
return s;
|
|
12
|
-
}, r = (s, i) =>
|
|
12
|
+
}, r = (s, i) => d(s, f(i));
|
|
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
16
|
import "../../shared-utils/tag.js";
|
|
17
17
|
import "three";
|
|
18
18
|
import "hammerjs";
|
|
19
|
+
import "../../shared-utils/three/PointSelector/index.js";
|
|
19
20
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
20
21
|
import { LineMesh as S } from "./Line.js";
|
|
21
22
|
import "../../shared-utils/three/core/Sphere.js";
|
|
@@ -23,7 +24,7 @@ import "animejs";
|
|
|
23
24
|
import { notNil as y } from "../../shared-utils/isNil.js";
|
|
24
25
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
25
26
|
import { IObject3D as M } from "../../shared-utils/three/IObject3D.js";
|
|
26
|
-
class
|
|
27
|
+
class W extends S {
|
|
27
28
|
constructor(t) {
|
|
28
29
|
super();
|
|
29
30
|
e(this, "name", "LineWithDotsMesh");
|
|
@@ -59,13 +60,13 @@ class R extends S {
|
|
|
59
60
|
setPoints(t) {
|
|
60
61
|
super.setPoints(t);
|
|
61
62
|
const h = t.map(b).filter(y);
|
|
62
|
-
this.pointGroup.removeChildren(), this.addIfNotExists(this.pointGroup), h.forEach((
|
|
63
|
+
this.pointGroup.removeChildren(), this.addIfNotExists(this.pointGroup), h.forEach((m) => {
|
|
63
64
|
var l;
|
|
64
65
|
const p = new P(r(o({}, this.style), { color: (l = this._paramsStyle) == null ? void 0 : l.lineColor, tip: void 0 }));
|
|
65
|
-
p.position.copy(
|
|
66
|
+
p.position.copy(m), this.pointGroup.add(p);
|
|
66
67
|
}), this.updateEdgePointsVisibility(), this.needsRender = !0;
|
|
67
68
|
}
|
|
68
69
|
}
|
|
69
70
|
export {
|
|
70
|
-
|
|
71
|
+
W as LineWithDotsMesh
|
|
71
72
|
};
|
|
@@ -26,6 +26,7 @@ import { IObject3D as W } from "../../shared-utils/three/IObject3D.js";
|
|
|
26
26
|
import { anyPositionToVector3 as x } from "../../shared-utils/positionToVector3.js";
|
|
27
27
|
import { LightTag as B } from "../../shared-utils/tag.js";
|
|
28
28
|
import "hammerjs";
|
|
29
|
+
import "../../shared-utils/three/PointSelector/index.js";
|
|
29
30
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
30
31
|
import "@realsee/five/line";
|
|
31
32
|
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
@@ -38,7 +39,7 @@ import { notNil as c } from "../../shared-utils/isNil.js";
|
|
|
38
39
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
39
40
|
const H = "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==";
|
|
40
41
|
let C = null;
|
|
41
|
-
class
|
|
42
|
+
class tt extends W {
|
|
42
43
|
constructor(t) {
|
|
43
44
|
var w, p;
|
|
44
45
|
super();
|
|
@@ -126,5 +127,5 @@ class $ extends W {
|
|
|
126
127
|
}
|
|
127
128
|
}
|
|
128
129
|
export {
|
|
129
|
-
|
|
130
|
+
tt as PointMesh
|
|
130
131
|
};
|
|
@@ -21,6 +21,7 @@ import { LightTag as D } from "../../shared-utils/tag.js";
|
|
|
21
21
|
import { getLengthHTML as M } from "../utils/Meshes/getLengthHTML.js";
|
|
22
22
|
import { applyObjectMatrixWorld as w } from "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
23
23
|
import "hammerjs";
|
|
24
|
+
import "../../shared-utils/three/PointSelector/index.js";
|
|
24
25
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
25
26
|
import "@realsee/five/line";
|
|
26
27
|
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
@@ -31,7 +32,7 @@ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
31
32
|
const p = new l.BufferGeometry();
|
|
32
33
|
p.name = "blankGeometry";
|
|
33
34
|
p.isBlank = !0;
|
|
34
|
-
class
|
|
35
|
+
class Y extends A {
|
|
35
36
|
constructor(e) {
|
|
36
37
|
super(e);
|
|
37
38
|
r(this, "name", "PolygonMesh");
|
|
@@ -114,5 +115,5 @@ class $ extends A {
|
|
|
114
115
|
}
|
|
115
116
|
}
|
|
116
117
|
export {
|
|
117
|
-
|
|
118
|
+
Y as PolygonMesh
|
|
118
119
|
};
|
|
@@ -10,11 +10,12 @@ var g = (n, o, t) => o in n ? b(n, o, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
return n;
|
|
11
11
|
};
|
|
12
12
|
var h = (n, o, t) => (g(n, typeof o != "symbol" ? o + "" : o, t), t);
|
|
13
|
-
import { IObject3D as
|
|
14
|
-
import { anyPositionToVector3 as
|
|
13
|
+
import { IObject3D as p } from "../../shared-utils/three/IObject3D.js";
|
|
14
|
+
import { anyPositionToVector3 as c } from "../../shared-utils/positionToVector3.js";
|
|
15
15
|
import "../../shared-utils/tag.js";
|
|
16
16
|
import * as a from "three";
|
|
17
17
|
import "hammerjs";
|
|
18
|
+
import "../../shared-utils/three/PointSelector/index.js";
|
|
18
19
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
19
20
|
import { LineMesh as y } from "./Line.js";
|
|
20
21
|
import "../../shared-utils/three/core/Sphere.js";
|
|
@@ -24,7 +25,7 @@ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
24
25
|
import { PolygonMesh as d } from "./Polygon.js";
|
|
25
26
|
import { PolygonWithEdgeMesh as u } from "./PolygonWithEdge.js";
|
|
26
27
|
import { intersectWithoutLine as S } from "../../shared-utils/three/core/Raycaster.js";
|
|
27
|
-
class
|
|
28
|
+
class R extends p {
|
|
28
29
|
constructor(t) {
|
|
29
30
|
super();
|
|
30
31
|
h(this, "name", "PrismMesh");
|
|
@@ -32,7 +33,7 @@ class D extends c {
|
|
|
32
33
|
h(this, "bottomPolygon", new u());
|
|
33
34
|
h(this, "topPolygon", new u());
|
|
34
35
|
h(this, "paramStyle");
|
|
35
|
-
h(this, "edgePlanes", new
|
|
36
|
+
h(this, "edgePlanes", new p());
|
|
36
37
|
this.topPolygon.name = "TopPolygon", this.bottomPolygon.name = "BottomPolygon", this.edgePlanes.name = "EdgePlanes", this.addIfNotExists(this.bottomPolygon), t && this.setPoints(t), t && this.setStyle(t);
|
|
37
38
|
}
|
|
38
39
|
/**
|
|
@@ -65,7 +66,7 @@ class D extends c {
|
|
|
65
66
|
});
|
|
66
67
|
}
|
|
67
68
|
setPoints(t) {
|
|
68
|
-
f(t.points) && this.setBottomPoints(t.points), f(t.heightPoint) && this.setTopHeightPoint(
|
|
69
|
+
f(t.points) && this.setBottomPoints(t.points), f(t.heightPoint) && this.setTopHeightPoint(c(t.heightPoint));
|
|
69
70
|
}
|
|
70
71
|
highlight() {
|
|
71
72
|
this.bottomPolygon.highlight(), this.topPolygon.highlight(), this.edgePlanes.children.forEach((t) => {
|
|
@@ -78,7 +79,7 @@ class D extends c {
|
|
|
78
79
|
});
|
|
79
80
|
}
|
|
80
81
|
setBottomPoints(t) {
|
|
81
|
-
this.bottomPolygon.setPoints(t.map(
|
|
82
|
+
this.bottomPolygon.setPoints(t.map(c)), this.heightPoint && this.setTopHeightPoint(this.heightPoint);
|
|
82
83
|
}
|
|
83
84
|
setTopHeightPoint(t) {
|
|
84
85
|
this.heightPoint = t, this.addIfNotExists(this.topPolygon);
|
|
@@ -105,5 +106,5 @@ class D extends c {
|
|
|
105
106
|
}
|
|
106
107
|
}
|
|
107
108
|
export {
|
|
108
|
-
|
|
109
|
+
R as PrismMesh
|
|
109
110
|
};
|
|
@@ -5,6 +5,7 @@ import { anyPositionToVector3 as a } from "../../shared-utils/positionToVector3.
|
|
|
5
5
|
import "../../shared-utils/tag.js";
|
|
6
6
|
import "three";
|
|
7
7
|
import "hammerjs";
|
|
8
|
+
import "../../shared-utils/three/PointSelector/index.js";
|
|
8
9
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
9
10
|
import "@realsee/five/line";
|
|
10
11
|
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
@@ -16,7 +17,7 @@ import { PolygonMesh as u } from "./Polygon.js";
|
|
|
16
17
|
import { RectangleGeometry as g } from "../utils/three/RectangleGeometry.js";
|
|
17
18
|
import { getBetterNormal as f } from "../utils/getBetterNormal.js";
|
|
18
19
|
import { Sculpt as d } from "../index.js";
|
|
19
|
-
class
|
|
20
|
+
class V extends u {
|
|
20
21
|
constructor(t) {
|
|
21
22
|
super(t);
|
|
22
23
|
i(this, "name", "RectangleMesh");
|
|
@@ -45,5 +46,5 @@ class T extends u {
|
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
export {
|
|
48
|
-
|
|
49
|
+
V as RectangleMesh
|
|
49
50
|
};
|
|
@@ -61,7 +61,7 @@ Config extends BaseObjectConfig = BaseObjectConfig> extends IObject3D {
|
|
|
61
61
|
id: string;
|
|
62
62
|
type: string;
|
|
63
63
|
};
|
|
64
|
-
protected get pointSelector(): import("../../../shared-utils
|
|
64
|
+
protected get pointSelector(): import("../../../shared-utils").PointSelector;
|
|
65
65
|
constructor(data?: Partial<ImportData>, config?: Partial<Config>);
|
|
66
66
|
on: <T extends keyof FiveDomEventMap>(event: T, callback: FiveDomEventMap[T], config?: EventHandlerConfig) => void;
|
|
67
67
|
off: (event?: keyof FiveDomEventMap, callback?: (e: import("../../../shared-utils/five/FiveDomEvents").FiveDomEvent) => any, ...args: any[]) => void;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
var g = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var o = (s, e, t) => (
|
|
4
|
-
import { BaseEditor as
|
|
2
|
+
var p = (s, e, t) => e in s ? g(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
|
3
|
+
var o = (s, e, t) => (p(s, typeof e != "symbol" ? e + "" : e, t), t);
|
|
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";
|
|
7
7
|
import { getIntersectByRaycaster as h } from "../../../shared-utils/five/getPosition.js";
|
|
8
8
|
import "../../../shared-utils/tag.js";
|
|
9
9
|
import "three";
|
|
10
10
|
import "hammerjs";
|
|
11
|
+
import "../../../shared-utils/three/PointSelector/index.js";
|
|
11
12
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
12
13
|
import "@realsee/five/line";
|
|
13
14
|
import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
@@ -15,7 +16,7 @@ import "../../../shared-utils/three/core/Sphere.js";
|
|
|
15
16
|
import "animejs";
|
|
16
17
|
import { notNil as m } from "../../../shared-utils/isNil.js";
|
|
17
18
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
18
|
-
class l extends
|
|
19
|
+
class l extends d {
|
|
19
20
|
constructor(t) {
|
|
20
21
|
super(t);
|
|
21
22
|
o(this, "draggingPoints", []);
|
|
@@ -43,7 +44,7 @@ class l extends p {
|
|
|
43
44
|
super.disable(), this.removeChildren();
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
|
-
class
|
|
47
|
+
class w extends l {
|
|
47
48
|
constructor(t) {
|
|
48
49
|
super(t);
|
|
49
50
|
o(this, "onDrag", (t) => {
|
|
@@ -58,6 +59,6 @@ class q extends l {
|
|
|
58
59
|
}
|
|
59
60
|
}
|
|
60
61
|
export {
|
|
61
|
-
|
|
62
|
+
w as LineEditor,
|
|
62
63
|
l as LineEditorAbstract
|
|
63
64
|
};
|
package/libs/Sculpt/index.d.ts
CHANGED
|
@@ -39,12 +39,12 @@ export declare class Sculpt extends Subscribe<Event> {
|
|
|
39
39
|
static modules: {
|
|
40
40
|
five: Five;
|
|
41
41
|
_cursor?: import("./utils/Modules/Cursor").Cursor;
|
|
42
|
-
_pointSelector?: import("../shared-utils
|
|
42
|
+
_pointSelector?: import("../shared-utils").PointSelector;
|
|
43
43
|
_fiveDomEvents?: import("../shared-utils/five/FiveDomEvents").FiveDomEvents;
|
|
44
44
|
_object3DHelper?: import("..").Object3DHelperController;
|
|
45
45
|
inited: boolean;
|
|
46
46
|
readonly cursor: import("./utils/Modules/Cursor").Cursor;
|
|
47
|
-
readonly pointSelector: import("../shared-utils
|
|
47
|
+
readonly pointSelector: import("../shared-utils").PointSelector;
|
|
48
48
|
readonly fiveDomEvents: import("../shared-utils/five/FiveDomEvents").FiveDomEvents;
|
|
49
49
|
readonly object3DHelper: import("..").Object3DHelperController;
|
|
50
50
|
init: (five: Five) => void;
|
package/libs/Sculpt/index.js
CHANGED
|
@@ -33,6 +33,7 @@ import { IObject3D as k } from "../shared-utils/three/IObject3D.js";
|
|
|
33
33
|
import "../shared-utils/tag.js";
|
|
34
34
|
import "three";
|
|
35
35
|
import "hammerjs";
|
|
36
|
+
import "../shared-utils/three/PointSelector/index.js";
|
|
36
37
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
37
38
|
import "@realsee/five/line";
|
|
38
39
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
@@ -238,8 +239,8 @@ const h = class extends S {
|
|
|
238
239
|
};
|
|
239
240
|
let p = h;
|
|
240
241
|
u(p, "modules", O);
|
|
241
|
-
const
|
|
242
|
+
const he = (m) => new p(m);
|
|
242
243
|
export {
|
|
243
244
|
p as Sculpt,
|
|
244
|
-
|
|
245
|
+
he as SculptPlugin
|
|
245
246
|
};
|
|
@@ -11,10 +11,11 @@ var u = (i, e, t) => e in i ? g(i, e, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
};
|
|
12
12
|
var n = (i, e, t) => (u(i, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
13
|
import * as s from "three";
|
|
14
|
-
import { DEFAULT_COLOR as
|
|
15
|
-
import { IObject3D as
|
|
14
|
+
import { DEFAULT_COLOR as p } from "../../typings/style.js";
|
|
15
|
+
import { IObject3D as F } from "../../../shared-utils/three/IObject3D.js";
|
|
16
16
|
import "../../../shared-utils/tag.js";
|
|
17
17
|
import "hammerjs";
|
|
18
|
+
import "../../../shared-utils/three/PointSelector/index.js";
|
|
18
19
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
19
20
|
import "@realsee/five/line";
|
|
20
21
|
import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
@@ -22,7 +23,7 @@ import "../../../shared-utils/three/core/Sphere.js";
|
|
|
22
23
|
import "animejs";
|
|
23
24
|
import { notNil as y } from "../../../shared-utils/isNil.js";
|
|
24
25
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
25
|
-
class
|
|
26
|
+
class C extends F {
|
|
26
27
|
constructor(t) {
|
|
27
28
|
var h, m;
|
|
28
29
|
super();
|
|
@@ -33,7 +34,7 @@ class x extends p {
|
|
|
33
34
|
n(this, "_geometry", new s.BufferGeometry());
|
|
34
35
|
this.paramsStyle = t != null ? t : {};
|
|
35
36
|
const r = new s.MeshBasicMaterial({
|
|
36
|
-
color: (h = t == null ? void 0 : t.color) != null ? h :
|
|
37
|
+
color: (h = t == null ? void 0 : t.color) != null ? h : p,
|
|
37
38
|
transparent: !0,
|
|
38
39
|
side: s.DoubleSide,
|
|
39
40
|
depthTest: !0,
|
|
@@ -84,5 +85,5 @@ class x extends p {
|
|
|
84
85
|
}
|
|
85
86
|
}
|
|
86
87
|
export {
|
|
87
|
-
|
|
88
|
+
C as ColoredMesh
|
|
88
89
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -5,6 +5,7 @@ import { Subscribe as l } from "../shared-utils/Subscribe.js";
|
|
|
5
5
|
import "../shared-utils/tag.js";
|
|
6
6
|
import "three";
|
|
7
7
|
import "hammerjs";
|
|
8
|
+
import "../shared-utils/three/PointSelector/index.js";
|
|
8
9
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
9
10
|
import "@realsee/five/line";
|
|
10
11
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
@@ -13,12 +14,12 @@ import "animejs";
|
|
|
13
14
|
import { FiveUtil as a } from "../shared-utils/Utils/FiveUtil.js";
|
|
14
15
|
import { absoluteUrl as m } from "../shared-utils/url/absoluteUrl.js";
|
|
15
16
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
16
|
-
let
|
|
17
|
+
let b = class {
|
|
17
18
|
constructor(t, r) {
|
|
18
19
|
/**
|
|
19
20
|
* @realsee/dnalogel 版本号
|
|
20
21
|
*/
|
|
21
|
-
i(this, "VERSION", "3.50.
|
|
22
|
+
i(this, "VERSION", "3.50.15-alpha.0");
|
|
22
23
|
i(this, "NAME");
|
|
23
24
|
i(this, "five");
|
|
24
25
|
i(this, "workUtil");
|
|
@@ -55,5 +56,5 @@ let P = class {
|
|
|
55
56
|
}
|
|
56
57
|
};
|
|
57
58
|
export {
|
|
58
|
-
|
|
59
|
+
b as Controller
|
|
59
60
|
};
|