@realsee/dnalogel 3.0.0-4 → 3.0.0-6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (346) hide show
  1. package/dist/index.cjs.js +26 -26
  2. package/dist/index.js +1422 -1425
  3. package/dist/index.umd.js +31 -31
  4. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
  5. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
  6. package/docs/classes/CSS3DRender.html +30 -30
  7. package/docs/classes/CruisePluginController.html +25 -25
  8. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  9. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  10. package/docs/classes/Magnifier.html +19 -19
  11. package/docs/classes/ModelRoomLabelController.html +10 -10
  12. package/docs/classes/Object3DHelperController.html +24 -24
  13. package/docs/classes/PaintBrush.html +14 -14
  14. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  15. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  16. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  17. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  18. package/docs/classes/PanoTagPluginController.html +44 -44
  19. package/docs/classes/Util.BetterTween.html +8 -8
  20. package/docs/classes/Util.Interval.html +11 -11
  21. package/docs/classes/Util.LineSegments.html +7 -7
  22. package/docs/classes/Util.Magnifier.html +19 -19
  23. package/docs/classes/Util.Object3D.html +7 -7
  24. package/docs/classes/Util.PointDomHelper.html +10 -10
  25. package/docs/classes/Util.PointHelper.html +10 -10
  26. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  27. package/docs/classes/Util.Rectangle.html +12 -12
  28. package/docs/enums/CameraMovementEffect.html +6 -6
  29. package/docs/enums/ContentType.html +19 -19
  30. package/docs/enums/DIRECTION.html +8 -8
  31. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  32. package/docs/enums/DimensionType.html +6 -6
  33. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  34. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  35. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  36. package/docs/enums/PointType.html +6 -6
  37. package/docs/enums/Rotation.html +7 -7
  38. package/docs/functions/AreaMakerPlugin.html +4 -4
  39. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  40. package/docs/functions/CameraMovementPlugin.html +3 -3
  41. package/docs/functions/CruisePlugin.html +3 -3
  42. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  43. package/docs/functions/GuideLinePlugin.html +4 -4
  44. package/docs/functions/ItemLabelPlugin.html +3 -3
  45. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  46. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  47. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  48. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  49. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  50. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  51. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  52. package/docs/functions/ModelViewPlugin.html +3 -3
  53. package/docs/functions/Object3DHelperPlugin.html +3 -3
  54. package/docs/functions/PanoCompassPlugin.html +3 -3
  55. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  56. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  57. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  58. package/docs/functions/PanoMeasurePlugin.html +3 -3
  59. package/docs/functions/PanoRulerPlugin.html +3 -3
  60. package/docs/functions/PanoRulerProPlugin.html +3 -3
  61. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  62. package/docs/functions/PanoTagPlugin.html +3 -3
  63. package/docs/functions/PanoVideoPlugin.html +3 -3
  64. package/docs/functions/PipelinePlugin.html +3 -3
  65. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  66. package/docs/functions/Util.absoluteUrl.html +4 -4
  67. package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
  68. package/docs/functions/Util.equal.html +4 -4
  69. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  70. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  71. package/docs/functions/Util.getFrameTime.html +4 -4
  72. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  73. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  74. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  75. package/docs/functions/Util.isModelLike.html +4 -4
  76. package/docs/functions/Util.isNil.html +4 -4
  77. package/docs/functions/Util.isPanoramaLike.html +4 -4
  78. package/docs/functions/Util.nextFrame.html +4 -4
  79. package/docs/functions/Util.notNil.html +4 -4
  80. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  81. package/docs/functions/Util.tweenProgress.html +4 -4
  82. package/docs/functions/Util.uuid.html +4 -4
  83. package/docs/functions/pluginFlag.html +4 -4
  84. package/docs/index.html +4 -4
  85. package/docs/interfaces/AddTagConfig.html +5 -5
  86. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
  87. package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
  88. package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
  89. package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
  90. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
  91. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
  92. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
  93. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
  94. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
  95. package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
  96. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  97. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  98. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  99. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  100. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  101. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  102. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  103. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  104. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  105. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  106. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
  107. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  108. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
  109. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
  110. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
  111. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
  112. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
  113. package/docs/interfaces/EventMap.html +14 -14
  114. package/docs/interfaces/FloorplanBounding.html +7 -7
  115. package/docs/interfaces/FloorplanData.html +9 -9
  116. package/docs/interfaces/FloorplanEntrance.html +10 -10
  117. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  118. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  119. package/docs/interfaces/FloorplanFloorData.html +8 -8
  120. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  121. package/docs/interfaces/FloorplanObserver.html +8 -8
  122. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  123. package/docs/interfaces/FloorplanPosition.html +6 -6
  124. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  125. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  126. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  127. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  128. package/docs/interfaces/FloorplanServerData.html +6 -6
  129. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  130. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  131. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  132. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  133. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  134. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  135. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  136. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  137. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  138. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  139. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  140. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  141. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  142. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  143. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  144. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  145. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  146. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  147. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  148. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  149. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  150. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
  151. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  152. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  153. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  154. package/docs/interfaces/HelperOffset.html +7 -7
  155. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  156. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  157. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  158. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  159. package/docs/interfaces/MinMax.html +6 -6
  160. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  161. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  162. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  163. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  164. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  165. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  166. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  167. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  168. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  169. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  170. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  171. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  172. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  173. package/docs/interfaces/Object3DHelperState.html +7 -7
  174. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  175. package/docs/interfaces/PaintBrushAction.html +11 -11
  176. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  177. package/docs/interfaces/PaintBrushState.html +9 -9
  178. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  179. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  180. package/docs/interfaces/PanoMeasureParameterType.html +15 -15
  181. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  182. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  183. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  184. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  185. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  186. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  187. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  188. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  189. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  190. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  191. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  192. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  193. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  194. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  195. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  196. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  197. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  198. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  199. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  200. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  201. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  202. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  203. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  204. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  205. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  206. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  207. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  208. package/docs/interfaces/Point.html +7 -7
  209. package/docs/interfaces/Room.html +8 -8
  210. package/docs/interfaces/RoomInfo.html +6 -6
  211. package/docs/interfaces/RoomLabel.html +13 -13
  212. package/docs/interfaces/RoomRules.html +4 -4
  213. package/docs/interfaces/Rooms.html +4 -4
  214. package/docs/interfaces/Scissor.html +8 -8
  215. package/docs/interfaces/State.html +7 -7
  216. package/docs/interfaces/TagCacheInterface.html +11 -11
  217. package/docs/interfaces/TagConfig.html +13 -13
  218. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  219. package/docs/interfaces/TagIconUrl.html +11 -11
  220. package/docs/interfaces/TagObjectGroup.html +5 -5
  221. package/docs/interfaces/TagStyle.html +5 -5
  222. package/docs/interfaces/Tags.html +8 -8
  223. package/docs/interfaces/TemporaryState.html +5 -5
  224. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  225. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  226. package/docs/interfaces/Util.PointIntersection.html +7 -7
  227. package/docs/modules/AreaMakerPluginType.html +4 -4
  228. package/docs/modules/CruisePluginTypes.html +4 -4
  229. package/docs/modules/CurrentPanoImagePluginType.html +4 -4
  230. package/docs/modules/GuideLineItem.html +4 -4
  231. package/docs/modules/GuideLineModeItem.html +4 -4
  232. package/docs/modules/GuideLinePluginType.html +4 -4
  233. package/docs/modules/PanoVideoPluginType.html +4 -4
  234. package/docs/modules/Util.html +4 -4
  235. package/docs/modules.html +4 -4
  236. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
  237. package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
  238. package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
  239. package/docs/types/ArrayPosition.html +4 -4
  240. package/docs/types/AudioAppearance.html +4 -4
  241. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  242. package/docs/types/CSS3DRenderExportType.html +4 -4
  243. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  244. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  245. package/docs/types/ClassFunctionParameters.html +4 -4
  246. package/docs/types/Color.html +4 -4
  247. package/docs/types/ContentTypeConfigKey.html +4 -4
  248. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  249. package/docs/types/ContentTypeMap.html +4 -4
  250. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  251. package/docs/types/Create3DElementReturnType.html +4 -4
  252. package/docs/types/CruisePluginExportType.html +4 -4
  253. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  254. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  255. package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
  256. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  257. package/docs/types/DeprecatedTagProperty.html +4 -4
  258. package/docs/types/Direction-1.html +4 -4
  259. package/docs/types/Direction4.html +4 -4
  260. package/docs/types/ElementRenderer.html +4 -4
  261. package/docs/types/FloorplanRuleLabels.html +4 -4
  262. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  263. package/docs/types/GuideLinePluginExportType.html +4 -4
  264. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  265. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  266. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  267. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  268. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  269. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  270. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  271. package/docs/types/HelperEventMap.html +4 -4
  272. package/docs/types/LoadTagConfig.html +4 -4
  273. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  274. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  275. package/docs/types/MediaData.html +4 -4
  276. package/docs/types/MediaStore.html +4 -4
  277. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  278. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  279. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  280. package/docs/types/ModelId.html +4 -4
  281. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  282. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  283. package/docs/types/MoveArgs.html +4 -4
  284. package/docs/types/MoveOpts.html +4 -4
  285. package/docs/types/Object3DHelperEventMap.html +4 -4
  286. package/docs/types/ObjectFit.html +4 -4
  287. package/docs/types/PaintBrushEventMap.html +4 -4
  288. package/docs/types/PanoCompassPluginData.html +4 -4
  289. package/docs/types/PanoCompassPluginExportType.html +4 -4
  290. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  291. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  292. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  293. package/docs/types/PanoIndex.html +4 -4
  294. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  295. package/docs/types/PanoMeasureReturnType.html +4 -4
  296. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  297. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  298. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  299. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  300. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  301. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  302. package/docs/types/PipelinePluginParameterType.html +4 -4
  303. package/docs/types/PipelinePluginReturnType.html +4 -4
  304. package/docs/types/PlaneTag.html +4 -4
  305. package/docs/types/Point2DTag.html +4 -4
  306. package/docs/types/Point3DTag.html +4 -4
  307. package/docs/types/PointTag.html +4 -4
  308. package/docs/types/PointTagInstance.html +4 -4
  309. package/docs/types/Position.html +4 -4
  310. package/docs/types/RotateArgs.html +4 -4
  311. package/docs/types/RotateOpts.html +4 -4
  312. package/docs/types/RuleLabelsKey.html +4 -4
  313. package/docs/types/RuleLabelsValue.html +4 -4
  314. package/docs/types/StickType.html +4 -4
  315. package/docs/types/Tag.html +4 -4
  316. package/docs/types/Tag2D.html +4 -4
  317. package/docs/types/Tag3D.html +4 -4
  318. package/docs/types/TagConfigByKey.html +4 -4
  319. package/docs/types/TagContentType.html +4 -4
  320. package/docs/types/TagDimensionType.html +4 -4
  321. package/docs/types/TagElement.html +4 -4
  322. package/docs/types/TagEvents.html +4 -4
  323. package/docs/types/TagGLTFObject.html +4 -4
  324. package/docs/types/TagHooks.html +4 -4
  325. package/docs/types/TagId.html +4 -4
  326. package/docs/types/TagInstance.html +4 -4
  327. package/docs/types/TagPointType.html +4 -4
  328. package/docs/types/TagRendererMap.html +4 -4
  329. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  330. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  331. package/docs/types/WorkCode.html +4 -4
  332. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  333. package/docs/variables/PLUGIN.html +4 -4
  334. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  335. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  336. package/docs/variables/defaultGlobalConfig.html +4 -4
  337. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  338. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  339. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  340. package/libs/CruisePlugin/Controller.js +129 -127
  341. package/libs/PanoTagPlugin/controller/TagUtil.js +93 -98
  342. package/libs/PanoTagPlugin/controller/index.js +3 -3
  343. package/libs/base/BasePlugin.js +1 -1
  344. package/libs/shared-utils/five/FiveDomEvents.js +30 -31
  345. package/libs/shared-utils/logger.js +1 -1
  346. package/package.json +1 -1
