@realsee/dnalogel 2.14.2-alpha.0 → 2.14.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 (379) hide show
  1. package/dist/CSS3DRenderPlugin/typing.d.ts +5 -5
  2. package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +1 -1
  3. package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +3 -3
  4. package/dist/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -1
  5. package/dist/CameraMovementPlugin/typing.d.ts +4 -4
  6. package/dist/CruisePlugin/typing.d.ts +4 -4
  7. package/dist/GuideLinePlugin/typing.d.ts +1 -1
  8. package/dist/ItemLabelPlugin/events.type.d.ts +1 -1
  9. package/dist/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -1
  10. package/dist/ModelItemLabelPlugin/events.type.d.ts +1 -1
  11. package/dist/ModelRoomLabelPlugin/Controller.d.ts +1 -1
  12. package/dist/ModelRoomLabelPlugin/index.d.ts +1 -1
  13. package/dist/Object3DHelperPlugin/typings.d.ts +2 -2
  14. package/dist/PanoCompassPlugin/index.d.ts +1 -1
  15. package/dist/PanoCompassPlugin/typings.d.ts +2 -2
  16. package/dist/PanoMeasurePlugin/Controller/MixedController.d.ts +1 -1
  17. package/dist/PanoMeasurePlugin/Controller/index.d.ts +1 -1
  18. package/dist/PanoMeasurePlugin/Model/index.d.ts +1 -1
  19. package/dist/PanoMeasurePlugin/Model/polyline.d.ts +1 -1
  20. package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -1
  21. package/dist/PanoMeasurePlugin/index.d.ts +1 -1
  22. package/dist/PanoMeasurePlugin/typings/event.type.d.ts +6 -6
  23. package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +1 -1
  24. package/dist/PanoMeasurePlugin/utils/line.d.ts +1 -1
  25. package/dist/PanoRulerPlugin/typings.d.ts +1 -1
  26. package/dist/PanoRulerProPlugin/typings.d.ts +1 -1
  27. package/dist/PanoSpatialTagPlugin/typings.d.ts +1 -1
  28. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +2 -3
  29. package/dist/PanoTagPlugin/index.d.ts +2 -2
  30. package/dist/PanoTagPlugin/typings/controller.d.ts +11 -11
  31. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -2
  32. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +5 -5
  33. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +19 -19
  34. package/dist/PanoVideoPlugin/index.d.ts +2 -2
  35. package/dist/base/BasePlugin.d.ts +1 -1
  36. package/dist/base/BasePluginWithData.d.ts +1 -1
  37. package/dist/components/PaintBrush/Subscribe.d.ts +1 -1
  38. package/dist/components/PaintBrush/typings.d.ts +1 -1
  39. package/dist/floorplan/MapviewFloorplanPlugin/index.d.ts +2 -2
  40. package/dist/floorplan/ModelFloorplanPlugin/index.d.ts +2 -2
  41. package/dist/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +4 -0
  42. package/dist/floorplan/PanoFloorplanRadarPlugin/index.d.ts +2 -2
  43. package/dist/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +2 -0
  44. package/dist/floorplan/TopviewFloorplanPlugin/index.d.ts +2 -2
  45. package/dist/floorplan/typings/floorplanData.d.ts +3 -3
  46. package/dist/floorplan/typings/floorplanServerData.d.ts +1 -1
  47. package/dist/floorplan/typings/utility.d.ts +2 -2
  48. package/dist/index.cjs.js +23 -23
  49. package/dist/index.js +1008 -1005
  50. package/dist/index.umd.js +23 -23
  51. package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +2 -2
  52. package/dist/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +1 -1
  53. package/dist/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -2
  54. package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +2 -2
  55. package/dist/shared-utils/Object3DHelper/typings/index.d.ts +2 -2
  56. package/dist/shared-utils/three/PointHelper.d.ts +3 -3
  57. package/dist/typings/math.type.d.ts +3 -3
  58. package/docs/assets/highlight.css +6 -6
  59. package/docs/assets/main.js +56 -52
  60. package/docs/assets/search.js +1 -1
  61. package/docs/assets/style.css +27 -5
  62. package/docs/classes/CSS3DRender.html +36 -36
  63. package/docs/classes/CruisePluginController.html +25 -25
  64. package/docs/classes/Magnifier.html +20 -20
  65. package/docs/classes/ModelRoomLabelController.html +11 -11
  66. package/docs/classes/Object3DHelperController.html +24 -24
  67. package/docs/classes/PaintBrush.html +15 -15
  68. package/docs/classes/PanoMeasurePluginLine.html +37 -37
  69. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  70. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  71. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  72. package/docs/classes/PanoTagPluginController.html +46 -46
  73. package/docs/classes/Util.BetterTween.html +8 -8
  74. package/docs/classes/Util.FivePointSelector.html +12 -12
  75. package/docs/classes/Util.Interval.html +12 -12
  76. package/docs/classes/Util.Magnifier.html +17 -17
  77. package/docs/classes/Util.PointDomHelper.html +11 -11
  78. package/docs/classes/Util.PointHelper.html +11 -11
  79. package/docs/classes/Util.Rectangle.html +13 -13
  80. package/docs/enums/CameraMovementEffect.html +7 -7
  81. package/docs/enums/ContentType.html +19 -19
  82. package/docs/enums/DIRECTION.html +9 -9
  83. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  84. package/docs/enums/DimensionType.html +7 -7
  85. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  86. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  87. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  88. package/docs/enums/Rotation.html +8 -8
  89. package/docs/functions/CSS3DRenderPlugin.html +5 -5
  90. package/docs/functions/CameraMovementPlugin.html +5 -5
  91. package/docs/functions/CruisePlugin.html +5 -5
  92. package/docs/functions/GuideLinePlugin.html +5 -5
  93. package/docs/functions/ItemLabelPlugin.html +5 -5
  94. package/docs/functions/MapviewFloorplanPlugin.html +5 -5
  95. package/docs/functions/ModelChassisCompassPlugin.html +5 -5
  96. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
  97. package/docs/functions/ModelFloorplanPlugin.html +5 -5
  98. package/docs/functions/ModelItemLabelPlugin.html +5 -5
  99. package/docs/functions/ModelRoomLabelPlugin.html +5 -5
  100. package/docs/functions/ModelTVVideoPlugin.html +5 -5
  101. package/docs/functions/ModelViewPlugin.html +5 -5
  102. package/docs/functions/Object3DHelperPlugin.html +5 -5
  103. package/docs/functions/PanoCompassPlugin.html +5 -5
  104. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
  105. package/docs/functions/PanoDoorLabelPlugin.html +5 -5
  106. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
  107. package/docs/functions/PanoMeasurePlugin.html +5 -5
  108. package/docs/functions/PanoRulerPlugin.html +5 -5
  109. package/docs/functions/PanoRulerProPlugin.html +5 -5
  110. package/docs/functions/PanoSpatialTagPlugin.html +5 -5
  111. package/docs/functions/PanoTagPlugin.html +5 -5
  112. package/docs/functions/PanoVideoPlugin.html +5 -5
  113. package/docs/functions/TopviewFloorplanPlugin.html +5 -5
  114. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  115. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  116. package/docs/functions/Util.getFrameTime.html +5 -5
  117. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  118. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  119. package/docs/functions/Util.isNil.html +5 -5
  120. package/docs/functions/Util.nextFrame.html +5 -5
  121. package/docs/functions/Util.notNil.html +5 -5
  122. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  123. package/docs/functions/Util.tweenProgress.html +5 -5
  124. package/docs/functions/pluginFlag.html +5 -5
  125. package/docs/index.html +9 -9
  126. package/docs/interfaces/AddTagConfig.html +6 -6
  127. package/docs/interfaces/CSS3DRenderPluginEventMap.html +23 -23
  128. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  129. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  130. package/docs/interfaces/EventMap.html +35 -35
  131. package/docs/interfaces/FloorplanBounding.html +8 -8
  132. package/docs/interfaces/FloorplanData.html +10 -10
  133. package/docs/interfaces/FloorplanEntrance.html +11 -11
  134. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  135. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  136. package/docs/interfaces/FloorplanFloorData.html +9 -9
  137. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  138. package/docs/interfaces/FloorplanObserver.html +9 -9
  139. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  140. package/docs/interfaces/FloorplanPosition.html +7 -7
  141. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  142. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  143. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  144. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  145. package/docs/interfaces/FloorplanServerData.html +7 -7
  146. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  147. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  148. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  149. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  150. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  151. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  152. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  153. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  154. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  155. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  156. package/docs/interfaces/HelperOffset.html +8 -8
  157. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  158. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  159. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +21 -21
  160. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  161. package/docs/interfaces/MinMax.html +7 -7
  162. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  163. package/docs/interfaces/ModelChassisCompassPluginExportType.html +14 -14
  164. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  165. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  166. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +14 -14
  167. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  168. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +21 -21
  169. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  170. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  171. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  172. package/docs/interfaces/ModelTVVideoPluginExportType.html +14 -14
  173. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  174. package/docs/interfaces/ModelViewPluginExportType.html +23 -23
  175. package/docs/interfaces/Object3DHelperState.html +8 -8
  176. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  177. package/docs/interfaces/PaintBrushAction.html +12 -12
  178. package/docs/interfaces/PaintBrushConfigs.html +16 -16
  179. package/docs/interfaces/PaintBrushState.html +10 -10
  180. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +22 -22
  181. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  182. package/docs/interfaces/PanoMeasureParameterType.html +20 -20
  183. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  184. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  185. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  186. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  187. package/docs/interfaces/PanoRulerPluginExportType.html +18 -18
  188. package/docs/interfaces/PanoRulerPluginOptions.html +9 -9
  189. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  190. package/docs/interfaces/PanoRulerProPluginExportType.html +15 -15
  191. package/docs/interfaces/PanoRulerProPluginOptions.html +9 -9
  192. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  193. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  194. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  195. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  196. package/docs/interfaces/PanoSpatialTagPluginData.html +13 -13
  197. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  198. package/docs/interfaces/PanoSpatialTagPluginExportType.html +29 -29
  199. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  200. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  201. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  202. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  203. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  204. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  205. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  206. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +17 -17
  207. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  208. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  209. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  210. package/docs/interfaces/Point.html +8 -8
  211. package/docs/interfaces/Room.html +9 -9
  212. package/docs/interfaces/RoomInfo.html +7 -7
  213. package/docs/interfaces/RoomLabel.html +14 -14
  214. package/docs/interfaces/RoomRules.html +5 -5
  215. package/docs/interfaces/Rooms.html +5 -5
  216. package/docs/interfaces/Scissor.html +9 -9
  217. package/docs/interfaces/State.html +8 -8
  218. package/docs/interfaces/TagCacheInterface.html +12 -12
  219. package/docs/interfaces/TagConfig.html +11 -11
  220. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  221. package/docs/interfaces/TagIconUrl.html +11 -11
  222. package/docs/interfaces/TagObjectGroup.html +6 -6
  223. package/docs/interfaces/TagStyle.html +6 -6
  224. package/docs/interfaces/Tags.html +9 -9
  225. package/docs/interfaces/TemporaryState.html +6 -6
  226. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  227. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  228. package/docs/modules/PanoVideoPluginType.html +5 -5
  229. package/docs/modules/Util.html +5 -5
  230. package/docs/modules.html +4 -4
  231. package/docs/types/ArrayPosition.html +5 -5
  232. package/docs/types/AudioAppearance.html +5 -5
  233. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  234. package/docs/types/CSS3DRenderExportType.html +5 -5
  235. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  236. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  237. package/docs/types/ClassFunctionParameters.html +5 -5
  238. package/docs/types/Color.html +5 -5
  239. package/docs/types/ContentTypeConfigKey.html +5 -5
  240. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  241. package/docs/types/ContentTypeMap.html +5 -5
  242. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  243. package/docs/types/Create3DElementReturnType.html +5 -5
  244. package/docs/types/CruisePluginExportType.html +5 -5
  245. package/docs/types/Direction-1.html +5 -5
  246. package/docs/types/Direction4.html +5 -5
  247. package/docs/types/FloorplanRuleLabels.html +5 -5
  248. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  249. package/docs/types/GuideLinePluginExportType.html +5 -5
  250. package/docs/types/HelperEventMap.html +45 -45
  251. package/docs/types/LoadTagConfig.html +5 -5
  252. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  253. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  254. package/docs/types/MediaData.html +5 -5
  255. package/docs/types/MediaStore.html +5 -5
  256. package/docs/types/ModelElement.html +5 -5
  257. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  258. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  259. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  260. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  261. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  262. package/docs/types/MoveArgs.html +5 -5
  263. package/docs/types/MoveOpts.html +5 -5
  264. package/docs/types/Object3DHelperEventMap.html +17 -17
  265. package/docs/types/ObjectFit.html +5 -5
  266. package/docs/types/PaintBrushEventMap.html +9 -9
  267. package/docs/types/PanoCompassPluginData.html +5 -5
  268. package/docs/types/PanoCompassPluginExportType.html +5 -5
  269. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  270. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  271. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  272. package/docs/types/PanoIndex.html +5 -5
  273. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  274. package/docs/types/PanoMeasureReturnType.html +5 -5
  275. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  276. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  277. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  278. package/docs/types/PanoVideoPluginParameterType.html +5 -5
  279. package/docs/types/PanoVideoPluginReturnType.html +5 -5
  280. package/docs/types/PlaneTag.html +5 -5
  281. package/docs/types/PlaneTagElement.html +5 -5
  282. package/docs/types/Point2DElement.html +5 -5
  283. package/docs/types/Point2DTag.html +5 -5
  284. package/docs/types/Point3DElement.html +5 -5
  285. package/docs/types/Point3DTag.html +5 -5
  286. package/docs/types/PointTag.html +5 -5
  287. package/docs/types/PointTagElement.html +5 -5
  288. package/docs/types/Position.html +5 -5
  289. package/docs/types/RotateArgs.html +5 -5
  290. package/docs/types/RotateOpts.html +5 -5
  291. package/docs/types/RuleLabelsKey.html +5 -5
  292. package/docs/types/RuleLabelsValue.html +5 -5
  293. package/docs/types/StickType.html +5 -5
  294. package/docs/types/Tag.html +5 -5
  295. package/docs/types/Tag2D.html +5 -5
  296. package/docs/types/Tag3D.html +5 -5
  297. package/docs/types/TagContentType.html +5 -5
  298. package/docs/types/TagDimensionType.html +5 -5
  299. package/docs/types/TagElement.html +5 -5
  300. package/docs/types/TagEvents.html +13 -13
  301. package/docs/types/TagGLTFObject.html +5 -5
  302. package/docs/types/TagHooks.html +5 -5
  303. package/docs/types/TagIconSize.html +5 -5
  304. package/docs/types/TagId.html +5 -5
  305. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  306. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  307. package/docs/types/WorkCode.html +5 -5
  308. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  309. package/docs/variables/PLUGIN.html +5 -5
  310. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -6
  311. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  312. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  313. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  314. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  315. package/libs/CSS3DRenderPlugin/typing.d.ts +5 -5
  316. package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +1 -1
  317. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +3 -3
  318. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -1
  319. package/libs/CameraMovementPlugin/typing.d.ts +4 -4
  320. package/libs/CruisePlugin/typing.d.ts +4 -4
  321. package/libs/GuideLinePlugin/typing.d.ts +1 -1
  322. package/libs/ItemLabelPlugin/events.type.d.ts +1 -1
  323. package/libs/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -1
  324. package/libs/ModelItemLabelPlugin/events.type.d.ts +1 -1
  325. package/libs/ModelRoomLabelPlugin/Controller.d.ts +1 -1
  326. package/libs/ModelRoomLabelPlugin/index.d.ts +1 -1
  327. package/libs/Object3DHelperPlugin/typings.d.ts +2 -2
  328. package/libs/PanoCompassPlugin/index.d.ts +1 -1
  329. package/libs/PanoCompassPlugin/typings.d.ts +2 -2
  330. package/libs/PanoMeasurePlugin/Controller/MixedController.d.ts +1 -1
  331. package/libs/PanoMeasurePlugin/Controller/index.d.ts +1 -1
  332. package/libs/PanoMeasurePlugin/Model/index.d.ts +1 -1
  333. package/libs/PanoMeasurePlugin/Model/polyline.d.ts +1 -1
  334. package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -1
  335. package/libs/PanoMeasurePlugin/index.d.ts +1 -1
  336. package/libs/PanoMeasurePlugin/typings/event.type.d.ts +6 -6
  337. package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +1 -1
  338. package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +1 -1
  339. package/libs/PanoMeasurePlugin/utils/line.d.ts +1 -1
  340. package/libs/PanoRulerPlugin/typings.d.ts +1 -1
  341. package/libs/PanoRulerProPlugin/typings.d.ts +1 -1
  342. package/libs/PanoSpatialTagPlugin/typings.d.ts +1 -1
  343. package/libs/PanoTagPlugin/Archive/deprecated.d.ts +1 -1
  344. package/libs/PanoTagPlugin/Components/Common/Media.js +29 -31
  345. package/libs/PanoTagPlugin/controller/TagRender.js +73 -73
  346. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +2 -3
  347. package/libs/PanoTagPlugin/controller/TagUtil.js +34 -46
  348. package/libs/PanoTagPlugin/controller/index.js +8 -8
  349. package/libs/PanoTagPlugin/index.d.ts +2 -2
  350. package/libs/PanoTagPlugin/typings/controller.d.ts +11 -11
  351. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -2
  352. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +5 -5
  353. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +19 -19
  354. package/libs/PanoVideoPlugin/index.d.ts +2 -2
  355. package/libs/base/BasePlugin.d.ts +1 -1
  356. package/libs/base/BasePlugin.js +3 -3
  357. package/libs/base/BasePluginWithData.d.ts +1 -1
  358. package/libs/components/PaintBrush/Subscribe.d.ts +1 -1
  359. package/libs/components/PaintBrush/typings.d.ts +1 -1
  360. package/libs/floorplan/MapviewFloorplanPlugin/index.d.ts +2 -2
  361. package/libs/floorplan/ModelFloorplanPlugin/index.d.ts +2 -2
  362. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +64 -60
  363. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +104 -100
  364. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +4 -0
  365. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +60 -51
  366. package/libs/floorplan/PanoFloorplanRadarPlugin/index.d.ts +2 -2
  367. package/libs/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +2 -0
  368. package/libs/floorplan/TopviewFloorplanPlugin/index.d.ts +2 -2
  369. package/libs/floorplan/typings/floorplanData.d.ts +3 -3
  370. package/libs/floorplan/typings/floorplanServerData.d.ts +1 -1
  371. package/libs/floorplan/typings/utility.d.ts +2 -2
  372. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +2 -2
  373. package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +1 -1
  374. package/libs/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -2
  375. package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +2 -2
  376. package/libs/shared-utils/Object3DHelper/typings/index.d.ts +2 -2
  377. package/libs/shared-utils/three/PointHelper.d.ts +3 -3
  378. package/libs/typings/math.type.d.ts +3 -3
  379. package/package.json +15 -17
