@realsee/dnalogel 3.20.0-dev.2 → 3.20.1

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 (362) hide show
  1. package/components/index.js +104 -95
  2. package/dist/PanoVideoPlugin/Controller.d.ts +17 -0
  3. package/dist/PanoVideoPlugin/VideoMeshController.d.ts +6 -0
  4. package/dist/index.cjs.js +39 -39
  5. package/dist/index.js +3952 -3885
  6. package/dist/index.umd.js +37 -37
  7. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  8. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  9. package/docs/classes/CSS3DRender.html +3 -3
  10. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  11. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  12. package/docs/classes/Magnifier.html +3 -3
  13. package/docs/classes/ModelRoomLabelController.html +3 -3
  14. package/docs/classes/MoveController.html +3 -3
  15. package/docs/classes/Object3DHelperController.html +3 -3
  16. package/docs/classes/PaintBrush.html +3 -3
  17. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  18. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  19. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  20. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  21. package/docs/classes/PanoTagPluginController.html +3 -3
  22. package/docs/classes/Util.BetterTween.html +3 -3
  23. package/docs/classes/Util.Interval.html +3 -3
  24. package/docs/classes/Util.LineSegments.html +3 -3
  25. package/docs/classes/Util.Magnifier.html +3 -3
  26. package/docs/classes/Util.Object3D.html +3 -3
  27. package/docs/classes/Util.PointDomHelper.html +3 -3
  28. package/docs/classes/Util.PointHelper.html +3 -3
  29. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  30. package/docs/classes/Util.Rectangle.html +3 -3
  31. package/docs/classes/WalkController.html +3 -3
  32. package/docs/enums/CameraMovementEffect.html +3 -3
  33. package/docs/enums/ContentType.html +3 -3
  34. package/docs/enums/DIRECTION.html +3 -3
  35. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  36. package/docs/enums/DimensionType.html +3 -3
  37. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  38. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  39. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  40. package/docs/enums/PointType.html +3 -3
  41. package/docs/enums/Rotation.html +3 -3
  42. package/docs/functions/AreaMakerPlugin.html +3 -3
  43. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  44. package/docs/functions/CameraMovementPlugin.html +3 -3
  45. package/docs/functions/CruisePlugin.html +3 -3
  46. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  47. package/docs/functions/GuideLinePlugin.html +3 -3
  48. package/docs/functions/ItemLabelPlugin.html +3 -3
  49. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  50. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  51. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  52. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  53. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  54. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  55. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  56. package/docs/functions/ModelViewPlugin.html +3 -3
  57. package/docs/functions/MovePlugin.html +3 -3
  58. package/docs/functions/Object3DHelperPlugin.html +3 -3
  59. package/docs/functions/PanoCompassPlugin.html +3 -3
  60. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  61. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  62. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  63. package/docs/functions/PanoMeasurePlugin.html +3 -3
  64. package/docs/functions/PanoRulerPlugin.html +3 -3
  65. package/docs/functions/PanoRulerProPlugin.html +3 -3
  66. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  67. package/docs/functions/PanoTagPlugin.html +3 -3
  68. package/docs/functions/PanoVideoPlugin.html +3 -3
  69. package/docs/functions/PipelinePlugin.html +3 -3
  70. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  71. package/docs/functions/Util.absoluteUrl.html +3 -3
  72. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  73. package/docs/functions/Util.equal.html +3 -3
  74. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  75. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  76. package/docs/functions/Util.getFrameTime.html +3 -3
  77. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  78. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  79. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  80. package/docs/functions/Util.isModelLike.html +3 -3
  81. package/docs/functions/Util.isNil.html +3 -3
  82. package/docs/functions/Util.isPanoramaLike.html +3 -3
  83. package/docs/functions/Util.nextFrame.html +3 -3
  84. package/docs/functions/Util.notNil.html +3 -3
  85. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  86. package/docs/functions/Util.tweenProgress.html +3 -3
  87. package/docs/functions/Util.uuid.html +3 -3
  88. package/docs/functions/pluginFlag.html +3 -3
  89. package/docs/index.html +4 -4
  90. package/docs/interfaces/AddTagConfig.html +3 -3
  91. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  92. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  93. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  94. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  95. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  96. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  97. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  98. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  101. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  102. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  103. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  104. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  105. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  106. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  107. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  108. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  109. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  110. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  111. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  112. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  113. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  114. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  115. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  116. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  117. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  118. package/docs/interfaces/EventMap.html +3 -3
  119. package/docs/interfaces/FloorplanBounding.html +3 -3
  120. package/docs/interfaces/FloorplanData.html +3 -3
  121. package/docs/interfaces/FloorplanEntrance.html +3 -3
  122. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  123. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  124. package/docs/interfaces/FloorplanFloorData.html +3 -3
  125. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  126. package/docs/interfaces/FloorplanObserver.html +3 -3
  127. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  128. package/docs/interfaces/FloorplanPosition.html +3 -3
  129. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  130. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  131. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  132. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  133. package/docs/interfaces/FloorplanServerData.html +3 -3
  134. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  135. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  136. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  137. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  138. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  139. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  140. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  141. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  142. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  143. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  144. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  145. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  146. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  147. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  148. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  149. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  150. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  151. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  152. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  153. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  154. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  155. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  156. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  160. package/docs/interfaces/HelperOffset.html +3 -3
  161. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  162. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  163. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  164. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  165. package/docs/interfaces/MinMax.html +3 -3
  166. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  167. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  168. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  169. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  170. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  171. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  172. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  173. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  174. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  175. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  176. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  177. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  178. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  179. package/docs/interfaces/Object3DHelperState.html +3 -3
  180. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  181. package/docs/interfaces/PaintBrushAction.html +3 -3
  182. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  183. package/docs/interfaces/PaintBrushState.html +3 -3
  184. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  185. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  186. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  187. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  188. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  189. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  190. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  191. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  192. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  193. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  194. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  195. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  196. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  197. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  198. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  199. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  200. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  201. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  202. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  203. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  204. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  205. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  206. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  207. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  208. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  209. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  210. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  211. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  212. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  213. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  214. package/docs/interfaces/Point.html +3 -3
  215. package/docs/interfaces/Room.html +3 -3
  216. package/docs/interfaces/RoomInfo.html +3 -3
  217. package/docs/interfaces/RoomLabel.html +3 -3
  218. package/docs/interfaces/RoomRules.html +3 -3
  219. package/docs/interfaces/Rooms.html +3 -3
  220. package/docs/interfaces/Scissor.html +3 -3
  221. package/docs/interfaces/State.html +3 -3
  222. package/docs/interfaces/TagCacheInterface.html +3 -3
  223. package/docs/interfaces/TagConfig.html +3 -3
  224. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  225. package/docs/interfaces/TagIconUrl.html +3 -3
  226. package/docs/interfaces/TagObjectGroup.html +3 -3
  227. package/docs/interfaces/TagStyle.html +3 -3
  228. package/docs/interfaces/Tags.html +3 -3
  229. package/docs/interfaces/TemporaryState.html +3 -3
  230. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  231. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  232. package/docs/interfaces/Util.PointIntersection.html +3 -3
  233. package/docs/modules/AreaMakerPluginType.html +3 -3
  234. package/docs/modules/CruisePluginTypes.html +3 -3
  235. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  236. package/docs/modules/GuideLineItem.html +3 -3
  237. package/docs/modules/GuideLineModeItem.html +3 -3
  238. package/docs/modules/GuideLinePluginType.html +3 -3
  239. package/docs/modules/PanoVideoPluginType.html +3 -3
  240. package/docs/modules/Util.html +3 -3
  241. package/docs/modules.html +4 -4
  242. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  243. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  244. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  245. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  246. package/docs/types/ArrayPosition.html +3 -3
  247. package/docs/types/AudioAppearance.html +3 -3
  248. package/docs/types/AudioTagTypeConfigKey.html +3 -3
  249. package/docs/types/CSS3DRenderExportType.html +3 -3
  250. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  251. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  252. package/docs/types/ClassFunctionParameters.html +3 -3
  253. package/docs/types/Color.html +3 -3
  254. package/docs/types/ContentTypeConfigKey.html +3 -3
  255. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  256. package/docs/types/ContentTypeMap.html +3 -3
  257. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  258. package/docs/types/Create3DElementReturnType.html +3 -3
  259. package/docs/types/CruisePluginExportType.html +3 -3
  260. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  261. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  262. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  263. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  264. package/docs/types/DeprecatedTagProperty.html +3 -3
  265. package/docs/types/Direction-1.html +3 -3
  266. package/docs/types/Direction4.html +3 -3
  267. package/docs/types/ElementRenderer.html +3 -3
  268. package/docs/types/FloorplanRuleLabels.html +3 -3
  269. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  270. package/docs/types/GuideLinePluginExportType.html +3 -3
  271. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  272. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  273. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  274. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  275. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  276. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  277. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  278. package/docs/types/HelperEventMap.html +3 -3
  279. package/docs/types/InternalHelperEventMap.html +3 -3
  280. package/docs/types/LoadTagConfig.html +3 -3
  281. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  282. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  283. package/docs/types/MediaData.html +3 -3
  284. package/docs/types/MediaStore.html +3 -3
  285. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  286. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  287. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  288. package/docs/types/ModelId.html +3 -3
  289. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  290. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  291. package/docs/types/MoveArgs.html +3 -3
  292. package/docs/types/MoveOpts.html +3 -3
  293. package/docs/types/Object3DHelperEventMap.html +3 -3
  294. package/docs/types/ObjectFit.html +3 -3
  295. package/docs/types/PaintBrushEventMap.html +3 -3
  296. package/docs/types/PanoCompassPluginData.html +3 -3
  297. package/docs/types/PanoCompassPluginExportType.html +3 -3
  298. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  299. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  300. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  301. package/docs/types/PanoIndex.html +3 -3
  302. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  303. package/docs/types/PanoMeasureReturnType.html +3 -3
  304. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  305. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  306. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  307. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  308. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  309. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  310. package/docs/types/PipelinePluginParameterType.html +3 -3
  311. package/docs/types/PipelinePluginReturnType.html +3 -3
  312. package/docs/types/PlaneTag.html +3 -3
  313. package/docs/types/Point2DTag.html +3 -3
  314. package/docs/types/Point3DTag.html +3 -3
  315. package/docs/types/PointTag.html +3 -3
  316. package/docs/types/PointTagInstance.html +3 -3
  317. package/docs/types/Position.html +3 -3
  318. package/docs/types/RotateArgs.html +3 -3
  319. package/docs/types/RotateOpts.html +3 -3
  320. package/docs/types/RuleLabelsKey.html +3 -3
  321. package/docs/types/RuleLabelsValue.html +3 -3
  322. package/docs/types/StickType.html +3 -3
  323. package/docs/types/Tag.html +3 -3
  324. package/docs/types/Tag2D.html +3 -3
  325. package/docs/types/Tag3D.html +3 -3
  326. package/docs/types/TagConfigByKey.html +3 -3
  327. package/docs/types/TagContentType.html +3 -3
  328. package/docs/types/TagContentTypeMapping.html +3 -3
  329. package/docs/types/TagDimensionType.html +3 -3
  330. package/docs/types/TagElement.html +3 -3
  331. package/docs/types/TagEvents.html +3 -3
  332. package/docs/types/TagGLTFObject.html +3 -3
  333. package/docs/types/TagHooks.html +3 -3
  334. package/docs/types/TagId.html +3 -3
  335. package/docs/types/TagInstance.html +3 -3
  336. package/docs/types/TagPointType.html +3 -3
  337. package/docs/types/TagRendererMap.html +3 -3
  338. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  339. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  340. package/docs/types/WorkCode.html +3 -3
  341. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  342. package/docs/variables/PLUGIN.html +3 -3
  343. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  344. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  345. package/docs/variables/defaultGlobalConfig.html +3 -3
  346. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  347. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  348. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  349. package/libs/PanoTagPlugin/Components/TagItem.js +232 -208
  350. package/libs/PanoTagPlugin/controller/TagRender.js +78 -79
  351. package/libs/PanoVideoPlugin/Controller.d.ts +17 -0
  352. package/libs/PanoVideoPlugin/Controller.js +63 -39
  353. package/libs/PanoVideoPlugin/VideoMeshController.d.ts +6 -0
  354. package/libs/PanoVideoPlugin/VideoMeshController.js +8 -0
  355. package/libs/base/BasePlugin.js +1 -1
  356. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +111 -108
  357. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
  358. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
  359. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
  360. package/libs/shared-utils/logger.js +1 -1
  361. package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +88 -79
  362. package/package.json +2 -2
