@realsee/dnalogel 3.36.1 → 3.36.3

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 (393) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +1 -0
  3. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -10
  4. package/dist/PanoVideoPlugin/VideoMeshController.d.ts +7 -1
  5. package/dist/PanoVideoPlugin/typings.d.ts +6 -0
  6. package/dist/index.cjs.js +5 -5
  7. package/dist/index.js +21 -5
  8. package/dist/index.umd.js +5 -5
  9. package/docs/assets/search.js +1 -1
  10. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  11. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  12. package/docs/classes/CSS3DRender.html +3 -3
  13. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  14. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  15. package/docs/classes/ModelMakerPluginInstance.html +3 -3
  16. package/docs/classes/ModelRoomLabelController.html +3 -3
  17. package/docs/classes/MoveController.html +3 -3
  18. package/docs/classes/Object3DHelperController.html +3 -3
  19. package/docs/classes/PaintBrush.html +3 -3
  20. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  21. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  22. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  23. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  24. package/docs/classes/PanoTagPluginController.html +25 -25
  25. package/docs/classes/Sculpt.html +3 -3
  26. package/docs/classes/Util.BetterTween.html +3 -3
  27. package/docs/classes/Util.Interval.html +3 -3
  28. package/docs/classes/Util.LineSegments.html +3 -3
  29. package/docs/classes/Util.Magnifier.html +3 -3
  30. package/docs/classes/Util.Object3D.html +3 -3
  31. package/docs/classes/Util.PointDomHelper.html +3 -3
  32. package/docs/classes/Util.PointHelper.html +3 -3
  33. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  34. package/docs/classes/Util.Rectangle.html +3 -3
  35. package/docs/classes/WalkController.html +3 -3
  36. package/docs/enums/CameraMovementEffect.html +3 -3
  37. package/docs/enums/ContentType.html +3 -3
  38. package/docs/enums/DIRECTION.html +3 -3
  39. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  40. package/docs/enums/DimensionType.html +3 -3
  41. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  42. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  43. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  44. package/docs/enums/PointType.html +3 -3
  45. package/docs/enums/Rotation.html +3 -3
  46. package/docs/functions/AreaMakerPlugin.html +3 -3
  47. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  48. package/docs/functions/CameraMovementPlugin.html +3 -3
  49. package/docs/functions/CruisePlugin.html +3 -3
  50. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  51. package/docs/functions/GuideLinePlugin.html +3 -3
  52. package/docs/functions/ItemLabelPlugin.html +3 -3
  53. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  54. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  55. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  56. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  57. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  58. package/docs/functions/ModelMakerPlugin.html +3 -3
  59. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  60. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  61. package/docs/functions/ModelViewPlugin.html +3 -3
  62. package/docs/functions/MovePlugin.html +3 -3
  63. package/docs/functions/Object3DHelperPlugin.html +3 -3
  64. package/docs/functions/PanoCompassPlugin.html +3 -3
  65. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  66. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  67. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  68. package/docs/functions/PanoMeasurePlugin.html +3 -3
  69. package/docs/functions/PanoRulerPlugin.html +3 -3
  70. package/docs/functions/PanoRulerProPlugin.html +3 -3
  71. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  72. package/docs/functions/PanoTagPlugin.html +3 -3
  73. package/docs/functions/PanoVideoPlugin.html +3 -3
  74. package/docs/functions/PipelinePlugin.html +3 -3
  75. package/docs/functions/SculptPlugin.html +3 -3
  76. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  77. package/docs/functions/Util.absoluteUrl.html +3 -3
  78. package/docs/functions/Util.blink.html +3 -3
  79. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  80. package/docs/functions/Util.equal.html +3 -3
  81. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  82. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  83. package/docs/functions/Util.getFrameTime.html +3 -3
  84. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  85. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  86. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  87. package/docs/functions/Util.isModelLike.html +3 -3
  88. package/docs/functions/Util.isNil.html +3 -3
  89. package/docs/functions/Util.isPanoramaLike.html +3 -3
  90. package/docs/functions/Util.nextFrame.html +3 -3
  91. package/docs/functions/Util.notNil.html +3 -3
  92. package/docs/functions/Util.reblink.html +3 -3
  93. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  94. package/docs/functions/Util.tweenProgress.html +3 -3
  95. package/docs/functions/Util.uuid.html +3 -3
  96. package/docs/functions/pluginFlag.html +3 -3
  97. package/docs/index.html +4 -4
  98. package/docs/interfaces/AddTagConfig.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  101. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  102. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  103. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  104. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  105. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  106. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  107. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  108. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  109. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  110. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  111. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  112. package/docs/interfaces/ContentTypeMapInterface.html +8 -26
  113. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  114. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  115. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  116. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  117. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  118. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  119. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  120. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  121. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  122. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  123. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  124. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  125. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  126. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  127. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  128. package/docs/interfaces/EventMap.html +3 -3
  129. package/docs/interfaces/FloorplanBounding.html +3 -3
  130. package/docs/interfaces/FloorplanData.html +3 -3
  131. package/docs/interfaces/FloorplanEntrance.html +3 -3
  132. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  133. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  134. package/docs/interfaces/FloorplanFloorData.html +3 -3
  135. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  136. package/docs/interfaces/FloorplanObserver.html +3 -3
  137. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  138. package/docs/interfaces/FloorplanPosition.html +3 -3
  139. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  140. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  141. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  142. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  143. package/docs/interfaces/FloorplanServerData.html +3 -3
  144. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  145. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  146. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  147. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  148. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  149. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  150. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  151. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  152. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  153. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  154. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  155. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  156. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  163. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  164. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  165. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  166. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  167. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  168. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  169. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  170. package/docs/interfaces/HelperOffset.html +3 -3
  171. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  172. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  173. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  174. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  175. package/docs/interfaces/MinMax.html +3 -3
  176. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  177. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  178. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  179. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  180. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  181. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  182. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  183. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  184. package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
  185. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  186. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  187. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  188. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  189. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  190. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  191. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  192. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  193. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  194. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  195. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  196. package/docs/interfaces/Object3DHelperState.html +3 -3
  197. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  198. package/docs/interfaces/PaintBrushAction.html +3 -3
  199. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  200. package/docs/interfaces/PaintBrushState.html +3 -3
  201. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  202. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  203. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  204. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  205. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  206. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  207. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  208. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  209. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  210. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  211. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  212. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  213. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  214. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  215. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  216. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  217. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  218. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  219. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  220. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  221. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  222. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  223. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  224. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  225. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  226. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  227. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +48 -14
  228. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  229. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  230. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  231. package/docs/interfaces/Point.html +3 -3
  232. package/docs/interfaces/Room.html +3 -3
  233. package/docs/interfaces/RoomInfo.html +3 -3
  234. package/docs/interfaces/RoomLabel.html +3 -3
  235. package/docs/interfaces/RoomRules.html +3 -3
  236. package/docs/interfaces/Rooms.html +3 -3
  237. package/docs/interfaces/Scissor.html +3 -3
  238. package/docs/interfaces/State.html +3 -3
  239. package/docs/interfaces/TagCacheInterface.html +3 -3
  240. package/docs/interfaces/TagConfig.html +3 -3
  241. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  242. package/docs/interfaces/TagIconUrl.html +3 -3
  243. package/docs/interfaces/TagObjectGroup.html +3 -3
  244. package/docs/interfaces/TagStyle.html +3 -3
  245. package/docs/interfaces/Tags.html +3 -3
  246. package/docs/interfaces/TemporaryState.html +3 -3
  247. package/docs/interfaces/Util.BlinkAnimeOptions.html +3 -3
  248. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  249. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  250. package/docs/interfaces/Util.PointIntersection.html +3 -3
  251. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  252. package/docs/modules/AreaMakerPluginType.html +3 -3
  253. package/docs/modules/CruisePluginTypes.html +3 -3
  254. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  255. package/docs/modules/GuideLineItem.html +3 -3
  256. package/docs/modules/GuideLineModeItem.html +3 -3
  257. package/docs/modules/GuideLinePluginType.html +3 -3
  258. package/docs/modules/ModelMakerPluginType.html +3 -3
  259. package/docs/modules/PanoVideoPluginType.html +3 -3
  260. package/docs/modules/SculptData.html +3 -3
  261. package/docs/modules/Util.html +3 -3
  262. package/docs/modules.html +4 -4
  263. package/docs/types/AddObject3DHelperConfig.html +3 -3
  264. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  265. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  266. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  267. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  268. package/docs/types/ArrayPosition.html +3 -3
  269. package/docs/types/AudioAppearance.html +3 -3
  270. package/docs/types/CSS3DRenderExportType.html +3 -3
  271. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  272. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  273. package/docs/types/ClassFunctionParameters.html +3 -3
  274. package/docs/types/Color.html +3 -3
  275. package/docs/types/ContentTypeConfigKey.html +3 -3
  276. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  277. package/docs/types/ContentTypeMap.html +4 -4
  278. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  279. package/docs/types/Create3DElementReturnType.html +3 -3
  280. package/docs/types/CruisePluginExportType.html +3 -3
  281. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  282. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  283. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  284. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  285. package/docs/types/DeprecatedTagProperty.html +3 -3
  286. package/docs/types/Direction-1.html +3 -3
  287. package/docs/types/Direction4.html +3 -3
  288. package/docs/types/ElementRenderer.html +3 -3
  289. package/docs/types/FloorplanRuleLabels.html +3 -3
  290. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  291. package/docs/types/GuideLinePluginExportType.html +3 -3
  292. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  293. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  294. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  295. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  296. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  297. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  298. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  299. package/docs/types/HelperEventMap.html +3 -3
  300. package/docs/types/InternalHelperEventMap.html +3 -3
  301. package/docs/types/LoadTagConfig.html +3 -3
  302. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  303. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  304. package/docs/types/MediaData.html +3 -3
  305. package/docs/types/MediaStore.html +3 -3
  306. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  307. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  308. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  309. package/docs/types/ModelId.html +3 -3
  310. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  311. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  312. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  313. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  314. package/docs/types/MoveArgs.html +3 -3
  315. package/docs/types/MoveOpts.html +3 -3
  316. package/docs/types/Object3DHelperEventMap.html +3 -3
  317. package/docs/types/ObjectFit.html +3 -3
  318. package/docs/types/PaintBrushEventMap.html +3 -3
  319. package/docs/types/PanoCompassPluginData.html +3 -3
  320. package/docs/types/PanoCompassPluginExportType.html +3 -3
  321. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  322. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  323. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  324. package/docs/types/PanoIndex.html +3 -3
  325. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  326. package/docs/types/PanoMeasureReturnType.html +3 -3
  327. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  328. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  329. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  330. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  331. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  332. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  333. package/docs/types/PipelinePluginParameterType.html +3 -3
  334. package/docs/types/PipelinePluginReturnType.html +3 -3
  335. package/docs/types/PlaneTag.html +3 -3
  336. package/docs/types/Point2DTag.html +3 -3
  337. package/docs/types/Point3DTag.html +3 -3
  338. package/docs/types/PointTag.html +3 -3
  339. package/docs/types/PointTagInstance.html +3 -3
  340. package/docs/types/Position.html +3 -3
  341. package/docs/types/PositionFrom.html +3 -3
  342. package/docs/types/RotateArgs.html +3 -3
  343. package/docs/types/RotateOpts.html +3 -3
  344. package/docs/types/RuleLabelsKey.html +3 -3
  345. package/docs/types/RuleLabelsValue.html +3 -3
  346. package/docs/types/ScaleCallback.html +3 -3
  347. package/docs/types/ScalePosition.html +3 -3
  348. package/docs/types/SculptData.BoxData.html +3 -3
  349. package/docs/types/SculptData.CircleData.html +3 -3
  350. package/docs/types/SculptData.CylinderData.html +3 -3
  351. package/docs/types/SculptData.PointData.html +3 -3
  352. package/docs/types/SculptData.PolygonData.html +3 -3
  353. package/docs/types/SculptData.PolylineData.html +3 -3
  354. package/docs/types/SculptData.PrismData.html +3 -3
  355. package/docs/types/SculptData.RectangleData.html +3 -3
  356. package/docs/types/StickType.html +3 -3
  357. package/docs/types/Tag.html +3 -3
  358. package/docs/types/Tag2D.html +3 -3
  359. package/docs/types/Tag3D.html +3 -3
  360. package/docs/types/TagConfigByKey.html +3 -3
  361. package/docs/types/TagContentType.html +3 -3
  362. package/docs/types/TagContentTypeMapping.html +3 -3
  363. package/docs/types/TagDimensionType.html +3 -3
  364. package/docs/types/TagElement.html +3 -3
  365. package/docs/types/TagEvents.html +3 -3
  366. package/docs/types/TagGLTFObject.html +3 -3
  367. package/docs/types/TagHooks.html +3 -3
  368. package/docs/types/TagId.html +3 -3
  369. package/docs/types/TagInstance.html +3 -3
  370. package/docs/types/TagPointType.html +3 -3
  371. package/docs/types/TagRendererMap.html +3 -3
  372. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  373. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  374. package/docs/types/WorkCode.html +3 -3
  375. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  376. package/docs/variables/PLUGIN.html +3 -3
  377. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  378. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  379. package/docs/variables/defaultGlobalConfig.html +3 -3
  380. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  381. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  382. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  383. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +1 -0
  384. package/libs/PanoTagPlugin/controller/TagUtil.js +76 -72
  385. package/libs/PanoTagPlugin/controller/index.js +23 -22
  386. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -10
  387. package/libs/PanoVideoPlugin/Controller.js +2 -0
  388. package/libs/PanoVideoPlugin/VideoMeshController.d.ts +7 -1
  389. package/libs/PanoVideoPlugin/VideoMeshController.js +29 -20
  390. package/libs/PanoVideoPlugin/typings.d.ts +6 -0
  391. package/libs/base/BasePlugin.js +1 -1
  392. package/libs/shared-utils/logger.js +1 -1
  393. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.36.1</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.36.3</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,7 +6,7 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.36.1</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.36.3</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-content">
