@realsee/dnalogel 3.49.0 → 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 (125) hide show
  1. package/CHANGELOG.md +6 -1
  2. package/dist/Sculpt/Meshes/Line.d.ts +2 -1
  3. package/dist/index.cjs.js +3008 -87
  4. package/dist/index.js +39458 -20049
  5. package/dist/index.umd.js +3001 -80
  6. package/dist/shared-utils/three/index.d.ts +1 -1
  7. package/libs/AreaMakerPlugin/Controller.js +7 -4
  8. package/libs/AreaMakerPlugin/index.js +7 -4
  9. package/libs/AreaMakerPlugin/utils/Item.js +7 -4
  10. package/libs/CSS3DRenderPlugin/Controller.js +12 -9
  11. package/libs/CSS3DRenderPlugin/index.js +9 -6
  12. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +21 -18
  13. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +6 -3
  14. package/libs/CruisePlugin/BaseController.js +12 -9
  15. package/libs/CruisePlugin/Move.js +7 -4
  16. package/libs/CruisePlugin/Work.js +7 -4
  17. package/libs/CruisePlugin/index.js +11 -8
  18. package/libs/CurrentPanoImagePlugin/Controller.js +6 -3
  19. package/libs/CurrentPanoImagePlugin/index.js +7 -4
  20. package/libs/GuideLinePlugin/Controller.js +9 -6
  21. package/libs/GuideLinePlugin/GuideLineItem.js +7 -4
  22. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +4 -3
  23. package/libs/GuideLinePlugin/GuideLineModeItem.js +7 -4
  24. package/libs/GuideLinePlugin/index.js +11 -8
  25. package/libs/ModelMakerPlugin/Controller.js +7 -4
  26. package/libs/ModelMakerPlugin/index.js +7 -4
  27. package/libs/ModelMakerPlugin/item/baseItem.js +2 -2
  28. package/libs/ModelMakerPlugin/item/boxItem.js +2 -2
  29. package/libs/ModelMakerPlugin/item/polygonItem.js +2 -2
  30. package/libs/ModelMakerPlugin/item/prismItem.js +2 -2
  31. package/libs/ModelMakerPlugin/utils/getFiveDomEvent.js +1 -1
  32. package/libs/ModelTVVideoPlugin/Plugin.js +7 -4
  33. package/libs/ModelTVVideoPlugin/index.js +6 -3
  34. package/libs/Object3DHelperPlugin/Controller.js +6 -3
  35. package/libs/Object3DHelperPlugin/index.js +9 -6
  36. package/libs/PanoCompassPlugin/Controller.js +6 -3
  37. package/libs/PanoCompassPlugin/index.js +7 -4
  38. package/libs/PanoDoorLabelPlugin/BaseController.js +16 -13
  39. package/libs/PanoDoorLabelPlugin/Controller.js +58 -55
  40. package/libs/PanoDoorLabelPlugin/index.js +7 -4
  41. package/libs/PanoMeasurePlugin/Components/Controller0.js +6 -3
  42. package/libs/PanoMeasurePlugin/Components/Controller1.js +6 -3
  43. package/libs/PanoMeasurePlugin/Controller/EditController.js +6 -3
  44. package/libs/PanoMeasurePlugin/Controller/WatchController.js +6 -3
  45. package/libs/PanoMeasurePlugin/Controller/index.js +6 -3
  46. package/libs/PanoMeasurePlugin/Model/area.js +6 -3
  47. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +4 -1
  48. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +6 -3
  49. package/libs/PanoMeasurePlugin/index.js +17 -14
  50. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +16 -13
  51. package/libs/PanoSpatialTagPlugin/Plugin.js +7 -4
  52. package/libs/PanoSpatialTagPlugin/index.js +4 -1
  53. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +24 -21
  54. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +6 -3
  55. package/libs/PanoTagPlugin/Components/Tag/index.js +6 -3
  56. package/libs/PanoTagPlugin/Components/TagContainer.js +6 -3
  57. package/libs/PanoTagPlugin/Components/TagItem.js +6 -3
  58. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +11 -5
  59. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +14 -11
  60. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +12 -9
  61. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +10 -7
  62. package/libs/PanoTagPlugin/controller/TagRender.js +7 -4
  63. package/libs/PanoTagPlugin/controller/TagUtil.js +7 -4
  64. package/libs/PanoTagPlugin/controller/index.js +10 -7
  65. package/libs/PanoTagPlugin/index.js +16 -13
  66. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +25 -22
  67. package/libs/PanoVideoPlugin/Controller.js +9 -6
  68. package/libs/PanoVideoPlugin/VideoMeshController.js +6 -3
  69. package/libs/PanoVideoPlugin/index.js +9 -6
  70. package/libs/PipelinePlugin/Controller.js +13 -10
  71. package/libs/PipelinePlugin/index.js +7 -4
  72. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +6 -3
  73. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +16 -13
  74. package/libs/PipelinePlugin/utils/Objects/Pipe.js +20 -17
  75. package/libs/Sculpt/Meshes/Box.js +7 -6
  76. package/libs/Sculpt/Meshes/Cylinder.js +4 -3
  77. package/libs/Sculpt/Meshes/Line.d.ts +2 -1
  78. package/libs/Sculpt/Meshes/Line.js +11 -10
  79. package/libs/Sculpt/Meshes/LineWithDots.js +1 -1
  80. package/libs/Sculpt/Meshes/Point.js +11 -10
  81. package/libs/Sculpt/Meshes/PolygonWithEdge.js +1 -1
  82. package/libs/Sculpt/Meshes/Polyline.js +31 -31
  83. package/libs/Sculpt/Meshes/Prism.js +2 -2
  84. package/libs/Sculpt/Meshes/Rectangle.js +5 -4
  85. package/libs/Sculpt/Objects/Line/Editor.js +4 -3
  86. package/libs/Sculpt/index.js +4 -3
  87. package/libs/Sculpt/utils/three/ColoredMesh.js +5 -4
  88. package/libs/base/BasePlugin.js +5 -4
  89. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +6 -3
  90. package/libs/floorplan/MapviewFloorplanPlugin/index.js +7 -4
  91. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +6 -3
  92. package/libs/floorplan/ModelFloorplanPlugin/index.js +7 -4
  93. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +6 -3
  94. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +7 -4
  95. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +6 -3
  96. package/libs/floorplan/TopviewFloorplanPlugin/index.js +7 -4
  97. package/libs/floorplan/index.js +2 -1
  98. package/libs/index.js +131 -128
  99. package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +1 -1
  100. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +1 -1
  101. package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -1
  102. package/libs/shared-utils/five/FiveDomEvents.js +1 -1
  103. package/libs/shared-utils/five/FiveLine.js +6 -18
  104. package/libs/shared-utils/five/index.js +4 -3
  105. package/libs/shared-utils/five/lookObject.js +18 -17
  106. package/libs/shared-utils/index.js +1 -1
  107. package/libs/shared-utils/logger.js +1 -1
  108. package/libs/shared-utils/three/PointSelector/index.js +24 -22
  109. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +1 -1
  110. package/libs/shared-utils/three/boundingBox.js +1 -1
  111. package/libs/shared-utils/three/index.d.ts +1 -1
  112. package/libs/shared-utils/three/index.js +2 -1
  113. package/libs/vendor/three/build/three.module.js +19336 -0
  114. package/libs/vendor/three/examples/jsm/lines/LineGeometry.js +28 -0
  115. package/libs/vendor/three/examples/jsm/lines/LineSegmentsGeometry.js +69 -0
  116. package/package.json +1 -1
  117. /package/dist/shared-utils/three/{objects → core}/LineSegments.d.ts +0 -0
  118. /package/dist/shared-utils/three/{THREERaycaster.d.ts → core/Raycaster.d.ts} +0 -0
  119. /package/dist/shared-utils/three/{THREESphere.d.ts → core/Sphere.d.ts} +0 -0
  120. /package/libs/shared-utils/three/{objects → core}/LineSegments.d.ts +0 -0
  121. /package/libs/shared-utils/three/{objects → core}/LineSegments.js +0 -0
  122. /package/libs/shared-utils/three/{THREERaycaster.d.ts → core/Raycaster.d.ts} +0 -0
  123. /package/libs/shared-utils/three/{THREERaycaster.js → core/Raycaster.js} +0 -0
  124. /package/libs/shared-utils/three/{THREESphere.d.ts → core/Sphere.d.ts} +0 -0
  125. /package/libs/shared-utils/three/{THREESphere.js → core/Sphere.js} +0 -0
