@realsee/dnalogel 3.78.0-alpha.3 → 3.78.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 (148) hide show
  1. package/CHANGELOG.md +40 -10
  2. package/dist/DigitalPerformancePlugin/controller/index.d.ts +224 -0
  3. package/dist/DigitalPerformancePlugin/core/DigitalHuman.d.ts +55 -0
  4. package/dist/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +40 -0
  5. package/dist/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +150 -0
  6. package/dist/DigitalPerformancePlugin/core/Trace.d.ts +9 -0
  7. package/dist/DigitalPerformancePlugin/index.d.ts +11 -0
  8. package/dist/DigitalPerformancePlugin/mock.d.ts +76 -0
  9. package/dist/DigitalPerformancePlugin/typings/index.d.ts +79 -0
  10. package/dist/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -6
  11. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -2
  12. package/dist/PanoTagPlugin/utils/tagPosition.d.ts +2 -1
  13. package/dist/Sculpt/Meshes/Line.d.ts +4 -0
  14. package/dist/Sculpt/Objects/Base/Editor.d.ts +9 -2
  15. package/dist/index.cjs.js +101 -88
  16. package/dist/index.d.ts +1 -0
  17. package/dist/index.js +14196 -12441
  18. package/dist/index.umd.js +83 -70
  19. package/dist/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
  20. package/libs/AreaMakerPlugin/Controller.js +3 -2
  21. package/libs/AreaMakerPlugin/index.js +3 -2
  22. package/libs/AreaMakerPlugin/utils/Item.js +3 -2
  23. package/libs/CSS3DRenderPlugin/Controller.js +3 -2
  24. package/libs/CSS3DRenderPlugin/index.js +6 -5
  25. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +39 -38
  26. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +10 -9
  27. package/libs/CruisePlugin/BaseController.js +5 -4
  28. package/libs/CruisePlugin/Move.js +3 -2
  29. package/libs/CruisePlugin/Work.js +3 -2
  30. package/libs/CruisePlugin/index.js +7 -6
  31. package/libs/CurrentPanoImagePlugin/Controller.js +15 -14
  32. package/libs/CurrentPanoImagePlugin/index.js +4 -3
  33. package/libs/DigitalPerformancePlugin/controller/index.d.ts +2 -2
  34. package/libs/DigitalPerformancePlugin/controller/index.js +164 -173
  35. package/libs/DigitalPerformancePlugin/core/DigitalHuman.d.ts +16 -6
  36. package/libs/DigitalPerformancePlugin/core/DigitalHuman.js +128 -102
  37. package/libs/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +11 -5
  38. package/libs/DigitalPerformancePlugin/core/DigitalPlayground.js +84 -74
  39. package/libs/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +7 -0
  40. package/libs/DigitalPerformancePlugin/mock.d.ts +6 -0
  41. package/libs/DigitalPerformancePlugin/mock.js +272 -274
  42. package/libs/GuideLinePlugin/Controller.js +7 -6
  43. package/libs/GuideLinePlugin/GuideLineItem.js +5 -4
  44. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +51 -48
  45. package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -2
  46. package/libs/GuideLinePlugin/index.js +7 -6
  47. package/libs/MeasurePlugin/Controller.js +11 -10
  48. package/libs/MeasurePlugin/index.js +5 -4
  49. package/libs/MeasurePlugin/utils/MeasureMesh.js +3 -2
  50. package/libs/ModelChassisCompassPlugin/Plugin.js +4 -3
  51. package/libs/ModelChassisCompassPlugin/index.js +1 -0
  52. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -5
  53. package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
  54. package/libs/ModelMakerPlugin/Controller.js +3 -2
  55. package/libs/ModelMakerPlugin/index.js +3 -2
  56. package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
  57. package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
  58. package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
  59. package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
  60. package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
  61. package/libs/ModelTVVideoPlugin/index.js +3 -2
  62. package/libs/ModelViewPlugin/Plugin.js +20 -19
  63. package/libs/ModelViewPlugin/index.js +1 -0
  64. package/libs/Object3DHelperPlugin/Controller.js +3 -2
  65. package/libs/Object3DHelperPlugin/index.js +6 -5
  66. package/libs/PanoCompassPlugin/Controller.js +3 -2
  67. package/libs/PanoCompassPlugin/index.js +4 -3
  68. package/libs/PanoDoorLabelPlugin/Controller.js +24 -23
  69. package/libs/PanoDoorLabelPlugin/index.js +4 -3
  70. package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
  71. package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
  72. package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
  73. package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
  74. package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
  75. package/libs/PanoMeasurePlugin/Model/area.js +3 -2
  76. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
  77. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -15
  78. package/libs/PanoMeasurePlugin/index.js +14 -13
  79. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
  80. package/libs/PanoRulerProPlugin/Controller.js +3 -2
  81. package/libs/PanoRulerProPlugin/RulerItems.js +42 -41
  82. package/libs/PanoRulerProPlugin/index.js +4 -3
  83. package/libs/PanoSpatialTagPlugin/Plugin.js +34 -33
  84. package/libs/PanoSpatialTagPlugin/index.js +1 -0
  85. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +141 -138
  86. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -2
  87. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -2
  88. package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -2
  89. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
  90. package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
  91. package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
  92. package/libs/PanoTagPlugin/Components/TagItem.js +131 -122
  93. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +50 -49
  94. package/libs/PanoTagPlugin/controller/Tag/BoxTag.js +69 -65
  95. package/libs/PanoTagPlugin/controller/Tag/MaskTag.js +1 -0
  96. package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -6
  97. package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.js +2 -90
  98. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
  99. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
  100. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
  101. package/libs/PanoTagPlugin/controller/Tag/PolygonTag.js +31 -29
  102. package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
  103. package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
  104. package/libs/PanoTagPlugin/controller/index.js +30 -29
  105. package/libs/PanoTagPlugin/index.js +12 -11
  106. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -2
  107. package/libs/PanoTagPlugin/utils/index.js +31 -30
  108. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
  109. package/libs/PanoTagPlugin/utils/tag/format.js +3 -2
  110. package/libs/PanoTagPlugin/utils/tagPosition.d.ts +2 -1
  111. package/libs/PanoTagPlugin/utils/tagPosition.js +34 -32
  112. package/libs/PanoVideoPlugin/Controller.js +9 -8
  113. package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
  114. package/libs/PanoVideoPlugin/index.js +6 -5
  115. package/libs/PipelinePlugin/Controller.js +3 -2
  116. package/libs/PipelinePlugin/index.js +4 -3
  117. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
  118. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
  119. package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -0
  120. package/libs/Sculpt/Meshes/Line.d.ts +4 -0
  121. package/libs/Sculpt/Meshes/Line.js +85 -76
  122. package/libs/Sculpt/Meshes/Point.js +28 -28
  123. package/libs/Sculpt/Meshes/Polygon.js +43 -43
  124. package/libs/Sculpt/Objects/Base/Editor.d.ts +9 -2
  125. package/libs/Sculpt/Objects/Base/Editor.js +72 -63
  126. package/libs/Sculpt/index.js +1 -1
  127. package/libs/Sculpt/utils/Modules/Cursor.js +7 -7
  128. package/libs/base/BasePlugin.js +5 -5
  129. package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -2
  130. package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -3
  131. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
  132. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
  133. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
  134. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
  135. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
  136. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
  137. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
  138. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
  139. package/libs/index.d.ts +1 -0
  140. package/libs/index.js +162 -150
  141. package/libs/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
  142. package/libs/shared-utils/five/getFiveFromParentChain.js +20 -0
  143. package/libs/shared-utils/logger.js +1 -1
  144. package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +1 -0
  145. package/libs/shared-utils/url/replace-static-prefix.js +12 -7
  146. package/package.json +3 -3
  147. package/libs/PanoTagPlugin/controller/Tag/MaskTag1.d.ts +0 -202
  148. package/libs/PanoTagPlugin/controller/Tag/MaskTag1.js +0 -617
