@realsee/dnalogel 2.2.2 → 2.2.3

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 (209) hide show
  1. package/dist/index.cjs.js +13 -13
  2. package/dist/index.js +874 -874
  3. package/dist/index.umd.js +13 -13
  4. package/docs/classes/CruisePluginController.html +4 -4
  5. package/docs/classes/Magnifier.html +4 -4
  6. package/docs/classes/ModelRoomLabelController.html +4 -4
  7. package/docs/classes/Object3DHelperController.html +4 -4
  8. package/docs/classes/PaintBrush.html +4 -4
  9. package/docs/classes/PanoTagPluginController.html +4 -4
  10. package/docs/classes/Util.BetterTween.html +4 -4
  11. package/docs/classes/Util.FivePointSelector.html +4 -4
  12. package/docs/classes/Util.Interval.html +4 -4
  13. package/docs/classes/Util.Magnifier.html +4 -4
  14. package/docs/classes/Util.PointDomHelper.html +4 -4
  15. package/docs/classes/Util.PointHelper.html +4 -4
  16. package/docs/classes/Util.Rectangle.html +4 -4
  17. package/docs/enums/CameraMovementEffect.html +4 -4
  18. package/docs/enums/ContentType.html +4 -4
  19. package/docs/enums/DIRECTION.html +4 -4
  20. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +4 -4
  21. package/docs/enums/DimensionType.html +4 -4
  22. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -4
  23. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +4 -4
  24. package/docs/enums/LinkType.html +4 -4
  25. package/docs/enums/PaintBrushTypeEnum.html +4 -4
  26. package/docs/enums/PointType.html +4 -4
  27. package/docs/enums/Rotation.html +4 -4
  28. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  29. package/docs/functions/CameraMovementPlugin.html +4 -4
  30. package/docs/functions/CruisePlugin.html +4 -4
  31. package/docs/functions/GuideLinePlugin.html +4 -4
  32. package/docs/functions/ItemLabelPlugin.html +4 -4
  33. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  34. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  35. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  36. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  37. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  38. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  39. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  40. package/docs/functions/ModelViewPlugin.html +4 -4
  41. package/docs/functions/Object3DHelperPlugin.html +4 -4
  42. package/docs/functions/PanoCompassPlugin.html +4 -4
  43. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  44. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  45. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  46. package/docs/functions/PanoMeasurePlugin.html +4 -4
  47. package/docs/functions/PanoRulerPlugin.html +4 -4
  48. package/docs/functions/PanoRulerProPlugin.html +4 -4
  49. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  50. package/docs/functions/PanoTagPlugin.html +4 -4
  51. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  52. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  53. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  54. package/docs/functions/Util.getFrameTime.html +4 -4
  55. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  56. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  57. package/docs/functions/Util.isNil.html +4 -4
  58. package/docs/functions/Util.nextFrame.html +4 -4
  59. package/docs/functions/Util.notNil.html +4 -4
  60. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  61. package/docs/functions/Util.tweenProgress.html +4 -4
  62. package/docs/functions/pluginFlag.html +4 -4
  63. package/docs/index.html +4 -4
  64. package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
  65. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  66. package/docs/interfaces/CameraMovementPluginExportType.html +4 -4
  67. package/docs/interfaces/ContentTypeMap.html +4 -4
  68. package/docs/interfaces/FloorplanBounding.html +4 -4
  69. package/docs/interfaces/FloorplanData.html +4 -4
  70. package/docs/interfaces/FloorplanEntrance.html +4 -4
  71. package/docs/interfaces/FloorplanExtraObject.html +4 -4
  72. package/docs/interfaces/FloorplanExtraObject3D.html +4 -4
  73. package/docs/interfaces/FloorplanFloorData.html +4 -4
  74. package/docs/interfaces/FloorplanImagePosition.html +4 -4
  75. package/docs/interfaces/FloorplanObserver.html +4 -4
  76. package/docs/interfaces/FloorplanOutlineItem.html +4 -4
  77. package/docs/interfaces/FloorplanPosition.html +4 -4
  78. package/docs/interfaces/FloorplanRoomItem.html +4 -4
  79. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
  80. package/docs/interfaces/FloorplanServerBounding.html +4 -4
  81. package/docs/interfaces/FloorplanServerComputedData.html +4 -4
  82. package/docs/interfaces/FloorplanServerData.html +4 -4
  83. package/docs/interfaces/FloorplanServerDoorItem.html +4 -4
  84. package/docs/interfaces/FloorplanServerDoorPosition.html +4 -4
  85. package/docs/interfaces/FloorplanServerEntrance.html +4 -4
  86. package/docs/interfaces/FloorplanServerFloorData.html +4 -4
  87. package/docs/interfaces/FloorplanServerImagePosition.html +4 -4
  88. package/docs/interfaces/FloorplanServerObserver.html +4 -4
  89. package/docs/interfaces/FloorplanServerOutlineItem.html +4 -4
  90. package/docs/interfaces/FloorplanServerPosition.html +4 -4
  91. package/docs/interfaces/FloorplanServerRoomItem.html +4 -4
  92. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
  93. package/docs/interfaces/ItemLabelPluginData.html +4 -4
  94. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +4 -4
  95. package/docs/interfaces/ItemLabelPluginParametersType.html +4 -4
  96. package/docs/interfaces/LineJson.html +4 -4
  97. package/docs/interfaces/ModelChassisCompassPluginData.html +4 -4
  98. package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -4
  99. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +4 -4
  100. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -4
  101. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -4
  102. package/docs/interfaces/ModelItemLabelPluginData.html +4 -4
  103. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +4 -4
  104. package/docs/interfaces/ModelItemLabelPluginParametersType.html +4 -4
  105. package/docs/interfaces/ModelRoomLabelPluginData.html +4 -4
  106. package/docs/interfaces/ModelTVVideoPluginData.html +4 -4
  107. package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -4
  108. package/docs/interfaces/ModelTVVideoPluginParameterType.html +4 -4
  109. package/docs/interfaces/ModelViewPluginExportType.html +4 -4
  110. package/docs/interfaces/Object3DHelperState.html +4 -4
  111. package/docs/interfaces/OpenParameter.html +4 -4
  112. package/docs/interfaces/PaintBrushAction.html +4 -4
  113. package/docs/interfaces/PaintBrushConfigs.html +4 -4
  114. package/docs/interfaces/PaintBrushState.html +4 -4
  115. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +4 -4
  116. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  117. package/docs/interfaces/PanoMeasureParameterType.html +4 -4
  118. package/docs/interfaces/PanoRulerPluginExportType.html +4 -4
  119. package/docs/interfaces/PanoRulerPluginOptions.html +4 -4
  120. package/docs/interfaces/PanoRulerPluginParameterType.html +4 -4
  121. package/docs/interfaces/PanoRulerProPluginExportType.html +4 -4
  122. package/docs/interfaces/PanoRulerProPluginOptions.html +4 -4
  123. package/docs/interfaces/PanoRulerProPluginParameterType.html +4 -4
  124. package/docs/interfaces/PanoRulerProPluginState.html +4 -4
  125. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  126. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  127. package/docs/interfaces/PanoSpatialTagPluginData.html +4 -4
  128. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +4 -4
  129. package/docs/interfaces/PanoSpatialTagPluginExportType.html +4 -4
  130. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +4 -4
  131. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +4 -4
  132. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +4 -4
  133. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +4 -4
  134. package/docs/interfaces/Point.html +4 -4
  135. package/docs/interfaces/PointJson.html +4 -4
  136. package/docs/interfaces/Room.html +4 -4
  137. package/docs/interfaces/RoomInfo.html +4 -4
  138. package/docs/interfaces/RoomLabel.html +4 -4
  139. package/docs/interfaces/RoomRules.html +4 -4
  140. package/docs/interfaces/Rooms.html +4 -4
  141. package/docs/interfaces/Scissor.html +4 -4
  142. package/docs/interfaces/TagConfig.html +4 -4
  143. package/docs/interfaces/Tags.html +4 -4
  144. package/docs/interfaces/Util.MagnifierParameter.html +4 -4
  145. package/docs/interfaces/Util.MouseGroupParameter.html +4 -4
  146. package/docs/modules/Util.html +4 -4
  147. package/docs/modules.html +4 -4
  148. package/docs/types/ArrayPosition.html +4 -4
  149. package/docs/types/CSS3DRenderExportType.html +4 -4
  150. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  151. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  152. package/docs/types/Color.html +4 -4
  153. package/docs/types/ContentTypeConfigKey.html +4 -4
  154. package/docs/types/ContentTypeConfigKeyArray.html +4 -4
  155. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  156. package/docs/types/Create3DElementReturnType.html +4 -4
  157. package/docs/types/CruisePluginExportType.html +4 -4
  158. package/docs/types/Direction-1.html +4 -4
  159. package/docs/types/Direction4.html +4 -4
  160. package/docs/types/FloorplanRuleLabels.html +4 -4
  161. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  162. package/docs/types/GuideLinePluginExportType.html +4 -4
  163. package/docs/types/HelperEventMap.html +4 -4
  164. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  165. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  166. package/docs/types/MediaData.html +4 -4
  167. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  168. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  169. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  170. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  171. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  172. package/docs/types/MoveArgs.html +4 -4
  173. package/docs/types/MoveOpts.html +4 -4
  174. package/docs/types/Object3DHelperEventMap.html +4 -4
  175. package/docs/types/ObjectFit.html +4 -4
  176. package/docs/types/PaintBrushEventMap.html +4 -4
  177. package/docs/types/PanoCompassPluginData.html +4 -4
  178. package/docs/types/PanoCompassPluginExportType.html +4 -4
  179. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  180. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  181. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  182. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  183. package/docs/types/PanoMeasureReturnType.html +4 -4
  184. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  185. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  186. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  187. package/docs/types/PlaneTag.html +4 -4
  188. package/docs/types/PointTag.html +4 -4
  189. package/docs/types/Position.html +4 -4
  190. package/docs/types/RotateArgs.html +4 -4
  191. package/docs/types/RotateOpts.html +4 -4
  192. package/docs/types/RuleLabelsKey.html +4 -4
  193. package/docs/types/RuleLabelsValue.html +4 -4
  194. package/docs/types/Tag.html +4 -4
  195. package/docs/types/Tag2D.html +4 -4
  196. package/docs/types/Tag3D.html +4 -4
  197. package/docs/types/TagId.html +4 -4
  198. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  199. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  200. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  201. package/docs/variables/PLUGIN.html +4 -4
  202. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  203. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  204. package/docs/variables/VERSION.html +4 -4
  205. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  206. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  207. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  208. package/libs/PanoDoorLabelPlugin/Controller.js +51 -51
  209. package/package.json +1 -1
