@realsee/dnalogel 3.45.0 → 3.46.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.
Files changed (96) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/Sculpt/Meshes/Line.d.ts +6 -1
  3. package/dist/index.cjs.js +53 -53
  4. package/dist/index.js +29609 -29576
  5. package/dist/index.umd.js +49 -49
  6. package/dist/shared-utils/tag.d.ts +6 -3
  7. package/libs/AreaMakerPlugin/Controller.js +150 -78
  8. package/libs/AreaMakerPlugin/index.js +76 -4
  9. package/libs/AreaMakerPlugin/utils/Item.js +190 -111
  10. package/libs/CSS3DRenderPlugin/Controller.js +89 -29
  11. package/libs/CSS3DRenderPlugin/index.js +75 -15
  12. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +132 -58
  13. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +181 -116
  14. package/libs/CruisePlugin/BaseController.js +121 -49
  15. package/libs/CruisePlugin/Move.js +73 -21
  16. package/libs/CruisePlugin/Work.js +98 -46
  17. package/libs/CruisePlugin/index.js +79 -27
  18. package/libs/CurrentPanoImagePlugin/Controller.js +176 -104
  19. package/libs/CurrentPanoImagePlugin/index.js +76 -4
  20. package/libs/GuideLinePlugin/Controller.js +82 -30
  21. package/libs/GuideLinePlugin/GuideLineItem.js +82 -30
  22. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
  23. package/libs/GuideLinePlugin/GuideLineModeItem.js +81 -29
  24. package/libs/GuideLinePlugin/index.js +79 -27
  25. package/libs/ModelMakerPlugin/Controller.js +139 -82
  26. package/libs/ModelMakerPlugin/index.js +75 -18
  27. package/libs/ModelTVVideoPlugin/Plugin.js +117 -57
  28. package/libs/ModelTVVideoPlugin/index.js +68 -8
  29. package/libs/Object3DHelperPlugin/Controller.js +54 -31
  30. package/libs/Object3DHelperPlugin/index.js +35 -13
  31. package/libs/PanoCompassPlugin/Controller.js +97 -42
  32. package/libs/PanoCompassPlugin/index.js +71 -16
  33. package/libs/PanoDoorLabelPlugin/BaseController.js +98 -26
  34. package/libs/PanoDoorLabelPlugin/Controller.js +187 -115
  35. package/libs/PanoDoorLabelPlugin/index.js +76 -4
  36. package/libs/PanoMeasurePlugin/Components/Controller0.js +140 -88
  37. package/libs/PanoMeasurePlugin/Components/Controller1.js +178 -126
  38. package/libs/PanoMeasurePlugin/Controller/EditController.js +124 -72
  39. package/libs/PanoMeasurePlugin/Controller/WatchController.js +167 -92
  40. package/libs/PanoMeasurePlugin/Controller/index.js +109 -64
  41. package/libs/PanoMeasurePlugin/Model/area.js +114 -38
  42. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +78 -0
  43. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +97 -45
  44. package/libs/PanoMeasurePlugin/index.js +76 -31
  45. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +98 -20
  46. package/libs/PanoSpatialTagPlugin/Plugin.js +210 -150
  47. package/libs/PanoSpatialTagPlugin/index.js +66 -6
  48. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +133 -53
  49. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +295 -216
  50. package/libs/PanoTagPlugin/Components/Tag/index.js +257 -187
  51. package/libs/PanoTagPlugin/Components/TagContainer.js +157 -87
  52. package/libs/PanoTagPlugin/Components/TagItem.js +144 -74
  53. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +73 -3
  54. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +109 -39
  55. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +105 -35
  56. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +113 -43
  57. package/libs/PanoTagPlugin/controller/TagRender.js +132 -80
  58. package/libs/PanoTagPlugin/controller/TagUtil.js +136 -84
  59. package/libs/PanoTagPlugin/controller/index.js +113 -61
  60. package/libs/PanoTagPlugin/index.js +89 -37
  61. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +121 -41
  62. package/libs/PanoVideoPlugin/Controller.js +137 -65
  63. package/libs/PanoVideoPlugin/VideoMeshController.js +149 -69
  64. package/libs/PanoVideoPlugin/index.js +82 -10
  65. package/libs/PipelinePlugin/Controller.js +199 -128
  66. package/libs/PipelinePlugin/index.js +76 -5
  67. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +102 -22
  68. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +95 -15
  69. package/libs/PipelinePlugin/utils/Objects/Pipe.js +136 -56
  70. package/libs/Sculpt/Meshes/Box.js +6 -5
  71. package/libs/Sculpt/Meshes/Cylinder.js +7 -6
  72. package/libs/Sculpt/Meshes/Line.d.ts +6 -1
  73. package/libs/Sculpt/Meshes/Line.js +76 -56
  74. package/libs/Sculpt/Meshes/Point.js +6 -5
  75. package/libs/Sculpt/Meshes/Polyline.js +5 -4
  76. package/libs/Sculpt/Meshes/Rectangle.js +3 -2
  77. package/libs/Sculpt/Objects/Line/Editor.js +11 -10
  78. package/libs/Sculpt/utils/three/ColoredMesh.js +14 -13
  79. package/libs/base/BasePlugin.js +14 -13
  80. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +128 -59
  81. package/libs/floorplan/MapviewFloorplanPlugin/index.js +75 -6
  82. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +129 -59
  83. package/libs/floorplan/ModelFloorplanPlugin/index.js +75 -5
  84. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +158 -86
  85. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +76 -4
  86. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +151 -81
  87. package/libs/floorplan/TopviewFloorplanPlugin/index.js +75 -5
  88. package/libs/floorplan/index.js +1 -0
  89. package/libs/index.js +67 -67
  90. package/libs/shared-utils/five/index.js +3 -2
  91. package/libs/shared-utils/five/lookObject.js +3 -2
  92. package/libs/shared-utils/logger.js +1 -1
  93. package/libs/shared-utils/tag.d.ts +6 -3
  94. package/libs/shared-utils/tag.js +38 -24
  95. package/libs/shared-utils/three/index.js +1 -0
  96. package/package.json +1 -1
