@realsee/dnalogel 2.2.0 → 2.2.2

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 (210) hide show
  1. package/dist/index.cjs.js +13 -13
  2. package/dist/index.js +1005 -1003
  3. package/dist/index.umd.js +15 -15
  4. package/docs/classes/CruisePluginController.html +24 -24
  5. package/docs/classes/Magnifier.html +16 -16
  6. package/docs/classes/ModelRoomLabelController.html +11 -11
  7. package/docs/classes/Object3DHelperController.html +24 -24
  8. package/docs/classes/PaintBrush.html +15 -15
  9. package/docs/classes/PanoTagPluginController.html +39 -39
  10. package/docs/classes/Util.BetterTween.html +8 -8
  11. package/docs/classes/Util.FivePointSelector.html +12 -12
  12. package/docs/classes/Util.Interval.html +12 -12
  13. package/docs/classes/Util.Magnifier.html +17 -17
  14. package/docs/classes/Util.PointDomHelper.html +11 -11
  15. package/docs/classes/Util.PointHelper.html +11 -11
  16. package/docs/classes/Util.Rectangle.html +13 -13
  17. package/docs/enums/CameraMovementEffect.html +7 -7
  18. package/docs/enums/ContentType.html +12 -12
  19. package/docs/enums/DIRECTION.html +9 -9
  20. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  21. package/docs/enums/DimensionType.html +7 -7
  22. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  23. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  24. package/docs/enums/LinkType.html +7 -7
  25. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  26. package/docs/enums/PointType.html +7 -7
  27. package/docs/enums/Rotation.html +8 -8
  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 +5 -5
  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 +5 -5
  53. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  54. package/docs/functions/Util.getFrameTime.html +5 -5
  55. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  56. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  57. package/docs/functions/Util.isNil.html +5 -5
  58. package/docs/functions/Util.nextFrame.html +5 -5
  59. package/docs/functions/Util.notNil.html +5 -5
  60. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  61. package/docs/functions/Util.tweenProgress.html +5 -5
  62. package/docs/functions/pluginFlag.html +5 -5
  63. package/docs/index.html +4 -4
  64. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  65. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  66. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  67. package/docs/interfaces/ContentTypeMap.html +12 -12
  68. package/docs/interfaces/FloorplanBounding.html +8 -8
  69. package/docs/interfaces/FloorplanData.html +10 -10
  70. package/docs/interfaces/FloorplanEntrance.html +11 -11
  71. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  72. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  73. package/docs/interfaces/FloorplanFloorData.html +9 -9
  74. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  75. package/docs/interfaces/FloorplanObserver.html +9 -9
  76. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  77. package/docs/interfaces/FloorplanPosition.html +7 -7
  78. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  79. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  80. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  81. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  82. package/docs/interfaces/FloorplanServerData.html +7 -7
  83. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  84. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  85. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  86. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  87. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  88. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  89. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  90. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  91. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  92. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  93. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  94. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  95. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  96. package/docs/interfaces/LineJson.html +7 -7
  97. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  98. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  99. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  100. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  101. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  102. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  103. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  104. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  105. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  106. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  107. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  108. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  109. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  110. package/docs/interfaces/Object3DHelperState.html +8 -8
  111. package/docs/interfaces/OpenParameter.html +7 -7
  112. package/docs/interfaces/PaintBrushAction.html +12 -12
  113. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  114. package/docs/interfaces/PaintBrushState.html +10 -10
  115. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  116. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  117. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  118. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  119. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  120. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  121. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  122. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  123. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  124. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  125. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  126. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  127. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  128. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  129. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  130. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  131. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  132. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  133. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  134. package/docs/interfaces/Point.html +8 -8
  135. package/docs/interfaces/PointJson.html +8 -8
  136. package/docs/interfaces/Room.html +9 -9
  137. package/docs/interfaces/RoomInfo.html +7 -7
  138. package/docs/interfaces/RoomLabel.html +14 -14
  139. package/docs/interfaces/RoomRules.html +5 -5
  140. package/docs/interfaces/Rooms.html +5 -5
  141. package/docs/interfaces/Scissor.html +9 -9
  142. package/docs/interfaces/TagConfig.html +10 -10
  143. package/docs/interfaces/Tags.html +9 -9
  144. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  145. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  146. package/docs/modules/Util.html +5 -5
  147. package/docs/modules.html +4 -4
  148. package/docs/types/ArrayPosition.html +5 -5
  149. package/docs/types/CSS3DRenderExportType.html +5 -5
  150. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  151. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  152. package/docs/types/Color.html +5 -5
  153. package/docs/types/ContentTypeConfigKey.html +5 -5
  154. package/docs/types/ContentTypeConfigKeyArray.html +5 -5
  155. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  156. package/docs/types/Create3DElementReturnType.html +5 -5
  157. package/docs/types/CruisePluginExportType.html +5 -5
  158. package/docs/types/Direction-1.html +5 -5
  159. package/docs/types/Direction4.html +5 -5
  160. package/docs/types/FloorplanRuleLabels.html +5 -5
  161. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  162. package/docs/types/GuideLinePluginExportType.html +5 -5
  163. package/docs/types/HelperEventMap.html +5 -5
  164. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  165. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  166. package/docs/types/MediaData.html +5 -5
  167. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  168. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  169. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  170. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  171. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  172. package/docs/types/MoveArgs.html +5 -5
  173. package/docs/types/MoveOpts.html +5 -5
  174. package/docs/types/Object3DHelperEventMap.html +5 -5
  175. package/docs/types/ObjectFit.html +5 -5
  176. package/docs/types/PaintBrushEventMap.html +5 -5
  177. package/docs/types/PanoCompassPluginData.html +5 -5
  178. package/docs/types/PanoCompassPluginExportType.html +5 -5
  179. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  180. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  181. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  182. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  183. package/docs/types/PanoMeasureReturnType.html +5 -5
  184. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  185. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  186. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  187. package/docs/types/PlaneTag.html +5 -5
  188. package/docs/types/PointTag.html +5 -5
  189. package/docs/types/Position.html +5 -5
  190. package/docs/types/RotateArgs.html +5 -5
  191. package/docs/types/RotateOpts.html +5 -5
  192. package/docs/types/RuleLabelsKey.html +5 -5
  193. package/docs/types/RuleLabelsValue.html +5 -5
  194. package/docs/types/Tag.html +5 -5
  195. package/docs/types/Tag2D.html +5 -5
  196. package/docs/types/Tag3D.html +5 -5
  197. package/docs/types/TagId.html +5 -5
  198. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  199. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  200. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  201. package/docs/variables/PLUGIN.html +5 -5
  202. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  203. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  204. package/docs/variables/VERSION.html +5 -5
  205. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  206. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  207. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  208. package/libs/PanoDoorLabelPlugin/Controller.js +117 -116
  209. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +85 -84
  210. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- import { SvelteComponent as P, init as B, safe_not_equal as G, append_styles as J, empty as K, insert as I, transition_in as c, group_outros as C, transition_out as h, check_outros as M, detach as k, element as S, attr as F, add_render_callback as L, add_resize_listener as Q, assign as z, create_component as E, space as R, set_style as q, mount_component as O, append as T, get_spread_update as U, destroy_component as H } from "svelte/internal";
