@realsee/dnalogel 3.48.7 → 3.49.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 (140) hide show
  1. package/CHANGELOG.md +12 -3
  2. package/dist/Sculpt/Meshes/Line.d.ts +2 -1
  3. package/dist/Sculpt/Meshes/Prism.d.ts +1 -0
  4. package/dist/index.cjs.js +3008 -87
  5. package/dist/index.js +39484 -20079
  6. package/dist/index.umd.js +3001 -80
  7. package/dist/shared-utils/Object3DHelper/Controller/RotateController.d.ts +0 -1
  8. package/dist/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +1 -1
  9. package/dist/shared-utils/three/PointSelector/index.d.ts +2 -1
  10. package/dist/shared-utils/three/generatePolygonGeometry.d.ts +1 -1
  11. package/dist/shared-utils/three/index.d.ts +1 -1
  12. package/libs/AreaMakerPlugin/Controller.js +7 -4
  13. package/libs/AreaMakerPlugin/index.js +7 -4
  14. package/libs/AreaMakerPlugin/utils/Item.js +7 -4
  15. package/libs/CSS3DRenderPlugin/Controller.js +12 -9
  16. package/libs/CSS3DRenderPlugin/index.js +9 -6
  17. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +21 -18
  18. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +6 -3
  19. package/libs/CruisePlugin/BaseController.js +12 -9
  20. package/libs/CruisePlugin/Move.js +7 -4
  21. package/libs/CruisePlugin/Work.js +7 -4
  22. package/libs/CruisePlugin/index.js +11 -8
  23. package/libs/CurrentPanoImagePlugin/Controller.js +6 -3
  24. package/libs/CurrentPanoImagePlugin/index.js +7 -4
  25. package/libs/GuideLinePlugin/Controller.js +9 -6
  26. package/libs/GuideLinePlugin/GuideLineItem.js +7 -4
  27. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +4 -3
  28. package/libs/GuideLinePlugin/GuideLineModeItem.js +7 -4
  29. package/libs/GuideLinePlugin/index.js +11 -8
  30. package/libs/ModelMakerPlugin/Controller.js +7 -4
  31. package/libs/ModelMakerPlugin/index.js +7 -4
  32. package/libs/ModelMakerPlugin/item/baseItem.js +2 -2
  33. package/libs/ModelMakerPlugin/item/boxItem.js +2 -2
  34. package/libs/ModelMakerPlugin/item/polygonItem.js +2 -2
  35. package/libs/ModelMakerPlugin/item/prismItem.js +2 -2
  36. package/libs/ModelMakerPlugin/utils/getFiveDomEvent.js +1 -1
  37. package/libs/ModelTVVideoPlugin/Plugin.js +7 -4
  38. package/libs/ModelTVVideoPlugin/index.js +6 -3
  39. package/libs/Object3DHelperPlugin/Controller.js +6 -3
  40. package/libs/Object3DHelperPlugin/index.js +9 -6
  41. package/libs/PanoCompassPlugin/Controller.js +6 -3
  42. package/libs/PanoCompassPlugin/index.js +7 -4
  43. package/libs/PanoDoorLabelPlugin/BaseController.js +16 -13
  44. package/libs/PanoDoorLabelPlugin/Controller.js +58 -55
  45. package/libs/PanoDoorLabelPlugin/index.js +7 -4
  46. package/libs/PanoMeasurePlugin/Components/Controller0.js +6 -3
  47. package/libs/PanoMeasurePlugin/Components/Controller1.js +6 -3
  48. package/libs/PanoMeasurePlugin/Controller/EditController.js +6 -3
  49. package/libs/PanoMeasurePlugin/Controller/WatchController.js +6 -3
  50. package/libs/PanoMeasurePlugin/Controller/index.js +6 -3
  51. package/libs/PanoMeasurePlugin/Model/area.js +6 -3
  52. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +4 -1
  53. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +6 -3
  54. package/libs/PanoMeasurePlugin/index.js +17 -14
  55. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +16 -13
  56. package/libs/PanoSpatialTagPlugin/Plugin.js +7 -4
  57. package/libs/PanoSpatialTagPlugin/index.js +4 -1
  58. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +24 -21
  59. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +6 -3
  60. package/libs/PanoTagPlugin/Components/Tag/index.js +6 -3
  61. package/libs/PanoTagPlugin/Components/TagContainer.js +6 -3
  62. package/libs/PanoTagPlugin/Components/TagItem.js +6 -3
  63. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +11 -5
  64. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +14 -11
  65. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +12 -9
  66. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +10 -7
  67. package/libs/PanoTagPlugin/controller/TagRender.js +7 -4
  68. package/libs/PanoTagPlugin/controller/TagUtil.js +7 -4
  69. package/libs/PanoTagPlugin/controller/index.js +10 -7
  70. package/libs/PanoTagPlugin/index.js +16 -13
  71. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +25 -22
  72. package/libs/PanoVideoPlugin/Controller.js +9 -6
  73. package/libs/PanoVideoPlugin/VideoMeshController.js +6 -3
  74. package/libs/PanoVideoPlugin/index.js +9 -6
  75. package/libs/PipelinePlugin/Controller.js +13 -10
  76. package/libs/PipelinePlugin/index.js +7 -4
  77. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +6 -3
  78. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +16 -13
  79. package/libs/PipelinePlugin/utils/Objects/Pipe.js +20 -17
  80. package/libs/Sculpt/Meshes/Box.js +7 -6
  81. package/libs/Sculpt/Meshes/Cylinder.js +4 -3
  82. package/libs/Sculpt/Meshes/Line.d.ts +2 -1
  83. package/libs/Sculpt/Meshes/Line.js +11 -10
  84. package/libs/Sculpt/Meshes/LineWithDots.js +1 -1
  85. package/libs/Sculpt/Meshes/Point.js +11 -10
  86. package/libs/Sculpt/Meshes/PolygonWithEdge.js +1 -1
  87. package/libs/Sculpt/Meshes/Polyline.js +31 -31
  88. package/libs/Sculpt/Meshes/Prism.d.ts +1 -0
  89. package/libs/Sculpt/Meshes/Prism.js +48 -38
  90. package/libs/Sculpt/Meshes/Rectangle.js +5 -4
  91. package/libs/Sculpt/Objects/Line/Editor.js +4 -3
  92. package/libs/Sculpt/index.js +4 -3
  93. package/libs/Sculpt/utils/Modules/Global.js +1 -1
  94. package/libs/Sculpt/utils/three/ColoredMesh.js +5 -4
  95. package/libs/base/BasePlugin.js +5 -4
  96. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +6 -3
  97. package/libs/floorplan/MapviewFloorplanPlugin/index.js +7 -4
  98. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +6 -3
  99. package/libs/floorplan/ModelFloorplanPlugin/index.js +7 -4
  100. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +6 -3
  101. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +7 -4
  102. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +6 -3
  103. package/libs/floorplan/TopviewFloorplanPlugin/index.js +7 -4
  104. package/libs/floorplan/index.js +2 -1
  105. package/libs/index.js +131 -128
  106. package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +57 -57
  107. package/libs/shared-utils/Object3DHelper/Controller/RotateController.d.ts +0 -1
  108. package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +91 -97
  109. package/libs/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +1 -1
  110. package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +34 -31
  111. package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +1 -1
  112. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +1 -1
  113. package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -1
  114. package/libs/shared-utils/five/FiveDomEvents.js +1 -1
  115. package/libs/shared-utils/five/FiveLine.js +6 -18
  116. package/libs/shared-utils/five/index.js +4 -3
  117. package/libs/shared-utils/five/lookObject.js +18 -17
  118. package/libs/shared-utils/index.js +1 -1
  119. package/libs/shared-utils/logger.js +1 -1
  120. package/libs/shared-utils/three/PointSelector/index.d.ts +2 -1
  121. package/libs/shared-utils/three/PointSelector/index.js +24 -22
  122. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +1 -1
  123. package/libs/shared-utils/three/boundingBox.js +1 -1
  124. package/libs/shared-utils/three/generatePolygonGeometry.d.ts +1 -1
  125. package/libs/shared-utils/three/generatePolygonGeometry.js +8 -10
  126. package/libs/shared-utils/three/index.d.ts +1 -1
  127. package/libs/shared-utils/three/index.js +2 -1
  128. package/libs/vendor/three/build/three.module.js +19336 -0
  129. package/libs/vendor/three/examples/jsm/lines/LineGeometry.js +28 -0
  130. package/libs/vendor/three/examples/jsm/lines/LineSegmentsGeometry.js +69 -0
  131. package/package.json +1 -1
  132. /package/dist/shared-utils/three/{objects → core}/LineSegments.d.ts +0 -0
  133. /package/dist/shared-utils/three/{THREERaycaster.d.ts → core/Raycaster.d.ts} +0 -0
  134. /package/dist/shared-utils/three/{THREESphere.d.ts → core/Sphere.d.ts} +0 -0
  135. /package/libs/shared-utils/three/{objects → core}/LineSegments.d.ts +0 -0
  136. /package/libs/shared-utils/three/{objects → core}/LineSegments.js +0 -0
  137. /package/libs/shared-utils/three/{THREERaycaster.d.ts → core/Raycaster.d.ts} +0 -0
  138. /package/libs/shared-utils/three/{THREERaycaster.js → core/Raycaster.js} +0 -0
  139. /package/libs/shared-utils/three/{THREESphere.d.ts → core/Sphere.d.ts} +0 -0
  140. /package/libs/shared-utils/three/{THREESphere.js → core/Sphere.js} +0 -0