@@ -38,7 +38,7 @@
38
38
  <div class="tsd-theme-toggle">
39
39
  <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
40
40
  <div class="site-menu">
41
- <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.36.1</span></a>
41
+ <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.36.3</span></a>
42
42
  <ul class="tsd-small-nested-navigation">
43
43
  <li><a href="../modules.html#CruisePluginController"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g></svg><span>Cruise<wbr/>Plugin<wbr/>Controller</span></a></li>
44
44
  <li><a href="../modules.html#Magnifier"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8388608"></use></svg><span>Magnifier</span></a></li>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.36.1</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.36.3</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,7 +6,7 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.36.1</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.36.3</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-content">
@@ -38,7 +38,7 @@
38
38
  <div class="tsd-theme-toggle">
39
39
  <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
40
40
  <div class="site-menu">
41
- <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.36.1</span></a>
41
+ <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.36.3</span></a>
42
42
  <ul class="tsd-small-nested-navigation">
43
43
  <li><a href="../modules.html#CruisePluginController"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g></svg><span>Cruise<wbr/>Plugin<wbr/>Controller</span></a></li>
44
44
  <li><a href="../modules.html#Magnifier"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8388608"></use></svg><span>Magnifier</span></a></li>
@@ -79,6 +79,7 @@ export declare abstract class TagUtil extends TagCache {
79
79
  protected addObjectClickHandler(tag: TagInstance, object: THREE.Object3D | undefined, handler: (event: Event) => any): () => void;
80
80
  protected getTagNormal(tag: TagInstance): THREE.Vector3 | undefined;
81
81
  protected getTransformedPostion(position: Tag['position']): THREE.Vector3 | [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3];
82
+ protected getTransformedMatrix(matrix: number[]): number[];
82
83
  /**
83
84
  * @description 检查是否已经销毁
84
85
  * @returns isDisposed; 已经销毁返回 true,否则返回 false
@@ -1,40 +1,40 @@
1
- var Z = Object.defineProperty, q = Object.defineProperties;
2
- var K = Object.getOwnPropertyDescriptors;
1
+ var q = Object.defineProperty, K = Object.defineProperties;
2
+ var Q = Object.getOwnPropertyDescriptors;
3
3
  var L = Object.getOwnPropertySymbols;
4
- var Q = Object.prototype.hasOwnProperty, Y = Object.prototype.propertyIsEnumerable;
5
- var _ = (l, s, e) => s in l ? Z(l, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[s] = e, D = (l, s) => {
4
+ var Y = Object.prototype.hasOwnProperty, ee = Object.prototype.propertyIsEnumerable;
5
+ var _ = (l, s, e) => s in l ? q(l, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[s] = e, D = (l, s) => {
6
6
  for (var e in s || (s = {}))
7
- Q.call(s, e) && _(l, e, s[e]);
7
+ Y.call(s, e) && _(l, e, s[e]);
8
8
  if (L)
9
9
  for (var e of L(s))
10
- Y.call(s, e) && _(l, e, s[e]);
10
+ ee.call(s, e) && _(l, e, s[e]);
11
11
  return l;
12
- }, U = (l, s) => q(l, K(s));
12
+ }, U = (l, s) => K(l, Q(s));
13
13
  var f = (l, s, e) => (_(l, typeof s != "symbol" ? s + "" : s, e), e);
14
- import { defaultGlobalConfig as ee } from "../typings/tag/TagConfig.js";
15
- import { objectAssignDeepExports as P } from "../../vendor/object-assign-deep/objectAssignDeep.js";
16
- import * as ie from "three";
14
+ import { defaultGlobalConfig as ie } from "../typings/tag/TagConfig.js";
15
+ import { objectAssignDeepExports as y } from "../../vendor/object-assign-deep/objectAssignDeep.js";
16
+ import * as V from "three";
17
17
  import { DefaultConfig as te } from "../tag.config.js";
18
- import { anyPositionToVector3 as y } from "../../shared-utils/positionToVector3.js";
19
- import { planeNormal as E } from "../utils/planeNormal.js";
20
- import { getTagCenterPosition as V } from "../utils/tagPosition.js";
18
+ import { anyPositionToVector3 as P } from "../../shared-utils/positionToVector3.js";
19
+ import { planeNormal as w } from "../utils/planeNormal.js";
20
+ import { getTagCenterPosition as B } from "../utils/tagPosition.js";
21
21
  import { normalPositionToPositions as oe } from "../utils/normalPositionToPositions.js";
22
- import { TagCache as ne } from "./TagCache.js";
23
- import { writable as re } from "../../vendor/svelte/store/index.js";
22
+ import { TagCache as re } from "./TagCache.js";
23
+ import { writable as ne } from "../../vendor/svelte/store/index.js";
24
24
  import { isIOSWX as se } from "../../shared-utils/device.js";
25
25
  import { CSS3DRenderPlugin as fe } from "../../CSS3DRenderPlugin/index.js";
26
26
  import { Five as ae } from "@realsee/five";
27
- import { isMediaPlaneTag as ce, isMediaModelTag as B, isPlaneTag as le, isPoint3DTag as de } from "../utils/tag/tagCheck.js";
27
+ import { isMediaPlaneTag as ce, isMediaModelTag as N, isPlaneTag as le, isPoint3DTag as de } from "../utils/tag/tagCheck.js";
28
28
  import { VideoPlane as ue } from "../utils/model/mediaPlane.js";
29
29
  import { FiveDomEvents as me } from "../../shared-utils/five/FiveDomEvents.js";
30
- import N from "../utils/tag/adaptConfig.js";
31
- import { isPanoramaLike as w, isModelLike as z } from "../../shared-utils/five/mode.js";
30
+ import z from "../utils/tag/adaptConfig.js";
31
+ import { isPanoramaLike as E, isModelLike as $ } from "../../shared-utils/five/mode.js";
32
32
  import "hammerjs";
33
33
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
34
34
  import "animejs";
35
- import { entries as $ } from "../../shared-utils/typescript/entries.js";
36
- import { getUrlExt as H } from "../../shared-utils/url/getUrl.js";
37
- import { transformPosition as J } from "../../shared-utils/five/transformPosition.js";
35
+ import { entries as H } from "../../shared-utils/typescript/entries.js";
36
+ import { getUrlExt as J } from "../../shared-utils/url/getUrl.js";
37
+ import { transformPosition as G } from "../../shared-utils/five/transformPosition.js";
38
38
  import { WorkUtil as he } from "../../shared-utils/Utils/WorkUtil.js";
39
39
  import "../../shared-utils/three/centerPoint.js";
40
40
  import "../../base/BasePlugin.js";
@@ -66,7 +66,7 @@ import "../../shared-utils/three/FragmentTransparencyMaterial.js";
66
66
  import "../../shared-utils/three/getNormal.js";
67
67
  import "../../shared-utils/five/calculateThreeMouse.js";
68
68
  import "../../shared-utils/Utils/BaseUtil.js";
69
- class gi extends ne {
69
+ class gi extends re {
70
70
  constructor(e) {
71
71
  super(e);
72
72
  f(this, "tags", []);
@@ -74,7 +74,7 @@ class gi extends ne {
74
74
  f(this, "workUtil", new he(this.five));
75
75
  /** 插件参数 */
76
76
  f(this, "params");
77
- f(this, "mediaStore", re({
77
+ f(this, "mediaStore", ne({
78
78
  currentMediaElement: null
79
79
  }));
80
80
  f(this, "store", {
@@ -174,9 +174,9 @@ class gi extends ne {
174
174
  * @description 获取标签配置
175
175
  */
176
176
  getTagConfig(e, i) {
177
- var r, a, d;
178
- const o = this.calculateTagConfig(e, { useCache: i == null ? void 0 : i.useCache }), t = (r = i == null ? void 0 : i.fiveMode) != null ? r : this.five.getCurrentState().mode, n = (a = o.configWithFiveMode) == null ? void 0 : a[t];
179
- return (d = n != null ? n : o) != null ? d : {};
177
+ var n, a, d;
178
+ const o = this.calculateTagConfig(e, { useCache: i == null ? void 0 : i.useCache }), t = (n = i == null ? void 0 : i.fiveMode) != null ? n : this.five.getCurrentState().mode, r = (a = o.configWithFiveMode) == null ? void 0 : a[t];
179
+ return (d = r != null ? r : o) != null ? d : {};
180
180
  }
181
181
  /**
182
182
  * @description 获取标签当前状态
@@ -191,8 +191,8 @@ class gi extends ne {
191
191
  e.computedConfig = i;
192
192
  const o = this.getTagConfig(e);
193
193
  if (e.config = o, e.config.initialData) {
194
- const n = JSON.parse(JSON.stringify(e.data));
195
- e.data = (t = o.initialData) != null && t.important ? P(e.data, n, o.initialData) : P(e.data, o.initialData, n);
194
+ const r = JSON.parse(JSON.stringify(e.data));
195
+ e.data = (t = o.initialData) != null && t.important ? y(e.data, r, o.initialData) : y(e.data, o.initialData, r);
196
196
  }
197
197
  });
198
198
  }
@@ -228,10 +228,10 @@ class gi extends ne {
228
228
  if (t[0].type === "Video")
229
229
  return navigator.userAgent.toLowerCase().indexOf("firefox") > -1 && navigator.userAgent.toLowerCase().indexOf("mobile") > -1 ? "Dom" : "Mesh";
230
230
  if (t[0].type === "Image")
231
- return H(t[0].url) === "gif" ? "Dom" : "Mesh";
231
+ return J(t[0].url) === "gif" ? "Dom" : "Mesh";
232
232
  }
233
- } else if (B(e))
234
- return t.length === 1 && t[0].type === "Image" ? H(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
233
+ } else if (N(e))
234
+ return t.length === 1 && t[0].type === "Image" ? J(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
235
235
  }
236
236
  })();
237
237
  return i != null ? i : "Dom";
@@ -247,16 +247,16 @@ class gi extends ne {
247
247
  if (t.angle !== void 0)
248
248
  return t.angle;
249
249
  {
250
- const n = this.workUtil.getObserverPosition(o);
251
- if (n === void 0)
252
- throw new Error(`getAngle(): observerPosition is ${n}`);
253
- const r = (() => e.stickType === "3DPoint" ? y(e.normal) : E(e.position))();
254
- if (!r)
250
+ const r = this.workUtil.getObserverPosition(o);
251
+ if (r === void 0)
252
+ throw new Error(`getAngle(): observerPosition is ${r}`);
253
+ const n = (() => e.stickType === "3DPoint" ? P(e.normal) : w(e.position))();
254
+ if (!n)
255
255
  return;
256
- const a = V(e);
256
+ const a = B(e);
257
257
  if (!a)
258
258
  return;
259
- const d = new ie.Vector3().copy(n).sub(a), g = r.angleTo(d) * 180 / Math.PI;
259
+ const d = new V.Vector3().copy(r).sub(a), g = n.angleTo(d) * 180 / Math.PI;
260
260
  return t.angle = g, t.angle;
261
261
  }
262
262
  }
@@ -264,57 +264,61 @@ class gi extends ne {
264
264
  * @description 获取距离
265
265
  */
266
266
  getDistance(e, i) {
267
- const o = D(D({}, this.five.getCurrentState()), i), { panoIndex: t, mode: n } = o, r = w(n) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
268
- if ((r == null ? void 0 : r.distance) !== void 0)
269
- return r.distance;
270
- const a = V(e);
267
+ const o = D(D({}, this.five.getCurrentState()), i), { panoIndex: t, mode: r } = o, n = E(r) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
268
+ if ((n == null ? void 0 : n.distance) !== void 0)
269
+ return n.distance;
270
+ const a = B(e);
271
271
  if (!a)
272
272
  return -1;
273
- if (w(n)) {
273
+ if (E(r)) {
274
274
  const d = this.workUtil.getObserverPosition(t);
275
275
  if (d === void 0)
276
276
  return -1;
277
277
  const g = d.distanceTo(a);
278
- return r && (r.distance = g), g;
278
+ return n && (n.distance = g), g;
279
279
  }
280
- if (z(n))
280
+ if ($(r))
281
281
  return this.five.camera.position.distanceTo(a);
282
282
  }
283
283
  getPositions(e) {
284
284
  if (le(e))
285
285
  return e.position;
286
- if (B(e))
286
+ if (N(e))
287
287
  return e.data.mediaPosition;
288
288
  if (de(e))
289
- return oe(this.five.camera.position, y(e.position), y(e.normal));
289
+ return oe(this.five.camera.position, P(e.position), P(e.normal));
290
290
  }
291
291
  addObjectClickHandler(e, i, o) {
292
292
  if (!i || !this.domEvents)
293
293
  return () => {
294
294
  };
295
- const t = () => !(!this.getCurrentVisibleState(e) || e.loading), n = (r) => {
295
+ const t = () => !(!this.getCurrentVisibleState(e) || e.loading), r = (n) => {
296
296
  if (!t())
297
297
  return !1;
298
- o(r.origDomEvent);
298
+ o(n.origDomEvent);
299
299
  };
300
- return this.domEvents.addEventListener(i, "click", n), () => {
301
- var r;
302
- (r = this.domEvents) == null || r.removeEventListener(i, "click", n);
300
+ return this.domEvents.addEventListener(i, "click", r), () => {
301
+ var n;
302
+ (n = this.domEvents) == null || n.removeEventListener(i, "click", r);
303
303
  };
304
304
  }
305
305
  getTagNormal(e) {
306
306
  if (e.normal)
307
- return y(e.normal);
307
+ return P(e.normal);
308
308
  if (e.stickType === "Plane")
309
- return E(e.position);
309
+ return w(e.position);
310
310
  if (e.stickType === "Model")
311
- return E(this.getPositions(e));
311
+ return w(this.getPositions(e));
312
312
  }
313
313
  getTransformedPostion(e) {
314
314
  if (!e)
315
315
  return;
316
316
  const i = this.workUtil.transform;
317
- return Array.isArray(e) && e.length === 4 ? e.map(y).map((o) => J(o, i)) : J(y(e), i);
317
+ return Array.isArray(e) && e.length === 4 ? e.map(P).map((o) => G(o, i)) : G(P(e), i);
318
+ }
319
+ getTransformedMatrix(e) {
320
+ const i = new V.Matrix4().fromArray(e);
321
+ return i.premultiply(this.workUtil.transform), i.elements;
318
322
  }
319
323
  /**
320
324
  * @description 检查是否已经销毁
@@ -327,20 +331,20 @@ class gi extends ne {
327
331
  * @description 获取merge后的配置
328
332
  */
329
333
  calculateTagConfig(e, i) {
330
- var S, A, O, I, W;
334
+ var S, A, x, O, I;
331
335
  const o = (S = i == null ? void 0 : i.useCache) != null ? S : !0;
332
336
  if (!e)
333
337
  return (A = this.config.globalConfig) != null ? A : {};
334
338
  if (o) {
335
- if ((O = e == null ? void 0 : e.computedConfig) != null && O._isMerged)
339
+ if ((x = e == null ? void 0 : e.computedConfig) != null && x._isMerged)
336
340
  return e.computedConfig;
337
- if ((I = e == null ? void 0 : e.config) != null && I._isMerged)
341
+ if ((O = e == null ? void 0 : e.config) != null && O._isMerged)
338
342
  return e.config;
339
343
  }
340
- const t = {}, n = {}, r = {};
344
+ const t = {}, r = {}, n = {};
341
345
  this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([u, m]) => {
342
- var x, R;
343
- const c = u, k = c.split("-"), j = u.startsWith("["), T = j ? k[0].slice(1, -1) : void 0, p = j ? k.slice(1) : k, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (x = n[T]) != null ? x : n[T] = {} : (R = r[T]) != null ? R : r[T] = {} : t;
346
+ var j, R;
347
+ const c = u, b = c.split("-"), W = u.startsWith("["), T = W ? b[0].slice(1, -1) : void 0, p = W ? b.slice(1) : b, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (j = r[T]) != null ? j : r[T] = {} : (R = n[T]) != null ? R : n[T] = {} : t;
344
348
  if (!v[c]) {
345
349
  if (p.length === 0 && (v[c] = m), p.length === 1) {
346
350
  const [h] = p;
@@ -351,25 +355,25 @@ class gi extends ne {
351
355
  h === "Mixin" && e.contentType === M && (v[c] = m), (e.stickType === h || h === "Any") && (e.contentType === M || M === "Any") && (v[c] = m);
352
356
  }
353
357
  if (p.length === 3) {
354
- const [h = "Any", M, X] = p;
358
+ const [h = "Any", M, Z] = p;
355
359
  if (M === "Audio" && e.contentType === "Audio") {
356
360
  const F = e;
357
- (F.stickType === h || h === "Any") && F.data.appearance === X && (v[c] = m);
361
+ (F.stickType === h || h === "Any") && F.data.appearance === Z && (v[c] = m);
358
362
  }
359
363
  }
360
364
  }
361
365
  });
362
- const a = (W = e.initialConfig) != null ? W : {}, d = P({}, ee, this.config.globalConfig, ...Object.values(t)), g = P({}, d, a), C = {}, G = Object.values(ae.Mode);
363
- $(n).forEach(([u, m]) => {
364
- G.forEach((c) => {
365
- (u === "PanoramaLike" && w(c) || u === "ModelLike" && z(c)) && (C[c] = P({}, d, ...Object.values(m), a, { _isMerged: !0 }));
366
+ const a = (I = e.initialConfig) != null ? I : {}, d = y({}, ie, this.config.globalConfig, ...Object.values(t)), g = y({}, d, a), C = {}, X = Object.values(ae.Mode);
367
+ H(r).forEach(([u, m]) => {
368
+ X.forEach((c) => {
369
+ (u === "PanoramaLike" && E(c) || u === "ModelLike" && $(c)) && (C[c] = y({}, d, ...Object.values(m), a, { _isMerged: !0 }));
366
370
  });
367
- }), $(r).forEach(([u, m]) => {
371
+ }), H(n).forEach(([u, m]) => {
368
372
  const c = C[u];
369
- C[u] = P({}, d, c, ...Object.values(m), a, { _isMerged: !0 });
373
+ C[u] = y({}, d, c, ...Object.values(m), a, { _isMerged: !0 });
370
374
  });
371
- const b = U(D({}, g), { configWithFiveMode: C });
372
- return N(b), Object.values(C).forEach((u) => N(u)), b._isMerged = !0, b;
375
+ const k = U(D({}, g), { configWithFiveMode: C });
376
+ return z(k), Object.values(C).forEach((u) => z(u)), k._isMerged = !0, k;
373
377
  }
374
378
  }
375
379
  export {
@@ -1,13 +1,13 @@
1
1
  var k = Object.defineProperty, E = Object.defineProperties;
2
2
  var F = Object.getOwnPropertyDescriptors;
3
3
  var P = Object.getOwnPropertySymbols;
4
- var R = Object.prototype.hasOwnProperty, M = Object.prototype.propertyIsEnumerable;
4
+ var M = Object.prototype.hasOwnProperty, R = Object.prototype.propertyIsEnumerable;
5
5
  var D = (d, a, e) => a in d ? k(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, c = (d, a) => {
6
6
  for (var e in a || (a = {}))
7
- R.call(a, e) && D(d, e, a[e]);
7
+ M.call(a, e) && D(d, e, a[e]);
8
8
  if (P)
9
9
  for (var e of P(a))
10
- M.call(a, e) && D(d, e, a[e]);
10
+ R.call(a, e) && D(d, e, a[e]);
11
11
  return d;
12
12
  }, C = (d, a) => E(d, F(a));
13
13
  var f = (d, a, e) => (D(d, typeof a != "symbol" ? a + "" : a, e), e);
@@ -29,14 +29,14 @@ var g = (d, a, e) => new Promise((t, i) => {
29
29
  });
30
30
  import * as A from "three";
31
31
  import { Subscribe as O } from "@realsee/five";
32
- import { objectAssignDeepExports as u } from "../../vendor/object-assign-deep/objectAssignDeep.js";
32
+ import { objectAssignDeepExports as m } from "../../vendor/object-assign-deep/objectAssignDeep.js";
33
33
  import { addDebugPoints as _ } from "../utils/addDebugPoints.js";
34
34
  import { arrayPositionToVector3 as w } from "../../shared-utils/positionToVector3.js";
35
35
  import { isMediaModelTag as L, isModelTag as G } from "../utils/tag/tagCheck.js";
36
36
  import { debounce as N } from "../utils/debounce.js";
37
37
  import { throttle as S } from "../utils/throttle.js";
38
- import z, { getTagStickType as W } from "../utils/tag/format.js";
39
- import { generateBlankAudio as $, AudioNamespace as x } from "../../shared-utils/audio.js";
38
+ import x, { getTagStickType as z } from "../utils/tag/format.js";
39
+ import { generateBlankAudio as W, AudioNamespace as $ } from "../../shared-utils/audio.js";
40
40
  import { resizeObserver as U } from "../../shared-utils/dom/resizeObserver.js";
41
41
  import { TagRender as j } from "./TagRender.js";
42
42
  import { uuid as J } from "../../shared-utils/uuid.js";
@@ -184,7 +184,7 @@ class Ni extends j {
184
184
  f(this, "debugUtil", new K(this));
185
185
  /** 更改 tag 模型 */
186
186
  f(this, "changeTagModel", (e, t) => g(this, null, function* () {
187
- e.data = u({}, e.data, t), yield this.loadModel(e), this.updateTag(e);
187
+ e.data = m({}, e.data, t), yield this.loadModel(e), this.updateTag(e);
188
188
  }));
189
189
  f(this, "whyHide", (e) => {
190
190
  var s;
@@ -274,7 +274,7 @@ class Ni extends j {
274
274
  f(this, "onFiveEveryReady", () => {
275
275
  this.setUnfoldedByCamera(), q(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 }), this.updateRenderVideoPlane(), this.updateRenderImagePlane(), this.updateTagModelVisible();
276
276
  });
277
- this.params = u({}, { debug: !1, config: this.config }, c({}, t)), this.debug = this.params.debug, this.config = this.params.config, $(1, { namespace: x.PlayAudio });
277
+ this.params = m({}, { debug: !1, config: this.config }, c({}, t)), this.debug = this.params.debug, this.config = this.params.config, W(1, { namespace: $.PlayAudio });
278
278
  try {
279
279
  Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), window.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), window.__PANOTAGPLUGIN_DEBUG__ || Object.defineProperty(window, "__PANOTAGPLUGIN_DEBUG__", {
280
280
  get: function() {
@@ -296,7 +296,7 @@ class Ni extends j {
296
296
  load(e, t) {
297
297
  return g(this, null, function* () {
298
298
  var s, o;
299
- this.clearTags(), console.debug(V, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = u({}, this.config, {
299
+ this.clearTags(), console.debug(V, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = m({}, this.config, {
300
300
  globalConfig: (s = e.globalConfig) != null ? s : {},
301
301
  contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
302
302
  }), this.store.visibleWithAnimation = !0;
@@ -317,7 +317,7 @@ class Ni extends j {
317
317
  return g(this, null, function* () {
318
318
  const s = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
319
319
  var b, v, T, y;
320
- o.stickType = W(o);
320
+ o.stickType = z(o);
321
321
  const r = JSON.parse(JSON.stringify(o.data)), n = (b = o.initialConfig) != null ? b : o.config ? JSON.parse(JSON.stringify(o.config)) : {};
322
322
  o.initialConfig = n;
323
323
  const h = this.calculateTagConfig(o), l = this.getTagConfig(o);
@@ -325,7 +325,7 @@ class Ni extends j {
325
325
  const p = C(c({}, o), {
326
326
  enabled: (v = o.enabled) != null ? v : !0,
327
327
  id: (T = o.id) != null ? T : J(),
328
- data: (y = l.initialData) != null && y.important ? u(o.data, r, l.initialData) : u(o.data, l.initialData, r),
328
+ data: (y = l.initialData) != null && y.important ? m(o.data, r, l.initialData) : m(o.data, l.initialData, r),
329
329
  state: c({
330
330
  visible: void 0,
331
331
  unfolded: !this.can("fold", o)
@@ -333,9 +333,10 @@ class Ni extends j {
333
333
  hooks: new O(),
334
334
  originPosition: o.position,
335
335
  position: (() => {
336
- const m = this.getTransformedPostion(o.position);
337
- return Array.isArray(m) ? m.map((B) => B.toArray()) : m.toArray();
336
+ const u = this.getTransformedPostion(o.position);
337
+ return Array.isArray(u) ? u.map((B) => B.toArray()) : u.toArray();
338
338
  })(),
339
+ matrix: o.matrix ? this.getTransformedMatrix(o.matrix) : o.matrix,
339
340
  initialConfig: n,
340
341
  computedConfig: h,
341
342
  config: l,
@@ -344,13 +345,13 @@ class Ni extends j {
344
345
  enable: () => this.changeEnabledById(p.id, !0),
345
346
  disable: () => this.changeEnabledById(p.id, !1),
346
347
  destroy: () => this.destroyTagById(p.id),
347
- changeData: (m) => this.changeDataById(p.id, m),
348
- changePosition: (m) => this.changePositionById(p.id, m),
349
- blink: (m) => this.blinkTagById(p.id, m)
348
+ changeData: (u) => this.changeDataById(p.id, u),
349
+ changePosition: (u) => this.changePositionById(p.id, u),
350
+ blink: (u) => this.blinkTagById(p.id, u)
350
351
  });
351
352
  return p;
352
353
  });
353
- return s.forEach(z), this.tags.push(...s), this.tagsLengthWillUpdate = !0, H(this.five).then(() => g(this, null, function* () {
354
+ return s.forEach(x), this.tags.push(...s), this.tagsLengthWillUpdate = !0, H(this.five).then(() => g(this, null, function* () {
354
355
  var o, r, n;
355
356
  this.store.eventListenerDisposer && ((r = (o = this.store).eventListenerDisposer) == null || r.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(s), this.setVisibleAndUnfolded({ withAnimation: (n = t == null ? void 0 : t.withAnimation) != null ? n : !0 }), this.updateRenderAllTags();
356
357
  }));
@@ -360,19 +361,19 @@ class Ni extends j {
360
361
  * @description 改变配置
361
362
  */
362
363
  changeConfig(e, t = !0) {
363
- t ? this.config = u({}, this.config, e) : this.config = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
364
+ t ? this.config = m({}, this.config, e) : this.config = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
364
365
  }
365
366
  /**
366
367
  * @description 改变全局配置
367
368
  */
368
369
  changeGlobalConfig(e, t = !0) {
369
- t ? this.config.globalConfig = u({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
370
+ t ? this.config.globalConfig = m({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
370
371
  }
371
372
  /**
372
373
  * @description 改变类型配置
373
374
  */
374
375
  changeContentTypeConfig(e, t, i = !0) {
375
- this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = u({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
376
+ this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = m({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
376
377
  }
377
378
  show(e) {
378
379
  return g(this, null, function* () {
@@ -502,7 +503,7 @@ class Ni extends j {
502
503
  changeDataById(e, t, i = !0) {
503
504
  const s = this.getTagById(e);
504
505
  let o = !1;
505
- s && (s.data && (o = !0), i ? s.data = u(s.data, t) : s.data = c(c({}, s.data), t), this.clearUnusedPanelTag(), this.updateTag(s), o && s.hooks.emit("dataChanged", s.data));
506
+ s && (s.data && (o = !0), i ? s.data = m(s.data, t) : s.data = c(c({}, s.data), t), this.clearUnusedPanelTag(), this.updateTag(s), o && s.hooks.emit("dataChanged", s.data));
506
507
  }
507
508
  /**
508
509
  * @description 改变tag的stickType
@@ -516,7 +517,7 @@ class Ni extends j {
516
517
  changeTagById(e, t, i = !0) {
517
518
  const s = this.getTagById(e);
518
519
  let o = !1;
519
- t && (this.tagsLengthWillUpdate = !0, t.data && (o = !0), i ? u(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = w(t.normal)), this.clearCacheById(e), this.setVisible(), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
520
+ t && (this.tagsLengthWillUpdate = !0, t.data && (o = !0), i ? m(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = w(t.normal)), this.clearCacheById(e), this.setVisible(), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
520
521
  }
521
522
  /**
522
523
  * @description 销毁tag
@@ -140,21 +140,11 @@ export interface ContentTypeMapInterface {
140
140
  modelUrl: string;
141
141
  mediaData: MediaData[];
142
142
  mediaPosition: [Position, Position, Position, Position];
143
- matrix?: number[];
144
143
  /** 多媒体在容器中的适配规则 {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
145
144
  objectFit?: ObjectFit;
146
- action?: {
147
- url: string;
148
- type: 'iframe' | 'window';
149
- };
150
145
  };
151
146
  Model: {
152
147
  modelUrl: string;
153
- matrix?: number[];
154
- action?: {
155
- url?: string;
156
- type: 'iframe' | 'window' | 'custom';
157
- };
158
148
  };
159
149
  Custom: Object;
160
150
  Unknown: Object;
@@ -69,6 +69,7 @@ class T extends _ {
69
69
  new c(this.five, d(a({}, h), {
70
70
  panoIndex: u,
71
71
  renderID: g,
72
+ hooks: this.hooks,
72
73
  initialState: { enabled: this.enabled }
73
74
  }))
74
75
  );
@@ -146,6 +147,7 @@ class T extends _ {
146
147
  new c(this.five, d(a({}, i), {
147
148
  panoIndex: e,
148
149
  renderID: n,
150
+ hooks: this.hooks,
149
151
  initialState: { enabled: this.enabled }
150
152
  }))
151
153
  );
@@ -1,5 +1,8 @@
1
1
  import type { Five } from '@realsee/five';
2
2
  import type { VideoMeshParams } from './typings';
3
+ import type { Subscribe } from '../shared-utils/Subscribe';
4
+ import type { PluginEventMap } from './typings';
5
+ import type { Simplify } from 'type-fest';
3
6
  /** 点位视频控制器
4
7
  * @description 控制器存在副作用,包括:
5
8
  * - 对 Five 事件的监听。
@@ -44,8 +47,11 @@ export declare class VideoMeshController {
44
47
  * @remark 由于 render video 依赖 Five render,因此需要自动 render five。
45
48
  */
46
49
  private renderFiveDisposer?;
50
+ private hooks;
47
51
  /** 初始化视频、模型以及相关事件监听。 */
48
- constructor(five: Five, params: VideoMeshParams);
52
+ constructor(five: Five, params: VideoMeshParams & {
53
+ hooks: Subscribe<Simplify<PluginEventMap>>;
54
+ });
49
55
  /**
50
56
  * 取消静音
51
57
  *