@@ -1,16 +1,17 @@
1
1
  import t from "./Controller/index.js";
2
2
  import "three";
3
- import { Magnifier as ur } from "../shared-utils/three/Magnifier.js";
3
+ import { Magnifier as sr } from "../shared-utils/three/Magnifier.js";
4
4
  import "three/examples/jsm/renderers/CSS3DRenderer";
5
5
  import "@realsee/five/line";
6
+ import "../vendor/three/examples/jsm/lines/LineGeometry.js";
6
7
  import "../shared-utils/tag.js";
7
- import "../shared-utils/three/THREESphere.js";
8
+ import "../shared-utils/three/core/Sphere.js";
8
9
  import "animejs";
9
10
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
10
- import { Model as Pr } from "./Model/index.js";
11
- import { default as fr } from "./Model/point.js";
12
- import { default as gr } from "./Model/line.js";
13
- import { Polyline as dr } from "./Model/polyline.js";
11
+ import { Model as Mr } from "./Model/index.js";
12
+ import { default as xr } from "./Model/point.js";
13
+ import { default as cr } from "./Model/line.js";
14
+ import { Polyline as wr } from "./Model/polyline.js";
14
15
  import "./Controller/EditController.js";
15
16
  import "../shared-utils/throttle.js";
16
17
  import "./Controller/BaseController.js";