@@ -12,7 +12,6 @@ export declare class RotateController<T extends RotateHelperAbstract = RotateHel
12
12
  y?: number;
13
13
  z?: number;
14
14
  }): void;
15
- dispose(): void;
16
15
  protected onApplyOriginObjectRotate(params: {
17
16
  quaternion: THREE.Quaternion;
18
17
  origin: THREE.Vector3;
@@ -13,7 +13,7 @@ export declare class ScaleController<T extends ScaleHelperAbstract = ScaleHelper
13
13
  dragging: (point: {
14
14
  x: number;
15
15
  y: number;
16
- }) => false | void;
16
+ } | TouchEvent) => false | void;
17
17
  setScale(scale: number | {
18
18
  x?: number;
19
19
  y?: number;
@@ -6,12 +6,13 @@ import { Subscribe } from '../../Subscribe';
6
6
  import type { LiteralString } from '../../../typings/utils.type';
7
7
  export type { PointIntersection };
8
8
  export type ActionIfNoModelUnderMouse = LiteralString<'virtualPoint' | 'lastPoint' | 'disable'>;
9
+ type PointerSelectorMode = 'fixed' | 'cursor';
9
10
  interface Config {
10
11
  /**
11
12
  * @description: 选点的两种模式, 'fixed' 为固定选点为屏幕中心点,拖动five画布来更新点,'cursor' 为跟随鼠标移动来更新点, 'auto' 则根据设备类型自动选择
12
13
  * @default: 'auto'
13
14
  */
14
- mode: 'fixed' | 'cursor' | 'auto';
15
+ mode: PointerSelectorMode | 'auto';
15
16
  /**
16
17
  * @description 当鼠标位置没有模型时的行为
17
18
  * ```markdown
@@ -1,7 +1,7 @@
1
1
  import type { Vector3 } from 'three';
2
2
  import * as THREE from 'three';
3
3
  /**
4
- * @description: 根据多边形的顶点数组生成多边形的 BufferGeometry
4
+ * @description 根据多边形的顶点数组生成多边形的 BufferGeometry
5
5
  * @param checkLinesIntersect 检查多边形边线是否相交,需要保证传入的顶点是有序的
6
6
  */
7
7
  export default function generatePolygonGeometry(_points: Vector3[], config?: {
@@ -3,6 +3,6 @@ export * from './getCoords';
3
3
  export * from './PointSelector/utils/PointHelper';
4
4
  export * from './PointSelector/utils/PointSelectorHelper';
5
5
  export * from './core/Object3D';
6
- export * from './objects/LineSegments';
6
+ export * from './core/LineSegments';
7
7
  export * from './boundingBox';
8
8
  export * from './blink';
@@ -32,8 +32,9 @@ import { Controller as k } from "../base/BasePluginWithData.js";
32
32
  import "hammerjs";
33
33
  import "three/examples/jsm/renderers/CSS3DRenderer";
34
34
  import "@realsee/five/line";
35
+ import "../vendor/three/examples/jsm/lines/LineGeometry.js";
35
36
  import "../shared-utils/tag.js";
36
- import "../shared-utils/three/THREESphere.js";
37
+ import "../shared-utils/three/core/Sphere.js";
37
38
  import "animejs";
38
39
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
39
40
  import { equal as I } from "../shared-utils/equal.js";
@@ -46,12 +47,14 @@ import "../shared-utils/Utils/WorkUtil.js";
46
47
  import "../shared-utils/five/transformPosition.js";
47
48
  import "../shared-utils/five/getFiveModel.js";
48
49
  import "../shared-utils/url/absoluteUrl.js";
50
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
51
+ import "../vendor/three/build/three.module.js";
49
52
  import "../shared-utils/positionToVector3.js";
50
53
  import "../shared-utils/five/vector3ToScreen.js";
51
54
  import "../shared-utils/three/temp.js";
52
55
  import "../shared-utils/isTruelyObject.js";
53
56
  import "../shared-utils/three/core/Object3D.js";
54
- import "../shared-utils/three/objects/LineSegments.js";
57
+ import "../shared-utils/three/core/LineSegments.js";
55
58
  import "../shared-utils/animationFrame/BetterTween.js";
56
59
  import "../shared-utils/animationFrame/index.js";
57
60
  import "../components/AreaLabel/LabelItem.js";
@@ -59,7 +62,7 @@ import "../vendor/svelte/internal/index.js";
59
62
  import "../components/AreaLabel/Assets/roomLabelBg.js";
60
63
  import "../shared-utils/math/planimetry.js";
61
64
  import "../shared-utils/dom/resizeObserver.js";
62
- class ot extends k {
65
+ class ht extends k {
63
66
  /** AreaMakerPlugin
64
67
  * @param `five` `<Five>` Five 实例
65
68
  * @param `params` `<PluginType.Params> | <undefined>` 插件初始化参数
@@ -334,5 +337,5 @@ class ot extends k {
334
337
  }
335
338
  }
336
339
  export {
337
- ot as Controller
340
+ ht as Controller
338
341
  };
@@ -6,6 +6,9 @@ import "../shared-utils/Subscribe.js";
6
6
  import "hammerjs";
7
7
  import "three/examples/jsm/renderers/CSS3DRenderer";
8
8
  import "@realsee/five/line";
9
+ import "../vendor/three/examples/jsm/lines/LineGeometry.js";
10
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
11
+ import "../vendor/three/build/three.module.js";
9
12
  import "../shared-utils/tag.js";
10
13
  import "../shared-utils/positionToVector3.js";
11
14
  import "../shared-utils/five/vector3ToScreen.js";
@@ -15,7 +18,7 @@ import "../shared-utils/Utils/BaseUtil.js";
15
18
  import "../shared-utils/Utils/WorkUtil.js";
16
19
  import "../shared-utils/five/transformPosition.js";
17
20
  import "../shared-utils/three/temp.js";
18
- import "../shared-utils/three/THREESphere.js";
21
+ import "../shared-utils/three/core/Sphere.js";
19
22
  import "animejs";
20
23
  import "../shared-utils/url/absoluteUrl.js";
21
24
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -23,7 +26,7 @@ import "../shared-utils/equal.js";
23
26
  import "../shared-utils/isTruelyObject.js";
24
27
  import "./utils/Item.js";
25
28
  import "../shared-utils/three/core/Object3D.js";
26
- import "../shared-utils/three/objects/LineSegments.js";
29
+ import "../shared-utils/three/core/LineSegments.js";
27
30
  import "../shared-utils/animationFrame/BetterTween.js";
28
31
  import "../shared-utils/animationFrame/index.js";
29
32
  import "../components/AreaLabel/LabelItem.js";
@@ -31,7 +34,7 @@ import "../vendor/svelte/internal/index.js";
31
34
  import "../components/AreaLabel/Assets/roomLabelBg.js";
32
35
  import "../shared-utils/math/planimetry.js";
33
36
  import "../shared-utils/dom/resizeObserver.js";
34
- const I = (r, o) => new t(r, o);
37
+ const L = (r, o) => new t(r, o);
35
38
  export {
36
- I as AreaMakerPlugin
39
+ L as AreaMakerPlugin
37
40
  };
@@ -6,16 +6,19 @@ import "hammerjs";
6
6
  import { Subscribe as y } from "../../shared-utils/Subscribe.js";
7
7
  import "three/examples/jsm/renderers/CSS3DRenderer";
8
8
  import "@realsee/five/line";
9
+ import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
9
10
  import "../../shared-utils/tag.js";
10
11
  import { Object3D as T } from "../../shared-utils/three/core/Object3D.js";
11
- import { LineSegments as C } from "../../shared-utils/three/objects/LineSegments.js";
12
- import "../../shared-utils/three/THREESphere.js";
12
+ import { LineSegments as C } from "../../shared-utils/three/core/LineSegments.js";
13
+ import "../../shared-utils/three/core/Sphere.js";
13
14
  import "animejs";
14
15
  import { BetterTween as O } from "../../shared-utils/animationFrame/BetterTween.js";
15
16
  import { LabelItem as v } from "../../components/AreaLabel/LabelItem.js";
16
17
  import { getCenterPointOfPoints as M } from "../../shared-utils/math/planimetry.js";
17
18
  import { resizeObserver as V } from "../../shared-utils/dom/resizeObserver.js";
18
19
  import { _raycaster as d } from "../../shared-utils/three/temp.js";
20
+ import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
21
+ import "../../vendor/three/build/three.module.js";
19
22
  import "../../shared-utils/positionToVector3.js";
20
23
  import "../../shared-utils/five/vector3ToScreen.js";
21
24
  import "../../shared-utils/five/getFiveModel.js";
@@ -37,7 +40,7 @@ class P extends T {
37
40
  this.areaMakerItem.makerObject.raycast(t, s);
38
41
  }
39
42
  }
40
- class tt {
43
+ class st {
41
44
  constructor(e, t) {
42
45
  i(this, "id");
43
46
  /** 标注名称 */
@@ -293,5 +296,5 @@ function u(n, e) {
293
296
  t.multiply(s), t.multiply(o), t.multiply(h), n.applyMatrix4(t);
294
297
  }
295
298
  export {
296
- tt as AreaMakerItem
299
+ st as AreaMakerItem
297
300
  };
@@ -2,23 +2,24 @@ var R = Object.defineProperty, F = Object.defineProperties;
2
2
  var C = Object.getOwnPropertyDescriptors;
3
3
  var f = Object.getOwnPropertySymbols;
4
4
  var O = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
5
- var a = (s, i, e) => i in s ? R(s, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[i] = e, p = (s, i) => {
5
+ var p = (s, i, e) => i in s ? R(s, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[i] = e, a = (s, i) => {
6
6
  for (var e in i || (i = {}))
7
- O.call(i, e) && a(s, e, i[e]);
7
+ O.call(i, e) && p(s, e, i[e]);
8
8
  if (f)
9
9
  for (var e of f(i))
10
- S.call(i, e) && a(s, e, i[e]);
10
+ S.call(i, e) && p(s, e, i[e]);
11
11
  return s;
12
12
  }, l = (s, i) => F(s, C(i));
13
- var n = (s, i, e) => (a(s, typeof i != "symbol" ? i + "" : i, e), e);
13
+ var n = (s, i, e) => (p(s, typeof i != "symbol" ? i + "" : i, e), e);
14
14
  import { CSS3DRender as j } from "./utils/three/CSS3DRender.js";
15
15
  import x from "./utils/generateBehindFiveElement.js";
16
16
  import "three";
17
17
  import "hammerjs";
18
18
  import "three/examples/jsm/renderers/CSS3DRenderer";
19
19
  import "@realsee/five/line";
20
+ import "../vendor/three/examples/jsm/lines/LineGeometry.js";
20
21
  import "../shared-utils/tag.js";
21
- import "../shared-utils/three/THREESphere.js";
22
+ import "../shared-utils/three/core/Sphere.js";
22
23
  import "animejs";
23
24
  import { absoluteUrl as P } from "../shared-utils/url/absoluteUrl.js";
24
25
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -38,6 +39,8 @@ import "./utils/three/CSS3DScene.js";
38
39
  import "./utils/getAllCSS3DObject.js";
39
40
  import "../shared-utils/util.js";
40
41
  import "./utils/three/CSS3DGroup.js";
42
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
43
+ import "../vendor/three/build/three.module.js";
41
44
  import "../shared-utils/five/vector3ToScreen.js";
42
45
  import "../shared-utils/five/getFiveModel.js";
43
46
  import "../shared-utils/Utils/FiveUtil.js";
@@ -46,7 +49,7 @@ import "../shared-utils/Utils/WorkUtil.js";
46
49
  import "../shared-utils/five/transformPosition.js";
47
50
  import "../shared-utils/three/temp.js";
48
51
  const b = "v2.0.1", E = `CSS3DRenderPlugin@${b}`;
49
- class pe extends j {
52
+ class ce extends j {
50
53
  constructor(e) {
51
54
  super();
52
55
  n(this, "five");
@@ -106,7 +109,7 @@ class pe extends j {
106
109
  return Object.assign(d, t, (t == null ? void 0 : t.mode) === "behind" ? { scene: this.five.scene } : void 0);
107
110
  })(), { autoRender: h } = o;
108
111
  o.mode === "behind" && o.behindFiveContainer && (this.behindFiveContainer = o.behindFiveContainer);
109
- const r = this.create3DElement(this.five.camera, e, l(p({}, o), { autoRender: !1 }));
112
+ const r = this.create3DElement(this.five.camera, e, l(a({}, o), { autoRender: !1 }));
110
113
  if (!r)
111
114
  return;
112
115
  const D = r.dispose;
@@ -120,7 +123,7 @@ class pe extends j {
120
123
  }, u = () => {
121
124
  r.css3DObject.mode === "front" && c(), r.css3DObject.mode === "behind" && w(this.five).then(() => c());
122
125
  };
123
- return h && u(), l(p({}, r), { render: h ? void 0 : u });
126
+ return h && u(), l(a({}, r), { render: h ? void 0 : u });
124
127
  });
125
128
  this.five = e;
126
129
  }
@@ -159,5 +162,5 @@ class pe extends j {
159
162
  }
160
163
  export {
161
164
  E as PLUGIN_NAME,
162
- pe as default
165
+ ce as default
163
166
  };
@@ -1,10 +1,13 @@
1
1
  import o from "./Controller.js";
2
- import { CSS3DRender as K } from "./utils/three/CSS3DRender.js";
2
+ import { CSS3DRender as N } from "./utils/three/CSS3DRender.js";
3
3
  import "./utils/generateBehindFiveElement.js";
4
4
  import "three";
5
5
  import "hammerjs";
6
6
  import "three/examples/jsm/renderers/CSS3DRenderer";
7
7
  import "@realsee/five/line";
8
+ import "../vendor/three/examples/jsm/lines/LineGeometry.js";
9
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
10
+ import "../vendor/three/build/three.module.js";
8
11
  import "../shared-utils/tag.js";
9
12
  import "../shared-utils/positionToVector3.js";
10
13
  import "../shared-utils/five/vector3ToScreen.js";
@@ -15,7 +18,7 @@ import "../shared-utils/Subscribe.js";
15
18
  import "../shared-utils/Utils/WorkUtil.js";
16
19
  import "../shared-utils/five/transformPosition.js";
17
20
  import "../shared-utils/three/temp.js";
18
- import "../shared-utils/three/THREESphere.js";
21
+ import "../shared-utils/three/core/Sphere.js";
19
22
  import "animejs";
20
23
  import "../shared-utils/url/absoluteUrl.js";
21
24
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -33,9 +36,9 @@ import "./utils/three/CSS3DScene.js";
33
36
  import "./utils/getAllCSS3DObject.js";
34
37
  import "../shared-utils/util.js";
35
38
  import "./utils/three/CSS3DGroup.js";
36
- const H = (r) => new o(r);
39
+ const K = (r) => new o(r);
37
40
  export {
38
- K as CSS3DRender,
39
- H as CSS3DRenderPlugin,
40
- H as default
41
+ N as CSS3DRender,
42
+ K as CSS3DRenderPlugin,
43
+ K as default
41
44
  };
@@ -2,7 +2,7 @@ var A = Object.defineProperty;
2
2
  var D = (p, h, t) => h in p ? A(p, h, { enumerable: !0, configurable: !0, writable: !0, value: t }) : p[h] = t;
3
3
  var o = (p, h, t) => (D(p, typeof h != "symbol" ? h + "" : h, t), t);
4
4
  import { CSS3DObject as N } from "three/examples/jsm/renderers/CSS3DRenderer";
5
- import { Vector3 as r } from "three";
5
+ import { Vector3 as n } from "three";
6
6
  import { even as E } from "../even.js";
7
7
  import { Subscribe as Q } from "../../../shared-utils/Subscribe.js";
8
8
  import R from "./OpacityMesh.js";
@@ -10,11 +10,14 @@ import { centerPoint as L } from "../../../shared-utils/three/centerPoint.js";
10
10
  import { getObjectVisible as T } from "../../../shared-utils/three/getObjectVisible.js";
11
11
  import "hammerjs";
12
12
  import "@realsee/five/line";
13
+ import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
13
14
  import "../../../shared-utils/tag.js";
14
- import "../../../shared-utils/three/THREESphere.js";
15
+ import "../../../shared-utils/three/core/Sphere.js";
15
16
  import "animejs";
16
17
  import { isNil as O } from "../../../shared-utils/isNil.js";
17
18
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
19
+ import "../../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
20
+ import "../../../vendor/three/build/three.module.js";
18
21
  import "../../../shared-utils/positionToVector3.js";
19
22
  import "../../../shared-utils/five/vector3ToScreen.js";
20
23
  import "../../../shared-utils/five/getFiveModel.js";
@@ -24,7 +27,7 @@ import "../../../shared-utils/Utils/WorkUtil.js";
24
27
  import "../../../shared-utils/five/transformPosition.js";
25
28
  import "../../../shared-utils/three/temp.js";
26
29
  const $ = 1, W = `CSS3DObjectPlus@${$}`, k = 216e-5, z = 3e-3;
27
- class mt extends N {
30
+ class ut extends N {
28
31
  constructor(t) {
29
32
  var x, b, w, g, V;
30
33
  if (O(t.cornerPoints) && O(t.width))
@@ -32,19 +35,19 @@ class mt extends N {
32
35
  const e = (x = t.container) != null ? x : document.createElement("div"), s = (b = t.cornerPoints) != null ? b : (() => {
33
36
  const i = t.width / 2;
34
37
  return [
35
- new r(-i, i, 0),
36
- new r(-i, -i, 0),
37
- new r(i, -i, 0),
38
- new r(i, i, 0)
38
+ new n(-i, i, 0),
39
+ new n(-i, -i, 0),
40
+ new n(i, -i, 0),
41
+ new n(i, i, 0)
39
42
  ];
40
- })(), n = (w = t.ratio) != null ? w : z, P = (g = t.dpr) != null ? g : 1, F = (V = t.pointerEvents) != null ? V : "auto", c = Math.max(k, n), m = s[0].distanceTo(s[1]), d = s[1].distanceTo(s[2]), a = E(m / n * P), l = E(d / n * P), y = L(...s);
43
+ })(), r = (w = t.ratio) != null ? w : z, P = (g = t.dpr) != null ? g : 1, F = (V = t.pointerEvents) != null ? V : "auto", c = Math.max(k, r), m = s[0].distanceTo(s[1]), d = s[1].distanceTo(s[2]), a = E(m / r * P), l = E(d / r * P), y = L(...s);
41
44
  let u;
42
- if (c === n)
45
+ if (c === r)
43
46
  e.style.width = `${a}px`, e.style.height = `${l}px`, u = e;
44
47
  else {
45
48
  const i = document.createElement("div");
46
49
  i.style.width = `${a}px`, i.style.height = `${l}px`, i.style.pointerEvents = "none";
47
- const S = n / c;
50
+ const S = r / c;
48
51
  e.style.position = "absolute", e.style.left = "0", e.style.top = "0", e.style.width = `${S * a}px`, e.style.height = `${S * l}px`, i.appendChild(e), u = i;
49
52
  }
50
53
  super(u);
@@ -74,19 +77,19 @@ class mt extends N {
74
77
  * @description: 生成透明Mesh
75
78
  */
76
79
  o(this, "createOpacityMesh", (t) => {
77
- const { domWidthPx: e, domHeightPx: s } = t, n = new R(e, s);
78
- return n.position.copy(t.position), n.rotation.copy(t.rotation), n.scale.copy(t.scale), n;
80
+ const { domWidthPx: e, domHeightPx: s } = t, r = new R(e, s);
81
+ return r.position.copy(t.position), r.rotation.copy(t.rotation), r.scale.copy(t.scale), r;
79
82
  });
80
- if (e.style.pointerEvents = F, Object.assign(e.style, t.style), this.scale.set(c, c, c), this.cornerPoints = s, this.ratio = n, this.container = e, t.mode && (this.mode = t.mode), c === n)
83
+ if (e.style.pointerEvents = F, Object.assign(e.style, t.style), this.scale.set(c, c, c), this.cornerPoints = s, this.ratio = r, this.container = e, t.mode && (this.mode = t.mode), c === r)
81
84
  this.width = m, this.height = d, this.domWidthPx = a, this.domHeightPx = l, this.centerPosition = y;
82
85
  else {
83
- const i = n / c;
84
- this.width = i * m, this.height = i * d, this.domWidthPx = i * a, this.domHeightPx = i * l, this.centerPosition = new r().subVectors(y, s[0]).multiplyScalar(i).add(s[0]);
86
+ const i = r / c;
87
+ this.width = i * m, this.height = i * d, this.domWidthPx = i * a, this.domHeightPx = i * l, this.centerPosition = new n().subVectors(y, s[0]).multiplyScalar(i).add(s[0]);
85
88
  }
86
89
  e.classList.add(`${W}__container`);
87
- const C = new r().subVectors(s[1], s[0]), M = new r().subVectors(s[3], s[0]), H = new r().crossVectors(C, M).normalize();
90
+ const C = new n().subVectors(s[1], s[0]), M = new n().subVectors(s[3], s[0]), H = new n().crossVectors(C, M).normalize();
88
91
  this.lookAt(H);
89
- const f = this.up.clone().applyQuaternion(this.quaternion), v = M.clone(), j = new r().crossVectors(f, v).normalize();
92
+ const f = this.up.clone().applyQuaternion(this.quaternion), v = M.clone(), j = new n().crossVectors(f, v).normalize();
90
93
  this.rotateOnWorldAxis(j, f.angleTo(v)), this.position.copy(y), this.addEventListener("added", () => {
91
94
  var i;
92
95
  this.mode === "front" && ((i = this.opacityMesh) == null || i.removeFromParent());
@@ -130,7 +133,7 @@ class mt extends N {
130
133
  }
131
134
  }
132
135
  export {
133
- mt as CSS3DObjectPlus,
136
+ ut as CSS3DObjectPlus,
134
137
  z as DefaultRatio,
135
138
  k as MinRatio
136
139
  };
@@ -31,7 +31,7 @@ import { anyPositionToVector3 as q } from "../../../shared-utils/positionToVecto
31
31
  import B from "./CSS3DRenderer.js";
32
32
  import { Subscribe as A } from "../../../shared-utils/Subscribe.js";
33
33
  import { CSS3DObjectPlus as W } from "./CSS3DObject.js";
34
- import { MinRatio as ye } from "./CSS3DObject.js";
34
+ import { MinRatio as Ne } from "./CSS3DObject.js";
35
35
  import { CSS3DFrontScene as H, CSS3DBehindScene as T } from "./CSS3DScene.js";
36
36
  import { CSS3DFrontGroup as U, CSS3DBehindGroup as z } from "./CSS3DGroup.js";
37
37
  import { CSS3DObject as j } from "three/examples/jsm/renderers/CSS3DRenderer";
@@ -44,6 +44,9 @@ import "../../../shared-utils/three/centerPoint.js";
44
44
  import "../../../shared-utils/three/getObjectVisible.js";
45
45
  import "hammerjs";
46
46
  import "@realsee/five/line";
47
+ import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
48
+ import "../../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
49
+ import "../../../vendor/three/build/three.module.js";
47
50
  import "../../../shared-utils/tag.js";
48
51
  import "../../../shared-utils/five/vector3ToScreen.js";
49
52
  import "../../../shared-utils/five/getFiveModel.js";
@@ -52,7 +55,7 @@ import "../../../shared-utils/Utils/BaseUtil.js";
52
55
  import "../../../shared-utils/Utils/WorkUtil.js";
53
56
  import "../../../shared-utils/five/transformPosition.js";
54
57
  import "../../../shared-utils/three/temp.js";
55
- import "../../../shared-utils/three/THREESphere.js";
58
+ import "../../../shared-utils/three/core/Sphere.js";
56
59
  import "animejs";
57
60
  import "../../../shared-utils/isNil.js";
58
61
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -326,7 +329,7 @@ class y {
326
329
  i(y, "setFrontModeContainer", K), i(y, "setBehindModeContainer", Q);
327
330
  export {
328
331
  y as CSS3DRender,
329
- ye as MinRatio,
332
+ Ne as MinRatio,
330
333
  b as PLUGIN,
331
334
  n as globalStore
332
335
  };
@@ -1,7 +1,7 @@
1
- var m = Object.defineProperty;
1
+ var c = Object.defineProperty;
2
2
  var f = Object.getOwnPropertySymbols;
3
3
  var v = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
4
- var u = (a, s, e) => s in a ? m(a, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[s] = e, g = (a, s) => {
4
+ var u = (a, s, e) => s in a ? c(a, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[s] = e, g = (a, s) => {
5
5
  for (var e in s || (s = {}))
6
6
  v.call(s, e) && u(a, e, s[e]);
7
7
  if (f)
@@ -17,13 +17,13 @@ var p = (a, s, e) => new Promise((t, i) => {
17
17
  } catch (o) {
18
18
  i(o);
19
19
  }
20
- }, c = (h) => {
20
+ }, m = (h) => {
21
21
  try {
22
22
  n(e.throw(h));
23
23
  } catch (o) {
24
24
  i(o);
25
25
  }
26
- }, n = (h) => h.done ? t(h.value) : Promise.resolve(h.value).then(r, c);
26
+ }, n = (h) => h.done ? t(h.value) : Promise.resolve(h.value).then(r, m);
27
27
  n((e = e.apply(a, s)).next());
28
28
  });
29
29
  import { Controller as y } from "../base/BasePlugin.js";
@@ -34,6 +34,9 @@ import "three";
34
34
  import "hammerjs";
35
35
  import "three/examples/jsm/renderers/CSS3DRenderer";
36
36
  import "@realsee/five/line";
37
+ import "../vendor/three/examples/jsm/lines/LineGeometry.js";
38
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
39
+ import "../vendor/three/build/three.module.js";
37
40
  import "../shared-utils/tag.js";
38
41
  import "../shared-utils/positionToVector3.js";
39
42
  import "../shared-utils/five/vector3ToScreen.js";
@@ -43,13 +46,13 @@ import "../shared-utils/Utils/BaseUtil.js";
43
46
  import "../shared-utils/Utils/WorkUtil.js";
44
47
  import "../shared-utils/five/transformPosition.js";
45
48
  import "../shared-utils/three/temp.js";
46
- import "../shared-utils/three/THREESphere.js";
49
+ import "../shared-utils/three/core/Sphere.js";
47
50
  import "animejs";
48
51
  import "../shared-utils/url/absoluteUrl.js";
49
52
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
50
53
  import "../shared-utils/isTruelyObject.js";
51
- const b = "CruisePlugin", l = `${b}`, J = (a) => `${l}--${a}`;
52
- class K extends y {
54
+ const b = "CruisePlugin", l = `${b}`, R = (a) => `${l}--${a}`;
55
+ class T extends y {
53
56
  constructor(e, t) {
54
57
  super(e, t);
55
58
  d(this, "state", {
@@ -224,6 +227,6 @@ class K extends y {
224
227
  }
225
228
  }
226
229
  export {
227
- K as default,
228
- J as pluginFlag
230
+ T as default,
231
+ R as pluginFlag
229
232
  };
@@ -33,9 +33,10 @@ import * as L from "three";
33
33
  import "hammerjs";
34
34
  import "three/examples/jsm/renderers/CSS3DRenderer";
35
35
  import "@realsee/five/line";
36
+ import "../vendor/three/examples/jsm/lines/LineGeometry.js";
36
37
  import { anyPositionToVector3 as O } from "../shared-utils/positionToVector3.js";
37
38
  import "../shared-utils/tag.js";
38
- import "../shared-utils/three/THREESphere.js";
39
+ import "../shared-utils/three/core/Sphere.js";
39
40
  import "animejs";
40
41
  import { uuid as A } from "../shared-utils/uuid.js";
41
42
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -51,6 +52,8 @@ import "../shared-utils/five/getFiveModel.js";
51
52
  import "../shared-utils/url/absoluteUrl.js";
52
53
  import "../shared-utils/equal.js";
53
54
  import "../shared-utils/isTruelyObject.js";
55
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
56
+ import "../vendor/three/build/three.module.js";
54
57
  import "../shared-utils/five/vector3ToScreen.js";
55
58
  import "../shared-utils/three/temp.js";
56
59
  import "../shared-utils/vectorToCoordinate.js";
@@ -200,7 +203,7 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
200
203
  import "../shared-utils/five/fiveModelLoad.js";
201
204
  import "../shared-utils/five/FiveDomEvents.js";
202
205
  import "../shared-utils/five/calculateThreeMouse.js";
203
- import "../shared-utils/three/THREERaycaster.js";
206
+ import "../shared-utils/three/core/Raycaster.js";
204
207
  import "../PanoTagPlugin/utils/DebugUtil.js";
205
208
  import "../PanoTagPlugin/utils/addDebugPoints.js";
206
209
  import "../PanoTagPlugin/controller/Tag/PointTag.js";
@@ -221,7 +224,7 @@ import "./utils/coordinatesToVector.js";
221
224
  import "./utils/safeCall.js";
222
225
  import "./utils/sleep.js";
223
226
  import "../shared-utils/five/fiveLoaded.js";
224
- class co extends z {
227
+ class yo extends z {
225
228
  constructor(t, r) {
226
229
  var h;
227
230
  super(t, r);
@@ -329,5 +332,5 @@ class co extends z {
329
332
  }
330
333
  }
331
334
  export {
332
- co as default
335
+ yo as default
333
336
  };
@@ -39,8 +39,9 @@ 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 "../vendor/three/examples/jsm/lines/LineGeometry.js";
42
43
  import "../shared-utils/tag.js";
43
- import "../shared-utils/three/THREESphere.js";
44
+ import "../shared-utils/three/core/Sphere.js";
44
45
  import "animejs";
45
46
  import { notNil as Q } from "../shared-utils/isNil.js";
46
47
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -194,6 +195,8 @@ import "../CSS3DRenderPlugin/utils/even.js";
194
195
  import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
195
196
  import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
196
197
  import "../shared-utils/three/getObjectVisible.js";
198
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
199
+ import "../vendor/three/build/three.module.js";
197
200
  import "../shared-utils/five/vector3ToScreen.js";
198
201
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
199
202
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
@@ -202,7 +205,7 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
202
205
  import "../shared-utils/five/fiveModelLoad.js";
203
206
  import "../shared-utils/five/FiveDomEvents.js";
204
207
  import "../shared-utils/five/calculateThreeMouse.js";
205
- import "../shared-utils/three/THREERaycaster.js";
208
+ import "../shared-utils/three/core/Raycaster.js";
206
209
  import "../PanoTagPlugin/utils/DebugUtil.js";
207
210
  import "../PanoTagPlugin/utils/addDebugPoints.js";
208
211
  import "../PanoTagPlugin/controller/Tag/PointTag.js";
@@ -221,7 +224,7 @@ import "./utils/getFiveStateOnCurve.js";
221
224
  import "../shared-utils/formatRad.js";
222
225
  import "./Work.js";
223
226
  import "./utils/coordinatesToVector.js";
224
- class vr extends G {
227
+ class Sr extends G {
225
228
  constructor(t, e) {
226
229
  super(t, e);
227
230
  k(this, "state", {
@@ -609,5 +612,5 @@ class vr extends G {
609
612
  }
610
613
  }
611
614
  export {
612
- vr as default
615
+ Sr as default
613
616
  };
@@ -1,4 +1,4 @@
1
- import { typing as Lt } from "./typing/index.js";
1
+ import { typing as Qt } 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,6 +10,9 @@ import "three";
10
10
  import "hammerjs";
11
11
  import "three/examples/jsm/renderers/CSS3DRenderer";
12
12
  import "@realsee/five/line";
13
+ import "../vendor/three/examples/jsm/lines/LineGeometry.js";
14
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
15
+ import "../vendor/three/build/three.module.js";
13
16
  import "../shared-utils/tag.js";
14
17
  import "../shared-utils/positionToVector3.js";
15
18
  import "../shared-utils/five/vector3ToScreen.js";
@@ -19,7 +22,7 @@ import "../shared-utils/Utils/BaseUtil.js";
19
22
  import "../shared-utils/Utils/WorkUtil.js";
20
23
  import "../shared-utils/five/transformPosition.js";
21
24
  import "../shared-utils/three/temp.js";
22
- import "../shared-utils/three/THREESphere.js";
25
+ import "../shared-utils/three/core/Sphere.js";
23
26
  import "animejs";
24
27
  import "../shared-utils/url/absoluteUrl.js";
25
28
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -172,7 +175,7 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
172
175
  import "../shared-utils/five/fiveModelLoad.js";
173
176
  import "../shared-utils/five/FiveDomEvents.js";
174
177
  import "../shared-utils/five/calculateThreeMouse.js";
175
- import "../shared-utils/three/THREERaycaster.js";
178
+ import "../shared-utils/three/core/Raycaster.js";
176
179
  import "../PanoTagPlugin/utils/DebugUtil.js";
177
180
  import "../PanoTagPlugin/utils/addDebugPoints.js";
178
181
  import "../PanoTagPlugin/controller/Tag/PointTag.js";
@@ -193,13 +196,13 @@ import "./utils/sleep.js";
193
196
  import "../shared-utils/five/fiveLoaded.js";
194
197
  import "./BaseController.js";
195
198
  import "./utils/getFiveStateOnCurve.js";
196
- const Ht = (o, r) => new t(o, r), It = (o, r) => new i(o, r);
199
+ const Kt = (o, r) => new t(o, r), Lt = (o, r) => new i(o, r);
197
200
  export {
198
- Ht as CruisePlugin,
201
+ Kt as CruisePlugin,
199
202
  t as CruisePluginController,
200
- Lt as CruisePluginTypes,
203
+ Qt as CruisePluginTypes,
201
204
  i as MoveController,
202
- It as MovePlugin,
205
+ Lt as MovePlugin,
203
206
  t as WalkController,
204
- Ht as default
207
+ Kt as default
205
208
  };