@realsee/dnalogel 3.45.0 → 3.46.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.
Files changed (100) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/Sculpt/Meshes/Line.d.ts +6 -1
  3. package/dist/Sculpt/utils/removeAllTag.d.ts +2 -0
  4. package/dist/index.cjs.js +53 -53
  5. package/dist/index.js +29600 -29557
  6. package/dist/index.umd.js +49 -49
  7. package/dist/shared-utils/tag.d.ts +6 -3
  8. package/libs/AreaMakerPlugin/Controller.js +151 -78
  9. package/libs/AreaMakerPlugin/index.js +77 -4
  10. package/libs/AreaMakerPlugin/utils/Item.js +191 -111
  11. package/libs/CSS3DRenderPlugin/Controller.js +90 -29
  12. package/libs/CSS3DRenderPlugin/index.js +76 -15
  13. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +133 -58
  14. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +182 -116
  15. package/libs/CruisePlugin/BaseController.js +122 -49
  16. package/libs/CruisePlugin/Move.js +74 -21
  17. package/libs/CruisePlugin/Work.js +99 -46
  18. package/libs/CruisePlugin/index.js +80 -27
  19. package/libs/CurrentPanoImagePlugin/Controller.js +177 -104
  20. package/libs/CurrentPanoImagePlugin/index.js +77 -4
  21. package/libs/GuideLinePlugin/Controller.js +79 -26
  22. package/libs/GuideLinePlugin/GuideLineItem.js +83 -30
  23. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
  24. package/libs/GuideLinePlugin/GuideLineModeItem.js +82 -29
  25. package/libs/GuideLinePlugin/index.js +80 -27
  26. package/libs/ModelMakerPlugin/Controller.js +140 -82
  27. package/libs/ModelMakerPlugin/index.js +76 -18
  28. package/libs/ModelTVVideoPlugin/Plugin.js +118 -57
  29. package/libs/ModelTVVideoPlugin/index.js +69 -8
  30. package/libs/Object3DHelperPlugin/Controller.js +67 -43
  31. package/libs/Object3DHelperPlugin/index.js +36 -13
  32. package/libs/PanoCompassPlugin/Controller.js +98 -42
  33. package/libs/PanoCompassPlugin/index.js +72 -16
  34. package/libs/PanoDoorLabelPlugin/BaseController.js +99 -26
  35. package/libs/PanoDoorLabelPlugin/Controller.js +188 -115
  36. package/libs/PanoDoorLabelPlugin/index.js +77 -4
  37. package/libs/PanoMeasurePlugin/Components/Controller0.js +141 -88
  38. package/libs/PanoMeasurePlugin/Components/Controller1.js +179 -126
  39. package/libs/PanoMeasurePlugin/Controller/EditController.js +125 -72
  40. package/libs/PanoMeasurePlugin/Controller/WatchController.js +168 -92
  41. package/libs/PanoMeasurePlugin/Controller/index.js +110 -64
  42. package/libs/PanoMeasurePlugin/Model/area.js +115 -38
  43. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +79 -0
  44. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +98 -45
  45. package/libs/PanoMeasurePlugin/index.js +77 -31
  46. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +99 -20
  47. package/libs/PanoSpatialTagPlugin/Plugin.js +211 -150
  48. package/libs/PanoSpatialTagPlugin/index.js +67 -6
  49. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +149 -68
  50. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +296 -216
  51. package/libs/PanoTagPlugin/Components/Tag/index.js +258 -187
  52. package/libs/PanoTagPlugin/Components/TagContainer.js +158 -87
  53. package/libs/PanoTagPlugin/Components/TagItem.js +145 -74
  54. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +133 -62
  55. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +110 -39
  56. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +106 -35
  57. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +114 -43
  58. package/libs/PanoTagPlugin/controller/TagRender.js +133 -80
  59. package/libs/PanoTagPlugin/controller/TagUtil.js +137 -84
  60. package/libs/PanoTagPlugin/controller/index.js +114 -61
  61. package/libs/PanoTagPlugin/index.js +90 -37
  62. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +122 -41
  63. package/libs/PanoVideoPlugin/Controller.js +138 -65
  64. package/libs/PanoVideoPlugin/VideoMeshController.js +150 -69
  65. package/libs/PanoVideoPlugin/index.js +83 -10
  66. package/libs/PipelinePlugin/Controller.js +200 -128
  67. package/libs/PipelinePlugin/index.js +77 -5
  68. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +103 -22
  69. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +96 -15
  70. package/libs/PipelinePlugin/utils/Objects/Pipe.js +137 -56
  71. package/libs/Sculpt/Meshes/Box.js +6 -5
  72. package/libs/Sculpt/Meshes/Cylinder.js +7 -6
  73. package/libs/Sculpt/Meshes/Line.d.ts +6 -1
  74. package/libs/Sculpt/Meshes/Line.js +80 -57
  75. package/libs/Sculpt/Meshes/Point.js +6 -5
  76. package/libs/Sculpt/Meshes/Polyline.js +5 -4
  77. package/libs/Sculpt/Meshes/Rectangle.js +3 -2
  78. package/libs/Sculpt/Objects/Base/index.js +20 -17
  79. package/libs/Sculpt/Objects/Line/Editor.js +11 -10
  80. package/libs/Sculpt/utils/removeAllTag.d.ts +2 -0
  81. package/libs/Sculpt/utils/removeAllTag.js +10 -0
  82. package/libs/Sculpt/utils/three/ColoredMesh.js +14 -13
  83. package/libs/base/BasePlugin.js +14 -13
  84. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +129 -59
  85. package/libs/floorplan/MapviewFloorplanPlugin/index.js +76 -6
  86. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +130 -59
  87. package/libs/floorplan/ModelFloorplanPlugin/index.js +76 -5
  88. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +159 -86
  89. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +77 -4
  90. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +152 -81
  91. package/libs/floorplan/TopviewFloorplanPlugin/index.js +76 -5
  92. package/libs/floorplan/index.js +1 -0
  93. package/libs/index.js +193 -192
  94. package/libs/shared-utils/five/index.js +3 -2
  95. package/libs/shared-utils/five/lookObject.js +3 -2
  96. package/libs/shared-utils/logger.js +1 -1
  97. package/libs/shared-utils/tag.d.ts +6 -3
  98. package/libs/shared-utils/tag.js +38 -24
  99. package/libs/shared-utils/three/index.js +1 -0
  100. 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,66 @@ 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 "../Sculpt/utils/removeAllTag.js";
