@realsee/dnalogel 3.28.10 → 3.29.0

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 (404) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +1 -1
  3. package/dist/PanoTagPlugin/controller/index.d.ts +21 -2
  4. package/dist/PanoTagPlugin/typings/controller.d.ts +2 -0
  5. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +6 -2
  6. package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -0
  7. package/dist/index.cjs.js +55 -55
  8. package/dist/index.js +4617 -4497
  9. package/dist/index.umd.js +55 -55
  10. package/dist/shared-utils/three/blink.d.ts +17 -0
  11. package/docs/assets/search.js +1 -1
  12. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  13. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  14. package/docs/classes/CSS3DRender.html +3 -3
  15. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  16. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  17. package/docs/classes/ModelMakerPluginType.ModelMakerController.html +3 -3
  18. package/docs/classes/ModelRoomLabelController.html +3 -3
  19. package/docs/classes/MoveController.html +3 -3
  20. package/docs/classes/Object3DHelperController.html +3 -3
  21. package/docs/classes/PaintBrush.html +3 -3
  22. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  23. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  24. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  25. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  26. package/docs/classes/PanoTagPluginController.html +69 -35
  27. package/docs/classes/Sculpt.html +3 -3
  28. package/docs/classes/Util.BetterTween.html +3 -3
  29. package/docs/classes/Util.Interval.html +3 -3
  30. package/docs/classes/Util.LineSegments.html +3 -3
  31. package/docs/classes/Util.Magnifier.html +3 -3
  32. package/docs/classes/Util.Object3D.html +3 -3
  33. package/docs/classes/Util.PointDomHelper.html +3 -3
  34. package/docs/classes/Util.PointHelper.html +3 -3
  35. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  36. package/docs/classes/Util.Rectangle.html +3 -3
  37. package/docs/classes/WalkController.html +3 -3
  38. package/docs/enums/CameraMovementEffect.html +3 -3
  39. package/docs/enums/ContentType.html +3 -3
  40. package/docs/enums/DIRECTION.html +3 -3
  41. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  42. package/docs/enums/DimensionType.html +3 -3
  43. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  44. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  45. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  46. package/docs/enums/PointType.html +3 -3
  47. package/docs/enums/Rotation.html +3 -3
  48. package/docs/functions/AreaMakerPlugin.html +3 -3
  49. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  50. package/docs/functions/CameraMovementPlugin.html +3 -3
  51. package/docs/functions/CruisePlugin.html +3 -3
  52. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  53. package/docs/functions/GuideLinePlugin.html +3 -3
  54. package/docs/functions/ItemLabelPlugin.html +3 -3
  55. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  56. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  57. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  58. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  59. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  60. package/docs/functions/ModelMakerPlugin.html +3 -3
  61. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  62. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  63. package/docs/functions/ModelViewPlugin.html +3 -3
  64. package/docs/functions/MovePlugin.html +3 -3
  65. package/docs/functions/Object3DHelperPlugin.html +3 -3
  66. package/docs/functions/PanoCompassPlugin.html +3 -3
  67. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  68. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  69. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  70. package/docs/functions/PanoMeasurePlugin.html +3 -3
  71. package/docs/functions/PanoRulerPlugin.html +3 -3
  72. package/docs/functions/PanoRulerProPlugin.html +3 -3
  73. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  74. package/docs/functions/PanoTagPlugin.html +3 -3
  75. package/docs/functions/PanoVideoPlugin.html +3 -3
  76. package/docs/functions/PipelinePlugin.html +3 -3
  77. package/docs/functions/SculptPlugin.html +3 -3
  78. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  79. package/docs/functions/Util.absoluteUrl.html +3 -3
  80. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  81. package/docs/functions/Util.equal.html +3 -3
  82. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  83. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  84. package/docs/functions/Util.getFrameTime.html +3 -3
  85. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  86. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  87. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  88. package/docs/functions/Util.isModelLike.html +3 -3
  89. package/docs/functions/Util.isNil.html +3 -3
  90. package/docs/functions/Util.isPanoramaLike.html +3 -3
  91. package/docs/functions/Util.nextFrame.html +3 -3
  92. package/docs/functions/Util.notNil.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 +4 -4
  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 +3 -3
  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 +3 -3
  225. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  226. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  227. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  228. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  229. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  230. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  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 +11 -11
  240. package/docs/interfaces/TagConfig.html +15 -15
  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.MagnifierParameter.html +3 -3
  248. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  249. package/docs/interfaces/Util.PointIntersection.html +3 -3
  250. package/docs/modules/AreaMakerPluginType.html +3 -3
  251. package/docs/modules/CruisePluginTypes.html +3 -3
  252. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  253. package/docs/modules/GuideLineItem.html +3 -3
  254. package/docs/modules/GuideLineModeItem.html +3 -3
  255. package/docs/modules/GuideLinePluginType.html +3 -3
  256. package/docs/modules/ModelMakerPluginType.html +3 -3
  257. package/docs/modules/PanoVideoPluginType.html +3 -3
  258. package/docs/modules/SculptData.html +3 -3
  259. package/docs/modules/Util.html +3 -3
  260. package/docs/modules.html +4 -4
  261. package/docs/types/AddObject3DHelperConfig.html +3 -3
  262. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  263. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  264. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  265. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  266. package/docs/types/ArrayPosition.html +3 -3
  267. package/docs/types/AudioAppearance.html +3 -3
  268. package/docs/types/CSS3DRenderExportType.html +3 -3
  269. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  270. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  271. package/docs/types/ClassFunctionParameters.html +3 -3
  272. package/docs/types/Color.html +3 -3
  273. package/docs/types/ContentTypeConfigKey.html +3 -3
  274. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  275. package/docs/types/ContentTypeMap.html +3 -3
  276. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  277. package/docs/types/Create3DElementReturnType.html +3 -3
  278. package/docs/types/CruisePluginExportType.html +3 -3
  279. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  280. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  281. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  282. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  283. package/docs/types/DeprecatedTagProperty.html +3 -3
  284. package/docs/types/Direction-1.html +3 -3
  285. package/docs/types/Direction4.html +3 -3
  286. package/docs/types/ElementRenderer.html +3 -3
  287. package/docs/types/FloorplanRuleLabels.html +3 -3
  288. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  289. package/docs/types/GuideLinePluginExportType.html +3 -3
  290. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  291. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  292. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  293. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  294. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  295. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  296. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  297. package/docs/types/HelperEventMap.html +3 -3
  298. package/docs/types/InternalHelperEventMap.html +3 -3
  299. package/docs/types/LoadTagConfig.html +3 -3
  300. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  301. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  302. package/docs/types/MediaData.html +3 -3
  303. package/docs/types/MediaStore.html +4 -4
  304. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  305. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  306. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  307. package/docs/types/ModelId.html +3 -3
  308. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  309. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  310. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  311. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  312. package/docs/types/MoveArgs.html +3 -3
  313. package/docs/types/MoveOpts.html +3 -3
  314. package/docs/types/Object3DHelperEventMap.html +3 -3
  315. package/docs/types/ObjectFit.html +3 -3
  316. package/docs/types/PaintBrushEventMap.html +3 -3
  317. package/docs/types/PanoCompassPluginData.html +3 -3
  318. package/docs/types/PanoCompassPluginExportType.html +3 -3
  319. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  320. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  321. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  322. package/docs/types/PanoIndex.html +3 -3
  323. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  324. package/docs/types/PanoMeasureReturnType.html +3 -3
  325. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  326. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  327. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  328. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  329. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  330. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  331. package/docs/types/PipelinePluginParameterType.html +3 -3
  332. package/docs/types/PipelinePluginReturnType.html +3 -3
  333. package/docs/types/PlaneTag.html +3 -3
  334. package/docs/types/Point2DTag.html +3 -3
  335. package/docs/types/Point3DTag.html +3 -3
  336. package/docs/types/PointTag.html +3 -3
  337. package/docs/types/PointTagInstance.html +4 -4
  338. package/docs/types/Position.html +3 -3
  339. package/docs/types/PositionFrom.html +3 -3
  340. package/docs/types/RotateArgs.html +3 -3
  341. package/docs/types/RotateOpts.html +3 -3
  342. package/docs/types/RuleLabelsKey.html +3 -3
  343. package/docs/types/RuleLabelsValue.html +3 -3
  344. package/docs/types/ScaleCallback.html +3 -3
  345. package/docs/types/ScalePosition.html +3 -3
  346. package/docs/types/SculptData.BoxData.html +3 -3
  347. package/docs/types/SculptData.CircleData.html +3 -3
  348. package/docs/types/SculptData.CylinderData.html +3 -3
  349. package/docs/types/SculptData.PointData.html +3 -3
  350. package/docs/types/SculptData.PolygonData.html +3 -3
  351. package/docs/types/SculptData.PolylineData.html +3 -3
  352. package/docs/types/SculptData.PrismData.html +3 -3
  353. package/docs/types/SculptData.RectangleData.html +3 -3
  354. package/docs/types/StickType.html +3 -3
  355. package/docs/types/Tag.html +3 -3
  356. package/docs/types/Tag2D.html +3 -3
  357. package/docs/types/Tag3D.html +3 -3
  358. package/docs/types/TagConfigByKey.html +3 -3
  359. package/docs/types/TagContentType.html +3 -3
  360. package/docs/types/TagContentTypeMapping.html +3 -3
  361. package/docs/types/TagDimensionType.html +3 -3
  362. package/docs/types/TagElement.html +3 -3
  363. package/docs/types/TagEvents.html +21 -5
  364. package/docs/types/TagGLTFObject.html +3 -3
  365. package/docs/types/TagHooks.html +3 -3
  366. package/docs/types/TagId.html +3 -3
  367. package/docs/types/TagInstance.html +4 -4
  368. package/docs/types/TagPointType.html +3 -3
  369. package/docs/types/TagRendererMap.html +3 -3
  370. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  371. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  372. package/docs/types/WorkCode.html +3 -3
  373. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  374. package/docs/variables/PLUGIN.html +3 -3
  375. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  376. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  377. package/docs/variables/defaultGlobalConfig.html +4 -4
  378. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  379. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  380. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  381. package/libs/CruisePlugin/Move.js +4 -3
  382. package/libs/CruisePlugin/Work.js +3 -2
  383. package/libs/CruisePlugin/index.js +8 -7
  384. package/libs/GuideLinePlugin/Controller.js +6 -5
  385. package/libs/GuideLinePlugin/GuideLineItem.js +4 -3
  386. package/libs/GuideLinePlugin/GuideLineModeItem.js +4 -2
  387. package/libs/GuideLinePlugin/index.js +7 -6
  388. package/libs/PanoTagPlugin/Components/Tag/index.js +309 -296
  389. package/libs/PanoTagPlugin/Components/TagItem.js +235 -226
  390. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -1
  391. package/libs/PanoTagPlugin/controller/TagComputer.js +112 -112
  392. package/libs/PanoTagPlugin/controller/index.d.ts +21 -2
  393. package/libs/PanoTagPlugin/controller/index.js +148 -106
  394. package/libs/PanoTagPlugin/index.js +13 -11
  395. package/libs/PanoTagPlugin/typings/controller.d.ts +2 -0
  396. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +6 -2
  397. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -0
  398. package/libs/PanoTagPlugin/utils/tag/format.js +1 -1
  399. package/libs/base/BasePlugin.js +1 -1
  400. package/libs/index.js +127 -126
  401. package/libs/shared-utils/logger.js +1 -1
  402. package/libs/shared-utils/three/blink.d.ts +17 -0
  403. package/libs/shared-utils/three/blink.js +92 -0
  404. package/package.json +3 -3