@@ -14,18 +14,18 @@ var k = (h, l, t) => (I(h, typeof l != "symbol" ? l + "" : l, t), t);
14
14
  var y = (h, l, t) => new Promise((e, r) => {
15
15
  var i = (n) => {
16
16
  try {
17
- m(t.next(n));
17
+ s(t.next(n));
18
18
  } catch (o) {
19
19
  r(o);
20
20
  }
21
- }, s = (n) => {
21
+ }, m = (n) => {
22
22
  try {
23
- m(t.throw(n));
23
+ s(t.throw(n));
24
24
  } catch (o) {
25
25
  r(o);
26
26
  }
27
- }, m = (n) => n.done ? e(n.value) : Promise.resolve(n.value).then(i, s);
28
- m((t = t.apply(h, l)).next());
27
+ }, s = (n) => n.done ? e(n.value) : Promise.resolve(n.value).then(i, m);
28
+ s((t = t.apply(h, l)).next());
29
29
  });
30
30
  import { GuideLinePlugin as K } from "../GuideLinePlugin/index.js";
31
31
  import { uuid as S } from "../shared-utils/uuid.js";
@@ -39,6 +39,7 @@ import G from "./BaseController.js";
39
39
  import "hammerjs";
40
40
  import "three/examples/jsm/renderers/CSS3DRenderer";
41
41
  import "@realsee/five/line";
42
+ import "../Sculpt/utils/Modules/Global.js";
42
43
  import "../shared-utils/three/THREESphere.js";
43
44
  import "animejs";
44
45
  import { notNil as Q } from "../shared-utils/isNil.js";
@@ -192,14 +193,65 @@ import "../CSS3DRenderPlugin/utils/even.js";
192
193
  import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
