@realsee/dnalogel 2.21.0-dev.7 → 2.21.0-dev.9

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 (342) hide show
  1. package/dist/PanoMeasurePlugin/Components/Common/icons/index.d.ts +4 -0
  2. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +11 -0
  3. package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
  4. package/dist/PanoMeasurePlugin/Model/area.d.ts +8 -1
  5. package/dist/PanoMeasurePlugin/Model/line.d.ts +1 -0
  6. package/dist/PanoMeasurePlugin/Model/polygon.d.ts +1 -0
  7. package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
  8. package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +4 -0
  9. package/dist/index.cjs.js +54 -52
  10. package/dist/index.js +5119 -4997
  11. package/dist/index.umd.js +47 -45
  12. package/docs/classes/CSS3DRender.html +30 -30
  13. package/docs/classes/CruisePluginController.html +25 -25
  14. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  15. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  16. package/docs/classes/Magnifier.html +19 -19
  17. package/docs/classes/ModelRoomLabelController.html +10 -10
  18. package/docs/classes/Object3DHelperController.html +24 -24
  19. package/docs/classes/PaintBrush.html +14 -14
  20. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  21. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  22. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  23. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  24. package/docs/classes/PanoTagPluginController.html +46 -46
  25. package/docs/classes/Util.BetterTween.html +8 -8
  26. package/docs/classes/Util.Interval.html +11 -11
  27. package/docs/classes/Util.Magnifier.html +17 -17
  28. package/docs/classes/Util.PointDomHelper.html +10 -10
  29. package/docs/classes/Util.PointHelper.html +10 -10
  30. package/docs/classes/Util.PointSelectorHelper.html +16 -16
  31. package/docs/classes/Util.Rectangle.html +12 -12
  32. package/docs/enums/CameraMovementEffect.html +6 -6
  33. package/docs/enums/ContentType.html +19 -19
  34. package/docs/enums/DIRECTION.html +8 -8
  35. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  36. package/docs/enums/DimensionType.html +6 -6
  37. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  38. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  39. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  40. package/docs/enums/PointType.html +6 -6
  41. package/docs/enums/Rotation.html +7 -7
  42. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  43. package/docs/functions/CameraMovementPlugin.html +3 -3
  44. package/docs/functions/CruisePlugin.html +3 -3
  45. package/docs/functions/GuideLinePlugin.html +4 -4
  46. package/docs/functions/ItemLabelPlugin.html +3 -3
  47. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  48. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  49. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  50. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  51. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  52. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  53. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  54. package/docs/functions/ModelViewPlugin.html +3 -3
  55. package/docs/functions/Object3DHelperPlugin.html +3 -3
  56. package/docs/functions/PanoCompassPlugin.html +3 -3
  57. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  58. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  59. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  60. package/docs/functions/PanoMeasurePlugin.html +3 -3
  61. package/docs/functions/PanoRulerPlugin.html +3 -3
  62. package/docs/functions/PanoRulerProPlugin.html +3 -3
  63. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  64. package/docs/functions/PanoTagPlugin.html +3 -3
  65. package/docs/functions/PanoVideoPlugin.html +3 -3
  66. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  67. package/docs/functions/Util.absoluteUrl.html +4 -4
  68. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  69. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  70. package/docs/functions/Util.getFrameTime.html +4 -4
  71. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  72. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  73. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  74. package/docs/functions/Util.isModelLike.html +4 -4
  75. package/docs/functions/Util.isNil.html +4 -4
  76. package/docs/functions/Util.isPanoramaLike.html +4 -4
  77. package/docs/functions/Util.nextFrame.html +4 -4
  78. package/docs/functions/Util.notNil.html +4 -4
  79. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  80. package/docs/functions/Util.tweenProgress.html +4 -4
  81. package/docs/functions/Util.uuid.html +4 -4
  82. package/docs/functions/pluginFlag.html +4 -4
  83. package/docs/index.html +4 -4
  84. package/docs/interfaces/AddTagConfig.html +5 -5
  85. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  86. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  87. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  88. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  89. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  90. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  91. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  92. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  93. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  94. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  95. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  96. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  97. package/docs/interfaces/EventMap.html +14 -14
  98. package/docs/interfaces/FloorplanBounding.html +7 -7
  99. package/docs/interfaces/FloorplanData.html +9 -9
  100. package/docs/interfaces/FloorplanEntrance.html +10 -10
  101. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  102. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  103. package/docs/interfaces/FloorplanFloorData.html +8 -8
  104. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  105. package/docs/interfaces/FloorplanObserver.html +8 -8
  106. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  107. package/docs/interfaces/FloorplanPosition.html +6 -6
  108. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  109. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  110. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  111. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  112. package/docs/interfaces/FloorplanServerData.html +6 -6
  113. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  114. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  115. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  116. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  117. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  118. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  119. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  120. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  121. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  122. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  123. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  124. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  125. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  126. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  127. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  128. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  129. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  130. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  131. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  132. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  133. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  134. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  135. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  136. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  137. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  138. package/docs/interfaces/HelperOffset.html +7 -7
  139. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  140. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  141. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  142. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  143. package/docs/interfaces/MinMax.html +6 -6
  144. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  145. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  146. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  147. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  148. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  149. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  150. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  151. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  152. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  153. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  154. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  155. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  156. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  157. package/docs/interfaces/Object3DHelperState.html +7 -7
  158. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  159. package/docs/interfaces/PaintBrushAction.html +11 -11
  160. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  161. package/docs/interfaces/PaintBrushState.html +9 -9
  162. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  163. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  164. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  165. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  166. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  167. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  168. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  169. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  170. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  171. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  172. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  173. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  174. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  175. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  176. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  177. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  178. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  179. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  180. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  181. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  182. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  183. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  184. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  185. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  186. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  187. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  188. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  189. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  190. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  191. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  192. package/docs/interfaces/Point.html +7 -7
  193. package/docs/interfaces/Room.html +8 -8
  194. package/docs/interfaces/RoomInfo.html +6 -6
  195. package/docs/interfaces/RoomLabel.html +13 -13
  196. package/docs/interfaces/RoomRules.html +4 -4
  197. package/docs/interfaces/Rooms.html +4 -4
  198. package/docs/interfaces/Scissor.html +8 -8
  199. package/docs/interfaces/State.html +7 -7
  200. package/docs/interfaces/TagCacheInterface.html +11 -11
  201. package/docs/interfaces/TagConfig.html +12 -12
  202. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  203. package/docs/interfaces/TagIconUrl.html +11 -11
  204. package/docs/interfaces/TagObjectGroup.html +5 -5
  205. package/docs/interfaces/TagStyle.html +5 -5
  206. package/docs/interfaces/Tags.html +8 -8
  207. package/docs/interfaces/TemporaryState.html +5 -5
  208. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  209. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  210. package/docs/interfaces/Util.PointIntersection.html +7 -7
  211. package/docs/modules/CruisePluginTypes.html +4 -4
  212. package/docs/modules/GuideLineItem.html +4 -4
  213. package/docs/modules/GuideLineModeItem.html +4 -4
  214. package/docs/modules/GuideLinePluginType.html +4 -4
  215. package/docs/modules/PanoVideoPluginType.html +4 -4
  216. package/docs/modules/Util.html +4 -4
  217. package/docs/modules.html +4 -4
  218. package/docs/types/ArrayPosition.html +4 -4
  219. package/docs/types/AudioAppearance.html +4 -4
  220. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  221. package/docs/types/CSS3DRenderExportType.html +4 -4
  222. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  223. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  224. package/docs/types/ClassFunctionParameters.html +4 -4
  225. package/docs/types/Color.html +4 -4
  226. package/docs/types/ContentTypeConfigKey.html +4 -4
  227. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  228. package/docs/types/ContentTypeMap.html +4 -4
  229. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  230. package/docs/types/Create3DElementReturnType.html +4 -4
  231. package/docs/types/CruisePluginExportType.html +4 -4
  232. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  233. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  234. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  235. package/docs/types/DeprecatedTagProperty.html +4 -4
  236. package/docs/types/Direction-1.html +4 -4
  237. package/docs/types/Direction4.html +4 -4
  238. package/docs/types/ElementRenderer.html +4 -4
  239. package/docs/types/FloorplanRuleLabels.html +4 -4
  240. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  241. package/docs/types/GuideLinePluginExportType.html +4 -4
  242. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  243. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  244. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  245. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  246. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  247. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  248. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  249. package/docs/types/HelperEventMap.html +4 -4
  250. package/docs/types/LoadTagConfig.html +4 -4
  251. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  252. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  253. package/docs/types/MediaData.html +4 -4
  254. package/docs/types/MediaStore.html +4 -4
  255. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  256. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  257. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  258. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  259. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  260. package/docs/types/MoveArgs.html +4 -4
  261. package/docs/types/MoveOpts.html +4 -4
  262. package/docs/types/Object3DHelperEventMap.html +4 -4
  263. package/docs/types/ObjectFit.html +4 -4
  264. package/docs/types/PaintBrushEventMap.html +4 -4
  265. package/docs/types/PanoCompassPluginData.html +4 -4
  266. package/docs/types/PanoCompassPluginExportType.html +4 -4
  267. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  268. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  269. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  270. package/docs/types/PanoIndex.html +4 -4
  271. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  272. package/docs/types/PanoMeasureReturnType.html +4 -4
  273. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  274. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  275. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  276. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  277. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  278. package/docs/types/PartialObjectDeep.html +4 -4
  279. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  280. package/docs/types/PlaneTag.html +4 -4
  281. package/docs/types/Point2DTag.html +4 -4
  282. package/docs/types/Point3DTag.html +4 -4
  283. package/docs/types/PointTag.html +4 -4
  284. package/docs/types/PointTagInstance.html +4 -4
  285. package/docs/types/Position.html +4 -4
  286. package/docs/types/RotateArgs.html +4 -4
  287. package/docs/types/RotateOpts.html +4 -4
  288. package/docs/types/RuleLabelsKey.html +4 -4
  289. package/docs/types/RuleLabelsValue.html +4 -4
  290. package/docs/types/StickType.html +4 -4
  291. package/docs/types/Tag.html +4 -4
  292. package/docs/types/Tag2D.html +4 -4
  293. package/docs/types/Tag3D.html +4 -4
  294. package/docs/types/TagContentType.html +4 -4
  295. package/docs/types/TagDimensionType.html +4 -4
  296. package/docs/types/TagElement.html +4 -4
  297. package/docs/types/TagEvents.html +4 -4
  298. package/docs/types/TagGLTFObject.html +4 -4
  299. package/docs/types/TagHooks.html +4 -4
  300. package/docs/types/TagId.html +4 -4
  301. package/docs/types/TagInstance.html +4 -4
  302. package/docs/types/TagPointType.html +4 -4
  303. package/docs/types/TagRendererMap.html +4 -4
  304. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  305. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  306. package/docs/types/WorkCode.html +4 -4
  307. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  308. package/docs/variables/PLUGIN.html +4 -4
  309. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  310. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  311. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  312. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  313. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  314. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +106 -110
  315. package/libs/PanoMeasurePlugin/Components/Common/icons/index.d.ts +4 -0
  316. package/libs/PanoMeasurePlugin/Components/Common/icons/index.js +7 -0
  317. package/libs/PanoMeasurePlugin/Components/Controller0.js +189 -79
  318. package/libs/PanoMeasurePlugin/Components/Controller1.js +214 -180
  319. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +11 -0
  320. package/libs/PanoMeasurePlugin/Controller/EditController.js +174 -137
  321. package/libs/PanoMeasurePlugin/Controller/MixedController.js +5 -5
  322. package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
  323. package/libs/PanoMeasurePlugin/Controller/WatchController.js +13 -12
  324. package/libs/PanoMeasurePlugin/Controller/index.js +5 -4
  325. package/libs/PanoMeasurePlugin/Model/area.d.ts +8 -1
  326. package/libs/PanoMeasurePlugin/Model/area.js +21 -14
  327. package/libs/PanoMeasurePlugin/Model/line.d.ts +1 -0
  328. package/libs/PanoMeasurePlugin/Model/line.js +23 -22
  329. package/libs/PanoMeasurePlugin/Model/polygon.d.ts +1 -0
  330. package/libs/PanoMeasurePlugin/Model/polygon.js +16 -14
  331. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
  332. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +34 -24
  333. package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +4 -0
  334. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +45 -38
  335. package/libs/PanoMeasurePlugin/index.js +17 -16
  336. package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +3 -3
  337. package/libs/base/BasePlugin.js +1 -1
  338. package/libs/index.js +112 -111
  339. package/libs/shared-utils/logger.js +1 -1
  340. package/libs/shared-utils/three/PointSelector.js +7 -7
  341. package/libs/shared-utils/three/PointSelectorHelper.js +7 -7
  342. package/package.json +1 -1