2
- import { onMount as V } from "svelte";
3
- import X from "./Camera.js";
4
- import Y from "./CurrentFloor/CurrentFloor.js";
1
+ import { SvelteComponent as G, init as J, safe_not_equal as K, append_styles as L, empty as Q, insert as y, transition_in as u, group_outros as M, transition_out as h, check_outros as F, detach as k, element as N, attr as P, add_render_callback as R, add_resize_listener as T, assign as O, create_component as U, space as V, set_style as q, mount_component as C, append as X, get_spread_update as H, destroy_component as S } from "svelte/internal";
2
+ import { onMount as Y } from "svelte";
3
+ import Z from "./Camera.js";
4
+ import x from "./CurrentFloor/CurrentFloor.js";
5
5
  import "../../Assets/camera.js";
6
6
  import "../../../shared-utils/throttle.js";
7
7
  import "./CurrentFloor/ExtraObjects.js";
@@ -11,70 +11,70 @@ import "../../Components/SvgImage.js";
11
11
  import "../../Components/RoomHighlight/RoomHighlight.js";
12
12
  import "../../Components/RoomHighlight/Room.js";
13
13
  import "../../utils/formatPosition.js";
14
- function Z(i) {
15
- J(i, "svelte-1mvqyqq", ".plugin-floorplan-radar.svelte-1mvqyqq{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.plugin-floorplan-radar-container.svelte-1mvqyqq{position:relative}");
14
+ function $(o) {
15
+ L(o, "svelte-1mvqyqq", ".plugin-floorplan-radar.svelte-1mvqyqq{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.plugin-floorplan-radar-container.svelte-1mvqyqq{position:relative}");
16
16
  }
17
- function W(i) {
18
- let t, l, n, e = i[6] !== 0 && A(i);
17
+ function W(o) {
18
+ let t, l, n, e = o[6] !== 0 && A(o);
19
19
  return {
20
20
  c() {
21
- t = S("div"), e && e.c(), F(t, "class", "plugin-floorplan-radar svelte-1mvqyqq"), L(() => i[12].call(t));
21
+ t = N("div"), e && e.c(), P(t, "class", "plugin-floorplan-radar svelte-1mvqyqq"), R(() => o[12].call(t));
22
22
  },
23
- m(o, f) {
24
- I(o, t, f), e && e.m(t, null), l = Q(t, i[12].bind(t)), n = !0;
23
+ m(i, f) {
24
+ y(i, t, f), e && e.m(t, null), l = T(t, o[12].bind(t)), n = !0;
25
25
  },
26
- p(o, f) {
27
- o[6] !== 0 ? e ? (e.p(o, f), f & 64 && c(e, 1)) : (e = A(o), e.c(), c(e, 1), e.m(t, null)) : e && (C(), h(e, 1, 1, () => {
26
+ p(i, f) {
27
+ i[6] !== 0 ? e ? (e.p(i, f), f & 64 && u(e, 1)) : (e = A(i), e.c(), u(e, 1), e.m(t, null)) : e && (M(), h(e, 1, 1, () => {
28
28
  e = null;
29
- }), M());
29
+ }), F());
30
30
  },
31
- i(o) {
32
- n || (c(e), n = !0);
31
+ i(i) {
32
+ n || (u(e), n = !0);
33
33
  },
34
- o(o) {
34
+ o(i) {
35
35
  h(e), n = !1;
36
36
  },
37
- d(o) {
38
- o && k(t), e && e.d(), l();
37
+ d(i) {
38
+ i && k(t), e && e.d(), l();
39
39
  }
40
40
  };
41
41
  }
42
- function A(i) {
43
- let t, l, n, e, o = `${i[8]}px`, f = `${i[11]}px`, u;
42
+ function A(o) {
43
+ let t, l, n, e, i = `${o[8]}px`, f = `${o[11]}px`, c;
44
44
  const p = [
45
45
  {
46
- five: i[0],
47
- pxmm: i[9],
48
- floorIndex: i[10],
49
- floorplanData: i[3],
50
- hoverEnable: i[2],
51
- extraObjects: i[5]
46
+ five: o[0],
47
+ pxmm: o[9],
48
+ floorIndex: o[10],
49
+ floorplanData: o[3],
50
+ hoverEnable: o[2],
51
+ extraObjects: o[5]
52
52
  }
53
53
  ];
54
- let _ = {};
54
+ let d = {};
55
55
  for (let r = 0; r < p.length; r += 1)
56
- _ = z(_, p[r]);
57
- l = new Y({ props: _ });
58
- const d = [
56
+ d = O(d, p[r]);
57
+ l = new x({ props: d });
58
+ const _ = [
59
59
  {
60
- pxmm: i[9],
61
- five: i[0],
62
- floorplanData: i[3],
63
- cameraImageUrl: i[4]
60
+ pxmm: o[9],
61
+ five: o[0],
62
+ floorplanData: o[3],
63
+ cameraImageUrl: o[4]
64
64
  }
65
65
  ];
66
- let s = {};
67
- for (let r = 0; r < d.length; r += 1)
68
- s = z(s, d[r]);
69
- return e = new X({ props: s }), {
66
+ let m = {};
67
+ for (let r = 0; r < _.length; r += 1)
68
+ m = O(m, _[r]);
69
+ return e = new Z({ props: m }), {
70
70
  c() {
71
- t = S("div"), E(l.$$.fragment), n = R(), E(e.$$.fragment), F(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), q(t, "width", o, !1), q(t, "height", f, !1);
71
+ t = N("div"), U(l.$$.fragment), n = V(), U(e.$$.fragment), P(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), q(t, "width", i, !1), q(t, "height", f, !1);
72
72
  },
73
- m(r, m) {
74
- I(r, t, m), O(l, t, null), T(t, n), O(e, t, null), u = !0;
73
+ m(r, s) {
74
+ y(r, t, s), C(l, t, null), X(t, n), C(e, t, null), c = !0;
75
75
  },
76
- p(r, m) {
77
- const g = m & 1581 ? U(p, [
76
+ p(r, s) {
77
+ const g = s & 1581 ? H(p, [
78
78
  {
79
79
  five: r[0],
80
80
  pxmm: r[9],
@@ -85,7 +85,7 @@ function A(i) {
85
85
  }
86
86
  ]) : {};
87
87
  l.$set(g);
88
- const v = m & 537 ? U(d, [
88
+ const v = s & 537 ? H(_, [
89
89
  {
90
90
  pxmm: r[9],
91
91
  five: r[0],
@@ -93,35 +93,35 @@ function A(i) {
93
93
  cameraImageUrl: r[4]
94
94
  }
95
95
  ]) : {};
96
- e.$set(v), m & 256 && o !== (o = `${r[8]}px`) && q(t, "width", o, !1), m & 2048 && f !== (f = `${r[11]}px`) && q(t, "height", f, !1);
96
+ e.$set(v), s & 256 && i !== (i = `${r[8]}px`) && q(t, "width", i, !1), s & 2048 && f !== (f = `${r[11]}px`) && q(t, "height", f, !1);
97
97
  },
98
98
  i(r) {
99
- u || (c(l.$$.fragment, r), c(e.$$.fragment, r), u = !0);
99
+ c || (u(l.$$.fragment, r), u(e.$$.fragment, r), c = !0);
100
100
  },
101
101
  o(r) {
102
- h(l.$$.fragment, r), h(e.$$.fragment, r), u = !1;
102
+ h(l.$$.fragment, r), h(e.$$.fragment, r), c = !1;
103
103
  },
104
104
  d(r) {
105
- r && k(t), H(l), H(e);
105
+ r && k(t), S(l), S(e);
106
106
  }
107
107
  };
108
108
  }
109
- function x(i) {
110
- let t, l, n = i[1] && W(i);
109
+ function ee(o) {
110
+ let t, l, n = o[1] && W(o);
111
111
  return {
112
112
  c() {
113
- n && n.c(), t = K();
113
+ n && n.c(), t = Q();
114
114
  },
115
- m(e, o) {
116
- n && n.m(e, o), I(e, t, o), l = !0;
115
+ m(e, i) {
116
+ n && n.m(e, i), y(e, t, i), l = !0;
117
117
  },
118
- p(e, [o]) {
119
- e[1] ? n ? (n.p(e, o), o & 2 && c(n, 1)) : (n = W(e), n.c(), c(n, 1), n.m(t.parentNode, t)) : n && (C(), h(n, 1, 1, () => {
118
+ p(e, [i]) {
119
+ e[1] ? n ? (n.p(e, i), i & 2 && u(n, 1)) : (n = W(e), n.c(), u(n, 1), n.m(t.parentNode, t)) : n && (M(), h(n, 1, 1, () => {
120
120
  n = null;
121
- }), M());
121
+ }), F());
122
122
  },
123
123
  i(e) {
124
- l || (c(n), l = !0);
124
+ l || (u(n), l = !0);
125
125
  },
126
126
  o(e) {
127
127
  h(n), l = !1;
@@ -131,50 +131,51 @@ function x(i) {
131
131
  }
132
132
  };
133
133
  }
134
- function $(i, t, l) {
135
- let { five: n } = t, { visible: e } = t, { hoverEnable: o } = t, { floorplanData: f } = t, { cameraImageUrl: u } = t, { extraObjects: p = [] } = t, _ = 0, d = 0, s = 0, r = 0, m = 0, g = 0;
134
+ function te(o, t, l) {
135
+ var w, D;
136
+ let { five: n } = t, { visible: e } = t, { hoverEnable: i } = t, { floorplanData: f } = t, { cameraImageUrl: c } = t, { extraObjects: p = [] } = t, d = 0, _ = (D = (w = n.work.observers[n.getCurrentState().panoIndex]) == null ? void 0 : w.floorIndex) != null ? D : 0, m = 0, r = 0, s = 0, g = 0;
136
137
  function v(a) {
137
- l(10, d = n.work.observers[a].floorIndex);
138
+ l(10, _ = n.work.observers[a].floorIndex);
138
139
  }
139
- V(() => (n.on("panoArrived", v), () => {
140
+ Y(() => (n.on("panoArrived", v), () => {
140
141
  n.off("panoArrived", v);
141
142
  }));
142
- function N() {
143
- s = this.clientWidth, r = this.clientHeight, l(6, s), l(7, r);
143
+ function B() {
144
+ m = this.clientWidth, r = this.clientHeight, l(6, m), l(7, r);
144
145
  }
145
- return i.$$set = (a) => {
146
- "five" in a && l(0, n = a.five), "visible" in a && l(1, e = a.visible), "hoverEnable" in a && l(2, o = a.hoverEnable), "floorplanData" in a && l(3, f = a.floorplanData), "cameraImageUrl" in a && l(4, u = a.cameraImageUrl), "extraObjects" in a && l(5, p = a.extraObjects);
147
- }, i.$$.update = () => {
148
- if (i.$$.dirty & 456) {
149
- const a = Math.min(s, r), { max: D, min: j } = f.bounding, b = D.x - j.x, y = D.y - j.y, w = function() {
150
- return b > y ? [a, a / b * y] : [a / y * b, a];
146
+ return o.$$set = (a) => {
147
+ "five" in a && l(0, n = a.five), "visible" in a && l(1, e = a.visible), "hoverEnable" in a && l(2, i = a.hoverEnable), "floorplanData" in a && l(3, f = a.floorplanData), "cameraImageUrl" in a && l(4, c = a.cameraImageUrl), "extraObjects" in a && l(5, p = a.extraObjects);
148
+ }, o.$$.update = () => {
149
+ if (o.$$.dirty & 456) {
150
+ const a = Math.min(m, r), { max: j, min: z } = f.bounding, b = j.x - z.x, I = j.y - z.y, E = function() {
151
+ return b > I ? [a, a / b * I] : [a / I * b, a];
151
152
  }();
152
- l(8, m = w[0]), l(11, g = w[1]), l(9, _ = m / b);
153
+ l(8, s = E[0]), l(11, g = E[1]), l(9, d = s / b);
153
154
  }
154
155
  }, [
155
156
  n,
156
157
  e,
157
- o,
158
+ i,
158
159
  f,
159
- u,
160
+ c,
160
161
  p,
161
- s,
162
- r,
163
162
  m,
164
- _,
163
+ r,
164
+ s,
165
165
  d,
166
+ _,
166
167
  g,
167
- N
168
+ B
168
169
  ];
169
170
  }
170
- class _e extends P {
171
+ class he extends G {
171
172
  constructor(t) {
172
- super(), B(
173
+ super(), J(
173
174
  this,
174
175
  t,
175
- $,
176
- x,
177
- G,
176
+ te,
177
+ ee,
178
+ K,
178
179
  {
179
180
  five: 0,
180
181
  visible: 1,
@@ -183,10 +184,10 @@ class _e extends P {
183
184
  cameraImageUrl: 4,
184
185
  extraObjects: 5
185
186
  },
186
- Z
187
+ $
187
188
  );
188
189
  }
189
190
  }
190
191
  export {
191
- _e as default
192
+ he as default
192
193
  };
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.0",
11
+ "version": "2.2.2",
12
12
  "license": "SEE LICENSE IN TERMS.txt",
13
13
  "files": [
14
14
  "libs",