252
+ import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
253
+ import "../shared-utils/isTouchDevice.js";
254
+ import "../shared-utils/five/getPosition.js";
255
+ import "../shared-utils/five/getRaycasterByNdcPosition.js";
203
256
  import "../PanoTagPlugin/utils/DebugUtil.js";
204
257
  import "../PanoTagPlugin/utils/addDebugPoints.js";
205
258
  import "../PanoTagPlugin/controller/Tag/PointTag.js";
@@ -218,7 +271,7 @@ import "./utils/getFiveStateOnCurve.js";
218
271
  import "../shared-utils/formatRad.js";
219
272
  import "./Work.js";
220
273
  import "./utils/coordinatesToVector.js";
221
- class cr extends G {
274
+ class co extends G {
222
275
  constructor(t, e) {
223
276
  super(t, e);
224
277
  k(this, "state", {
@@ -252,9 +305,9 @@ class cr extends G {
252
305
  return y(this, null, function* () {
253
306
  var a, p;
254
307
  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;
308
+ const i = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, m = yield this.formatData(t);
309
+ this.data = g({ id: m.keyframesId }, m), this.hooks.emit("dataChange", m, i);
310
+ let s = [], n;
258
311
  const o = this.data.keyframes.filter((f) => f.data.panoIndex !== void 0);
259
312
  o.filter((f, u) => {
260
313
  var d;
@@ -264,14 +317,14 @@ class cr extends G {
264
317
  const u = (d = this.workUtil.getObserver(f)) == null ? void 0 : d.floorIndex;
265
318
  if (u !== void 0)
266
319
  if (n === u) {
267
- const c = m.length - 1;
268
- m[c] = [...(v = m[c]) != null ? v : [], f];
320
+ const c = s.length - 1;
321
+ s[c] = [...(v = s[c]) != null ? v : [], f];
269
322
  } else {
270
323
  n = u;
271
- const c = m.length;
272
- m[c] = [f];
324
+ const c = s.length;
325
+ s[c] = [f];
273
326
  }
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);
327
+ }), !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
328
  });
276
329
  }
277
330
  /**
@@ -304,14 +357,14 @@ class cr extends G {
304
357
  keyframesId: S(),
305
358
  keyframes: e.keyframes.map((r, i) => {
306
359
  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 });
360
+ const m = e.keyframes[i + 1], s = (() => !m || m.start === void 0 || r.end === void 0 ? 0 : m.start - r.end)();
361
+ return x(g({ id: (n = r.uuid) != null ? n : S(), moveIndex: i, stay: s, index: i }, r), { guildPluginOptions: e.guildPluginOptions });
309
362
  })
310
363
  };
311
364
  if (e.panoIndexList) {
312
365
  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) => {
366
+ const { moveEffect: i, moveToFirstPanoEffect: m, moveToFirstPanoDuration: s } = e;
367
+ return this.privateState.moveToFirstPanoEffect = m, this.privateState.moveToFirstPanoDuration = s, e.panoIndexList.forEach((n, o) => {
315
368
  const a = (() => {
316
369
  var v, c;
317
370
  const p = e.panoIndexList.slice(o).find((P) => P !== n);
@@ -347,13 +400,13 @@ class cr extends G {
347
400
  handlePlay(t) {
348
401
  return y(this, null, function* () {
349
402
  var u;
350
- const { data: e, state: r, privateState: i, hooks: s } = this;
403
+ const { data: e, state: r, privateState: i, hooks: m } = this;
351
404
  if (i.playing || !(e != null && e.keyframes) || (e == null ? void 0 : e.keyframes.length) === 0)
352
405
  return;
353
- const m = S();
354
- i.playId = m, i.playing = !0, i.broke = !1;
406
+ const s = S();
407
+ i.playId = s, i.playing = !0, i.broke = !1;
355
408
  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 });
409
+ (t == null ? void 0 : t.notEmitEvent) !== !0 && m.emit("play", { userAction: (u = t == null ? void 0 : t.userAction) != null ? u : !0 });
357
410
  let a = !1;
358
411
  const f = yield (() => y(this, null, function* () {
359
412
  var d, v;
@@ -378,11 +431,11 @@ class cr extends G {
378
431
  }))();
379
432
  this.clearPauseData();
380
433
  for (const d of n) {
381
- if (i.broke || !r.playing || !i.playing || m !== i.playId)
434
+ if (i.broke || !r.playing || !i.playing || s !== i.playId)
382
435
  return;
383
436
  if (!(f !== void 0 && d.index < f))
384
437
  try {
385
- s.emit("playIndexChange", d.index, d), yield this.playKeyframe(d, {
438
+ m.emit("playIndexChange", d.index, d), yield this.playKeyframe(d, {
386
439
  moveEffect: a === !1 ? i.moveToFirstPanoEffect : void 0,
387
440
  duration: a === !1 && typeof i.moveToFirstPanoDuration == "number" ? i.moveToFirstPanoDuration : void 0
388
441
  }), d.stay && (yield O(d.stay)), a === !1 && (a = !0);
@@ -390,25 +443,25 @@ class cr extends G {
390
443
  return console.error(v), Promise.resolve("broke");
391
444
  }
392
445
  }
393
- r.playing && m === i.playId && (this.setState({ playing: !1 }, { userAction: !1 }), s.emit("end"), this.clearPauseData());
446
+ r.playing && s === i.playId && (this.setState({ playing: !1 }, { userAction: !1 }), m.emit("end"), this.clearPauseData());
394
447
  });
395
448
  }
396
449
  /**
397
450
  * @description: Pause and record pause state
398
451
  */
399
452
  handlePause(t) {
400
- var s;
453
+ var m;
401
454
  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 }));
455
+ 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
456
  }
404
457
  /**
405
458
  * @description: Change play speed
406
459
  */
407
460
  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)
461
+ const { state: r, privateState: i, hooks: m } = this, { currentPlayKeyframe: s } = i;
462
+ if (m.emit("speedChange", t, { userAction: e }), r.playing && s)
410
463
  try {
411
- const n = m.originDuration !== void 0 ? m.originDuration * (1 - this.getProgress()) : void 0, o = this.playKeyframe(m.keyframe, { duration: n });
464
+ const n = s.originDuration !== void 0 ? s.originDuration * (1 - this.getProgress()) : void 0, o = this.playKeyframe(s.keyframe, { duration: n });
412
465
  i.currentPlayQueue.push(o);
413
466
  } catch (n) {
414
467
  }
@@ -453,10 +506,10 @@ class cr extends G {
453
506
  */
454
507
  getPlayPromise(r) {
455
508
  return y(this, arguments, function* (t, e = {}) {
456
- var s;
509
+ var m;
457
510
  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) => {
511
+ if (e.duration = (m = e.duration) != null ? m : t.start !== void 0 && t.end !== void 0 ? t.end - t.start : void 0, !!i)
512
+ return new Promise((s, n) => {
460
513
  let o = !1;
461
514
  this.addInterruptListener(() => {
462
515
  if (!o)
@@ -466,7 +519,7 @@ class cr extends G {
466
519
  if (o)
467
520
  return;
468
521
  const a = () => {
469
- m(), o = !0;
522
+ s(), o = !0;
470
523
  };
471
524
  switch (i.effect) {
472
525
  case "Move":
@@ -533,9 +586,9 @@ class cr extends G {
533
586
  */
534
587
  updateCamera(r) {
535
588
  return y(this, arguments, function* (t, e = {}) {
536
- const { five: i, privateState: s, state: m } = this, n = (() => {
589
+ const { five: i, privateState: m, state: s } = this, n = (() => {
537
590
  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;
591
+ const p = (u = s.config) == null ? void 0 : u.speedConfig, f = (d = t.rotateSpeed) != null ? d : p == null ? void 0 : p.rotateSpeed;
539
592
  if ((p == null ? void 0 : p.rotateSpeedUnit) === void 0)
540
593
  return f;
541
594
  if (f !== void 0)
@@ -549,7 +602,7 @@ class cr extends G {
549
602
  }
550
603
  return 800;
551
604
  })();
552
- s.currentPlayKeyframe && (s.currentPlayKeyframe.originDuration = o);
605
+ m.currentPlayKeyframe && (m.currentPlayKeyframe.originDuration = o);
553
606
  const a = this.getSpeededDuration(o);
554
607
  return new Promise((p) => {
555
608
  T(() => i.updateCamera(t, a)), setTimeout(() => p(), a);
@@ -561,14 +614,14 @@ class cr extends G {
561
614
  */
562
615
  changePano(t, e) {
563
616
  return y(this, null, function* () {
564
- const { five: r, privateState: i, state: s } = this;
617
+ const { five: r, privateState: i, state: m } = this;
565
618
  if (typeof t.panoIndex != "number" || t.panoIndex === r.panoIndex)
566
619
  return;
567
- const m = r.getCurrentState().mode !== "Panorama";
568
- m && (this.privateState.modeChanging = !0);
620
+ const s = r.getCurrentState().mode !== "Panorama";
621
+ s && (this.privateState.modeChanging = !0);
569
622
  const n = (() => {
570
623
  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;
624
+ const a = (f = m.config) == null ? void 0 : f.speedConfig, p = (u = t.moveSpeed) != null ? u : a == null ? void 0 : a.moveSpeed;
572
625
  if ((a == null ? void 0 : a.moveSpeedUnit) === void 0)
573
626
  return p;
574
627
  if (p !== void 0)
@@ -592,8 +645,8 @@ class cr extends G {
592
645
  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
646
  moveCancelCallback: () => a(),
594
647
  moveEndCallback: () => a()
595
- }), m && r.once("panoArrived", () => a());
596
- }), m && (this.privateState.modeChanging = !1);
648
+ }), s && r.once("panoArrived", () => a());
649
+ }), s && (this.privateState.modeChanging = !1);
597
650
  });
598
651
  }
599
652
  /**
@@ -606,5 +659,5 @@ class cr extends G {
606
659
  }
607
660
  }
608
661
  export {
609
- cr as default
662
+ co as default
610
663
  };
@@ -1,4 +1,4 @@
1
- import { typing as It } from "./typing/index.js";
1
+ import { typing as Hi } 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,88 @@ 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 "../Sculpt/utils/removeAllTag.js";
91
+ import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
92
+ import "../shared-utils/isTouchDevice.js";
93
+ import "../shared-utils/five/getPosition.js";
94
+ import "../shared-utils/five/getRaycasterByNdcPosition.js";
22
95
  import "../shared-utils/equal.js";
23
96
  import "../shared-utils/isTruelyObject.js";
24
97
  import "../GuideLinePlugin/GuideLineItem/index.js";
@@ -35,14 +108,11 @@ import "../vendor/gl-vec2/dot.js";
35
108
  import "../shared-utils/math/intersecting.js";
36
109
  import "../shared-utils/five/mode.js";
37
110
  import "../shared-utils/three/blink.js";
38
- import "../shared-utils/util.js";
39
- import "../shared-utils/isNil.js";
40
111
  import "../shared-utils/animationFrame/BetterTween.js";
41
112
  import "../shared-utils/animationFrame/index.js";
42
113
  import "../shared-utils/three/loadTexture.js";
43
114
  import "../PanoTagPlugin/controller/index.js";
44
115
  import "../vendor/object-assign-deep/objectAssignDeep.js";
45
- import "../shared-utils/positionToVector3.js";
46
116
  import "../PanoTagPlugin/utils/tag/tagCheck.js";
47
117
  import "../PanoTagPlugin/utils/debounce.js";
48
118
  import "../PanoTagPlugin/utils/throttle.js";
@@ -125,7 +195,6 @@ import "../shared-utils/three/GLTFLoader.js";
125
195
  import "@realsee/five/gltf-loader";
126
196
  import "../PanoTagPlugin/utils/planeNormal.js";
127
197
  import "../PanoTagPlugin/utils/model/mediaPlane.js";
128
- import "../shared-utils/three/centerPoint.js";
129
198
  import "../shared-utils/three/Quadrangle.js";
130
199
  import "../shared-utils/math/pointsIsRectangle.js";
131
200
  import "../shared-utils/three/loadVideoTexture.js";
@@ -155,22 +224,6 @@ import "../PanoTagPlugin/utils/normalPositionToPositions.js";
155
224
  import "../vendor/svelte/store/index.js";
156
225
  import "../CSS3DRenderPlugin/index.js";
157
226
  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
227
  import "../PanoTagPlugin/utils/DebugUtil.js";
175
228
  import "../PanoTagPlugin/utils/addDebugPoints.js";
176
229
  import "../PanoTagPlugin/controller/Tag/PointTag.js";
@@ -190,13 +243,13 @@ import "./utils/safeCall.js";
190
243
  import "../shared-utils/five/fiveLoaded.js";
191
244
  import "./BaseController.js";
192
245
  import "./utils/getFiveStateOnCurve.js";
193
- const Et = (o, r) => new t(o, r), Ft = (o, r) => new i(o, r);
246
+ const Di = (o, r) => new t(o, r), Ei = (o, r) => new i(o, r);
194
247
  export {
195
- Et as CruisePlugin,
248
+ Di as CruisePlugin,
196
249
  t as CruisePluginController,
197
- It as CruisePluginTypes,
250
+ Hi as CruisePluginTypes,
198
251
  i as MoveController,
199
- Ft as MovePlugin,
252
+ Ei as MovePlugin,
200
253
  t as WalkController,
201
- Et as default
254
+ Di as default
202
255
  };