@@ -1,22 +1,22 @@
1
- var R = Object.defineProperty, F = Object.defineProperties;
2
- var $ = Object.getOwnPropertyDescriptors;
3
- var S = Object.getOwnPropertySymbols;
4
- var B = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
5
- var E = (b, a, e) => a in b ? R(b, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : b[a] = e, k = (b, a) => {
1
+ var $ = Object.defineProperty, B = Object.defineProperties;
2
+ var U = Object.getOwnPropertyDescriptors;
3
+ var C = Object.getOwnPropertySymbols;
4
+ var G = Object.prototype.hasOwnProperty, N = Object.prototype.propertyIsEnumerable;
5
+ var E = (b, a, e) => a in b ? $(b, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : b[a] = e, H = (b, a) => {
6
6
  for (var e in a || (a = {}))
7
- B.call(a, e) && E(b, e, a[e]);
8
- if (S)
9
- for (var e of S(a))
10
- U.call(a, e) && E(b, e, a[e]);
7
+ G.call(a, e) && E(b, e, a[e]);
8
+ if (C)
9
+ for (var e of C(a))
10
+ N.call(a, e) && E(b, e, a[e]);
11
11
  return b;
12
- }, C = (b, a) => F(b, $(a));
12
+ }, W = (b, a) => B(b, U(a));
13
13
  var r = (b, a, e) => (E(b, typeof a != "symbol" ? a + "" : a, e), e);
14
- import { Raycaster as G, Vector3 as V, Quaternion as N, Euler as H } from "three";
15
- import { BasePanoPluginController as Q } from "./BaseController.js";
16
- import j from "./DoorLabelItem.js";
17
- import { getCameraToward as q, isTwoRectOverlaped as X, getDistance as Y, getToward as Z } from "./utils.js";
18
- const J = { userAction: !0 };
19
- class se extends Q {
14
+ import { Raycaster as Q, Vector3 as V, Quaternion as j, Euler as z } from "three";
15
+ import { BasePanoPluginController as q } from "./BaseController.js";
16
+ import X from "./DoorLabelItem.js";
17
+ import { getCameraToward as Y, isTwoRectOverlaped as Z, getDistance as J, getToward as K } from "./utils.js";
18
+ const ee = { userAction: !0 };
19
+ class re extends q {
20
20
  constructor(e) {
21
21
  super(e);
22
22
  r(this, "MinVisibledistance", 1.8);
@@ -69,10 +69,10 @@ class se extends Q {
69
69
  const s = i.position.clone(), t = s.distanceTo(l);
70
70
  if (t < this.MinVisibledistance || t > this.MaxVisibledistance)
71
71
  return;
72
- const c = new G(), v = s.clone().sub(l).normalize();
72
+ const c = new Q(), v = s.clone().sub(l).normalize();
73
73
  c.set(l, v);
74
- const [x] = this.five.model.intersectRaycaster(c);
75
- x && x.distance + 0.1 < t || o.push(d);
74
+ const [p] = this.five.model.intersectRaycaster(c);
75
+ p && p.distance + 0.1 < t || o.push(d);
76
76
  }), this.visibleLabelMap.set(e, o), o;
77
77
  }
78
78
  })();
@@ -81,38 +81,38 @@ class se extends Q {
81
81
  }), this.fixDoorPosition();
