@realsee/dnalogel 3.50.13 → 3.50.14

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 (104) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/index.cjs.js +194 -194
  3. package/dist/index.js +3617 -3596
  4. package/dist/index.umd.js +191 -191
  5. package/dist/shared-utils/equal.d.ts +1 -1
  6. package/dist/shared-utils/index.d.ts +2 -1
  7. package/dist/shared-utils/tag.d.ts +18 -7
  8. package/libs/AreaMakerPlugin/Controller.js +3 -3
  9. package/libs/AreaMakerPlugin/index.js +6 -6
  10. package/libs/AreaMakerPlugin/utils/Item.js +3 -3
  11. package/libs/CSS3DRenderPlugin/Controller.js +3 -3
  12. package/libs/CSS3DRenderPlugin/index.js +7 -7
  13. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -3
  14. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +5 -5
  15. package/libs/CruisePlugin/BaseController.js +13 -13
  16. package/libs/CruisePlugin/Move.js +3 -3
  17. package/libs/CruisePlugin/Work.js +2 -2
  18. package/libs/CruisePlugin/index.js +8 -8
  19. package/libs/CurrentPanoImagePlugin/Controller.js +3 -3
  20. package/libs/CurrentPanoImagePlugin/index.js +6 -6
  21. package/libs/GuideLinePlugin/Controller.js +19 -19
  22. package/libs/GuideLinePlugin/GuideLineItem.js +7 -7
  23. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +1 -1
  24. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -3
  25. package/libs/GuideLinePlugin/index.js +8 -8
  26. package/libs/ModelMakerPlugin/Controller.js +3 -3
  27. package/libs/ModelMakerPlugin/index.js +7 -7
  28. package/libs/ModelTVVideoPlugin/Plugin.js +5 -5
  29. package/libs/ModelTVVideoPlugin/index.js +5 -5
  30. package/libs/Object3DHelperPlugin/Controller.js +6 -6
  31. package/libs/Object3DHelperPlugin/index.js +7 -7
  32. package/libs/PanoCompassPlugin/Controller.js +6 -6
  33. package/libs/PanoCompassPlugin/index.js +6 -6
  34. package/libs/PanoDoorLabelPlugin/BaseController.js +7 -7
  35. package/libs/PanoDoorLabelPlugin/Controller.js +6 -6
  36. package/libs/PanoDoorLabelPlugin/index.js +6 -6
  37. package/libs/PanoMeasurePlugin/Components/Controller0.js +5 -5
  38. package/libs/PanoMeasurePlugin/Components/Controller1.js +5 -5
  39. package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -5
  40. package/libs/PanoMeasurePlugin/Controller/WatchController.js +4 -4
  41. package/libs/PanoMeasurePlugin/Controller/index.js +3 -3
  42. package/libs/PanoMeasurePlugin/Model/area.js +5 -5
  43. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +7 -7
  44. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +5 -5
  45. package/libs/PanoMeasurePlugin/index.js +3 -3
  46. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -3
  47. package/libs/PanoRulerProPlugin/Controller.js +52 -33
  48. package/libs/PanoRulerProPlugin/RulerItems.js +104 -85
  49. package/libs/PanoRulerProPlugin/index.js +23 -4
  50. package/libs/PanoSpatialTagPlugin/Plugin.js +5 -5
  51. package/libs/PanoSpatialTagPlugin/index.js +5 -5
  52. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -3
  53. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -3
  54. package/libs/PanoTagPlugin/Components/Tag/index.js +3 -3
  55. package/libs/PanoTagPlugin/Components/TagContainer.js +6 -6
  56. package/libs/PanoTagPlugin/Components/TagItem.js +3 -3
  57. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -3
  58. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +7 -7
  59. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +7 -7
  60. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +7 -7
  61. package/libs/PanoTagPlugin/controller/TagRender.js +6 -6
  62. package/libs/PanoTagPlugin/controller/TagUtil.js +5 -5
  63. package/libs/PanoTagPlugin/controller/index.js +3 -3
  64. package/libs/PanoTagPlugin/index.js +6 -6
  65. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -3
  66. package/libs/PanoVideoPlugin/Controller.js +7 -7
  67. package/libs/PanoVideoPlugin/VideoMeshController.js +3 -3
  68. package/libs/PanoVideoPlugin/index.js +7 -7
  69. package/libs/PipelinePlugin/Controller.js +15 -15
  70. package/libs/PipelinePlugin/index.js +7 -7
  71. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -3
  72. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -3
  73. package/libs/PipelinePlugin/utils/Objects/Pipe.js +3 -3
  74. package/libs/Sculpt/Meshes/Box.js +1 -1
  75. package/libs/Sculpt/Meshes/Cylinder.js +1 -1
  76. package/libs/Sculpt/Meshes/Line.js +4 -4
  77. package/libs/Sculpt/Meshes/LineWithDots.js +3 -2
  78. package/libs/Sculpt/Meshes/Point.js +1 -1
  79. package/libs/Sculpt/Meshes/Prism.js +9 -8
  80. package/libs/Sculpt/Meshes/Rectangle.js +1 -1
  81. package/libs/Sculpt/Objects/Line/Editor.js +1 -1
  82. package/libs/Sculpt/index.js +1 -1
  83. package/libs/Sculpt/utils/three/ColoredMesh.js +1 -1
  84. package/libs/base/BasePlugin.js +2 -2
  85. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -3
  86. package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -6
  87. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -3
  88. package/libs/floorplan/ModelFloorplanPlugin/index.js +6 -6
  89. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +7 -7
  90. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +7 -7
  91. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -3
  92. package/libs/floorplan/TopviewFloorplanPlugin/index.js +6 -6
  93. package/libs/floorplan/index.js +1 -1
  94. package/libs/index.js +6 -6
  95. package/libs/shared-utils/equal.d.ts +1 -1
  96. package/libs/shared-utils/five/index.js +1 -1
  97. package/libs/shared-utils/five/lookObject.js +1 -1
  98. package/libs/shared-utils/index.d.ts +2 -1
  99. package/libs/shared-utils/index.js +57 -54
  100. package/libs/shared-utils/logger.js +1 -1
  101. package/libs/shared-utils/tag.d.ts +18 -7
  102. package/libs/shared-utils/tag.js +80 -61
  103. package/libs/shared-utils/three/index.js +1 -1
  104. package/package.json +1 -1
