@realsee/dnalogel 3.43.0 → 3.44.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- 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 +7127 -6867
- package/dist/index.umd.js +106 -72
- 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 +29 -43
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +55 -69
- package/libs/PanoTagPlugin/Components/Tag/index.js +9 -19
- package/libs/PanoTagPlugin/Components/TagContainer.js +42 -52
- package/libs/PanoTagPlugin/Components/TagItem.js +9 -19
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +56 -64
- 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
|
@@ -13,17 +13,17 @@ var o = (i, e, t) => (n(i, typeof e != "symbol" ? e + "" : e, t), t);
|
|
|
13
13
|
import { IObject3D as f } from "../../shared-utils/three/IObject3D.js";
|
|
14
14
|
import * as h from "three";
|
|
15
15
|
import "hammerjs";
|
|
16
|
-
import "
|
|
17
|
-
import "
|
|
18
|
-
import "
|
|
16
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
17
|
+
import { DEFAULT_HIGHLIGHT_OPACITY as M } from "../utils/color.js";
|
|
18
|
+
import "@realsee/five/line";
|
|
19
|
+
import { anyPositionToVector3 as d } from "../../shared-utils/positionToVector3.js";
|
|
19
20
|
import "../../shared-utils/three/THREESphere.js";
|
|
20
21
|
import "animejs";
|
|
21
|
-
import { notNil as
|
|
22
|
-
import
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { DEFAULT_HIGHLIGHT_OPACITY as a } from "../utils/color.js";
|
|
22
|
+
import { notNil as g } from "../../shared-utils/isNil.js";
|
|
23
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
24
|
+
import { CircleWithEdgeMesh as C } from "./CircleWithEdge.js";
|
|
25
|
+
import { radiusToSegments as y } from "../utils/radiusToSegments.js";
|
|
26
|
+
import { ColoredMesh as a } from "../utils/three/ColoredMesh.js";
|
|
27
27
|
class z extends f {
|
|
28
28
|
constructor(t) {
|
|
29
29
|
super();
|
|
@@ -33,7 +33,7 @@ class z extends f {
|
|
|
33
33
|
o(this, "opacityBeforeHighlight");
|
|
34
34
|
o(this, "highlighted", !1);
|
|
35
35
|
o(this, "params");
|
|
36
|
-
this.params = t, this.bottomCircle = new
|
|
36
|
+
this.params = t, this.bottomCircle = new C(t), this.bottomCircle.name = "bottomCircle", this.topCircle = new C(t), this.topCircle.name = "topCircle", this.edgeMesh = new a(t), t != null && t.bottomCenter && (t != null && t.topCenter) && (t != null && t.radius) && this.setPoints(t), this.addIfNotExists(this.bottomCircle);
|
|
37
37
|
}
|
|
38
38
|
get bottomCenter() {
|
|
39
39
|
return this.bottomCircle.center;
|
|
@@ -51,7 +51,7 @@ class z extends f {
|
|
|
51
51
|
return this.bottomCircle.color;
|
|
52
52
|
}
|
|
53
53
|
setPoints(t) {
|
|
54
|
-
const r =
|
|
54
|
+
const r = d(t.topCenter), s = d(t.bottomCenter), m = r.clone().sub(s).normalize();
|
|
55
55
|
this.bottomCircle.setPoints({ center: s, normal: m, radius: t.radius }), this.setTopCenter(r), this.needsRender = !0;
|
|
56
56
|
}
|
|
57
57
|
setTopCenter(t) {
|
|
@@ -61,10 +61,10 @@ class z extends f {
|
|
|
61
61
|
this.addIfNotExists(this.bottomCircle), this.bottomCircle.setPoints({ center: t, normal: this.normal, radius: this.radius }), this.setEdgeMesh();
|
|
62
62
|
}
|
|
63
63
|
setStyle(t) {
|
|
64
|
-
this.params = l(l({}, this.params), t),
|
|
64
|
+
this.params = l(l({}, this.params), t), g(t.color) && this.bottomCircle.setStyle({ color: t.color }), g(t.color) && this.topCircle.setStyle({ color: t.color });
|
|
65
65
|
}
|
|
66
66
|
highlight() {
|
|
67
|
-
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.edgeMesh.opacity, this.edgeMesh.setStyle({ opacity: this.edgeMesh.opacity *
|
|
67
|
+
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.edgeMesh.opacity, this.edgeMesh.setStyle({ opacity: this.edgeMesh.opacity * M }), this.bottomCircle.highlight(), this.topCircle.highlight(), this.needsRender = !0);
|
|
68
68
|
}
|
|
69
69
|
unhighlight() {
|
|
70
70
|
this.highlighted && (this.highlighted = !1, this.edgeMesh.setStyle({ opacity: this.opacityBeforeHighlight }), this.bottomCircle.unhighlight(), this.topCircle.unhighlight(), this.needsRender = !0);
|
|
@@ -76,7 +76,7 @@ class z extends f {
|
|
|
76
76
|
this.radius,
|
|
77
77
|
this.radius,
|
|
78
78
|
t.distanceTo(r),
|
|
79
|
-
|
|
79
|
+
y(this.radius),
|
|
80
80
|
1,
|
|
81
81
|
!0
|
|
82
82
|
);
|
|
@@ -1,12 +1,30 @@
|
|
|
1
1
|
import * as THREE from 'three';
|
|
2
|
-
import { type OcclusionStyle, type LineStyle } from '../utils/color';
|
|
2
|
+
import { type Color, type OcclusionStyle, type LineStyle } from '../utils/color';
|
|
3
|
+
import { LineGeometry, LineMaterial, THREE_Line2 } from '../../shared-utils/five/FiveLine';
|
|
3
4
|
import { type AnyPositions } from '../../shared-utils/positionToVector3';
|
|
4
5
|
import { IObject3D } from '../../shared-utils/three/IObject3D';
|
|
6
|
+
import type { Merge } from 'type-fest';
|
|
5
7
|
import type { PointsData } from '../utils/data';
|
|
6
8
|
export type LineMeshStyle = LineStyle & {
|
|
7
9
|
dashed?: boolean;
|
|
8
10
|
} & OcclusionStyle;
|
|
9
11
|
export type LineData = PointsData;
|
|
12
|
+
export declare class LineMaterial2 extends LineMaterial {
|
|
13
|
+
get three_color(): Color;
|
|
14
|
+
set three_color(value: Color);
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated Use `setDashed` to set
|
|
17
|
+
*/
|
|
18
|
+
dashed: boolean;
|
|
19
|
+
private _three_color;
|
|
20
|
+
constructor(params?: Merge<ConstructorParameters<typeof LineMaterial>[0], THREE.MeshBasicMaterialParameters>);
|
|
21
|
+
setDashed(dashed: boolean): void;
|
|
22
|
+
}
|
|
23
|
+
export declare class THREE_Line3 extends THREE_Line2 {
|
|
24
|
+
name: string;
|
|
25
|
+
material: LineMaterial2;
|
|
26
|
+
constructor(geometry: LineGeometry, material: LineMaterial2);
|
|
27
|
+
}
|
|
10
28
|
export declare class LineMesh extends IObject3D {
|
|
11
29
|
name: string;
|
|
12
30
|
points: THREE.Vector3[];
|
|
@@ -1,34 +1,33 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var u = (o,
|
|
5
|
-
for (var e in
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var e of
|
|
9
|
-
|
|
1
|
+
var E = Object.defineProperty;
|
|
2
|
+
var a = Object.getOwnPropertySymbols;
|
|
3
|
+
var w = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var u = (o, l, e) => l in o ? E(o, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[l] = e, f = (o, l) => {
|
|
5
|
+
for (var e in l || (l = {}))
|
|
6
|
+
w.call(l, e) && u(o, e, l[e]);
|
|
7
|
+
if (a)
|
|
8
|
+
for (var e of a(l))
|
|
9
|
+
H.call(l, e) && u(o, e, l[e]);
|
|
10
10
|
return o;
|
|
11
11
|
};
|
|
12
|
-
var s = (o,
|
|
12
|
+
var s = (o, l, e) => (u(o, typeof l != "symbol" ? l + "" : l, e), e);
|
|
13
13
|
import * as d from "three";
|
|
14
|
-
import { DEFAULT_LINE_COLOR as
|
|
15
|
-
import { LineGeometry as
|
|
16
|
-
import { anyPositionToVector3 as
|
|
17
|
-
import { IObject3D as
|
|
14
|
+
import { DEFAULT_LINE_COLOR as b, DEFAULT_LINE_WIDTH as C, DEFAULT_HIGHLIGHT_OPACITY as _ } from "../utils/color.js";
|
|
15
|
+
import { LineGeometry as k, LineMaterial as D, THREE_Line2 as M } from "../../shared-utils/five/FiveLine.js";
|
|
16
|
+
import { anyPositionToVector3 as R } from "../../shared-utils/positionToVector3.js";
|
|
17
|
+
import { IObject3D as x } from "../../shared-utils/three/IObject3D.js";
|
|
18
18
|
import "hammerjs";
|
|
19
|
-
import "
|
|
20
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
21
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
19
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
22
20
|
import "../../shared-utils/three/THREESphere.js";
|
|
23
21
|
import "animejs";
|
|
24
22
|
import { notNil as h } from "../../shared-utils/isNil.js";
|
|
25
|
-
|
|
23
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
24
|
+
class S extends D {
|
|
26
25
|
constructor(e) {
|
|
27
26
|
var t, i;
|
|
28
27
|
super(e);
|
|
29
28
|
s(this, "_three_color");
|
|
30
|
-
h(e == null ? void 0 : e.color) && (this.three_color = (t = e == null ? void 0 : e.color) != null ? t : 16777215), Object.keys(e).forEach((
|
|
31
|
-
["color", "dashed", "dashScale", "dashSize", "gapSize", "resolution"].includes(
|
|
29
|
+
h(e == null ? void 0 : e.color) && (this.three_color = (t = e == null ? void 0 : e.color) != null ? t : 16777215), Object.keys(e).forEach((n) => {
|
|
30
|
+
["color", "dashed", "dashScale", "dashSize", "gapSize", "resolution"].includes(n) || n in this && (this[n] = e[n]);
|
|
32
31
|
}), this.setDashed((i = e == null ? void 0 : e.dashed) != null ? i : !1);
|
|
33
32
|
}
|
|
34
33
|
get three_color() {
|
|
@@ -41,15 +40,15 @@ class S extends C {
|
|
|
41
40
|
e ? this.defines.USE_DASH = "" : delete this.defines.USE_DASH, this.needsUpdate = !0;
|
|
42
41
|
}
|
|
43
42
|
}
|
|
44
|
-
class T extends
|
|
43
|
+
class T extends M {
|
|
45
44
|
constructor(e, t) {
|
|
46
45
|
super(e, t);
|
|
47
46
|
s(this, "name", "Line3");
|
|
48
47
|
}
|
|
49
48
|
}
|
|
50
|
-
class F extends
|
|
49
|
+
class F extends x {
|
|
51
50
|
constructor(e) {
|
|
52
|
-
var r,
|
|
51
|
+
var c, r, y, L, g;
|
|
53
52
|
super();
|
|
54
53
|
s(this, "name", "LineMesh");
|
|
55
54
|
s(this, "points");
|
|
@@ -59,25 +58,25 @@ class F extends R {
|
|
|
59
58
|
s(this, "opacityBeforeHighlight");
|
|
60
59
|
s(this, "paramsStyle", {});
|
|
61
60
|
this.paramsStyle = e != null ? e : {};
|
|
62
|
-
const t = new
|
|
63
|
-
color: new d.Color((
|
|
64
|
-
linewidth: (
|
|
61
|
+
const t = new k(), i = new S({
|
|
62
|
+
color: new d.Color((c = e == null ? void 0 : e.lineColor) != null ? c : b),
|
|
63
|
+
linewidth: (r = e == null ? void 0 : e.lineWidth) != null ? r : C,
|
|
65
64
|
dashScale: 40,
|
|
66
|
-
opacity: 1,
|
|
65
|
+
opacity: (y = e == null ? void 0 : e.opacity) != null ? y : 1,
|
|
67
66
|
transparent: !0,
|
|
68
|
-
dashed: (
|
|
69
|
-
}),
|
|
70
|
-
color: new d.Color((g = e == null ? void 0 : e.lineColor) != null ? g :
|
|
67
|
+
dashed: (L = e == null ? void 0 : e.dashed) != null ? L : !1
|
|
68
|
+
}), n = new S({
|
|
69
|
+
color: new d.Color((g = e == null ? void 0 : e.lineColor) != null ? g : b),
|
|
71
70
|
linewidth: i == null ? void 0 : i.linewidth,
|
|
72
71
|
dashScale: i.dashScale,
|
|
73
72
|
depthTest: !1,
|
|
74
73
|
depthWrite: !1,
|
|
75
74
|
transparent: !0,
|
|
76
|
-
opacity: 0.2,
|
|
75
|
+
opacity: i.opacity * 0.2,
|
|
77
76
|
dashed: i.dashed,
|
|
78
77
|
resolution: i.resolution
|
|
79
78
|
});
|
|
80
|
-
this.line = new T(t, i), this.backLine = new T(t,
|
|
79
|
+
this.line = new T(t, i), this.backLine = new T(t, n), this.line.renderOrder = 1, this.backLine.renderOrder = 0, this.line.name = "lineFrontMaterial", this.backLine.name = "lineBackMaterial", e && this.setStyle(e), e != null && e.points && this.setPoints(e.points);
|
|
81
80
|
}
|
|
82
81
|
get lineWidth() {
|
|
83
82
|
return this.line.material.linewidth;
|
|
@@ -95,27 +94,27 @@ class F extends R {
|
|
|
95
94
|
return this.line.material.depthTest === !1 ? "depthTest" : "translucence";
|
|
96
95
|
}
|
|
97
96
|
setPoints(e) {
|
|
98
|
-
const t = e.map(
|
|
97
|
+
const t = e.map(R).filter(h);
|
|
99
98
|
if (this.points = t, t.length < 2)
|
|
100
99
|
return;
|
|
101
100
|
this.addIfNotExists(this.line, this.backLine);
|
|
102
|
-
const i = t.flatMap((
|
|
103
|
-
i.length > 2 && (this.line.geometry.dispose(), this.line.geometry = new
|
|
101
|
+
const i = t.flatMap((n) => [n.x, n.y, n.z]);
|
|
102
|
+
i.length > 2 && (this.line.geometry.dispose(), this.line.geometry = new k(), this.backLine.geometry = this.line.geometry), this.line.geometry.setPositions(i), this.line.computeLineDistances(), this.needsRender = !0;
|
|
104
103
|
}
|
|
105
104
|
setResolution(e, t) {
|
|
106
105
|
const i = this.line.material.resolution;
|
|
107
106
|
(i.x !== e || i.y !== t) && (i.set(e, t), this.needsRender = !0);
|
|
108
|
-
const
|
|
109
|
-
(
|
|
107
|
+
const n = this.backLine.material.resolution;
|
|
108
|
+
(n.x !== e || n.y !== t) && (n.set(e, t), this.needsRender = !0);
|
|
110
109
|
}
|
|
111
110
|
setStyle(e) {
|
|
112
|
-
var
|
|
113
|
-
this.paramsStyle = f(f({}, this.paramsStyle), e), h(e.lineColor) && (this.line.material.three_color = new d.Color(e.lineColor), this.backLine.material.three_color = new d.Color(e.lineColor)), h(e.lineWidth) && (this.line.material.linewidth = e.lineWidth, this.backLine.material.linewidth = e.lineWidth), h(e.dashed) && (this.line.material.setDashed(e.dashed), this.backLine.material.setDashed(e.dashed));
|
|
114
|
-
const t = (
|
|
111
|
+
var n, c, r;
|
|
112
|
+
this.paramsStyle = f(f({}, this.paramsStyle), e), h(e.lineColor) && (this.line.material.three_color = new d.Color(e.lineColor), this.backLine.material.three_color = new d.Color(e.lineColor)), h(e.lineWidth) && (this.line.material.linewidth = e.lineWidth, this.backLine.material.linewidth = e.lineWidth), h(e.dashed) && (this.line.material.setDashed(e.dashed), this.backLine.material.setDashed(e.dashed)), h(e.opacity) && (this.line.material.opacity = e.opacity, this.backLine.material.opacity = e.opacity * 0.2);
|
|
113
|
+
const t = (n = e.occlusionVisibility) != null ? n : this.paramsStyle.occlusionVisibility, i = (r = (c = e.occlusionMode) != null ? c : this.paramsStyle.occlusionMode) != null ? r : "translucence";
|
|
115
114
|
h(t) && (t ? i === "depthTest" ? (this.line.material.depthTest = !1, this.backLine.visible = !1) : i === "translucence" && (this.line.material.depthTest = !0, this.backLine.visible = !0) : (this.line.material.depthTest = !0, this.backLine.visible = !1)), this.needsRender = !0;
|
|
116
115
|
}
|
|
117
116
|
highlight() {
|
|
118
|
-
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.line.material.opacity, this.line.material.opacity = this.opacityBeforeHighlight *
|
|
117
|
+
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.line.material.opacity, this.line.material.opacity = this.opacityBeforeHighlight * _, this.backLine.material.opacity = this.backLine.material.opacity * _, this.needsRender = !0);
|
|
119
118
|
}
|
|
120
119
|
unhighlight() {
|
|
121
120
|
this.highlighted && (this.highlighted = !1, this.line.material.opacity = this.opacityBeforeHighlight, this.backLine.material.opacity = 0.2, this.needsRender = !0);
|
|
@@ -15,15 +15,14 @@ import { anyPositionToVector3 as M } from "../../shared-utils/positionToVector3.
|
|
|
15
15
|
import { PointMesh as m } from "./Point.js";
|
|
16
16
|
import "three";
|
|
17
17
|
import "hammerjs";
|
|
18
|
-
import "
|
|
19
|
-
import "
|
|
20
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
18
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
19
|
+
import { LineMesh as V } from "./Line.js";
|
|
21
20
|
import "../../shared-utils/three/THREESphere.js";
|
|
22
21
|
import "animejs";
|
|
23
22
|
import { notNil as u } from "../../shared-utils/isNil.js";
|
|
24
|
-
import
|
|
23
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
25
24
|
import { IObject3D as E } from "../../shared-utils/three/IObject3D.js";
|
|
26
|
-
class
|
|
25
|
+
class R extends V {
|
|
27
26
|
constructor(t) {
|
|
28
27
|
super();
|
|
29
28
|
e(this, "name", "LineWithDotsMesh");
|
|
@@ -67,5 +66,5 @@ class W extends V {
|
|
|
67
66
|
}
|
|
68
67
|
}
|
|
69
68
|
export {
|
|
70
|
-
|
|
69
|
+
R as LineWithDotsMesh
|
|
71
70
|
};
|
|
@@ -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.1");
|
|
20
20
|
e(this, "NAME");
|
|
21
21
|
e(this, "five");
|
|
22
22
|
e(this, "workUtil");
|