@@ -17,7 +17,7 @@ export declare abstract class TagComputer extends TagUtil {
17
17
  getUnfoldedByCamera(tag: TagInstance): boolean;
18
18
  protected setTagZIndex(tags: TagInstance[]): void;
19
19
  protected calculateTagZIndex(tag: TagInstance): number;
20
- protected setVisible(tags?: TagInstance[]): void;
20
+ protected setVisible(tags?: TagInstance | TagInstance[]): void;
21
21
  protected setUnfoldedByPanoIndex(): void;
22
22
  /**
23
23
  * @description 一个点的标签
@@ -1,30 +1,30 @@
1
- var $ = Object.defineProperty, A = Object.defineProperties;
2
- var E = Object.getOwnPropertyDescriptors;
1
+ var $ = Object.defineProperty, E = Object.defineProperties;
2
+ var _ = Object.getOwnPropertyDescriptors;
3
3
  var M = Object.getOwnPropertySymbols;
4
- var _ = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
5
- var D = (m, e, t) => e in m ? $(m, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : m[e] = t, I = (m, e) => {
6
- for (var t in e || (e = {}))
7
- _.call(e, t) && D(m, t, e[t]);
4
+ var L = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
5
+ var D = (m, e, n) => e in m ? $(m, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : m[e] = n, I = (m, e) => {
6
+ for (var n in e || (e = {}))
7
+ L.call(e, n) && D(m, n, e[n]);
8
8
  if (M)
9
- for (var t of M(e))
10
- L.call(e, t) && D(m, t, e[t]);
9
+ for (var n of M(e))
10
+ O.call(e, n) && D(m, n, e[n]);
11
11
  return m;
12
- }, U = (m, e) => A(m, E(e));
13
- import * as S from "three";
14
- import { is3DTag as O, isMediaModelTag as R } from "../utils/tag/tagCheck.js";
15
- import { getTagCenterPosition as k, getTagPosition as z } from "../utils/tagPosition.js";
12
+ }, U = (m, e) => E(m, _(e));
13
+ import * as j from "three";
14
+ import { is3DTag as z, isMediaModelTag as R } from "../utils/tag/tagCheck.js";
15
+ import { getTagCenterPosition as k, getTagPosition as Z } from "../utils/tagPosition.js";
16
16
  import { checkRange as y } from "../utils/checkRange.js";
17
- import { isPanoramaLike as P, isModelLike as Z } from "../../shared-utils/five/mode.js";
17
+ import { isPanoramaLike as P, isModelLike as q } from "../../shared-utils/five/mode.js";
18
18
  import "hammerjs";
19
19
  import "@realsee/five";
20
20
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
21
21
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
22
22
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
- import { notNil as q } from "../../shared-utils/isNil.js";
24
- import { TagUtil as H } from "./TagUtil.js";
25
- import { getFloorIndex as N } from "../../shared-utils/five/getFloorIndex.js";
23
+ import { notNil as H } from "../../shared-utils/isNil.js";
24
+ import { TagUtil as N } from "./TagUtil.js";
25
+ import { getFloorIndex as W } from "../../shared-utils/five/getFloorIndex.js";
26
26
  import { safeObj as F } from "../../shared-utils/safeObj.js";
27
- import { toArray as W } from "../../shared-utils/util.js";
27
+ import { toArray as S } from "../../shared-utils/util.js";
28
28
  import "../../shared-utils/three/centerPoint.js";
29
29
  import "../../shared-utils/positionToVector3.js";
30
30
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
@@ -66,26 +66,26 @@ import "../../shared-utils/url/getUrl.js";
66
66
  import "../../shared-utils/five/transformPosition.js";
67
67
  import "../../shared-utils/Utils/WorkUtil.js";
68
68
  import "../../shared-utils/Utils/BaseUtil.js";
69
- const C = new S.Raycaster();
69
+ const C = new j.Raycaster();
70
70
  C.params.Points.threshold = 0.1;
71
- class Qe extends H {
71
+ class Qe extends N {
72
72
  constructor(e) {
73
73
  super(e);
74
74
  }
75
75
  /**
76
76
  * @description 获取是否可见
77
77
  */
78
- getVisible(e, t) {
79
- const l = I(I({}, this.five.getCurrentState()), t), { panoIndex: n, mode: o } = l, f = P(o) ? this.getPanoIndexCache({ panoIndex: n, id: e.id }) : void 0;
78
+ getVisible(e, n) {
79
+ const r = I(I({}, this.five.getCurrentState()), n), { panoIndex: t, mode: o } = r, f = P(o) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
80
80
  if ((f == null ? void 0 : f.visible) !== void 0)
81
81
  return f.visible;
82
82
  {
83
83
  const s = [], d = (() => {
84
- var r, c, v, u, g, x, h;
85
- const i = (r = this.getTagConfig(e).visibleConfig) != null ? r : {};
84
+ var a, c, v, u, b, x, h;
85
+ const i = (a = this.getTagConfig(e).visibleConfig) != null ? a : {};
86
86
  if (typeof i == "function")
87
87
  return {
88
- value: i(this.five, { tag: e, distance: this.getDistance(e, l) }),
88
+ value: i(this.five, { tag: e, distance: this.getDistance(e, r) }),
89
89
  checkedList: s,
90
90
  reason: "config function result"
91
91
  };
@@ -94,9 +94,9 @@ class Qe extends H {
94
94
  if (i.keep === "visible")
95
95
  return { value: !0, checkedList: s, reason: "config.keep is visible" };
96
96
  if (i.visibleFiveMode !== void 0) {
97
- const a = typeof i.visibleFiveMode == "function" ? i.visibleFiveMode(e) : i.visibleFiveMode;
97
+ const l = typeof i.visibleFiveMode == "function" ? i.visibleFiveMode(e) : i.visibleFiveMode;
98
98
  let p = !1;
99
- if (Array.isArray(a) ? p = a.includes(o) : a === "ModelLike" ? p = Z(o) : a === "PanoramaLike" ? p = !P(o) : a === "all" ? p = !0 : typeof a == "string" && (p = a === o), p === !1)
99
+ if (Array.isArray(l) ? p = l.includes(o) : l === "ModelLike" ? p = q(o) : l === "PanoramaLike" ? p = !P(o) : l === "all" ? p = !0 : typeof l == "string" && (p = l === o), p === !1)
100
100
  return {
101
101
  value: !1,
102
102
  checkedList: s,
@@ -109,52 +109,52 @@ class Qe extends H {
109
109
  value: !1,
110
110
  checkedList: s,
111
111
  reason: "current mode is not equal to tag.fiveState.mode",
112
- tagFiveMode: (g = e.fiveState) == null ? void 0 : g.mode,
112
+ tagFiveMode: (b = e.fiveState) == null ? void 0 : b.mode,
113
113
  mode: o
114
114
  };
115
115
  if (i.followModelVisibility === !0 && (o === "Floorplan" || o === "Mapview") && this.getVisibleByFloorIndex(e) === !1)
116
116
  return { value: !1, checkedList: s, reason: "followModelVisibility check failed" };
117
- if (P(o) && i.visiblePanoIndex !== void 0 && i.visiblePanoIndex !== "all" && n !== void 0) {
118
- if (s.push("visiblePanoIndex"), Array.isArray(i.visiblePanoIndex) && !i.visiblePanoIndex.includes(n))
117
+ if (P(o) && i.visiblePanoIndex !== void 0 && i.visiblePanoIndex !== "all" && t !== void 0) {
118
+ if (s.push("visiblePanoIndex"), Array.isArray(i.visiblePanoIndex) && !i.visiblePanoIndex.includes(t))
119
119
  return {
120
120
  value: !1,
121
121
  checkedList: s,
122
- reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${n}, visiblePanoIndex: ${i.visiblePanoIndex}`
122
+ reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${t}, visiblePanoIndex: ${i.visiblePanoIndex}`
123
123
  };
124
- if (i.visiblePanoIndex === "current" && n !== ((x = e.fiveState) == null ? void 0 : x.panoIndex))
124
+ if (i.visiblePanoIndex === "current" && t !== ((x = e.fiveState) == null ? void 0 : x.panoIndex))
125
125
  return {
126
126
  value: !1,
127
127
  checkedList: s,
128
- reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${n}, tag.panoIndex: ${(h = e.fiveState) == null ? void 0 : h.panoIndex}`
128
+ reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(h = e.fiveState) == null ? void 0 : h.panoIndex}`
129
129
  };
130
130
  }
131
131
  if (i.visibleDistance !== void 0 && (s.push("visibleDistance"), i.visibleDistance !== "unLimited")) {
132
- const a = this.getDistance(e, l);
133
- if (y(a, i.visibleDistance) === !1)
132
+ const l = this.getDistance(e, r);
133
+ if (y(l, i.visibleDistance) === !1)
134
134
  return {
135
135
  value: !1,
136
136
  checkedList: s,
137
- panoIndex: n,
137
+ panoIndex: t,
138
138
  visibleDistance: i.visibleDistance,
139
- reason: `distance is not in visibleDistance. distance: ${a}, visibleDistance: ${i.visibleDistance.min} - ${i.visibleDistance.max}`
139
+ reason: `distance is not in visibleDistance. distance: ${l}, visibleDistance: ${i.visibleDistance.min} - ${i.visibleDistance.max}`
140
140
  };
141
141
  }
142
- if (P(o) && i.angleRange && O(e)) {
142
+ if (P(o) && i.angleRange && z(e)) {
143
143
  s.push("angleRange");
144
- const a = this.getAngle(e, n);
145
- if (y(a, i.angleRange) === !1)
146
- return { value: !1, checkedList: s, reason: `angle is not in angleRange. angle: ${a}, angleRange: ${i.angleRange}` };
144
+ const l = this.getAngle(e, t);
145
+ if (y(l, i.angleRange) === !1)
146
+ return { value: !1, checkedList: s, reason: `angle is not in angleRange. angle: ${l}, angleRange: ${i.angleRange}` };
147
147
  }
148
148
  if (i.intersectRaycaster !== !1 && (typeof i.intersectRaycaster != "object" || i.intersectRaycaster.enabled !== !1)) {
149
- if (s.push("intersectRaycaster"), n === void 0)
149
+ if (s.push("intersectRaycaster"), t === void 0)
150
150
  return {
151
151
  value: !1,
152
152
  checkedList: s,
153
- reason: `intersectRaycaster check failed: panoIndex is ${n}`
153
+ reason: `intersectRaycaster check failed: panoIndex is ${t}`
154
154
  };
155
- const a = this.getTagEnableByIntersect(e, n);
156
- if (a.value === !1)
157
- return Object.assign(a, { checkedList: s });
155
+ const l = this.getTagEnableByIntersect(e, t);
156
+ if (l.value === !1)
157
+ return Object.assign(l, { checkedList: s });
158
158
  }
159
159
  return {
160
160
  value: !0,
@@ -168,29 +168,29 @@ class Qe extends H {
168
168
  /**
169
169
  * @description 获取是否展开
170
170
  */
171
- getUnfoldedByPanoIndex(e, t) {
171
+ getUnfoldedByPanoIndex(e, n) {
172
172
  if (!this.getCurrentVisibleState(e))
173
173
  return;
174
- const n = this.getPanoIndexCache({ panoIndex: t, id: e.id });
175
- if (n.unfolded !== void 0)
176
- return n.unfolded;
174
+ const t = this.getPanoIndexCache({ panoIndex: n, id: e.id });
175
+ if (t.unfolded !== void 0)
176
+ return t.unfolded;
177
177
  {
178
178
  const o = this.getTagConfig(e).unfoldedConfig;
179
179
  if (!o)
180
180
  return;
181
181
  const f = (() => {
182
182
  if (typeof o == "function")
183
- return o(this.five, { tag: e, distance: this.getDistance(e, { panoIndex: t }) });
183
+ return o(this.five, { tag: e, distance: this.getDistance(e, { panoIndex: n }) });
184
184
  if (o.keep === "folded")
185
185
  return !1;
186
186
  if (o.keep === "unfolded")
187
187
  return !0;
188
- if (o.unfoldDistance && y(this.getDistance(e, { panoIndex: t }), o.unfoldDistance) === !1)
188
+ if (o.unfoldDistance && y(this.getDistance(e, { panoIndex: n }), o.unfoldDistance) === !1)
189
189
  return !1;
190
190
  })();
191
- n.unfolded = f;
191
+ t.unfolded = f;
192
192
  const s = this.getUnfoldedByCamera(e);
193
- return s !== void 0 ? s : n.unfolded;
193
+ return s !== void 0 ? s : t.unfolded;
194
194
  }
195
195
  }
196
196
  /**
@@ -199,63 +199,63 @@ class Qe extends H {
199
199
  getUnfoldedByCamera(e) {
200
200
  return this.getCurrentVisibleState(e) ? (() => {
201
201
  var o;
202
- const n = this.getTagConfig(e).unfoldedConfig;
203
- if (n) {
204
- if (typeof n == "function")
205
- return n(this.five, { tag: e, distance: this.getDistance(e) });
206
- if (n.keep === "folded")
202
+ const t = this.getTagConfig(e).unfoldedConfig;
203
+ if (t) {
204
+ if (typeof t == "function")
205
+ return t(this.five, { tag: e, distance: this.getDistance(e) });
206
+ if (t.keep === "folded")
207
207
  return !1;
208
- if (n.keep === "unfolded")
208
+ if (t.keep === "unfolded")
209
209
  return !0;
210
- if (n.autoUnfold === void 0 || n.autoUnfold === !1 || n.autoUnfold.enable === !1 || !n.autoUnfold.strategy)
210
+ if (t.autoUnfold === void 0 || t.autoUnfold === !1 || t.autoUnfold.enable === !1 || !t.autoUnfold.strategy)
211
211
  return;
212
- if (n.autoUnfold.strategy === "ScreenPostion") {
212
+ if (t.autoUnfold.strategy === "ScreenPostion") {
213
213
  const f = this.getTagProject(e);
214
- if (f && y(f.x, n.autoUnfold.autoUnfoldProjectX) === !1)
214
+ if (f && y(f.x, t.autoUnfold.autoUnfoldProjectX) === !1)
215
215
  return !1;
216
216
  }
217
- if (n.autoUnfold.strategy === "MinimumDistance") {
217
+ if (t.autoUnfold.strategy === "MinimumDistance") {
218
218
  const d = this.filterPointTag.filter((i) => this.getCurrentVisibleState(i)).filter((i) => {
219
- const r = this.getTagProject(i);
220
- if (!r)
219
+ const a = this.getTagProject(i);
220
+ if (!a)
221
221
  return !1;
222
- const { x: c, y: v, z: u } = r;
222
+ const { x: c, y: v, z: u } = a;
223
223
  return !(Math.abs(u) > 1 || Math.abs(c) > 1 || Math.abs(v) > 1);
224
- }).map((i) => ({ tag: i, id: i.id, tagConfig: this.getTagConfig(i).unfoldedConfig })).filter(({ tag: i, tagConfig: r }) => {
224
+ }).map((i) => ({ tag: i, id: i.id, tagConfig: this.getTagConfig(i).unfoldedConfig })).filter(({ tag: i, tagConfig: a }) => {
225
225
  var c, v;
226
- return !(typeof r == "function" || r.keep || r.autoUnfold === !1 || ((c = r.autoUnfold) == null ? void 0 : c.enable) === !1 || ((v = r.autoUnfold) == null ? void 0 : v.strategy) !== "MinimumDistance");
227
- }).map((i) => U(I({}, i), { distance: this.getDistance(i.tag) })).filter(({ distance: i, tagConfig: r }) => {
228
- const c = r.autoUnfold.distance;
226
+ return !(typeof a == "function" || a.keep || a.autoUnfold === !1 || ((c = a.autoUnfold) == null ? void 0 : c.enable) === !1 || ((v = a.autoUnfold) == null ? void 0 : v.strategy) !== "MinimumDistance");
227
+ }).map((i) => U(I({}, i), { distance: this.getDistance(i.tag) })).filter(({ distance: i, tagConfig: a }) => {
228
+ const c = a.autoUnfold.distance;
229
229
  return !(c && y(i, c) === !1);
230
- }).sort((i, r) => i.distance - r.distance).findIndex((i) => i.id === e.id);
231
- if (d === -1 || d <= ((o = n.autoUnfold.maxNumber) != null ? o : 1) - 1 === !1)
230
+ }).sort((i, a) => i.distance - a.distance).findIndex((i) => i.id === e.id);
231
+ if (d === -1 || d <= ((o = t.autoUnfold.maxNumber) != null ? o : 1) - 1 === !1)
232
232
  return !1;
233
233
  }
234
- return n.autoUnfold.strategy !== "FoldWhenMove";
234
+ return t.autoUnfold.strategy !== "FoldWhenMove";
235
235
  }
236
236
  })() : void 0;
237
237
  }
238
238
  setTagZIndex(e) {
239
- return e.forEach((t) => {
240
- t.zIndex = this.calculateTagZIndex(t);
239
+ return e.forEach((n) => {
240
+ n.zIndex = this.calculateTagZIndex(n);
241
241
  });
242
242
  }
243
243
  calculateTagZIndex(e) {
244
- const t = this.getDistance(e);
245
- return Math.round((1e4 - (t != null ? t : 0)) * 100);
244
+ const n = this.getDistance(e);
245
+ return Math.round((1e4 - (n != null ? n : 0)) * 100);
246
246
  }
247
247
  setVisible(e) {
248
- (e != null ? e : this.tags).forEach((t) => {
249
- const l = this.getVisible(t);
250
- t.state && (t.state.visible = l);
248
+ (e ? S(e) : this.tags).forEach((r) => {
249
+ const t = this.getVisible(r);
250
+ r.state && (r.state.visible = t);
251
251
  });
252
252
  }
253
253
  setUnfoldedByPanoIndex() {
254
254
  this.tags.forEach((e) => {
255
- const t = this.getUnfoldedByPanoIndex(e);
256
- if (e.state && (t !== void 0 && (e.state.unfolded = t), t && !e.state.visible)) {
257
- const l = this.getTagConfig(e);
258
- typeof l.unfoldedConfig == "object" && l.unfoldedConfig.autoFoldWhenHide !== !1 && (e.state.unfolded = !1);
255
+ const n = this.getUnfoldedByPanoIndex(e);
256
+ if (e.state && (n !== void 0 && (e.state.unfolded = n), n && !e.state.visible)) {
257
+ const r = this.getTagConfig(e);
258
+ typeof r.unfoldedConfig == "object" && r.unfoldedConfig.autoFoldWhenHide !== !1 && (e.state.unfolded = !1);
259
259
  }
260
260
  });
261
261
  }
@@ -263,42 +263,42 @@ class Qe extends H {
263
263
  * @description 一个点的标签
264
264
  */
265
265
  getTagProject(e) {
266
- const t = k(e);
267
- if (!t)
266
+ const n = k(e);
267
+ if (!n)
268
268
  return;
269
- const { x: l, y: n, z: o } = t.project(this.five.camera);
269
+ const { x: r, y: t, z: o } = n.project(this.five.camera);
270
270
  if (!(o > 1))
271
- return { x: l, y: n, z: o };
271
+ return { x: r, y: t, z: o };
272
272
  }
273
273
  /** 通过射线检测标签可用性 */
274
- getTagEnableByIntersect(e, t) {
275
- var b, i, r, c, v;
276
- const l = F(F((b = this.getTagConfig(e).visibleConfig) != null ? b : {}).intersectRaycaster), n = t != null ? t : this.five.getCurrentState().panoIndex, o = P(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(n) : this.five.camera.position;
274
+ getTagEnableByIntersect(e, n) {
275
+ var g, i, a, c, v;
276
+ const r = F(F((g = this.getTagConfig(e).visibleConfig) != null ? g : {}).intersectRaycaster), t = n != null ? n : this.five.getCurrentState().panoIndex, o = P(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
277
277
  if (o === void 0)
278
- return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: n } };
279
- const f = W(
278
+ return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
279
+ const f = S(
280
280
  (() => {
281
- var g;
282
- const u = (g = l.checkPoints) != null ? g : "center";
283
- return u === "center" ? k(e) : u === "corner" ? z(e) : Array.isArray(u) ? u : [];
281
+ var b;
282
+ const u = (b = r.checkPoints) != null ? b : "center";
283
+ return u === "center" ? k(e) : u === "corner" ? Z(e) : Array.isArray(u) ? u : [];
284
284
  })()
285
285
  );
286
286
  let s = 0, d = 0;
287
287
  for (const u of f) {
288
- const g = new S.Vector3().subVectors(u, o).normalize();
289
- C.set(o, g);
290
- const x = o.distanceTo(u), [h] = this.five.model.intersectRaycaster(C), a = (() => {
288
+ const b = new j.Vector3().subVectors(u, o).normalize();
289
+ C.set(o, b);
290
+ const x = o.distanceTo(u), [h] = this.five.model.intersectRaycaster(C), l = (() => {
291
291
  if (!R(e))
292
292
  return;
293
- const V = this.tags.filter(R).map((B) => {
293
+ const A = this.tags.filter(R).map((B) => {
294
294
  var T;
295
295
  return (T = B.model) == null ? void 0 : T.object;
296
- }).filter(q), [w] = C.intersectObjects(V, !0);
296
+ }).filter(H), [w] = C.intersectObjects(A, !0);
297
297
  return w;
298
- })(), p = (i = l.distanceAccuracy) != null ? i : 0.01;
299
- Math.min((r = h == null ? void 0 : h.distance) != null ? r : 1 / 0, (c = a == null ? void 0 : a.distance) != null ? c : 1 / 0) + p >= x ? s++ : d++;
300
- const j = (v = l.needPassed) != null ? v : 1;
301
- if (s >= j)
298
+ })(), p = (i = r.distanceAccuracy) != null ? i : 0.01;
299
+ Math.min((a = h == null ? void 0 : h.distance) != null ? a : 1 / 0, (c = l == null ? void 0 : l.distance) != null ? c : 1 / 0) + p >= x ? s++ : d++;
300
+ const V = (v = r.needPassed) != null ? v : 1;
301
+ if (s >= V)
302
302
  return { value: !0 };
303
303
  }
304
304
  return d === 0 ? { value: !0 } : {
@@ -306,18 +306,18 @@ class Qe extends H {
306
306
  reason: {
307
307
  type: "intersectRaycaster check failed",
308
308
  passedCount: s,
309
- needPassed: l.needPassed
309
+ needPassed: r.needPassed
310
310
  }
311
311
  };
312
312
  }
313
313
  /** 检测是否匹配当前楼层 */
314
314
  getVisibleByFloorIndex(e) {
315
- var o, f, s, d, b, i, r;
316
- let t = 0;
317
- const l = (o = e.fiveState) == null ? void 0 : o.panoIndex;
318
- l !== void 0 ? t = (f = this.workUtil.getObserver(l)) == null ? void 0 : f.floorIndex : t = N(this.workUtil.work, (r = (i = (d = (s = e.model) == null ? void 0 : s.object) == null ? void 0 : d.position) != null ? i : (b = e.mediaPlane) == null ? void 0 : b.position) != null ? r : k(e));
319
- const n = this.five.model.shownFloor;
320
- return n === null || n === t;
315
+ var o, f, s, d, g, i, a;
316
+ let n = 0;
317
+ const r = (o = e.fiveState) == null ? void 0 : o.panoIndex;
318
+ r !== void 0 ? n = (f = this.workUtil.getObserver(r)) == null ? void 0 : f.floorIndex : n = W(this.workUtil.work, (a = (i = (d = (s = e.model) == null ? void 0 : s.object) == null ? void 0 : d.position) != null ? i : (g = e.mediaPlane) == null ? void 0 : g.position) != null ? a : k(e));
319
+ const t = this.five.model.shownFloor;
320
+ return t === null || t === n;
321
321
  }
322
322
  }
323
323
  export {
@@ -4,6 +4,7 @@ import type { ArrayPosition } from '../typings';
4
4
  import { type Five } from '@realsee/five';
5
5
  import { TagRender } from './TagRender';
6
6
  import type { PartialObjectDeep } from '../../typings/typings';
7
+ import type anime from 'animejs';
7
8
  export declare const pluginFlag: (name: string) => string;
8
9
  declare class PanoTagPluginController extends TagRender {
9
10
  /** state */
@@ -62,15 +63,33 @@ declare class PanoTagPluginController extends TagRender {
62
63
  * @description 销毁
63
64
  */
64
65
  dispose(): void;
66
+ /**
67
+ * @description 闪烁标签
68
+ * @param {TagId} id
69
+ * @param {Partial<anime.AnimeParams>} animeConfig
70
+ */
71
+ blinkTagById(id: TagId, animeConfig?: Partial<anime.AnimeParams>): Promise<void>;
72
+ /**
73
+ * @description 展开/收起指定id的标签
74
+ * @param {TagId} id
75
+ * @param {boolean} unfolded
76
+ */
65
77
  changeUnfoldedById(id: TagId, unfolded: boolean): void;
78
+ /**
79
+ * @description 启用/停用指定id的标签
80
+ * @param {TagId} id
81
+ * @param {boolean} enabled
82
+ */
66
83
  changeEnabledById(id: TagId, enabled: boolean): void;
67
84
  /**
68
85
  * @description 修改3D标签normal
86
+ * @param {TagId} id
87
+ * @param {ArrayPosition} normal
69
88
  */
70
89
  changeTagNormalById(id: TagId, normal: ArrayPosition): void;
71
90
  /**
72
- * @description 改变data
73
- */
91
+ * @description 改变data
92
+ */
74
93
  changePositionById(id: TagId, position: Tag['position']): void;
75
94
  /**
76
95
  * @description 改变data