82
82
  });
83
83
  r(this, "fixDoorPosition", () => {
84
- var s, t, c, v, x, A, P, w, L, O;
84
+ var s, t, c, v, p, A, I, w, L, O, _, S;
85
85
  const { panoIndex: e, camera: n } = this.five;
86
86
  if (e === null)
87
87
  return;
88
88
  if (this.five.currentMode !== "Panorama")
89
89
  return this.hideAllLabels();
90
90
  const f = this.five.getElement(), l = f.clientWidth, h = f.clientHeight, o = n.getWorldDirection(new V()), i = [], d = [...this.labelItems];
91
- if (d.forEach((m, g) => {
91
+ if (d.forEach((m, u) => {
92
92
  if (m.visible) {
93
- const I = n.position.distanceTo(m.position), M = m.position.clone().add(new V(0, this.OffsetHeight, 0)), T = M.clone().sub(n.position).normalize().angleTo(o), y = M.clone().project(n), D = (y.x + 1) / 2.2 * 100, p = (-y.y + 1) / 2.2 * 100, u = D >= 0 && D <= 100 && p >= 0 && p <= 100 && I > this.MinVisibledistance && I <= this.MaxVisibledistance;
94
- m.left = D, m.top = p, m.inSight = u && T < Math.PI / 2, m.cameraToward = q(this.five), u ? i.push({ disFromCameraToLabel: I, left: D, top: p, index: g }) : m.transform = "translate(-50%, -50%)";
93
+ const x = n.position.distanceTo(m.position), M = m.position.clone().add(new V(0, this.OffsetHeight, 0)), T = M.clone().sub(n.position).normalize().angleTo(o), y = M.clone().project(n), P = (y.x + 1) / 2.2 * 100, g = (-y.y + 1) / 2.2 * 100, D = P >= 0 && P <= 100 && g >= 0 && g <= 100 && x > this.MinVisibledistance && x <= this.MaxVisibledistance;
94
+ m.left = P, m.top = g, m.inSight = D && T < Math.PI / 2, m.cameraToward = Y(this.five), D ? i.push({ disFromCameraToLabel: x, left: P, top: g, index: u }) : m.transform = "translate(-50%, -50%)";
95
95
  } else
96
96
  m.inSight = !1;
97
97
  }), i.length > 1) {
98
98
  let m = 0;
99
- i.sort((g, I) => I.disFromCameraToLabel - g.disFromCameraToLabel);
100
- for (let g = 1; g < i.length; g++) {
101
- const { index: I, left: M, top: _ } = i[g - 1], { index: T, left: y, top: D } = i[g], p = this.container.children[I], u = this.container.children[T];
102
- if (!p || !u || !((s = p == null ? void 0 : p.children) != null && s[0]) || !((t = u == null ? void 0 : u.children) != null && t[0]))
99
+ i.sort((u, x) => x.disFromCameraToLabel - u.disFromCameraToLabel);
100
+ for (let u = 1; u < i.length; u++) {
101
+ const { index: x, left: M, top: k } = i[u - 1], { index: T, left: y, top: P } = i[u], g = this.container.children[x], D = this.container.children[T];
102
+ if (!g || !D)
103
103
  return;
104
- const W = {
104
+ const R = {
105
105
  left: l * M / 100,
106
- top: h * _ / 100,
107
- width: (v = (c = p.children[0]) == null ? void 0 : c.clientWidth) != null ? v : 0,
108
- height: (A = (x = p.children[0]) == null ? void 0 : x.clientHeight) != null ? A : 0
109
- }, z = {
106
+ top: h * k / 100,
107
+ width: (c = (t = (s = g.children) == null ? void 0 : s[0]) == null ? void 0 : t.clientWidth) != null ? c : 0,
108
+ height: (A = (p = (v = g.children) == null ? void 0 : v[0]) == null ? void 0 : p.clientHeight) != null ? A : 0
109
+ }, F = {
110
110
  left: l * y / 100,
111
- top: h * D / 100,
112
- width: (w = (P = u.children[0]) == null ? void 0 : P.clientWidth) != null ? w : 0,
113
- height: (O = (L = u.children[0]) == null ? void 0 : L.clientHeight) != null ? O : 0
111
+ top: h * P / 100,
112
+ width: (L = (w = (I = D.children) == null ? void 0 : I[0]) == null ? void 0 : w.clientWidth) != null ? L : 0,
113
+ height: (S = (_ = (O = D.children) == null ? void 0 : O[0]) == null ? void 0 : _.clientHeight) != null ? S : 0
114
114
  };
115
- X(W, z) && (m++, d[I].transform = `translate(-50%, ${(m - 1) * 100 - 50}%)`, d[T].transform = `translate(-50%, ${m * 100 - 50}%)`);
115
+ Z(R, F) && (m++, d[x].transform = `translate(-50%, ${(m - 1) * 100 - 50}%)`, d[T].transform = `translate(-50%, ${m * 100 - 50}%)`);
116
116
  }
117
117
  }
118
118
  this.labelItems = d, this.render();
@@ -131,9 +131,9 @@ class se extends Q {
131
131
  if (h !== null && l !== null) {
132
132
  const i = {};
133
133
  if (o > 0) {
134
- const s = new V(0, 0, -1), t = h.clone(), c = new N();
134
+ const s = new V(0, 0, -1), t = h.clone(), c = new j();
135
135
  c.setFromUnitVectors(s, t);
136
- const v = new H();
136
+ const v = new z();
137
137
  v.setFromQuaternion(c, "YXZ"), i.longitude = v.y;
138
138
  }
139
139
  this.five.emit("wantsToMoveToPano", l, {}, !0) || this.five.moveToPano(l, { longitude: i.longitude });
@@ -150,22 +150,22 @@ class se extends Q {
150
150
  const t = s.position;
151
151
  let c = 1 / 0, v;
152
152
  i.forEach((A) => {
153
- const P = A.standingPosition, w = {
154
- x: P.x,
155
- y: P.y,
156
- z: P.z
157
- }, L = Y(t, w);
153
+ const I = A.standingPosition, w = {
154
+ x: I.x,
155
+ y: I.y,
156
+ z: I.z
157
+ }, L = J(t, w);
158
158
  L < c && (c = L, v = w);
159
159
  }), v && (t.y = v.y + 0.01);
160
- const x = new V(t.x, t.y, t.z);
161
- x.add(new V(-0.2, 1.8, 0).applyEuler(new H(0, s.rad, 0))), this.doorLabels.push({
160
+ const p = new V(t.x, t.y, t.z);
161
+ p.add(new V(-0.2, 1.8, 0).applyEuler(new z(0, s.rad, 0))), this.doorLabels.push({
162
162
  roomName: h.name,
163
163
  name: s.name,
164
- position: x,
165
- toward: Z(s.rad)
164
+ position: p,
165
+ toward: K(s.rad)
166
166
  });
167
167
  });
168
- }), this.labelItems = this.doorLabels.map((h) => C(k({}, h), {
168
+ }), this.labelItems = this.doorLabels.map((h) => W(H({}, h), {
169
169
  left: 0,
170
170
  top: 0,
171
171
  visible: !1,
@@ -180,7 +180,7 @@ class se extends Q {
180
180
  const f = {
181
181
  state: this.state,
182
182
  prevState: e,
183
- userAction: n ? n.userAction : J.userAction
183
+ userAction: n ? n.userAction : ee.userAction
184
184
  };
185
185
  this.hooks.emit("stateChange", f);
186
186
  }
@@ -196,7 +196,7 @@ class se extends Q {
196
196
  e.$destroy();
197
197
  }), this.doorLabelItems = [], this.labelItems.forEach((e) => {
198
198
  this.doorLabelItems.push(
199
- new j({
199
+ new X({
200
200
  target: this.container,
201
201
  props: {
202
202
  props: e,
@@ -216,5 +216,5 @@ class se extends Q {
216
216
  }
217
217
  }
218
218
  export {
219
- se as PanoDoorLabelPluginController
219
+ re as PanoDoorLabelPluginController
220
220
  };
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "repository": "https://github.com/realsee-developer/dnalogel.git",
9
9
  "description": "如视 VR 看房插件合集",
10
10
  "private": false,
11
- "version": "2.2.2",
11
+ "version": "2.2.3",
12
12
  "license": "SEE LICENSE IN TERMS.txt",
13
13
  "files": [
14
14
  "libs",