@realsee/dnalogel 3.78.0-alpha.3 → 3.78.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -10
- package/dist/DigitalPerformancePlugin/controller/index.d.ts +224 -0
- package/dist/DigitalPerformancePlugin/core/DigitalHuman.d.ts +55 -0
- package/dist/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +40 -0
- package/dist/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +150 -0
- package/dist/DigitalPerformancePlugin/core/Trace.d.ts +9 -0
- package/dist/DigitalPerformancePlugin/index.d.ts +11 -0
- package/dist/DigitalPerformancePlugin/mock.d.ts +76 -0
- package/dist/DigitalPerformancePlugin/typings/index.d.ts +79 -0
- package/dist/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -6
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -2
- package/dist/PanoTagPlugin/utils/tagPosition.d.ts +2 -1
- package/dist/Sculpt/Meshes/Line.d.ts +4 -0
- package/dist/Sculpt/Objects/Base/Editor.d.ts +9 -2
- package/dist/index.cjs.js +101 -88
- package/dist/index.d.ts +1 -0
- package/dist/index.js +14196 -12441
- package/dist/index.umd.js +83 -70
- package/dist/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
- package/libs/AreaMakerPlugin/Controller.js +3 -2
- package/libs/AreaMakerPlugin/index.js +3 -2
- package/libs/AreaMakerPlugin/utils/Item.js +3 -2
- package/libs/CSS3DRenderPlugin/Controller.js +3 -2
- package/libs/CSS3DRenderPlugin/index.js +6 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +39 -38
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +10 -9
- package/libs/CruisePlugin/BaseController.js +5 -4
- package/libs/CruisePlugin/Move.js +3 -2
- package/libs/CruisePlugin/Work.js +3 -2
- package/libs/CruisePlugin/index.js +7 -6
- package/libs/CurrentPanoImagePlugin/Controller.js +15 -14
- package/libs/CurrentPanoImagePlugin/index.js +4 -3
- package/libs/DigitalPerformancePlugin/controller/index.d.ts +2 -2
- package/libs/DigitalPerformancePlugin/controller/index.js +164 -173
- package/libs/DigitalPerformancePlugin/core/DigitalHuman.d.ts +16 -6
- package/libs/DigitalPerformancePlugin/core/DigitalHuman.js +128 -102
- package/libs/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +11 -5
- package/libs/DigitalPerformancePlugin/core/DigitalPlayground.js +84 -74
- package/libs/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +7 -0
- package/libs/DigitalPerformancePlugin/mock.d.ts +6 -0
- package/libs/DigitalPerformancePlugin/mock.js +272 -274
- package/libs/GuideLinePlugin/Controller.js +7 -6
- package/libs/GuideLinePlugin/GuideLineItem.js +5 -4
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +51 -48
- package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -2
- package/libs/GuideLinePlugin/index.js +7 -6
- package/libs/MeasurePlugin/Controller.js +11 -10
- package/libs/MeasurePlugin/index.js +5 -4
- package/libs/MeasurePlugin/utils/MeasureMesh.js +3 -2
- 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 +3 -2
- package/libs/ModelMakerPlugin/index.js +3 -2
- 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 +20 -19
- package/libs/ModelViewPlugin/index.js +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +3 -2
- 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 +24 -23
- package/libs/PanoDoorLabelPlugin/index.js +4 -3
- package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
- package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
- package/libs/PanoMeasurePlugin/Model/area.js +3 -2
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -15
- package/libs/PanoMeasurePlugin/index.js +14 -13
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
- package/libs/PanoRulerProPlugin/Controller.js +3 -2
- package/libs/PanoRulerProPlugin/RulerItems.js +42 -41
- package/libs/PanoRulerProPlugin/index.js +4 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +34 -33
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +141 -138
- 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 +3 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +131 -122
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +50 -49
- package/libs/PanoTagPlugin/controller/Tag/BoxTag.js +69 -65
- package/libs/PanoTagPlugin/controller/Tag/MaskTag.js +1 -0
- package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -6
- package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.js +2 -90
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PolygonTag.js +31 -29
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +30 -29
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -2
- package/libs/PanoTagPlugin/utils/index.js +31 -30
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
- package/libs/PanoTagPlugin/utils/tag/format.js +3 -2
- package/libs/PanoTagPlugin/utils/tagPosition.d.ts +2 -1
- package/libs/PanoTagPlugin/utils/tagPosition.js +34 -32
- package/libs/PanoVideoPlugin/Controller.js +9 -8
- package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
- package/libs/PanoVideoPlugin/index.js +6 -5
- package/libs/PipelinePlugin/Controller.js +3 -2
- 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 +1 -0
- package/libs/Sculpt/Meshes/Line.d.ts +4 -0
- package/libs/Sculpt/Meshes/Line.js +85 -76
- package/libs/Sculpt/Meshes/Point.js +28 -28
- package/libs/Sculpt/Meshes/Polygon.js +43 -43
- package/libs/Sculpt/Objects/Base/Editor.d.ts +9 -2
- package/libs/Sculpt/Objects/Base/Editor.js +72 -63
- package/libs/Sculpt/index.js +1 -1
- package/libs/Sculpt/utils/Modules/Cursor.js +7 -7
- package/libs/base/BasePlugin.js +5 -5
- 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/index.d.ts +1 -0
- package/libs/index.js +162 -150
- package/libs/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
- package/libs/shared-utils/five/getFiveFromParentChain.js +20 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +1 -0
- package/libs/shared-utils/url/replace-static-prefix.js +12 -7
- package/package.json +3 -3
- package/libs/PanoTagPlugin/controller/Tag/MaskTag1.d.ts +0 -202
- package/libs/PanoTagPlugin/controller/Tag/MaskTag1.js +0 -617
|
@@ -54,6 +54,7 @@ import "../../Sculpt/typings/style.js";
|
|
|
54
54
|
import "../../shared-utils/three/IObject3D.js";
|
|
55
55
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
56
56
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
57
|
+
import "../../shared-utils/five/getFiveFromParentChain.js";
|
|
57
58
|
import "../../shared-utils/three/core/LineGeometry.js";
|
|
58
59
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
59
60
|
import "../../shared-utils/three/core/Line2.js";
|
|
@@ -70,7 +71,7 @@ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
|
70
71
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
71
72
|
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
72
73
|
import "../../shared-utils/three/boundingBox.js";
|
|
73
|
-
class
|
|
74
|
+
class Bi extends s {
|
|
74
75
|
constructor(...t) {
|
|
75
76
|
super(...t);
|
|
76
77
|
r(this, "hideTag", () => {
|
|
@@ -95,5 +96,5 @@ class xi extends s {
|
|
|
95
96
|
}
|
|
96
97
|
}
|
|
97
98
|
export {
|
|
98
|
-
|
|
99
|
+
Bi as ModelMakerBoxItem
|
|
99
100
|
};
|
|
@@ -54,6 +54,7 @@ import "../../Sculpt/typings/style.js";
|
|
|
54
54
|
import "../../shared-utils/three/IObject3D.js";
|
|
55
55
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
56
56
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
57
|
+
import "../../shared-utils/five/getFiveFromParentChain.js";
|
|
57
58
|
import "../../shared-utils/three/core/LineGeometry.js";
|
|
58
59
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
59
60
|
import "../../shared-utils/three/core/Line2.js";
|
|
@@ -70,7 +71,7 @@ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
|
70
71
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
71
72
|
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
72
73
|
import "../../shared-utils/three/boundingBox.js";
|
|
73
|
-
class
|
|
74
|
+
class Vt extends a {
|
|
74
75
|
constructor(...t) {
|
|
75
76
|
super(...t);
|
|
76
77
|
p(this, "onPanoArrived", (t) => {
|
|
@@ -95,5 +96,5 @@ class wt extends a {
|
|
|
95
96
|
}
|
|
96
97
|
}
|
|
97
98
|
export {
|
|
98
|
-
|
|
99
|
+
Vt as ModelMakerPolygonItem
|
|
99
100
|
};
|
|
@@ -62,6 +62,7 @@ import "../../shared-utils/three/IObject3D.js";
|
|
|
62
62
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
63
63
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
64
64
|
import "../../shared-utils/util.js";
|
|
65
|
+
import "../../shared-utils/five/getFiveFromParentChain.js";
|
|
65
66
|
import "../../shared-utils/three/core/LineGeometry.js";
|
|
66
67
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
67
68
|
import "../../shared-utils/three/core/Line2.js";
|
|
@@ -80,7 +81,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
|
80
81
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
81
82
|
import "@realsee/five";
|
|
82
83
|
import "../../shared-utils/three/addIfNotExists.js";
|
|
83
|
-
class
|
|
84
|
+
class qo extends S {
|
|
84
85
|
constructor(...o) {
|
|
85
86
|
const r = o[0], p = C(r.model), m = new b.Vector3().lerpVectors(a(p, 0), a(p, 5), 0.5);
|
|
86
87
|
super(h(n({}, r), { position: m }));
|
|
@@ -104,5 +105,5 @@ class _o extends S {
|
|
|
104
105
|
}
|
|
105
106
|
}
|
|
106
107
|
export {
|
|
107
|
-
|
|
108
|
+
qo as ModelMakerPrismItem
|
|
108
109
|
};
|
|
@@ -60,6 +60,7 @@ import "../shared-utils/three/IObject3D.js";
|
|
|
60
60
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
61
61
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
62
62
|
import "../shared-utils/util.js";
|
|
63
|
+
import "../shared-utils/five/getFiveFromParentChain.js";
|
|
63
64
|
import "../shared-utils/three/core/LineGeometry.js";
|
|
64
65
|
import "@realsee/five/line";
|
|
65
66
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
@@ -86,7 +87,7 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
86
87
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
87
88
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
88
89
|
import "../shared-utils/url/defaultUrls.js";
|
|
89
|
-
const
|
|
90
|
+
const et = (s, { videoElement: g }) => {
|
|
90
91
|
const e = {
|
|
91
92
|
videoMeshes: [],
|
|
92
93
|
videoTextureEnabled: !1,
|
|
@@ -229,6 +230,6 @@ const Ze = (s, { videoElement: g }) => {
|
|
|
229
230
|
}), { enable: h, disable: l, load: L, dispose: V, state: e, css3DRenderPlugin: f };
|
|
230
231
|
};
|
|
231
232
|
export {
|
|
232
|
-
|
|
233
|
-
|
|
233
|
+
et as ModelTVVideoPlugin,
|
|
234
|
+
et as default
|
|
234
235
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelTVVideoPlugin as r } from "./Plugin.js";
|
|
2
|
-
import { DIRECTION as
|
|
2
|
+
import { DIRECTION as No } from "./typings.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import "./utils/parseData.js";
|
|
5
5
|
import "../CSS3DRenderPlugin/index.js";
|
|
@@ -44,6 +44,7 @@ import "../shared-utils/three/IObject3D.js";
|
|
|
44
44
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
45
45
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
46
46
|
import "../shared-utils/util.js";
|
|
47
|
+
import "../shared-utils/five/getFiveFromParentChain.js";
|
|
47
48
|
import "../shared-utils/three/core/LineGeometry.js";
|
|
48
49
|
import "@realsee/five/line";
|
|
49
50
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
@@ -72,7 +73,7 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
72
73
|
import "../shared-utils/url/defaultUrls.js";
|
|
73
74
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
74
75
|
export {
|
|
75
|
-
|
|
76
|
+
No as DIRECTION,
|
|
76
77
|
r as ModelTVVideoPlugin,
|
|
77
78
|
r as default
|
|
78
79
|
};
|
|
@@ -28,7 +28,7 @@ var V = (e, o, r) => new Promise((s, f) => {
|
|
|
28
28
|
import { Camera as Q, loadAt3d as Z } from "@realsee/five";
|
|
29
29
|
import { Subscribe as $ } from "../shared-utils/Subscribe.js";
|
|
30
30
|
import "../shared-utils/tag.js";
|
|
31
|
-
import * as
|
|
31
|
+
import * as a from "three";
|
|
32
32
|
import "../vendor/hammerjs/hammer.js";
|
|
33
33
|
import "../shared-utils/three/PointSelector/index.js";
|
|
34
34
|
import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
@@ -76,6 +76,7 @@ import "../shared-utils/three/IObject3D.js";
|
|
|
76
76
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
77
77
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
78
78
|
import "../shared-utils/util.js";
|
|
79
|
+
import "../shared-utils/five/getFiveFromParentChain.js";
|
|
79
80
|
import "../shared-utils/three/core/LineGeometry.js";
|
|
80
81
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
81
82
|
import "../shared-utils/three/core/Line2.js";
|
|
@@ -92,7 +93,7 @@ import "../vendor/animejs/lib/anime.es.js";
|
|
|
92
93
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
93
94
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
94
95
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
95
|
-
const
|
|
96
|
+
const fe = (e, o) => {
|
|
96
97
|
var N, R;
|
|
97
98
|
const r = new $();
|
|
98
99
|
let s = (R = (N = o == null ? void 0 : o.initialState) == null ? void 0 : N.enabled) != null ? R : !0, f = !1, h = !0, i = null;
|
|
@@ -101,19 +102,19 @@ const ue = (e, o) => {
|
|
|
101
102
|
lockedPanoIndex: null,
|
|
102
103
|
lockedLatitude: null,
|
|
103
104
|
lockedLongitude: null
|
|
104
|
-
}), o == null ? void 0 : o.config), d = new
|
|
105
|
+
}), o == null ? void 0 : o.config), d = new a.Scene(), c = new Q(60);
|
|
105
106
|
c.near = 1, c.updateTime(Date.now());
|
|
106
|
-
let u = new
|
|
107
|
+
let u = new a.Object3D(), k, b;
|
|
107
108
|
{
|
|
108
|
-
const t = new
|
|
109
|
-
t.position.copy(new
|
|
109
|
+
const t = new a.DirectionalLight(16777215, 0.5);
|
|
110
|
+
t.position.copy(new a.Vector3(1, 1, 1)), d.add(t);
|
|
110
111
|
}
|
|
111
112
|
{
|
|
112
|
-
const t = new
|
|
113
|
+
const t = new a.DirectionalLight(16777215, 0.3);
|
|
113
114
|
d.add(t);
|
|
114
115
|
}
|
|
115
116
|
{
|
|
116
|
-
const t = new
|
|
117
|
+
const t = new a.AmbientLight(16777215, 0.3);
|
|
117
118
|
d.add(t);
|
|
118
119
|
}
|
|
119
120
|
d.add(u);
|
|
@@ -134,21 +135,21 @@ const ue = (e, o) => {
|
|
|
134
135
|
const D = X.scene;
|
|
135
136
|
return D.rotateX(-Math.PI / 2), D;
|
|
136
137
|
});
|
|
137
|
-
const
|
|
138
|
-
p.expandByPoint(new
|
|
138
|
+
const m = v(u), p = new a.Box3();
|
|
139
|
+
p.expandByPoint(new a.Vector3(m.min.x, m.min.z, -m.min.y)), p.expandByPoint(new a.Vector3(m.max.x, m.max.z, -m.max.y));
|
|
139
140
|
const B = Math.pow(
|
|
140
141
|
Math.pow(p.max.x - p.min.x + 1, 2) + Math.pow(p.max.y - p.min.y + 1, 2) + Math.pow(p.max.z - p.min.z + 1, 2),
|
|
141
142
|
1 / 2
|
|
142
143
|
);
|
|
143
144
|
let L = B / 2 / Math.tan(Math.PI * c.fov / 360);
|
|
144
|
-
c.aspect < 1 && (L = k / c.aspect), k = isNaN(L) ? B : L, b = p.getCenter(new
|
|
145
|
+
c.aspect < 1 && (L = k / c.aspect), k = isNaN(L) ? B : L, b = p.getCenter(new a.Vector3()), d.add(u), f = !0, r.emit("loaded"), g();
|
|
145
146
|
});
|
|
146
147
|
s && y();
|
|
147
148
|
const j = () => {
|
|
148
149
|
if (e.renderer)
|
|
149
|
-
return i || (i = new
|
|
150
|
+
return i || (i = new a.WebGLRenderer({ antialias: !1, alpha: !0 }), i.setPixelRatio(e.renderer.getPixelRatio()), i.outputEncoding = a.sRGBEncoding, i.setClearColor(1579548, 0), i.autoClear = !0), i;
|
|
150
151
|
}, F = () => {
|
|
151
|
-
d.remove(u), u = new
|
|
152
|
+
d.remove(u), u = new a.Object3D(), d.add(u), f = !1, r.emit("willLoad"), g();
|
|
152
153
|
}, O = () => {
|
|
153
154
|
s && (f || y());
|
|
154
155
|
}, T = () => {
|
|
@@ -161,15 +162,15 @@ const ue = (e, o) => {
|
|
|
161
162
|
if (!l)
|
|
162
163
|
return;
|
|
163
164
|
t.appendChild(l.domElement), P(w);
|
|
164
|
-
const
|
|
165
|
-
|
|
165
|
+
const m = window.getComputedStyle(t).position;
|
|
166
|
+
m !== "relative" && m !== "absolute" && m !== "fixed" && m !== "sticky" && (t.style.position = "relative");
|
|
166
167
|
}, P = (t = {}) => {
|
|
167
168
|
if (!i)
|
|
168
169
|
return;
|
|
169
170
|
const l = i.domElement.parentNode;
|
|
170
171
|
if (l != null && l.nodeName) {
|
|
171
|
-
const { width:
|
|
172
|
-
i.setSize(
|
|
172
|
+
const { width: m = l.offsetWidth, height: p = l.offsetHeight } = t;
|
|
173
|
+
i.setSize(m, p), c.aspect = m / p, c.updateProjectionMatrix();
|
|
173
174
|
}
|
|
174
175
|
g();
|
|
175
176
|
}, g = () => {
|
|
@@ -189,6 +190,6 @@ const ue = (e, o) => {
|
|
|
189
190
|
return e.on("loaded", O), e.on("willLoad", F), e.on("cameraDirectionUpdate", g), e.on("dispose", H), e.on("renderFrame", M), e.on("cameraPositionUpdate", g), { appendTo: G, refresh: P, changeConfigs: _, enable: T, disable: W, getCurrentState: q, hooks: r };
|
|
190
191
|
};
|
|
191
192
|
export {
|
|
192
|
-
|
|
193
|
-
|
|
193
|
+
fe as ModelViewPlugin,
|
|
194
|
+
fe as default
|
|
194
195
|
};
|
|
@@ -51,6 +51,7 @@ import "../Sculpt/typings/style.js";
|
|
|
51
51
|
import "../shared-utils/three/IObject3D.js";
|
|
52
52
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
53
53
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
54
|
+
import "../shared-utils/five/getFiveFromParentChain.js";
|
|
54
55
|
import "../shared-utils/three/core/LineGeometry.js";
|
|
55
56
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
56
57
|
import "../shared-utils/three/core/Line2.js";
|
|
@@ -91,6 +91,7 @@ import "../Sculpt/typings/style.js";
|
|
|
91
91
|
import "../shared-utils/three/IObject3D.js";
|
|
92
92
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
93
93
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
94
|
+
import "../shared-utils/five/getFiveFromParentChain.js";
|
|
94
95
|
import "../shared-utils/three/core/LineGeometry.js";
|
|
95
96
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
96
97
|
import "../shared-utils/three/core/Line2.js";
|
|
@@ -140,7 +141,7 @@ const M = "Object3DHelperPlugin", E = M, ee = () => {
|
|
|
140
141
|
}, re = () => {
|
|
141
142
|
console.error(`${E} is disabled`);
|
|
142
143
|
};
|
|
143
|
-
class
|
|
144
|
+
class ir extends _ {
|
|
144
145
|
constructor(e) {
|
|
145
146
|
super(e);
|
|
146
147
|
f(this, "name", M);
|
|
@@ -348,6 +349,6 @@ class or extends _ {
|
|
|
348
349
|
}
|
|
349
350
|
}
|
|
350
351
|
export {
|
|
351
|
-
|
|
352
|
+
ir as Object3DHelperController,
|
|
352
353
|
E as PLUGIN
|
|
353
354
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Object3DHelperController as o } from "./Controller.js";
|
|
2
|
-
import { PLUGIN as
|
|
2
|
+
import { PLUGIN as eo } from "./Controller.js";
|
|
3
3
|
import "../base/BasePlugin.js";
|
|
4
4
|
import "../shared-utils/Subscribe.js";
|
|
5
5
|
import "../shared-utils/tag.js";
|
|
@@ -52,6 +52,7 @@ import "../Sculpt/typings/style.js";
|
|
|
52
52
|
import "../shared-utils/three/IObject3D.js";
|
|
53
53
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
54
54
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
55
|
+
import "../shared-utils/five/getFiveFromParentChain.js";
|
|
55
56
|
import "../shared-utils/three/core/LineGeometry.js";
|
|
56
57
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
57
58
|
import "../shared-utils/three/core/Line2.js";
|
|
@@ -107,10 +108,10 @@ import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
|
107
108
|
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
108
109
|
import "../shared-utils/three/getNormal.js";
|
|
109
110
|
import "../shared-utils/threex/domevents/index.js";
|
|
110
|
-
const
|
|
111
|
+
const po = (r) => new o(r);
|
|
111
112
|
export {
|
|
112
113
|
o as Object3DHelperController,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
po as Object3DHelperPlugin,
|
|
115
|
+
eo as PLUGIN,
|
|
116
|
+
po as default
|
|
116
117
|
};
|
|
@@ -85,6 +85,7 @@ import "../Sculpt/typings/style.js";
|
|
|
85
85
|
import "../shared-utils/three/IObject3D.js";
|
|
86
86
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
87
87
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
88
|
+
import "../shared-utils/five/getFiveFromParentChain.js";
|
|
88
89
|
import "../shared-utils/three/core/LineGeometry.js";
|
|
89
90
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
90
91
|
import "../shared-utils/three/core/Line2.js";
|
|
@@ -103,7 +104,7 @@ import "./Assets/roomInfoIcon.js";
|
|
|
103
104
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
104
105
|
import "../shared-utils/animationFrame/index.js";
|
|
105
106
|
const M = { userAction: !0 };
|
|
106
|
-
class
|
|
107
|
+
class ot extends F {
|
|
107
108
|
constructor(e, t) {
|
|
108
109
|
super(e, t);
|
|
109
110
|
/**
|
|
@@ -358,5 +359,5 @@ class tt extends F {
|
|
|
358
359
|
}
|
|
359
360
|
}
|
|
360
361
|
export {
|
|
361
|
-
|
|
362
|
+
ot as PanoCompassController
|
|
362
363
|
};
|
|
@@ -53,6 +53,7 @@ import "../Sculpt/typings/style.js";
|
|
|
53
53
|
import "../shared-utils/three/IObject3D.js";
|
|
54
54
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
55
55
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
56
|
+
import "../shared-utils/five/getFiveFromParentChain.js";
|
|
56
57
|
import "../shared-utils/three/core/LineGeometry.js";
|
|
57
58
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
58
59
|
import "../shared-utils/three/core/Line2.js";
|
|
@@ -75,8 +76,8 @@ import "../CSS3DRenderPlugin/index.js";
|
|
|
75
76
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
76
77
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
77
78
|
import "../shared-utils/animationFrame/index.js";
|
|
78
|
-
const
|
|
79
|
+
const Ao = (o, r) => new t(o, r);
|
|
79
80
|
export {
|
|
80
|
-
|
|
81
|
-
|
|
81
|
+
Ao as PanoCompassPlugin,
|
|
82
|
+
Ao as default
|
|
82
83
|
};
|
|
@@ -75,6 +75,7 @@ import "../shared-utils/three/IObject3D.js";
|
|
|
75
75
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
76
76
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
77
77
|
import "../shared-utils/util.js";
|
|
78
|
+
import "../shared-utils/five/getFiveFromParentChain.js";
|
|
78
79
|
import "../shared-utils/three/core/LineGeometry.js";
|
|
79
80
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
80
81
|
import "../shared-utils/three/core/Line2.js";
|
|
@@ -93,7 +94,7 @@ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
|
93
94
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
94
95
|
import "@realsee/five";
|
|
95
96
|
const ot = { userAction: !0 };
|
|
96
|
-
class
|
|
97
|
+
class Ai extends Y {
|
|
97
98
|
constructor(t) {
|
|
98
99
|
super(t);
|
|
99
100
|
p(this, "state", { enabled: !0, visible: !0 });
|
|
@@ -127,7 +128,7 @@ class wi extends Y {
|
|
|
127
128
|
const t = this.floorplanServerData.computed_data.floor_datas || [], r = (((n = (e = this.five) == null ? void 0 : e.work) == null ? void 0 : n.observers) || []).map((s) => {
|
|
128
129
|
const o = s.panoIndex, v = s.floorIndex, c = t == null ? void 0 : t.find((h) => h.floor_index === v);
|
|
129
130
|
if (c) {
|
|
130
|
-
const h = c.rooms.find((
|
|
131
|
+
const h = c.rooms.find((f) => f.observer_indexs.includes(o));
|
|
131
132
|
if (h)
|
|
132
133
|
return { panoIndex: o, floorIndex: v, name: h.name };
|
|
133
134
|
}
|
|
@@ -155,9 +156,9 @@ class wi extends Y {
|
|
|
155
156
|
const c = o.position.clone(), h = c.distanceTo(e);
|
|
156
157
|
if (h < this.MinVisibledistance || h > this.MaxVisibledistance)
|
|
157
158
|
return;
|
|
158
|
-
const
|
|
159
|
-
|
|
160
|
-
const [b] = this.five.model.intersectRaycaster(
|
|
159
|
+
const f = new q(), d = c.clone().sub(e).normalize();
|
|
160
|
+
f.set(e, d);
|
|
161
|
+
const [b] = this.five.model.intersectRaycaster(f);
|
|
161
162
|
b && b.distance + 0.1 < h || s.push(v);
|
|
162
163
|
}), this.visibleLabelMap.set(t, s), s;
|
|
163
164
|
}
|
|
@@ -167,7 +168,7 @@ class wi extends Y {
|
|
|
167
168
|
}), this.fixDoorPosition();
|
|
168
169
|
});
|
|
169
170
|
p(this, "fixDoorPosition", () => {
|
|
170
|
-
var v, c, h,
|
|
171
|
+
var v, c, h, f, d, b, x, _, k, H, W, $;
|
|
171
172
|
if (!this.state.enabled || !this.state.visible)
|
|
172
173
|
return;
|
|
173
174
|
const { panoIndex: t, camera: i } = this.five;
|
|
@@ -176,17 +177,17 @@ class wi extends Y {
|
|
|
176
177
|
if (this.five.currentMode !== "Panorama")
|
|
177
178
|
return this.hideAllLabels();
|
|
178
179
|
const r = this.five.getElement(), e = r.clientWidth, n = r.clientHeight, s = i.getWorldDirection(new A()), o = [];
|
|
179
|
-
if (this.labelItems.forEach((
|
|
180
|
+
if (this.labelItems.forEach((m, u) => {
|
|
180
181
|
var I;
|
|
181
|
-
if (
|
|
182
|
-
const g = i.position.distanceTo(
|
|
183
|
-
|
|
182
|
+
if (m.visible) {
|
|
183
|
+
const g = i.position.distanceTo(m.position), M = m.position.clone().add(new A(0, this.OffsetHeight, 0)), w = M.clone().sub(i.position).normalize().angleTo(s), V = M.clone().project(i), P = (V.x + 1) / 2.2 * 100, T = (-V.y + 1) / 2.2 * 100, z = P >= 0 && P <= 100 && T >= 0 && T <= 100 && g > this.MinVisibledistance && g <= this.MaxVisibledistance;
|
|
184
|
+
m.left = P, m.top = T, m.inSight = z && w < Math.PI / 2, m.cameraToward = J(this.five), z ? o.push({ disFromCameraToLabel: g, left: P, top: T, index: u }) : m.transform = "translate(-50%, -50%)";
|
|
184
185
|
} else
|
|
185
|
-
|
|
186
|
-
const y =
|
|
187
|
-
(I =
|
|
186
|
+
m.inSight = !1;
|
|
187
|
+
const y = m, { svelteApp: D } = y, C = B(y, ["svelteApp"]);
|
|
188
|
+
(I = m.svelteApp) == null || I.$set({ props: C });
|
|
188
189
|
}), o.length > 1) {
|
|
189
|
-
let
|
|
190
|
+
let m = 0;
|
|
190
191
|
o.sort((u, D) => D.disFromCameraToLabel - u.disFromCameraToLabel);
|
|
191
192
|
for (let u = 1; u < o.length; u++) {
|
|
192
193
|
const { index: D, left: C, top: y } = o[u - 1], { index: I, left: g, top: M } = o[u], S = this.container.children[D], w = this.container.children[I];
|
|
@@ -196,14 +197,14 @@ class wi extends Y {
|
|
|
196
197
|
left: e * C / 100,
|
|
197
198
|
top: n * y / 100,
|
|
198
199
|
width: (h = (c = (v = S.children) == null ? void 0 : v[0]) == null ? void 0 : c.clientWidth) != null ? h : 0,
|
|
199
|
-
height: (b = (d = (
|
|
200
|
+
height: (b = (d = (f = S.children) == null ? void 0 : f[0]) == null ? void 0 : d.clientHeight) != null ? b : 0
|
|
200
201
|
}, P = {
|
|
201
202
|
left: e * g / 100,
|
|
202
203
|
top: n * M / 100,
|
|
203
204
|
width: (k = (_ = (x = w.children) == null ? void 0 : x[0]) == null ? void 0 : _.clientWidth) != null ? k : 0,
|
|
204
205
|
height: ($ = (W = (H = w.children) == null ? void 0 : H[0]) == null ? void 0 : W.clientHeight) != null ? $ : 0
|
|
205
206
|
};
|
|
206
|
-
K(V, P) && (
|
|
207
|
+
K(V, P) && (m++, this.labelItems[D].transform = `translate(-50%, ${(m - 1) * 100 - 50}%)`, this.labelItems[I].transform = `translate(-50%, ${m * 100 - 50}%)`);
|
|
207
208
|
}
|
|
208
209
|
}
|
|
209
210
|
});
|
|
@@ -220,10 +221,10 @@ class wi extends Y {
|
|
|
220
221
|
if (n !== void 0 && e !== void 0) {
|
|
221
222
|
const o = {};
|
|
222
223
|
if (s > 0) {
|
|
223
|
-
const c = new A(0, 0, -1), h = n.clone(),
|
|
224
|
-
|
|
224
|
+
const c = new A(0, 0, -1), h = n.clone(), f = new X();
|
|
225
|
+
f.setFromUnitVectors(c, h);
|
|
225
226
|
const d = new G();
|
|
226
|
-
d.setFromQuaternion(
|
|
227
|
+
d.setFromQuaternion(f, "YXZ"), o.longitude = d.y;
|
|
227
228
|
}
|
|
228
229
|
this.five.emit("wantsToMoveToPano", e, {}, !0) || this.five.moveToPano(e, { longitude: o.longitude });
|
|
229
230
|
}
|
|
@@ -236,13 +237,13 @@ class wi extends Y {
|
|
|
236
237
|
}), this.labelItems = [];
|
|
237
238
|
const t = this.five.panoIndex, i = this.floorplanServerData.computed_data.observers[t].floor_index, r = this.floorplanServerData.computed_data.floor_datas[i];
|
|
238
239
|
(e = this.floorplanServerData.computed_data.doors) == null || e.forEach((n) => {
|
|
239
|
-
const s = this.five.work.observers.filter((
|
|
240
|
+
const s = this.five.work.observers.filter((f, d) => {
|
|
240
241
|
var b;
|
|
241
242
|
return !!((b = r == null ? void 0 : r.rooms) != null && b.find((x) => x.observer_indexs.includes(d)));
|
|
242
243
|
}), o = n.position;
|
|
243
244
|
let v = 1 / 0, c;
|
|
244
|
-
s.forEach((
|
|
245
|
-
const d =
|
|
245
|
+
s.forEach((f) => {
|
|
246
|
+
const d = f.standingPosition, b = {
|
|
246
247
|
x: d.x,
|
|
247
248
|
y: d.y,
|
|
248
249
|
z: d.z
|
|
@@ -318,5 +319,5 @@ class wi extends Y {
|
|
|
318
319
|
}
|
|
319
320
|
}
|
|
320
321
|
export {
|
|
321
|
-
|
|
322
|
+
Ai as PanoDoorLabelPluginController
|
|
322
323
|
};
|
|
@@ -51,6 +51,7 @@ import "../Sculpt/typings/style.js";
|
|
|
51
51
|
import "../shared-utils/three/IObject3D.js";
|
|
52
52
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
53
53
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
54
|
+
import "../shared-utils/five/getFiveFromParentChain.js";
|
|
54
55
|
import "../shared-utils/three/core/LineGeometry.js";
|
|
55
56
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
56
57
|
import "../shared-utils/three/core/Line2.js";
|
|
@@ -71,8 +72,8 @@ import "./DoorLabelItem.js";
|
|
|
71
72
|
import "../vendor/svelte/internal/index.js";
|
|
72
73
|
import "../vendor/classnames/index.js";
|
|
73
74
|
import "./utils.js";
|
|
74
|
-
const
|
|
75
|
+
const ho = (o) => new r(o);
|
|
75
76
|
export {
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
ho as PanoDoorLabelPlugin,
|
|
78
|
+
ho as default
|
|
78
79
|
};
|
|
@@ -76,6 +76,7 @@ import "../../Sculpt/Meshes/Line.js";
|
|
|
76
76
|
import "../../Sculpt/typings/style.js";
|
|
77
77
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
78
78
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
79
|
+
import "../../shared-utils/five/getFiveFromParentChain.js";
|
|
79
80
|
import "../../shared-utils/three/core/LineGeometry.js";
|
|
80
81
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
81
82
|
import "../../shared-utils/three/core/Line2.js";
|
|
@@ -303,7 +304,7 @@ function re(n, o, i) {
|
|
|
303
304
|
u
|
|
304
305
|
];
|
|
305
306
|
}
|
|
306
|
-
class
|
|
307
|
+
class Qt extends j {
|
|
307
308
|
constructor(o) {
|
|
308
309
|
super(), x(
|
|
309
310
|
this,
|
|
@@ -321,5 +322,5 @@ class Nt extends j {
|
|
|
321
322
|
}
|
|
322
323
|
}
|
|
323
324
|
export {
|
|
324
|
-
|
|
325
|
+
Qt as default
|
|
325
326
|
};
|
|
@@ -80,6 +80,7 @@ import "../../Sculpt/Meshes/Line.js";
|
|
|
80
80
|
import "../../Sculpt/typings/style.js";
|
|
81
81
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
82
82
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
83
|
+
import "../../shared-utils/five/getFiveFromParentChain.js";
|
|
83
84
|
import "../../shared-utils/three/core/LineGeometry.js";
|
|
84
85
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
85
86
|
import "../../shared-utils/three/core/Line2.js";
|
|
@@ -453,7 +454,7 @@ function de(o, t, i) {
|
|
|
453
454
|
x
|
|
454
455
|
];
|
|
455
456
|
}
|
|
456
|
-
class
|
|
457
|
+
class so extends ee {
|
|
457
458
|
constructor(t) {
|
|
458
459
|
super(), te(
|
|
459
460
|
this,
|
|
@@ -471,5 +472,5 @@ class no extends ee {
|
|
|
471
472
|
}
|
|
472
473
|
}
|
|
473
474
|
export {
|
|
474
|
-
|
|
475
|
+
so as default
|
|
475
476
|
};
|
|
@@ -84,6 +84,7 @@ import "../../Sculpt/typings/style.js";
|
|
|
84
84
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
85
85
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
86
86
|
import "../../shared-utils/util.js";
|
|
87
|
+
import "../../shared-utils/five/getFiveFromParentChain.js";
|
|
87
88
|
import "../../shared-utils/three/core/LineGeometry.js";
|
|
88
89
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
89
90
|
import "../../shared-utils/three/core/Line2.js";
|
|
@@ -104,7 +105,7 @@ import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
|
104
105
|
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
105
106
|
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
106
107
|
const U = () => !1;
|
|
107
|
-
class
|
|
108
|
+
class Vt extends z {
|
|
108
109
|
constructor(e) {
|
|
109
110
|
super(e);
|
|
110
111
|
o(this, "type", "edit");
|
|
@@ -384,5 +385,5 @@ class Ut extends z {
|
|
|
384
385
|
}
|
|
385
386
|
}
|
|
386
387
|
export {
|
|
387
|
-
|
|
388
|
+
Vt as default
|
|
388
389
|
};
|
|
@@ -77,6 +77,7 @@ import "../../Sculpt/typings/style.js";
|
|
|
77
77
|
import "../../shared-utils/three/IObject3D.js";
|
|
78
78
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
79
79
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
80
|
+
import "../../shared-utils/five/getFiveFromParentChain.js";
|
|
80
81
|
import "../../shared-utils/three/core/LineGeometry.js";
|
|
81
82
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
82
83
|
import "../../shared-utils/three/core/Line2.js";
|
|
@@ -96,7 +97,7 @@ import "../../shared-utils/three/earcut3D.js";
|
|
|
96
97
|
import "../../shared-utils/three/getNormal.js";
|
|
97
98
|
import "../utils/isIntersecting.js";
|
|
98
99
|
const D = () => !1;
|
|
99
|
-
class
|
|
100
|
+
class ke extends U {
|
|
100
101
|
constructor(t) {
|
|
101
102
|
super(t);
|
|
102
103
|
o(this, "type", "watch");
|
|
@@ -269,5 +270,5 @@ class He extends U {
|
|
|
269
270
|
}
|
|
270
271
|
}
|
|
271
272
|
export {
|
|
272
|
-
|
|
273
|
+
ke as default
|
|
273
274
|
};
|
|
@@ -99,6 +99,7 @@ import "../../Sculpt/typings/style.js";
|
|
|
99
99
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
100
100
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
101
101
|
import "../../shared-utils/util.js";
|
|
102
|
+
import "../../shared-utils/five/getFiveFromParentChain.js";
|
|
102
103
|
import "../../shared-utils/three/core/LineGeometry.js";
|
|
103
104
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
104
105
|
import "../../shared-utils/three/core/Line2.js";
|
|
@@ -141,7 +142,7 @@ import "../../vendor/svelte/easing/index.js";
|
|
|
141
142
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
142
143
|
import "../Components/Tip.js";
|
|
143
144
|
import "../../shared-utils/url/defaultUrls.js";
|
|
144
|
-
class
|
|
145
|
+
class di extends J {
|
|
145
146
|
constructor(t, e) {
|
|
146
147
|
var l, m, h, a, g, y, C, M, w, P, v, b;
|
|
147
148
|
super(t);
|
|
@@ -358,5 +359,5 @@ class ui extends J {
|
|
|
358
359
|
}
|
|
359
360
|
}
|
|
360
361
|
export {
|
|
361
|
-
|
|
362
|
+
di as default
|
|
362
363
|
};
|
|
@@ -71,6 +71,7 @@ import "../../Sculpt/Meshes/Line.js";
|
|
|
71
71
|
import "../../Sculpt/typings/style.js";
|
|
72
72
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
73
73
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
74
|
+
import "../../shared-utils/five/getFiveFromParentChain.js";
|
|
74
75
|
import "../../shared-utils/three/core/LineGeometry.js";
|
|
75
76
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
76
77
|
import "../../shared-utils/three/core/Line2.js";
|
|
@@ -84,7 +85,7 @@ import "../../shared-utils/five/getPosition.js";
|
|
|
84
85
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
85
86
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
86
87
|
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
87
|
-
class
|
|
88
|
+
class Qt {
|
|
88
89
|
constructor(t, o) {
|
|
89
90
|
i(this, "id", f());
|
|
90
91
|
i(this, "selected", !1);
|
|
@@ -183,5 +184,5 @@ class Kt {
|
|
|
183
184
|
}
|
|
184
185
|
}
|
|
185
186
|
export {
|
|
186
|
-
|
|
187
|
+
Qt as default
|
|
187
188
|
};
|
|
@@ -47,6 +47,7 @@ import "../../shared-utils/three/IObject3D.js";
|
|
|
47
47
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
48
48
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
49
49
|
import "../../shared-utils/util.js";
|
|
50
|
+
import "../../shared-utils/five/getFiveFromParentChain.js";
|
|
50
51
|
import "../../shared-utils/three/core/LineGeometry.js";
|
|
51
52
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
52
53
|
import "../../shared-utils/three/core/Line2.js";
|