@@ -1,36 +1,37 @@
1
- import { addDebugPoints as a } from "./addDebugPoints.js";
2
- import { noTypecheck as n } from "./noTypecheck.js";
3
- import { planeNormal as x } from "./planeNormal.js";
4
- import { applyMatrixToPoints as g, getBoxCorners as l, getTagCenterPosition as u, getTagPosition as T } from "./tagPosition.js";
5
- import { checkRange as d } from "./checkRange.js";
6
- import { normalPositionToPositions as h } from "./normalPositionToPositions.js";
7
- import { debounce as V, debounceByKey as y } from "./debounce.js";
8
- import { throttle as k } from "./throttle.js";
9
- import { binarySearchFirstBig as F, searchFirstValueSmallThanLastValue as I } from "./search.js";
10
- import { formatVideo as Y, getVideoThumbnail as D, getVimeoId as K, getYouTubeId as L, isVimeo as M, isYouTube as N } from "./videoHelper.js";
1
+ import { addDebugPoints as p } from "./addDebugPoints.js";
2
+ import { noTypecheck as s } from "./noTypecheck.js";
3
+ import { planeNormal as f } from "./planeNormal.js";
4
+ import { applyMatrixToPoints as l, getBoxCorners as u, getTagCenterPosition as T, getTagPosition as c } from "./tagPosition.js";
5
+ import { checkRange as b } from "./checkRange.js";
6
+ import { normalPositionToPositions as P } from "./normalPositionToPositions.js";
7
+ import { debounce as y, debounceByKey as B } from "./debounce.js";
8
+ import { throttle as C } from "./throttle.js";
9
+ import { binarySearchFirstBig as I, searchFirstValueSmallThanLastValue as S } from "./search.js";
10
+ import { formatVideo as D, getVideoThumbnail as K, getVimeoId as L, getYouTubeId as M, isVimeo as N, isYouTube as R } from "./videoHelper.js";
11
11
  import "three";