193
194
  import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
194
195
  import "../shared-utils/three/getObjectVisible.js";
196
+ import "../Sculpt/utils/Modules/Cursor.js";
197
+ import "../Object3DHelperPlugin/Controller.js";
198
+ import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
199
+ import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
200
+ import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
201
+ import "../shared-utils/three/IObject3D.js";
202
+ import "../shared-utils/three/boundingBox.js";
203
+ import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
204
+ import "../shared-utils/Object3DHelper/utils/direction.js";
205
+ import "../shared-utils/Object3DHelper/Constants/color.js";
206
+ import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
207
+ import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
208
+ import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
209
+ import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
210
+ import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
211
+ import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
212
+ import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
213
+ import "../shared-utils/Object3DHelper/Controller/MoveController.js";
214
+ import "../shared-utils/Object3DHelper/Base/BaseController.js";
215
+ import "../shared-utils/threex/domevents/index.js";
216
+ import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
217
+ import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
218
+ import "../Sculpt/utils/three/rayOnLine.js";
219
+ import "../Object3DHelperPlugin/FiveControllerWrapper.js";
220
+ import "../shared-utils/Object3DHelper/index.js";
221
+ import "../shared-utils/Object3DHelper/Controller/RotateController.js";
222
+ import "../shared-utils/math/rad2Deg.js";
223
+ import "../shared-utils/math/deg2Rad.js";
224
+ import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
225
+ import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
226
+ import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
227
+ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
228
+ import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
229
+ import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
230
+ import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
231
+ import "../shared-utils/five/fiveModelLoad.js";
195
232
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
196
233
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
197
234
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
198
- import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
199
- import "../shared-utils/five/fiveModelLoad.js";
200
235
  import "../shared-utils/five/FiveDomEvents.js";
201
236
  import "../shared-utils/five/calculateThreeMouse.js";
202
237
  import "../shared-utils/three/THREERaycaster.js";
238
+ import "../shared-utils/three/PointSelector/index.js";
239
+ import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
240
+ import "../shared-utils/three/Magnifier.js";
241
+ import "../shared-utils/three/PointSelector/utils/PointHelper.js";
242
+ import "../shared-utils/three/Assets/index.js";
243
+ import "../shared-utils/three/PointSelector/utils/html.js";
244
+ import "../shared-utils/five/initialCSS3DRender.js";
245
+ import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
246
+ import "../Sculpt/Meshes/Line.js";
247
+ import "../Sculpt/typings/style.js";
248
+ import "../shared-utils/five/FiveLine.js";
249
+ import "../shared-utils/tag.js";
250
+ import "../shared-utils/five/vector3ToScreen.js";
251
+ import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
252
+ import "../shared-utils/isTouchDevice.js";
253
+ import "../shared-utils/five/getPosition.js";
254
+ import "../shared-utils/five/getRaycasterByNdcPosition.js";
203
255
  import "../PanoTagPlugin/utils/DebugUtil.js";
204
256
  import "../PanoTagPlugin/utils/addDebugPoints.js";
205
257
  import "../PanoTagPlugin/controller/Tag/PointTag.js";
@@ -218,7 +270,7 @@ import "./utils/getFiveStateOnCurve.js";
218
270
  import "../shared-utils/formatRad.js";
219
271
  import "./Work.js";
220
272
  import "./utils/coordinatesToVector.js";
