@realsee/dnalogel 2.2.5 → 2.2.6

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 (244) hide show
  1. package/dist/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
  2. package/dist/index.cjs.js +17 -17
  3. package/dist/index.js +849 -887
  4. package/dist/index.umd.js +17 -17
  5. package/dist/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
  6. package/docs/classes/CruisePluginController.html +24 -24
  7. package/docs/classes/Magnifier.html +16 -16
  8. package/docs/classes/ModelRoomLabelController.html +11 -11
  9. package/docs/classes/Object3DHelperController.html +24 -24
  10. package/docs/classes/PaintBrush.html +15 -15
  11. package/docs/classes/PanoTagPluginController.html +39 -39
  12. package/docs/classes/Util.BetterTween.html +8 -8
  13. package/docs/classes/Util.FivePointSelector.html +12 -12
  14. package/docs/classes/Util.Interval.html +12 -12
  15. package/docs/classes/Util.Magnifier.html +17 -17
  16. package/docs/classes/Util.PointDomHelper.html +11 -11
  17. package/docs/classes/Util.PointHelper.html +11 -11
  18. package/docs/classes/Util.Rectangle.html +13 -13
  19. package/docs/enums/CameraMovementEffect.html +7 -7
  20. package/docs/enums/ContentType.html +12 -12
  21. package/docs/enums/DIRECTION.html +9 -9
  22. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  23. package/docs/enums/DimensionType.html +7 -7
  24. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  25. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  26. package/docs/enums/LinkType.html +7 -7
  27. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  28. package/docs/enums/PointType.html +7 -7
  29. package/docs/enums/Rotation.html +8 -8
  30. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  31. package/docs/functions/CameraMovementPlugin.html +4 -4
  32. package/docs/functions/CruisePlugin.html +4 -4
  33. package/docs/functions/GuideLinePlugin.html +5 -5
  34. package/docs/functions/ItemLabelPlugin.html +4 -4
  35. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  36. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  37. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  38. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  39. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  40. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  41. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  42. package/docs/functions/ModelViewPlugin.html +4 -4
  43. package/docs/functions/Object3DHelperPlugin.html +4 -4
  44. package/docs/functions/PanoCompassPlugin.html +4 -4
  45. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  46. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  47. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  48. package/docs/functions/PanoMeasurePlugin.html +4 -4
  49. package/docs/functions/PanoRulerPlugin.html +4 -4
  50. package/docs/functions/PanoRulerProPlugin.html +4 -4
  51. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  52. package/docs/functions/PanoTagPlugin.html +4 -4
  53. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  54. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  55. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  56. package/docs/functions/Util.getFrameTime.html +5 -5
  57. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  58. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  59. package/docs/functions/Util.isNil.html +5 -5
  60. package/docs/functions/Util.nextFrame.html +5 -5
  61. package/docs/functions/Util.notNil.html +5 -5
  62. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  63. package/docs/functions/Util.tweenProgress.html +5 -5
  64. package/docs/functions/pluginFlag.html +5 -5
  65. package/docs/index.html +4 -4
  66. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  67. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  68. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  69. package/docs/interfaces/ContentTypeMap.html +12 -12
  70. package/docs/interfaces/FloorplanBounding.html +8 -8
  71. package/docs/interfaces/FloorplanData.html +10 -10
  72. package/docs/interfaces/FloorplanEntrance.html +11 -11
  73. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  74. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  75. package/docs/interfaces/FloorplanFloorData.html +9 -9
  76. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  77. package/docs/interfaces/FloorplanObserver.html +9 -9
  78. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  79. package/docs/interfaces/FloorplanPosition.html +7 -7
  80. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  81. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  82. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  83. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  84. package/docs/interfaces/FloorplanServerData.html +7 -7
  85. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  86. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  87. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  88. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  89. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  90. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  91. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  92. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  93. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  94. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  95. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  96. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  97. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  98. package/docs/interfaces/LineJson.html +7 -7
  99. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  100. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  101. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  102. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  103. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  104. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  105. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  106. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  107. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  108. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  109. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  110. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  111. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  112. package/docs/interfaces/Object3DHelperState.html +8 -8
  113. package/docs/interfaces/OpenParameter.html +7 -7
  114. package/docs/interfaces/PaintBrushAction.html +12 -12
  115. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  116. package/docs/interfaces/PaintBrushState.html +10 -10
  117. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  118. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  119. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  120. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  121. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  122. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  123. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  124. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  125. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  126. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  127. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  128. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  129. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  130. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  131. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  132. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  133. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  134. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  135. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  136. package/docs/interfaces/Point.html +8 -8
  137. package/docs/interfaces/PointJson.html +8 -8
  138. package/docs/interfaces/Room.html +9 -9
  139. package/docs/interfaces/RoomInfo.html +7 -7
  140. package/docs/interfaces/RoomLabel.html +14 -14
  141. package/docs/interfaces/RoomRules.html +5 -5
  142. package/docs/interfaces/Rooms.html +5 -5
  143. package/docs/interfaces/Scissor.html +9 -9
  144. package/docs/interfaces/TagConfig.html +10 -10
  145. package/docs/interfaces/Tags.html +9 -9
  146. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  147. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  148. package/docs/modules/Util.html +5 -5
  149. package/docs/modules.html +4 -4
  150. package/docs/types/ArrayPosition.html +5 -5
  151. package/docs/types/CSS3DRenderExportType.html +5 -5
  152. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  153. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  154. package/docs/types/Color.html +5 -5
  155. package/docs/types/ContentTypeConfigKey.html +5 -5
  156. package/docs/types/ContentTypeConfigKeyArray.html +5 -5
  157. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  158. package/docs/types/Create3DElementReturnType.html +5 -5
  159. package/docs/types/CruisePluginExportType.html +5 -5
  160. package/docs/types/Direction-1.html +5 -5
  161. package/docs/types/Direction4.html +5 -5
  162. package/docs/types/FloorplanRuleLabels.html +5 -5
  163. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  164. package/docs/types/GuideLinePluginExportType.html +5 -5
  165. package/docs/types/HelperEventMap.html +5 -5
  166. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  167. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  168. package/docs/types/MediaData.html +5 -5
  169. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -6
  170. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  171. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  172. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  173. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  174. package/docs/types/MoveArgs.html +5 -5
  175. package/docs/types/MoveOpts.html +5 -5
  176. package/docs/types/Object3DHelperEventMap.html +5 -5
  177. package/docs/types/ObjectFit.html +5 -5
  178. package/docs/types/PaintBrushEventMap.html +5 -5
  179. package/docs/types/PanoCompassPluginData.html +5 -5
  180. package/docs/types/PanoCompassPluginExportType.html +5 -5
  181. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  182. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  183. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  184. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  185. package/docs/types/PanoMeasureReturnType.html +5 -5
  186. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  187. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  188. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  189. package/docs/types/PlaneTag.html +5 -5
  190. package/docs/types/PointTag.html +5 -5
  191. package/docs/types/Position.html +5 -5
  192. package/docs/types/RotateArgs.html +5 -5
  193. package/docs/types/RotateOpts.html +5 -5
  194. package/docs/types/RuleLabelsKey.html +5 -5
  195. package/docs/types/RuleLabelsValue.html +5 -5
  196. package/docs/types/Tag.html +5 -5
  197. package/docs/types/Tag2D.html +5 -5
  198. package/docs/types/Tag3D.html +5 -5
  199. package/docs/types/TagId.html +5 -5
  200. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  201. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  202. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  203. package/docs/variables/PLUGIN.html +5 -5
  204. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  205. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  206. package/docs/variables/VERSION.html +5 -5
  207. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  208. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  209. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  210. package/libs/ItemLabelPlugin/ItemLabelComponent.js +2 -2
  211. package/libs/ItemLabelPlugin/ItemLabelItem.js +11 -11
  212. package/libs/ModelChassisCompassPlugin/Plugin.js +1 -1
  213. package/libs/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
  214. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +42 -39
  215. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +2 -2
  216. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +12 -12
  217. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +13 -13
  218. package/libs/PanoRulerProPlugin/RulerItem.js +59 -69
  219. package/libs/PanoSpatialTagPlugin/Components/origins.js +39 -39
  220. package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -1
  221. package/libs/PanoTagPlugin/Components/Common/Media.js +53 -53
  222. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +2 -2
  223. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +8 -8
  224. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +13 -13
  225. package/libs/PanoTagPlugin/Components/Common/Shadow.js +5 -5
  226. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +12 -12
  227. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +48 -78
  228. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +25 -25
  229. package/libs/PanoTagPlugin/Components/Tag/index.js +35 -35
  230. package/libs/PanoTagPlugin/Components/TagContainer.js +2 -2
  231. package/libs/PanoTagPlugin/Components/TagWrapper.js +2 -2
  232. package/libs/floorplan/Components/Camera.js +23 -23
  233. package/libs/floorplan/Components/Compass.js +2 -2
  234. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +31 -31
  235. package/libs/floorplan/Components/RuleLabels/RuleItem.js +51 -51
  236. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +2 -2
  237. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +2 -2
  238. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +26 -26
  239. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +16 -16
  240. package/libs/index.js +1 -1
  241. package/libs/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
  242. package/libs/shared-utils/three/{transfromToMeshBasicMaterial.js → transformToMeshBasicMaterial.js} +0 -0
  243. package/libs/vendor/svelte/internal/index.js +151 -152
  244. package/package.json +1 -2