12
12
  import "../../shared-utils/positionToVector3.js";
13
13
  import "../../shared-utils/three/centerPoint.js";
14
14
  import "./tag/tagCheck.js";
15
+ import "../../shared-utils/five/transformPosition.js";
15
16
  export {
16
- a as addDebugPoints,
17
- g as applyMatrixToPoints,
18
- F as binarySearchFirstBig,
19
- d as checkRange,
20
- V as debounce,
21
- y as debounceByKey,
22
- Y as formatVideo,
23
- l as getBoxCorners,
24
- u as getTagCenterPosition,
25
- T as getTagPosition,
26
- D as getVideoThumbnail,
27
- K as getVimeoId,
28
- L as getYouTubeId,
29
- M as isVimeo,
30
- N as isYouTube,
31
- n as noTypecheck,
32
- h as normalPositionToPositions,
33
- x as planeNormal,
34
- I as searchFirstValueSmallThanLastValue,
35
- k as throttle
17
+ p as addDebugPoints,
18
+ l as applyMatrixToPoints,
19
+ I as binarySearchFirstBig,
20
+ b as checkRange,
21
+ y as debounce,
22
+ B as debounceByKey,
23
+ D as formatVideo,
24
+ u as getBoxCorners,
25
+ T as getTagCenterPosition,
26
+ c as getTagPosition,
27
+ K as getVideoThumbnail,
28
+ L as getVimeoId,
29
+ M as getYouTubeId,
30
+ N as isVimeo,
31
+ R as isYouTube,
32
+ s as noTypecheck,
33
+ P as normalPositionToPositions,
34
+ f as planeNormal,
35
+ S as searchFirstValueSmallThanLastValue,
36
+ C as throttle
36
37
  };
@@ -65,6 +65,7 @@ import "../../../shared-utils/three/IObject3D.js";
65
65
  import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