@@ -36,6 +37,8 @@ import "./utils/dom/areaDom.js";
36
37
  import "../shared-utils/three/geometryUtil.js";
37
38
  import "hammerjs";
38
39
  import "../shared-utils/isNil.js";
40
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
41
+ import "../vendor/three/build/three.module.js";
39
42
  import "../shared-utils/positionToVector3.js";
40
43
  import "../shared-utils/five/vector3ToScreen.js";
41
44
  import "../shared-utils/five/getFiveModel.js";
@@ -112,15 +115,15 @@ import "./Controller/ShortcutKeyController.js";
112
115
  import "../shared-utils/safeObj.js";
113
116
  import "../base/BasePlugin.js";
114
117
  import "../shared-utils/url/absoluteUrl.js";
115
- const er = function(o, r) {
118
+ const ur = function(o, r) {
116
119
  return new t(o, r);
117
120
  };
118
121
  export {
119
- ur as Magnifier,
120
- er as PanoMeasurePlugin,
121
- gr as PanoMeasurePluginLine,
122
- Pr as PanoMeasurePluginModel,
123
- fr as PanoMeasurePluginPoint,
124
- dr as PanoMeasurePluginPolyline,
125
- er as default
122
+ sr as Magnifier,
123
+ ur as PanoMeasurePlugin,
124
+ cr as PanoMeasurePluginLine,
125
+ Mr as PanoMeasurePluginModel,
126
+ xr as PanoMeasurePluginPoint,
127
+ wr as PanoMeasurePluginPolyline,
128
+ ur as default
126
129
  };
@@ -2,28 +2,31 @@ var u = Object.defineProperty, D = Object.defineProperties;
2
2
  var f = Object.getOwnPropertyDescriptors;
3
3
  var h = Object.getOwnPropertySymbols;
4
4
  var A = Object.prototype.hasOwnProperty, T = Object.prototype.propertyIsEnumerable;
5
- var m = (e, o, t) => o in e ? u(e, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[o] = t, p = (e, o) => {
5
+ var m = (i, o, t) => o in i ? u(i, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[o] = t, p = (i, o) => {
6
6
  for (var t in o || (o = {}))
7
- A.call(o, t) && m(e, t, o[t]);
7
+ A.call(o, t) && m(i, t, o[t]);
8
8
  if (h)
9
9
  for (var t of h(o))
10
- T.call(o, t) && m(e, t, o[t]);
11
- return e;
12
- }, s = (e, o) => D(e, f(o));
13
- var l = (e, o, t) => (m(e, typeof o != "symbol" ? o + "" : o, t), t);
10
+ T.call(o, t) && m(i, t, o[t]);
11
+ return i;
12
+ }, s = (i, o) => D(i, f(o));
13
+ var l = (i, o, t) => (m(i, typeof o != "symbol" ? o + "" : o, t), t);
14
14
  import { ItemDom as y } from "./base.js";
15
15
  import { getGeometryInfo as I } from "../../../shared-utils/three/geometryUtil.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 { isNil as P } from "../../../shared-utils/isNil.js";
24
25
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
25
26
  import "../isNDCPointInScreen.js";
26
27
  import "../../../shared-utils/three/centerPoint.js";
28
+ import "../../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
29
+ import "../../../vendor/three/build/three.module.js";
27
30
  import "../../../shared-utils/positionToVector3.js";
28
31
  import "../../../shared-utils/five/vector3ToScreen.js";
29
32
  import "../../../shared-utils/five/getFiveModel.js";
@@ -33,7 +36,7 @@ import "../../../shared-utils/Subscribe.js";
33
36
  import "../../../shared-utils/Utils/WorkUtil.js";
34
37
  import "../../../shared-utils/five/transformPosition.js";
35
38
  import "../../../shared-utils/three/temp.js";
36
- class U extends y {
39
+ class X extends y {
37
40
  constructor(t) {
38
41
  t.containerStyle = s(p({}, t.containerStyle), {
39
42
  zIndex: "1"
@@ -48,9 +51,9 @@ class U extends y {
48
51
  /**
49
52
  * @description: dom 依赖的多边形的顶点的位置更新时,更新 dom 的位置和面积
50
53
  */
51
- updateArea(t, i) {
54
+ updateArea(t, e) {
52
55
  var c, d;
53
- const n = i != null ? i : this.area.polygon.geometry, r = I(n);
56
+ const n = e != null ? e : this.area.polygon.geometry, r = I(n);
54
57
  if (!r) {
55
58
  this.ndcPosition = null, this.updateDomPosition(t);
56
59
  return;
@@ -58,11 +61,11 @@ class U extends y {
58
61
  const { area: a, center: x } = r;
59
62
  this.ndcPosition = x, this.updateDomPosition(t), (d = (c = this.area.model) == null ? void 0 : c.config) != null && d.getAreaText ? this.contentDom.innerText = this.area.model.config.getAreaText(a) : this.updateAreaText(a, { fix: 2 });
60
63
  }
61
- updateAreaText(t, i) {
62
- const { unit: n = "m²", fix: r } = i != null ? i : {};
64
+ updateAreaText(t, e) {
65
+ const { unit: n = "m²", fix: r } = e != null ? e : {};
63
66
  this.contentDom.innerText = `${P(r) ? t : t.toFixed(r)}${n}`;
64
67
  }
65
68
  }
66
69
  export {
67
- U as AreaItem
70
+ X as AreaItem
68
71
  };
@@ -20,6 +20,9 @@ import "../shared-utils/three/centerPoint.js";
20
20
  import "../shared-utils/three/getObjectVisible.js";
21
21
  import "hammerjs";
22
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";
23
26
  import "../shared-utils/tag.js";
24
27
  import "../shared-utils/five/vector3ToScreen.js";
25
28
  import "../shared-utils/five/getFiveModel.js";
@@ -28,7 +31,7 @@ import "../shared-utils/Utils/BaseUtil.js";
28
31
  import "../shared-utils/Utils/WorkUtil.js";
29
32
  import "../shared-utils/five/transformPosition.js";
30
33
  import "../shared-utils/three/temp.js";
31
- import "../shared-utils/three/THREESphere.js";
34
+ import "../shared-utils/three/core/Sphere.js";
32
35
  import "animejs";
33
36
  import "../shared-utils/isNil.js";
34
37
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -42,7 +45,7 @@ import "../shared-utils/five/fiveModelLoad.js";
42
45
  import "../vendor/svelte/internal/index.js";
43
46
  import "./store.js";
44
47
  import "../vendor/svelte/store/index.js";
45
- const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", he = (n, r) => {
48
+ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", ye = (n, r) => {
46
49
  var k, z, q, B, G, J, K, Q;
47
50
  let j = r == null ? void 0 : r.container, y = 1.4;
48
51
  const oo = (k = r == null ? void 0 : r.wait) != null ? k : 200, eo = (z = r == null ? void 0 : r.maxNumberOnScreen) != null ? z : 3, I = (q = r == null ? void 0 : r.minRad) != null ? q : Math.PI / 4, L = (B = r == null ? void 0 : r.nearTolerance) != null ? B : 100, to = (G = r == null ? void 0 : r.upsideHeight) != null ? G : 1.6, A = (J = r == null ? void 0 : r.minDistance) != null ? J : 1.2, f = (K = r == null ? void 0 : r.maxDistance) != null ? K : 3.5, C = Mo(n), S = document.createElement("div");
@@ -267,6 +270,6 @@ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoS
267
270
  };
268
271
  };
269
272
  export {
270
- he as PanoSpatialTagPlugin,
271
- he as default
273
+ ye as PanoSpatialTagPlugin,
274
+ ye as default
272
275
  };
@@ -17,6 +17,9 @@ import "../shared-utils/three/centerPoint.js";
17
17
  import "../shared-utils/three/getObjectVisible.js";
18
18
  import "hammerjs";
19
19
  import "@realsee/five/line";
20
+ import "../vendor/three/examples/jsm/lines/LineGeometry.js";
21
+ import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
22
+ import "../vendor/three/build/three.module.js";
20
23
  import "../shared-utils/tag.js";
21
24
  import "../shared-utils/five/vector3ToScreen.js";
22
25
  import "../shared-utils/five/getFiveModel.js";
@@ -25,7 +28,7 @@ import "../shared-utils/Utils/BaseUtil.js";
25
28
  import "../shared-utils/Utils/WorkUtil.js";
26
29
  import "../shared-utils/five/transformPosition.js";
27
30
  import "../shared-utils/three/temp.js";
28
- import "../shared-utils/three/THREESphere.js";
31
+ import "../shared-utils/three/core/Sphere.js";
29
32
  import "animejs";
30
33
  import "../shared-utils/isNil.js";
31
34
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -7,8 +7,9 @@ import "three";
7
7
  import "hammerjs";
8
8
  import "three/examples/jsm/renderers/CSS3DRenderer";
9
9
  import "@realsee/five/line";
10
+ import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
10
11
  import "../../../shared-utils/tag.js";
11
- import "../../../shared-utils/three/THREESphere.js";
12
+ import "../../../shared-utils/three/core/Sphere.js";
12
13
  import "animejs";
13
14
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
14
15
  import "../../../vendor/svelte/transition/index.js";
@@ -16,6 +17,8 @@ import "../../../vendor/svelte/easing/index.js";
16
17
  import "../../utils/noTypecheck.js";
17
18
  import "../../utils/getImageInfo.js";
18
19
  import "../../utils/px2rem.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";
@@ -29,7 +32,7 @@ function Q(t) {
29
32
  U(t, "svelte-7aiuwz", '@charset "UTF-8";.tag-point-click-helper.svelte-7aiuwz.svelte-7aiuwz{position:absolute;pointer-events:auto;cursor:pointer;width:calc(100% + 0.75rem);height:calc(100% + 0.75rem);left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-7aiuwz.svelte-7aiuwz{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.tag-folded-point.svelte-7aiuwz.svelte-7aiuwz,.tag-unfolded-point.svelte-7aiuwz.svelte-7aiuwz{transition:all 0.5s}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-7aiuwz .tag-folded-point.svelte-7aiuwz{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-7aiuwz .tag-folded-point.svelte-7aiuwz{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{opacity:1;scale:1}');
30
33
  }
31
34
  function V(t) {
32
- let o, r, u, p, c, d, w, e, a, l, g, v;
35
+ let o, a, u, p, c, d, w, e, r, l, g, v;
33
36
  return p = new H({
34
37
  props: {
35
38
  center: !0,
@@ -37,7 +40,7 @@ function V(t) {
37
40
  spreadRadius: 5,
38
41
  opacity: 0.3
39
42
  }
40
- }), a = new J({
43
+ }), r = new J({
41
44
  props: {
42
45
  icon: (
43
46
  /*url*/
@@ -48,13 +51,13 @@ function V(t) {
48
51
  t[1]
49
52
  )
50
53
  }
51
- }), a.$on(
54
+ }), r.$on(
52
55
  "iconLoaded",
53
56
  /*iconLoaded_handler*/
54
57
  t[7]
55
58
  ), {
56
59
  c() {
57
- o = h("div"), r = h("div"), u = _(), S(p.$$.fragment), c = _(), d = h("div"), w = _(), e = h("div"), S(a.$$.fragment), z(r, "class", "tag-point-click-helper svelte-7aiuwz"), z(d, "class", "tag-unfolded-point svelte-7aiuwz"), y(
60
+ o = h("div"), a = h("div"), u = _(), S(p.$$.fragment), c = _(), d = h("div"), w = _(), e = h("div"), S(r.$$.fragment), z(a, "class", "tag-point-click-helper svelte-7aiuwz"), z(d, "class", "tag-unfolded-point svelte-7aiuwz"), y(
58
61
  d,
59
62
  "transition-delay",
60
63
  /*folded*/
@@ -83,8 +86,8 @@ function V(t) {
83
86
  );
84
87
  },
85
88
  m(i, s) {
86
- W(i, o, s), m(o, r), m(o, u), A(p, o, null), m(o, c), m(o, d), m(o, w), m(o, e), A(a, e, null), l = !0, g || (v = X(
87
- r,
89
+ W(i, o, s), m(o, a), m(o, u), A(p, o, null), m(o, c), m(o, d), m(o, w), m(o, e), A(r, e, null), l = !0, g || (v = X(
90
+ a,
88
91
  "click",
89
92
  /*handlePointClick*/
90
93
  t[4]
@@ -106,7 +109,7 @@ function V(t) {
106
109
  4 && (n.icon = /*url*/
107
110
  i[2]), s & /*width*/
108
111
  2 && (n.width = /*width*/
109
- i[1]), a.$set(n), s & /*folded*/
112
+ i[1]), r.$set(n), s & /*folded*/
110
113
  8 && y(
111
114
  e,
112
115
  "transition-delay",
@@ -130,22 +133,22 @@ function V(t) {
130
133
  );
131
134
  },
132
135
  i(i) {
133
- l || (D(p.$$.fragment, i), D(a.$$.fragment, i), l = !0);
136
+ l || (D(p.$$.fragment, i), D(r.$$.fragment, i), l = !0);
134
137
  },
135
138
  o(i) {
136
- I(p.$$.fragment, i), I(a.$$.fragment, i), l = !1;
139
+ I(p.$$.fragment, i), I(r.$$.fragment, i), l = !1;
137
140
  },
138
141
  d(i) {
139
- i && B(o), R(p), R(a), g = !1, v();
142
+ i && B(o), R(p), R(r), g = !1, v();
140
143
  }
141
144
  };
142
145
  }
143
- function Y(t, o, r) {
146
+ function Y(t, o, a) {
144
147
  let u, p, c, d;
145
148
  const w = E("hooks");
146
- let { tag: e } = o, a, l = !1;
149
+ let { tag: e } = o, r, l = !1;
147
150
  const g = () => {
148
- a !== void 0 && clearTimeout(a), l = !0, a = setTimeout(
151
+ r !== void 0 && clearTimeout(r), l = !0, r = setTimeout(
149
152
  () => {
150
153
  l = !1;
151
154
  },
@@ -158,14 +161,14 @@ function Y(t, o, r) {
158
161
  G.call(this, t, n);
159
162
  }
160
163
  return t.$$set = (n) => {
161
- "tag" in n && r(6, e = n.tag);
164
+ "tag" in n && a(6, e = n.tag);
162
165
  }, t.$$.update = () => {
163
166
  var n, k, T, L;
164
167
  t.$$.dirty & /*tag*/
165
- 64 && r(0, u = (n = e.state) == null ? void 0 : n.unfolded), t.$$.dirty & /*unfolded*/
166
- 1 && r(3, p = !u), t.$$.dirty & /*tag*/
167
- 64 && r(2, c = (T = (k = e.style) == null ? void 0 : k.point) != null && T.url ? (L = e.style) == null ? void 0 : L.point : { url: K }), t.$$.dirty & /*tag*/
168
- 64 && r(1, d = (() => {
168
+ 64 && a(0, u = (n = e.state) == null ? void 0 : n.unfolded), t.$$.dirty & /*unfolded*/
169
+ 1 && a(3, p = !u), t.$$.dirty & /*tag*/
170
+ 64 && a(2, c = (T = (k = e.style) == null ? void 0 : k.point) != null && T.url ? (L = e.style) == null ? void 0 : L.point : { url: K }), t.$$.dirty & /*tag*/
171
+ 64 && a(1, d = (() => {
169
172
  var M, $, C, F;
170
173
  const P = ($ = (M = e.style) == null ? void 0 : M.point) == null ? void 0 : $.width;
171
174
  if (typeof P == "number")
@@ -193,11 +196,11 @@ function Y(t, o, r) {
193
196
  s
194
197
  ];
195
198
  }
196
- class Lt extends j {
199
+ class $t extends j {
197
200
  constructor(o) {
198
201
  super(), q(this, o, Y, V, O, { tag: 6 }, Q);
199
202
  }
200
203
  }
201
204
  export {
202
- Lt as default
205
+ $t as default
203
206
  };
@@ -3,14 +3,17 @@ import "three";
3
3
  import "hammerjs";
4
4
  import "three/examples/jsm/renderers/CSS3DRenderer";
5
5
  import "@realsee/five/line";
6
+ import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
6
7
  import "../../../shared-utils/tag.js";
7
- import "../../../shared-utils/three/THREESphere.js";
8
+ import "../../../shared-utils/three/core/Sphere.js";
8
9
  import "animejs";
9
10
  import { notNil as qe } from "../../../shared-utils/isNil.js";
10
11
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
11
12
  import de from "../../utils/px2rem.js";
12
13
  import pe from "../Common/Shadow.js";
13
14
  import { svelteResizeObserver as ve } from "../../../shared-utils/svelte/resizeObserver.js";
15
+ import "../../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
16
+ import "../../../vendor/three/build/three.module.js";
14
17
  import "../../../shared-utils/positionToVector3.js";
15
18
  import "../../../shared-utils/five/vector3ToScreen.js";
16
19
  import "../../../shared-utils/five/getFiveModel.js";
@@ -420,11 +423,11 @@ function ze(l, e, t) {
420
423
  U
421
424
  ];
422
425
  }
423
- class Ne extends te {
426
+ class Je extends te {
424
427
  constructor(e) {
425
428
  super(), le(this, e, ze, ue, ie, { tag: 0 }, he);
426
429
  }
427
430
  }
428
431
  export {
429
- Ne as default
432
+ Je as default
430
433
  };
@@ -15,8 +15,9 @@ import { isModelLike as dA } from "../../../shared-utils/five/mode.js";
15
15
  import "hammerjs";
16
16
  import "three/examples/jsm/renderers/CSS3DRenderer";
17
17
  import "@realsee/five/line";
18
+ import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
18
19
  import "../../../shared-utils/tag.js";
19
- import "../../../shared-utils/three/THREESphere.js";
20
+ import "../../../shared-utils/three/core/Sphere.js";
20
21
  import "animejs";
21
22
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
22
23
  import "./TextTag/TextTag.js";
@@ -71,6 +72,8 @@ import "../../../vendor/svelte-carousel/src/utils/lazy.js";
71
72
  import "../../../vendor/svelte-carousel/src/utils/ProgressManager.js";
72
73
  import "../../../vendor/svelte-carousel/src/utils/interval.js";
73
74
  import "../Common/MediaItem.js";
75
+ import "../../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
76
+ import "../../../vendor/three/build/three.module.js";
74
77
  import "../../../shared-utils/positionToVector3.js";
75
78
  import "../../../shared-utils/five/vector3ToScreen.js";
76
79
  import "../../../shared-utils/five/getFiveModel.js";
@@ -753,7 +756,7 @@ function TA(i, A, t) {
753
756
  y
754
757
  ];
755
758
  }
756
- class Zt extends tA {
759
+ class Rt extends tA {
757
760
  constructor(A) {
758
761
  super(), iA(
759
762
  this,
@@ -775,5 +778,5 @@ class Zt extends tA {
775
778
  }
776
779
  }
777
780
  export {
778
- Zt as default
781
+ Rt as default
779
782
  };
@@ -61,6 +61,9 @@ import "./Tag/MarketingTag.js";
61
61
  import "hammerjs";
62
62
  import "three/examples/jsm/renderers/CSS3DRenderer";
63
63
  import "@realsee/five/line";
64
+ import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
65
+ import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
66
+ import "../../vendor/three/build/three.module.js";
64
67
  import "../../shared-utils/tag.js";
65
68
  import "../../shared-utils/positionToVector3.js";
66
69
  import "../../shared-utils/five/vector3ToScreen.js";
@@ -71,7 +74,7 @@ import "../../shared-utils/Subscribe.js";
71
74
  import "../../shared-utils/Utils/WorkUtil.js";
72
75
  import "../../shared-utils/five/transformPosition.js";
73
76
  import "../../shared-utils/three/temp.js";
74
- import "../../shared-utils/three/THREESphere.js";
77
+ import "../../shared-utils/three/core/Sphere.js";
75
78
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
76
79
  import "../utils/noTypecheck.js";
77
80
  import "./Tag/AudioTag/index.js";
@@ -312,7 +315,7 @@ function O(a, t, i) {
312
315
  m
313
316
  ];
314
317
  }
315
- class pi extends v {
318
+ class fi extends v {
316
319
  constructor(t) {
317
320
  super(), w(
318
321
  this,
@@ -335,5 +338,5 @@ class pi extends v {
335
338
  }
336
339
  }
337
340
  export {
338
- pi as default
341
+ fi as default
339
342
  };
@@ -7,8 +7,9 @@ import { isModelLike as et } from "../../shared-utils/five/mode.js";
7
7
  import "hammerjs";
8
8
  import "three/examples/jsm/renderers/CSS3DRenderer";
9
9
  import "@realsee/five/line";
10
+ import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
10
11
  import "../../shared-utils/tag.js";
11
- import "../../shared-utils/three/THREESphere.js";
12
+ import "../../shared-utils/three/core/Sphere.js";
12
13
  import "animejs";
13
14
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
14
15
  import "./Tag/TextTag/index.js";
@@ -66,6 +67,8 @@ import "../../vendor/svelte-carousel/src/utils/ProgressManager.js";
66
67
  import "../../vendor/svelte-carousel/src/utils/interval.js";
67
68
  import "./Common/MediaItem.js";
68
69
  import "./Tag/MarketingTag.js";
70
+ import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
71
+ import "../../vendor/three/build/three.module.js";
69
72
  import "../../shared-utils/positionToVector3.js";
70
73
  import "../../shared-utils/five/vector3ToScreen.js";
71
74
  import "../../shared-utils/five/getFiveModel.js";
@@ -461,7 +464,7 @@ function at(o, t, i) {
461
464
  H
462
465
  ];
463
466
  }
464
- class Ci extends J {
467
+ class zi extends J {
465
468
  constructor(t) {
466
469
  super(), K(
467
470
  this,
@@ -482,5 +485,5 @@ class Ci extends J {
482
485
  }
483
486
  }
484
487
  export {
485
- Ci as default
488
+ zi as default
486
489
  };
@@ -45,10 +45,11 @@ import "hammerjs";
45
45
  import "three/examples/jsm/renderers/CSS3DRenderer";
46
46
  import { centerPoint as ee } from "../../../shared-utils/three/centerPoint.js";
47
47
  import "@realsee/five/line";
48
+ import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
48
49
  import { anyPositionToVector3 as A } from "../../../shared-utils/positionToVector3.js";
49
50
  import "../../../shared-utils/tag.js";
50
51
  import { toArray as ie } from "../../../shared-utils/util.js";
51
- import "../../../shared-utils/three/THREESphere.js";
52
+ import "../../../shared-utils/three/core/Sphere.js";
52
53
  import { blink as te, reblink as ne } from "../../../shared-utils/three/blink.js";
53
54
  import { vectorToCoordinates as se } from "../../../shared-utils/vectorToCoordinate.js";
54
55
  import { transformPosition as O } from "../../../shared-utils/five/transformPosition.js";
@@ -70,13 +71,15 @@ import "../../utils/tag/adaptConfig.js";
70
71
  import "../../typings/tag/TagConfig.js";
71
72
  import "@realsee/five";
72
73
  import "animejs";
74
+ import "../../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
75
+ import "../../../vendor/three/build/three.module.js";
73
76
  import "../../../shared-utils/five/vector3ToScreen.js";
74
77
  import "../../../shared-utils/five/getFiveModel.js";
75
78
  import "../../../shared-utils/Utils/FiveUtil.js";
76
79
  import "../../../shared-utils/Utils/BaseUtil.js";
77
80
  import "../../../shared-utils/Utils/WorkUtil.js";
78
81
  import "../../../shared-utils/formatRad.js";
79
- class Ke {
82
+ class ei {
80
83
  constructor(i, e) {
81
84
  f(this, "plugin");
82
85
  f(this, "id");
@@ -626,11 +629,14 @@ class Ke {
626
629
  * @description 销毁并移除
627
630
  */
628
631
  destroy() {
629
- this.disable(), this.hooks.off(), this.cache.clear();
630
632
  const i = this.plugin.tags.findIndex((e) => e.id === this.id);
631
- i !== -1 && (this.plugin.tags.splice(i, 1), this.plugin.tagsLengthWillUpdate = !0, this.plugin.hooks.emit("tagsLengthChange"));
633
+ if (i === -1) {
634
+ console.warn(`Destroy failed: tag ${this.id} not found`);
635
+ return;
636
+ }
637
+ this.disable(), this.hooks.off(), this.cache.clear(), this.plugin.tags.splice(i, 1), this.plugin.tagsLengthWillUpdate = !0, this.plugin.hooks.emit("tagsLengthChange");
632
638
  }
633
639
  }
634
640
  export {
635
- Ke as BaseTag
641
+ ei as BaseTag
636
642
  };
@@ -1,8 +1,8 @@
1
1
  var f = Object.defineProperty;
2
- var b = (a, r, i) => r in a ? f(a, r, { enumerable: !0, configurable: !0, writable: !0, value: i }) : a[r] = i;
3
- var l = (a, r, i) => (b(a, typeof r != "symbol" ? r + "" : r, i), i);
4
- var d = (a, r, i) => new Promise((s, o) => {
5
- var m = (t) => {
2
+ var b = (m, r, i) => r in m ? f(m, r, { enumerable: !0, configurable: !0, writable: !0, value: i }) : m[r] = i;
3
+ var l = (m, r, i) => (b(m, typeof r != "symbol" ? r + "" : r, i), i);
4
+ var d = (m, r, i) => new Promise((s, o) => {
5
+ var a = (t) => {
6
6
  try {
7
7
  e(i.next(t));
8
8
  } catch (n) {
@@ -14,8 +14,8 @@ var d = (a, r, i) => new Promise((s, o) => {
14
14
  } catch (n) {
15
15
  o(n);
16
16
  }
17
- }, e = (t) => t.done ? s(t.value) : Promise.resolve(t.value).then(m, p);
18
- e((i = i.apply(a, r)).next());
17
+ }, e = (t) => t.done ? s(t.value) : Promise.resolve(t.value).then(a, p);
18
+ e((i = i.apply(m, r)).next());
19
19
  });
20
20
  import { arrayPositionToVector3 as h } from "../../../shared-utils/positionToVector3.js";
21
21
  import { loadGLTF as j } from "../../../shared-utils/three/GLTFLoader.js";
@@ -46,6 +46,9 @@ import "../../../shared-utils/five/mode.js";
46
46
  import "hammerjs";
47
47
  import "three/examples/jsm/renderers/CSS3DRenderer";
48
48
  import "@realsee/five/line";
49
+ import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
50
+ import "../../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
51
+ import "../../../vendor/three/build/three.module.js";
49
52
  import "../../../shared-utils/tag.js";
50
53
  import "../../../shared-utils/five/vector3ToScreen.js";
51
54
  import "../../../shared-utils/five/getFiveModel.js";
@@ -54,7 +57,7 @@ import "../../../shared-utils/Utils/BaseUtil.js";
54
57
  import "../../../shared-utils/Utils/WorkUtil.js";
55
58
  import "../../../shared-utils/five/transformPosition.js";
56
59
  import "../../../shared-utils/three/temp.js";
57
- import "../../../shared-utils/three/THREESphere.js";
60
+ import "../../../shared-utils/three/core/Sphere.js";
58
61
  import "animejs";
59
62
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
60
63
  import "../../utils/tag/format.js";
@@ -71,7 +74,7 @@ import "../../../shared-utils/url/getUrl.js";
71
74
  import "../../../shared-utils/five/getFloorIndex.js";
72
75
  import "../../../shared-utils/safeObj.js";
73
76
  import "../../utils/Cache.js";
74
- class xt extends D {
77
+ class Ct extends D {
75
78
  constructor(i, s) {
76
79
  super(i, s);
77
80
  l(this, "loading", !1);
@@ -99,8 +102,8 @@ class xt extends D {
99
102
  if (this.loading = !1, ((p = this.model) == null ? void 0 : p.promise) !== s || !this.plugin.tags.includes(this))
100
103
  return;
101
104
  this.model.object = o;
102
- const m = this.plugin.gltfObjectGroup.children.find((e) => e.customID === this.id);
103
- if (m && (this.plugin.gltfObjectGroup.remove(m), m.removeEventListener()), this.plugin.updateRender3DDomTag(), T(this)) {
105
+ const a = this.plugin.gltfObjectGroup.children.find((e) => e.customID === this.id);
106
+ if (a && (this.plugin.gltfObjectGroup.remove(a), a.removeEventListener()), this.plugin.updateRender3DDomTag(), T(this)) {
104
107
  if (this.computeRenderType() === "Mesh" && !this.mediaPlane) {
105
108
  const e = this.data.mediaPosition.map(h);
106
109
  this.mediaPlane = new M(this.data.mediaData[0].url, this.data.mediaPosition.map(h), {
@@ -124,5 +127,5 @@ class xt extends D {
124
127
  }
125
128
  }
126
129
  export {
127
- xt as ModelTag
130
+ Ct as ModelTag
128
131
  };