package/libs/index.js CHANGED
@@ -1,55 +1,55 @@
1
1
  import { consoleVersion as o } from "./shared-utils/logger.js";
2
2
  import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
3
- import { PaintBrush as Ep } from "./components/PaintBrush/index.js";
4
- import { PaintBrushTypeEnum as Ip } from "./components/PaintBrush/typings.js";
5
- import { ModelViewPlugin as yp } from "./ModelViewPlugin/Plugin.js";
6
- import { CSS3DRenderPlugin as Ap } from "./CSS3DRenderPlugin/index.js";
7
- import { PanoCursorRaycasterPlugin as Gp } from "./PanoCursorRaycasterPlugin/index.js";
8
- import { ModelRoomLabelPlugin as Fp, modelRoomLabelPluginServerParams as Yp } from "./ModelRoomLabelPlugin/index.js";
9
- import { FLOOR_PLAN_ATTACHED_TO as cp } from "./floorplan/constant.js";
10
- import { ModelFloorplanPlugin as Np } from "./floorplan/ModelFloorplanPlugin/index.js";
11
- import { MapviewFloorplanPlugin as wp } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
- import { TopviewFloorplanPlugin as Hp } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
- import { PanoFloorplanRadarPlugin as jp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
- import { FLOOR_TYPE_MAP as kp, ROOM_FETILE_TYPE_MAP as qp, ROOM_TYPE_MAP as zp } from "./floorplan/typings/floorplanServerData.js";
15
- import { ModelChassisCompassPlugin as Kp } from "./ModelChassisCompassPlugin/Plugin.js";
16
- import { ModelEntryDoorGuidePlugin as Wp } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
- import { CameraMovementPlugin as Zp } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
- import { CameraMovementEffect as re, Rotation as te } from "./CameraMovementPlugin/typing.js";
19
- import { PanoRulerPlugin as me } from "./PanoRulerPlugin/Plugin.js";
20
- import { PanoRulerProPlugin as ee } from "./PanoRulerProPlugin/index.js";
21
- import { PanoCompassPlugin as le } from "./PanoCompassPlugin/index.js";
22
- import { PanoMeasurePlugin as Pe } from "./PanoMeasurePlugin/index.js";
23
- import { PanoSpatialTagPlugin as fe } from "./PanoSpatialTagPlugin/Plugin.js";
24
- import { modelItemLabelPluginServerParams as ge } from "./ModelItemLabelPlugin/index.js";
25
- import { ModelTVVideoPlugin as de } from "./ModelTVVideoPlugin/Plugin.js";
26
- import { DIRECTION as Te } from "./ModelTVVideoPlugin/typings.js";
27
- import { itemLabelPluginServerParams as Ce } from "./ItemLabelPlugin/index.js";
28
- import { PanoDoorLabelPlugin as Ee } from "./PanoDoorLabelPlugin/index.js";
29
- import { GuideLinePlugin as Ie } from "./GuideLinePlugin/index.js";
30
- import { CruisePlugin as ye } from "./CruisePlugin/index.js";
31
- import { PanoTagPlugin as Ae } from "./PanoTagPlugin/index.js";
32
- import { Object3DHelperPlugin as Ge } from "./Object3DHelperPlugin/index.js";
33
- import { PanoVideoPlugin as Fe } from "./PanoVideoPlugin/index.js";
34
- import { index as ve } from "./shared-utils/index.js";
35
- import { CSS3DRender as Ve } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
36
- import { Model as he } from "./PanoMeasurePlugin/Model/index.js";
37
- import { default as Be } from "./PanoMeasurePlugin/Model/point.js";
38
- import { default as Ue } from "./PanoMeasurePlugin/Model/line.js";
39
- import { Polyline as $e } from "./PanoMeasurePlugin/Model/polyline.js";
40
- import { default as qe } from "./PanoMeasurePlugin/Modules/Magnifier.js";
41
- import { DISPLAY_STRATEGY_TYPE as Je } from "./ModelItemLabelPlugin/typings.js";
42
- import { ModelItemLabelPlugin as Qe } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
43
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Xe } from "./ItemLabelPlugin/typings.js";
44
- import { Plugin as on } from "./ItemLabelPlugin/Plugin.js";
45
- import { GuideLineItem$1 as tn } from "./GuideLinePlugin/GuideLineItem/index.js";
46
- import { GuideLineModeItem$1 as pn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
47
- import { default as nn } from "./CruisePlugin/Controller.js";
48
- import { typing as an } from "./CruisePlugin/typing/index.js";
49
- import { default as un, pluginFlag as fn } from "./PanoTagPlugin/controller/index.js";
50
- import { ContentType as gn, DimensionType as sn, PointType as dn } from "./PanoTagPlugin/Archive/deprecated.js";
51
- import { Object3DHelperController as Tn, PLUGIN as Ln } from "./Object3DHelperPlugin/Controller.js";
52
- import { typings as _n } from "./PanoVideoPlugin/typings/index.js";
3
+ import { PaintBrush as Rp } from "./components/PaintBrush/index.js";
4
+ import { PaintBrushTypeEnum as Op } from "./components/PaintBrush/typings.js";
5
+ import { ModelViewPlugin as Sp } from "./ModelViewPlugin/Plugin.js";
6
+ import { CSS3DRenderPlugin as Dp } from "./CSS3DRenderPlugin/index.js";
7
+ import { PanoCursorRaycasterPlugin as bp } from "./PanoCursorRaycasterPlugin/index.js";
8
+ import { ModelRoomLabelPlugin as Yp, modelRoomLabelPluginServerParams as vp } from "./ModelRoomLabelPlugin/index.js";
9
+ import { FLOOR_PLAN_ATTACHED_TO as Vp } from "./floorplan/constant.js";
10
+ import { ModelFloorplanPlugin as hp } from "./floorplan/ModelFloorplanPlugin/index.js";
11
+ import { MapviewFloorplanPlugin as Bp } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
+ import { TopviewFloorplanPlugin as Up } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
+ import { PanoFloorplanRadarPlugin as $p } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
+ import { FLOOR_TYPE_MAP as qp, ROOM_FETILE_TYPE_MAP as zp, ROOM_TYPE_MAP as Jp } from "./floorplan/typings/floorplanServerData.js";
15
+ import { ModelChassisCompassPlugin as Qp } from "./ModelChassisCompassPlugin/Plugin.js";
16
+ import { ModelEntryDoorGuidePlugin as Xp } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
+ import { CameraMovementPlugin as oe } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
+ import { CameraMovementEffect as te, Rotation as ie } from "./CameraMovementPlugin/typing.js";
19
+ import { PanoRulerPlugin as pe } from "./PanoRulerPlugin/Plugin.js";
20
+ import { PanoRulerProPlugin as ne } from "./PanoRulerProPlugin/index.js";
21
+ import { PanoCompassPlugin as ae } from "./PanoCompassPlugin/index.js";
22
+ import { PanoMeasurePlugin as ue } from "./PanoMeasurePlugin/index.js";
23
+ import { PanoSpatialTagPlugin as xe } from "./PanoSpatialTagPlugin/Plugin.js";
24
+ import { modelItemLabelPluginServerParams as se } from "./ModelItemLabelPlugin/index.js";
25
+ import { ModelTVVideoPlugin as Me } from "./ModelTVVideoPlugin/Plugin.js";
26
+ import { DIRECTION as Le } from "./ModelTVVideoPlugin/typings.js";
27
+ import { itemLabelPluginServerParams as _e } from "./ItemLabelPlugin/index.js";
28
+ import { PanoDoorLabelPlugin as Re } from "./PanoDoorLabelPlugin/index.js";
29
+ import { GuideLinePlugin as Oe } from "./GuideLinePlugin/index.js";
30
+ import { CruisePlugin as Se } from "./CruisePlugin/index.js";
31
+ import { PanoTagPlugin as De } from "./PanoTagPlugin/index.js";
32
+ import { Object3DHelperPlugin as be } from "./Object3DHelperPlugin/index.js";
33
+ import { PanoVideoPlugin as Ye } from "./PanoVideoPlugin/index.js";
34
+ import { index as ce } from "./shared-utils/index.js";
35
+ import { CSS3DRender as Ne } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
36
+ import { Model as we } from "./PanoMeasurePlugin/Model/index.js";
37
+ import { default as He } from "./PanoMeasurePlugin/Model/point.js";
38
+ import { default as je } from "./PanoMeasurePlugin/Model/line.js";
39
+ import { Polyline as ke } from "./PanoMeasurePlugin/Model/polyline.js";
40
+ import { default as ze } from "./PanoMeasurePlugin/Modules/Magnifier.js";
41
+ import { DISPLAY_STRATEGY_TYPE as Ke } from "./ModelItemLabelPlugin/typings.js";
42
+ import { ModelItemLabelPlugin as We } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
43
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Ze } from "./ItemLabelPlugin/typings.js";
44
+ import { Plugin as rn } from "./ItemLabelPlugin/Plugin.js";
45
+ import { GuideLineItem$1 as mn } from "./GuideLinePlugin/GuideLineItem/index.js";
46
+ import { GuideLineModeItem$1 as en } from "./GuideLinePlugin/GuideLineModeItem/index.js";
47
+ import { default as ln } from "./CruisePlugin/Controller.js";
48
+ import { typing as Pn } from "./CruisePlugin/typing/index.js";
49
+ import { default as fn, pluginFlag as xn } from "./PanoTagPlugin/controller/index.js";
50
+ import { ContentType as sn, DimensionType as dn, PointType as Mn } from "./PanoTagPlugin/Archive/deprecated.js";
51
+ import { Object3DHelperController as Ln, PLUGIN as Cn } from "./Object3DHelperPlugin/Controller.js";
52
+ import { typings as En } from "./PanoVideoPlugin/typings/index.js";
53
53
  import "./components/PaintBrush/Controller.js";
