@realsee/dnalogel 3.50.14 → 3.50.15-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +116 -0
- package/dist/Sculpt/Objects/Base/index.d.ts +1 -1
- package/dist/Sculpt/index.d.ts +2 -2
- package/dist/index.cjs.js +255 -255
- package/dist/index.js +2733 -2732
- package/dist/index.umd.js +251 -251
- package/dist/shared-utils/tag.d.ts +1 -1
- package/dist/shared-utils/three/index.d.ts +1 -0
- package/libs/AreaMakerPlugin/Controller.js +104 -74
- package/libs/AreaMakerPlugin/index.js +33 -3
- package/libs/AreaMakerPlugin/utils/Item.js +66 -36
- package/libs/CSS3DRenderPlugin/Controller.js +35 -15
- package/libs/CSS3DRenderPlugin/index.js +34 -14
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +60 -35
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +98 -78
- package/libs/CruisePlugin/BaseController.js +59 -29
- package/libs/CruisePlugin/Move.js +32 -13
- package/libs/CruisePlugin/Work.js +65 -46
- package/libs/CruisePlugin/index.js +37 -18
- package/libs/CurrentPanoImagePlugin/Controller.js +68 -38
- package/libs/CurrentPanoImagePlugin/index.js +34 -4
- package/libs/GuideLinePlugin/Controller.js +59 -40
- package/libs/GuideLinePlugin/GuideLineItem.js +33 -14
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +33 -14
- package/libs/GuideLinePlugin/index.js +37 -18
- package/libs/ModelMakerPlugin/Controller.js +50 -32
- package/libs/ModelMakerPlugin/index.js +33 -15
- package/libs/ModelTVVideoPlugin/Plugin.js +47 -27
- package/libs/ModelTVVideoPlugin/index.js +23 -3
- package/libs/Object3DHelperPlugin/Controller.js +49 -30
- package/libs/Object3DHelperPlugin/index.js +36 -17
- package/libs/PanoCompassPlugin/Controller.js +33 -13
- package/libs/PanoCompassPlugin/index.js +34 -14
- package/libs/PanoDoorLabelPlugin/BaseController.js +55 -25
- package/libs/PanoDoorLabelPlugin/Controller.js +99 -69
- package/libs/PanoDoorLabelPlugin/index.js +34 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +8 -8
- package/libs/PanoMeasurePlugin/Components/Controller1.js +8 -8
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +75 -49
- package/libs/PanoMeasurePlugin/Controller/index.js +15 -15
- package/libs/PanoMeasurePlugin/Model/area.js +41 -15
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +29 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +8 -8
- package/libs/PanoMeasurePlugin/index.js +3 -3
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +43 -15
- package/libs/PanoRulerProPlugin/Controller.js +60 -30
- package/libs/PanoRulerProPlugin/RulerItems.js +85 -55
- package/libs/PanoRulerProPlugin/index.js +33 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +53 -33
- package/libs/PanoSpatialTagPlugin/index.js +21 -1
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +79 -49
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +235 -206
- package/libs/PanoTagPlugin/Components/Tag/index.js +152 -125
- package/libs/PanoTagPlugin/Components/TagContainer.js +97 -70
- package/libs/PanoTagPlugin/Components/TagItem.js +31 -4
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +29 -2
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +55 -28
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +53 -26
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +54 -27
- package/libs/PanoTagPlugin/controller/TagRender.js +47 -28
- package/libs/PanoTagPlugin/controller/TagUtil.js +32 -13
- package/libs/PanoTagPlugin/controller/index.js +45 -26
- package/libs/PanoTagPlugin/index.js +40 -21
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +59 -29
- package/libs/PanoVideoPlugin/Controller.js +91 -61
- package/libs/PanoVideoPlugin/VideoMeshController.js +56 -26
- package/libs/PanoVideoPlugin/index.js +36 -6
- package/libs/PipelinePlugin/Controller.js +80 -51
- package/libs/PipelinePlugin/index.js +34 -5
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +44 -14
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +43 -13
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +61 -31
- package/libs/Sculpt/Meshes/Box.js +3 -2
- package/libs/Sculpt/Meshes/Cylinder.js +3 -2
- package/libs/Sculpt/Meshes/Line.js +9 -8
- package/libs/Sculpt/Meshes/LineWithDots.js +8 -7
- package/libs/Sculpt/Meshes/Point.js +3 -2
- package/libs/Sculpt/Meshes/Polygon.js +3 -2
- package/libs/Sculpt/Meshes/Prism.js +8 -7
- package/libs/Sculpt/Meshes/Rectangle.js +3 -2
- package/libs/Sculpt/Objects/Base/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Line/Editor.js +7 -6
- package/libs/Sculpt/index.d.ts +2 -2
- package/libs/Sculpt/index.js +3 -2
- package/libs/Sculpt/utils/three/ColoredMesh.js +6 -5
- package/libs/base/BasePlugin.js +4 -3
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +88 -59
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +34 -5
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +79 -50
- package/libs/floorplan/ModelFloorplanPlugin/index.js +34 -5
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +68 -38
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +34 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +104 -75
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +34 -5
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +28 -28
- package/libs/shared-utils/five/index.js +3 -2
- package/libs/shared-utils/five/lookObject.js +3 -2
- package/libs/shared-utils/index.js +44 -42
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +1 -1
- package/libs/shared-utils/tag.js +41 -41
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -2
- package/libs/shared-utils/three/index.d.ts +1 -0
- package/libs/shared-utils/three/index.js +1 -0
- package/package.json +1 -1
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
var T = Object.defineProperty;
|
|
2
2
|
var G = Object.getOwnPropertySymbols;
|
|
3
3
|
var k = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var c = (s,
|
|
5
|
-
for (var t in
|
|
6
|
-
k.call(
|
|
4
|
+
var c = (s, e, t) => e in s ? T(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, f = (s, e) => {
|
|
5
|
+
for (var t in e || (e = {}))
|
|
6
|
+
k.call(e, t) && c(s, t, e[t]);
|
|
7
7
|
if (G)
|
|
8
|
-
for (var t of G(
|
|
9
|
-
x.call(
|
|
8
|
+
for (var t of G(e))
|
|
9
|
+
x.call(e, t) && c(s, t, e[t]);
|
|
10
10
|
return s;
|
|
11
11
|
};
|
|
12
|
-
var h = (s,
|
|
13
|
-
var u = (s,
|
|
12
|
+
var h = (s, e, t) => (c(s, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
|
+
var u = (s, e, t) => new Promise((i, a) => {
|
|
14
14
|
var p = (m) => {
|
|
15
15
|
try {
|
|
16
16
|
r(t.next(m));
|
|
17
17
|
} catch (n) {
|
|
18
18
|
a(n);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, o = (m) => {
|
|
21
21
|
try {
|
|
22
22
|
r(t.throw(m));
|
|
23
23
|
} catch (n) {
|
|
24
24
|
a(n);
|
|
25
25
|
}
|
|
26
|
-
}, r = (m) => m.done ? i(m.value) : Promise.resolve(m.value).then(p,
|
|
27
|
-
r((t = t.apply(s,
|
|
26
|
+
}, r = (m) => m.done ? i(m.value) : Promise.resolve(m.value).then(p, o);
|
|
27
|
+
r((t = t.apply(s, e)).next());
|
|
28
28
|
});
|
|
29
29
|
import { Controller as N } from "../base/BasePluginWithData.js";
|
|
30
30
|
import "../shared-utils/tag.js";
|
|
31
31
|
import * as S from "three";
|
|
32
32
|
import "hammerjs";
|
|
33
|
+
import "../shared-utils/three/PointSelector/index.js";
|
|
33
34
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
34
35
|
import "@realsee/five/line";
|
|
35
36
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
@@ -54,6 +55,35 @@ import "../shared-utils/positionToVector3.js";
|
|
|
54
55
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
55
56
|
import "../shared-utils/three/temp.js";
|
|
56
57
|
import "../shared-utils/dom/resizeObserver.js";
|
|
58
|
+
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
59
|
+
import "../shared-utils/three/Magnifier.js";
|
|
60
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
61
|
+
import "../shared-utils/three/Assets/index.js";
|
|
62
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
63
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
64
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
65
|
+
import "../shared-utils/three/centerPoint.js";
|
|
66
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
67
|
+
import "../shared-utils/isNil.js";
|
|
68
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
69
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
70
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
71
|
+
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
72
|
+
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
73
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
74
|
+
import "../Sculpt/Meshes/Line.js";
|
|
75
|
+
import "../Sculpt/typings/style.js";
|
|
76
|
+
import "../shared-utils/five/FiveLine.js";
|
|
77
|
+
import "../shared-utils/three/IObject3D.js";
|
|
78
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
79
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
80
|
+
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
81
|
+
import "../shared-utils/util.js";
|
|
82
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
83
|
+
import "../shared-utils/isTouchDevice.js";
|
|
84
|
+
import "../shared-utils/five/getPosition.js";
|
|
85
|
+
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
86
|
+
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
57
87
|
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
58
88
|
import "../vendor/three/build/three.module.js";
|
|
59
89
|
import "../shared-utils/isTruelyObject.js";
|
|
@@ -70,8 +100,6 @@ import "../vendor/gl-vec2/dot.js";
|
|
|
70
100
|
import "../shared-utils/math/intersecting.js";
|
|
71
101
|
import "../shared-utils/five/mode.js";
|
|
72
102
|
import "../shared-utils/three/blink.js";
|
|
73
|
-
import "../shared-utils/util.js";
|
|
74
|
-
import "../shared-utils/isNil.js";
|
|
75
103
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
76
104
|
import "../shared-utils/animationFrame/index.js";
|
|
77
105
|
import "../shared-utils/three/loadTexture.js";
|
|
@@ -156,7 +184,6 @@ import "../shared-utils/three/GLTFLoader.js";
|
|
|
156
184
|
import "@realsee/five/gltf-loader";
|
|
157
185
|
import "../PanoTagPlugin/utils/planeNormal.js";
|
|
158
186
|
import "../PanoTagPlugin/utils/model/mediaPlane.js";
|
|
159
|
-
import "../shared-utils/three/centerPoint.js";
|
|
160
187
|
import "../shared-utils/three/Quadrangle.js";
|
|
161
188
|
import "../shared-utils/math/pointsIsRectangle.js";
|
|
162
189
|
import "../shared-utils/three/loadVideoTexture.js";
|
|
@@ -186,13 +213,6 @@ import "../vendor/svelte/store/index.js";
|
|
|
186
213
|
import "../CSS3DRenderPlugin/index.js";
|
|
187
214
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
188
215
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
189
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
190
|
-
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
191
|
-
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
192
|
-
import "../CSS3DRenderPlugin/utils/even.js";
|
|
193
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
194
|
-
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
195
|
-
import "../shared-utils/three/getObjectVisible.js";
|
|
196
216
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
197
217
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
198
218
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
@@ -200,7 +220,6 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
200
220
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
201
221
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
202
222
|
import "../shared-utils/three/core/Raycaster.js";
|
|
203
|
-
import "../shared-utils/isTouchDevice.js";
|
|
204
223
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
205
224
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
206
225
|
import "../PanoTagPlugin/controller/Tag/PointTag.js";
|
|
@@ -223,8 +242,8 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
|
223
242
|
import "../CruisePlugin/utils/safeCall.js";
|
|
224
243
|
import "../CruisePlugin/utils/sleep.js";
|
|
225
244
|
import "../shared-utils/five/fiveLoaded.js";
|
|
226
|
-
const b = "GuideLinePlugin", g = `${b}`,
|
|
227
|
-
class
|
|
245
|
+
const b = "GuideLinePlugin", g = `${b}`, Bo = (s) => `${g}--${s}`;
|
|
246
|
+
class Co extends N {
|
|
228
247
|
constructor(t, i) {
|
|
229
248
|
super(t, i);
|
|
230
249
|
h(this, "name", b);
|
|
@@ -254,24 +273,24 @@ class De extends N {
|
|
|
254
273
|
load(t, i, a = !0) {
|
|
255
274
|
return u(this, null, function* () {
|
|
256
275
|
var v, _, E, I, w, D, y, L;
|
|
257
|
-
const p = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0,
|
|
258
|
-
this.hooks.emit("dataChange",
|
|
259
|
-
const r =
|
|
276
|
+
const p = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, o = yield this.formatData(t);
|
|
277
|
+
this.hooks.emit("dataChange", o, p), this.data = o;
|
|
278
|
+
const r = o.config, n = {
|
|
260
279
|
panorama_style: {
|
|
261
|
-
visible: !!(!
|
|
280
|
+
visible: !!(!o.lines && o.routes),
|
|
262
281
|
unit_length: (v = r == null ? void 0 : r.unitHeight) != null ? v : 0.4,
|
|
263
282
|
width: (_ = r == null ? void 0 : r.unitWidth) != null ? _ : 0.6,
|
|
264
283
|
texture: { url: (E = r == null ? void 0 : r.arrowTextureUrl) != null ? E : this.staticPrefix + "/release/web/arrow-white.5c2c79a5.png" },
|
|
265
284
|
use_auto_depthtest: (I = this.config.useAutoDepthTest) != null ? I : !1,
|
|
266
285
|
auto_depth_test_effect_distance: this.config.autoDepthTestEffectDistance
|
|
267
286
|
}
|
|
268
|
-
}, d = (D = (w =
|
|
287
|
+
}, d = (D = (w = o.routes) == null ? void 0 : w.map((l) => {
|
|
269
288
|
var A;
|
|
270
289
|
return V({}, n, { id: (A = l.id) != null ? A : $(), pano_group: l.panoIndexList });
|
|
271
|
-
})) != null ? D : [], M = (L = (y =
|
|
290
|
+
})) != null ? D : [], M = (L = (y = o.lines) == null ? void 0 : y.map((l) => V({}, n, l))) != null ? L : [], O = [...d, ...M];
|
|
272
291
|
yield U(this.five), this.clear(), O.forEach((l) => {
|
|
273
292
|
this.addGuideLineItem(l);
|
|
274
|
-
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: a }), this.hooks.emit("dataLoaded",
|
|
293
|
+
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: a }), this.hooks.emit("dataLoaded", o), console.debug(`${g} loaded`, o);
|
|
275
294
|
});
|
|
276
295
|
}
|
|
277
296
|
formatData(t) {
|
|
@@ -328,22 +347,22 @@ class De extends N {
|
|
|
328
347
|
/** 全量更新 tag */
|
|
329
348
|
updateTagsEnable() {
|
|
330
349
|
const t = [];
|
|
331
|
-
function i(
|
|
332
|
-
return Array.isArray(
|
|
350
|
+
function i(o) {
|
|
351
|
+
return Array.isArray(o) && o.every((r) => typeof r == "number");
|
|
333
352
|
}
|
|
334
|
-
function a(
|
|
335
|
-
return new S.Vector3().fromArray(
|
|
353
|
+
function a(o, r) {
|
|
354
|
+
return new S.Vector3().fromArray(o).distanceTo(new S.Vector3().fromArray(r)) < 0.01;
|
|
336
355
|
}
|
|
337
|
-
function p(
|
|
356
|
+
function p(o) {
|
|
338
357
|
var m;
|
|
339
|
-
const r = (m =
|
|
358
|
+
const r = (m = o == null ? void 0 : o.tag) == null ? void 0 : m.position;
|
|
340
359
|
return i(r) ? t.every((n) => {
|
|
341
360
|
var d;
|
|
342
361
|
return i((d = n.tag) == null ? void 0 : d.position) ? !a(r, n.tag.position) : !0;
|
|
343
362
|
}) : !1;
|
|
344
363
|
}
|
|
345
|
-
this.itemMap.forEach((
|
|
346
|
-
const r =
|
|
364
|
+
this.itemMap.forEach((o) => {
|
|
365
|
+
const r = o.modelItem.startTagContainer, m = o.modelItem.endTagContainer, n = p(r);
|
|
347
366
|
n && t.push(r), r == null || r.plugin.setState({ enabled: n }, {});
|
|
348
367
|
const d = p(m);
|
|
349
368
|
d && t.push(m), m == null || m.plugin.setState({ enabled: d }, {});
|
|
@@ -366,6 +385,6 @@ class De extends N {
|
|
|
366
385
|
}
|
|
367
386
|
}
|
|
368
387
|
export {
|
|
369
|
-
|
|
370
|
-
|
|
388
|
+
Co as default,
|
|
389
|
+
Bo as pluginFlag
|
|
371
390
|
};
|
|
@@ -5,7 +5,7 @@ import "../shared-utils/five/changeMode.js";
|
|
|
5
5
|
import "../CruisePlugin/Move.js";
|
|
6
6
|
import "../CruisePlugin/Work.js";
|
|
7
7
|
import "../shared-utils/Subscribe.js";
|
|
8
|
-
import { GuideLineItem as
|
|
8
|
+
import { GuideLineItem as or } from "./GuideLineItem/index.js";
|
|
9
9
|
import "three";
|
|
10
10
|
import "./utils/createLineGeometry.js";
|
|
11
11
|
import "../vendor/polyline-normals/index.js";
|
|
@@ -28,18 +28,46 @@ import "../shared-utils/three/temp.js";
|
|
|
28
28
|
import "../shared-utils/dom/resizeObserver.js";
|
|
29
29
|
import "../shared-utils/five/mode.js";
|
|
30
30
|
import "hammerjs";
|
|
31
|
+
import "../shared-utils/three/PointSelector/index.js";
|
|
32
|
+
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
33
|
+
import "../shared-utils/three/Magnifier.js";
|
|
34
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
35
|
+
import "../shared-utils/three/Assets/index.js";
|
|
36
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
31
37
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
38
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
39
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
40
|
+
import "../shared-utils/three/centerPoint.js";
|
|
41
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
32
42
|
import "@realsee/five/line";
|
|
33
43
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
34
44
|
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
35
45
|
import "../vendor/three/build/three.module.js";
|
|
36
46
|
import "../shared-utils/three/core/Sphere.js";
|
|
37
|
-
import "../shared-utils/three/blink.js";
|
|
38
47
|
import "animejs";
|
|
39
|
-
import "../shared-utils/util.js";
|
|
40
48
|
import "../shared-utils/isNil.js";
|
|
41
|
-
import "../shared-utils/animationFrame/BetterTween.js";
|
|
42
49
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
50
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
51
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
52
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
53
|
+
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
54
|
+
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
55
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
56
|
+
import "../Sculpt/Meshes/Line.js";
|
|
57
|
+
import "../Sculpt/typings/style.js";
|
|
58
|
+
import "../shared-utils/five/FiveLine.js";
|
|
59
|
+
import "../shared-utils/three/IObject3D.js";
|
|
60
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
61
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
62
|
+
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
63
|
+
import "../shared-utils/util.js";
|
|
64
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
65
|
+
import "../shared-utils/isTouchDevice.js";
|
|
66
|
+
import "../shared-utils/five/getPosition.js";
|
|
67
|
+
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
68
|
+
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
69
|
+
import "../shared-utils/three/blink.js";
|
|
70
|
+
import "../shared-utils/animationFrame/BetterTween.js";
|
|
43
71
|
import "../shared-utils/animationFrame/index.js";
|
|
44
72
|
import "../shared-utils/three/loadTexture.js";
|
|
45
73
|
import "../PanoTagPlugin/controller/index.js";
|
|
@@ -125,7 +153,6 @@ import "../shared-utils/three/GLTFLoader.js";
|
|
|
125
153
|
import "@realsee/five/gltf-loader";
|
|
126
154
|
import "../PanoTagPlugin/utils/planeNormal.js";
|
|
127
155
|
import "../PanoTagPlugin/utils/model/mediaPlane.js";
|
|
128
|
-
import "../shared-utils/three/centerPoint.js";
|
|
129
156
|
import "../shared-utils/three/Quadrangle.js";
|
|
130
157
|
import "../shared-utils/math/pointsIsRectangle.js";
|
|
131
158
|
import "../shared-utils/three/loadVideoTexture.js";
|
|
@@ -155,13 +182,6 @@ import "../vendor/svelte/store/index.js";
|
|
|
155
182
|
import "../CSS3DRenderPlugin/index.js";
|
|
156
183
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
157
184
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
158
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
159
|
-
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
160
|
-
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
161
|
-
import "../CSS3DRenderPlugin/utils/even.js";
|
|
162
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
163
|
-
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
164
|
-
import "../shared-utils/three/getObjectVisible.js";
|
|
165
185
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
166
186
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
167
187
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
@@ -171,7 +191,6 @@ import "../shared-utils/five/fiveModelLoad.js";
|
|
|
171
191
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
172
192
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
173
193
|
import "../shared-utils/three/core/Raycaster.js";
|
|
174
|
-
import "../shared-utils/isTouchDevice.js";
|
|
175
194
|
import "../base/BasePlugin.js";
|
|
176
195
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
177
196
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
@@ -196,5 +215,5 @@ import "../CruisePlugin/utils/safeCall.js";
|
|
|
196
215
|
import "../CruisePlugin/utils/sleep.js";
|
|
197
216
|
import "../shared-utils/five/fiveLoaded.js";
|
|
198
217
|
export {
|
|
199
|
-
|
|
218
|
+
or as GuideLineItem
|
|
200
219
|
};
|
|
@@ -17,6 +17,7 @@ import { createLineGeometry as U } from "../utils/createLineGeometry.js";
|
|
|
17
17
|
import "../../shared-utils/tag.js";
|
|
18
18
|
import { isPanoramaLike as L, isModelLike as S } from "../../shared-utils/five/mode.js";
|
|
19
19
|
import "hammerjs";
|
|
20
|
+
import "../../shared-utils/three/PointSelector/index.js";
|
|
20
21
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
21
22
|
import "@realsee/five/line";
|
|
22
23
|
import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
@@ -566,11 +567,11 @@ class R {
|
|
|
566
567
|
function H(m) {
|
|
567
568
|
return m.contentType === "Custom";
|
|
568
569
|
}
|
|
569
|
-
const
|
|
570
|
+
const le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
570
571
|
__proto__: null,
|
|
571
572
|
GuideLineModeItem: R
|
|
572
573
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
573
574
|
export {
|
|
574
575
|
R as GuideLineModeItem,
|
|
575
|
-
|
|
576
|
+
le as GuideLineModeItem$1
|
|
576
577
|
};
|
|
@@ -4,6 +4,7 @@ import "./utils/createLineGeometry.js";
|
|
|
4
4
|
import "../shared-utils/tag.js";
|
|
5
5
|
import "../shared-utils/five/mode.js";
|
|
6
6
|
import "hammerjs";
|
|
7
|
+
import "../shared-utils/three/PointSelector/index.js";
|
|
7
8
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
8
9
|
import "@realsee/five/line";
|
|
9
10
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
@@ -16,7 +17,7 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
16
17
|
import "./Components/Tag.js";
|
|
17
18
|
import "./utils/index.js";
|
|
18
19
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
19
|
-
import { GuideLineModeItem as
|
|
20
|
+
import { GuideLineModeItem as Km } from "./GuideLineModeItem/index.js";
|
|
20
21
|
import "../vendor/polyline-normals/index.js";
|
|
21
22
|
import "../vendor/polyline-miter-util/index.js";
|
|
22
23
|
import "../vendor/gl-vec2/add.js";
|
|
@@ -35,11 +36,38 @@ import "../shared-utils/Utils/WorkUtil.js";
|
|
|
35
36
|
import "../shared-utils/five/transformPosition.js";
|
|
36
37
|
import "../shared-utils/three/temp.js";
|
|
37
38
|
import "../shared-utils/dom/resizeObserver.js";
|
|
38
|
-
import "../
|
|
39
|
-
import "../
|
|
39
|
+
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
40
|
+
import "../shared-utils/three/Magnifier.js";
|
|
41
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
42
|
+
import "../shared-utils/three/Assets/index.js";
|
|
43
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
44
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
45
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
46
|
+
import "../shared-utils/three/centerPoint.js";
|
|
47
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
40
48
|
import "animejs";
|
|
41
|
-
import "../shared-utils/util.js";
|
|
42
49
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
50
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
51
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
52
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
53
|
+
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
54
|
+
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
55
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
56
|
+
import "../Sculpt/Meshes/Line.js";
|
|
57
|
+
import "../Sculpt/typings/style.js";
|
|
58
|
+
import "../shared-utils/five/FiveLine.js";
|
|
59
|
+
import "../shared-utils/three/IObject3D.js";
|
|
60
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
61
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
62
|
+
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
63
|
+
import "../shared-utils/util.js";
|
|
64
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
65
|
+
import "../shared-utils/isTouchDevice.js";
|
|
66
|
+
import "../shared-utils/five/getPosition.js";
|
|
67
|
+
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
68
|
+
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
69
|
+
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
70
|
+
import "../vendor/three/build/three.module.js";
|
|
43
71
|
import "../shared-utils/animationFrame/index.js";
|
|
44
72
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
45
73
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
@@ -122,7 +150,6 @@ import "../shared-utils/three/GLTFLoader.js";
|
|
|
122
150
|
import "@realsee/five/gltf-loader";
|
|
123
151
|
import "../PanoTagPlugin/utils/planeNormal.js";
|
|
124
152
|
import "../PanoTagPlugin/utils/model/mediaPlane.js";
|
|
125
|
-
import "../shared-utils/three/centerPoint.js";
|
|
126
153
|
import "../shared-utils/three/Quadrangle.js";
|
|
127
154
|
import "../shared-utils/math/pointsIsRectangle.js";
|
|
128
155
|
import "../shared-utils/three/loadVideoTexture.js";
|
|
@@ -152,13 +179,6 @@ import "../vendor/svelte/store/index.js";
|
|
|
152
179
|
import "../CSS3DRenderPlugin/index.js";
|
|
153
180
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
154
181
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
155
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
156
|
-
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
157
|
-
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
158
|
-
import "../CSS3DRenderPlugin/utils/even.js";
|
|
159
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
160
|
-
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
161
|
-
import "../shared-utils/three/getObjectVisible.js";
|
|
162
182
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
163
183
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
164
184
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
@@ -168,7 +188,6 @@ import "../shared-utils/five/fiveModelLoad.js";
|
|
|
168
188
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
169
189
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
170
190
|
import "../shared-utils/three/core/Raycaster.js";
|
|
171
|
-
import "../shared-utils/isTouchDevice.js";
|
|
172
191
|
import "../base/BasePlugin.js";
|
|
173
192
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
174
193
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
@@ -178,5 +197,5 @@ import "../PanoTagPlugin/Components/TagContainer.js";
|
|
|
178
197
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
179
198
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
180
199
|
export {
|
|
181
|
-
|
|
200
|
+
Km as GuideLineModeItem
|
|
182
201
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "./Controller.js";
|
|
2
|
-
import { GuideLineItem$1 as
|
|
3
|
-
import { GuideLineModeItem$1 as
|
|
2
|
+
import { GuideLineItem$1 as er } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as dr } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -16,15 +16,45 @@ import "../shared-utils/five/transformPosition.js";
|
|
|
16
16
|
import "../shared-utils/three/temp.js";
|
|
17
17
|
import "../shared-utils/dom/resizeObserver.js";
|
|
18
18
|
import "hammerjs";
|
|
19
|
+
import "../shared-utils/three/PointSelector/index.js";
|
|
20
|
+
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
21
|
+
import "../shared-utils/three/Magnifier.js";
|
|
22
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
23
|
+
import "../shared-utils/three/Assets/index.js";
|
|
24
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
19
25
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
26
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
27
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
28
|
+
import "../shared-utils/three/centerPoint.js";
|
|
29
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
20
30
|
import "@realsee/five/line";
|
|
21
31
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
22
32
|
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
23
33
|
import "../vendor/three/build/three.module.js";
|
|
24
34
|
import "../shared-utils/three/core/Sphere.js";
|
|
25
35
|
import "animejs";
|
|
26
|
-
import "../shared-utils/
|
|
36
|
+
import "../shared-utils/isNil.js";
|
|
27
37
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
38
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
39
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
40
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
41
|
+
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
42
|
+
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
43
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
44
|
+
import "../Sculpt/Meshes/Line.js";
|
|
45
|
+
import "../Sculpt/typings/style.js";
|
|
46
|
+
import "../shared-utils/five/FiveLine.js";
|
|
47
|
+
import "../shared-utils/three/IObject3D.js";
|
|
48
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
49
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
50
|
+
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
51
|
+
import "../shared-utils/util.js";
|
|
52
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
53
|
+
import "../shared-utils/isTouchDevice.js";
|
|
54
|
+
import "../shared-utils/five/getPosition.js";
|
|
55
|
+
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
56
|
+
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
57
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
28
58
|
import "../shared-utils/uuid.js";
|
|
29
59
|
import "../shared-utils/equal.js";
|
|
30
60
|
import "../shared-utils/isTruelyObject.js";
|
|
@@ -39,7 +69,6 @@ import "../shared-utils/vectorToCoordinate.js";
|
|
|
39
69
|
import "../shared-utils/formatRad.js";
|
|
40
70
|
import "../CruisePlugin/BaseController.js";
|
|
41
71
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
42
|
-
import "../shared-utils/isNil.js";
|
|
43
72
|
import "../shared-utils/log.js";
|
|
44
73
|
import "./utils/createLineGeometry.js";
|
|
45
74
|
import "../vendor/polyline-normals/index.js";
|
|
@@ -52,7 +81,6 @@ import "../vendor/gl-vec2/dot.js";
|
|
|
52
81
|
import "../shared-utils/math/intersecting.js";
|
|
53
82
|
import "../shared-utils/five/mode.js";
|
|
54
83
|
import "../shared-utils/three/blink.js";
|
|
55
|
-
import "../shared-utils/util.js";
|
|
56
84
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
57
85
|
import "../shared-utils/animationFrame/index.js";
|
|
58
86
|
import "../shared-utils/three/loadTexture.js";
|
|
@@ -137,7 +165,6 @@ import "../shared-utils/three/GLTFLoader.js";
|
|
|
137
165
|
import "@realsee/five/gltf-loader";
|
|
138
166
|
import "../PanoTagPlugin/utils/planeNormal.js";
|
|
139
167
|
import "../PanoTagPlugin/utils/model/mediaPlane.js";
|
|
140
|
-
import "../shared-utils/three/centerPoint.js";
|
|
141
168
|
import "../shared-utils/three/Quadrangle.js";
|
|
142
169
|
import "../shared-utils/math/pointsIsRectangle.js";
|
|
143
170
|
import "../shared-utils/three/loadVideoTexture.js";
|
|
@@ -165,13 +192,6 @@ import "../vendor/svelte/store/index.js";
|
|
|
165
192
|
import "../CSS3DRenderPlugin/index.js";
|
|
166
193
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
167
194
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
168
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
169
|
-
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
170
|
-
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
171
|
-
import "../CSS3DRenderPlugin/utils/even.js";
|
|
172
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
173
|
-
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
174
|
-
import "../shared-utils/three/getObjectVisible.js";
|
|
175
195
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
176
196
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
177
197
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
@@ -180,7 +200,6 @@ import "../shared-utils/five/fiveModelLoad.js";
|
|
|
180
200
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
181
201
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
182
202
|
import "../shared-utils/three/core/Raycaster.js";
|
|
183
|
-
import "../shared-utils/isTouchDevice.js";
|
|
184
203
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
185
204
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
186
205
|
import "../PanoTagPlugin/controller/Tag/PointTag.js";
|
|
@@ -195,10 +214,10 @@ import "../shared-utils/five/changeMode.js";
|
|
|
195
214
|
import "../shared-utils/nearlyEqual.js";
|
|
196
215
|
import "../CruisePlugin/Move.js";
|
|
197
216
|
import "../CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
198
|
-
const r = (i, o) => new t(i, o),
|
|
217
|
+
const r = (i, o) => new t(i, o), rr = r;
|
|
199
218
|
export {
|
|
200
|
-
|
|
201
|
-
|
|
219
|
+
er as GuideLineItem,
|
|
220
|
+
dr as GuideLineModeItem,
|
|
202
221
|
r as GuideLinePlugin,
|
|
203
|
-
|
|
222
|
+
rr as default
|
|
204
223
|
};
|