221
- class cr extends G {
273
+ class lo extends G {
222
274
  constructor(t, e) {
223
275
  super(t, e);
224
276
  k(this, "state", {
@@ -252,9 +304,9 @@ class cr extends G {
252
304
  return y(this, null, function* () {
253
305
  var a, p;
254
306
  this.clear();
255
- const i = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, s = yield this.formatData(t);
256
- this.data = g({ id: s.keyframesId }, s), this.hooks.emit("dataChange", s, i);
257
- let m = [], n;
307
+ const i = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, m = yield this.formatData(t);
308
+ this.data = g({ id: m.keyframesId }, m), this.hooks.emit("dataChange", m, i);
309
+ let s = [], n;
258
310
  const o = this.data.keyframes.filter((f) => f.data.panoIndex !== void 0);
259
311
  o.filter((f, u) => {
260
312
  var d;
@@ -264,14 +316,14 @@ class cr extends G {
264
316
  const u = (d = this.workUtil.getObserver(f)) == null ? void 0 : d.floorIndex;
265
317
  if (u !== void 0)
266
318
  if (n === u) {
267
- const c = m.length - 1;
268
- m[c] = [...(v = m[c]) != null ? v : [], f];
319
+ const c = s.length - 1;
320
+ s[c] = [...(v = s[c]) != null ? v : [], f];
269
321
  } else {
270
322
  n = u;
271
- const c = m.length;
272
- m[c] = [f];
323
+ const c = s.length;
324
+ s[c] = [f];
273
325
  }
274
- }), !this.GuideLine && ((a = this.config) == null ? void 0 : a.useGuideLine) !== !1 && s.useGuildLine !== !1 && (this.GuideLine = K(this.five, this.config)), (p = this.GuideLine) == null || p.load({ routes: m.map((f) => ({ panoIndexList: f })), config: s.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", s), this.hooks.emit("dataLoaded", s);
326
+ }), !this.GuideLine && ((a = this.config) == null ? void 0 : a.useGuideLine) !== !1 && m.useGuildLine !== !1 && (this.GuideLine = K(this.five, this.config)), (p = this.GuideLine) == null || p.load({ routes: s.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);
275
327
  });
276
328
  }
277
329
  /**
@@ -304,14 +356,14 @@ class cr extends G {
304
356
  keyframesId: S(),
305
357
  keyframes: e.keyframes.map((r, i) => {
306
358
  var n;
307
- const s = e.keyframes[i + 1], m = (() => !s || s.start === void 0 || r.end === void 0 ? 0 : s.start - r.end)();
308
- return x(g({ id: (n = r.uuid) != null ? n : S(), moveIndex: i, stay: m, index: i }, r), { guildPluginOptions: e.guildPluginOptions });
359
+ const m = e.keyframes[i + 1], s = (() => !m || m.start === void 0 || r.end === void 0 ? 0 : m.start - r.end)();
360
+ return x(g({ id: (n = r.uuid) != null ? n : S(), moveIndex: i, stay: s, index: i }, r), { guildPluginOptions: e.guildPluginOptions });
309
361
  })
310
362
  };
311
363
  if (e.panoIndexList) {
312
364
  let r = [];
313
- const { moveEffect: i, moveToFirstPanoEffect: s, moveToFirstPanoDuration: m } = e;
314
- return this.privateState.moveToFirstPanoEffect = s, this.privateState.moveToFirstPanoDuration = m, e.panoIndexList.forEach((n, o) => {
365
+ const { moveEffect: i, moveToFirstPanoEffect: m, moveToFirstPanoDuration: s } = e;
366
+ return this.privateState.moveToFirstPanoEffect = m, this.privateState.moveToFirstPanoDuration = s, e.panoIndexList.forEach((n, o) => {
315
367
  const a = (() => {
316
368
  var v, c;
317
369
  const p = e.panoIndexList.slice(o).find((P) => P !== n);
@@ -347,13 +399,13 @@ class cr extends G {
347
399
  handlePlay(t) {
348
400
  return y(this, null, function* () {
349
401
  var u;
350
- const { data: e, state: r, privateState: i, hooks: s } = this;
402
+ const { data: e, state: r, privateState: i, hooks: m } = this;
351
403
  if (i.playing || !(e != null && e.keyframes) || (e == null ? void 0 : e.keyframes.length) === 0)
352
404
  return;
353
- const m = S();
354
- i.playId = m, i.playing = !0, i.broke = !1;
405
+ const s = S();
406
+ i.playId = s, i.playing = !0, i.broke = !1;
355
407
  const n = e.keyframes, o = this.getPauseData();
356
- (t == null ? void 0 : t.notEmitEvent) !== !0 && s.emit("play", { userAction: (u = t == null ? void 0 : t.userAction) != null ? u : !0 });
408
+ (t == null ? void 0 : t.notEmitEvent) !== !0 && m.emit("play", { userAction: (u = t == null ? void 0 : t.userAction) != null ? u : !0 });
357
409
  let a = !1;
358
410
  const f = yield (() => y(this, null, function* () {
359
411
  var d, v;
@@ -378,11 +430,11 @@ class cr extends G {
378
430
  }))();
379
431
  this.clearPauseData();
380
432
  for (const d of n) {
381
- if (i.broke || !r.playing || !i.playing || m !== i.playId)
433
+ if (i.broke || !r.playing || !i.playing || s !== i.playId)
382
434
  return;
383
435
  if (!(f !== void 0 && d.index < f))
384
436
  try {
385
- s.emit("playIndexChange", d.index, d), yield this.playKeyframe(d, {
437
+ m.emit("playIndexChange", d.index, d), yield this.playKeyframe(d, {
386
438
  moveEffect: a === !1 ? i.moveToFirstPanoEffect : void 0,
387
439
  duration: a === !1 && typeof i.moveToFirstPanoDuration == "number" ? i.moveToFirstPanoDuration : void 0
388
440
  }), d.stay && (yield O(d.stay)), a === !1 && (a = !0);
@@ -390,25 +442,25 @@ class cr extends G {
390
442
  return console.error(v), Promise.resolve("broke");
391
443
  }
392
444
  }
393
- r.playing && m === i.playId && (this.setState({ playing: !1 }, { userAction: !1 }), s.emit("end"), this.clearPauseData());
445
+ r.playing && s === i.playId && (this.setState({ playing: !1 }, { userAction: !1 }), m.emit("end"), this.clearPauseData());
394
446
  });
395
447
  }
396
448
  /**
397
449
  * @description: Pause and record pause state
398
450
  */
399
451
  handlePause(t) {
400
- var s;
452
+ var m;
401
453
  const { state: e, privateState: r, hooks: i } = this;
402
- 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: (s = t == null ? void 0 : t.userAction) != null ? s : !0 }));
454
+ 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 }));
403
455
  }
404
456
  /**
405
457
  * @description: Change play speed
406
458
  */
407
459
  changeSpeed(t, e = !0) {
408
- const { state: r, privateState: i, hooks: s } = this, { currentPlayKeyframe: m } = i;
409
- if (s.emit("speedChange", t, { userAction: e }), r.playing && m)
460
+ const { state: r, privateState: i, hooks: m } = this, { currentPlayKeyframe: s } = i;
461
+ if (m.emit("speedChange", t, { userAction: e }), r.playing && s)
410
462
  try {
411
- const n = m.originDuration !== void 0 ? m.originDuration * (1 - this.getProgress()) : void 0, o = this.playKeyframe(m.keyframe, { duration: n });
463
+ const n = s.originDuration !== void 0 ? s.originDuration * (1 - this.getProgress()) : void 0, o = this.playKeyframe(s.keyframe, { duration: n });
412
464
  i.currentPlayQueue.push(o);
413
465
  } catch (n) {
414
466
  }
@@ -453,10 +505,10 @@ class cr extends G {
453
505
  */
454
506
  getPlayPromise(r) {
455
507
  return y(this, arguments, function* (t, e = {}) {
456
- var s;
508
+ var m;
457
509
  const i = t.data;
458
- if (e.duration = (s = e.duration) != null ? s : t.start !== void 0 && t.end !== void 0 ? t.end - t.start : void 0, !!i)
459
- return new Promise((m, n) => {
510
+ if (e.duration = (m = e.duration) != null ? m : t.start !== void 0 && t.end !== void 0 ? t.end - t.start : void 0, !!i)
511
+ return new Promise((s, n) => {
460
512
  let o = !1;
461
513
  this.addInterruptListener(() => {
462
514
  if (!o)
@@ -466,7 +518,7 @@ class cr extends G {
466
518
  if (o)
467
519
  return;
468
520
  const a = () => {
469
- m(), o = !0;
521
+ s(), o = !0;
470
522
  };
471
523
  switch (i.effect) {
472
524
  case "Move":
@@ -533,9 +585,9 @@ class cr extends G {
533
585
  */
534
586
  updateCamera(r) {
535
587
  return y(this, arguments, function* (t, e = {}) {
536
- const { five: i, privateState: s, state: m } = this, n = (() => {
588
+ const { five: i, privateState: m, state: s } = this, n = (() => {
537
589
  var u, d;
538
- const p = (u = m.config) == null ? void 0 : u.speedConfig, f = (d = t.rotateSpeed) != null ? d : p == null ? void 0 : p.rotateSpeed;
590
+ const p = (u = s.config) == null ? void 0 : u.speedConfig, f = (d = t.rotateSpeed) != null ? d : p == null ? void 0 : p.rotateSpeed;
539
591
  if ((p == null ? void 0 : p.rotateSpeedUnit) === void 0)
540
592
  return f;
541
593
  if (f !== void 0)
@@ -549,7 +601,7 @@ class cr extends G {
549
601
  }
550
602
  return 800;
551
603
  })();
552
- s.currentPlayKeyframe && (s.currentPlayKeyframe.originDuration = o);
604
+ m.currentPlayKeyframe && (m.currentPlayKeyframe.originDuration = o);
553
605
  const a = this.getSpeededDuration(o);
554
606
  return new Promise((p) => {
555
607
  T(() => i.updateCamera(t, a)), setTimeout(() => p(), a);
@@ -561,14 +613,14 @@ class cr extends G {
561
613
  */
562
614
  changePano(t, e) {
563
615
  return y(this, null, function* () {
564
- const { five: r, privateState: i, state: s } = this;
616
+ const { five: r, privateState: i, state: m } = this;
565
617
  if (typeof t.panoIndex != "number" || t.panoIndex === r.panoIndex)
566
618
  return;
567
- const m = r.getCurrentState().mode !== "Panorama";
568
- m && (this.privateState.modeChanging = !0);
619
+ const s = r.getCurrentState().mode !== "Panorama";
620
+ s && (this.privateState.modeChanging = !0);
569
621
  const n = (() => {
570
622
  var f, u;
571
- const a = (f = s.config) == null ? void 0 : f.speedConfig, p = (u = t.moveSpeed) != null ? u : a == null ? void 0 : a.moveSpeed;
623
+ const a = (f = m.config) == null ? void 0 : f.speedConfig, p = (u = t.moveSpeed) != null ? u : a == null ? void 0 : a.moveSpeed;
572
624
  if ((a == null ? void 0 : a.moveSpeedUnit) === void 0)
573
625
  return p;
574
626
  if (p !== void 0)
@@ -592,8 +644,8 @@ class cr extends G {
592
644
  effect: (u = (f = e == null ? void 0 : e.moveEffect) != null ? f : (p = this.state.config) == null ? void 0 : p.moveEffect) != null ? u : t.moveEffect,
593
645
  moveCancelCallback: () => a(),
594
646
  moveEndCallback: () => a()
595
- }), m && r.once("panoArrived", () => a());
596
- }), m && (this.privateState.modeChanging = !1);
647
+ }), s && r.once("panoArrived", () => a());
648
+ }), s && (this.privateState.modeChanging = !1);
597
649
  });
598
650
  }
599
651
  /**
@@ -606,5 +658,5 @@ class cr extends G {
606
658
  }
607
659
  }
608
660
  export {
609
- cr as default
661
+ lo as default
610
662
  };
@@ -1,4 +1,4 @@
1
- import { typing as It } from "./typing/index.js";
1
+ import { typing as Gi } from "./typing/index.js";
2
2
  import t from "./Work.js";
3
3
  import i from "./Move.js";
4
4
  import "../GuideLinePlugin/index.js";
@@ -10,15 +10,87 @@ import "three";
10
10
  import "hammerjs";
11
11
  import "three/examples/jsm/renderers/CSS3DRenderer";
12
12
  import "@realsee/five/line";
13
+ import "../Sculpt/utils/Modules/Global.js";
14
+ import "../Sculpt/utils/Modules/Cursor.js";
15
+ import "../Object3DHelperPlugin/Controller.js";
13
16
  import "../shared-utils/three/THREESphere.js";
17
+ import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
18
+ import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
19
+ import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
20
+ import "../shared-utils/three/IObject3D.js";
21
+ import "../shared-utils/three/boundingBox.js";
22
+ import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
23
+ import "../shared-utils/Object3DHelper/utils/direction.js";
24
+ import "../shared-utils/Object3DHelper/Constants/color.js";
25
+ import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
26
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
27
+ import "../shared-utils/positionToVector3.js";
28
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
29
+ import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
30
+ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
31
+ import "../CSS3DRenderPlugin/utils/even.js";
32
+ import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
33
+ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
34
+ import "../shared-utils/three/centerPoint.js";
35
+ import "../shared-utils/three/getObjectVisible.js";
14
36
  import "animejs";
37
+ import "../shared-utils/isNil.js";
38
+ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
15
39
  import "../shared-utils/Utils/FiveUtil.js";
16
40
  import "../shared-utils/Utils/BaseUtil.js";
17
41
  import "../shared-utils/Utils/WorkUtil.js";
18
42
  import "../shared-utils/five/transformPosition.js";
19
43
  import "../shared-utils/five/getFiveModel.js";
20
44
  import "../shared-utils/url/absoluteUrl.js";
21
- import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
45
+ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
46
+ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
47
+ import "../shared-utils/util.js";
48
+ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
49
+ import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
50
+ import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
51
+ import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
52
+ import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
53
+ import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
54
+ import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
55
+ import "../shared-utils/Object3DHelper/Controller/MoveController.js";
56
+ import "../shared-utils/Object3DHelper/Base/BaseController.js";
57
+ import "../shared-utils/threex/domevents/index.js";
58
+ import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
59
+ import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
60
+ import "../Sculpt/utils/three/rayOnLine.js";
61
+ import "../Object3DHelperPlugin/FiveControllerWrapper.js";
62
+ import "../shared-utils/Object3DHelper/index.js";
63
+ import "../shared-utils/Object3DHelper/Controller/RotateController.js";
64
+ import "../shared-utils/math/rad2Deg.js";
65
+ import "../shared-utils/math/deg2Rad.js";
66
+ import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
67
+ import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
68
+ import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
69
+ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
70
+ import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
71
+ import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
72
+ import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
73
+ import "../shared-utils/five/fiveModelLoad.js";
74
+ import "../shared-utils/five/FiveDomEvents.js";
75
+ import "../shared-utils/five/calculateThreeMouse.js";
76
+ import "../shared-utils/three/THREERaycaster.js";
77
+ import "../shared-utils/three/PointSelector/index.js";
78
+ import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
79
+ import "../shared-utils/three/Magnifier.js";
80
+ import "../shared-utils/three/PointSelector/utils/PointHelper.js";
81
+ import "../shared-utils/three/Assets/index.js";
82
+ import "../shared-utils/three/PointSelector/utils/html.js";
83
+ import "../shared-utils/five/initialCSS3DRender.js";
84
+ import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
85
+ import "../Sculpt/Meshes/Line.js";
86
+ import "../Sculpt/typings/style.js";
87
+ import "../shared-utils/five/FiveLine.js";
88
+ import "../shared-utils/tag.js";
89
+ import "../shared-utils/five/vector3ToScreen.js";
90
+ import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
91
+ import "../shared-utils/isTouchDevice.js";
92
+ import "../shared-utils/five/getPosition.js";
93
+ import "../shared-utils/five/getRaycasterByNdcPosition.js";
22
94
  import "../shared-utils/equal.js";
23
95
  import "../shared-utils/isTruelyObject.js";
24
96
  import "../GuideLinePlugin/GuideLineItem/index.js";
@@ -35,14 +107,11 @@ import "../vendor/gl-vec2/dot.js";
35
107
  import "../shared-utils/math/intersecting.js";
36
108
  import "../shared-utils/five/mode.js";
37
109
  import "../shared-utils/three/blink.js";
38
- import "../shared-utils/util.js";
39
- import "../shared-utils/isNil.js";
40
110
  import "../shared-utils/animationFrame/BetterTween.js";
41
111
  import "../shared-utils/animationFrame/index.js";
42
112
  import "../shared-utils/three/loadTexture.js";
43
113
  import "../PanoTagPlugin/controller/index.js";
44
114
  import "../vendor/object-assign-deep/objectAssignDeep.js";
45
- import "../shared-utils/positionToVector3.js";
46
115
  import "../PanoTagPlugin/utils/tag/tagCheck.js";
47
116
  import "../PanoTagPlugin/utils/debounce.js";
48
117
  import "../PanoTagPlugin/utils/throttle.js";
@@ -125,7 +194,6 @@ import "../shared-utils/three/GLTFLoader.js";
125
194
  import "@realsee/five/gltf-loader";
126
195
  import "../PanoTagPlugin/utils/planeNormal.js";
127
196
  import "../PanoTagPlugin/utils/model/mediaPlane.js";
128
- import "../shared-utils/three/centerPoint.js";
129
197
  import "../shared-utils/three/Quadrangle.js";
130
198
  import "../shared-utils/math/pointsIsRectangle.js";
131
199
  import "../shared-utils/three/loadVideoTexture.js";
@@ -155,22 +223,6 @@ import "../PanoTagPlugin/utils/normalPositionToPositions.js";
155
223
  import "../vendor/svelte/store/index.js";
156
224
  import "../CSS3DRenderPlugin/index.js";
157
225
  import "../CSS3DRenderPlugin/Controller.js";
158
- import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
159
- import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
160
- import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
161
- import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
162
- import "../CSS3DRenderPlugin/utils/even.js";
163
- import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
164
- import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
165
- import "../shared-utils/three/getObjectVisible.js";
166
- import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
167
- import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
168
- import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
169
- import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
170
- import "../shared-utils/five/fiveModelLoad.js";
171
- import "../shared-utils/five/FiveDomEvents.js";
172
- import "../shared-utils/five/calculateThreeMouse.js";
173
- import "../shared-utils/three/THREERaycaster.js";
174
226
  import "../PanoTagPlugin/utils/DebugUtil.js";
175
227
  import "../PanoTagPlugin/utils/addDebugPoints.js";
176
228
  import "../PanoTagPlugin/controller/Tag/PointTag.js";
@@ -190,13 +242,13 @@ import "./utils/safeCall.js";
190
242
  import "../shared-utils/five/fiveLoaded.js";
191
243
  import "./BaseController.js";
192
244
  import "./utils/getFiveStateOnCurve.js";
193
- const Et = (o, r) => new t(o, r), Ft = (o, r) => new i(o, r);
245
+ const Bi = (o, r) => new t(o, r), Di = (o, r) => new i(o, r);
194
246
  export {
195
- Et as CruisePlugin,
247
+ Bi as CruisePlugin,
196
248
  t as CruisePluginController,
197
- It as CruisePluginTypes,
249
+ Gi as CruisePluginTypes,
198
250
  i as MoveController,
199
- Ft as MovePlugin,
251
+ Di as MovePlugin,
200
252
  t as WalkController,
201
- Et as default
253
+ Bi as default
202
254
  };