@@ -1,7 +1,7 @@
1
- import { SvelteComponent as J, init as K, safe_not_equal as L, append_styles as Q, empty as T, insert as I, transition_in as u, transition_out as _, check_outros as F, detach as k, onMount as V, element as N, attr as P, action_destroyer as X, listen as U, group_outros as R, run_all as Y, assign as H, create_component as W, space as Z, set_style as q, mount_component as z, append as x, get_spread_update as C, destroy_component as S } from "../../../vendor/svelte/internal/index.js";
2
- import $ from "./Camera.js";
3
- import ee from "./CurrentFloor/CurrentFloor.js";
4
- import { svelteResizeObserver as te } from "../../../shared-utils/svelte/resizeObserver.js";
1
+ import { SvelteComponent as K, init as L, safe_not_equal as Q, append_styles as T, empty as V, insert as y, transition_in as u, transition_out as p, check_outros as N, detach as I, onMount as X, element as P, attr as R, action_destroyer as Y, listen as H, group_outros as B, run_all as Z, assign as W, create_component as z, space as x, set_style as q, mount_component as C, append as $, get_spread_update as S, destroy_component as A } from "../../../vendor/svelte/internal/index.js";
2
+ import ee from "./Camera.js";
3
+ import te from "./CurrentFloor/CurrentFloor.js";
4
+ import { svelteResizeObserver as ne } from "../../../shared-utils/svelte/resizeObserver.js";
5
5
  import "../../Assets/camera.js";
