@realsee/dnalogel 3.50.17-alpha.0 → 3.51.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 +3 -0
- package/dist/ModelMakerPlugin/Controller.d.ts +2 -0
- package/dist/Sculpt/utils/export.d.ts +18 -0
- package/dist/index.cjs.js +207 -207
- package/dist/index.js +34866 -34775
- package/dist/index.umd.js +211 -211
- package/dist/shared-utils/five/fiveEveryReadyListener.d.ts +2 -0
- package/dist/shared-utils/index.d.ts +1 -0
- package/dist/shared-utils/tag.d.ts +40 -1
- package/dist/shared-utils/three/temp.d.ts +2 -2
- package/libs/AreaMakerPlugin/Controller.js +100 -46
- package/libs/AreaMakerPlugin/index.js +64 -10
- package/libs/AreaMakerPlugin/utils/Item.js +156 -100
- package/libs/CSS3DRenderPlugin/Controller.js +93 -44
- package/libs/CSS3DRenderPlugin/index.js +62 -13
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +105 -49
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +130 -77
- package/libs/CruisePlugin/BaseController.js +143 -89
- package/libs/CruisePlugin/Move.js +83 -39
- package/libs/CruisePlugin/Work.js +95 -51
- package/libs/CruisePlugin/index.js +66 -22
- package/libs/CurrentPanoImagePlugin/Controller.js +139 -85
- package/libs/CurrentPanoImagePlugin/index.js +63 -9
- package/libs/GuideLinePlugin/Controller.js +57 -13
- package/libs/GuideLinePlugin/GuideLineItem.js +63 -19
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +6 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +58 -14
- package/libs/GuideLinePlugin/index.js +66 -22
- package/libs/ModelMakerPlugin/Controller.d.ts +2 -0
- package/libs/ModelMakerPlugin/Controller.js +190 -129
- package/libs/ModelMakerPlugin/index.js +63 -21
- package/libs/ModelMakerPlugin/item/baseItem.js +4 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +5 -3
- package/libs/ModelMakerPlugin/item/polygonItem.js +9 -7
- package/libs/ModelMakerPlugin/item/prismItem.js +5 -3
- package/libs/ModelTVVideoPlugin/Plugin.js +96 -47
- package/libs/ModelTVVideoPlugin/index.js +55 -6
- package/libs/Object3DHelperPlugin/Controller.js +42 -25
- package/libs/Object3DHelperPlugin/index.js +28 -12
- package/libs/PanoCompassPlugin/Controller.js +92 -44
- package/libs/PanoCompassPlugin/index.js +63 -15
- package/libs/PanoDoorLabelPlugin/BaseController.js +79 -25
- package/libs/PanoDoorLabelPlugin/Controller.js +132 -78
- package/libs/PanoDoorLabelPlugin/index.js +63 -9
- package/libs/PanoMeasurePlugin/Components/Controller0.js +126 -77
- package/libs/PanoMeasurePlugin/Components/Controller1.js +139 -90
- package/libs/PanoMeasurePlugin/Controller/EditController.js +120 -71
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +120 -70
- package/libs/PanoMeasurePlugin/Controller/index.js +132 -86
- package/libs/PanoMeasurePlugin/Model/area.js +72 -22
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +56 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +64 -15
- package/libs/PanoMeasurePlugin/index.js +62 -16
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +57 -2
- package/libs/PanoRulerProPlugin/Controller.js +88 -33
- package/libs/PanoRulerProPlugin/RulerItems.js +146 -91
- package/libs/PanoRulerProPlugin/index.js +64 -9
- package/libs/PanoSpatialTagPlugin/Plugin.js +177 -128
- package/libs/PanoSpatialTagPlugin/index.js +53 -4
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +116 -60
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +192 -136
- package/libs/PanoTagPlugin/Components/Tag/index.js +194 -139
- package/libs/PanoTagPlugin/Components/TagContainer.js +112 -57
- package/libs/PanoTagPlugin/Components/TagItem.js +204 -149
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +157 -101
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +75 -20
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +86 -31
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +93 -37
- package/libs/PanoTagPlugin/controller/TagRender.js +62 -18
- package/libs/PanoTagPlugin/controller/TagUtil.js +123 -79
- package/libs/PanoTagPlugin/controller/index.js +110 -72
- package/libs/PanoTagPlugin/index.js +72 -28
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +77 -21
- package/libs/PanoVideoPlugin/Controller.js +95 -41
- package/libs/PanoVideoPlugin/VideoMeshController.js +119 -63
- package/libs/PanoVideoPlugin/index.js +66 -12
- package/libs/PipelinePlugin/Controller.js +173 -119
- package/libs/PipelinePlugin/index.js +63 -9
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +70 -14
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +58 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +98 -42
- package/libs/Sculpt/Meshes/Box.js +3 -2
- package/libs/Sculpt/Meshes/Cylinder.js +10 -6
- package/libs/Sculpt/Meshes/Line.js +43 -38
- package/libs/Sculpt/Meshes/LineWithDots.js +14 -10
- package/libs/Sculpt/Meshes/Point.js +24 -20
- package/libs/Sculpt/Meshes/Polygon.js +5 -2
- package/libs/Sculpt/Meshes/Prism.js +19 -16
- package/libs/Sculpt/Objects/Line/Editor.js +6 -5
- package/libs/Sculpt/index.js +15 -14
- package/libs/Sculpt/utils/export.d.ts +18 -0
- package/libs/Sculpt/utils/export.js +21 -0
- package/libs/Sculpt/utils/three/ColoredMesh.js +26 -22
- package/libs/base/BasePlugin.js +14 -10
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +146 -94
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +62 -10
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +109 -56
- package/libs/floorplan/ModelFloorplanPlugin/index.js +62 -9
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +116 -63
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +62 -9
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +105 -52
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +62 -9
- package/libs/floorplan/index.js +4 -0
- package/libs/index.js +208 -206
- package/libs/shared-utils/five/fiveEveryReadyListener.d.ts +2 -0
- package/libs/shared-utils/five/fiveEveryReadyListener.js +15 -0
- package/libs/shared-utils/five/index.js +6 -2
- package/libs/shared-utils/five/lookObject.js +31 -27
- package/libs/shared-utils/index.d.ts +1 -0
- package/libs/shared-utils/index.js +19 -17
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +40 -1
- package/libs/shared-utils/tag.js +139 -86
- package/libs/shared-utils/three/index.js +4 -0
- package/libs/shared-utils/three/temp.d.ts +2 -2
- package/libs/shared-utils/three/temp.js +4 -4
- package/package.json +1 -1
- package/README.md +0 -116
|
@@ -1,52 +1,58 @@
|
|
|
1
|
-
var
|
|
1
|
+
var S = Object.defineProperty;
|
|
2
2
|
var P = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
for (var
|
|
6
|
-
|
|
3
|
+
var H = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var M = (l, n, t) => n in l ? S(l, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[n] = t, w = (l, n) => {
|
|
5
|
+
for (var t in n || (n = {}))
|
|
6
|
+
H.call(n, t) && M(l, t, n[t]);
|
|
7
7
|
if (P)
|
|
8
|
-
for (var
|
|
9
|
-
|
|
10
|
-
return
|
|
8
|
+
for (var t of P(n))
|
|
9
|
+
B.call(n, t) && M(l, t, n[t]);
|
|
10
|
+
return l;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
var p = (l, n, t) => (M(l, typeof n != "symbol" ? n + "" : n, t), t);
|
|
13
|
+
var _ = (l, n, t) => new Promise((i, r) => {
|
|
14
|
+
var m = (e) => {
|
|
15
15
|
try {
|
|
16
|
-
|
|
17
|
-
} catch (
|
|
18
|
-
r(
|
|
16
|
+
o(t.next(e));
|
|
17
|
+
} catch (h) {
|
|
18
|
+
r(h);
|
|
19
19
|
}
|
|
20
|
-
}, a = (
|
|
20
|
+
}, a = (e) => {
|
|
21
21
|
try {
|
|
22
|
-
|
|
23
|
-
} catch (
|
|
24
|
-
r(
|
|
22
|
+
o(t.throw(e));
|
|
23
|
+
} catch (h) {
|
|
24
|
+
r(h);
|
|
25
25
|
}
|
|
26
|
-
},
|
|
27
|
-
|
|
26
|
+
}, o = (e) => e.done ? i(e.value) : Promise.resolve(e.value).then(m, a);
|
|
27
|
+
o((t = t.apply(l, n)).next());
|
|
28
28
|
});
|
|
29
29
|
import { Controller as z } from "../base/BasePluginWithData.js";
|
|
30
|
-
import * as
|
|
31
|
-
import { ModelMakerBoxItem as
|
|
32
|
-
import { PrismMesh as
|
|
33
|
-
import { anyPositionToVector3 as
|
|
34
|
-
import { PolygonWithEdgeMesh as
|
|
30
|
+
import * as c from "three";
|
|
31
|
+
import { ModelMakerBoxItem as O } from "./item/boxItem.js";
|
|
32
|
+
import { PrismMesh as T } from "../Sculpt/Meshes/Prism.js";
|
|
33
|
+
import { anyPositionToVector3 as Q } from "../shared-utils/positionToVector3.js";
|
|
34
|
+
import { PolygonWithEdgeMesh as q } from "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
35
35
|
import "../shared-utils/tag.js";
|
|
36
36
|
import "hammerjs";
|
|
37
37
|
import "../shared-utils/three/PointSelector/index.js";
|
|
38
38
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
39
39
|
import "@realsee/five/line";
|
|
40
40
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
41
|
-
import { boxVertex as
|
|
41
|
+
import { boxVertex as v } from "../shared-utils/three/boundingBox.js";
|
|
42
42
|
import "animejs";
|
|
43
43
|
import { notNil as I } from "../shared-utils/isNil.js";
|
|
44
|
-
import { waitFiveModelLoaded as
|
|
44
|
+
import { waitFiveModelLoaded as G } from "../shared-utils/five/fiveModelLoad.js";
|
|
45
45
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
46
|
+
import "../Sculpt/Meshes/Polygon.js";
|
|
47
|
+
import "../Sculpt/utils/Modules/Global.js";
|
|
48
|
+
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
49
|
+
import "../Sculpt/utils/three/rayOnLine.js";
|
|
50
|
+
import { tagRendererMap as N } from "./utils/tagRenderer.js";
|
|
51
|
+
import { ModelMakerPrismItem as D } from "./item/prismItem.js";
|
|
52
|
+
import { ModelMakerPolygonItem as U } from "./item/polygonItem.js";
|
|
53
|
+
import { getFiveDomEvent as Y } from "./utils/getFiveDomEvent.js";
|
|
54
|
+
import { fiveEveryReadyListener as $ } from "../shared-utils/five/fiveEveryReadyListener.js";
|
|
55
|
+
import { sleep as K } from "../CruisePlugin/utils/sleep.js";
|
|
50
56
|
import "../base/BasePlugin.js";
|
|
51
57
|
import "../shared-utils/Subscribe.js";
|
|
52
58
|
import "../shared-utils/three/core/Sphere.js";
|
|
@@ -66,14 +72,6 @@ import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
|
66
72
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
67
73
|
import "../shared-utils/util.js";
|
|
68
74
|
import "../shared-utils/three/core/Raycaster.js";
|
|
69
|
-
import "../Sculpt/Meshes/Polygon.js";
|
|
70
|
-
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
71
|
-
import "../shared-utils/three/earcut3D.js";
|
|
72
|
-
import "earcut";
|
|
73
|
-
import "../shared-utils/three/getNormal.js";
|
|
74
|
-
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
75
|
-
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
76
|
-
import "../shared-utils/three/geometryUtil.js";
|
|
77
75
|
import "../Sculpt/Meshes/Polyline.js";
|
|
78
76
|
import "../Sculpt/Meshes/LineWithDots.js";
|
|
79
77
|
import "../Sculpt/Meshes/Point.js";
|
|
@@ -89,6 +87,7 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
|
89
87
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
90
88
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
91
89
|
import "../shared-utils/three/getObjectVisible.js";
|
|
90
|
+
import "../shared-utils/throttle.js";
|
|
92
91
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
93
92
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
94
93
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -102,145 +101,207 @@ import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
|
102
101
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
103
102
|
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
104
103
|
import "../vendor/three/build/three.module.js";
|
|
104
|
+
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
105
|
+
import "../shared-utils/three/earcut3D.js";
|
|
106
|
+
import "earcut";
|
|
107
|
+
import "../shared-utils/three/getNormal.js";
|
|
108
|
+
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
109
|
+
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
110
|
+
import "../shared-utils/three/geometryUtil.js";
|
|
111
|
+
import "../Sculpt/utils/Modules/Cursor.js";
|
|
112
|
+
import "../Object3DHelperPlugin/Controller.js";
|
|
113
|
+
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
114
|
+
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
115
|
+
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
116
|
+
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
117
|
+
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
118
|
+
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
119
|
+
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
120
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
121
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
122
|
+
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
123
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
124
|
+
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
125
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
126
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
127
|
+
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
128
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
129
|
+
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
130
|
+
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
131
|
+
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
132
|
+
import "../shared-utils/threex/domevents/index.js";
|
|
133
|
+
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
134
|
+
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
135
|
+
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
136
|
+
import "../shared-utils/Object3DHelper/index.js";
|
|
137
|
+
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
138
|
+
import "../shared-utils/math/rad2Deg.js";
|
|
139
|
+
import "../shared-utils/math/deg2Rad.js";
|
|
140
|
+
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
141
|
+
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
142
|
+
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
143
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
144
|
+
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
145
|
+
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
146
|
+
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
147
|
+
import "../shared-utils/five/FiveDomEvents.js";
|
|
148
|
+
import "../shared-utils/five/calculateThreeMouse.js";
|
|
105
149
|
import "./utils/Text.js";
|
|
106
150
|
import "../vendor/svelte/internal/index.js";
|
|
107
151
|
import "../components/AreaLabel/LabelItem.js";
|
|
108
152
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
109
153
|
import "./item/baseItem.js";
|
|
110
154
|
import "../shared-utils/three/addIfNotExists.js";
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
r.model.setStyle instanceof Function && r.model.setStyle({ occlusionVisibility: t.includes(e) });
|
|
155
|
+
class fi extends z {
|
|
156
|
+
constructor(t, i) {
|
|
157
|
+
var r, m;
|
|
158
|
+
super(t);
|
|
159
|
+
p(this, "state");
|
|
160
|
+
p(this, "items", []);
|
|
161
|
+
p(this, "group", new c.Group());
|
|
162
|
+
p(this, "data");
|
|
163
|
+
p(this, "tagRendererMap", {});
|
|
164
|
+
p(this, "fiveDomEvents");
|
|
165
|
+
p(this, "zFightingOffset", 0);
|
|
166
|
+
p(this, "tagWrapper");
|
|
167
|
+
p(this, "occlusionVisibility");
|
|
168
|
+
p(this, "occlusionMode");
|
|
169
|
+
p(this, "fiveEveryReadyListenerDisposer");
|
|
170
|
+
p(this, "onFiveModeChange", (t) => {
|
|
171
|
+
const i = this.occlusionVisibility;
|
|
172
|
+
Array.isArray(i) && this.items.forEach((r) => {
|
|
173
|
+
r.model.setStyle instanceof Function && r.model.setStyle({ occlusionVisibility: i.includes(t) });
|
|
131
174
|
});
|
|
132
175
|
});
|
|
133
|
-
|
|
134
|
-
var
|
|
135
|
-
this.five.scene.add(this.group), (
|
|
176
|
+
p(this, "handleEnable", () => {
|
|
177
|
+
var t, i;
|
|
178
|
+
this.five.scene.add(this.group), (i = (t = this.five.getElement()) == null ? void 0 : t.parentElement) == null || i.appendChild(this.tagWrapper), this.five.needsRender = !0, this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveEveryReady(), this.five.on("modeChange", this.onFiveModeChange), this.fiveEveryReadyListenerDisposer = $(this.five, this.onFiveEveryReady);
|
|
136
179
|
});
|
|
137
|
-
|
|
138
|
-
this.five.scene.remove(this.group), this.tagWrapper.remove(), this.five.needsRender = !0, this.five.off("modeChange", this.onFiveModeChange);
|
|
180
|
+
p(this, "handleDisable", () => {
|
|
181
|
+
this.five.scene.remove(this.group), this.tagWrapper.remove(), this.five.needsRender = !0, this.five.off("modeChange", this.onFiveModeChange), this.fiveEveryReadyListenerDisposer();
|
|
139
182
|
});
|
|
140
|
-
|
|
141
|
-
this.
|
|
183
|
+
p(this, "onFiveEveryReady", () => _(this, null, function* () {
|
|
184
|
+
if (this.five.state.mode === "Panorama")
|
|
185
|
+
return;
|
|
186
|
+
const t = this.items.filter((e) => e instanceof D).map((e) => e.tag), i = t.filter((e) => e.position && e.visible && e.enabled);
|
|
187
|
+
yield K(0);
|
|
188
|
+
const r = this.five.camera.position.clone(), m = i.sort((e, h) => r.distanceTo(e.position) - r.distanceTo(h.position)), a = [], o = (e, h) => !(e.right < h.left || e.left > h.right || e.bottom < h.top || e.top > h.bottom);
|
|
189
|
+
t.forEach((e) => {
|
|
190
|
+
e.visibles[2] = void 0;
|
|
191
|
+
}), m.forEach((e) => {
|
|
192
|
+
if (e.visibles[1] === !1)
|
|
193
|
+
return;
|
|
194
|
+
const h = e.container.getElementsByClassName("room-label-item__text")[0];
|
|
195
|
+
if (!h)
|
|
196
|
+
return;
|
|
197
|
+
const u = h.getBoundingClientRect();
|
|
198
|
+
a.every((d) => !o(d.boundingClientRect, u)) ? (a.push({ tag: e, boundingClientRect: u }), e.visibles[2] = !0) : e.visibles[2] = !1, e.needsRender = !0;
|
|
199
|
+
});
|
|
200
|
+
}));
|
|
201
|
+
p(this, "updateTagRenderer", () => {
|
|
202
|
+
this.items.forEach((t) => {
|
|
142
203
|
var r;
|
|
143
|
-
const
|
|
144
|
-
|
|
204
|
+
const i = (r = this.tagRendererMap[t.type]) != null ? r : N[t.type];
|
|
205
|
+
i && t.__renderer !== i && (t.__renderer = i, typeof t.__disposeRenderer == "function" && t.__disposeRenderer(), t.tag.container.innerHTML = "", t.__disposeRenderer = i(t.tag.container, t));
|
|
145
206
|
});
|
|
146
207
|
});
|
|
147
|
-
this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.occlusionVisibility = (r =
|
|
148
|
-
var
|
|
208
|
+
this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.occlusionVisibility = (r = i == null ? void 0 : i.occlusionVisibility) != null ? r : !1, this.occlusionMode = (m = i == null ? void 0 : i.occlusionMode) != null ? m : "translucence", this.fiveDomEvents = Y(t), this.tagWrapper = (() => {
|
|
209
|
+
var o;
|
|
149
210
|
const a = document.createElement("div");
|
|
150
|
-
return a.style.position = "absolute", a.style.top = "0", a.style.left = "0", a.style.width = "100%", a.style.height = "100%", a.style.pointerEvents = "none", a.style.zIndex = `${(
|
|
151
|
-
})(),
|
|
211
|
+
return a.style.position = "absolute", a.style.top = "0", a.style.left = "0", a.style.width = "100%", a.style.height = "100%", a.style.pointerEvents = "none", a.style.zIndex = `${(o = i == null ? void 0 : i.tagContainerZIndex) != null ? o : ""}`, a;
|
|
212
|
+
})(), t.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
|
|
152
213
|
}
|
|
153
|
-
load(
|
|
154
|
-
return
|
|
214
|
+
load(t) {
|
|
215
|
+
return _(this, null, function* () {
|
|
155
216
|
var a;
|
|
156
|
-
if (this.clear(), this.data =
|
|
217
|
+
if (this.clear(), this.data = t, yield G(this.five), this.data !== t)
|
|
157
218
|
return;
|
|
158
219
|
this.clear();
|
|
159
|
-
const
|
|
160
|
-
(a =
|
|
161
|
-
var
|
|
162
|
-
if (
|
|
163
|
-
const s = new
|
|
164
|
-
s.setPoints(
|
|
165
|
-
color:
|
|
166
|
-
opacity: ((
|
|
167
|
-
lineColor:
|
|
168
|
-
lineWidth:
|
|
169
|
-
occlusionVisibility:
|
|
220
|
+
const i = typeof this.occlusionVisibility == "boolean" ? this.occlusionVisibility : !1, r = this.occlusionMode, m = 1.6;
|
|
221
|
+
(a = t == null ? void 0 : t.list) == null || a.forEach((o) => {
|
|
222
|
+
var e, h, u;
|
|
223
|
+
if (o.type === "triangles") {
|
|
224
|
+
const s = new q();
|
|
225
|
+
s.setPoints(o.object_data.points), s.setStyle({
|
|
226
|
+
color: o.object_data.color,
|
|
227
|
+
opacity: ((e = o.object_data.opacity) != null ? e : 0.4) / 2,
|
|
228
|
+
lineColor: o.object_data.color,
|
|
229
|
+
lineWidth: m,
|
|
230
|
+
occlusionVisibility: i,
|
|
170
231
|
occlusionMode: r
|
|
171
232
|
}), this.fiveDomEvents.addEventListener(s, "hover", () => s.highlight()), this.fiveDomEvents.addEventListener(s, "unHover", () => s.unhighlight());
|
|
172
|
-
const d = new
|
|
233
|
+
const d = new U({
|
|
173
234
|
five: this.five,
|
|
174
235
|
tagWrapper: this.tagWrapper,
|
|
175
236
|
model: s,
|
|
176
237
|
group: this.group,
|
|
177
|
-
type:
|
|
178
|
-
rawData:
|
|
238
|
+
type: o.type,
|
|
239
|
+
rawData: o
|
|
179
240
|
});
|
|
180
241
|
this.items.push(d);
|
|
181
|
-
} else if (
|
|
182
|
-
const s = new
|
|
242
|
+
} else if (o.type === "prism") {
|
|
243
|
+
const s = new T();
|
|
183
244
|
this.zFightingOffset += 1e-4;
|
|
184
|
-
const d =
|
|
185
|
-
var
|
|
186
|
-
return [
|
|
245
|
+
const d = o.object_data.points.map((f) => {
|
|
246
|
+
var g;
|
|
247
|
+
return [f[0], f[1] + ((g = o.object_data.fixedY) != null ? g : 0), f[2]];
|
|
187
248
|
});
|
|
188
249
|
d.push(d[0]);
|
|
189
|
-
const
|
|
190
|
-
s.setPoints({ points: d, heightPoint:
|
|
191
|
-
color:
|
|
192
|
-
opacity: ((
|
|
193
|
-
lineColor:
|
|
194
|
-
lineWidth:
|
|
195
|
-
occlusionVisibility:
|
|
250
|
+
const E = o.object_data.height + ((h = o.object_data.fixedHeight) != null ? h : 0) + this.zFightingOffset, R = Q(d[0]).add(new c.Vector3().setY(E));
|
|
251
|
+
s.setPoints({ points: d, heightPoint: R }), s.setStyle({
|
|
252
|
+
color: o.object_data.color,
|
|
253
|
+
opacity: ((u = o.object_data.opacity) != null ? u : 0.4) / 2,
|
|
254
|
+
lineColor: o.object_data.color,
|
|
255
|
+
lineWidth: m,
|
|
256
|
+
occlusionVisibility: i,
|
|
196
257
|
occlusionMode: r
|
|
197
258
|
});
|
|
198
|
-
const
|
|
259
|
+
const y = new D({
|
|
199
260
|
five: this.five,
|
|
200
261
|
tagWrapper: this.tagWrapper,
|
|
201
262
|
model: s,
|
|
202
263
|
group: this.group,
|
|
203
|
-
type:
|
|
204
|
-
rawData:
|
|
264
|
+
type: o.type,
|
|
265
|
+
rawData: o
|
|
205
266
|
});
|
|
206
|
-
this.items.push(
|
|
207
|
-
} else if (
|
|
208
|
-
const s = new
|
|
267
|
+
this.items.push(y);
|
|
268
|
+
} else if (o.type === "box") {
|
|
269
|
+
const s = new T(), { start: d, end: E, rotation: R = [0, 0, 0, 0], opacity: y, color: f } = o.object_data, g = new c.Vector3().fromArray(d), C = new c.Vector3().fromArray(E), L = new c.Euler().fromArray(R), x = new c.Quaternion().setFromEuler(L), V = x.clone().inverse(), W = new c.Vector3().lerpVectors(g, C, 0.5), j = W.clone().negate(), k = g.clone().add(j).applyQuaternion(V), F = C.clone().add(j).applyQuaternion(V), b = new c.Box3(k.clone().max(F), k.clone().min(F));
|
|
209
270
|
s.setPoints({
|
|
210
|
-
points: [
|
|
211
|
-
heightPoint:
|
|
212
|
-
}), s.position.copy(
|
|
213
|
-
color:
|
|
214
|
-
opacity: (
|
|
215
|
-
lineColor:
|
|
216
|
-
lineWidth:
|
|
217
|
-
occlusionVisibility:
|
|
271
|
+
points: [v(b, 2), v(b, 3), v(b, 7), v(b, 6), v(b, 2)],
|
|
272
|
+
heightPoint: v(b, 0)
|
|
273
|
+
}), s.position.copy(W), s.quaternion.copy(x), s.setStyle({
|
|
274
|
+
color: f,
|
|
275
|
+
opacity: (y != null ? y : 0.4) / 2,
|
|
276
|
+
lineColor: f,
|
|
277
|
+
lineWidth: m,
|
|
278
|
+
occlusionVisibility: i,
|
|
218
279
|
occlusionMode: r
|
|
219
280
|
});
|
|
220
|
-
const
|
|
281
|
+
const A = new O({
|
|
221
282
|
five: this.five,
|
|
222
283
|
tagWrapper: this.tagWrapper,
|
|
223
284
|
model: s,
|
|
224
285
|
group: this.group,
|
|
225
|
-
type:
|
|
226
|
-
rawData:
|
|
286
|
+
type: o.type,
|
|
287
|
+
rawData: o
|
|
227
288
|
});
|
|
228
|
-
this.items.push(
|
|
289
|
+
this.items.push(A);
|
|
229
290
|
}
|
|
230
|
-
}), this.five.needsRender = !0, this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer(), this.hooks.emit("dataLoaded",
|
|
291
|
+
}), this.five.needsRender = !0, this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer(), this.hooks.emit("dataLoaded", t);
|
|
231
292
|
});
|
|
232
293
|
}
|
|
233
|
-
setState(
|
|
234
|
-
I(
|
|
294
|
+
setState(t) {
|
|
295
|
+
I(t.enabled) && this.state.enabled !== t.enabled && (this.state.enabled = t.enabled, t.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(t.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), I(t.visible) && this.state.visible !== t.visible && (this.state.visible = t.visible, t.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(t.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
|
|
235
296
|
}
|
|
236
|
-
getItemById(
|
|
237
|
-
return this.items.find((
|
|
297
|
+
getItemById(t) {
|
|
298
|
+
return this.items.find((i) => i.rawData.id === t);
|
|
238
299
|
}
|
|
239
|
-
registerTagRenderer(
|
|
240
|
-
this.tagRendererMap =
|
|
300
|
+
registerTagRenderer(t) {
|
|
301
|
+
this.tagRendererMap = w(w({}, this.tagRendererMap), t), this.updateTagRenderer();
|
|
241
302
|
}
|
|
242
|
-
hasCustomTagRenderer(
|
|
243
|
-
return !!this.tagRendererMap[
|
|
303
|
+
hasCustomTagRenderer(t) {
|
|
304
|
+
return !!this.tagRendererMap[t];
|
|
244
305
|
}
|
|
245
306
|
enable() {
|
|
246
307
|
this.setState({ enabled: !0 });
|
|
@@ -271,5 +332,5 @@ class xt extends z {
|
|
|
271
332
|
}
|
|
272
333
|
}
|
|
273
334
|
export {
|
|
274
|
-
|
|
335
|
+
fi as Controller
|
|
275
336
|
};
|
|
@@ -12,7 +12,10 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
12
12
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
13
13
|
import "../shared-utils/five/transformPosition.js";
|
|
14
14
|
import "../shared-utils/three/temp.js";
|
|
15
|
+
import "../shared-utils/three/core/Raycaster.js";
|
|
15
16
|
import "../shared-utils/dom/resizeObserver.js";
|
|
17
|
+
import "../shared-utils/five/fiveEveryReadyListener.js";
|
|
18
|
+
import "../shared-utils/throttle.js";
|
|
16
19
|
import "hammerjs";
|
|
17
20
|
import "../shared-utils/three/PointSelector/index.js";
|
|
18
21
|
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
@@ -33,57 +36,96 @@ import "../shared-utils/three/core/Sphere.js";
|
|
|
33
36
|
import "animejs";
|
|
34
37
|
import "../shared-utils/isNil.js";
|
|
35
38
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
36
|
-
import "../
|
|
37
|
-
import "../shared-utils/
|
|
39
|
+
import "../Sculpt/Meshes/Polygon.js";
|
|
40
|
+
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
41
|
+
import "../shared-utils/three/earcut3D.js";
|
|
42
|
+
import "earcut";
|
|
43
|
+
import "../shared-utils/three/getNormal.js";
|
|
44
|
+
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
45
|
+
import "../Sculpt/typings/style.js";
|
|
46
|
+
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
47
|
+
import "../shared-utils/three/IObject3D.js";
|
|
48
|
+
import "../Sculpt/utils/Modules/Global.js";
|
|
49
|
+
import "../Sculpt/utils/Modules/Cursor.js";
|
|
50
|
+
import "../Object3DHelperPlugin/Controller.js";
|
|
51
|
+
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
52
|
+
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
53
|
+
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
54
|
+
import "../shared-utils/three/boundingBox.js";
|
|
55
|
+
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
56
|
+
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
57
|
+
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
58
|
+
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
59
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
38
60
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
39
61
|
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
40
62
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
63
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
64
|
+
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
65
|
+
import "../shared-utils/util.js";
|
|
66
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
67
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
68
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
41
69
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
42
70
|
import "../Sculpt/Meshes/Line.js";
|
|
43
|
-
import "../Sculpt/typings/style.js";
|
|
44
71
|
import "../shared-utils/five/FiveLine.js";
|
|
45
|
-
import "../shared-utils/three/IObject3D.js";
|
|
46
72
|
import "../Sculpt/utils/removeAllTag.js";
|
|
47
73
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
48
74
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
49
|
-
import "../
|
|
75
|
+
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
76
|
+
import "../Sculpt/utils/three/rayOnLine.js";
|
|
50
77
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
78
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
79
|
+
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
80
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
81
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
82
|
+
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
83
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
84
|
+
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
85
|
+
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
86
|
+
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
87
|
+
import "../shared-utils/threex/domevents/index.js";
|
|
88
|
+
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
89
|
+
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
90
|
+
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
91
|
+
import "../shared-utils/Object3DHelper/index.js";
|
|
92
|
+
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
93
|
+
import "../shared-utils/math/rad2Deg.js";
|
|
94
|
+
import "../shared-utils/math/deg2Rad.js";
|
|
95
|
+
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
96
|
+
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
97
|
+
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
98
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
99
|
+
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
100
|
+
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
101
|
+
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
102
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
103
|
+
import "../shared-utils/five/FiveDomEvents.js";
|
|
104
|
+
import "../shared-utils/five/calculateThreeMouse.js";
|
|
51
105
|
import "../shared-utils/isTouchDevice.js";
|
|
106
|
+
import "../shared-utils/three/geometryUtil.js";
|
|
52
107
|
import "../shared-utils/five/getPosition.js";
|
|
53
108
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
54
109
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
55
|
-
import "../shared-utils/url/absoluteUrl.js";
|
|
56
110
|
import "./item/boxItem.js";
|
|
57
111
|
import "./item/polygonItem.js";
|
|
58
112
|
import "./item/baseItem.js";
|
|
59
113
|
import "../shared-utils/three/addIfNotExists.js";
|
|
60
|
-
import "../shared-utils/three/boundingBox.js";
|
|
61
114
|
import "./utils/getFiveDomEvent.js";
|
|
62
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
63
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
64
|
-
import "../shared-utils/three/core/Raycaster.js";
|
|
65
115
|
import "../Sculpt/Meshes/Prism.js";
|
|
66
|
-
import "../Sculpt/Meshes/Polygon.js";
|
|
67
|
-
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
68
|
-
import "../shared-utils/three/earcut3D.js";
|
|
69
|
-
import "earcut";
|
|
70
|
-
import "../shared-utils/three/getNormal.js";
|
|
71
|
-
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
72
|
-
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
73
|
-
import "../shared-utils/three/geometryUtil.js";
|
|
74
116
|
import "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
75
117
|
import "../Sculpt/Meshes/Polyline.js";
|
|
76
118
|
import "../Sculpt/Meshes/LineWithDots.js";
|
|
77
119
|
import "../Sculpt/Meshes/Point.js";
|
|
78
120
|
import "../shared-utils/three/closeVectors.js";
|
|
79
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
80
121
|
import "./utils/tagRenderer.js";
|
|
81
122
|
import "./utils/Text.js";
|
|
82
123
|
import "../vendor/svelte/internal/index.js";
|
|
83
124
|
import "../components/AreaLabel/LabelItem.js";
|
|
84
125
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
85
126
|
import "./item/prismItem.js";
|
|
86
|
-
|
|
127
|
+
import "../CruisePlugin/utils/sleep.js";
|
|
128
|
+
const br = (...o) => new r(...o);
|
|
87
129
|
export {
|
|
88
|
-
|
|
130
|
+
br as ModelMakerPlugin
|
|
89
131
|
};
|
|
@@ -15,12 +15,14 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
15
15
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
16
16
|
import "../../shared-utils/five/transformPosition.js";
|
|
17
17
|
import "../../shared-utils/three/temp.js";
|
|
18
|
+
import "../../shared-utils/three/core/Raycaster.js";
|
|
18
19
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
20
|
+
import "../../shared-utils/five/fiveEveryReadyListener.js";
|
|
21
|
+
import "../../shared-utils/throttle.js";
|
|
19
22
|
import "../../shared-utils/three/core/Sphere.js";
|
|
20
23
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
21
24
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
22
25
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
23
|
-
import "../../shared-utils/three/core/Raycaster.js";
|
|
24
26
|
import "../../shared-utils/isTouchDevice.js";
|
|
25
27
|
class S extends p {
|
|
26
28
|
constructor(t) {
|
|
@@ -35,7 +37,7 @@ class S extends p {
|
|
|
35
37
|
i(this, "fiveDomEvents");
|
|
36
38
|
this.five = t.five, this.model = t.model, this.group = t.group, this.type = t.type, this.rawData = t.rawData, this.fiveDomEvents = c(this.five);
|
|
37
39
|
const h = (r = (s = t.position) != null ? s : this.model.center) != null ? r : v(this.model).getCenter(new d.Vector3());
|
|
38
|
-
this.tag = a(this.five, h, { wrapper: t.tagWrapper });
|
|
40
|
+
this.tag = a(this.five, h, { wrapper: t.tagWrapper }), this.tag.extraObjectsForIntersectCheck.push(this.group);
|
|
39
41
|
}
|
|
40
42
|
get container() {
|
|
41
43
|
return this.tag.container;
|
|
@@ -12,20 +12,22 @@ import "../../shared-utils/Utils/BaseUtil.js";
|
|
|
12
12
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
13
13
|
import "../../shared-utils/five/transformPosition.js";
|
|
14
14
|
import "../../shared-utils/three/temp.js";
|
|
15
|
+
import "../../shared-utils/three/core/Raycaster.js";
|
|
15
16
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
17
|
+
import "../../shared-utils/five/fiveEveryReadyListener.js";
|
|
18
|
+
import "../../shared-utils/throttle.js";
|
|
16
19
|
import "../../shared-utils/three/boundingBox.js";
|
|
17
20
|
import "../../shared-utils/three/core/Sphere.js";
|
|
18
21
|
import "../utils/getFiveDomEvent.js";
|
|
19
22
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
20
23
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
21
24
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
22
|
-
import "../../shared-utils/three/core/Raycaster.js";
|
|
23
25
|
import "../../shared-utils/isTouchDevice.js";
|
|
24
|
-
class
|
|
26
|
+
class w extends r {
|
|
25
27
|
constructor(...o) {
|
|
26
28
|
super(...o);
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
31
|
export {
|
|
30
|
-
|
|
32
|
+
w as ModelMakerBoxItem
|
|
31
33
|
};
|