@realsee/dnalogel 2.2.5 → 2.2.7

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 (337) 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/assets/main.js +1 -1
  7. package/docs/classes/CruisePluginController.html +24 -24
  8. package/docs/classes/Magnifier.html +16 -16
  9. package/docs/classes/ModelRoomLabelController.html +11 -11
  10. package/docs/classes/Object3DHelperController.html +24 -24
  11. package/docs/classes/PaintBrush.html +15 -15
  12. package/docs/classes/PanoTagPluginController.html +39 -39
  13. package/docs/classes/Util.BetterTween.html +8 -8
  14. package/docs/classes/Util.FivePointSelector.html +12 -12
  15. package/docs/classes/Util.Interval.html +12 -12
  16. package/docs/classes/Util.Magnifier.html +17 -17
  17. package/docs/classes/Util.PointDomHelper.html +11 -11
  18. package/docs/classes/Util.PointHelper.html +11 -11
  19. package/docs/classes/Util.Rectangle.html +13 -13
  20. package/docs/enums/CameraMovementEffect.html +7 -7
  21. package/docs/enums/ContentType.html +12 -12
  22. package/docs/enums/DIRECTION.html +9 -9
  23. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  24. package/docs/enums/DimensionType.html +7 -7
  25. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  26. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  27. package/docs/enums/LinkType.html +7 -7
  28. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  29. package/docs/enums/PointType.html +7 -7
  30. package/docs/enums/Rotation.html +8 -8
  31. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  32. package/docs/functions/CameraMovementPlugin.html +4 -4
  33. package/docs/functions/CruisePlugin.html +4 -4
  34. package/docs/functions/GuideLinePlugin.html +5 -5
  35. package/docs/functions/ItemLabelPlugin.html +4 -4
  36. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  37. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  38. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  39. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  40. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  41. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  42. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  43. package/docs/functions/ModelViewPlugin.html +4 -4
  44. package/docs/functions/Object3DHelperPlugin.html +4 -4
  45. package/docs/functions/PanoCompassPlugin.html +4 -4
  46. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  47. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  48. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  49. package/docs/functions/PanoMeasurePlugin.html +4 -4
  50. package/docs/functions/PanoRulerPlugin.html +4 -4
  51. package/docs/functions/PanoRulerProPlugin.html +4 -4
  52. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  53. package/docs/functions/PanoTagPlugin.html +4 -4
  54. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  55. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  56. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  57. package/docs/functions/Util.getFrameTime.html +5 -5
  58. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  59. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  60. package/docs/functions/Util.isNil.html +5 -5
  61. package/docs/functions/Util.nextFrame.html +5 -5
  62. package/docs/functions/Util.notNil.html +5 -5
  63. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  64. package/docs/functions/Util.tweenProgress.html +5 -5
  65. package/docs/functions/pluginFlag.html +5 -5
  66. package/docs/index.html +4 -4
  67. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  68. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  69. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  70. package/docs/interfaces/ContentTypeMap.html +12 -12
  71. package/docs/interfaces/FloorplanBounding.html +8 -8
  72. package/docs/interfaces/FloorplanData.html +10 -10
  73. package/docs/interfaces/FloorplanEntrance.html +11 -11
  74. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  75. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  76. package/docs/interfaces/FloorplanFloorData.html +9 -9
  77. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  78. package/docs/interfaces/FloorplanObserver.html +9 -9
  79. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  80. package/docs/interfaces/FloorplanPosition.html +7 -7
  81. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  82. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  83. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  84. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  85. package/docs/interfaces/FloorplanServerData.html +7 -7
  86. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  87. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  88. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  89. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  90. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  91. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  92. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  93. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  94. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  95. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  96. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  97. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  98. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  99. package/docs/interfaces/LineJson.html +7 -7
  100. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  101. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  102. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  103. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  104. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  105. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  106. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  107. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  108. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  109. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  110. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  111. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  112. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  113. package/docs/interfaces/Object3DHelperState.html +8 -8
  114. package/docs/interfaces/OpenParameter.html +7 -7
  115. package/docs/interfaces/PaintBrushAction.html +12 -12
  116. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  117. package/docs/interfaces/PaintBrushState.html +10 -10
  118. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  119. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  120. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  121. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  122. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  123. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  124. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  125. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  126. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  127. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  128. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  129. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  130. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  131. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  132. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  133. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  134. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  135. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  136. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  137. package/docs/interfaces/Point.html +8 -8
  138. package/docs/interfaces/PointJson.html +8 -8
  139. package/docs/interfaces/Room.html +9 -9
  140. package/docs/interfaces/RoomInfo.html +7 -7
  141. package/docs/interfaces/RoomLabel.html +14 -14
  142. package/docs/interfaces/RoomRules.html +5 -5
  143. package/docs/interfaces/Rooms.html +5 -5
  144. package/docs/interfaces/Scissor.html +9 -9
  145. package/docs/interfaces/TagConfig.html +10 -10
  146. package/docs/interfaces/Tags.html +9 -9
  147. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  148. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  149. package/docs/modules/Util.html +5 -5
  150. package/docs/modules.html +4 -4
  151. package/docs/types/ArrayPosition.html +5 -5
  152. package/docs/types/CSS3DRenderExportType.html +5 -5
  153. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  154. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  155. package/docs/types/Color.html +5 -5
  156. package/docs/types/ContentTypeConfigKey.html +5 -5
  157. package/docs/types/ContentTypeConfigKeyArray.html +5 -5
  158. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  159. package/docs/types/Create3DElementReturnType.html +5 -5
  160. package/docs/types/CruisePluginExportType.html +5 -5
  161. package/docs/types/Direction-1.html +5 -5
  162. package/docs/types/Direction4.html +5 -5
  163. package/docs/types/FloorplanRuleLabels.html +5 -5
  164. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  165. package/docs/types/GuideLinePluginExportType.html +5 -5
  166. package/docs/types/HelperEventMap.html +5 -5
  167. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  168. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  169. package/docs/types/MediaData.html +5 -5
  170. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -6
  171. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  172. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  173. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  174. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  175. package/docs/types/MoveArgs.html +5 -5
  176. package/docs/types/MoveOpts.html +5 -5
  177. package/docs/types/Object3DHelperEventMap.html +5 -5
  178. package/docs/types/ObjectFit.html +5 -5
  179. package/docs/types/PaintBrushEventMap.html +5 -5
  180. package/docs/types/PanoCompassPluginData.html +5 -5
  181. package/docs/types/PanoCompassPluginExportType.html +5 -5
  182. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  183. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  184. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  185. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  186. package/docs/types/PanoMeasureReturnType.html +5 -5
  187. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  188. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  189. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  190. package/docs/types/PlaneTag.html +5 -5
  191. package/docs/types/PointTag.html +5 -5
  192. package/docs/types/Position.html +5 -5
  193. package/docs/types/RotateArgs.html +5 -5
  194. package/docs/types/RotateOpts.html +5 -5
  195. package/docs/types/RuleLabelsKey.html +5 -5
  196. package/docs/types/RuleLabelsValue.html +5 -5
  197. package/docs/types/Tag.html +5 -5
  198. package/docs/types/Tag2D.html +5 -5
  199. package/docs/types/Tag3D.html +5 -5
  200. package/docs/types/TagId.html +5 -5
  201. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  202. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  203. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  204. package/docs/variables/PLUGIN.html +5 -5
  205. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  206. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  207. package/docs/variables/VERSION.html +5 -5
  208. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  209. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  210. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  211. package/libs/CSS3DRenderPlugin/CSS3DRender.js +39 -33
  212. package/libs/CSS3DRenderPlugin/Controller.js +30 -22
  213. package/libs/CSS3DRenderPlugin/index.js +12 -3
  214. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +2 -1
  215. package/libs/CameraMovementPlugin/CameraMovementPlugin.js +28 -25
  216. package/libs/CameraMovementPlugin/index.js +13 -0
  217. package/libs/CruisePlugin/Controller.js +52 -41
  218. package/libs/CruisePlugin/index.js +26 -3
  219. package/libs/CruisePlugin/typing.js +1 -0
  220. package/libs/GuideLinePlugin/Controller.js +14 -9
  221. package/libs/GuideLinePlugin/index.js +14 -3
  222. package/libs/GuideLinePlugin/typing.js +1 -0
  223. package/libs/ItemLabelPlugin/ItemLabelComponent.js +2 -2
  224. package/libs/ItemLabelPlugin/ItemLabelItem.js +11 -11
  225. package/libs/ItemLabelPlugin/Plugin.js +33 -23
  226. package/libs/ItemLabelPlugin/events.type.js +1 -0
  227. package/libs/ItemLabelPlugin/index.js +16 -2
  228. package/libs/ModelChassisCompassPlugin/Plugin.js +3 -2
  229. package/libs/ModelChassisCompassPlugin/index.js +8 -0
  230. package/libs/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
  231. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +52 -44
  232. package/libs/ModelEntryDoorGuidePlugin/index.js +9 -0
  233. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +2 -2
  234. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +12 -12
  235. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +28 -22
  236. package/libs/ModelItemLabelPlugin/index.js +12 -2
  237. package/libs/ModelRoomLabelPlugin/Controller.js +6 -2
  238. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +13 -13
  239. package/libs/ModelRoomLabelPlugin/index.js +10 -3
  240. package/libs/ModelRoomLabelPlugin/typings.js +1 -0
  241. package/libs/ModelTVVideoPlugin/Plugin.js +35 -25
  242. package/libs/ModelTVVideoPlugin/index.js +17 -0
  243. package/libs/ModelViewPlugin/Plugin.js +2 -1
  244. package/libs/ModelViewPlugin/index.js +6 -0
  245. package/libs/Object3DHelperPlugin/Controller.js +48 -27
  246. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +13 -9
  247. package/libs/Object3DHelperPlugin/index.js +40 -3
  248. package/libs/Object3DHelperPlugin/typings.js +1 -0
  249. package/libs/PanoCompassPlugin/Controller.js +25 -13
  250. package/libs/PanoCompassPlugin/index.js +23 -3
  251. package/libs/PanoCompassPlugin/typings.js +1 -0
  252. package/libs/PanoCursorRaycasterPlugin/index.js +4 -2
  253. package/libs/PanoDoorLabelPlugin/BaseController.js +27 -26
  254. package/libs/PanoDoorLabelPlugin/Controller.js +7 -2
  255. package/libs/PanoDoorLabelPlugin/index.js +12 -2
  256. package/libs/PanoDoorLabelPlugin/typings.js +1 -0
  257. package/libs/PanoMeasurePlugin/index.js +56 -5
  258. package/libs/PanoRulerPlugin/Plugin.js +22 -17
  259. package/libs/PanoRulerPlugin/index.js +9 -0
  260. package/libs/PanoRulerPlugin/style.js +1 -1
  261. package/libs/PanoRulerPlugin/typings.js +1 -0
  262. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  263. package/libs/PanoRulerProPlugin/RulerItem.js +59 -69
  264. package/libs/PanoRulerProPlugin/index.js +16 -3
  265. package/libs/PanoRulerProPlugin/typings.js +1 -0
  266. package/libs/PanoSpatialTagPlugin/Components/origins.js +41 -42
  267. package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
  268. package/libs/PanoSpatialTagPlugin/Plugin.js +74 -62
  269. package/libs/PanoSpatialTagPlugin/index.js +20 -0
  270. package/libs/PanoSpatialTagPlugin/store.js +1 -0
  271. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  272. package/libs/PanoTagPlugin/Components/Common/Audio.js +43 -43
  273. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +7 -7
  274. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +28 -29
  275. package/libs/PanoTagPlugin/Components/Common/Media.js +92 -100
  276. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
  277. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +59 -68
  278. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +13 -15
  279. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +26 -28
  280. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +28 -31
  281. package/libs/PanoTagPlugin/Components/Common/Shadow.js +12 -13
  282. package/libs/PanoTagPlugin/Components/Common/Text.js +9 -9
  283. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +24 -32
  284. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
  285. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +97 -118
  286. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +6 -8
  287. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +51 -83
  288. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -72
  289. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +48 -59
  290. package/libs/PanoTagPlugin/Components/Tag/index.js +75 -104
  291. package/libs/PanoTagPlugin/Components/TagContainer.js +65 -108
  292. package/libs/PanoTagPlugin/Components/TagWrapper.js +78 -116
  293. package/libs/PanoTagPlugin/controller/index.js +2 -2
  294. package/libs/PanoTagPlugin/index.js +82 -3
  295. package/libs/PanoTagPlugin/tag.config.js +2 -1
  296. package/libs/floorplan/Components/BaseImage.js +7 -7
  297. package/libs/floorplan/Components/Camera.js +24 -24
  298. package/libs/floorplan/Components/Compass.js +3 -3
  299. package/libs/floorplan/Components/CurrentFloor.js +47 -56
  300. package/libs/floorplan/Components/Main.js +80 -99
  301. package/libs/floorplan/Components/Normalmage.js +5 -5
  302. package/libs/floorplan/Components/RoomHighlight/Room.js +11 -11
  303. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +13 -14
  304. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +32 -32
  305. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +47 -47
  306. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +23 -23
  307. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +14 -14
  308. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +13 -13
  309. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +13 -13
  310. package/libs/floorplan/Components/RuleLabels/RuleItem.js +54 -54
  311. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +15 -15
  312. package/libs/floorplan/Components/SvgImage.js +12 -12
  313. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +111 -81
  314. package/libs/floorplan/MapviewFloorplanPlugin/index.js +47 -3
  315. package/libs/floorplan/MapviewFloorplanPlugin/typing.js +1 -0
  316. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +166 -135
  317. package/libs/floorplan/ModelFloorplanPlugin/index.js +47 -3
  318. package/libs/floorplan/ModelFloorplanPlugin/typing.js +1 -0
  319. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +3 -3
  320. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +8 -12
  321. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +38 -38
  322. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +71 -80
  323. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +51 -36
  324. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +24 -3
  325. package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +1 -0
  326. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +155 -126
  327. package/libs/floorplan/TopviewFloorplanPlugin/index.js +44 -3
  328. package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +1 -0
  329. package/libs/floorplan/TopviewFloorplanPlugin/style.js +11 -0
  330. package/libs/floorplan/TopviewFloorplanPlugin/typing.js +1 -0
  331. package/libs/floorplan/typings/index.js +1 -0
  332. package/libs/index.js +34 -34
  333. package/libs/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
  334. package/libs/shared-utils/three/{transfromToMeshBasicMaterial.js → transformToMeshBasicMaterial.js} +0 -0
  335. package/libs/vendor/svelte/internal/index.js +151 -152
  336. package/package.json +17 -18
  337. package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