54
54
  import "./components/PaintBrush/utils.js";
55
55
  import "./components/PaintBrush/tween.js";
@@ -184,16 +184,16 @@ import "./PanoMeasurePlugin/Modules/rangePiece/html.js";
184
184
  import "./shared-utils/isTouchDevice.js";
185
185
  import "./shared-utils/getIntersectionFromEvent.js";
186
186
  import "./shared-utils/getPointFromHammerEvent.js";
187
- import "./PanoMeasurePlugin/Controller/ViewController.js";
188
- import "./PanoMeasurePlugin/Controller/WatchController.js";
189
187
  import "./PanoMeasurePlugin/Modules/DeleteDom/index.js";
190
188
  import "./PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js";
191
189
  import "./PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js";
192
190
  import "./PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
191
+ import "./PanoMeasurePlugin/utils/findAssociatedLines.js";
193
192
  import "./PanoMeasurePlugin/utils/math.js";
193
+ import "./PanoMeasurePlugin/Controller/ViewController.js";
194
+ import "./PanoMeasurePlugin/Controller/WatchController.js";
194
195
  import "./PanoMeasurePlugin/utils/findClosestPoint.js";
195
196
  import "./PanoMeasurePlugin/utils/ndc2Screen.js";
196
- import "./PanoMeasurePlugin/utils/findAssociatedLines.js";
197
197
  import "./PanoMeasurePlugin/Controller/MixedController.js";