@@ -3,11 +3,11 @@ var Z = (t, i, e) => i in t ? z(t, i, { enumerable: !0, configurable: !0, writab
3
3
  var C = (t, i, e) => (Z(t, typeof i != "symbol" ? i + "" : i, e), e);
4
4
  function m() {
5
5
  }
6
- const E = () => Promise.resolve(), k = {
6
+ const B = () => Promise.resolve(), k = {
7
7
  __queue: Promise.resolve()
8
8
  };
9
- function G(t = E) {
10
- k.__queue = k.__queue.then(t).catch(E);
9
+ function G(t = B) {
10
+ k.__queue = k.__queue.then(t).catch(B);
11
11
  }
12
12
  function T(t, i, e) {
13
13
  const n = t.x, s = t.y, r = Math.floor(n / i * 1e4) / 1e4, a = Math.floor(s / e * 1e4) / 1e4;
@@ -37,7 +37,7 @@ const W = window, R = window.requestAnimationFrame || W.webkitRequestAnimationFr
37
37
  function P(t, i = 0) {
38
38
  i <= 0 ? R(t) : R(() => P(t, i - 1));
39
39
  }
40
- var w = Object.freeze({
40
+ var b = Object.freeze({
41
41
  Linear: Object.freeze({
42
42
  None: function(t) {
43
43
  return t;
@@ -156,13 +156,13 @@ var w = Object.freeze({
156
156
  }),
157
157
  Bounce: Object.freeze({
158
158
  In: function(t) {
159
- return 1 - w.Bounce.Out(1 - t);
159
+ return 1 - b.Bounce.Out(1 - t);
160
160
  },
161
161
  Out: function(t) {
162
162
  return t < 1 / 2.75 ? 7.5625 * t * t : t < 2 / 2.75 ? 7.5625 * (t -= 1.5 / 2.75) * t + 0.75 : t < 2.5 / 2.75 ? 7.5625 * (t -= 2.25 / 2.75) * t + 0.9375 : 7.5625 * (t -= 2.625 / 2.75) * t + 0.984375;
163
163
  },
164
164
  InOut: function(t) {
165
- return t < 0.5 ? w.Bounce.In(t * 2) * 0.5 : w.Bounce.Out(t * 2 - 1) * 0.5 + 0.5;
165
+ return t < 0.5 ? b.Bounce.In(t * 2) * 0.5 : b.Bounce.Out(t * 2 - 1) * 0.5 + 0.5;
166
166
  }
167
167
  }),
168
168
  generatePow: function(t) {
@@ -213,18 +213,18 @@ var w = Object.freeze({
213
213
  return !0;
214
214
  }, t;
215
215
  }()
216
- ), y = {
216
+ ), w = {
217
217
  Linear: function(t, i) {
218
- var e = t.length - 1, n = e * i, s = Math.floor(n), r = y.Utils.Linear;
218
+ var e = t.length - 1, n = e * i, s = Math.floor(n), r = w.Utils.Linear;
219
219
  return i < 0 ? r(t[0], t[1], n) : i > 1 ? r(t[e], t[e - 1], e - n) : r(t[s], t[s + 1 > e ? e : s + 1], n - s);
220
220
  },
221
221
  Bezier: function(t, i) {
222
- for (var e = 0, n = t.length - 1, s = Math.pow, r = y.Utils.Bernstein, a = 0; a <= n; a++)
222
+ for (var e = 0, n = t.length - 1, s = Math.pow, r = w.Utils.Bernstein, a = 0; a <= n; a++)
223
223
  e += s(1 - i, n - a) * s(i, a) * t[a] * r(n, a);
224
224
  return e;
225
225
  },
226
226
  CatmullRom: function(t, i) {
227
- var e = t.length - 1, n = e * i, s = Math.floor(n), r = y.Utils.CatmullRom;
227
+ var e = t.length - 1, n = e * i, s = Math.floor(n), r = w.Utils.CatmullRom;
228
228
  return t[0] === t[e] ? (i < 0 && (s = Math.floor(n = e * (1 + i))), r(t[(s - 1 + e) % e], t[s], t[(s + 1) % e], t[(s + 2) % e], n - s)) : i < 0 ? t[0] - (r(t[0], t[0], t[1], t[1], -n) - t[0]) : i > 1 ? t[e] - (r(t[e], t[e], t[e - 1], t[e - 1], n - e) - t[e]) : r(t[s ? s - 1 : 0], t[s], t[e < s + 1 ? e : s + 1], t[e < s + 2 ? e : s + 2], n - s);
229
229
  },
230
230
  Utils: {
@@ -232,7 +232,7 @@ var w = Object.freeze({
232
232
  return (i - t) * e + t;
233
233
  },
234
234
  Bernstein: function(t, i) {
235
- var e = y.Utils.Factorial;
235
+ var e = w.Utils.Factorial;
236
236
  return e(t) / e(i) / e(t - i);
237
237
  },
238
238
  Factorial: function() {
@@ -260,11 +260,11 @@ var w = Object.freeze({
260
260
  return t._nextId++;
261
261
  }, t._nextId = 0, t;
262
262
  }()
263
- ), B = new Y(), Q = (
263
+ ), E = new Y(), Q = (
264
264
  /** @class */
265
265
  function() {
266
266
  function t(i, e) {
267
- e === void 0 && (e = B), this._object = i, this._group = e, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = w.Linear.None, this._interpolationFunction = y.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = H.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
267
+ e === void 0 && (e = E), this._object = i, this._group = e, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = b.Linear.None, this._interpolationFunction = w.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = H.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
268
268
  }
269
269
  return t.prototype.getId = function() {
270
270
  return this._id;
@@ -272,12 +272,14 @@ var w = Object.freeze({
272
272
  return this._isPlaying;
273
273
  }, t.prototype.isPaused = function() {
274
274
  return this._isPaused;
275
+ }, t.prototype.getDuration = function() {
276
+ return this._duration;
275
277
  }, t.prototype.to = function(i, e) {
276
278
  if (e === void 0 && (e = 1e3), this._isPlaying)
277
279
  throw new Error("Can not call Tween.to() while Tween is already started or paused. Stop the Tween first.");
278
- return this._valuesEnd = i, this._propertiesAreSetUp = !1, this._duration = e, this;
280
+ return this._valuesEnd = i, this._propertiesAreSetUp = !1, this._duration = e < 0 ? 0 : e, this;
279
281
  }, t.prototype.duration = function(i) {
280
- return i === void 0 && (i = 1e3), this._duration = i, this;
282
+ return i === void 0 && (i = 1e3), this._duration = i < 0 ? 0 : i, this;
281
283
  }, t.prototype.dynamic = function(i) {
282
284
  return i === void 0 && (i = !1), this._isDynamic = i, this;
283
285
  }, t.prototype.start = function(i, e) {
@@ -302,34 +304,34 @@ var w = Object.freeze({
302
304
  return this.start(i, !0);
303
305
  }, t.prototype._setupProperties = function(i, e, n, s, r) {
304
306
  for (var a in n) {
305
- var o = i[a], c = Array.isArray(o), f = c ? "array" : typeof o, I = !c && Array.isArray(n[a]);
306
- if (!(f === "undefined" || f === "function")) {
307
+ var o = i[a], c = Array.isArray(o), d = c ? "array" : typeof o, I = !c && Array.isArray(n[a]);
308
+ if (!(d === "undefined" || d === "function")) {
307
309
  if (I) {
308
310
  var u = n[a];
309
311
  if (u.length === 0)
310
312
  continue;
311
- for (var l = [o], h = 0, d = u.length; h < d; h += 1) {
312
- var g = this._handleRelativeValue(o, u[h]);
313
- if (isNaN(g)) {
313
+ for (var l = [o], h = 0, g = u.length; h < g; h += 1) {
314
+ var f = this._handleRelativeValue(o, u[h]);
315
+ if (isNaN(f)) {
314
316
  I = !1, console.warn("Found invalid interpolation list. Skipping.");
315
317
  break;
316
318
  }
317
- l.push(g);
319
+ l.push(f);
318
320
  }
319
321
  I && (n[a] = l);
320
322
  }
321
- if ((f === "object" || c) && o && !I) {
323
+ if ((d === "object" || c) && o && !I) {
322
324
  e[a] = c ? [] : {};
323
325
  var p = o;
324
- for (var _ in p)
325
- e[a][_] = p[_];
326
+ for (var A in p)
327
+ e[a][A] = p[A];
326
328
  s[a] = c ? [] : {};
327
329
  var u = n[a];
328
330
  if (!this._isDynamic) {
329
- var b = {};
330
- for (var _ in u)
331
- b[_] = u[_];
332
- n[a] = u = b;
331
+ var v = {};
332
+ for (var A in u)
333
+ v[A] = u[A];
334
+ n[a] = u = v;
333
335
  }
334
336
  this._setupProperties(p, e[a], u, s[a], r);
335
337
  } else
@@ -349,7 +351,7 @@ var w = Object.freeze({
349
351
  this._chainedTweens[i].stop();
350
352
  return this;
351
353
  }, t.prototype.group = function(i) {
352
- return i === void 0 && (i = B), this._group = i, this;
354
+ return i === void 0 && (i = E), this._group = i, this;
353
355
  }, t.prototype.delay = function(i) {
354
356
  return i === void 0 && (i = 0), this._delayTime = i, this;
355
357
  }, t.prototype.repeat = function(i) {
@@ -359,9 +361,9 @@ var w = Object.freeze({
359
361
  }, t.prototype.yoyo = function(i) {
360
362
  return i === void 0 && (i = !1), this._yoyo = i, this;
361
363
  }, t.prototype.easing = function(i) {
362
- return i === void 0 && (i = w.Linear.None), this._easingFunction = i, this;
364
+ return i === void 0 && (i = b.Linear.None), this._easingFunction = i, this;
363
365
  }, t.prototype.interpolation = function(i) {
364
- return i === void 0 && (i = y.Linear), this._interpolationFunction = i, this;
366
+ return i === void 0 && (i = w.Linear), this._interpolationFunction = i, this;
365
367
  }, t.prototype.chain = function() {
366
368
  for (var i = [], e = 0; e < arguments.length; e++)
367
369
  i[e] = arguments[e];
@@ -379,37 +381,44 @@ var w = Object.freeze({
379
381
  }, t.prototype.onStop = function(i) {
380
382
  return this._onStopCallback = i, this;
381
383
  }, t.prototype.update = function(i, e) {
384
+ var n = this, s;
382
385
  if (i === void 0 && (i = N()), e === void 0 && (e = !0), this._isPaused)
383
386
  return !0;
384
- var n, s, r = this._startTime + this._duration;
387
+ var r, a = this._startTime + this._duration;
385
388
  if (!this._goToEnd && !this._isPlaying) {
386
- if (i > r)
389
+ if (i > a)
387
390
  return !1;
388
391
  e && this.start(i, !0);
389
392
  }
390
393
  if (this._goToEnd = !1, i < this._startTime)
391
394
  return !0;
392
- this._onStartCallbackFired === !1 && (this._onStartCallback && this._onStartCallback(this._object), this._onStartCallbackFired = !0), this._onEveryStartCallbackFired === !1 && (this._onEveryStartCallback && this._onEveryStartCallback(this._object), this._onEveryStartCallbackFired = !0), s = (i - this._startTime) / this._duration, s = this._duration === 0 || s > 1 ? 1 : s;
393
- var a = this._easingFunction(s);
394
- if (this._updateProperties(this._object, this._valuesStart, this._valuesEnd, a), this._onUpdateCallback && this._onUpdateCallback(this._object, s), s === 1)
395
+ this._onStartCallbackFired === !1 && (this._onStartCallback && this._onStartCallback(this._object), this._onStartCallbackFired = !0), this._onEveryStartCallbackFired === !1 && (this._onEveryStartCallback && this._onEveryStartCallback(this._object), this._onEveryStartCallbackFired = !0);
396
+ var o = i - this._startTime, c = this._duration + ((s = this._repeatDelayTime) !== null && s !== void 0 ? s : this._delayTime), d = this._duration + this._repeat * c, I = function() {
397
+ if (n._duration === 0 || o > d)
398
+ return 1;
399
+ var p = Math.trunc(o / c), A = o - p * c, v = Math.min(A / n._duration, 1);
400
+ return v === 0 && o === n._duration ? 1 : v;
401
+ }, u = I(), l = this._easingFunction(u);
402
+ if (this._updateProperties(this._object, this._valuesStart, this._valuesEnd, l), this._onUpdateCallback && this._onUpdateCallback(this._object, u), this._duration === 0 || o >= this._duration)
395
403
  if (this._repeat > 0) {
396
- isFinite(this._repeat) && this._repeat--;
397
- for (n in this._valuesStartRepeat)
398
- !this._yoyo && typeof this._valuesEnd[n] == "string" && (this._valuesStartRepeat[n] = // eslint-disable-next-line
404
+ var h = Math.min(Math.trunc((o - this._duration) / c) + 1, this._repeat);
405
+ isFinite(this._repeat) && (this._repeat -= h);
406
+ for (r in this._valuesStartRepeat)
407
+ !this._yoyo && typeof this._valuesEnd[r] == "string" && (this._valuesStartRepeat[r] = // eslint-disable-next-line
399
408
  // @ts-ignore FIXME?
400
- this._valuesStartRepeat[n] + parseFloat(this._valuesEnd[n])), this._yoyo && this._swapEndStartRepeatValues(n), this._valuesStart[n] = this._valuesStartRepeat[n];
401
- return this._yoyo && (this._reversed = !this._reversed), this._repeatDelayTime !== void 0 ? this._startTime = i + this._repeatDelayTime : this._startTime = i + this._delayTime, this._onRepeatCallback && this._onRepeatCallback(this._object), this._onEveryStartCallbackFired = !1, !0;
409
+ this._valuesStartRepeat[r] + parseFloat(this._valuesEnd[r])), this._yoyo && this._swapEndStartRepeatValues(r), this._valuesStart[r] = this._valuesStartRepeat[r];
410
+ return this._yoyo && (this._reversed = !this._reversed), this._startTime += c * h, this._onRepeatCallback && this._onRepeatCallback(this._object), this._onEveryStartCallbackFired = !1, !0;
402
411
  } else {
403
412
  this._onCompleteCallback && this._onCompleteCallback(this._object);
404
- for (var o = 0, c = this._chainedTweens.length; o < c; o++)
405
- this._chainedTweens[o].start(this._startTime + this._duration, !1);
413
+ for (var g = 0, f = this._chainedTweens.length; g < f; g++)
414
+ this._chainedTweens[g].start(this._startTime + this._duration, !1);
406
415
  return this._isPlaying = !1, !1;
407
416
  }
408
417
  return !0;
409
418
  }, t.prototype._updateProperties = function(i, e, n, s) {
410
419
  for (var r in n)
411
420
  if (e[r] !== void 0) {
412
- var a = e[r] || 0, o = n[r], c = Array.isArray(i[r]), f = Array.isArray(o), I = !c && f;
421
+ var a = e[r] || 0, o = n[r], c = Array.isArray(i[r]), d = Array.isArray(o), I = !c && d;
413
422
  I ? i[r] = this._interpolationFunction(o, s) : typeof o == "object" && o ? this._updateProperties(i[r], a, o, s) : (o = this._handleRelativeValue(a, o), typeof o == "number" && (i[r] = a + (o - a) * s));
414
423
  }
415
424
  }, t.prototype._handleRelativeValue = function(i, e) {
@@ -419,20 +428,20 @@ var w = Object.freeze({
419
428
  typeof n == "string" ? this._valuesStartRepeat[i] = this._valuesStartRepeat[i] + parseFloat(n) : this._valuesStartRepeat[i] = this._valuesEnd[i], this._valuesEnd[i] = e;
420
429
  }, t;
421
430
  }()
422
- ), A = B;
423
- A.getAll.bind(A);
424
- A.removeAll.bind(A);
425
- A.add.bind(A);
426
- A.remove.bind(A);
427
- A.update.bind(A);
428
- function F(t, i, e, n = w.Linear.None) {
431
+ ), _ = E;
432
+ _.getAll.bind(_);
433
+ _.removeAll.bind(_);
434
+ _.add.bind(_);
435
+ _.remove.bind(_);
436
+ _.update.bind(_);
437
+ function F(t, i, e, n = b.Linear.None) {
429
438
  const s = new Q(t).to(i, e).easing(n).start();
430
439
  function r(a) {
431
440
  s.update(a) && requestAnimationFrame(r);
432
441
  }
433
442
  return requestAnimationFrame(r), s;
434
443
  }
435
- var M = /* @__PURE__ */ ((t) => (t.Drawline = "Drawline", t.Undo = "Undo", t.Exit = "Exit", t))(M || {});
444
+ var y = /* @__PURE__ */ ((t) => (t.Drawline = "Drawline", t.Undo = "Undo", t.Exit = "Exit", t))(y || {});
436
445
  const x = Symbol("$$PAINT_BRUSH_EVENT$$");
437
446
  function S(t) {
438
447
  return t[x] || (t[x] = {}), t[x];
@@ -508,17 +517,17 @@ class K {
508
517
  let n = !1;
509
518
  const r = S(this)[i] || [];
510
519
  for (let a of r.slice()) {
511
- const [o, c = !1] = a, f = o(...e);
512
- c && this.off(i, o), f === !1 && (n = !0);
520
+ const [o, c = !1] = a, d = o(...e);
521
+ c && this.off(i, o), d === !1 && (n = !0);
513
522
  }
514
523
  return n;
515
524
  }
516
525
  }
517
- function v() {
526
+ function M() {
518
527
  return ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
519
528
  }
520
529
  function X() {
521
- return (v() + v() + "-" + v() + "-4" + v().substr(0, 3) + "-" + v() + "-" + v() + v() + v()).toLowerCase();
530
+ return (M() + M() + "-" + M() + "-4" + M().substr(0, 3) + "-" + M() + "-" + M() + M() + M()).toLowerCase();
522
531
  }
523
532
  const V = `
524
533
  <style type="text/css">
@@ -687,17 +696,17 @@ class q extends K {
687
696
  return;
688
697
  const c = this.data[this.uuid].pop();
689
698
  c && this.emitStateChange({
690
- type: M.Undo,
699
+ type: y.Undo,
691
700
  color: this.color,
692
701
  ready: this.ready,
693
702
  state: c,
694
703
  uuid: this.uuid
695
704
  });
696
- const f = (l = this.canvas[this.uuid]) == null ? void 0 : l.getContext("2d");
705
+ const d = (l = this.canvas[this.uuid]) == null ? void 0 : l.getContext("2d");
697
706
  if (!this.canvas[this.uuid])
698
707
  return;
699
708
  const { width: I, height: u } = this.canvas[this.uuid];
700
- f && f.clearRect(0, 0, I, u), this.data[this.uuid].forEach((h) => this.handleDrawLine(this.uuid, h, { withUndo: !0 }));
709
+ d && d.clearRect(0, 0, I, u), this.data[this.uuid].forEach((h) => this.handleDrawLine(this.uuid, h, { withUndo: !0 }));
701
710
  });
702
711
  const r = document.createElement("a");
703
712
  return r.className = "_paintBrush-ctrlitem _paintBrush-ctrlitem--close", r.addEventListener("click", (o) => {
@@ -705,8 +714,8 @@ class q extends K {
705
714
  }), [s, r].forEach((o) => {
706
715
  const c = document.createElement("i");
707
716
  c.className = "brush-icon";
708
- const f = document.createElement("span");
709
- f.className = "brush-txt", f.innerText = o.className.endsWith("undo") ? this.configs.onUndoText : this.configs.onExitText, o.appendChild(c), o.appendChild(f);
717
+ const d = document.createElement("span");
718
+ d.className = "brush-txt", d.innerText = o.className.endsWith("undo") ? this.configs.onUndoText : this.configs.onExitText, o.appendChild(c), o.appendChild(d);
710
719
  }), n.appendChild(s), n.appendChild(r), e.appendChild(n), this.container.appendChild(e), e;
711
720
  }
712
721
  openBrush() {
@@ -722,7 +731,7 @@ class q extends K {
722
731
  const n = this.canvas[e].getContext("2d");
723
732
  n && n.clearRect(0, 0, this.canvas[e].width, this.canvas[e].height);
724
733
  }), this.ready = !1, this.emit("readyChange", !1), this.emitStateChange({
725
- type: M.Exit,
734
+ type: y.Exit,
726
735
  color: this.color,
727
736
  ready: !1,
728
737
  uuid: this.uuid
@@ -744,13 +753,13 @@ class q extends K {
744
753
  return;
745
754
  const s = this.color || "#6D92FF";
746
755
  n.strokeStyle = s;
747
- let r = null, a = [], o, c = [], f = 0;
756
+ let r = null, a = [], o, c = [], d = 0;
748
757
  const I = (u, l, h) => {
749
- const d = this.color || "#ff0000";
750
- n.strokeStyle = d, n.beginPath(), n.moveTo(u.x, u.y), n.quadraticCurveTo(l.x, l.y, h.x, h.y), n.stroke();
758
+ const g = this.color || "#ff0000";
759
+ n.strokeStyle = g, n.beginPath(), n.moveTo(u.x, u.y), n.quadraticCurveTo(l.x, l.y, h.x, h.y), n.stroke();
751
760
  };
752
761
  e.onmousedown = (u) => {
753
- u.preventDefault(), f = Date.now();
762
+ u.preventDefault(), d = Date.now();
754
763
  const l = u.clientX, h = u.clientY;
755
764
  a = [], a.push({ x: l, y: h }), r = { x: l, y: h }, o = T({ x: l, y: h }, this.clientWidth, this.clientHeight), c = [];
756
765
  }, e.onmousemove = (u) => {
@@ -759,13 +768,13 @@ class q extends K {
759
768
  const l = Number(u.clientX), h = Number(u.clientY);
760
769
  if (Math.abs(l - r.x) < 5 && Math.abs(h - r.y) < 5 || (a.push({ x: l, y: h }), c.push(T({ x: l, y: h }, this.clientWidth, this.clientHeight)), a.length < 3))
761
770
  return;
762
- const { control: d, end: g } = j(a);
763
- !d || !g || (I(r, d, g), r = g);
771
+ const { control: g, end: f } = j(a);
772
+ !g || !f || (I(r, g, f), r = f);
764
773
  }, e.onmouseup = (u) => {
765
774
  if (u.preventDefault(), r = null, a.length < 3)
766
775
  return;
767
776
  this.data[this.uuid] || (this.data[this.uuid] = []);
768
- const l = Date.now() - f, h = {
777
+ const l = Date.now() - d, h = {
769
778
  move: Object.assign({}, o),
770
779
  uuid: this.uuid,
771
780
  line: [...c],
@@ -775,7 +784,7 @@ class q extends K {
775
784
  };
776
785
  this.data[this.uuid].push(h), P(() => {
777
786
  this.emitStateChange({
778
- type: M.Drawline,
787
+ type: y.Drawline,
779
788
  color: this.color,
780
789
  ready: this.ready,
781
790
  state: h,
@@ -783,7 +792,7 @@ class q extends K {
783
792
  });
784
793
  });
785
794
  }, e.ontouchstart = (u) => {
786
- u.preventDefault(), f = Date.now();
795
+ u.preventDefault(), d = Date.now();
787
796
  const l = u.touches[0].clientX, h = u.touches[0].clientY;
788
797
  a = [], a.push({ x: l, y: h }), r = { x: l, y: h }, o = T({ x: l, y: h }, this.clientWidth, this.clientHeight), c = [];
789
798
  }, e.ontouchmove = (u) => {
@@ -792,13 +801,13 @@ class q extends K {
792
801
  const l = Number(u.touches[0].clientX), h = Number(u.touches[0].clientY);
793
802
  if (Math.abs(l - r.x) < 5 && Math.abs(h - r.y) < 5 || (a.push({ x: l, y: h }), c.push(T({ x: l, y: h }, this.clientWidth, this.clientHeight)), a.length < 3))
794
803
  return;
795
- const { control: d, end: g } = j(a);
796
- !d || !g || (I(r, d, g), r = g);
804
+ const { control: g, end: f } = j(a);
805
+ !g || !f || (I(r, g, f), r = f);
797
806
  }, e.ontouchend = e.ontouchcancel = (u) => {
798
807
  if (u.preventDefault(), r = null, a.length < 3)
799
808
  return;
800
809
  this.data[this.uuid] || (this.data[this.uuid] = []);
801
- const l = Date.now() - f, h = {
810
+ const l = Date.now() - d, h = {
802
811
  move: Object.assign({}, o),
803
812
  line: [...c],
804
813
  uuid: this.uuid,
@@ -808,7 +817,7 @@ class q extends K {
808
817
  };
809
818
  this.data[this.uuid].push(h), P(() => {
810
819
  this.emitStateChange({
811
- type: M.Drawline,
820
+ type: y.Drawline,
812
821
  color: this.color,
813
822
  ready: this.ready,
814
823
  state: h,
@@ -818,7 +827,7 @@ class q extends K {
818
827
  };
819
828
  }
820
829
  emitStateChange(e, n = !0) {
821
- if (e.type !== M.Drawline) {
830
+ if (e.type !== y.Drawline) {
822
831
  this.emit("stateChange", e, n);
823
832
  return;
824
833
  }
@@ -859,13 +868,13 @@ class q extends K {
859
868
  }
860
869
  if (this.ready)
861
870
  switch (s) {
862
- case M.Drawline:
871
+ case y.Drawline:
863
872
  const { state: a, timestamp: o, end: c } = e;
864
873
  if (!o || !a)
865
874
  return;
866
875
  this.tempLine[o] = [].concat(this.tempLine[o] || [], a.line), c && (Object.assign(a, { line: this.tempLine[o] }), this.handleDrawLine(r, a, {}, () => delete this.tempLine[o]));
867
876
  break;
868
- case M.Undo:
877
+ case y.Undo:
869
878
  this.handleUndo(r);
870
879
  break;
871
880
  }
@@ -877,18 +886,18 @@ class q extends K {
877
886
  const o = this.canvas[e].getContext("2d");
878
887
  if (!o)
879
888
  return;
880
- const { line: c = [], color: f = "black", duration: I = 0, uuid: u } = n, l = L(n.move || {}, this.clientWidth, this.clientHeight);
889
+ const { line: c = [], color: d = "black", duration: I = 0, uuid: u } = n, l = L(n.move || {}, this.clientWidth, this.clientHeight);
881
890
  let h = [l];
882
- if (o.strokeStyle = f, o.beginPath(), o.moveTo(l.x, l.y), I && !s) {
883
- let d = [];
884
- const g = this;
885
- g.tween = F({ step: 0 }, { step: c.length - 1 }, I).onUpdate(({ step: p }) => {
886
- var b;
887
- if (g.tweening = !0, !g.ready)
888
- return o.clearRect(0, 0, g.canvas[u].width, g.canvas[u].height), (b = g.tween) == null ? void 0 : b.stop();
889
- const _ = Math.floor(p);
890
- if (!d.find((D) => D === _)) {
891
- if (d.push(_), h.push(L(c[_], g.clientWidth, g.clientHeight)), h.length < 3)
891
+ if (o.strokeStyle = d, o.beginPath(), o.moveTo(l.x, l.y), I && !s) {
892
+ let g = [];
893
+ const f = this;
894
+ f.tween = F({ step: 0 }, { step: c.length - 1 }, I).onUpdate(({ step: p }) => {
895
+ var v;
896
+ if (f.tweening = !0, !f.ready)
897
+ return o.clearRect(0, 0, f.canvas[u].width, f.canvas[u].height), (v = f.tween) == null ? void 0 : v.stop();
898
+ const A = Math.floor(p);
899
+ if (!g.find((D) => D === A)) {
900
+ if (g.push(A), h.push(L(c[A], f.clientWidth, f.clientHeight)), h.length < 3)
892
901
  return;
893
902
  const { control: D, end: O } = j(h);
894
903
  if (!D || !O)
@@ -896,14 +905,14 @@ class q extends K {
896
905
  o.quadraticCurveTo(D.x, D.y, O.x, O.y), o.stroke();
897
906
  }
898
907
  }).onComplete((p) => {
899
- g.tween = void 0, g.tweening = !1, d = [], h = [], r && r(), a();
908
+ f.tween = void 0, f.tweening = !1, g = [], h = [], r && r(), a();
900
909
  });
901
910
  } else {
902
- for (let d = 0; d < c.length; d++) {
903
- if (h.push(L(c[d], this.clientWidth, this.clientHeight)), h.length < 3)
911
+ for (let g = 0; g < c.length; g++) {
912
+ if (h.push(L(c[g], this.clientWidth, this.clientHeight)), h.length < 3)
904
913
  continue;
905
- const { control: g, end: p } = j(h);
906
- !g || !p || o.quadraticCurveTo(g.x, g.y, p.x, p.y);
914
+ const { control: f, end: p } = j(h);
915
+ !f || !p || o.quadraticCurveTo(f.x, f.y, p.x, p.y);
907
916
  }
908
917
  o.stroke(), h = [], r && r(), a();
909
918
  }
@@ -981,5 +990,5 @@ class tt {
981
990
  }
982
991
  export {
983
992
  tt as PaintBrush,
984
- M as PaintBrushTypeEnum
993
+ y as PaintBrushTypeEnum
985
994
  };
@@ -23,6 +23,23 @@ export declare class PanoVideoPluginController extends BasePlugin.Controller<Plu
23
23
  * - 如果遇到不能自动播放的问题,需要放到用户交互事件中调用。
24
24
  */
25
25
  lookAtVideoItemByRenderID(id: string): void;
26
+ /**
27
+ * 取消静音。
28
+ *
29
+ * 大部分浏览器需要用户交互后才能开启视频声音。
30
+ *
31
+ * 如果需要取消静音,建议在用户交互事件中调用本方法。
32
+ *
33
+ * 例如:
34
+ *
35
+ * ```jsx
36
+ * onClick={() => {
37
+ * panoVideoPluginController.lookAtVideoItemByRenderID('xxx')
38
+ * panoVideoPluginController.unmuteByRenderID('xxx')
39
+ * }}
40
+ * ```
41
+ */
42
+ unmuteByRenderID(id: string): void;
26
43
  /** 为一个点位添加视频(可以是多条)。 */
27
44
  add(panoIndex: number, videoItems: VideoItem[]): void;
28
45
  /** 根据 VideoItem render_id 删除某个视频。 */
@@ -46,6 +46,12 @@ export declare class VideoMeshController {
46
46
  private renderFiveDisposer?;
47
47
  /** 初始化视频、模型以及相关事件监听。 */
48
48
  constructor(five: Five, params: VideoMeshParams);
49
+ /**
50
+ * 取消静音
51
+ *
52
+ * @warning 需要注意:由于大部分浏览器的限制,视频的声音必须在用户有交互事件后才能开启,否则会被浏览器禁用视频播放。
53
+ */
54
+ unmute: () => void;
49
55
  /** 彻底销毁,不响应之后的任何事件 */
50
56
  dispose(): void;
51
57
  enable(): void;