@@ -1,66 +1,66 @@
1
- import { SvelteComponent as j, init as k, safe_not_equal as $, append_styles as w, element as h, attr as _, insert as b, update_keyed_each as y, noop as u, detach as v, space as I, set_style as r, append as g, destroy_block as z } from "../../../../vendor/svelte/internal/index.js";
2
- function x(a) {
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%)}");
1
+ import { SvelteComponent as j, init as k, safe_not_equal as $, append_styles as w, element as h, attr as _, insert as b, update_keyed_each as y, destroy_block as I, noop as u, detach as v, space as z, set_style as r, append as g } from "../../../../vendor/svelte/internal/index.js";
2
+ function x(s) {
3
+ w(s, "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
- function d(a, t, e) {
6
- const i = a.slice();
7
- return i[1] = t[e], i;
5
+ function d(s, t, e) {
6
+ const l = s.slice();
7
+ return l[1] = t[e], l;
8
8
  }
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}%`;
9
+ function m(s, t) {
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}%`, a = `${t[1].positionInImage.x * 100}%`;
11
11
  return {
12
- key: a,
12
+ key: s,
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 = z(), _(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", a), 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 && a !== (a = `${t[1].positionInImage.x * 100}%`) && r(e, "left", a);
22
22
  },
23
- d(p) {
24
- p && v(e);
23
+ d(f) {
24
+ f && v(e);
25
25
  }
26
26
  };
27
27
  }
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));
28
+ function O(s) {
29
+ let t, e = [], l = /* @__PURE__ */ new Map(), n = s[0];
30
+ const c = (i) => i[1].id;
31
+ for (let i = 0; i < n.length; i += 1) {
32
+ let o = d(s, n, i), a = c(o);
33
+ l.set(a, e[i] = m(a, 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);
44
- for (let s = 0; s < e.length; s += 1)
45
- e[s].m(t, null);
42
+ m(i, o) {
43
+ b(i, t, o);
44
+ for (let a = 0; a < e.length; a += 1)
45
+ e[a].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, I, 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
- function q(a, t, e) {
60
- let { extraObjects: i = [] } = t;
61
- return a.$$set = (n) => {
62
- "extraObjects" in n && e(0, i = n.extraObjects);
63
- }, [i];
59
+ function q(s, t, e) {
60
+ let { extraObjects: l = [] } = t;
61
+ return s.$$set = (n) => {
62
+ "extraObjects" in n && e(0, l = n.extraObjects);
63
+ }, [l];
64
64
  }
65
65
  class E extends j {
66
66
  constructor(t) {
@@ -68,5 +68,5 @@ class E extends j {
68
68
  }
69
69
  }
70
70
  export {
71
- E as default
71
+ E as ExtraObjects
72
72
  };
@@ -1,46 +1,37 @@
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, transition_out as h, check_outros as M, detach as k, onMount as R, element as F, attr as N, add_render_callback as T, add_resize_listener as V, group_outros as P, assign as O, create_component as U, space as X, set_style as q, mount_component as C, append as Y, get_spread_update as H, destroy_component as S } from "../../../vendor/svelte/internal/index.js";
2
- import Z from "./Camera.js";
3
- import x from "./CurrentFloor/CurrentFloor.js";
4
- import "../../Assets/camera.js";
5
- import "../../../shared-utils/throttle.js";
6
- import "./CurrentFloor/ExtraObjects.js";
7
- import "../../Components/BaseImage.js";
8
- import "../../Components/Normalmage.js";
9
- import "../../Components/SvgImage.js";
10
- import "../../Components/RoomHighlight/RoomHighlight.js";
11
- import "../../Components/RoomHighlight/Room.js";
12
- import "../../utils/formatPosition.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 c, transition_out as g, check_outros as M, detach as k, onMount as R, element as F, attr as N, add_render_callback as T, add_resize_listener as V, group_outros as P, assign as O, create_component as U, space as X, set_style as q, mount_component as C, append as Y, get_spread_update as H, destroy_component as S } from "../../../vendor/svelte/internal/index.js";
2
+ import { Camera as Z } from "./Camera.js";
3
+ import { CurrentFloor as x } from "./CurrentFloor/CurrentFloor.js";
13
4
  function $(o) {
14
5
  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}");
15
6
  }
16
7
  function W(o) {
17
- let t, l, n, e = o[6] !== 0 && A(o);
8
+ let n, l, r, e = o[6] !== 0 && A(o);
18
9
  return {
19
10
  c() {
20
- t = F("div"), e && e.c(), N(t, "class", "plugin-floorplan-radar svelte-1mvqyqq"), T(() => o[12].call(t));
11
+ n = F("div"), e && e.c(), N(n, "class", "plugin-floorplan-radar svelte-1mvqyqq"), T(() => o[12].call(n));
21
12
  },
22
13
  m(i, f) {
23
- y(i, t, f), e && e.m(t, null), l = V(t, o[12].bind(t)), n = !0;
14
+ y(i, n, f), e && e.m(n, null), l = V(n, o[12].bind(n)), r = !0;
24
15
  },
25
16
  p(i, f) {
26
- 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 && (P(), h(e, 1, 1, () => {
17
+ i[6] !== 0 ? e ? (e.p(i, f), f & 64 && c(e, 1)) : (e = A(i), e.c(), c(e, 1), e.m(n, null)) : e && (P(), g(e, 1, 1, () => {
27
18
  e = null;
28
19
  }), M());
29
20
  },
30
21
  i(i) {
31
- n || (u(e), n = !0);
22
+ r || (c(e), r = !0);
32
23
  },
33
24
  o(i) {
34
- h(e), n = !1;
25
+ g(e), r = !1;
35
26
  },
36
27
  d(i) {
37
- i && k(t), e && e.d(), l();
28
+ i && k(n), e && e.d(), l();
38
29
  }
39
30
  };
40
31
  }
41
32
  function A(o) {
42
- let t, l, n, e, i = `${o[8]}px`, f = `${o[11]}px`, c;
43
- const d = [
33
+ let n, l, r, e, i = `${o[8]}px`, f = `${o[11]}px`, u;
34
+ const _ = [
44
35
  {
45
36
  five: o[0],
46
37
  pxmm: o[9],
@@ -50,11 +41,11 @@ function A(o) {
50
41
  extraObjects: o[5]
51
42
  }
52
43
  ];
53
- let p = {};
54
- for (let r = 0; r < d.length; r += 1)
55
- p = O(p, d[r]);
56
- l = new x({ props: p });
57
- const _ = [
44
+ let d = {};
45
+ for (let t = 0; t < _.length; t += 1)
46
+ d = O(d, _[t]);
47
+ l = new x({ props: d });
48
+ const h = [
58
49
  {
59
50
  pxmm: o[9],
60
51
  five: o[0],
@@ -63,116 +54,116 @@ function A(o) {
63
54
  }
64
55
  ];
65
56
  let m = {};
66
- for (let r = 0; r < _.length; r += 1)
67
- m = O(m, _[r]);
57
+ for (let t = 0; t < h.length; t += 1)
58
+ m = O(m, h[t]);
68
59
  return e = new Z({ props: m }), {
69
60
  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);
61
+ n = F("div"), U(l.$$.fragment), r = X(), U(e.$$.fragment), N(n, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), q(n, "width", i), q(n, "height", f);
71
62
  },
72
- m(r, s) {
73
- y(r, t, s), C(l, t, null), Y(t, n), C(e, t, null), c = !0;
63
+ m(t, s) {
64
+ y(t, n, s), C(l, n, null), Y(n, r), C(e, n, null), u = !0;
74
65
  },
75
- p(r, s) {
76
- const g = s & 1581 ? H(d, [
66
+ p(t, s) {
67
+ const p = s & 1581 ? H(_, [
77
68
  {
78
- five: r[0],
79
- pxmm: r[9],
80
- floorIndex: r[10],
81
- floorplanData: r[3],
82
- hoverEnable: r[2],
83
- extraObjects: r[5]
69
+ five: t[0],
70
+ pxmm: t[9],
71
+ floorIndex: t[10],
72
+ floorplanData: t[3],
73
+ hoverEnable: t[2],
74
+ extraObjects: t[5]
84
75
  }
85
76
  ]) : {};
86
- l.$set(g);
87
- const v = s & 537 ? H(_, [
77
+ l.$set(p);
78
+ const v = s & 537 ? H(h, [
88
79
  {
89
- pxmm: r[9],
90
- five: r[0],
91
- floorplanData: r[3],
92
- cameraImageUrl: r[4]
80
+ pxmm: t[9],
81
+ five: t[0],
82
+ floorplanData: t[3],
83
+ cameraImageUrl: t[4]
93
84
  }
94
85
  ]) : {};
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);
86
+ e.$set(v), s & 256 && i !== (i = `${t[8]}px`) && q(n, "width", i), s & 2048 && f !== (f = `${t[11]}px`) && q(n, "height", f);
96
87
  },
97
- i(r) {
98
- c || (u(l.$$.fragment, r), u(e.$$.fragment, r), c = !0);
88
+ i(t) {
89
+ u || (c(l.$$.fragment, t), c(e.$$.fragment, t), u = !0);
99
90
  },
100
- o(r) {
101
- h(l.$$.fragment, r), h(e.$$.fragment, r), c = !1;
91
+ o(t) {
92
+ g(l.$$.fragment, t), g(e.$$.fragment, t), u = !1;
102
93
  },
103
- d(r) {
104
- r && k(t), S(l), S(e);
94
+ d(t) {
95
+ t && k(n), S(l), S(e);
105
96
  }
106
97
  };
107
98
  }
108
99
  function ee(o) {
109
- let t, l, n = o[1] && W(o);
100
+ let n, l, r = o[1] && W(o);
110
101
  return {
111
102
  c() {
112
- n && n.c(), t = Q();
103
+ r && r.c(), n = Q();
113
104
  },
114
105
  m(e, i) {
115
- n && n.m(e, i), y(e, t, i), l = !0;
106
+ r && r.m(e, i), y(e, n, i), l = !0;
116
107
  },
117
108
  p(e, [i]) {
118
- 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 && (P(), h(n, 1, 1, () => {
119
- n = null;
109
+ e[1] ? r ? (r.p(e, i), i & 2 && c(r, 1)) : (r = W(e), r.c(), c(r, 1), r.m(n.parentNode, n)) : r && (P(), g(r, 1, 1, () => {
110
+ r = null;
120
111
  }), M());
121
112
  },
122
113
  i(e) {
123
- l || (u(n), l = !0);
114
+ l || (c(r), l = !0);
124
115
  },
125
116
  o(e) {
126
- h(n), l = !1;
117
+ g(r), l = !1;
127
118
  },
128
119
  d(e) {
129
- n && n.d(e), e && k(t);
120
+ r && r.d(e), e && k(n);
130
121
  }
131
122
  };
132
123
  }
133
- function te(o, t, l) {
124
+ function ne(o, n, l) {
134
125
  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;
126
+ let { five: r } = n, { visible: e } = n, { hoverEnable: i } = n, { floorplanData: f } = n, { cameraImageUrl: u } = n, { extraObjects: _ = [] } = n, d = 0, h = (D = (w = r.work.observers[r.getCurrentState().panoIndex]) == null ? void 0 : w.floorIndex) != null ? D : 0, m = 0, t = 0, s = 0, p = 0;
136
127
  function v(a) {
137
- l(10, _ = n.work.observers[a].floorIndex);
128
+ l(10, h = r.work.observers[a].floorIndex);
138
129
  }
139
- R(() => (n.on("panoArrived", v), () => {
140
- n.off("panoArrived", v);
130
+ R(() => (r.on("panoArrived", v), () => {
131
+ r.off("panoArrived", v);
141
132
  }));
142
133
  function B() {
143
- m = this.clientWidth, r = this.clientHeight, l(6, m), l(7, r);
134
+ m = this.clientWidth, t = this.clientHeight, l(6, m), l(7, t);
144
135
  }
145
136
  return o.$$set = (a) => {
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);
137
+ "five" in a && l(0, r = 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, u = a.cameraImageUrl), "extraObjects" in a && l(5, _ = a.extraObjects);
147
138
  }, o.$$.update = () => {
148
139
  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() {
140
+ const a = Math.min(m, t), { max: j, min: z } = f.bounding, b = j.x - z.x, I = j.y - z.y, E = function() {
150
141
  return b > I ? [a, a / b * I] : [a / I * b, a];
151
142
  }();
152
- l(8, s = E[0]), l(11, g = E[1]), l(9, p = s / b);
143
+ l(8, s = E[0]), l(11, p = E[1]), l(9, d = s / b);
153
144
  }
154
145
  }, [
155
- n,
146
+ r,
156
147
  e,
157
148
  i,
158
149
  f,
159
- c,
160
- d,
150
+ u,
151
+ _,
161
152
  m,
162
- r,
153
+ t,
163
154
  s,
155
+ d,
156
+ h,
164
157
  p,
165
- _,
166
- g,
167
158
  B
168
159
  ];
169
160
  }
170
- class _e extends G {
171
- constructor(t) {
161
+ class ie extends G {
162
+ constructor(n) {
172
163
  super(), J(
173
164
  this,
174
- t,
175
- te,
165
+ n,
166
+ ne,
176
167
  ee,
177
168
  K,
178
169
  {
@@ -188,5 +179,5 @@ class _e extends G {
188
179
  }
189
180
  }
190
181
  export {
191
- _e as default
182
+ ie as Main
192
183
  };
@@ -1,38 +1,53 @@
1
1
  var v = Object.defineProperty, A = Object.defineProperties;
2
- var S = Object.getOwnPropertyDescriptors;
2
+ var m = Object.getOwnPropertyDescriptors;
3
3
  var f = Object.getOwnPropertySymbols;
4
- var g = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
5
- var l = (r, i, t) => i in r ? v(r, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[i] = t, u = (r, i) => {
4
+ var S = Object.prototype.hasOwnProperty, g = Object.prototype.propertyIsEnumerable;
5
+ var l = (r, i, t) => i in r ? v(r, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[i] = t, p = (r, i) => {
6
6
  for (var t in i || (i = {}))
7
- g.call(i, t) && l(r, t, i[t]);
7
+ S.call(i, t) && l(r, t, i[t]);
8
8
  if (f)
9
9
  for (var t of f(i))
10
- _.call(i, t) && l(r, t, i[t]);
10
+ g.call(i, t) && l(r, t, i[t]);
11
11
  return r;
12
- }, b = (r, i) => A(r, S(i));
12
+ }, b = (r, i) => A(r, m(i));
13
13
  var a = (r, i, t) => (l(r, typeof i != "symbol" ? i + "" : i, t), t);
14
- var p = (r, i, t) => new Promise((e, s) => {
14
+ var c = (r, i, t) => new Promise((e, s) => {
15
15
  var n = (h) => {
16
16
  try {
17
- d(t.next(h));
18
- } catch (c) {
19
- s(c);
17
+ u(t.next(h));
18
+ } catch (d) {
19
+ s(d);
20
20
  }
21
21
  }, o = (h) => {
22
22
  try {
23
- d(t.throw(h));
24
- } catch (c) {
25
- s(c);
23
+ u(t.throw(h));
24
+ } catch (d) {
25
+ s(d);
26
26
  }
27
- }, d = (h) => h.done ? e(h.value) : Promise.resolve(h.value).then(n, o);
28
- d((t = t.apply(r, i)).next());
27
+ }, u = (h) => h.done ? e(h.value) : Promise.resolve(h.value).then(n, o);
28
+ u((t = t.apply(r, i)).next());
29
29
  });
30
- import y from "./Components/Main.js";
31
- import { equal as D } from "../../shared-utils/equal.js";
32
- import { CAMERA_IMAGE as E } from "../Assets/camera.js";
33
- import { Controller as C } from "../../base/BasePluginWithData.js";
34
- import { formatData as w, formatExtraObjects as O } from "../utils/formatData.js";
35
- class P extends C {
30
+ import { Main as _ } from "./Components/Main.js";
31
+ import { equal as y } from "../../shared-utils/equal.js";
32
+ import { CAMERA_IMAGE as D } from "../Assets/camera.js";
33
+ import { Controller as E } from "../../base/BasePluginWithData.js";
34
+ import { formatData as w, formatExtraObjects as C } from "../utils/formatData.js";
35
+ import "../../vendor/svelte/internal/index.js";
36
+ import "./Components/Camera.js";
37
+ import "../../shared-utils/throttle.js";
38
+ import "./Components/CurrentFloor/CurrentFloor.js";
39
+ import "./Components/CurrentFloor/ExtraObjects.js";
40
+ import "../Components/BaseImage.js";
41
+ import "../Components/Normalmage.js";
42
+ import "../Components/SvgImage.js";
43
+ import "../Components/RoomHighlight/RoomHighlight.js";
44
+ import "../Components/RoomHighlight/Room.js";
45
+ import "../utils/formatPosition.js";
46
+ import "../../shared-utils/isTruelyObject.js";
47
+ import "../../base/BasePlugin.js";
48
+ import "../../shared-utils/Subscribe.js";
49
+ import "../Assets/floorplanExtraObject.js";
50
+ class K extends E {
36
51
  constructor(t, e) {
37
52
  super(t);
38
53
  a(this, "name", "panoFloorplanRadarPlugin");
@@ -55,21 +70,21 @@ class P extends C {
55
70
  this.five = t;
56
71
  const s = {
57
72
  hoverEnable: !1,
58
- cameraImageUrl: E
59
- }, n = e != null && e.configs ? e.configs : {}, o = u(u({}, s), n);
73
+ cameraImageUrl: D
74
+ }, n = e != null && e.configs ? e.configs : {}, o = p(p({}, s), n);
60
75
  this.state = { enabled: !0, visible: !0, config: o }, e != null && e.wrapper && console.warn("\u4E0D\u63A8\u8350\u7EE7\u7EED\u4F7F\u7528 params.selector \u914D\u7F6E\u7236\u5BB9\u5668\uFF0C\u8BF7\u4F7F\u7528 appendTo \u65B9\u6CD5"), typeof (e == null ? void 0 : e.wrapper) == "string" ? this.wrapperSelector = e.wrapper : (e == null ? void 0 : e.wrapper) instanceof Element && (this.wrapper = e.wrapper), t.once("dispose", this.dispose);
61
76
  }
62
77
  load(t, e, s = !0) {
63
- return p(this, null, function* () {
64
- function n(c) {
65
- return Object.prototype.hasOwnProperty.apply(c, ["version"]);
78
+ return c(this, null, function* () {
79
+ function n(d) {
80
+ return Object.prototype.hasOwnProperty.apply(d, ["version"]);
66
81
  }
67
- const o = JSON.parse(JSON.stringify(t)), d = n(o) ? o.data : o, h = this.data;
68
- this.data = yield w(d), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, h), e && this.updateState(e, s), this.render();
82
+ const o = JSON.parse(JSON.stringify(t)), u = n(o) ? o.data : o, h = this.data;
83
+ this.data = yield w(u), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, h), e && this.updateState(e, s), this.render();
69
84
  });
70
85
  }
71
86
  show() {
72
- return p(this, arguments, function* (t = {}) {
87
+ return c(this, arguments, function* (t = {}) {
73
88
  if (this.state.visible)
74
89
  return;
75
90
  const e = t.userAction !== void 0 ? t.userAction : !0;
@@ -77,7 +92,7 @@ class P extends C {
77
92
  });
78
93
  }
79
94
  hide() {
80
- return p(this, arguments, function* (t = {}) {
95
+ return c(this, arguments, function* (t = {}) {
81
96
  if (!this.state.visible)
82
97
  return;
83
98
  const e = t.userAction !== void 0 ? t.userAction : !0;
@@ -114,10 +129,10 @@ class P extends C {
114
129
  this.setState({ config: t }, { userAction: e }), this.render();
115
130
  }
116
131
  setExtraObjectsWith3DPositions(t) {
117
- !this.data || (this.extraObjects = O(t, this.five, this.data), this.render());
132
+ !this.data || (this.extraObjects = C(t, this.five, this.data), this.render());
118
133
  }
119
134
  formatData(t) {
120
- return p(this, null, function* () {
135
+ return c(this, null, function* () {
121
136
  return yield w(t.data);
122
137
  });
123
138
  }
@@ -139,7 +154,7 @@ class P extends C {
139
154
  }
140
155
  updateState(t, e) {
141
156
  const s = this.state;
142
- this.state = u(u({}, this.state), t), !D(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: e });
157
+ this.state = p(p({}, this.state), t), !y(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: e });
143
158
  }
144
159
  render() {
145
160
  if (this.disposed || !this.state.enabled)
@@ -150,15 +165,15 @@ class P extends C {
150
165
  }
151
166
  if (!this.data || !this.wrapper)
152
167
  return;
153
- const t = b(u({}, this.state.config), {
168
+ const t = b(p({}, this.state.config), {
154
169
  five: this.five,
155
170
  floorplanData: this.data,
156
171
  visible: this.state.visible,
157
172
  extraObjects: this.extraObjects
158
173
  });
159
- this.app ? this.app.$set(t) : this.app = new y({ target: this.wrapper, props: t });
174
+ this.app ? this.app.$set(t) : this.app = new _({ target: this.wrapper, props: t });
160
175
  }
161
176
  }
162
177
  export {
163
- P as Controller
178
+ K as Controller
164
179
  };
@@ -1,5 +1,26 @@
1
- import { Controller as n } from "./Controller.js";
2
- const t = (o, r) => new n(o, r);
1
+ import { Controller as t } from "./Controller.js";
2
+ import "./Components/Main.js";
3
+ import "../../vendor/svelte/internal/index.js";
4
+ import "./Components/Camera.js";
5
+ import "../Assets/camera.js";
6
+ import "../../shared-utils/throttle.js";
7
+ import "./Components/CurrentFloor/CurrentFloor.js";
8
+ import "./Components/CurrentFloor/ExtraObjects.js";
9
+ import "../Components/BaseImage.js";
10
+ import "../Components/Normalmage.js";
11
+ import "../Components/SvgImage.js";
12
+ import "../Components/RoomHighlight/RoomHighlight.js";
13
+ import "../Components/RoomHighlight/Room.js";
14
+ import "../utils/formatPosition.js";
15
+ import "../../shared-utils/equal.js";
16
+ import "../../shared-utils/isTruelyObject.js";
17
+ import "../../base/BasePluginWithData.js";
18
+ import "../../base/BasePlugin.js";
19
+ import "../../shared-utils/Subscribe.js";
20
+ import "../utils/formatData.js";
21
+ import "../Assets/floorplanExtraObject.js";
22
+ const j = (o, r) => new t(o, r);
3
23
  export {
4
- t as PanoFloorplanRadarPlugin
24
+ j as PanoFloorplanRadarPlugin,
25
+ j as default
5
26
  };