198
198
  import "./PanoMeasurePlugin/Modules/rangePiece/index.js";
199
199
  import "./shared-utils/noop.js";
@@ -209,6 +209,7 @@ import "./PanoMeasurePlugin/Modules/UIController/Revoke/index.js";
209
209
  import "./PanoMeasurePlugin/Components/Controller0.js";
210
210
  import "./PanoMeasurePlugin/Components/Common/Switcher0.js";
211
211
  import "./PanoMeasurePlugin/Components/Common/Exit.js";
212
+ import "./PanoMeasurePlugin/Components/Common/icons/index.js";
212
213
  import "./PanoMeasurePlugin/Components/Controller1.js";
213
214
  import "./PanoMeasurePlugin/Components/Common/Switcher1.js";
214
215
  import "./PanoMeasurePlugin/Components/Common/CircleButton.js";
@@ -392,62 +393,62 @@ import "./shared-utils/three/getRaycaster.js";
392
393
  r();
393
394
  o();
394
395
  export {
395
- Ve as CSS3DRender,
396
- Ap as CSS3DRenderPlugin,
397
- re as CameraMovementEffect,
398
- Zp as CameraMovementPlugin,
399
- gn as ContentType,
400
- ye as CruisePlugin,
401
- nn as CruisePluginController,
402
- an as CruisePluginTypes,
403
- Te as DIRECTION,
404
- Je as DISPLAY_STRATEGY_TYPE,
405
- sn as DimensionType,
406
- cp as FLOOR_PLAN_ATTACHED_TO,
407
- kp as FLOOR_TYPE_MAP,
408
- tn as GuideLineItem,
409
- pn as GuideLineModeItem,
410
- Ie as GuideLinePlugin,
411
- Xe as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
412
- on as ItemLabelPlugin,
413
- qe as Magnifier,
414
- wp as MapviewFloorplanPlugin,
415
- Kp as ModelChassisCompassPlugin,
416
- Wp as ModelEntryDoorGuidePlugin,
417
- Np as ModelFloorplanPlugin,
418
- Qe as ModelItemLabelPlugin,
419
- Fp as ModelRoomLabelPlugin,
420
- de as ModelTVVideoPlugin,
421
- yp as ModelViewPlugin,
422
- Tn as Object3DHelperController,
423
- Ge as Object3DHelperPlugin,
424
- Ln as PLUGIN,
425
- Ep as PaintBrush,
426
- Ip as PaintBrushTypeEnum,
427
- le as PanoCompassPlugin,
428
- Gp as PanoCursorRaycasterPlugin,
429
- Ee as PanoDoorLabelPlugin,
430
- jp as PanoFloorplanRadarPlugin,
431
- Pe as PanoMeasurePlugin,
432
- Ue as PanoMeasurePluginLine,
433
- he as PanoMeasurePluginModel,
434
- Be as PanoMeasurePluginPoint,
435
- $e as PanoMeasurePluginPolyline,
436
- me as PanoRulerPlugin,
437
- ee as PanoRulerProPlugin,
438
- fe as PanoSpatialTagPlugin,
439
- Ae as PanoTagPlugin,
440
- un as PanoTagPluginController,
441
- Fe as PanoVideoPlugin,
442
- _n as PanoVideoPluginType,
443
- dn as PointType,
444
- qp as ROOM_FETILE_TYPE_MAP,
445
- zp as ROOM_TYPE_MAP,
446
- te as Rotation,
447
- Hp as TopviewFloorplanPlugin,
448
- ve as Util,
449
- Ce as itemLabelPluginServerParams,
450
- ge as modelItemLabelPluginServerParams,
451
- Yp as modelRoomLabelPluginServerParams,
452
- fn as pluginFlag
396
+ Ne as CSS3DRender,
397
+ Dp as CSS3DRenderPlugin,
398
+ te as CameraMovementEffect,
399
+ oe as CameraMovementPlugin,
400
+ sn as ContentType,
401
+ Se as CruisePlugin,
402
+ ln as CruisePluginController,
403
+ Pn as CruisePluginTypes,
404
+ Le as DIRECTION,
405
+ Ke as DISPLAY_STRATEGY_TYPE,
406
+ dn as DimensionType,
407
+ Vp as FLOOR_PLAN_ATTACHED_TO,
408
+ qp as FLOOR_TYPE_MAP,
409
+ mn as GuideLineItem,
410
+ en as GuideLineModeItem,
411
+ Oe as GuideLinePlugin,
412
+ Ze as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
413
+ rn as ItemLabelPlugin,
414
+ ze as Magnifier,
415
+ Bp as MapviewFloorplanPlugin,
416
+ Qp as ModelChassisCompassPlugin,
417
+ Xp as ModelEntryDoorGuidePlugin,
418
+ hp as ModelFloorplanPlugin,
419
+ We as ModelItemLabelPlugin,
420
+ Yp as ModelRoomLabelPlugin,
421
+ Me as ModelTVVideoPlugin,
422
+ Sp as ModelViewPlugin,
423
+ Ln as Object3DHelperController,
424
+ be as Object3DHelperPlugin,
425
+ Cn as PLUGIN,
426
+ Rp as PaintBrush,
427
+ Op as PaintBrushTypeEnum,
428
+ ae as PanoCompassPlugin,
429
+ bp as PanoCursorRaycasterPlugin,
430
+ Re as PanoDoorLabelPlugin,
431
+ $p as PanoFloorplanRadarPlugin,
432
+ ue as PanoMeasurePlugin,
433
+ je as PanoMeasurePluginLine,
434
+ we as PanoMeasurePluginModel,
435
+ He as PanoMeasurePluginPoint,
436
+ ke as PanoMeasurePluginPolyline,
437
+ pe as PanoRulerPlugin,
438
+ ne as PanoRulerProPlugin,
439
+ xe as PanoSpatialTagPlugin,
440
+ De as PanoTagPlugin,
441
+ fn as PanoTagPluginController,
442
+ Ye as PanoVideoPlugin,
443
+ En as PanoVideoPluginType,
444
+ Mn as PointType,
445
+ zp as ROOM_FETILE_TYPE_MAP,
446
+ Jp as ROOM_TYPE_MAP,
447
+ ie as Rotation,
448
+ Up as TopviewFloorplanPlugin,
449
+ ce as Util,
450
+ _e as itemLabelPluginServerParams,
451
+ se as modelItemLabelPluginServerParams,
452
+ vp as modelRoomLabelPluginServerParams,
453
+ xn as pluginFlag
453
454
  };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv2.21.0-dev.7",