@@ -2,7 +2,7 @@ var T = Object.defineProperty, K = Object.defineProperties;
2
2
  var A = Object.getOwnPropertyDescriptors;
3
3
  var F = Object.getOwnPropertySymbols;
4
4
  var O = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
5
- var L = (c, l, e) => l in c ? T(c, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[l] = e, g = (c, l) => {
5
+ var L = (c, l, e) => l in c ? T(c, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[l] = e, P = (c, l) => {
6
6
  for (var e in l || (l = {}))
7
7
  O.call(l, e) && L(c, e, l[e]);
8
8
  if (F)
@@ -11,20 +11,20 @@ var L = (c, l, e) => l in c ? T(c, l, { enumerable: !0, configurable: !0, writab
11
11
  return c;
12
12
  }, C = (c, l) => K(c, A(l));
13
13
  var I = (c, l, e) => (L(c, typeof l != "symbol" ? l + "" : l, e), e);
14
- var v = (c, l, e) => new Promise((t, i) => {
15
- var r = (d) => {
14
+ var v = (c, l, e) => new Promise((t, r) => {
15
+ var i = (d) => {
16
16
  try {
17
17
  s(e.next(d));
18
18
  } catch (a) {
19
- i(a);
19
+ r(a);
20
20
  }
21
21
  }, n = (d) => {
22
22
  try {
23
23
  s(e.throw(d));
24
24
  } catch (a) {
25
- i(a);
25
+ r(a);
26
26
  }
27
- }, s = (d) => d.done ? t(d.value) : Promise.resolve(d.value).then(r, n);
27
+ }, s = (d) => d.done ? t(d.value) : Promise.resolve(d.value).then(i, n);
28
28
  s((e = e.apply(c, l)).next());
29
29
  });
30
30
  import { Controller as V } from "../base/BasePluginWithData.js";
@@ -233,40 +233,40 @@ class z extends V {
233
233
  });
234
234
  I(this, "GuideLine");
235
235
  this.config = t, Object.assign(window, { [`__${G}_DEBUG__`]: this });
236
- const i = this.setFiveLinearUpdateCamera.bind(this), r = this.setFiveOriginUpdateCamera.bind(this);
237
- this.hooks.on("play", i), this.hooks.on("broke", r), this.hooks.on("end", r), this.hooks.on("pause", r), this.privateState.disposers.push(() => {
238
- this.hooks.off("play", i), this.hooks.off("broke", r), this.hooks.off("end", r), this.hooks.off("pause", r);
236
+ const r = this.setFiveLinearUpdateCamera.bind(this), i = this.setFiveOriginUpdateCamera.bind(this);
237
+ this.hooks.on("play", r), this.hooks.on("broke", i), this.hooks.on("end", i), this.hooks.on("pause", i), this.privateState.disposers.push(() => {
238
+ this.hooks.off("play", r), this.hooks.off("broke", i), this.hooks.off("end", i), this.hooks.off("pause", i);
239
239
  });
240
240
  }
241
241
  /**
242
242
  * @description Load Data and State
243
243
  */
244
- load(e, t, i) {
244
+ load(e, t, r) {
245
245
  return v(this, null, function* () {
246
- var o, m, f, u, h, P;
246
+ var o, m, p, u, h, g;
247
247
  if (this.state.disposed)
248
248
  return D();
249
- this.privateState.fiveOriginGetProgress || (m = (o = this.five.controller) == null ? void 0 : o.cameraMotion) != null && m.getProgress || (yield this.waitFiveLoaded(), this.privateState.fiveOriginGetProgress = (u = (f = this.five.controller) == null ? void 0 : f.cameraMotion) == null ? void 0 : u.getProgress), this.clear();
250
- const r = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, n = yield this.formatData(e);
251
- this.data = n, this.hooks.emit("dataChange", n, r);
249
+ this.privateState.fiveOriginGetProgress || (m = (o = this.five.controller) == null ? void 0 : o.cameraMotion) != null && m.getProgress || (yield this.waitFiveLoaded(), this.privateState.fiveOriginGetProgress = (u = (p = this.five.controller) == null ? void 0 : p.cameraMotion) == null ? void 0 : u.getProgress), this.clear();
250
+ const i = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, n = yield this.formatData(e);
251
+ this.data = n, this.hooks.emit("dataChange", n, i);
252
252
  let s = [], d;
253
- const a = this.data.keyframes.filter((p) => p.data.panoIndex !== void 0);
254
- a.filter((p, y) => {
253
+ const a = this.data.keyframes.filter((f) => f.data.panoIndex !== void 0);
254
+ a.filter((f, y) => {
255
255
  var S;
256
- return p.data.panoIndex !== ((S = a[y - 1]) == null ? void 0 : S.data.panoIndex);
257
- }).map((p) => p.data.panoIndex).forEach((p) => {
256
+ return f.data.panoIndex !== ((S = a[y - 1]) == null ? void 0 : S.data.panoIndex);
257
+ }).map((f) => f.data.panoIndex).forEach((f) => {
258
258
  var S, k;
259
- const y = (S = this.five.work.observers[p]) == null ? void 0 : S.floorIndex;
259
+ const y = (S = this.five.work.observers[f]) == null ? void 0 : S.floorIndex;
260
260
  if (y !== void 0)
261
261
  if (d === y) {
262
262
  const b = s.length - 1;
263
- s[b] = [...(k = s[b]) != null ? k : [], p];
263
+ s[b] = [...(k = s[b]) != null ? k : [], f];
264
264
  } else {
265
265
  d = y;
266
266
  const b = s.length;
267
- s[b] = [p];
267
+ s[b] = [f];
268
268
  }
269
- }), !this.GuideLine && ((h = this.config) == null ? void 0 : h.useGuideLine) !== !1 && n.useGuildLine !== !1 && (this.GuideLine = $(this.five, this.config)), (P = this.GuideLine) == null || P.load({ routes: s.map((p) => ({ panoIndexList: p })), config: n.guildPluginOptions }), t ? this.setState(t, { userAction: i }) : (this.setState({ playing: !1 }, { userAction: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing, { userAction: !1 }), this.changeSpeed(this.state.speed)), this.clearPauseData(), console.debug(`${x} loaded`, n), this.hooks.emit("dataLoaded", n);
269
+ }), !this.GuideLine && ((h = this.config) == null ? void 0 : h.useGuideLine) !== !1 && n.useGuildLine !== !1 && (this.GuideLine = $(this.five, this.config)), (g = this.GuideLine) == null || g.load({ routes: s.map((f) => ({ panoIndexList: f })), config: n.guildPluginOptions }), t ? this.setState(t, { userAction: r }) : (this.setState({ playing: !1 }, { userAction: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing, { userAction: !1 }), this.changeSpeed(this.state.speed)), this.clearPauseData(), console.debug(`${x} loaded`, n), this.hooks.emit("dataLoaded", n);
270
270
  });
271
271
  }
272
272
  /**
@@ -281,14 +281,14 @@ class z extends V {
281
281
  * @param {string} options.id play from keyframes id
282
282
  */
283
283
  playFrom(e) {
284
- const { index: t, id: i, userAction: r } = e;
285
- this.state.playing && this.setState({ playing: !1 }, { userAction: r }), this.setState({ playing: !0 }, { userAction: r, playFromIndex: t, playFromId: i });
284
+ const { index: t, id: r, userAction: i } = e;
285
+ this.state.playing && this.setState({ playing: !1 }, { userAction: i }), this.setState({ playing: !0 }, { userAction: i, playFromIndex: t, playFromId: r });
286
286
  }
287
287
  /**
288
288
  * @description Play from first keyframe
289
289
  */
290
290
  playFromStart(e) {
291
- return this.playFrom(C(g({}, e), { index: 0 }));
291
+ return this.playFrom(C(P({}, e), { index: 0 }));
292
292
  }
293
293
  /**
294
294
  * @description Pause
@@ -334,13 +334,13 @@ class z extends V {
334
334
  * @description Set state
335
335
  */
336
336
  setState(e, t) {
337
- var r;
337
+ var i;
338
338
  if (this.state.disposed)
339
339
  return D();
340
340
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
341
341
  return q();
342
- const i = g({}, this.state);
343
- this.state = g(g({}, this.state), e), e.disposed !== void 0 && e.disposed !== i.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== i.visible && this.handleVisible(e.visible, t == null ? void 0 : t.userAction), e.enabled !== void 0 && e.enabled !== i.enabled && this.handleEnable(e.enabled, t == null ? void 0 : t.userAction), e.playing !== void 0 && e.playing !== i.playing && this.changePlayState(e.playing, t), e.speed !== void 0 && e.speed !== i.speed && this.changeSpeed(e.speed, t == null ? void 0 : t.userAction), R(i, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: (r = t == null ? void 0 : t.userAction) != null ? r : !0 });
342
+ const r = P({}, this.state);
343
+ this.state = P(P({}, this.state), e), e.disposed !== void 0 && e.disposed !== r.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== r.visible && this.handleVisible(e.visible, t == null ? void 0 : t.userAction), e.enabled !== void 0 && e.enabled !== r.enabled && this.handleEnable(e.enabled, t == null ? void 0 : t.userAction), e.playing !== void 0 && e.playing !== r.playing && this.changePlayState(e.playing, t), e.speed !== void 0 && e.speed !== r.speed && this.changeSpeed(e.speed, t == null ? void 0 : t.userAction), R(r, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: r, userAction: (i = t == null ? void 0 : t.userAction) != null ? i : !0 });
344
344
  }
345
345
  /**
346
346
  * @description Format data
@@ -348,62 +348,62 @@ class z extends V {
348
348
  formatData(e) {
349
349
  return v(this, null, function* () {
350
350
  this.five.work || (yield this.waitFiveLoaded());
351
- const t = this.five.work.observers, i = (() => {
352
- const r = e;
353
- return typeof r == "object" && r !== null && r.version && r.data ? r.data : r;
351
+ const t = this.five.work.observers, r = (() => {
352
+ const i = e;
353
+ return typeof i == "object" && i !== null && i.version && i.data ? i.data : i;
354
354
  })();
355
- if (i.keyframes)
355
+ if (r.keyframes)
356
356
  return {
357
357
  keyframesId: w(),
358
- keyframes: i.keyframes.map((r, n) => {
358
+ keyframes: r.keyframes.map((i, n) => {
359
359
  var a;
360
- const s = i.keyframes[n + 1], d = (() => !s || s.start === void 0 || r.end === void 0 ? 0 : s.start - r.end)();
361
- return C(g({ id: (a = r.uuid) != null ? a : w(), moveIndex: n, stay: d, index: n }, r), { guildPluginOptions: i.guildPluginOptions });
360
+ const s = r.keyframes[n + 1], d = (() => !s || s.start === void 0 || i.end === void 0 ? 0 : s.start - i.end)();
361
+ return C(P({ id: (a = i.uuid) != null ? a : w(), moveIndex: n, stay: d, index: n }, i), { guildPluginOptions: r.guildPluginOptions });
362
362
  })
363
363
  };
364
- if (i.panoIndexList) {
365
- let r = [];
366
- const { moveEffect: n, moveToFirstPanoEffect: s, moveToFirstPanoDuration: d } = i;
367
- return this.privateState.moveToFirstPanoEffect = s, this.privateState.moveToFirstPanoDuration = d, i.panoIndexList.forEach((a, o) => {
364
+ if (r.panoIndexList) {
365
+ let i = [];
366
+ const { moveEffect: n, moveToFirstPanoEffect: s, moveToFirstPanoDuration: d } = r;
367
+ return this.privateState.moveToFirstPanoEffect = s, this.privateState.moveToFirstPanoDuration = d, r.panoIndexList.forEach((a, o) => {
368
368
  const m = (() => {
369
- var p, y, S, k;
370
- const f = i.panoIndexList.slice(o).find((b) => b !== a);
371
- if (f === void 0)
369
+ var f, y, S, k;
370
+ const p = r.panoIndexList.slice(o).find((b) => b !== a);
371
+ if (p === void 0)
372
372
  return;
373
- const u = (p = t[a]) == null ? void 0 : p.position, h = (y = t[f]) == null ? void 0 : y.position;
374
- if (!h || !u || ((S = t[a]) == null ? void 0 : S.floorIndex) !== ((k = t[f]) == null ? void 0 : k.floorIndex))
373
+ const u = (f = t[a]) == null ? void 0 : f.position, h = (y = t[p]) == null ? void 0 : y.position;
374
+ if (!h || !u || ((S = t[a]) == null ? void 0 : S.floorIndex) !== ((k = t[p]) == null ? void 0 : k.floorIndex))
375
375
  return;
376
- const P = new j.Vector3().subVectors(h, u);
377
- return N(P.normalize());
376
+ const g = new j.Vector3().subVectors(h, u);
377
+ return N(g.normalize());
378
378
  })();
379
- i.moveType === void 0 || i.moveType === "justMove" ? r.push({
379
+ r.moveType === void 0 || r.moveType === "justMove" ? i.push({
380
380
  moveIndex: o,
381
- stay: i.stay,
382
- data: g({ effect: "Move", panoIndex: a, moveEffect: n }, m != null ? m : {})
383
- }) : i.moveType === "moveAndRotate" && (r.push({ moveIndex: o, stay: i.stay, data: { effect: "Move", panoIndex: a, moveEffect: n } }), m && r.push({ moveIndex: o, stay: i.stay, data: g({ effect: "Rotate", panoIndex: a }, m) }));
381
+ stay: r.stay,
382
+ data: P({ effect: "Move", panoIndex: a, moveEffect: n }, m != null ? m : {})
383
+ }) : r.moveType === "moveAndRotate" && (i.push({ moveIndex: o, stay: r.stay, data: { effect: "Move", panoIndex: a, moveEffect: n } }), m && i.push({ moveIndex: o, stay: r.stay, data: P({ effect: "Rotate", panoIndex: a }, m) }));
384
384
  }), {
385
385
  keyframesId: w(),
386
- keyframes: r.map((a, o) => g({ id: w(), index: o }, a)),
387
- guildPluginOptions: i.guildPluginOptions,
388
- useGuildLine: i.useGuildLine
386
+ keyframes: i.map((a, o) => P({ id: w(), index: o }, a)),
387
+ guildPluginOptions: r.guildPluginOptions,
388
+ useGuildLine: r.useGuildLine
389
389
  };
390
390
  } else
391
391
  throw new Error("format error: data no keyframes or no panoIndexList");
392
392
  });
393
393
  }
394
394
  handleEnable(e, t = !0) {
395
- var i, r;
396
- e ? ((i = this.GuideLine) == null || i.enable(), this.hooks.emit("enable", { userAction: t })) : ((r = this.GuideLine) == null || r.disable(), this.changePlayState(!1, { userAction: t }), this.hooks.emit("disable", { userAction: t })), this.state.enabled = e;
395
+ var r, i;
396
+ e ? ((r = this.GuideLine) == null || r.enable(), this.hooks.emit("enable", { userAction: t })) : ((i = this.GuideLine) == null || i.disable(), this.changePlayState(!1, { userAction: t }), this.hooks.emit("disable", { userAction: t })), this.state.enabled = e;
397
397
  }
398
398
  handleVisible(e, t = !0) {
399
- var i, r;
400
- e ? ((i = this.GuideLine) == null || i.show(), this.actionIfStateIsEnabled(() => this.hooks.emit("show", { userAction: t }))) : ((r = this.GuideLine) == null || r.hide(), this.actionIfStateIsEnabled(() => this.hooks.emit("hide", { userAction: t }))), this.state.visible = e;
399
+ var r, i;
400
+ e ? ((r = this.GuideLine) == null || r.show(), this.actionIfStateIsEnabled(() => this.hooks.emit("show", { userAction: t }))) : ((i = this.GuideLine) == null || i.hide(), this.actionIfStateIsEnabled(() => this.hooks.emit("hide", { userAction: t }))), this.state.visible = e;
401
401
  }
402
402
  changePlayState(e, t) {
403
403
  this.actionIfStateIsEnabled(
404
404
  () => {
405
- var i;
406
- return this.hooks.emit("playStateChange", e ? "playing" : "pause", { userAction: (i = t == null ? void 0 : t.userAction) != null ? i : !0 });
405
+ var r;
406
+ return this.hooks.emit("playStateChange", e ? "playing" : "pause", { userAction: (r = t == null ? void 0 : t.userAction) != null ? r : !0 });
407
407
  }
408
408
  ), e ? this.handlePlay(t) : this.handlePause(t), this.state.playing = e;
409
409
  }
@@ -416,50 +416,50 @@ class z extends V {
416
416
  handlePlay(e) {
417
417
  return v(this, null, function* () {
418
418
  var u;
419
- const { data: t, state: i, privateState: r, hooks: n } = this;
420
- if (r.playing || !(t != null && t.keyframes) || (t == null ? void 0 : t.keyframes.length) === 0)
419
+ const { data: t, state: r, privateState: i, hooks: n } = this;
420
+ if (i.playing || !(t != null && t.keyframes) || (t == null ? void 0 : t.keyframes.length) === 0)
421
421
  return;
422
422
  const s = w();
423
- r.playId = s, r.playing = !0, r.broke = !1;
423
+ i.playId = s, i.playing = !0, i.broke = !1;
424
424
  const d = t.keyframes, a = this.getPauseData();
425
425
  (e == null ? void 0 : e.notEmitEvent) !== !0 && n.emit("play", { userAction: (u = e == null ? void 0 : e.userAction) != null ? u : !0 });
426
426
  let o = !1;
427
- const f = yield (() => v(this, null, function* () {
428
- var h, P;
427
+ const p = yield (() => v(this, null, function* () {
428
+ var h, g;
429
429
  if ((e == null ? void 0 : e.playFromIndex) !== void 0)
430
430
  return e.playFromIndex;
431
431
  if ((e == null ? void 0 : e.playFromId) !== void 0)
432
- return (h = this.data) == null ? void 0 : h.keyframes.findIndex((p) => p.id === e.playFromId);
432
+ return (h = this.data) == null ? void 0 : h.keyframes.findIndex((f) => f.id === e.playFromId);
433
433
  if (a != null && a.keyframeId) {
434
- const p = (P = this.data) == null ? void 0 : P.keyframes.find((y) => y.id === a.keyframeId);
434
+ const f = (g = this.data) == null ? void 0 : g.keyframes.find((y) => y.id === a.keyframeId);
435
435
  if (a != null && a.fiveState && (yield this.move(a.fiveState, {
436
- moveEffect: r.moveToFirstPanoEffect,
437
- duration: r.moveToFirstPanoDuration
438
- })), p) {
439
- if (p.data.effect === "Move")
440
- return p.index;
441
- if (p.data.effect === "Rotate") {
436
+ moveEffect: i.moveToFirstPanoEffect,
437
+ duration: i.moveToFirstPanoDuration
438
+ })), f) {
439
+ if (f.data.effect === "Move")
440
+ return f.index;
441
+ if (f.data.effect === "Rotate") {
442
442
  const y = a.duration !== void 0 ? a.duration * (1 - a.playedProgress) : void 0;
443
- return yield this.playKeyframe(p, { duration: y }), o = !0, p.index + 1;
443
+ return yield this.playKeyframe(f, { duration: y }), o = !0, f.index + 1;
444
444
  }
445
445
  }
446
446
  }
447
447
  }))();
448
448
  this.clearPauseData();
449
449
  for (const h of d) {
450
- if (r.broke || !i.playing || !r.playing || s !== r.playId)
450
+ if (i.broke || !r.playing || !i.playing || s !== i.playId)
451
451
  return;
452
- if (!(f !== void 0 && h.index < f))
452
+ if (!(p !== void 0 && h.index < p))
453
453
  try {
454
454
  n.emit("playIndexChange", h.index, h), yield this.playKeyframe(h, {
455
- moveEffect: o === !1 ? r.moveToFirstPanoEffect : void 0,
456
- duration: o === !1 && typeof r.moveToFirstPanoDuration == "number" ? r.moveToFirstPanoDuration : void 0
455
+ moveEffect: o === !1 ? i.moveToFirstPanoEffect : void 0,
456
+ duration: o === !1 && typeof i.moveToFirstPanoDuration == "number" ? i.moveToFirstPanoDuration : void 0
457
457
  }), h.stay && (yield J(h.stay)), o === !1 && (o = !0);
458
- } catch (P) {
459
- return Promise.resolve("broke");
458
+ } catch (g) {
459
+ return console.error(g), Promise.resolve("broke");
460
460
  }
461
461
  }
462
- i.playing && s === r.playId && (this.setState({ playing: !1 }, { userAction: !1 }), n.emit("end"), this.clearPauseData());
462
+ r.playing && s === i.playId && (this.setState({ playing: !1 }, { userAction: !1 }), n.emit("end"), this.clearPauseData());
463
463
  });
464
464
  }
465
465
  /**
@@ -467,17 +467,17 @@ class z extends V {
467
467
  */
468
468
  handlePause(e) {
469
469
  var n;
470
- const { state: t, privateState: i, hooks: r } = this;
471
- t.playing = !1, i.playing !== !1 && (i.playing = !1, (e == null ? void 0 : e.userAction) !== !1 && this.setPauseData(), i.broke || this.forceInteruptUpdateCamera(), (e == null ? void 0 : e.notEmitEvent) !== !0 && r.emit("pause", { userAction: (n = e == null ? void 0 : e.userAction) != null ? n : !0 }));
470
+ const { state: t, privateState: r, hooks: i } = this;
471
+ t.playing = !1, r.playing !== !1 && (r.playing = !1, (e == null ? void 0 : e.userAction) !== !1 && this.setPauseData(), r.broke || this.forceInteruptUpdateCamera(), (e == null ? void 0 : e.notEmitEvent) !== !0 && i.emit("pause", { userAction: (n = e == null ? void 0 : e.userAction) != null ? n : !0 }));
472
472
  }
473
473
  /**
474
474
  * @description Play single keyframe
475
475
  */
476
476
  playKeyframe(e, t) {
477
477
  return v(this, null, function* () {
478
- var r;
479
- const { privateState: i } = this;
480
- return ((r = this.privateState.currentPlayKeyframe) == null ? void 0 : r.keyframe.id) !== e.id && (this.privateState.currentPlayKeyframe = { keyframe: e }), i.currentPlayQueue.push(this.getPlayPromise(e, t)), this.actionPromiseQueue();
478
+ var i;
479
+ const { privateState: r } = this;
480
+ return ((i = this.privateState.currentPlayKeyframe) == null ? void 0 : i.keyframe.id) !== e.id && (this.privateState.currentPlayKeyframe = { keyframe: e }), r.currentPlayQueue.push(this.getPlayPromise(e, t)), this.actionPromiseQueue();
481
481
  });
482
482
  }
483
483
  /**
@@ -486,19 +486,21 @@ class z extends V {
486
486
  addInterruptListener(e) {
487
487
  const t = () => {
488
488
  this.privateState.modeChanging || e();
489
- }, i = e;
490
- return this.five.once("gesture", i), this.five.once("wantsChangeMode", t), () => {
491
- this.five.off("gesture", i), this.five.once("wantsChangeMode", t);
489
+ }, r = (i) => {
490
+ i !== "mouseMove" && e();
491
+ };
492
+ return this.five.once("gesture", r), this.five.once("wantsChangeMode", t), () => {
493
+ this.five.off("gesture", r), this.five.once("wantsChangeMode", t);
492
494
  };
493
495
  }
494
496
  /**
495
497
  * @description: getPlayPromise
496
498
  */
497
- getPlayPromise(i) {
499
+ getPlayPromise(r) {
498
500
  return v(this, arguments, function* (e, t = {}) {
499
501
  var n;
500
- const r = e.data;
501
- if (t.duration = (n = t.duration) != null ? n : e.start !== void 0 && e.end !== void 0 ? e.end - e.start : void 0, !!r)
502
+ const i = e.data;
503
+ if (t.duration = (n = t.duration) != null ? n : e.start !== void 0 && e.end !== void 0 ? e.end - e.start : void 0, !!i)
502
504
  return new Promise((s, d) => {
503
505
  let a = !1;
504
506
  this.addInterruptListener(() => {
@@ -511,15 +513,15 @@ class z extends V {
511
513
  const o = () => {
512
514
  s(), a = !0;
513
515
  };
514
- switch (r.effect) {
516
+ switch (i.effect) {
515
517
  case "Move":
516
- this.move(r, t).then(o);
518
+ this.move(i, t).then(o);
517
519
  break;
518
520
  case "Rotate":
519
- this.rotate(r, t).then(o);
521
+ this.rotate(i, t).then(o);
520
522
  break;
521
523
  default:
522
- this.rotate(r, t).then(o);
524
+ this.rotate(i, t).then(o);
523
525
  }
524
526
  } catch (o) {
525
527
  }
@@ -532,17 +534,17 @@ class z extends V {
532
534
  actionPromiseQueue() {
533
535
  return v(this, null, function* () {
534
536
  const { privateState: e } = this;
535
- return new Promise((t, i) => {
537
+ return new Promise((t, r) => {
536
538
  if (e.currentPlayQueue.length === 0) {
537
539
  t();
538
540
  return;
539
541
  }
540
- const r = e.currentPlayQueue.shift();
541
- if (!r) {
542
+ const i = e.currentPlayQueue.shift();
543
+ if (!i) {
542
544
  t();
543
545
  return;
544
546
  }
545
- r.then(t, i);
547
+ i.then(t, r);
546
548
  }).then(() => e.currentPlayQueue.length === 0 ? Promise.resolve() : this.actionPromiseQueue());
547
549
  });
548
550
  }
@@ -574,15 +576,15 @@ class z extends V {
574
576
  /**
575
577
  * @description Update five camera
576
578
  */
577
- updateCamera(i) {
579
+ updateCamera(r) {
578
580
  return v(this, arguments, function* (e, t = {}) {
579
- const { five: r, privateState: n, state: s } = this, d = (() => {
581
+ const { five: i, privateState: n, state: s } = this, d = (() => {
580
582
  var u, h;
581
- const m = (u = s.config) == null ? void 0 : u.speedConfig, f = (h = e.rotateSpeed) != null ? h : m == null ? void 0 : m.rotateSpeed;
583
+ const m = (u = s.config) == null ? void 0 : u.speedConfig, p = (h = e.rotateSpeed) != null ? h : m == null ? void 0 : m.rotateSpeed;
582
584
  if ((m == null ? void 0 : m.rotateSpeedUnit) === void 0)
583
- return f;
584
- if (f !== void 0)
585
- return m.rotateSpeedUnit === "rad/ms" ? f : f / 1e3;
585
+ return p;
586
+ if (p !== void 0)
587
+ return m.rotateSpeedUnit === "rad/ms" ? p : p / 1e3;
586
588
  })(), a = (() => {
587
589
  if (t.duration)
588
590
  return t.duration;
@@ -595,7 +597,7 @@ class z extends V {
595
597
  n.currentPlayKeyframe && (n.currentPlayKeyframe.originDuration = a);
596
598
  const o = this.getSpeededDuration(a);
597
599
  return new Promise((m) => {
598
- _(() => r.updateCamera(e, o)), setTimeout(() => m(), o);
600
+ _(() => i.updateCamera(e, o)), setTimeout(() => m(), o);
599
601
  });
600
602
  });
601
603
  }
@@ -604,14 +606,14 @@ class z extends V {
604
606
  */
605
607
  changePano(e, t) {
606
608
  return v(this, null, function* () {
607
- const { five: i, privateState: r, state: n } = this;
608
- if (typeof e.panoIndex != "number" || e.panoIndex === i.panoIndex)
609
+ const { five: r, privateState: i, state: n } = this;
610
+ if (typeof e.panoIndex != "number" || e.panoIndex === r.panoIndex)
609
611
  return;
610
- const s = i.getCurrentState().mode !== "Panorama";
612
+ const s = r.getCurrentState().mode !== "Panorama";
611
613
  s && (this.privateState.modeChanging = !0);
612
614
  const d = (() => {
613
- var f, u;
614
- const o = (f = n.config) == null ? void 0 : f.speedConfig, m = (u = e.moveSpeed) != null ? u : o == null ? void 0 : o.moveSpeed;
615
+ var p, u;
616
+ const o = (p = n.config) == null ? void 0 : p.speedConfig, m = (u = e.moveSpeed) != null ? u : o == null ? void 0 : o.moveSpeed;
615
617
  if ((o == null ? void 0 : o.moveSpeedUnit) === void 0)
616
618
  return m;
617
619
  if (m !== void 0)
@@ -619,23 +621,23 @@ class z extends V {
619
621
  })(), a = (() => {
620
622
  if (t != null && t.duration)
621
623
  return t.duration;
622
- if (d && typeof i.panoIndex == "number" && typeof e.panoIndex == "number") {
623
- const o = i.work.observers[i.panoIndex].position, m = i.work.observers[e.panoIndex].position;
624
+ if (d && typeof r.panoIndex == "number" && typeof e.panoIndex == "number") {
625
+ const o = r.work.observers[r.panoIndex].position, m = r.work.observers[e.panoIndex].position;
624
626
  return o.distanceTo(m) / d;
625
627
  }
626
628
  return 800;
627
629
  })();
628
- r.currentPlayKeyframe && (r.currentPlayKeyframe.originDuration = a), yield new Promise((o) => {
629
- var m, f, u;
630
- i.moveToPano(e.panoIndex, {
630
+ i.currentPlayKeyframe && (i.currentPlayKeyframe.originDuration = a), yield new Promise((o) => {
631
+ var m, p, u;
632
+ r.moveToPano(e.panoIndex, {
631
633
  latitude: e.latitude,
632
634
  longitude: e.longitude,
633
635
  fov: e.fov,
634
636
  duration: this.getSpeededDuration(a),
635
- effect: (u = (f = t == null ? void 0 : t.moveEffect) != null ? f : (m = this.state.config) == null ? void 0 : m.moveEffect) != null ? u : e.moveEffect,
637
+ effect: (u = (p = t == null ? void 0 : t.moveEffect) != null ? p : (m = this.state.config) == null ? void 0 : m.moveEffect) != null ? u : e.moveEffect,
636
638
  moveCancelCallback: () => o(),
637
639
  moveEndCallback: () => o()
638
- }), s && i.once("panoArrived", () => o());
640
+ }), s && r.once("panoArrived", () => o());
639
641
  }), s && (this.privateState.modeChanging = !1);
640
642
  });
641
643
  }
@@ -643,11 +645,11 @@ class z extends V {
643
645
  * @description: Change play speed
644
646
  */
645
647
  changeSpeed(e, t = !0) {
646
- const { state: i, privateState: r, hooks: n } = this, { currentPlayKeyframe: s } = r;
647
- if (n.emit("speedChange", e, { userAction: t }), i.playing && s)
648
+ const { state: r, privateState: i, hooks: n } = this, { currentPlayKeyframe: s } = i;
649
+ if (n.emit("speedChange", e, { userAction: t }), r.playing && s)
648
650
  try {
649
651
  const d = s.originDuration !== void 0 ? s.originDuration * (1 - this.getProgress()) : void 0, a = this.playKeyframe(s.keyframe, { duration: d });
650
- r.currentPlayQueue.push(a);
652
+ i.currentPlayQueue.push(a);
651
653
  } catch (d) {
652
654
  }
653
655
  }
@@ -686,12 +688,12 @@ class z extends V {
686
688
  * @description Set pause data
687
689
  */
688
690
  setPauseData() {
689
- var e, t, i, r;
691
+ var e, t, r, i;
690
692
  if ((e = this.data) != null && e.keyframesId)
691
693
  return E.set((t = this.data) == null ? void 0 : t.keyframesId, {
692
- keyframeId: (i = this.privateState.currentPlayKeyframe) == null ? void 0 : i.keyframe.id,
694
+ keyframeId: (r = this.privateState.currentPlayKeyframe) == null ? void 0 : r.keyframe.id,
693
695
  fiveState: this.five.getCurrentState(),
694
- duration: (r = this.privateState.currentPlayKeyframe) == null ? void 0 : r.originDuration,
696
+ duration: (i = this.privateState.currentPlayKeyframe) == null ? void 0 : i.originDuration,
695
697
  playedProgress: this.getProgress()
696
698
  });
697
699
  }
@@ -712,7 +714,7 @@ class z extends V {
712
714
  // TODO
713
715
  handleDispose() {
714
716
  var e, t;
715
- this.setState({ playing: !1 }), this.clearPauseData(), this.clear(), (e = this.GuideLine) == null || e.dispose(), this.GuideLine = void 0, (t = this.privateState.disposers) == null || t.forEach((i) => i == null ? void 0 : i());
717
+ this.setState({ playing: !1 }), this.clearPauseData(), this.clear(), (e = this.GuideLine) == null || e.dispose(), this.GuideLine = void 0, (t = this.privateState.disposers) == null || t.forEach((r) => r == null ? void 0 : r());
716
718
  }
717
719
  /**
718
720
  * @description Action function if plugin is enable
@@ -740,8 +742,8 @@ class z extends V {
740
742
  }
741
743
  setFiveLinearUpdateCamera() {
742
744
  this.privateState.fiveOriginGetProgress && (this.five.controller.cameraMotion.getProgress = (e) => {
743
- const t = this.five.controller.cameraMotion, i = e - t.startTime;
744
- return i < 0 ? 0 : i >= t.duration ? 1 : 1 - H(1, t.startVelocity, t.duration, i);
745
+ const t = this.five.controller.cameraMotion, r = e - t.startTime;
746
+ return r < 0 ? 0 : r >= t.duration ? 1 : 1 - H(1, t.startVelocity, t.duration, r);
745
747
  });
746
748
  }
747
749
  setFiveOriginUpdateCamera() {