@@ -6,6 +6,6 @@
6
6
  * deep {Boolean} 是否深比较<br />
7
7
  * @returns {boolean} 是否相等
8
8
  */
9
- export default function equal(value: any, other: any, opt?: {
9
+ export declare function equal(value: any, other: any, opt?: {
10
10
  deep: boolean;
11
11
  }): boolean;
@@ -1,8 +1,9 @@
1
1
  export * from './math';
2
+ export * from './tag';
2
3
  export * from './five';
3
4
  export * from './three';
4
5
  export * from './isNil';
5
6
  export * from './uuid';
6
7
  export * from './url/absoluteUrl';
7
8
  export * from './animationFrame';
8
- export { default as equal } from './equal';
9
+ export * from './equal';
@@ -1,10 +1,22 @@
1
1
  import type { Five } from '@realsee/five';
2
2
  import { type AnyPosition } from './positionToVector3';
3
3
  import * as THREE from 'three';
4
+ interface LightTagConfig {
5
+ wrapper?: HTMLElement;
6
+ positionsForRotate?: AnyPosition[];
7
+ namespace?: string;
8
+ }
4
9
  export declare class LightTag {
10
+ /**
11
+ * @description 单个标签 dom
12
+ */
5
13
  container: HTMLDivElement;
6
14
  visible: boolean;
7
15
  enabled: boolean;
16
+ /**
17
+ * @description 标签容器的父容器
18
+ * @default this.five.getElement()?.parentElement
19
+ */
8
20
  wrapper: HTMLElement;
9
21
  positionsForRotate?: THREE.Vector3[];
10
22
  /**
@@ -17,6 +29,9 @@ export declare class LightTag {
17
29
  * @default true
18
30
  */
19
31
  simulate3D: boolean;
32
+ /**
33
+ * @description 标签的容器,根据 namespace 区分
34
+ */
20
35
  private tagWrapper;
21
36
  private five;
22
37
  private originPosition?;
@@ -25,10 +40,7 @@ export declare class LightTag {
25
40
  private config;
26
41
  private fiveUtil;
27
42
  private disposers;
28
- constructor(five: Five, position?: AnyPosition, config?: {
29
- wrapper?: HTMLElement;
30
- positionsForRotate?: AnyPosition[];
31
- });
43
+ constructor(five: Five, position?: AnyPosition, config?: LightTagConfig);
32
44
  show(): void;
33
45
  hide(): void;
34
46
  enable(): void;
@@ -41,6 +53,5 @@ export declare class LightTag {
41
53
  private onFiveEveryReady;
42
54
  private addResizeListener;
43
55
  }
44
- export declare function tag(five: Five, position: AnyPosition, config?: {
45
- wrapper?: HTMLElement;
46
- }): LightTag;
56
+ export declare function tag(five: Five, position: AnyPosition, config?: LightTagConfig): LightTag;
57
+ export {};
@@ -29,11 +29,11 @@ var u = (h, o, t) => new Promise((i, e) => {
29
29
  });
30
30
  import * as g from "three";
31
31
  import { Controller as k } from "../base/BasePluginWithData.js";
32
+ import "../shared-utils/tag.js";
32
33
  import "hammerjs";
33
34
  import "three/examples/jsm/renderers/CSS3DRenderer";
34
35
  import "@realsee/five/line";
35
36
  import "../vendor/three/examples/jsm/lines/LineGeometry.js";
36
- import "../shared-utils/tag.js";
37
37
  import "../shared-utils/three/core/Sphere.js";
38
38
  import "animejs";
39
39
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -47,12 +47,12 @@ import "../shared-utils/Utils/WorkUtil.js";
47
47
  import "../shared-utils/five/transformPosition.js";
48
48
  import "../shared-utils/five/getFiveModel.js";
49
49
  import "../shared-utils/url/absoluteUrl.js";
50
- import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
51
- import "../vendor/three/build/three.module.js";
52
50
  import "../shared-utils/positionToVector3.js";
53
51
  import "../shared-utils/five/vector3ToScreen.js";
54
52
  import "../shared-utils/three/temp.js";
55
53
  import "../shared-utils/dom/resizeObserver.js";
54
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
55
+ import "../vendor/three/build/three.module.js";
56
56
  import "../shared-utils/isTruelyObject.js";
57
57
  import "../shared-utils/three/core/Object3D.js";
58
58
  import "../shared-utils/three/core/LineSegments.js";
@@ -3,12 +3,6 @@ import "three";
3
3
  import "../base/BasePluginWithData.js";
4
4
  import "../base/BasePlugin.js";
5
5
  import "../shared-utils/Subscribe.js";
6
- import "hammerjs";
7
- import "three/examples/jsm/renderers/CSS3DRenderer";
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";
12
6
  import "../shared-utils/tag.js";
13
7
  import "../shared-utils/positionToVector3.js";
14
8
  import "../shared-utils/five/vector3ToScreen.js";
@@ -19,6 +13,12 @@ import "../shared-utils/Utils/WorkUtil.js";
19
13
  import "../shared-utils/five/transformPosition.js";
20
14
  import "../shared-utils/three/temp.js";
21
15
  import "../shared-utils/dom/resizeObserver.js";
16
+ import "hammerjs";
17
+ import "three/examples/jsm/renderers/CSS3DRenderer";
18
+ import "@realsee/five/line";
19
+ import "../vendor/three/examples/jsm/lines/LineGeometry.js";
20
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
21
+ import "../vendor/three/build/three.module.js";
22
22
  import "../shared-utils/three/core/Sphere.js";
23
23
  import "animejs";
24
24
  import "../shared-utils/url/absoluteUrl.js";
@@ -2,12 +2,12 @@ var b = Object.defineProperty;
2
2
  var k = (n, e, t) => e in n ? b(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var i = (n, e, t) => (k(n, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import * as a from "three";
5
+ import "../../shared-utils/tag.js";
5
6
  import "hammerjs";
6
7
  import { Subscribe as y } from "../../shared-utils/Subscribe.js";
7
8
  import "three/examples/jsm/renderers/CSS3DRenderer";
8
9
  import "@realsee/five/line";
9
10
  import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
10
- import "../../shared-utils/tag.js";
11
11
  import { Object3D as T } from "../../shared-utils/three/core/Object3D.js";
12
12
  import { LineSegments as C } from "../../shared-utils/three/core/LineSegments.js";
13
13
  import "../../shared-utils/three/core/Sphere.js";
@@ -17,8 +17,6 @@ import { LabelItem as v } from "../../components/AreaLabel/LabelItem.js";
17
17
  import { getCenterPointOfPoints as M } from "../../shared-utils/math/planimetry.js";
18
18
  import { resizeObserver as V } from "../../shared-utils/dom/resizeObserver.js";
19
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";
22
20
  import "../../shared-utils/positionToVector3.js";
23
21
  import "../../shared-utils/five/vector3ToScreen.js";
24
22
  import "../../shared-utils/five/getFiveModel.js";
@@ -26,6 +24,8 @@ import "../../shared-utils/Utils/FiveUtil.js";
26
24
  import "../../shared-utils/Utils/BaseUtil.js";
27
25
  import "../../shared-utils/Utils/WorkUtil.js";
28
26
  import "../../shared-utils/five/transformPosition.js";
27
+ import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
28
+ import "../../vendor/three/build/three.module.js";
29
29
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
30
30
  import "../../shared-utils/animationFrame/index.js";
31
31
  import "../../vendor/svelte/internal/index.js";
@@ -13,12 +13,12 @@ var p = (o, i, e) => i in o ? R(o, i, { enumerable: !0, configurable: !0, writab
13
13
  var s = (o, i, e) => (p(o, 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
+ import "../shared-utils/tag.js";
16
17
  import "three";
17
18
  import "hammerjs";
18
19
  import "three/examples/jsm/renderers/CSS3DRenderer";
19
20
  import "@realsee/five/line";
20
21
  import "../vendor/three/examples/jsm/lines/LineGeometry.js";
21
- import "../shared-utils/tag.js";
22
22
  import "../shared-utils/three/core/Sphere.js";
23
23
  import "animejs";
24
24
  import { absoluteUrl as P } from "../shared-utils/url/absoluteUrl.js";
@@ -39,8 +39,6 @@ import "./utils/three/CSS3DScene.js";
39
39
  import "./utils/getAllCSS3DObject.js";
40
40
  import "../shared-utils/util.js";
41
41
  import "./utils/three/CSS3DGroup.js";
42
- import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
43
- import "../vendor/three/build/three.module.js";
44
42
  import "../shared-utils/five/vector3ToScreen.js";
45
43
  import "../shared-utils/five/getFiveModel.js";
46
44
  import "../shared-utils/Utils/FiveUtil.js";
@@ -49,6 +47,8 @@ import "../shared-utils/Utils/WorkUtil.js";
49
47
  import "../shared-utils/five/transformPosition.js";
50
48
  import "../shared-utils/three/temp.js";
51
49
  import "../shared-utils/dom/resizeObserver.js";
50
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
51
+ import "../vendor/three/build/three.module.js";
52
52
  const b = "v2.0.1", E = `CSS3DRenderPlugin@${b}`;
53
53
  class ue extends j {
54
54
  constructor(e) {
@@ -1,15 +1,9 @@
1
1
  import o from "./Controller.js";
2
2
  import { CSS3DRender as O } from "./utils/three/CSS3DRender.js";
3
3
  import "./utils/generateBehindFiveElement.js";
4
- import "three";
5
- import "hammerjs";
6
- import "three/examples/jsm/renderers/CSS3DRenderer";
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";
11
4
  import "../shared-utils/tag.js";
12
5
  import "../shared-utils/positionToVector3.js";
6
+ import "three";
13
7
  import "../shared-utils/five/vector3ToScreen.js";
14
8
  import "../shared-utils/five/getFiveModel.js";
15
9
  import "../shared-utils/Utils/FiveUtil.js";
@@ -19,6 +13,12 @@ import "../shared-utils/Utils/WorkUtil.js";
19
13
  import "../shared-utils/five/transformPosition.js";
20
14
  import "../shared-utils/three/temp.js";
21
15
  import "../shared-utils/dom/resizeObserver.js";
16
+ import "hammerjs";
17
+ import "three/examples/jsm/renderers/CSS3DRenderer";
18
+ import "@realsee/five/line";
19
+ import "../vendor/three/examples/jsm/lines/LineGeometry.js";
20
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
21
+ import "../vendor/three/build/three.module.js";
22
22
  import "../shared-utils/three/core/Sphere.js";
23
23
  import "animejs";
24
24
  import "../shared-utils/url/absoluteUrl.js";
@@ -8,16 +8,14 @@ import { Subscribe as Q } from "../../../shared-utils/Subscribe.js";
8
8
  import R from "./OpacityMesh.js";
9
9
  import { centerPoint as L } from "../../../shared-utils/three/centerPoint.js";
10
10
  import { getObjectVisible as T } from "../../../shared-utils/three/getObjectVisible.js";
11
+ import "../../../shared-utils/tag.js";
11
12
  import "hammerjs";
12
13
  import "@realsee/five/line";
13
14
  import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
14
- import "../../../shared-utils/tag.js";
15
15
  import "../../../shared-utils/three/core/Sphere.js";
16
16
  import "animejs";
17
17
  import { isNil as O } from "../../../shared-utils/isNil.js";
18
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";
21
19
  import "../../../shared-utils/positionToVector3.js";
22
20
  import "../../../shared-utils/five/vector3ToScreen.js";
23
21
  import "../../../shared-utils/five/getFiveModel.js";
@@ -27,6 +25,8 @@ import "../../../shared-utils/Utils/WorkUtil.js";
27
25
  import "../../../shared-utils/five/transformPosition.js";
28
26
  import "../../../shared-utils/three/temp.js";
29
27
  import "../../../shared-utils/dom/resizeObserver.js";
28
+ import "../../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
29
+ import "../../../vendor/three/build/three.module.js";
30
30
  const $ = 1, W = `CSS3DObjectPlus@${$}`, k = 216e-5, z = 3e-3;
31
31
  class Pt extends N {
32
32
  constructor(t) {
@@ -42,11 +42,6 @@ import "../even.js";
42
42
  import "./OpacityMesh.js";
43
43
  import "../../../shared-utils/three/centerPoint.js";
44
44
  import "../../../shared-utils/three/getObjectVisible.js";
45
- import "hammerjs";
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";
50
45
  import "../../../shared-utils/tag.js";
51
46
  import "../../../shared-utils/five/vector3ToScreen.js";
52
47
  import "../../../shared-utils/five/getFiveModel.js";
@@ -56,6 +51,11 @@ import "../../../shared-utils/Utils/WorkUtil.js";
56
51
  import "../../../shared-utils/five/transformPosition.js";
57
52
  import "../../../shared-utils/three/temp.js";
58
53
  import "../../../shared-utils/dom/resizeObserver.js";
54
+ import "hammerjs";
55
+ import "@realsee/five/line";
56
+ import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
57
+ import "../../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
58
+ import "../../../vendor/three/build/three.module.js";
59
59
  import "../../../shared-utils/three/core/Sphere.js";
60
60
  import "animejs";
61
61
  import "../../../shared-utils/isNil.js";
@@ -27,30 +27,30 @@ var p = (a, s, e) => new Promise((t, i) => {
27
27
  n((e = e.apply(a, s)).next());
28
28
  });
29
29
  import { Controller as y } from "../base/BasePlugin.js";
30
- import { equal as L } from "../shared-utils/equal.js";
31
- import { objectAssignDeepExports as C } from "../vendor/object-assign-deep/objectAssignDeep.js";
32
- import "../shared-utils/Subscribe.js";
30
+ import "../shared-utils/tag.js";
33
31
  import "three";
34
32
  import "hammerjs";
35
33
  import "three/examples/jsm/renderers/CSS3DRenderer";
36
34
  import "@realsee/five/line";
37
35
  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";
40
- import "../shared-utils/tag.js";
41
- import "../shared-utils/positionToVector3.js";
42
- import "../shared-utils/five/vector3ToScreen.js";
43
- import "../shared-utils/five/getFiveModel.js";
36
+ import "../shared-utils/three/core/Sphere.js";
37
+ import "animejs";
38
+ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
39
+ import { equal as L } from "../shared-utils/equal.js";
40
+ import { objectAssignDeepExports as C } from "../vendor/object-assign-deep/objectAssignDeep.js";
41
+ import "../shared-utils/Subscribe.js";
44
42
  import "../shared-utils/Utils/FiveUtil.js";
45
43
  import "../shared-utils/Utils/BaseUtil.js";
46
44
  import "../shared-utils/Utils/WorkUtil.js";
47
45
  import "../shared-utils/five/transformPosition.js";
46
+ import "../shared-utils/five/getFiveModel.js";
47
+ import "../shared-utils/url/absoluteUrl.js";
48
+ import "../shared-utils/positionToVector3.js";
49
+ import "../shared-utils/five/vector3ToScreen.js";
48
50
  import "../shared-utils/three/temp.js";
49
51
  import "../shared-utils/dom/resizeObserver.js";
50
- import "../shared-utils/three/core/Sphere.js";
51
- import "animejs";
52
- import "../shared-utils/url/absoluteUrl.js";
53
- import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
52
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
53
+ import "../vendor/three/build/three.module.js";
54
54
  import "../shared-utils/isTruelyObject.js";
55
55
  const b = "CruisePlugin", l = `${b}`, T = (a) => `${l}--${a}`;
56
56
  class X extends y {
@@ -30,12 +30,12 @@ var w = (e, i, t) => new Promise((r, m) => {
30
30
  import z from "./BaseController.js";
31
31
  import { objectAssignDeepExports as g } from "../vendor/object-assign-deep/objectAssignDeep.js";
32
32
  import * as L from "three";
33
+ import "../shared-utils/tag.js";
33
34
  import "hammerjs";
34
35
  import "three/examples/jsm/renderers/CSS3DRenderer";
35
36
  import "@realsee/five/line";
36
37
  import "../vendor/three/examples/jsm/lines/LineGeometry.js";
37
38
  import { anyPositionToVector3 as O } from "../shared-utils/positionToVector3.js";
38
- import "../shared-utils/tag.js";
39
39
  import "../shared-utils/three/core/Sphere.js";
40
40
  import "animejs";
41
41
  import { uuid as A } from "../shared-utils/uuid.js";
@@ -52,11 +52,11 @@ import "../shared-utils/five/getFiveModel.js";
52
52
  import "../shared-utils/url/absoluteUrl.js";
53
53
  import "../shared-utils/equal.js";
54
54
  import "../shared-utils/isTruelyObject.js";
55
- import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
56
- import "../vendor/three/build/three.module.js";
57
55
  import "../shared-utils/five/vector3ToScreen.js";
58
56
  import "../shared-utils/three/temp.js";
59
57
  import "../shared-utils/dom/resizeObserver.js";
58
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
59
+ import "../vendor/three/build/three.module.js";
60
60
  import "../shared-utils/vectorToCoordinate.js";
61
61
  import "../shared-utils/formatRad.js";
62
62
  import "../GuideLinePlugin/Controller.js";
@@ -36,11 +36,11 @@ import { sleep as O } from "./utils/sleep.js";
36
36
  import { waitFiveLoaded as M } from "../shared-utils/five/fiveLoaded.js";
37
37
  import { vectorToCoordinates as A } from "../shared-utils/vectorToCoordinate.js";
38
38
  import G from "./BaseController.js";
39
+ import "../shared-utils/tag.js";
39
40
  import "hammerjs";
40
41
  import "three/examples/jsm/renderers/CSS3DRenderer";
41
42
  import "@realsee/five/line";
42
43
  import "../vendor/three/examples/jsm/lines/LineGeometry.js";
43
- import "../shared-utils/tag.js";
44
44
  import "../shared-utils/three/core/Sphere.js";
45
45
  import "animejs";
46
46
  import { notNil as Q } from "../shared-utils/isNil.js";
@@ -195,9 +195,9 @@ import "../CSS3DRenderPlugin/utils/even.js";
195
195
  import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
196
196
  import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
197
197
  import "../shared-utils/three/getObjectVisible.js";
198
+ import "../shared-utils/five/vector3ToScreen.js";
198
199
  import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
199
200
  import "../vendor/three/build/three.module.js";
200
- import "../shared-utils/five/vector3ToScreen.js";
201
201
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
202
202
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
203
203
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
@@ -6,15 +6,9 @@ import "../GuideLinePlugin/Controller.js";
6
6
  import "../base/BasePluginWithData.js";
7
7
  import "../base/BasePlugin.js";
8
8
  import "../shared-utils/Subscribe.js";
9
- import "three";
10
- import "hammerjs";
11
- import "three/examples/jsm/renderers/CSS3DRenderer";
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";
16
9
  import "../shared-utils/tag.js";
17
10
  import "../shared-utils/positionToVector3.js";
11
+ import "three";
18
12
  import "../shared-utils/five/vector3ToScreen.js";
19
13
  import "../shared-utils/five/getFiveModel.js";
20
14
  import "../shared-utils/Utils/FiveUtil.js";
@@ -23,10 +17,17 @@ import "../shared-utils/Utils/WorkUtil.js";
23
17
  import "../shared-utils/five/transformPosition.js";
24
18
  import "../shared-utils/three/temp.js";
25
19
  import "../shared-utils/dom/resizeObserver.js";
20
+ import "hammerjs";
21
+ import "three/examples/jsm/renderers/CSS3DRenderer";
22
+ import "@realsee/five/line";
23
+ import "../vendor/three/examples/jsm/lines/LineGeometry.js";
24
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
25
+ import "../vendor/three/build/three.module.js";
26
26
  import "../shared-utils/three/core/Sphere.js";
27
27
  import "animejs";
28
28
  import "../shared-utils/url/absoluteUrl.js";
29
29
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
30
+ import "../shared-utils/uuid.js";
30
31
  import "../shared-utils/equal.js";
31
32
  import "../shared-utils/isTruelyObject.js";
32
33
  import "../GuideLinePlugin/GuideLineItem/index.js";
@@ -63,7 +64,6 @@ import "../PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
63
64
  import "../PanoTagPlugin/Components/Common/Line/Straight.js";
64
65
  import "../vendor/svelte/transition/index.js";
65
66
  import "../vendor/svelte/easing/index.js";
66
- import "../shared-utils/uuid.js";
67
67
  import "../PanoTagPlugin/Components/Common/Shadow.js";
68
68
  import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
69
69
  import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
@@ -29,11 +29,11 @@ var u = (r, o, e) => new Promise((i, t) => {
29
29
  import * as h from "three";
30
30
  import { Controller as M } from "../base/BasePlugin.js";
31
31
  import { tweenProgress as A } from "../shared-utils/animationFrame/BetterTween.js";
32
+ import "../shared-utils/tag.js";
32
33
  import "hammerjs";
33
34
  import "three/examples/jsm/renderers/CSS3DRenderer";
34
35
  import "@realsee/five/line";
35
36
  import "../vendor/three/examples/jsm/lines/LineGeometry.js";
36
- import "../shared-utils/tag.js";
37
37
  import "../shared-utils/three/core/Sphere.js";
38
38
  import "animejs";
39
39
  import { equal as P } from "../shared-utils/equal.js";
@@ -47,12 +47,12 @@ import "../shared-utils/five/getFiveModel.js";
47
47
  import "../shared-utils/url/absoluteUrl.js";
48
48
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
49
49
  import "../shared-utils/animationFrame/index.js";
50
- import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
51
- import "../vendor/three/build/three.module.js";
52
50
  import "../shared-utils/positionToVector3.js";
53
51
  import "../shared-utils/five/vector3ToScreen.js";
54
52
  import "../shared-utils/three/temp.js";
55
53
  import "../shared-utils/dom/resizeObserver.js";
54
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
55
+ import "../vendor/three/build/three.module.js";
56
56
  import "../shared-utils/isTruelyObject.js";
57
57
  class N extends M {
58
58
  constructor(e, i) {
@@ -2,12 +2,6 @@ import { CurrentPanoImagePluginController as t } from "./Controller.js";
2
2
  import "three";
3
3
  import "../base/BasePlugin.js";
4
4
  import "../shared-utils/Subscribe.js";
5
- import "hammerjs";
6
- import "three/examples/jsm/renderers/CSS3DRenderer";
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";
11
5
  import "../shared-utils/tag.js";
12
6
  import "../shared-utils/positionToVector3.js";
13
7
  import "../shared-utils/five/vector3ToScreen.js";
@@ -18,6 +12,12 @@ import "../shared-utils/Utils/WorkUtil.js";
18
12
  import "../shared-utils/five/transformPosition.js";
19
13
  import "../shared-utils/three/temp.js";
20
14
  import "../shared-utils/dom/resizeObserver.js";
15
+ import "hammerjs";
16
+ import "three/examples/jsm/renderers/CSS3DRenderer";
17
+ import "@realsee/five/line";
18
+ import "../vendor/three/examples/jsm/lines/LineGeometry.js";
19
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
20
+ import "../vendor/three/build/three.module.js";
21
21
  import "../shared-utils/three/core/Sphere.js";
22
22
  import "animejs";
23
23
  import "../shared-utils/url/absoluteUrl.js";
@@ -27,20 +27,20 @@ var u = (s, o, t) => new Promise((i, a) => {
27
27
  r((t = t.apply(s, o)).next());
28
28
  });
29
29
  import { Controller as N } from "../base/BasePluginWithData.js";
30
- import { equal as $ } from "../shared-utils/equal.js";
31
- import { GuideLineItem as P } from "./GuideLineItem/index.js";
32
- import W from "../CruisePlugin/Work.js";
33
- import { objectAssignDeepExports as S } from "../vendor/object-assign-deep/objectAssignDeep.js";
34
- import * as V from "three";
30
+ import "../shared-utils/tag.js";
31
+ import * as S from "three";
35
32
  import "hammerjs";
36
33
  import "three/examples/jsm/renderers/CSS3DRenderer";
37
34
  import "@realsee/five/line";
38
35
  import "../vendor/three/examples/jsm/lines/LineGeometry.js";
39
- import "../shared-utils/tag.js";
40
36
  import "../shared-utils/three/core/Sphere.js";
41
37
  import "animejs";
42
- import { uuid as H } from "../shared-utils/uuid.js";
38
+ import { uuid as $ } from "../shared-utils/uuid.js";
43
39
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
40
+ import { equal as P } from "../shared-utils/equal.js";
41
+ import { GuideLineItem as W } from "./GuideLineItem/index.js";
42
+ import H from "../CruisePlugin/Work.js";
43
+ import { objectAssignDeepExports as V } from "../vendor/object-assign-deep/objectAssignDeep.js";
44
44
  import { waitFiveModelLoaded as U } from "../shared-utils/five/fiveModelLoad.js";
45
45
  import "../base/BasePlugin.js";
46
46
  import "../shared-utils/Subscribe.js";
@@ -50,6 +50,12 @@ import "../shared-utils/Utils/WorkUtil.js";
50
50
  import "../shared-utils/five/transformPosition.js";
51
51
  import "../shared-utils/five/getFiveModel.js";
52
52
  import "../shared-utils/url/absoluteUrl.js";
53
+ import "../shared-utils/positionToVector3.js";
54
+ import "../shared-utils/five/vector3ToScreen.js";
55
+ import "../shared-utils/three/temp.js";
56
+ import "../shared-utils/dom/resizeObserver.js";
57
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
58
+ import "../vendor/three/build/three.module.js";
53
59
  import "../shared-utils/isTruelyObject.js";
54
60
  import "./GuideLineModeItem/index.js";
55
61
  import "../shared-utils/log.js";
@@ -70,13 +76,11 @@ import "../shared-utils/animationFrame/BetterTween.js";
70
76
  import "../shared-utils/animationFrame/index.js";
71
77
  import "../shared-utils/three/loadTexture.js";
72
78
  import "../PanoTagPlugin/controller/index.js";
73
- import "../shared-utils/positionToVector3.js";
74
79
  import "../PanoTagPlugin/utils/tag/tagCheck.js";
75
80
  import "../PanoTagPlugin/utils/debounce.js";
76
81
  import "../PanoTagPlugin/utils/throttle.js";
77
82
  import "../PanoTagPlugin/utils/tag/format.js";
78
83
  import "../shared-utils/audio.js";
79
- import "../shared-utils/dom/resizeObserver.js";
80
84
  import "../PanoTagPlugin/controller/TagRender.js";
81
85
  import "../PanoTagPlugin/Components/Tag/index.js";
82
86
  import "../vendor/svelte/internal/index.js";
@@ -175,7 +179,6 @@ import "../shared-utils/url/getUrl.js";
175
179
  import "../shared-utils/five/getFloorIndex.js";
176
180
  import "../shared-utils/safeObj.js";
177
181
  import "../PanoTagPlugin/utils/Cache.js";
178
- import "../shared-utils/three/temp.js";
179
182
  import "../PanoTagPlugin/controller/TagUtil.js";
180
183
  import "../PanoTagPlugin/tag.config.js";
181
184
  import "../PanoTagPlugin/utils/normalPositionToPositions.js";
@@ -190,9 +193,6 @@ import "../CSS3DRenderPlugin/utils/even.js";
190
193
  import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
191
194
  import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
192
195
  import "../shared-utils/three/getObjectVisible.js";
193
- import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
194
- import "../vendor/three/build/three.module.js";
195
- import "../shared-utils/five/vector3ToScreen.js";
196
196
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
197
197
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
198
198
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
@@ -243,7 +243,7 @@ class De extends N {
243
243
  h(this, "disposedErrorLog", () => {
244
244
  console.error(`${g} is disposed`);
245
245
  });
246
- this._config = i != null ? i : {}, this.cruisePlugin = new W(t), Object.assign(window, { [`__${b}_DEBUG__`]: this });
246
+ this._config = i != null ? i : {}, this.cruisePlugin = new H(t), Object.assign(window, { [`__${b}_DEBUG__`]: this });
247
247
  }
248
248
  get config() {
249
249
  return this._config;
@@ -267,8 +267,8 @@ class De extends N {
267
267
  }
268
268
  }, d = (D = (w = e.routes) == null ? void 0 : w.map((l) => {
269
269
  var A;
270
- return S({}, n, { id: (A = l.id) != null ? A : H(), pano_group: l.panoIndexList });
271
- })) != null ? D : [], M = (L = (y = e.lines) == null ? void 0 : y.map((l) => S({}, n, l))) != null ? L : [], O = [...d, ...M];
270
+ return V({}, n, { id: (A = l.id) != null ? A : $(), pano_group: l.panoIndexList });
271
+ })) != null ? D : [], M = (L = (y = e.lines) == null ? void 0 : y.map((l) => V({}, n, l))) != null ? L : [], O = [...d, ...M];
272
272
  yield U(this.five), this.clear(), O.forEach((l) => {
273
273
  this.addGuideLineItem(l);
274
274
  }), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: a }), this.hooks.emit("dataLoaded", e), console.debug(`${g} loaded`, e);
@@ -308,13 +308,13 @@ class De extends N {
308
308
  if (this.disposed)
309
309
  return this.disposedErrorLog();
310
310
  const a = f({}, this.state);
311
- this.state = f(f({}, this.state), t), t.visible !== void 0 && t.visible !== a.visible && this.handleVisible(t.visible, i == null ? void 0 : i.userAction), t.enabled !== void 0 && t.enabled !== a.enabled && this.handleEnable(t.enabled, i == null ? void 0 : i.userAction), $(a, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: a, userAction: (p = i == null ? void 0 : i.userAction) != null ? p : !0 }), this.five.needsRender = !0);
311
+ this.state = f(f({}, this.state), t), t.visible !== void 0 && t.visible !== a.visible && this.handleVisible(t.visible, i == null ? void 0 : i.userAction), t.enabled !== void 0 && t.enabled !== a.enabled && this.handleEnable(t.enabled, i == null ? void 0 : i.userAction), P(a, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: a, userAction: (p = i == null ? void 0 : i.userAction) != null ? p : !0 }), this.five.needsRender = !0);
312
312
  }
313
313
  /** 添加一个 GuideLineItem */
314
314
  addGuideLineItem(t) {
315
315
  const i = t.render_id || t.id, a = this.itemMap.get(i);
316
316
  a && this.removeGuideLineItem(a);
317
- const p = new P({ five: this.five, id: i, plugin: this });
317
+ const p = new W({ five: this.five, id: i, plugin: this });
318
318
  return this.itemMap.set(i, p), t && p.setData(t), this.heightOffset += 1e-4, p.modelItem.setHeightOffset(this.heightOffset), p.panoramaItem.setHeightOffset(this.heightOffset), p;
319
319
  }
320
320
  /** 获取 Plugin 内的 GuideLineItem */
@@ -332,7 +332,7 @@ class De extends N {
332
332
  return Array.isArray(e) && e.every((r) => typeof r == "number");
333
333
  }
334
334
  function a(e, r) {
335
- return new V.Vector3().fromArray(e).distanceTo(new V.Vector3().fromArray(r)) < 0.01;
335
+ return new S.Vector3().fromArray(e).distanceTo(new S.Vector3().fromArray(r)) < 0.01;
336
336
  }
337
337
  function p(e) {
338
338
  var m;
@@ -16,13 +16,6 @@ import "../vendor/gl-vec2/normalize.js";
16
16
  import "../vendor/gl-vec2/subtract.js";
17
17
  import "../vendor/gl-vec2/dot.js";
18
18
  import "../shared-utils/math/intersecting.js";
19
- import "../shared-utils/five/mode.js";
20
- import "hammerjs";
21
- import "three/examples/jsm/renderers/CSS3DRenderer";
22
- import "@realsee/five/line";
23
- import "../vendor/three/examples/jsm/lines/LineGeometry.js";
24
- import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
25
- import "../vendor/three/build/three.module.js";
26
19
  import "../shared-utils/tag.js";
27
20
  import "../shared-utils/positionToVector3.js";
28
21
  import "../shared-utils/five/vector3ToScreen.js";
@@ -33,6 +26,13 @@ import "../shared-utils/Utils/WorkUtil.js";
33
26
  import "../shared-utils/five/transformPosition.js";
34
27
  import "../shared-utils/three/temp.js";
35
28
  import "../shared-utils/dom/resizeObserver.js";
29
+ import "../shared-utils/five/mode.js";
30
+ import "hammerjs";
31
+ import "three/examples/jsm/renderers/CSS3DRenderer";
32
+ import "@realsee/five/line";
33
+ import "../vendor/three/examples/jsm/lines/LineGeometry.js";
34
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
35
+ import "../vendor/three/build/three.module.js";
36
36
  import "../shared-utils/three/core/Sphere.js";
37
37
  import "../shared-utils/three/blink.js";
38
38
  import "animejs";