3
+ "%c %c@realsee/dnalogel %cv2.21.0-dev.9",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
@@ -2,21 +2,21 @@ var c = Object.defineProperty, u = Object.defineProperties;
2
2
  var v = Object.getOwnPropertyDescriptors;
3
3
  var l = Object.getOwnPropertySymbols;
4
4
  var S = Object.prototype.hasOwnProperty, P = Object.prototype.propertyIsEnumerable;
5
- var n = (s, e, t) => e in s ? c(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, o = (s, e) => {
5
+ var r = (s, e, t) => e in s ? c(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, o = (s, e) => {
6
6
  for (var t in e || (e = {}))
7
- S.call(e, t) && n(s, t, e[t]);
7
+ S.call(e, t) && r(s, t, e[t]);
8
8
  if (l)
9
9
  for (var t of l(e))
10
- P.call(e, t) && n(s, t, e[t]);
10
+ P.call(e, t) && r(s, t, e[t]);
11
11
  return s;
12
12
  }, m = (s, e) => u(s, v(e));
13
- var i = (s, e, t) => (n(s, typeof e != "symbol" ? e + "" : e, t), t);
13
+ var i = (s, e, t) => (r(s, typeof e != "symbol" ? e + "" : e, t), t);
14
14
  import { Subscribe as H } from "@realsee/five";
15
15
  import { PointSelectorHelper as w } from "./PointSelectorHelper.js";
16
16
  import { isTouchDevice as b } from "../isTouchDevice.js";
17
17
  import E from "hammerjs";
18
18
  import { getIntersectionFromEvent as d } from "../getIntersectionFromEvent.js";
19
- const r = () => !1;
19
+ const n = () => !1;
20
20
  class I {
21
21
  constructor(e, t) {
22
22
  i(this, "hook", new H());
@@ -98,14 +98,14 @@ class I {
98
98
  const e = this.five.getElement();
99
99
  if (!e)
100
100
  throw new Error("five element not found");
101
- this.hammer || (this.hammer = new E(e)), this.mode === "cursor" ? (this.five.on("intersectionOnModelUpdate", this.pointSelectorHelper.updateWithIntersect), this.five.on("wantsMoveToPano", r), this.five.on("wantsTapGesture", r), e.addEventListener("mousemove", this.pointSelectorHelper.updateByMousePosition), e.addEventListener("mouseenter", this.pointSelectorHelper.show), e.addEventListener("mouseout", this.pointSelectorHelper.hide), this.hammer.on("tap", this.onTap), this.hammer.on("pan", this.onPan), this.hammer.on("press", this.onPress), this.hammer.on("panend", this.onPanEnd)) : this.mode === "fixed" && (this.five.on("panGesture", this.renderScreenCenter), this.five.on("interiaPan", this.renderScreenCenter), this.renderScreenCenter()), this.pointSelectorHelper.hooks.on("intersectionUpdate", this.emitIntersectionUpdate);
101
+ this.hammer || (this.hammer = new E(e)), this.mode === "cursor" ? (this.five.on("intersectionOnModelUpdate", this.pointSelectorHelper.updateWithIntersect), this.five.on("wantsMoveToPano", n), this.five.on("wantsTapGesture", n), e.addEventListener("mousemove", this.pointSelectorHelper.updateByMousePosition), e.addEventListener("mouseenter", this.onEnter), e.addEventListener("mouseout", this.onLeave), this.hammer.on("tap", this.onTap), this.hammer.on("pan", this.onPan), this.hammer.on("press", this.onPress), this.hammer.on("panend", this.onPanEnd)) : this.mode === "fixed" && (this.five.on("panGesture", this.renderScreenCenter), this.five.on("interiaPan", this.renderScreenCenter), this.renderScreenCenter()), this.pointSelectorHelper.hooks.on("intersectionUpdate", this.emitIntersectionUpdate);
102
102
  }
103
103
  disable() {
104
104
  if (!this.enabled)
105
105
  return;
106
106
  this.enabled = !1, this.pointSelectorHelper.disable();
107
107
  const e = this.five.getElement();
108
- this.five.off("intersectionOnModelUpdate", this.pointSelectorHelper.updateWithIntersect), this.five.off("wantsMoveToPano", r), this.five.off("wantsTapGesture", r), e == null || e.removeEventListener("mousemove", this.pointSelectorHelper.updateByMousePosition), e == null || e.removeEventListener("mouseenter", this.onEnter), e == null || e.removeEventListener("mouseout", this.onLeave), this.hammer.off("tap", this.onTap), this.hammer.off("pan", this.onPan), this.hammer.off("press", this.onPress), this.hammer.off("panend", this.onPanEnd), this.five.off("panGesture", this.renderScreenCenter), this.five.off("interiaPan", this.renderScreenCenter), this.pointSelectorHelper.hooks.off("intersectionUpdate", this.emitIntersectionUpdate);
108
+ this.five.off("intersectionOnModelUpdate", this.pointSelectorHelper.updateWithIntersect), this.five.off("wantsMoveToPano", n), this.five.off("wantsTapGesture", n), e == null || e.removeEventListener("mousemove", this.pointSelectorHelper.updateByMousePosition), e == null || e.removeEventListener("mouseenter", this.onEnter), e == null || e.removeEventListener("mouseout", this.onLeave), this.hammer.off("tap", this.onTap), this.hammer.off("pan", this.onPan), this.hammer.off("press", this.onPress), this.hammer.off("panend", this.onPanEnd), this.five.off("panGesture", this.renderScreenCenter), this.five.off("interiaPan", this.renderScreenCenter), this.pointSelectorHelper.hooks.off("intersectionUpdate", this.emitIntersectionUpdate);
109
109
  }
110
110
  dispose() {
111
111
  this.disable(), this.pointSelectorHelper.dispose();
@@ -1,12 +1,12 @@
1
- var f = Object.defineProperty, u = Object.defineProperties;
1
+ var m = Object.defineProperty, u = Object.defineProperties;
2
2
  var g = Object.getOwnPropertyDescriptors;
3
- var m = Object.getOwnPropertySymbols;
3
+ var f = Object.getOwnPropertySymbols;
4
4
  var b = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
5
- var l = (t, i, e) => i in t ? f(t, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[i] = e, h = (t, i) => {
5
+ var l = (t, i, e) => i in t ? m(t, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[i] = e, h = (t, i) => {
6
6
  for (var e in i || (i = {}))
7
7
  b.call(i, e) && l(t, e, i[e]);
8
- if (m)
9
- for (var e of m(i))
8
+ if (f)
9
+ for (var e of f(i))
10
10
  v.call(i, e) && l(t, e, i[e]);
11
11
  return t;
12
12
  }, c = (t, i) => u(t, g(i));
@@ -28,10 +28,10 @@ class E {
28
28
  r(this, "state", { enabled: !1 });
29
29
  r(this, "group", new s.Group());
30
30
  r(this, "show", () => {
31
- this.pointHelper.visible = !0, this.pointDomHelper.enable(), this.magnifier.canvas && (this.magnifier.canvas.style.visibility = "visible");
31
+ this.pointHelper.visible = !0, this.pointDomHelper.enable(), this.magnifier.canvas && (this.magnifier.canvas.style.visibility = "visible"), this.five.needsRender = !0;
32
32
  });
33
33
  r(this, "hide", () => {
34
- this.pointHelper.visible = !1, this.pointDomHelper.disable(), this.magnifier.canvas && (this.magnifier.canvas.style.visibility = "hidden");
34
+ this.pointHelper.visible = !1, this.pointDomHelper.disable(), this.magnifier.canvas && (this.magnifier.canvas.style.visibility = "hidden"), this.five.needsRender = !0;
35
35
  });
36
36
  r(this, "updateWithIntersect", (i) => {
37
37
  var n;
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "2.21.0-dev.7",
10
+ "version": "2.21.0-dev.9",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
12
  "scripts": {
13
13
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",