@realsee/dnalogel 3.50.14 → 3.50.15-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +116 -0
- package/dist/Sculpt/Objects/Base/index.d.ts +1 -1
- package/dist/Sculpt/index.d.ts +4 -4
- package/dist/index.cjs.js +262 -262
- package/dist/index.js +4235 -4231
- package/dist/index.umd.js +263 -263
- package/dist/shared-utils/five/index.d.ts +2 -0
- 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 +39 -19
- 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 +33 -14
- package/libs/CruisePlugin/Work.js +66 -47
- package/libs/CruisePlugin/index.js +38 -19
- package/libs/CurrentPanoImagePlugin/Controller.js +68 -38
- package/libs/CurrentPanoImagePlugin/index.js +34 -4
- package/libs/GuideLinePlugin/Controller.js +69 -50
- package/libs/GuideLinePlugin/GuideLineItem.js +34 -15
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +34 -15
- package/libs/GuideLinePlugin/index.js +38 -19
- package/libs/ModelMakerPlugin/Controller.js +60 -42
- package/libs/ModelMakerPlugin/index.js +34 -16
- package/libs/ModelTVVideoPlugin/Plugin.js +48 -28
- package/libs/ModelTVVideoPlugin/index.js +24 -4
- 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 +16 -16
- 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 +54 -34
- package/libs/PanoSpatialTagPlugin/index.js +22 -2
- 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 +48 -29
- package/libs/PanoTagPlugin/controller/TagUtil.js +33 -14
- package/libs/PanoTagPlugin/controller/index.js +49 -30
- package/libs/PanoTagPlugin/index.js +41 -22
- 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 +9 -8
- 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 +4 -4
- 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 +89 -60
- 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/fiveModelLoad.js +1 -0
- package/libs/shared-utils/five/index.d.ts +2 -0
- package/libs/shared-utils/five/index.js +3 -2
- package/libs/shared-utils/five/lookObject.js +3 -2
- package/libs/shared-utils/index.js +42 -35
- 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
|
@@ -18,13 +18,13 @@ var y = (h, l, t) => new Promise((e, r) => {
|
|
|
18
18
|
} catch (a) {
|
|
19
19
|
r(a);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, m = (n) => {
|
|
22
22
|
try {
|
|
23
23
|
p(t.throw(n));
|
|
24
24
|
} catch (a) {
|
|
25
25
|
r(a);
|
|
26
26
|
}
|
|
27
|
-
}, p = (n) => n.done ? e(n.value) : Promise.resolve(n.value).then(i,
|
|
27
|
+
}, p = (n) => n.done ? e(n.value) : Promise.resolve(n.value).then(i, m);
|
|
28
28
|
p((t = t.apply(h, l)).next());
|
|
29
29
|
});
|
|
30
30
|
import { GuideLinePlugin as K } from "../GuideLinePlugin/index.js";
|
|
@@ -38,6 +38,7 @@ import { vectorToCoordinates as A } from "../shared-utils/vectorToCoordinate.js"
|
|
|
38
38
|
import G from "./BaseController.js";
|
|
39
39
|
import "../shared-utils/tag.js";
|
|
40
40
|
import "hammerjs";
|
|
41
|
+
import "../shared-utils/three/PointSelector/index.js";
|
|
41
42
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
42
43
|
import "@realsee/five/line";
|
|
43
44
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
@@ -55,6 +56,7 @@ import "../shared-utils/Utils/WorkUtil.js";
|
|
|
55
56
|
import "../shared-utils/five/transformPosition.js";
|
|
56
57
|
import "../shared-utils/five/getFiveModel.js";
|
|
57
58
|
import "../shared-utils/url/absoluteUrl.js";
|
|
59
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
58
60
|
import "../shared-utils/equal.js";
|
|
59
61
|
import "../shared-utils/isTruelyObject.js";
|
|
60
62
|
import "../GuideLinePlugin/GuideLineItem/index.js";
|
|
@@ -196,17 +198,34 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
|
196
198
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
197
199
|
import "../shared-utils/three/getObjectVisible.js";
|
|
198
200
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
201
|
+
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
202
|
+
import "../shared-utils/three/Magnifier.js";
|
|
203
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
204
|
+
import "../shared-utils/three/Assets/index.js";
|
|
205
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
206
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
207
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
208
|
+
import "../Sculpt/Meshes/Line.js";
|
|
209
|
+
import "../Sculpt/typings/style.js";
|
|
210
|
+
import "../shared-utils/five/FiveLine.js";
|
|
211
|
+
import "../shared-utils/three/IObject3D.js";
|
|
212
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
213
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
214
|
+
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
215
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
216
|
+
import "../shared-utils/isTouchDevice.js";
|
|
217
|
+
import "../shared-utils/five/getPosition.js";
|
|
218
|
+
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
219
|
+
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
199
220
|
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
200
221
|
import "../vendor/three/build/three.module.js";
|
|
201
222
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
202
223
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
203
224
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
204
225
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
205
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
206
226
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
207
227
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
208
228
|
import "../shared-utils/three/core/Raycaster.js";
|
|
209
|
-
import "../shared-utils/isTouchDevice.js";
|
|
210
229
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
211
230
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
212
231
|
import "../PanoTagPlugin/controller/Tag/PointTag.js";
|
|
@@ -224,7 +243,7 @@ import "./utils/getFiveStateOnCurve.js";
|
|
|
224
243
|
import "../shared-utils/formatRad.js";
|
|
225
244
|
import "./Work.js";
|
|
226
245
|
import "./utils/coordinatesToVector.js";
|
|
227
|
-
class
|
|
246
|
+
class _r extends G {
|
|
228
247
|
constructor(t, e) {
|
|
229
248
|
super(t, e);
|
|
230
249
|
k(this, "state", {
|
|
@@ -256,10 +275,10 @@ class Sr extends G {
|
|
|
256
275
|
*/
|
|
257
276
|
load(t, e, r) {
|
|
258
277
|
return y(this, null, function* () {
|
|
259
|
-
var o,
|
|
278
|
+
var o, s;
|
|
260
279
|
this.clear();
|
|
261
|
-
const i = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0,
|
|
262
|
-
this.data = g({ id:
|
|
280
|
+
const i = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, m = yield this.formatData(t);
|
|
281
|
+
this.data = g({ id: m.keyframesId }, m), this.hooks.emit("dataChange", m, i);
|
|
263
282
|
let p = [], n;
|
|
264
283
|
const a = this.data.keyframes.filter((f) => f.data.panoIndex !== void 0);
|
|
265
284
|
a.filter((f, d) => {
|
|
@@ -277,7 +296,7 @@ class Sr extends G {
|
|
|
277
296
|
const c = p.length;
|
|
278
297
|
p[c] = [f];
|
|
279
298
|
}
|
|
280
|
-
}), !this.GuideLine && ((o = this.config) == null ? void 0 : o.useGuideLine) !== !1 &&
|
|
299
|
+
}), !this.GuideLine && ((o = this.config) == null ? void 0 : o.useGuideLine) !== !1 && m.useGuildLine !== !1 && (this.GuideLine = K(this.five, this.config)), (s = this.GuideLine) == null || s.load({ routes: p.map((f) => ({ panoIndexList: f })), config: m.guildPluginOptions }), e ? this.setState(e, { userAction: r }) : (this.setState({ playing: !1 }, { userAction: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing, { userAction: !1 }), this.changeSpeed(this.state.speed)), this.clearPauseData(), console.debug("WORKPLUGIN loaded", m), this.hooks.emit("dataLoaded", m);
|
|
281
300
|
});
|
|
282
301
|
}
|
|
283
302
|
/**
|
|
@@ -310,21 +329,21 @@ class Sr extends G {
|
|
|
310
329
|
keyframesId: S(),
|
|
311
330
|
keyframes: e.keyframes.map((r, i) => {
|
|
312
331
|
var n;
|
|
313
|
-
const
|
|
332
|
+
const m = e.keyframes[i + 1], p = (() => !m || m.start === void 0 || r.end === void 0 ? 0 : m.start - r.end)();
|
|
314
333
|
return x(g({ id: (n = r.uuid) != null ? n : S(), moveIndex: i, stay: p, index: i }, r), { guildPluginOptions: e.guildPluginOptions });
|
|
315
334
|
})
|
|
316
335
|
};
|
|
317
336
|
if (e.panoIndexList) {
|
|
318
337
|
let r = [];
|
|
319
|
-
const { moveEffect: i, moveToFirstPanoEffect:
|
|
320
|
-
return this.privateState.moveToFirstPanoEffect =
|
|
338
|
+
const { moveEffect: i, moveToFirstPanoEffect: m, moveToFirstPanoDuration: p } = e;
|
|
339
|
+
return this.privateState.moveToFirstPanoEffect = m, this.privateState.moveToFirstPanoDuration = p, e.panoIndexList.forEach((n, a) => {
|
|
321
340
|
const o = (() => {
|
|
322
341
|
var v, c;
|
|
323
|
-
const
|
|
324
|
-
if (
|
|
342
|
+
const s = e.panoIndexList.slice(a).find((P) => P !== n);
|
|
343
|
+
if (s === void 0)
|
|
325
344
|
return;
|
|
326
|
-
const f = this.workUtil.getObserverPosition(n), d = this.workUtil.getObserverPosition(
|
|
327
|
-
if (!d || !f || ((v = this.workUtil.getObserver(n)) == null ? void 0 : v.floorIndex) !== ((c = this.workUtil.getObserver(
|
|
345
|
+
const f = this.workUtil.getObserverPosition(n), d = this.workUtil.getObserverPosition(s);
|
|
346
|
+
if (!d || !f || ((v = this.workUtil.getObserver(n)) == null ? void 0 : v.floorIndex) !== ((c = this.workUtil.getObserver(s)) == null ? void 0 : c.floorIndex))
|
|
328
347
|
return;
|
|
329
348
|
const u = new U.Vector3().subVectors(d, f);
|
|
330
349
|
return A(u.normalize());
|
|
@@ -353,13 +372,13 @@ class Sr extends G {
|
|
|
353
372
|
handlePlay(t) {
|
|
354
373
|
return y(this, null, function* () {
|
|
355
374
|
var d;
|
|
356
|
-
const { data: e, state: r, privateState: i, hooks:
|
|
375
|
+
const { data: e, state: r, privateState: i, hooks: m } = this;
|
|
357
376
|
if (i.playing || !(e != null && e.keyframes) || (e == null ? void 0 : e.keyframes.length) === 0)
|
|
358
377
|
return;
|
|
359
378
|
const p = S();
|
|
360
379
|
i.playId = p, i.playing = !0, i.broke = !1;
|
|
361
380
|
const n = e.keyframes, a = this.getPauseData();
|
|
362
|
-
(t == null ? void 0 : t.notEmitEvent) !== !0 &&
|
|
381
|
+
(t == null ? void 0 : t.notEmitEvent) !== !0 && m.emit("play", { userAction: (d = t == null ? void 0 : t.userAction) != null ? d : !0 });
|
|
363
382
|
let o = !1;
|
|
364
383
|
const f = yield (() => y(this, null, function* () {
|
|
365
384
|
var u, v;
|
|
@@ -388,7 +407,7 @@ class Sr extends G {
|
|
|
388
407
|
return;
|
|
389
408
|
if (!(f !== void 0 && u.index < f))
|
|
390
409
|
try {
|
|
391
|
-
|
|
410
|
+
m.emit("playIndexChange", u.index, u), yield this.playKeyframe(u, {
|
|
392
411
|
moveEffect: o === !1 ? i.moveToFirstPanoEffect : void 0,
|
|
393
412
|
duration: o === !1 && typeof i.moveToFirstPanoDuration == "number" ? i.moveToFirstPanoDuration : void 0
|
|
394
413
|
}), u.stay && (yield O(u.stay)), o === !1 && (o = !0);
|
|
@@ -396,27 +415,27 @@ class Sr extends G {
|
|
|
396
415
|
return console.error(v), Promise.resolve("broke");
|
|
397
416
|
}
|
|
398
417
|
}
|
|
399
|
-
r.playing && p === i.playId && (this.setState({ playing: !1 }, { userAction: !1 }),
|
|
418
|
+
r.playing && p === i.playId && (this.setState({ playing: !1 }, { userAction: !1 }), m.emit("end"), this.clearPauseData());
|
|
400
419
|
});
|
|
401
420
|
}
|
|
402
421
|
/**
|
|
403
422
|
* @description: Pause and record pause state
|
|
404
423
|
*/
|
|
405
424
|
handlePause(t) {
|
|
406
|
-
var
|
|
425
|
+
var m;
|
|
407
426
|
const { state: e, privateState: r, hooks: i } = this;
|
|
408
|
-
e.playing = !1, r.playing !== !1 && (r.playing = !1, (t == null ? void 0 : t.userAction) !== !1 && this.setPauseData(), r.broke || this.forceInteruptUpdateCamera(), (t == null ? void 0 : t.notEmitEvent) !== !0 && i.emit("pause", { userAction: (
|
|
427
|
+
e.playing = !1, r.playing !== !1 && (r.playing = !1, (t == null ? void 0 : t.userAction) !== !1 && this.setPauseData(), r.broke || this.forceInteruptUpdateCamera(), (t == null ? void 0 : t.notEmitEvent) !== !0 && i.emit("pause", { userAction: (m = t == null ? void 0 : t.userAction) != null ? m : !0 }));
|
|
409
428
|
}
|
|
410
429
|
/**
|
|
411
430
|
* @description: Change play speed
|
|
412
431
|
*/
|
|
413
432
|
changeSpeed(t, e = !0) {
|
|
414
433
|
var n;
|
|
415
|
-
const { state: r, privateState: i, hooks:
|
|
416
|
-
if (
|
|
434
|
+
const { state: r, privateState: i, hooks: m } = this, { currentPlayKeyframe: p } = i;
|
|
435
|
+
if (m.emit("speedChange", t, { userAction: e }), r.playing && p)
|
|
417
436
|
try {
|
|
418
|
-
const a = p.originDuration !== void 0 ? p.originDuration * (1 - this.getProgress()) : void 0, o = p.keyframe, { privateState:
|
|
419
|
-
((n = this.privateState.currentPlayKeyframe) == null ? void 0 : n.keyframe.id) !== o.id && (this.privateState.currentPlayKeyframe = { keyframe: o }),
|
|
437
|
+
const a = p.originDuration !== void 0 ? p.originDuration * (1 - this.getProgress()) : void 0, o = p.keyframe, { privateState: s } = this;
|
|
438
|
+
((n = this.privateState.currentPlayKeyframe) == null ? void 0 : n.keyframe.id) !== o.id && (this.privateState.currentPlayKeyframe = { keyframe: o }), s.currentPlayQueue.push(this.getPlayPromise(o, { duration: a }));
|
|
420
439
|
} catch (a) {
|
|
421
440
|
console.error(a);
|
|
422
441
|
}
|
|
@@ -461,9 +480,9 @@ class Sr extends G {
|
|
|
461
480
|
*/
|
|
462
481
|
getPlayPromise(r) {
|
|
463
482
|
return y(this, arguments, function* (t, e = {}) {
|
|
464
|
-
var
|
|
483
|
+
var m;
|
|
465
484
|
const i = t.data;
|
|
466
|
-
if (e.duration = (
|
|
485
|
+
if (e.duration = (m = e.duration) != null ? m : t.start !== void 0 && t.end !== void 0 ? t.end - t.start : void 0, !!i)
|
|
467
486
|
return new Promise((p, n) => {
|
|
468
487
|
let a = !1;
|
|
469
488
|
this.addInterruptListener(() => {
|
|
@@ -541,26 +560,26 @@ class Sr extends G {
|
|
|
541
560
|
*/
|
|
542
561
|
updateCamera(r) {
|
|
543
562
|
return y(this, arguments, function* (t, e = {}) {
|
|
544
|
-
const { five: i, privateState:
|
|
563
|
+
const { five: i, privateState: m, state: p } = this, n = (() => {
|
|
545
564
|
var d, u;
|
|
546
|
-
const
|
|
547
|
-
if ((
|
|
565
|
+
const s = (d = p.config) == null ? void 0 : d.speedConfig, f = (u = t.rotateSpeed) != null ? u : s == null ? void 0 : s.rotateSpeed;
|
|
566
|
+
if ((s == null ? void 0 : s.rotateSpeedUnit) === void 0)
|
|
548
567
|
return f;
|
|
549
568
|
if (f !== void 0)
|
|
550
|
-
return
|
|
569
|
+
return s.rotateSpeedUnit === "rad/ms" ? f : f / 1e3;
|
|
551
570
|
})(), a = (() => {
|
|
552
571
|
if (e.duration)
|
|
553
572
|
return e.duration;
|
|
554
573
|
if (n) {
|
|
555
|
-
const
|
|
556
|
-
return L(
|
|
574
|
+
const s = this.five.getCurrentState();
|
|
575
|
+
return L(s, t) / n;
|
|
557
576
|
}
|
|
558
577
|
return 800;
|
|
559
578
|
})();
|
|
560
|
-
|
|
579
|
+
m.currentPlayKeyframe && (m.currentPlayKeyframe.originDuration = a);
|
|
561
580
|
const o = this.getSpeededDuration(a);
|
|
562
|
-
return new Promise((
|
|
563
|
-
T(() => i.updateCamera(t, o)), setTimeout(() =>
|
|
581
|
+
return new Promise((s) => {
|
|
582
|
+
T(() => i.updateCamera(t, o)), setTimeout(() => s(), o);
|
|
564
583
|
});
|
|
565
584
|
});
|
|
566
585
|
}
|
|
@@ -569,30 +588,30 @@ class Sr extends G {
|
|
|
569
588
|
*/
|
|
570
589
|
changePano(t, e) {
|
|
571
590
|
return y(this, null, function* () {
|
|
572
|
-
const { five: r, privateState: i, state:
|
|
591
|
+
const { five: r, privateState: i, state: m } = this;
|
|
573
592
|
if (typeof t.panoIndex != "number" || t.panoIndex === r.panoIndex)
|
|
574
593
|
return;
|
|
575
594
|
const p = r.getCurrentState().mode !== "Panorama";
|
|
576
595
|
p && (this.privateState.modeChanging = !0);
|
|
577
596
|
const n = (() => {
|
|
578
597
|
var f, d;
|
|
579
|
-
const o = (f =
|
|
598
|
+
const o = (f = m.config) == null ? void 0 : f.speedConfig, s = (d = t.moveSpeed) != null ? d : o == null ? void 0 : o.moveSpeed;
|
|
580
599
|
if ((o == null ? void 0 : o.moveSpeedUnit) === void 0)
|
|
581
|
-
return
|
|
582
|
-
if (
|
|
583
|
-
return o.moveSpeedUnit === "m/ms" ?
|
|
600
|
+
return s;
|
|
601
|
+
if (s !== void 0)
|
|
602
|
+
return o.moveSpeedUnit === "m/ms" ? s : s / 1e3;
|
|
584
603
|
})(), a = (() => {
|
|
585
604
|
if (e != null && e.duration)
|
|
586
605
|
return e.duration;
|
|
587
606
|
if (n && typeof r.panoIndex == "number" && typeof t.panoIndex == "number") {
|
|
588
|
-
const o = this.workUtil.getObserverPosition(r.panoIndex),
|
|
589
|
-
return o &&
|
|
607
|
+
const o = this.workUtil.getObserverPosition(r.panoIndex), s = this.workUtil.getObserverPosition(t.panoIndex);
|
|
608
|
+
return o && s ? o.distanceTo(s) / n : 800;
|
|
590
609
|
}
|
|
591
610
|
return 800;
|
|
592
611
|
})();
|
|
593
612
|
i.currentPlayKeyframe && (i.currentPlayKeyframe.originDuration = a), yield new Promise((o) => {
|
|
594
613
|
var f, d, u;
|
|
595
|
-
const
|
|
614
|
+
const s = this.fiveUtil.moveToPano(t.panoIndex, {
|
|
596
615
|
latitude: t.latitude,
|
|
597
616
|
longitude: t.longitude,
|
|
598
617
|
fov: t.fov,
|
|
@@ -601,7 +620,7 @@ class Sr extends G {
|
|
|
601
620
|
moveCancelCallback: () => o(),
|
|
602
621
|
moveEndCallback: () => o()
|
|
603
622
|
});
|
|
604
|
-
|
|
623
|
+
s instanceof Promise && s.then(() => o()), p && r.once("panoArrived", () => o());
|
|
605
624
|
}), p && (this.privateState.modeChanging = !1);
|
|
606
625
|
});
|
|
607
626
|
}
|
|
@@ -615,5 +634,5 @@ class Sr extends G {
|
|
|
615
634
|
}
|
|
616
635
|
}
|
|
617
636
|
export {
|
|
618
|
-
|
|
637
|
+
_r as default
|
|
619
638
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { typing as
|
|
1
|
+
import { typing as si } from "./typing/index.js";
|
|
2
2
|
import t from "./Work.js";
|
|
3
3
|
import i from "./Move.js";
|
|
4
4
|
import "../GuideLinePlugin/index.js";
|
|
@@ -18,15 +18,46 @@ import "../shared-utils/five/transformPosition.js";
|
|
|
18
18
|
import "../shared-utils/three/temp.js";
|
|
19
19
|
import "../shared-utils/dom/resizeObserver.js";
|
|
20
20
|
import "hammerjs";
|
|
21
|
+
import "../shared-utils/three/PointSelector/index.js";
|
|
22
|
+
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
23
|
+
import "../shared-utils/three/Magnifier.js";
|
|
24
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
25
|
+
import "../shared-utils/three/Assets/index.js";
|
|
26
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
21
27
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
28
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
29
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
30
|
+
import "../shared-utils/three/centerPoint.js";
|
|
31
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
22
32
|
import "@realsee/five/line";
|
|
23
33
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
24
34
|
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
25
35
|
import "../vendor/three/build/three.module.js";
|
|
26
36
|
import "../shared-utils/three/core/Sphere.js";
|
|
27
37
|
import "animejs";
|
|
28
|
-
import "../shared-utils/
|
|
38
|
+
import "../shared-utils/isNil.js";
|
|
29
39
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
40
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
41
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
42
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
43
|
+
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
44
|
+
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
45
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
46
|
+
import "../Sculpt/Meshes/Line.js";
|
|
47
|
+
import "../Sculpt/typings/style.js";
|
|
48
|
+
import "../shared-utils/five/FiveLine.js";
|
|
49
|
+
import "../shared-utils/three/IObject3D.js";
|
|
50
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
51
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
52
|
+
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
53
|
+
import "../shared-utils/util.js";
|
|
54
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
55
|
+
import "../shared-utils/isTouchDevice.js";
|
|
56
|
+
import "../shared-utils/five/getPosition.js";
|
|
57
|
+
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
58
|
+
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
59
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
60
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
30
61
|
import "../shared-utils/uuid.js";
|
|
31
62
|
import "../shared-utils/equal.js";
|
|
32
63
|
import "../shared-utils/isTruelyObject.js";
|
|
@@ -44,8 +75,6 @@ import "../vendor/gl-vec2/dot.js";
|
|
|
44
75
|
import "../shared-utils/math/intersecting.js";
|
|
45
76
|
import "../shared-utils/five/mode.js";
|
|
46
77
|
import "../shared-utils/three/blink.js";
|
|
47
|
-
import "../shared-utils/util.js";
|
|
48
|
-
import "../shared-utils/isNil.js";
|
|
49
78
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
50
79
|
import "../shared-utils/animationFrame/index.js";
|
|
51
80
|
import "../shared-utils/three/loadTexture.js";
|
|
@@ -131,7 +160,6 @@ import "../shared-utils/three/GLTFLoader.js";
|
|
|
131
160
|
import "@realsee/five/gltf-loader";
|
|
132
161
|
import "../PanoTagPlugin/utils/planeNormal.js";
|
|
133
162
|
import "../PanoTagPlugin/utils/model/mediaPlane.js";
|
|
134
|
-
import "../shared-utils/three/centerPoint.js";
|
|
135
163
|
import "../shared-utils/three/Quadrangle.js";
|
|
136
164
|
import "../shared-utils/math/pointsIsRectangle.js";
|
|
137
165
|
import "../shared-utils/three/loadVideoTexture.js";
|
|
@@ -161,22 +189,13 @@ import "../vendor/svelte/store/index.js";
|
|
|
161
189
|
import "../CSS3DRenderPlugin/index.js";
|
|
162
190
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
163
191
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
164
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
165
|
-
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
166
|
-
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
167
|
-
import "../CSS3DRenderPlugin/utils/even.js";
|
|
168
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
169
|
-
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
170
|
-
import "../shared-utils/three/getObjectVisible.js";
|
|
171
192
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
172
193
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
173
194
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
174
195
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
175
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
176
196
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
177
197
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
178
198
|
import "../shared-utils/three/core/Raycaster.js";
|
|
179
|
-
import "../shared-utils/isTouchDevice.js";
|
|
180
199
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
181
200
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
182
201
|
import "../PanoTagPlugin/controller/Tag/PointTag.js";
|
|
@@ -196,13 +215,13 @@ import "./utils/sleep.js";
|
|
|
196
215
|
import "../shared-utils/five/fiveLoaded.js";
|
|
197
216
|
import "./BaseController.js";
|
|
198
217
|
import "./utils/getFiveStateOnCurve.js";
|
|
199
|
-
const
|
|
218
|
+
const mi = (o, r) => new t(o, r), ei = (o, r) => new i(o, r);
|
|
200
219
|
export {
|
|
201
|
-
|
|
220
|
+
mi as CruisePlugin,
|
|
202
221
|
t as CruisePluginController,
|
|
203
|
-
|
|
222
|
+
si as CruisePluginTypes,
|
|
204
223
|
i as MoveController,
|
|
205
|
-
|
|
224
|
+
ei as MovePlugin,
|
|
206
225
|
t as WalkController,
|
|
207
|
-
|
|
226
|
+
mi as default
|
|
208
227
|
};
|
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var g = Object.defineProperty;
|
|
2
|
+
var c = Object.getOwnPropertySymbols;
|
|
3
3
|
var v = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var
|
|
5
|
-
for (var e in
|
|
6
|
-
v.call(
|
|
7
|
-
if (
|
|
8
|
-
for (var e of
|
|
9
|
-
b.call(
|
|
4
|
+
var f = (r, n, e) => n in r ? g(r, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[n] = e, a = (r, n) => {
|
|
5
|
+
for (var e in n || (n = {}))
|
|
6
|
+
v.call(n, e) && f(r, e, n[e]);
|
|
7
|
+
if (c)
|
|
8
|
+
for (var e of c(n))
|
|
9
|
+
b.call(n, e) && f(r, e, n[e]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
13
|
-
var u = (r,
|
|
12
|
+
var o = (r, n, e) => (f(r, typeof n != "symbol" ? n + "" : n, e), e);
|
|
13
|
+
var u = (r, n, e) => new Promise((i, t) => {
|
|
14
14
|
var s = (d) => {
|
|
15
15
|
try {
|
|
16
|
-
|
|
17
|
-
} catch (
|
|
18
|
-
t(
|
|
16
|
+
p(e.next(d));
|
|
17
|
+
} catch (m) {
|
|
18
|
+
t(m);
|
|
19
19
|
}
|
|
20
20
|
}, l = (d) => {
|
|
21
21
|
try {
|
|
22
|
-
|
|
23
|
-
} catch (
|
|
24
|
-
t(
|
|
22
|
+
p(e.throw(d));
|
|
23
|
+
} catch (m) {
|
|
24
|
+
t(m);
|
|
25
25
|
}
|
|
26
|
-
},
|
|
27
|
-
|
|
26
|
+
}, p = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, l);
|
|
27
|
+
p((e = e.apply(r, n)).next());
|
|
28
28
|
});
|
|
29
29
|
import * as h from "three";
|
|
30
30
|
import { Controller as M } from "../base/BasePlugin.js";
|
|
31
31
|
import { tweenProgress as A } from "../shared-utils/animationFrame/BetterTween.js";
|
|
32
32
|
import "../shared-utils/tag.js";
|
|
33
33
|
import "hammerjs";
|
|
34
|
+
import "../shared-utils/three/PointSelector/index.js";
|
|
34
35
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
35
36
|
import "@realsee/five/line";
|
|
36
37
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
@@ -51,17 +52,46 @@ import "../shared-utils/positionToVector3.js";
|
|
|
51
52
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
52
53
|
import "../shared-utils/three/temp.js";
|
|
53
54
|
import "../shared-utils/dom/resizeObserver.js";
|
|
55
|
+
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
56
|
+
import "../shared-utils/three/Magnifier.js";
|
|
57
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
58
|
+
import "../shared-utils/three/Assets/index.js";
|
|
59
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
60
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
61
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
62
|
+
import "../shared-utils/three/centerPoint.js";
|
|
63
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
64
|
+
import "../shared-utils/isNil.js";
|
|
65
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
66
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
67
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
68
|
+
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
69
|
+
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
70
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
71
|
+
import "../Sculpt/Meshes/Line.js";
|
|
72
|
+
import "../Sculpt/typings/style.js";
|
|
73
|
+
import "../shared-utils/five/FiveLine.js";
|
|
74
|
+
import "../shared-utils/three/IObject3D.js";
|
|
75
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
76
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
77
|
+
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
78
|
+
import "../shared-utils/util.js";
|
|
79
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
80
|
+
import "../shared-utils/isTouchDevice.js";
|
|
81
|
+
import "../shared-utils/five/getPosition.js";
|
|
82
|
+
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
83
|
+
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
54
84
|
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
55
85
|
import "../vendor/three/build/three.module.js";
|
|
56
86
|
import "../shared-utils/isTruelyObject.js";
|
|
57
|
-
class
|
|
87
|
+
class Fe extends M {
|
|
58
88
|
constructor(e, i) {
|
|
59
89
|
super(e);
|
|
60
90
|
// ==================== public properties ====================
|
|
61
91
|
/** 插件当前状态 */
|
|
62
|
-
|
|
92
|
+
o(this, "state");
|
|
63
93
|
/** 查询问题使用的调试对象 */
|
|
64
|
-
|
|
94
|
+
o(this, "checkMsg", {
|
|
65
95
|
/** mesh 隐藏的原因 */
|
|
66
96
|
meshHidden: "",
|
|
67
97
|
/** 插件 enabled 校验信息 */
|
|
@@ -70,45 +100,45 @@ class N extends M {
|
|
|
70
100
|
pluginHidden: ""
|
|
71
101
|
});
|
|
72
102
|
// ==================== private properties ====================
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
103
|
+
o(this, "group", new h.Group());
|
|
104
|
+
o(this, "mesh");
|
|
105
|
+
o(this, "textureLoadingPromise");
|
|
106
|
+
o(this, "opacityAnimeTween");
|
|
77
107
|
/** 是否正在走点动画中 */
|
|
78
|
-
|
|
108
|
+
o(this, "isInPanoMoveAnime", !1);
|
|
79
109
|
/** 上一次走点的全景图索引 */
|
|
80
|
-
|
|
110
|
+
o(this, "lastArrivedPanoIndex", -1);
|
|
81
111
|
/** config 的原始值 */
|
|
82
|
-
|
|
112
|
+
o(this, "_config");
|
|
83
113
|
/** disposed 的原始值 */
|
|
84
|
-
|
|
114
|
+
o(this, "_disposed", !1);
|
|
85
115
|
/**
|
|
86
116
|
* 销毁插件
|
|
87
117
|
* @todo 销毁贴图时,最好还是直接销毁贴图吧,this.mesh?.material.map 这种都是很深层的引用了。THREE 的建议我看也是自己去管理和销毁公共贴图。
|
|
88
118
|
*/
|
|
89
|
-
|
|
119
|
+
o(this, "dispose", () => {
|
|
90
120
|
this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.five.off("dispose", this.dispose), this.five.off("panoArrived", this.onFivePanoArrived), this.five.off("panoWillArrive", this.onFivePanoWillArrive);
|
|
91
121
|
});
|
|
92
|
-
|
|
122
|
+
o(this, "checkMeshVisible", () => this.state.visible ? this.config.imageURL === "" ? { result: !1, msg: "图片不存在" } : this.mesh.material.map ? this.five.work ? this.five.getCurrentState().mode !== "Panorama" ? { result: !1, msg: "非全景模式" } : this.isInPanoMoveAnime ? { result: !1, msg: "处于走点动画中" } : { result: !0, msg: "" } : { result: !1, msg: "Five 数据未加载" } : { result: !1, msg: "指南针贴图未加载" } : { result: !1, msg: "插件隐藏" });
|
|
93
123
|
/** 贴图加载完成的回调 */
|
|
94
|
-
|
|
124
|
+
o(this, "onTextureLoaded", (e) => {
|
|
95
125
|
this.mesh.material.map = e, this.mesh.material.needsUpdate = !0, this.updateMeshVisible();
|
|
96
126
|
});
|
|
97
127
|
/** Five load Work 后 */
|
|
98
|
-
|
|
128
|
+
o(this, "onFiveWillLoad", () => {
|
|
99
129
|
this.lastArrivedPanoIndex = -1, this.updateMeshVisible();
|
|
100
130
|
});
|
|
101
131
|
/** 走点前 */
|
|
102
|
-
|
|
132
|
+
o(this, "onFivePanoWillArrive", (e) => {
|
|
103
133
|
var i;
|
|
104
134
|
e !== this.five.getCurrentState().panoIndex && (this.isInPanoMoveAnime = !0, (i = this.opacityAnimeTween) == null || i.dispose(), this.updateMeshVisible());
|
|
105
135
|
});
|
|
106
136
|
/** 走点后 */
|
|
107
137
|
// eslint-disable-next-line @typescript-eslint/member-ordering
|
|
108
|
-
|
|
138
|
+
o(this, "onFivePanoArrived", (e) => {
|
|
109
139
|
e !== this.lastArrivedPanoIndex && (this.lastArrivedPanoIndex = e, this.isInPanoMoveAnime = !1, this.updateMeshPosition(e), this.updateMeshVisible(), this.five.needsRender = !0);
|
|
110
140
|
});
|
|
111
|
-
|
|
141
|
+
o(this, "onMeshVisibleChange", (e) => {
|
|
112
142
|
var i;
|
|
113
143
|
if ((i = this.opacityAnimeTween) == null || i.dispose(), !e) {
|
|
114
144
|
this.mesh.visible = !1;
|
|
@@ -119,7 +149,7 @@ class N extends M {
|
|
|
119
149
|
(s = this.mesh) == null || s.material.setValues({ opacity: t }), this.five.needsRender = !0;
|
|
120
150
|
}).play();
|
|
121
151
|
});
|
|
122
|
-
|
|
152
|
+
o(this, "onFiveModeChange", () => {
|
|
123
153
|
this.updateMeshVisible();
|
|
124
154
|
});
|
|
125
155
|
this.five = e;
|
|
@@ -285,5 +315,5 @@ class N extends M {
|
|
|
285
315
|
}
|
|
286
316
|
}
|
|
287
317
|
export {
|
|
288
|
-
|
|
318
|
+
Fe as CurrentPanoImagePluginController
|
|
289
319
|
};
|
|
@@ -13,22 +13,52 @@ import "../shared-utils/five/transformPosition.js";
|
|
|
13
13
|
import "../shared-utils/three/temp.js";
|
|
14
14
|
import "../shared-utils/dom/resizeObserver.js";
|
|
15
15
|
import "hammerjs";
|
|
16
|
+
import "../shared-utils/three/PointSelector/index.js";
|
|
17
|
+
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
18
|
+
import "../shared-utils/three/Magnifier.js";
|
|
19
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
20
|
+
import "../shared-utils/three/Assets/index.js";
|
|
21
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
16
22
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
23
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
24
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
25
|
+
import "../shared-utils/three/centerPoint.js";
|
|
26
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
17
27
|
import "@realsee/five/line";
|
|
18
28
|
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
19
29
|
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
20
30
|
import "../vendor/three/build/three.module.js";
|
|
21
31
|
import "../shared-utils/three/core/Sphere.js";
|
|
22
32
|
import "animejs";
|
|
23
|
-
import "../shared-utils/
|
|
33
|
+
import "../shared-utils/isNil.js";
|
|
24
34
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
35
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
36
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
37
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
38
|
+
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
39
|
+
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
40
|
+
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
41
|
+
import "../Sculpt/Meshes/Line.js";
|
|
42
|
+
import "../Sculpt/typings/style.js";
|
|
43
|
+
import "../shared-utils/five/FiveLine.js";
|
|
44
|
+
import "../shared-utils/three/IObject3D.js";
|
|
45
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
46
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
47
|
+
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
48
|
+
import "../shared-utils/util.js";
|
|
49
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
50
|
+
import "../shared-utils/isTouchDevice.js";
|
|
51
|
+
import "../shared-utils/five/getPosition.js";
|
|
52
|
+
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
53
|
+
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
54
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
25
55
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
26
56
|
import "../shared-utils/animationFrame/index.js";
|
|
27
57
|
import "../shared-utils/equal.js";
|
|
28
58
|
import "../shared-utils/isTruelyObject.js";
|
|
29
59
|
import "../shared-utils/three/loadTexture.js";
|
|
30
|
-
const
|
|
60
|
+
const ar = (r, o) => new t(r, o);
|
|
31
61
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
62
|
+
ar as CurrentPanoImagePlugin,
|
|
63
|
+
ar as default
|
|
34
64
|
};
|