@@ -64,7 +64,7 @@ function N(o) {
64
64
  l = W("div");
65
65
  for (let e = 0; e < t.length; e += 1)
66
66
  t[e].c();
67
- H(l, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"), _(l, "width", o[3], !1), _(l, "height", o[2], !1);
67
+ H(l, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"), _(l, "width", o[3]), _(l, "height", o[2]);
68
68
  },
69
69
  m(e, n) {
70
70
  k(e, l, n);
@@ -73,7 +73,7 @@ function N(o) {
73
73
  i = !0;
74
74
  },
75
75
  p(e, [n]) {
76
- n & 19 && (a = e[4], E(), t = O(t, n, s, 1, e, a, r, l, F, b, null, y), q()), n & 8 && _(l, "width", e[3], !1), n & 4 && _(l, "height", e[2], !1);
76
+ n & 19 && (a = e[4], E(), t = O(t, n, s, 1, e, a, r, l, F, b, null, y), q()), n & 8 && _(l, "width", e[3]), n & 4 && _(l, "height", e[2]);
77
77
  },
78
78
  i(e) {
79
79
  if (!i) {
@@ -8,13 +8,13 @@ function R(n) {
8
8
  let a, t, o;
9
9
  return {
10
10
  c() {
11
- a = p("div"), t = p("div"), o = p("div"), g(o, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"), l(o, "background-image", "url(" + (n[0] || b) + ")"), l(o, "transform", n[1], !1), g(t, "class", "plugin-radar__camera-position svelte-1nqrlxd"), l(t, "transform", n[2], !1), g(a, "class", "plugin-radar__camera-wrapper svelte-1nqrlxd");
11
+ a = p("div"), t = p("div"), o = p("div"), g(o, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"), l(o, "background-image", "url(" + (n[0] || b) + ")"), l(o, "transform", n[1]), g(t, "class", "plugin-radar__camera-position svelte-1nqrlxd"), l(t, "transform", n[2]), g(a, "class", "plugin-radar__camera-wrapper svelte-1nqrlxd");
12
12
  },
13
13
  m(i, r) {
14
14
  W(i, a, r), x(a, t), x(t, o);
15
15
  },
16
16
  p(i, [r]) {
17
- r & 1 && l(o, "background-image", "url(" + (i[0] || b) + ")"), r & 2 && l(o, "transform", i[1], !1), r & 4 && l(t, "transform", i[2], !1);
17
+ r & 1 && l(o, "background-image", "url(" + (i[0] || b) + ")"), r & 2 && l(o, "transform", i[1]), r & 4 && l(t, "transform", i[2]);
18
18
  },
19
19
  i: I,
20
20
  o: I,
@@ -3,64 +3,64 @@ function x(a) {
3
3
  w(a, "svelte-1i87fz7", ".plugin-pano-floorplan__extra-objects.svelte-1i87fz7{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.plugin-pano-floorplan__extra-object-item--position.svelte-1i87fz7{position:absolute;width:0;height:0}.plugin-pano-floorplan__extra-object-item.svelte-1i87fz7{transform:translate(-50%, -50%)}");
4
4
  }
5
5
  function d(a, t, e) {
6
- const i = a.slice();
7
- return i[1] = t[e], i;
6
+ const l = a.slice();
7
+ return l[1] = t[e], l;
8
8
  }
9
9
  function m(a, t) {
10
- let e, i, n = `${t[1].icon.width / 16}rem`, f = `${t[1].icon.height / 16}rem`, l, o = `${t[1].positionInImage.y * 100}%`, s = `${t[1].positionInImage.x * 100}%`;
10
+ let e, l, n = `${t[1].icon.width / 16}rem`, c = `${t[1].icon.height / 16}rem`, i, o = `${t[1].positionInImage.y * 100}%`, s = `${t[1].positionInImage.x * 100}%`;
11
11
  return {
12
12
  key: a,
13
13
  first: null,
14
14
  c() {
15
- e = h("div"), i = h("div"), l = I(), _(i, "class", "plugin-pano-floorplan__extra-object-item svelte-1i87fz7"), r(i, "background-image", `url(${t[1].icon.url})`), r(i, "width", n, !1), r(i, "height", f, !1), _(e, "class", "plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7"), r(e, "top", o, !1), r(e, "left", s, !1), this.first = e;
15
+ e = h("div"), l = h("div"), i = I(), _(l, "class", "plugin-pano-floorplan__extra-object-item svelte-1i87fz7"), r(l, "background-image", `url(${t[1].icon.url})`), r(l, "width", n), r(l, "height", c), _(e, "class", "plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7"), r(e, "top", o), r(e, "left", s), this.first = e;
16
16
  },
17
- m(p, c) {
18
- b(p, e, c), g(e, i), g(e, l);
17
+ m(f, p) {
18
+ b(f, e, p), g(e, l), g(e, i);
19
19
  },
20
- p(p, c) {
21
- t = p, c & 1 && r(i, "background-image", `url(${t[1].icon.url})`), c & 1 && n !== (n = `${t[1].icon.width / 16}rem`) && r(i, "width", n, !1), c & 1 && f !== (f = `${t[1].icon.height / 16}rem`) && r(i, "height", f, !1), c & 1 && o !== (o = `${t[1].positionInImage.y * 100}%`) && r(e, "top", o, !1), c & 1 && s !== (s = `${t[1].positionInImage.x * 100}%`) && r(e, "left", s, !1);
20
+ p(f, p) {
21
+ t = f, p & 1 && r(l, "background-image", `url(${t[1].icon.url})`), p & 1 && n !== (n = `${t[1].icon.width / 16}rem`) && r(l, "width", n), p & 1 && c !== (c = `${t[1].icon.height / 16}rem`) && r(l, "height", c), p & 1 && o !== (o = `${t[1].positionInImage.y * 100}%`) && r(e, "top", o), p & 1 && s !== (s = `${t[1].positionInImage.x * 100}%`) && r(e, "left", s);
22
22
  },
23
- d(p) {
24
- p && v(e);
23
+ d(f) {
24
+ f && v(e);
25
25
  }
26
26
  };
27
27
  }
28
28
  function O(a) {
29
- let t, e = [], i = /* @__PURE__ */ new Map(), n = a[0];
30
- const f = (l) => l[1].id;
31
- for (let l = 0; l < n.length; l += 1) {
32
- let o = d(a, n, l), s = f(o);
33
- i.set(s, e[l] = m(s, o));
29
+ let t, e = [], l = /* @__PURE__ */ new Map(), n = a[0];
30
+ const c = (i) => i[1].id;
31
+ for (let i = 0; i < n.length; i += 1) {
32
+ let o = d(a, n, i), s = c(o);
33
+ l.set(s, e[i] = m(s, o));
34
34
  }
35
35
  return {
36
36
  c() {
37
37
  t = h("div");
38
- for (let l = 0; l < e.length; l += 1)
39
- e[l].c();
38
+ for (let i = 0; i < e.length; i += 1)
39
+ e[i].c();
40
40
  _(t, "class", "plugin-pano-floorplan__extra-objects svelte-1i87fz7");
41
41
  },
42
- m(l, o) {
43
- b(l, t, o);
42
+ m(i, o) {
43
+ b(i, t, o);
44
44
  for (let s = 0; s < e.length; s += 1)
45
45
  e[s].m(t, null);
46
46
  },
47
- p(l, [o]) {
48
- o & 1 && (n = l[0], e = y(e, o, f, 1, l, n, i, t, z, m, null, d));
47
+ p(i, [o]) {
48
+ o & 1 && (n = i[0], e = y(e, o, c, 1, i, n, l, t, z, m, null, d));
49
49
  },
50
50
  i: u,
51
51
  o: u,
52
- d(l) {
53
- l && v(t);
52
+ d(i) {
53
+ i && v(t);
54
54
  for (let o = 0; o < e.length; o += 1)
55
55
  e[o].d();
56
56
  }
57
57
  };
58
58
  }
59
59
  function q(a, t, e) {
60
- let { extraObjects: i = [] } = t;
60
+ let { extraObjects: l = [] } = t;
61
61
  return a.$$set = (n) => {
62
- "extraObjects" in n && e(0, i = n.extraObjects);
63
- }, [i];
62
+ "extraObjects" in n && e(0, l = n.extraObjects);
63
+ }, [l];
64
64
  }
65
65
  class E extends j {
66
66
  constructor(t) {
@@ -62,18 +62,18 @@ function A(o) {
62
62
  cameraImageUrl: o[4]
63
63
  }
64
64
  ];
65
- let m = {};
65
+ let s = {};
66
66
  for (let r = 0; r < _.length; r += 1)
67
- m = O(m, _[r]);
68
- return e = new Z({ props: m }), {
67
+ s = O(s, _[r]);
68
+ return e = new Z({ props: s }), {
69
69
  c() {
70
- t = F("div"), U(l.$$.fragment), n = X(), U(e.$$.fragment), N(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), q(t, "width", i, !1), q(t, "height", f, !1);
70
+ t = F("div"), U(l.$$.fragment), n = X(), U(e.$$.fragment), N(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), q(t, "width", i), q(t, "height", f);
71
71
  },
72
- m(r, s) {
73
- y(r, t, s), C(l, t, null), Y(t, n), C(e, t, null), c = !0;
72
+ m(r, m) {
73
+ y(r, t, m), C(l, t, null), Y(t, n), C(e, t, null), c = !0;
74
74
  },
75
- p(r, s) {
76
- const g = s & 1581 ? H(d, [
75
+ p(r, m) {
76
+ const g = m & 1581 ? H(d, [
77
77
  {
78
78
  five: r[0],
79
79
  pxmm: r[9],
@@ -84,7 +84,7 @@ function A(o) {
84
84
  }
85
85
  ]) : {};
86
86
  l.$set(g);
87
- const v = s & 537 ? H(_, [
87
+ const v = m & 537 ? H(_, [
88
88
  {
89
89
  pxmm: r[9],
90
90
  five: r[0],
@@ -92,7 +92,7 @@ function A(o) {
92
92
  cameraImageUrl: r[4]
93
93
  }
94
94
  ]) : {};
95
- 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);
95
+ e.$set(v), m & 256 && i !== (i = `${r[8]}px`) && q(t, "width", i), m & 2048 && f !== (f = `${r[11]}px`) && q(t, "height", f);
96
96
  },
97
97
  i(r) {
98
98
  c || (u(l.$$.fragment, r), u(e.$$.fragment, r), c = !0);
@@ -132,7 +132,7 @@ function ee(o) {
132
132
  }
133
133
  function te(o, t, l) {
134
134
  var w, D;
135
- let { five: n } = t, { visible: e } = t, { hoverEnable: i } = t, { floorplanData: f } = t, { cameraImageUrl: c } = t, { extraObjects: d = [] } = t, p = 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;
135
+ let { five: n } = t, { visible: e } = t, { hoverEnable: i } = t, { floorplanData: f } = t, { cameraImageUrl: c } = t, { extraObjects: d = [] } = t, p = 0, _ = (D = (w = n.work.observers[n.getCurrentState().panoIndex]) == null ? void 0 : w.floorIndex) != null ? D : 0, s = 0, r = 0, m = 0, g = 0;
136
136
  function v(a) {
137
137
  l(10, _ = n.work.observers[a].floorIndex);
138
138
  }
@@ -140,16 +140,16 @@ function te(o, t, l) {
140
140
  n.off("panoArrived", v);
141
141
  }));
142
142
  function B() {
143
- m = this.clientWidth, r = this.clientHeight, l(6, m), l(7, r);
143
+ s = this.clientWidth, r = this.clientHeight, l(6, s), l(7, r);
144
144
  }
145
145
  return o.$$set = (a) => {
146
146
  "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, d = a.extraObjects);
147
147
  }, o.$$.update = () => {
148
148
  if (o.$$.dirty & 456) {
149
- const a = Math.min(m, r), { max: j, min: z } = f.bounding, b = j.x - z.x, I = j.y - z.y, E = function() {
149
+ const a = Math.min(s, r), { max: j, min: z } = f.bounding, b = j.x - z.x, I = j.y - z.y, E = function() {
150
150
  return b > I ? [a, a / b * I] : [a / I * b, a];
151
151
  }();
152
- l(8, s = E[0]), l(11, g = E[1]), l(9, p = s / b);
152
+ l(8, m = E[0]), l(11, g = E[1]), l(9, p = m / b);
153
153
  }
154
154
  }, [
155
155
  n,
@@ -158,9 +158,9 @@ function te(o, t, l) {
158
158
  f,
159
159
  c,
160
160
  d,
161
- m,
162
- r,
163
161
  s,
162
+ r,
163
+ m,
164
164
  p,
165
165
  _,
166
166
  g,
package/libs/index.js CHANGED
@@ -113,7 +113,7 @@ import "./floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloo
113
113
  import "./floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js";
114
114
  import "three/examples/jsm/loaders/FBXLoader";
115
115
  import "./shared-utils/object3d2LocalMatrix.js";
116
- import "./shared-utils/three/transfromToMeshBasicMaterial.js";
116
+ import "./shared-utils/three/transformToMeshBasicMaterial.js";
117
117
  import "./shared-utils/createCanvasTextTexture.js";
118
118
  import "./shared-utils/three/transformPositionToVector3.js";
119
119
  import "./shared-utils/animationFrame/tween.js";