66
66
  import "../../../shared-utils/three/applyObjectMatrixWorld.js";
67
67
  import "../../../shared-utils/util.js";
68
+ import "../../../shared-utils/five/getFiveFromParentChain.js";
68
69
  import "../../../shared-utils/three/core/LineGeometry.js";
69
70
  import "../../../shared-utils/three/core/LineMaterial.js";
70
71
  import "../../../shared-utils/three/core/Line2.js";
@@ -81,7 +82,7 @@ import "../../../vendor/animejs/lib/anime.es.js";
81
82
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
82
83
  import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
83
84
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
84
- function di(o, i, t) {
85
+ function yi(o, i, t) {
85
86
  var v, b, j, C, A;
86
87
  const D = (v = t == null ? void 0 : t.useCache) != null ? v : !0;
87
88
  if (!o)
@@ -127,5 +128,5 @@ function di(o, i, t) {
127
128
  return P(T), Object.values(f).forEach((e) => P(e)), T._isMerged = !0, T;
128
129
  }
129
130
  export {
130
- di as calculateTagConfig
131
+ yi as calculateTagConfig
131
132
  };
@@ -48,6 +48,7 @@ import "../../../shared-utils/three/IObject3D.js";
48
48
  import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
49
49
  import "../../../shared-utils/three/applyObjectMatrixWorld.js";
50
50
  import "../../../shared-utils/util.js";
51
+ import "../../../shared-utils/five/getFiveFromParentChain.js";
51
52
  import "../../../shared-utils/three/core/LineGeometry.js";
52
53
  import "../../../shared-utils/three/core/LineMaterial.js";
53
54
  import "../../../shared-utils/three/core/Line2.js";
@@ -68,7 +69,7 @@ import "@realsee/five";
68
69
  function n(i) {
69
70
  return i.stickType ? i.stickType : i.pointType === "PointTag" && i.dimensionType === "3D" ? "3DPoint" : i.pointType === "PlaneTag" ? "Plane" : "2DPoint";
70
71
  }
71
- function Li(i) {
72
+ function _i(i) {
72
73
  var r, o, p, m;
73
74
  if (i.stickType || (i.stickType = n(i)), i.contentType === "VRLink" || i.contentType === "PanoLink" || i.contentType === "Link") {
74
75
  const t = i;
@@ -82,6 +83,6 @@ function Li(i) {
82
83
  }), i;
83
84
  }
84
85
  export {
85
- Li as default,
86
+ _i as default,
86
87
  n as getTagStickType
87
88
  };
@@ -1,9 +1,10 @@
1
1
  import type { Vector3 } from 'three';
2
+ import { Matrix4 } from 'three';
2
3
  import type { TagInstance, BoxPosition } from '../typings';
3
4
  /**
4
5
  * 计算 BoxPosition 的8个角点
5
6
  */
6
- export declare function getBoxCorners(boxPosition: BoxPosition): Vector3[];
7
+ export declare function getBoxCorners(boxPosition: BoxPosition, transform: Matrix4): Vector3[];
7
8
  /**
8
9
  * 应用 matrix 变换到点数组
9
10
  */
@@ -1,9 +1,10 @@
1
- import { Euler as y, Vector3 as t, Matrix4 as a } from "three";
2
- import { centerPoint as w } from "../../shared-utils/three/centerPoint.js";
3
- import { is3DBoxTag as x, isPolygonTag as M, isMediaModelTag as d, isMaskTag as T } from "./tag/tagCheck.js";
4
- import { anyPositionToVector3 as e, vector3Position as P } from "../../shared-utils/positionToVector3.js";
5
- function z(o) {
6
- const n = e(o.start), r = e(o.end), i = new y().fromArray(o.rotation), c = new t((n.x + r.x) / 2, (n.y + r.y) / 2, (n.z + r.z) / 2), p = new t(Math.abs(r.x - n.x) / 2, Math.abs(r.y - n.y) / 2, Math.abs(r.z - n.z) / 2), m = new a().makeRotationFromEuler(i), u = [
1
+ import { Euler as y, Vector3 as t, Matrix4 as p } from "three";
2
+ import { centerPoint as x } from "../../shared-utils/three/centerPoint.js";
3
+ import { is3DBoxTag as M, isPolygonTag as d, isMediaModelTag as P, isMaskTag as T } from "./tag/tagCheck.js";
4
+ import { anyPositionToVector3 as a, vector3Position as z } from "../../shared-utils/positionToVector3.js";
5
+ import { transformPosition as A } from "../../shared-utils/five/transformPosition.js";
6
+ function h(o, i) {
7
+ const n = a(o.start), r = a(o.end), e = new y().fromArray(o.rotation), s = A(new t((n.x + r.x) / 2, (n.y + r.y) / 2, (n.z + r.z) / 2), i), m = new t(Math.abs(r.x - n.x) / 2, Math.abs(r.y - n.y) / 2, Math.abs(r.z - n.z) / 2), u = new p().makeRotationFromEuler(e), f = [
7
8
  // 底面4个点 (y = -0.5)
8
9
  new t(-0.5, -0.5, -0.5),
9
10
  new t(0.5, -0.5, -0.5),
@@ -14,40 +15,41 @@ function z(o) {
14
15
  new t(0.5, 0.5, -0.5),
15
16
  new t(0.5, 0.5, 0.5),
16
17
  new t(-0.5, 0.5, 0.5)
17
- ], f = p.clone().multiplyScalar(2);
18
- return u.map((l) => l.clone().multiply(f).applyMatrix4(m).add(c));
18
+ ], l = m.clone().multiplyScalar(2);
19
+ return f.map((w) => w.clone().multiply(l).applyMatrix4(u).add(s));
19
20
  }
20
- function s(o, n) {
21
- if (!n)
21
+ function c(o, i) {
22
+ if (!i)
22
23
  return o;
23
- const r = new a().fromArray(n);
24
- return o.map((i) => i.clone().applyMatrix4(r));
24
+ const n = new p().fromArray(i);
25
+ return o.map((r) => r.clone().applyMatrix4(n));
25
26
  }
26
- function A(o) {
27
- const n = (() => {
28
- if (x(o) && o.position) {
29
- const r = z(o.position);
30
- return s(r, o.matrix);
31
- }
27
+ function k(o) {
28
+ const i = (() => {
29
+ var n, r;
32
30
  if (M(o) && o.position) {
33
- const r = o.position.map((i) => e(i));
34
- return s(r, o.matrix);
31
+ const e = h(o.position, (r = (n = o.plugin) == null ? void 0 : n.workUtil) == null ? void 0 : r.transform);
32
+ return c(e, o.matrix);
33
+ }
34
+ if (d(o) && o.position) {
35
+ const e = o.position.map((s) => a(s));
36
+ return c(e, o.matrix);
35
37
  }
36
- if (d(o) && o.matrix) {
37
- const r = o.data.mediaPosition.map((i) => e(i));
38
- return s(r, o.matrix);
38
+ if (P(o) && o.matrix) {
39
+ const e = o.data.mediaPosition.map((s) => a(s));
40
+ return c(e, o.matrix);
39
41
  }
40
- return T(o) ? o.position && Array.isArray(o.position) ? e(o.position) : (console.warn("[getTagPosition] Mask tag without position, tag id:", o.id), new t(0, 0, 0)) : o.position;
42
+ return T(o) ? o.position && Array.isArray(o.position) ? a(o.position) : (console.warn("[getTagPosition] Mask tag without position, tag id:", o.id), new t(0, 0, 0)) : o.position;
41
43
  })();
42
- return P(n);
44
+ return z(i);
43
45
  }
44
- function S(o) {
45
- const n = A(o);
46
- return w(...Array.isArray(n) ? n : [n]);
46
+ function v(o) {
47
+ const i = k(o);
48
+ return x(...Array.isArray(i) ? i : [i]);
47
49
  }
48
50
  export {
49
- s as applyMatrixToPoints,
50
- z as getBoxCorners,
51
- S as getTagCenterPosition,
52
- A as getTagPosition
51
+ c as applyMatrixToPoints,
52
+ h as getBoxCorners,
53
+ v as getTagCenterPosition,
54
+ k as getTagPosition
53
55
  };
@@ -1,17 +1,17 @@
1
1
  var u = Object.defineProperty, g = Object.defineProperties;
2
2
  var b = Object.getOwnPropertyDescriptors;
3
- var h = Object.getOwnPropertySymbols;
3
+ var m = Object.getOwnPropertySymbols;
4
4
  var M = Object.prototype.hasOwnProperty, W = Object.prototype.propertyIsEnumerable;
5
5
  var l = (e, i, r) => i in e ? u(e, i, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[i] = r, p = (e, i) => {
6
6
  for (var r in i || (i = {}))
7
7
  M.call(i, r) && l(e, r, i[r]);
8
- if (h)
9
- for (var r of h(i))
8
+ if (m)
9
+ for (var r of m(i))
10
10
  W.call(i, r) && l(e, r, i[r]);
11
11
  return e;
12
12
  }, a = (e, i) => g(e, b(i));
13
13
  var s = (e, i, r) => (l(e, typeof i != "symbol" ? i + "" : i, r), r);
14
- import { VideoMeshController as m } from "./VideoMeshController.js";
14
+ import { VideoMeshController as h } from "./VideoMeshController.js";
15
15
  import { Controller as _ } from "../base/BasePlugin.js";
16
16
  import "./utils/shader.js";
17
17
  import "../shared-utils/tag.js";
@@ -65,6 +65,7 @@ import "../Sculpt/typings/style.js";
65
65
  import "../shared-utils/three/IObject3D.js";
66
66
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
67
67
  import "../shared-utils/three/applyObjectMatrixWorld.js";
68
+ import "../shared-utils/five/getFiveFromParentChain.js";
68
69
  import "../shared-utils/three/core/LineGeometry.js";
69
70
  import "../shared-utils/three/core/LineMaterial.js";
70
71
  import "../shared-utils/three/core/Line2.js";
@@ -83,7 +84,7 @@ import "../Sculpt/utils/three/rayOnLine.js";
83
84
  import "../shared-utils/animationFrame/index.js";
84
85
  import "./utils/index.js";
85
86
  import "../shared-utils/url/defaultUrls.js";
86
- class qr extends _ {
87
+ class zr extends _ {
87
88
  constructor(r) {
88
89
  super(r);
89
90
  s(this, "controllerMap", /* @__PURE__ */ new Map());
@@ -111,7 +112,7 @@ class qr extends _ {
111
112
  n.video_list.forEach((d) => {
112
113
  this.controllerMap.set(
113
114
  d.render_id,
114
- new m(this.five, a(p({}, d), {
115
+ new h(this.five, a(p({}, d), {
115
116
  fiveUtil: this.fiveUtil,
116
117
  panoIndex: c,
117
118
  renderID: f,
@@ -190,7 +191,7 @@ class qr extends _ {
190
191
  const n = o.render_id;
191
192
  this.controllerMap.set(
192
193
  o.render_id,
193
- new m(this.five, a(p({}, o), {
194
+ new h(this.five, a(p({}, o), {
194
195
  fiveUtil: this.fiveUtil,
195
196
  panoIndex: r,
196
197
  renderID: n,
@@ -228,5 +229,5 @@ class qr extends _ {
228
229
  }
229
230
  }
230
231
  export {
231
- qr as PanoVideoPluginController
232
+ zr as PanoVideoPluginController
232
233
  };
@@ -54,6 +54,7 @@ import "../shared-utils/three/IObject3D.js";
54
54
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
55
55
  import "../shared-utils/three/applyObjectMatrixWorld.js";
56
56
  import "../shared-utils/util.js";
57
+ import "../shared-utils/five/getFiveFromParentChain.js";
57
58
  import "../shared-utils/three/core/LineGeometry.js";
58
59
  import "../shared-utils/three/core/LineMaterial.js";
59
60
  import "../shared-utils/three/core/Line2.js";
@@ -70,7 +71,7 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
70
71
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
71
72
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
72
73
  import "@realsee/five";
73
- class Qi {
74
+ class $i {
74
75
  /** 初始化视频、模型以及相关事件监听。 */
75
76
  constructor(i, e) {
76
77
  t(this, "video");
@@ -345,5 +346,5 @@ class Qi {
345
346
  }
346
347
  }
347
348
  export {
348
- Qi as VideoMeshController
349
+ $i as VideoMeshController
349
350
  };
@@ -1,5 +1,5 @@
1
1
  import { PanoVideoPluginController as r } from "./Controller.js";
2
- import { typings as jo } from "./typings/index.js";
2
+ import { typings as ko } from "./typings/index.js";
3
3
  import "./VideoMeshController.js";
4
4
  import "./utils/shader.js";
5
5
  import "../shared-utils/tag.js";
@@ -53,6 +53,7 @@ import "../Sculpt/typings/style.js";
53
53
  import "../shared-utils/three/IObject3D.js";
54
54
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
55
55
  import "../shared-utils/three/applyObjectMatrixWorld.js";
56
+ import "../shared-utils/five/getFiveFromParentChain.js";
56
57
  import "../shared-utils/three/core/LineGeometry.js";
57
58
  import "../shared-utils/three/core/LineMaterial.js";
58
59
  import "../shared-utils/three/core/Line2.js";
@@ -72,9 +73,9 @@ import "../shared-utils/animationFrame/index.js";
72
73
  import "./utils/index.js";
73
74
  import "../base/BasePlugin.js";
74
75
  import "../shared-utils/url/defaultUrls.js";
75
- const To = (o) => new r(o);
76
+ const bo = (o) => new r(o);
76
77
  export {
77
- To as PanoVideoPlugin,
78
- jo as PanoVideoPluginType,
79
- To as default
78
+ bo as PanoVideoPlugin,
79
+ ko as PanoVideoPluginType,
80
+ bo as default
80
81
  };
@@ -82,6 +82,7 @@ import "../shared-utils/three/IObject3D.js";
82
82
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
83
83
  import "../shared-utils/three/applyObjectMatrixWorld.js";
84
84
  import "../shared-utils/util.js";
85
+ import "../shared-utils/five/getFiveFromParentChain.js";
85
86
  import "../shared-utils/three/core/LineGeometry.js";
86
87
  import "../shared-utils/three/core/LineMaterial.js";
87
88
  import "../shared-utils/three/core/Line2.js";
@@ -107,7 +108,7 @@ import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
107
108
  import "../shared-utils/three/Extras/Core/Interpolations.js";
108
109
  import "../shared-utils/three/Extras/Core/Interpolations2.js";
109
110
  const g = { flowSpeed: 0.6, rotateSpeed: 0 };
110
- class re extends S {
111
+ class ae extends S {
111
112
  constructor(t) {
112
113
  super(t);
113
114
  // ==================== public properties ====================
@@ -387,5 +388,5 @@ class re extends S {
387
388
  }
388
389
  }
389
390
  export {
390
- re as Controller
391
+ ae as Controller
391
392
  };
@@ -52,6 +52,7 @@ import "../Sculpt/typings/style.js";
52
52
  import "../shared-utils/three/IObject3D.js";
53
53
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
54
54
  import "../shared-utils/three/applyObjectMatrixWorld.js";
55
+ import "../shared-utils/five/getFiveFromParentChain.js";
55
56
  import "../shared-utils/three/core/LineGeometry.js";
56
57
  import "../shared-utils/three/core/LineMaterial.js";
57
58
  import "../shared-utils/three/core/Line2.js";
@@ -79,8 +80,8 @@ import "../shared-utils/animationFrame/BetterTween.js";
79
80
  import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
80
81
  import "../shared-utils/three/Extras/Core/Interpolations.js";
81
82
  import "../shared-utils/three/Extras/Core/Interpolations2.js";
82
- const Br = (r) => new o(r);
83
+ const Dr = (r) => new o(r);
83
84
  export {
84
- Br as PipelinePlugin,
85
- Br as default
85
+ Dr as PipelinePlugin,
86
+ Dr as default
86
87
  };
@@ -52,6 +52,7 @@ import "../../../shared-utils/three/IObject3D.js";
52
52
  import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
53
53
  import "../../../shared-utils/three/applyObjectMatrixWorld.js";
54
54
  import "../../../shared-utils/util.js";
55
+ import "../../../shared-utils/five/getFiveFromParentChain.js";
55
56
  import "../../../shared-utils/three/core/LineGeometry.js";
56
57
  import "../../../shared-utils/three/core/LineMaterial.js";
57
58
  import "../../../shared-utils/three/core/Line2.js";
@@ -92,7 +93,7 @@ const d = (
92
93
  }
93
94
  `
94
95
  );
95
- class jt extends h {
96
+ class kt extends h {
96
97
  constructor(t) {
97
98
  super(t, d);
98
99
  /** 初始状态下,当前水管内的水流在整体管道上的位移
@@ -150,5 +151,5 @@ class jt extends h {
150
151
  }
151
152
  }
152
153
  export {
153
- jt as ObjectFlowPipe
154
+ kt as ObjectFlowPipe
154
155
  };
@@ -52,6 +52,7 @@ import "../../../shared-utils/three/IObject3D.js";
52
52
  import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
53
53
  import "../../../shared-utils/three/applyObjectMatrixWorld.js";
54
54
  import "../../../shared-utils/util.js";
55
+ import "../../../shared-utils/five/getFiveFromParentChain.js";
55
56
  import "../../../shared-utils/three/core/LineGeometry.js";
56
57
  import "../../../shared-utils/three/core/LineMaterial.js";
57
58
  import "../../../shared-utils/three/core/Line2.js";
@@ -73,7 +74,7 @@ import "../../../shared-utils/animationFrame/index.js";
73
74
  import "../../../shared-utils/three/Extras/Curves/BezierCurve3.js";
74
75
  import "../../../shared-utils/three/Extras/Core/Interpolations.js";
75
76
  import "../../../shared-utils/three/Extras/Core/Interpolations2.js";
76
- class Ri extends a {
77
+ class ki extends a {
77
78
  constructor(i) {
78
79
  super(i);
79
80
  p(this, "imageCount", 64);
@@ -96,5 +97,5 @@ class Ri extends a {
96
97
  }
97
98
  }
98
99
  export {
99
- Ri as ObjectHighlightPipe
100
+ ki as ObjectHighlightPipe
100
101
  };
@@ -77,6 +77,7 @@ import "../../../shared-utils/three/IObject3D.js";
77
77
  import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
78
78
  import "../../../shared-utils/three/applyObjectMatrixWorld.js";
79
79
  import "../../../shared-utils/util.js";
80
+ import "../../../shared-utils/five/getFiveFromParentChain.js";
80
81
  import "../../../shared-utils/three/core/LineGeometry.js";
81
82
  import "../../../shared-utils/three/core/LineMaterial.js";
82
83
  import "../../../shared-utils/three/core/Line2.js";
@@ -36,6 +36,10 @@ export declare class LineMesh extends IObject3D implements RenderDomObjectType {
36
36
  private paramsStyle;
37
37
  private lastRenderDomItem;
38
38
  private lastFOV;
39
+ private fiveListenersInited;
40
+ private fiveRef?;
41
+ private initFiveListeners;
42
+ private removeFiveListeners;
39
43
  constructor(params?: Partial<LineMeshStyle & LineData>);
40
44
  updateMatrixWorld(force?: boolean): void;
41
45
  setPoints(points: AnyPositions): void;