6
6
  import "../../../shared-utils/throttle.js";
7
7
  import "./CurrentFloor/ExtraObjects.js";
@@ -12,190 +12,194 @@ import "../../Components/RoomHighlight/RoomHighlight.js";
12
12
  import "../../Components/RoomHighlight/Room.js";
13
13
  import "../../utils/formatPosition.js";
14
14
  import "../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
15
- function re(o) {
16
- Q(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
+ function re(i) {
16
+ T(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}");
17
17
  }
18
- function A(o) {
19
- let e, l, r, i, n = o[6] !== 0 && M(o);
18
+ function M(i) {
19
+ let e, l, n, o, r = i[7] !== 0 && F(i);
20
20
  return {
21
21
  c() {
22
- e = N("div"), n && n.c(), P(e, "class", "plugin-floorplan-radar svelte-1mvqyqq");
22
+ e = P("div"), r && r.c(), R(e, "class", "plugin-floorplan-radar svelte-1mvqyqq");
23
23
  },
24
24
  m(f, m) {
25
- I(f, e, m), n && n.m(e, null), l = !0, r || (i = [
26
- X(te.call(null, e)),
27
- U(e, "clientWidth", o[12]),
28
- U(e, "clientHeight", o[13])
29
- ], r = !0);
25
+ y(f, e, m), r && r.m(e, null), l = !0, n || (o = [
26
+ Y(ne.call(null, e)),
27
+ H(e, "clientWidth", i[13]),
28
+ H(e, "clientHeight", i[14])
29
+ ], n = !0);
30
30
  },
31
31
  p(f, m) {
32
- f[6] !== 0 ? n ? (n.p(f, m), m & 64 && u(n, 1)) : (n = M(f), n.c(), u(n, 1), n.m(e, null)) : n && (R(), _(n, 1, 1, () => {
33
- n = null;
34
- }), F());
32
+ f[7] !== 0 ? r ? (r.p(f, m), m & 128 && u(r, 1)) : (r = F(f), r.c(), u(r, 1), r.m(e, null)) : r && (B(), p(r, 1, 1, () => {
33
+ r = null;
34
+ }), N());
35
35
  },
36
36
  i(f) {
37
- l || (u(n), l = !0);
37
+ l || (u(r), l = !0);
38
38
  },
39
39
  o(f) {
40
- _(n), l = !1;
40
+ p(r), l = !1;
41
41
  },
42
42
  d(f) {
43
- f && k(e), n && n.d(), r = !1, Y(i);
43
+ f && I(e), r && r.d(), n = !1, Z(o);
44
44
  }
45
45
  };
46
46
  }
47
- function M(o) {
48
- let e, l, r, i, n = `${o[8]}px`, f = `${o[11]}px`, m;
49
- const p = [
47
+ function F(i) {
48
+ let e, l, n, o, r = `${i[9]}px`, f = `${i[12]}px`, m;
49
+ const c = [
50
50
  {
51
- five: o[0],
52
- pxmm: o[9],
53
- floorIndex: o[10],
54
- floorplanData: o[3],
55
- hoverEnable: o[2],
56
- extraObjects: o[5]
51
+ five: i[0],
52
+ pxmm: i[10],
53
+ floorIndex: i[11],
54
+ floorplanData: i[3],
55
+ hoverEnable: i[2],
56
+ extraObjects: i[5],
57
+ highlightData: i[6]
57
58
  }
58
59
  ];
59
- let d = {};
60
- for (let t = 0; t < p.length; t += 1)
61
- d = H(d, p[t]);
62
- l = new ee({ props: d });
63
- const h = [
60
+ let h = {};
61
+ for (let t = 0; t < c.length; t += 1)
62
+ h = W(h, c[t]);
63
+ l = new te({ props: h });
64
+ const g = [
64
65
  {
65
- pxmm: o[9],
66
- five: o[0],
67
- floorplanData: o[3],
68
- cameraImageUrl: o[4]
66
+ pxmm: i[10],
67
+ five: i[0],
68
+ floorplanData: i[3],
69
+ cameraImageUrl: i[4]
69
70
  }
70
71
  ];
71
- let c = {};
72
- for (let t = 0; t < h.length; t += 1)
73
- c = H(c, h[t]);
74
- return i = new $({ props: c }), {
72
+ let d = {};
73
+ for (let t = 0; t < g.length; t += 1)
74
+ d = W(d, g[t]);
75
+ return o = new ee({ props: d }), {
75
76
  c() {
76
- e = N("div"), W(l.$$.fragment), r = Z(), W(i.$$.fragment), P(e, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), q(e, "width", n), q(e, "height", f);
77
+ e = P("div"), z(l.$$.fragment), n = x(), z(o.$$.fragment), R(e, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), q(e, "width", r), q(e, "height", f);
77
78
  },
78
79
  m(t, s) {
79
- I(t, e, s), z(l, e, null), x(e, r), z(i, e, null), m = !0;
80
+ y(t, e, s), C(l, e, null), $(e, n), C(o, e, null), m = !0;
80
81
  },
81
82
  p(t, s) {
82
- const g = s & 1581 ? C(p, [
83
+ const _ = s & 3181 ? S(c, [
83
84
  {
84
85
  five: t[0],
85
- pxmm: t[9],
86
- floorIndex: t[10],
86
+ pxmm: t[10],
87
+ floorIndex: t[11],
87
88
  floorplanData: t[3],
88
89
  hoverEnable: t[2],
89
- extraObjects: t[5]
90
+ extraObjects: t[5],
91
+ highlightData: t[6]
90
92
  }
91
93
  ]) : {};
92
- l.$set(g);
93
- const v = s & 537 ? C(h, [
94
+ l.$set(_);
95
+ const v = s & 1049 ? S(g, [
94
96
  {
95
- pxmm: t[9],
97
+ pxmm: t[10],
96
98
  five: t[0],
97
99
  floorplanData: t[3],
98
100
  cameraImageUrl: t[4]
99
101
  }
100
102
  ]) : {};
101
- i.$set(v), s & 256 && n !== (n = `${t[8]}px`) && q(e, "width", n), s & 2048 && f !== (f = `${t[11]}px`) && q(e, "height", f);
103
+ o.$set(v), s & 512 && r !== (r = `${t[9]}px`) && q(e, "width", r), s & 4096 && f !== (f = `${t[12]}px`) && q(e, "height", f);
102
104
  },
103
105
  i(t) {
104
- m || (u(l.$$.fragment, t), u(i.$$.fragment, t), m = !0);
106
+ m || (u(l.$$.fragment, t), u(o.$$.fragment, t), m = !0);
105
107
  },
106
108
  o(t) {
107
- _(l.$$.fragment, t), _(i.$$.fragment, t), m = !1;
109
+ p(l.$$.fragment, t), p(o.$$.fragment, t), m = !1;
108
110
  },
109
111
  d(t) {
110
- t && k(e), S(l), S(i);
112
+ t && I(e), A(l), A(o);
111
113
  }
112
114
  };
113
115
  }
114
- function ne(o) {
115
- let e, l, r = o[1] && A(o);
116
+ function le(i) {
117
+ let e, l, n = i[1] && M(i);
116
118
  return {
117
119
  c() {
118
- r && r.c(), e = T();
120
+ n && n.c(), e = V();
119
121
  },
120
- m(i, n) {
121
- r && r.m(i, n), I(i, e, n), l = !0;
122
+ m(o, r) {
123
+ n && n.m(o, r), y(o, e, r), l = !0;
122
124
  },
123
- p(i, [n]) {
124
- i[1] ? r ? (r.p(i, n), n & 2 && u(r, 1)) : (r = A(i), r.c(), u(r, 1), r.m(e.parentNode, e)) : r && (R(), _(r, 1, 1, () => {
125
- r = null;
126
- }), F());
125
+ p(o, [r]) {
126
+ o[1] ? n ? (n.p(o, r), r & 2 && u(n, 1)) : (n = M(o), n.c(), u(n, 1), n.m(e.parentNode, e)) : n && (B(), p(n, 1, 1, () => {
127
+ n = null;
128
+ }), N());
127
129
  },
128
- i(i) {
129
- l || (u(r), l = !0);
130
+ i(o) {
131
+ l || (u(n), l = !0);
130
132
  },
131
- o(i) {
132
- _(r), l = !1;
133
+ o(o) {
134
+ p(n), l = !1;
133
135
  },
134
- d(i) {
135
- r && r.d(i), i && k(e);
136
+ d(o) {
137
+ n && n.d(o), o && I(e);
136
138
  }
137
139
  };
138
140
  }
139
- function le(o, e, l) {
140
- var w, D;
141
- let { five: r } = e, { visible: i } = e, { hoverEnable: n } = e, { floorplanData: f } = e, { cameraImageUrl: m } = e, { extraObjects: p = [] } = e, d = 0, h = (D = (w = r.work.observers[r.getCurrentState().panoIndex]) == null ? void 0 : w.floorIndex) != null ? D : 0, c = 0, t = 0, s = 0, g = 0;
142
- function v(a) {
143
- l(10, h = r.work.observers[a].floorIndex);
141
+ function ie(i, e, l) {
142
+ var w, j;
143
+ let { five: n } = e, { visible: o } = e, { hoverEnable: r } = e, { floorplanData: f } = e, { cameraImageUrl: m } = e, { extraObjects: c = [] } = e, { highlightData: h } = e, g = 0, d = (j = (w = n.work.observers[n.getCurrentState().panoIndex]) == null ? void 0 : w.floorIndex) != null ? j : 0, t = 0, s = 0, _ = 0, v = 0;
144
+ function k(a) {
145
+ l(11, d = n.work.observers[a].floorIndex);
144
146
  }
145
- V(() => (r.on("panoArrived", v), () => {
146
- r.off("panoArrived", v);
147
+ X(() => (n.on("panoArrived", k), () => {
148
+ n.off("panoArrived", k);
147
149
  }));
148
- const B = (a) => {
149
- l(6, c = a.detail);
150
- }, G = (a) => {
150
+ const G = (a) => {
151
151
  l(7, t = a.detail);
152
+ }, J = (a) => {
153
+ l(8, s = a.detail);
152
154
  };
153
- return o.$$set = (a) => {
154
- "five" in a && l(0, r = a.five), "visible" in a && l(1, i = a.visible), "hoverEnable" in a && l(2, n = a.hoverEnable), "floorplanData" in a && l(3, f = a.floorplanData), "cameraImageUrl" in a && l(4, m = a.cameraImageUrl), "extraObjects" in a && l(5, p = a.extraObjects);
155
- }, o.$$.update = () => {
156
- if (o.$$.dirty & 456) {
157
- const a = Math.min(c, t), { max: j, min: O } = f.bounding, b = j.x - O.x, y = j.y - O.y, E = function() {
158
- return b > y ? [a, a / b * y] : [a / y * b, a];
155
+ return i.$$set = (a) => {
156
+ "five" in a && l(0, n = a.five), "visible" in a && l(1, o = a.visible), "hoverEnable" in a && l(2, r = a.hoverEnable), "floorplanData" in a && l(3, f = a.floorplanData), "cameraImageUrl" in a && l(4, m = a.cameraImageUrl), "extraObjects" in a && l(5, c = a.extraObjects), "highlightData" in a && l(6, h = a.highlightData);
157
+ }, i.$$.update = () => {
158
+ if (i.$$.dirty & 904) {
159
+ const a = Math.min(t, s), { max: O, min: E } = f.bounding, b = O.x - E.x, D = O.y - E.y, U = function() {
160
+ return b > D ? [a, a / b * D] : [a / D * b, a];
159
161
  }();
160
- l(8, s = E[0]), l(11, g = E[1]), l(9, d = s / b);
162
+ l(9, _ = U[0]), l(12, v = U[1]), l(10, g = _ / b);
161
163
  }
162
164
  }, [
163
- r,
164
- i,
165
165
  n,
166
+ o,
167
+ r,
166
168
  f,
167
169
  m,
168
- p,
169
170
  c,
171
+ h,
170
172
  t,
171
173
  s,
172
- d,
173
- h,
174
+ _,
174
175
  g,
175
- B,
176
- G
176
+ d,
177
+ v,
178
+ G,
179
+ J
177
180
  ];
178
181
  }
179
- class qe extends J {
182
+ class De extends K {
180
183
  constructor(e) {
181
- super(), K(
184
+ super(), L(
182
185
  this,
183
186
  e,
187
+ ie,
184
188
  le,
185
- ne,
186
- L,
189
+ Q,
187
190
  {
188
191
  five: 0,
189
192
  visible: 1,
190
193
  hoverEnable: 2,
191
194
  floorplanData: 3,
192
195
  cameraImageUrl: 4,
193
- extraObjects: 5
196
+ extraObjects: 5,
197
+ highlightData: 6
194
198
  },
195
199
  re
196
200
  );
197
201
  }
198
202
  }
199
203
  export {
200
- qe as default
204
+ De as default
201
205
  };
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
2
2
  import type { BaseOptions } from '../../base/BasePlugin';
3
3
  import type { FloorplanServerData } from '../typings/floorplanServerData';
4
4
  import type { FloorplanExtraObject3D } from '../typings/floorplanData';
5
+ import type { HighlightData } from '../typings';
5
6
  import type { State, Config, EventMap, Parameters, PluginData, PluginServerData } from './typing';
6
7
  import * as BasePlugin from '../../base/BasePluginWithData';
7
8
  export declare class Controller extends BasePlugin.Controller<State, EventMap, PluginServerData, PluginData> {
@@ -13,6 +14,7 @@ export declare class Controller extends BasePlugin.Controller<State, EventMap, P
13
14
  private wrapper;
14
15
  private disposed;
15
16
  private extraObjects;
17
+ private highlightData;
16
18
  constructor(five: Five, params?: Parameters);
17
19
  dispose: () => void;
18
20
  load(serverData: PluginServerData | FloorplanServerData, state?: Partial<State>, userAction?: boolean): Promise<void>;
@@ -20,6 +22,8 @@ export declare class Controller extends BasePlugin.Controller<State, EventMap, P
20
22
  hide(options?: BaseOptions): Promise<void>;
21
23
  enable(options?: BaseOptions): void;
22
24
  disable(options?: BaseOptions): void;
25
+ highlight: (highlightData: HighlightData) => void;
26
+ unhighlight: () => void;
23
27
  /** 更改插件 State */
24
28
  setState(state: Partial<State>, options?: BaseOptions): void;
25
29
  /** 把插件的渲染DOM插入到对应的容器中去 */
@@ -1,37 +1,37 @@
1
- var v = Object.defineProperty, A = Object.defineProperties;
2
- var m = Object.getOwnPropertyDescriptors;
1
+ var w = Object.defineProperty, v = Object.defineProperties;
2
+ var A = Object.getOwnPropertyDescriptors;
3
3
  var f = Object.getOwnPropertySymbols;
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) => {
4
+ var m = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
5
+ var c = (r, i, t) => i in r ? w(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
- S.call(i, t) && l(r, t, i[t]);
7
+ m.call(i, t) && c(r, t, i[t]);
8
8
  if (f)
9
9
  for (var t of f(i))
10
- g.call(i, t) && l(r, t, i[t]);
10
+ S.call(i, t) && c(r, t, i[t]);
11
11
  return r;
12
- }, b = (r, i) => A(r, m(i));
13
- var a = (r, i, t) => (l(r, typeof i != "symbol" ? i + "" : i, t), t);
14
- var c = (r, i, t) => new Promise((e, s) => {
15
- var n = (h) => {
12
+ }, b = (r, i) => v(r, A(i));
13
+ var o = (r, i, t) => (c(r, typeof i != "symbol" ? i + "" : i, t), t);
14
+ var l = (r, i, t) => new Promise((e, s) => {
15
+ var h = (n) => {
16
16
  try {
17
- u(t.next(h));
17
+ u(t.next(n));
18
18
  } catch (d) {
19
19
  s(d);
20
20
  }
21
- }, o = (h) => {
21
+ }, a = (n) => {
22
22
  try {
23
- u(t.throw(h));
23
+ u(t.throw(n));
24
24
  } catch (d) {
25
25
  s(d);
26
26
  }
27
- }, u = (h) => h.done ? e(h.value) : Promise.resolve(h.value).then(n, o);
27
+ }, u = (n) => n.done ? e(n.value) : Promise.resolve(n.value).then(h, a);
28
28
  u((t = t.apply(r, i)).next());
29
29
  });
30
- import _ 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";
30
+ import D from "./Components/Main.js";
31
+ import { equal as _ } from "../../shared-utils/equal.js";
32
+ import { CAMERA_IMAGE as E } from "../Assets/camera.js";
33
+ import { Controller as y } from "../../base/BasePluginWithData.js";
34
+ import { formatData as g, formatExtraObjects as C } from "../utils/formatData.js";
35
35
  import "../../vendor/svelte/internal/index.js";
36
36
  import "./Components/Camera.js";
37
37
  import "../../shared-utils/throttle.js";
@@ -49,44 +49,52 @@ import "../../shared-utils/isTruelyObject.js";
49
49
  import "../../base/BasePlugin.js";
50
50
  import "../../shared-utils/Subscribe.js";
51
51
  import "../Assets/floorplanExtraObject.js";
52
- class V extends E {
52
+ class V extends y {
53
53
  constructor(t, e) {
54
54
  super(t);
55
- a(this, "name", "panoFloorplanRadarPlugin");
56
- a(this, "state");
57
- a(this, "data");
58
- a(this, "app");
59
- a(this, "wrapperSelector", "");
60
- a(this, "wrapper", null);
61
- a(this, "disposed", !1);
62
- a(this, "extraObjects", []);
63
- a(this, "dispose", () => {
55
+ o(this, "name", "panoFloorplanRadarPlugin");
56
+ o(this, "state");
57
+ o(this, "data");
58
+ o(this, "app");
59
+ o(this, "wrapperSelector", "");
60
+ o(this, "wrapper", null);
61
+ o(this, "disposed", !1);
62
+ o(this, "extraObjects", []);
63
+ o(this, "highlightData", {});
64
+ o(this, "dispose", () => {
64
65
  var t;
65
66
  this.disposed = !0, (t = this.app) == null || t.$destroy(), this.wrapper = null, this.wrapperSelector = "", this.hooks.emit("dispose");
66
67
  });
67
- a(this, "_disable", (t) => {
68
+ o(this, "highlight", (t) => {
69
+ !this.state.config.highlightEnable || (this.highlightData = t, this.render());
70
+ });
71
+ o(this, "unhighlight", () => {
72
+ this.highlightData = {}, this.render();
73
+ });
74
+ o(this, "_disable", (t) => {
68
75
  var s;
69
76
  const { userAction: e } = t;
70
77
  (s = this.app) == null || s.$destroy(), this.app = void 0, this.hooks.emit("disable", { userAction: e });
71
78
  });
72
79
  this.five = t;
73
80
  const s = {
74
- hoverEnable: !1,
75
- cameraImageUrl: D
76
- }, n = e != null && e.configs ? e.configs : {}, o = p(p({}, s), n);
77
- 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);
81
+ hoverEnable: !0,
82
+ highlightEnable: !0,
83
+ cameraImageUrl: E
84
+ }, h = e != null && e.configs ? e.configs : {}, a = p(p({}, s), h);
85
+ this.state = { enabled: !0, visible: !0, config: a }, 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);
78
86
  }
79
87
  load(t, e, s = !0) {
80
- return c(this, null, function* () {
81
- function n(d) {
88
+ return l(this, null, function* () {
89
+ function h(d) {
82
90
  return Object.prototype.hasOwnProperty.apply(d, ["version"]);
83
91
  }
84
- const o = JSON.parse(JSON.stringify(t)), u = n(o) ? o.data : o, h = this.data;
85
- 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();
92
+ const a = JSON.parse(JSON.stringify(t)), u = h(a) ? a.data : a, n = this.data;
93
+ this.data = yield g(u), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, n), e && this.updateState(e, s), this.render();
86
94
  });
87
95
  }
88
96
  show() {
89
- return c(this, arguments, function* (t = {}) {
97
+ return l(this, arguments, function* (t = {}) {
90
98
  if (this.state.visible)
91
99
  return;
92
100
  const e = t.userAction !== void 0 ? t.userAction : !0;
@@ -94,7 +102,7 @@ class V extends E {
94
102
  });
95
103
  }
96
104
  hide() {
97
- return c(this, arguments, function* (t = {}) {
105
+ return l(this, arguments, function* (t = {}) {
98
106
  if (!this.state.visible)
99
107
  return;
100
108
  const e = t.userAction !== void 0 ? t.userAction : !0;
@@ -114,14 +122,14 @@ class V extends E {
114
122
  this.updateState({ enabled: !1 }, t.userAction || e), this._disable({ userAction: e });
115
123
  }
116
124
  setState(t, e = {}) {
117
- const s = this.state, n = e.userAction !== void 0 ? e.userAction : !0;
118
- if (this.updateState(t, n), t.enabled !== void 0 && s.enabled !== t.enabled) {
119
- const o = { userAction: n };
120
- t.enabled ? this._enable(o) : this._disable(o);
125
+ const s = this.state, h = e.userAction !== void 0 ? e.userAction : !0;
126
+ if (this.updateState(t, h), t.enabled !== void 0 && s.enabled !== t.enabled) {
127
+ const a = { userAction: h };
128
+ t.enabled ? this._enable(a) : this._disable(a);
121
129
  }
122
130
  if (t.visible !== void 0 && s.visible !== t.visible) {
123
- const o = { userAction: n };
124
- t.visible ? this._show(o) : this._hide(o);
131
+ const a = { userAction: h };
132
+ t.visible ? this._show(a) : this._hide(a);
125
133
  }
126
134
  }
127
135
  appendTo(t) {
@@ -134,8 +142,8 @@ class V extends E {
134
142
  !this.data || (this.extraObjects = C(t, this.five, this.data), this.render());
135
143
  }
136
144
  formatData(t) {
137
- return c(this, null, function* () {
138
- return yield w(t.data);
145
+ return l(this, null, function* () {
146
+ return yield g(t.data);
139
147
  });
140
148
  }
141
149
  _enable(t) {
@@ -156,7 +164,7 @@ class V extends E {
156
164
  }
157
165
  updateState(t, e) {
158
166
  const s = this.state;
159
- this.state = p(p({}, this.state), t), !y(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: e });
167
+ this.state = p(p({}, this.state), t), !_(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: e });
160
168
  }
161
169
  render() {
162
170
  if (this.disposed || !this.state.enabled)
@@ -171,9 +179,10 @@ class V extends E {
171
179
  five: this.five,
172
180
  floorplanData: this.data,
173
181
  visible: this.state.visible,
174
- extraObjects: this.extraObjects
182
+ extraObjects: this.extraObjects,
183
+ highlightData: this.highlightData
175
184
  });
176
- this.app ? this.app.$set(t) : this.app = new _({ target: this.wrapper, props: t });
185
+ this.app ? this.app.$set(t) : this.app = new D({ target: this.wrapper, props: t });
177
186
  }
178
187
  }
179
188
  export {
@@ -2,6 +2,6 @@ import type { Parameters } from './typing';
2
2
  import type { FivePlugin } from '@realsee/five';
3
3
  import { Controller } from './Controller';
4
4
  export declare const PanoFloorplanRadarPlugin: FivePlugin<Parameters | undefined, Controller>;
5
- export declare type PanoFloorplanRadarPluginParameterType = Parameters | undefined;
6
- export declare type PanoFloorplanRadarPluginReturnType = InstanceType<typeof Controller>;
5
+ export type PanoFloorplanRadarPluginParameterType = Parameters | undefined;
6
+ export type PanoFloorplanRadarPluginReturnType = InstanceType<typeof Controller>;
7
7
  export default PanoFloorplanRadarPlugin;
@@ -4,6 +4,8 @@ import type { FloorplanServerData } from '../typings/floorplanServerData';
4
4
  export interface Config {
5
5
  /** 鼠标放置在分间上时,是否要自动高亮分间 */
6
6
  hoverEnable: boolean;
7
+ /** 支持highlight功能,默认为 false */
8
+ highlightEnable: boolean;
7
9
  /** 自定义「雷达」图标 */
8
10
  cameraImageUrl: string;
9
11
  }
@@ -2,6 +2,6 @@ import type { Parameters } from './typing';
2
2
  import type { FivePlugin } from '@realsee/five';
3
3
  import { Controller } from './Controller';
4
4
  export declare const TopviewFloorplanPlugin: FivePlugin<undefined | Parameters, Controller>;
5
- export declare type TopviewFloorplanPluginParameterType = Parameters | undefined;
6
- export declare type TopviewFloorplanPluginReturnType = InstanceType<typeof Controller>;
5
+ export type TopviewFloorplanPluginParameterType = Parameters | undefined;
6
+ export type TopviewFloorplanPluginReturnType = InstanceType<typeof Controller>;
7
7
  export default TopviewFloorplanPlugin;
@@ -79,9 +79,9 @@ export interface FloorplanRoomItem {
79
79
  observerIndexs: number[];
80
80
  }
81
81
  /** 户型图标尺 */
82
- export declare type FloorplanRuleLabels = Record<'top' | 'right' | 'bottom' | 'left', FloorplanPosition[][]>;
83
- export declare type RuleLabelsKey = RecordKeys<FloorplanRuleLabels>;
84
- export declare type RuleLabelsValue = RecordValue<FloorplanRuleLabels>;
82
+ export type FloorplanRuleLabels = Record<'top' | 'right' | 'bottom' | 'left', FloorplanPosition[][]>;
83
+ export type RuleLabelsKey = RecordKeys<FloorplanRuleLabels>;
84
+ export type RuleLabelsValue = RecordValue<FloorplanRuleLabels>;
85
85
  /** 当前楼层的数据 */
86
86
  export interface FloorplanFloorData {
87
87
  floorName: string;
@@ -100,7 +100,7 @@ export interface FloorplanServerRoomItem {
100
100
  /** 当前房间里的 observer 索引 */
101
101
  observer_indexs: number[];
102
102
  }
103
- export declare type FloorplanServerRuleLabels = Record<'top' | 'right' | 'bottom' | 'left', FloorplanServerPosition[][]>;
103
+ export type FloorplanServerRuleLabels = Record<'top' | 'right' | 'bottom' | 'left', FloorplanServerPosition[][]>;
104
104
  /** 当前楼层的数据 */
105
105
  export interface FloorplanServerFloorData {
106
106
  floor_name: string;
@@ -1,2 +1,2 @@
1
- export declare type RecordKeys<T> = T extends Record<infer P, any> ? P : any;
2
- export declare type RecordValue<T> = T extends Record<any, infer P> ? P : any;
1
+ export type RecordKeys<T> = T extends Record<infer P, any> ? P : any;
2
+ export type RecordValue<T> = T extends Record<any, infer P> ? P : any;
@@ -3,7 +3,7 @@ import type * as THREE from 'three';
3
3
  import { Group, Mesh, Object3D, Vector3 } from 'three';
4
4
  import type { Direction, Direction4 } from '../typings';
5
5
  import type { tipsDom } from '../Helper/HTML/tipsDom';
6
- declare type NonVoid<T> = T extends void ? never : T;
6
+ type NonVoid<T> = T extends void ? never : T;
7
7
  declare class IObject3D extends Object3D {
8
8
  constructor();
9
9
  add(...objects: Object3D[]): this;
@@ -50,7 +50,7 @@ export declare abstract class MoveHelperAbstract<OriginObject3D extends Object3D
50
50
  }
51
51
  export declare abstract class BoundingBoxHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
52
52
  }
53
- declare type Circle = (Mesh | Group) & {
53
+ type Circle = (Mesh | Group) & {
54
54
  direction: Direction;
55
55
  circle: Mesh;
56
56
  angleSector?: Mesh & {
@@ -3,7 +3,7 @@ import { RectangleScaleHelperAbstract } from '.';
3
3
  import type { Create3DElementReturnType } from '../../../CSS3DRenderPlugin';
4
4
  import type { Vector3 } from 'three';
5
5
  import type { CSS3DObjectPlus } from '../../../CSS3DRenderPlugin/utils/three/CSS3DObject';
6
- declare type NonVoid<T> = T extends void ? never : T;
6
+ type NonVoid<T> = T extends void ? never : T;
7
7
  export declare class CSS3DScaleHelper<T extends CSS3DObjectPlus = CSS3DObjectPlus> extends RectangleScaleHelperAbstract<T, HTMLElement> {
8
8
  points: RectangleScaleHelperAbstract<THREE.Object3D, HTMLElement>['points'];
9
9
  cornerPositions: Vector3[];
@@ -1,2 +1,2 @@
1
- export declare type Direction = 'x' | 'y' | 'z';
2
- export declare type Direction4 = 'nesw' | 'nwse' | 'ns' | 'ew';
1
+ export type Direction = 'x' | 'y' | 'z';
2
+ export type Direction4 = 'nesw' | 'nwse' | 'ns' | 'ew';
@@ -1,5 +1,5 @@
1
1
  import type * as THREE from 'three';
2
- export declare type HelperEventMap = {
2
+ export type HelperEventMap = {
3
3
  wantToMove: (position: THREE.Vector3) => void;
4
4
  wantToRotate: (quaternion: THREE.Quaternion) => void;
5
5
  wantToScale: (scale: THREE.Vector3) => void;
@@ -34,7 +34,7 @@ export interface Object3DHelperState {
34
34
  visible: boolean;
35
35
  disposed: boolean;
36
36
  }
37
- export declare type Object3DHelperEventMap = {
37
+ export type Object3DHelperEventMap = {
38
38
  show: (options?: {
39
39
  userAction?: boolean;
40
40
  }) => void;