@realsee/dnalogel 2.26.2 → 2.27.0-dev.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 (408) hide show
  1. package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +1 -13
  2. package/dist/PanoTagPlugin/controller/TagCache.d.ts +6 -3
  3. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +21 -15
  4. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +7 -2
  5. package/dist/PanoTagPlugin/controller/index.d.ts +3 -3
  6. package/dist/PanoTagPlugin/typings/controller.d.ts +3 -1
  7. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -2
  8. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +26 -4
  9. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +2 -0
  10. package/dist/PanoTagPlugin/utils/tagPosition.d.ts +2 -3
  11. package/dist/index.cjs.js +44 -45
  12. package/dist/index.js +2880 -2846
  13. package/dist/index.umd.js +36 -37
  14. package/dist/shared-utils/five/FiveDomEvents.d.ts +6 -0
  15. package/dist/shared-utils/positionToVector3.d.ts +16 -0
  16. package/dist/shared-utils/safeObj.d.ts +1 -1
  17. package/dist/shared-utils/util.d.ts +1 -0
  18. package/docs/assets/search.js +1 -1
  19. package/docs/classes/CSS3DRender.html +5 -3
  20. package/docs/classes/CruisePluginController.html +5 -3
  21. package/docs/classes/GuideLineItem.GuideLineItem.html +5 -3
  22. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +5 -3
  23. package/docs/classes/Magnifier.html +5 -3
  24. package/docs/classes/ModelRoomLabelController.html +5 -3
  25. package/docs/classes/Object3DHelperController.html +5 -3
  26. package/docs/classes/PaintBrush.html +5 -3
  27. package/docs/classes/PanoMeasurePluginLine.html +5 -3
  28. package/docs/classes/PanoMeasurePluginModel.html +5 -3
  29. package/docs/classes/PanoMeasurePluginPoint.html +5 -3
  30. package/docs/classes/PanoMeasurePluginPolyline.html +5 -3
  31. package/docs/classes/PanoTagPluginController.html +57 -48
  32. package/docs/classes/Util.BetterTween.html +5 -3
  33. package/docs/classes/Util.Interval.html +5 -3
  34. package/docs/classes/Util.Magnifier.html +5 -3
  35. package/docs/classes/Util.PointDomHelper.html +5 -3
  36. package/docs/classes/Util.PointHelper.html +5 -3
  37. package/docs/classes/Util.PointSelectorHelper.html +5 -3
  38. package/docs/classes/Util.Rectangle.html +5 -3
  39. package/docs/enums/CameraMovementEffect.html +5 -3
  40. package/docs/enums/ContentType.html +5 -3
  41. package/docs/enums/DIRECTION.html +5 -3
  42. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +5 -3
  43. package/docs/enums/DimensionType.html +5 -3
  44. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +5 -3
  45. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +5 -3
  46. package/docs/enums/PaintBrushTypeEnum.html +5 -3
  47. package/docs/enums/PointType.html +5 -3
  48. package/docs/enums/Rotation.html +5 -3
  49. package/docs/functions/CSS3DRenderPlugin.html +5 -3
  50. package/docs/functions/CameraMovementPlugin.html +5 -3
  51. package/docs/functions/CruisePlugin.html +5 -3
  52. package/docs/functions/GuideLinePlugin.html +5 -3
  53. package/docs/functions/ItemLabelPlugin.html +5 -3
  54. package/docs/functions/MapviewFloorplanPlugin.html +5 -3
  55. package/docs/functions/ModelChassisCompassPlugin.html +5 -3
  56. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -3
  57. package/docs/functions/ModelFloorplanPlugin.html +5 -3
  58. package/docs/functions/ModelItemLabelPlugin.html +5 -3
  59. package/docs/functions/ModelRoomLabelPlugin.html +5 -3
  60. package/docs/functions/ModelTVVideoPlugin.html +5 -3
  61. package/docs/functions/ModelViewPlugin.html +5 -3
  62. package/docs/functions/Object3DHelperPlugin.html +5 -3
  63. package/docs/functions/PanoCompassPlugin.html +5 -3
  64. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -3
  65. package/docs/functions/PanoDoorLabelPlugin.html +5 -3
  66. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -3
  67. package/docs/functions/PanoMeasurePlugin.html +5 -3
  68. package/docs/functions/PanoRulerPlugin.html +5 -3
  69. package/docs/functions/PanoRulerProPlugin.html +5 -3
  70. package/docs/functions/PanoSpatialTagPlugin.html +5 -3
  71. package/docs/functions/PanoTagPlugin.html +5 -3
  72. package/docs/functions/PanoVideoPlugin.html +5 -3
  73. package/docs/functions/PipelinePlugin.html +5 -3
  74. package/docs/functions/TopviewFloorplanPlugin.html +5 -3
  75. package/docs/functions/Util.absoluteUrl.html +5 -3
  76. package/docs/functions/Util.getCoordsFromClient.html +5 -3
  77. package/docs/functions/Util.getCoordsFromElement.html +5 -3
  78. package/docs/functions/Util.getFrameTime.html +5 -3
  79. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -3
  80. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -3
  81. package/docs/functions/Util.isAbsoluteURL.html +5 -3
  82. package/docs/functions/Util.isModelLike.html +5 -3
  83. package/docs/functions/Util.isNil.html +5 -3
  84. package/docs/functions/Util.isPanoramaLike.html +5 -3
  85. package/docs/functions/Util.nextFrame.html +5 -3
  86. package/docs/functions/Util.notNil.html +5 -3
  87. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -3
  88. package/docs/functions/Util.tweenProgress.html +5 -3
  89. package/docs/functions/Util.uuid.html +5 -3
  90. package/docs/functions/pluginFlag.html +6 -4
  91. package/docs/index.html +6 -4
  92. package/docs/interfaces/AddTagConfig.html +7 -5
  93. package/docs/interfaces/CSS3DRenderPluginEventMap.html +5 -3
  94. package/docs/interfaces/CSS3DRenderPluginState.html +5 -3
  95. package/docs/interfaces/CameraMovementPluginExportType.html +5 -3
  96. package/docs/interfaces/CruisePluginTypes.Config.html +5 -3
  97. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +5 -3
  98. package/docs/interfaces/CruisePluginTypes.EventMap.html +5 -3
  99. package/docs/interfaces/CruisePluginTypes.MoveAction.html +5 -3
  100. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +5 -3
  101. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +5 -3
  102. package/docs/interfaces/CruisePluginTypes.PluginData.html +5 -3
  103. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -3
  104. package/docs/interfaces/CruisePluginTypes.PluginState.html +5 -3
  105. package/docs/interfaces/EventMap.html +14 -12
  106. package/docs/interfaces/FloorplanBounding.html +5 -3
  107. package/docs/interfaces/FloorplanData.html +5 -3
  108. package/docs/interfaces/FloorplanEntrance.html +5 -3
  109. package/docs/interfaces/FloorplanExtraObject.html +5 -3
  110. package/docs/interfaces/FloorplanExtraObject3D.html +5 -3
  111. package/docs/interfaces/FloorplanFloorData.html +5 -3
  112. package/docs/interfaces/FloorplanImagePosition.html +5 -3
  113. package/docs/interfaces/FloorplanObserver.html +5 -3
  114. package/docs/interfaces/FloorplanOutlineItem.html +5 -3
  115. package/docs/interfaces/FloorplanPosition.html +5 -3
  116. package/docs/interfaces/FloorplanRoomItem.html +5 -3
  117. package/docs/interfaces/FloorplanRoomLabelItem.html +5 -3
  118. package/docs/interfaces/FloorplanServerBounding.html +5 -3
  119. package/docs/interfaces/FloorplanServerComputedData.html +5 -3
  120. package/docs/interfaces/FloorplanServerData.html +5 -3
  121. package/docs/interfaces/FloorplanServerDoorItem.html +5 -3
  122. package/docs/interfaces/FloorplanServerDoorPosition.html +5 -3
  123. package/docs/interfaces/FloorplanServerEntrance.html +5 -3
  124. package/docs/interfaces/FloorplanServerFloorData.html +5 -3
  125. package/docs/interfaces/FloorplanServerImagePosition.html +5 -3
  126. package/docs/interfaces/FloorplanServerObserver.html +5 -3
  127. package/docs/interfaces/FloorplanServerOutlineItem.html +5 -3
  128. package/docs/interfaces/FloorplanServerPosition.html +5 -3
  129. package/docs/interfaces/FloorplanServerRoomItem.html +5 -3
  130. package/docs/interfaces/FloorplanServerRoomLabelItem.html +5 -3
  131. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +5 -3
  132. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +5 -3
  133. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -3
  134. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -3
  135. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -3
  136. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +5 -3
  137. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +5 -3
  138. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +5 -3
  139. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +5 -3
  140. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +5 -3
  141. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +5 -3
  142. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -3
  143. package/docs/interfaces/GuideLinePluginType.PluginState.html +5 -3
  144. package/docs/interfaces/GuideLinePluginType.Route.html +5 -3
  145. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +5 -3
  146. package/docs/interfaces/HelperOffset.html +5 -3
  147. package/docs/interfaces/ImagePlaneGroup.html +5 -3
  148. package/docs/interfaces/ItemLabelPluginData.html +5 -3
  149. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +5 -3
  150. package/docs/interfaces/ItemLabelPluginParametersType.html +5 -3
  151. package/docs/interfaces/MinMax.html +5 -3
  152. package/docs/interfaces/ModelChassisCompassPluginData.html +5 -3
  153. package/docs/interfaces/ModelChassisCompassPluginExportType.html +5 -3
  154. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +5 -3
  155. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +5 -3
  156. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +5 -3
  157. package/docs/interfaces/ModelItemLabelPluginData.html +5 -3
  158. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +5 -3
  159. package/docs/interfaces/ModelItemLabelPluginParametersType.html +5 -3
  160. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -3
  161. package/docs/interfaces/ModelTVVideoPluginData.html +5 -3
  162. package/docs/interfaces/ModelTVVideoPluginExportType.html +5 -3
  163. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -3
  164. package/docs/interfaces/ModelViewPluginExportType.html +5 -3
  165. package/docs/interfaces/Object3DHelperState.html +5 -3
  166. package/docs/interfaces/ObjectHelperControllers.html +5 -3
  167. package/docs/interfaces/PaintBrushAction.html +5 -3
  168. package/docs/interfaces/PaintBrushConfigs.html +5 -3
  169. package/docs/interfaces/PaintBrushState.html +5 -3
  170. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +5 -3
  171. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -3
  172. package/docs/interfaces/PanoMeasureParameterType.html +5 -3
  173. package/docs/interfaces/PanoMeasurePluginLineJson.html +5 -3
  174. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +5 -3
  175. package/docs/interfaces/PanoMeasurePluginPointJson.html +5 -3
  176. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +5 -3
  177. package/docs/interfaces/PanoRulerPluginExportType.html +5 -3
  178. package/docs/interfaces/PanoRulerPluginOptions.html +5 -3
  179. package/docs/interfaces/PanoRulerPluginParameterType.html +5 -3
  180. package/docs/interfaces/PanoRulerProPluginExportType.html +5 -3
  181. package/docs/interfaces/PanoRulerProPluginOptions.html +5 -3
  182. package/docs/interfaces/PanoRulerProPluginParameterType.html +5 -3
  183. package/docs/interfaces/PanoRulerProPluginState.html +5 -3
  184. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -3
  185. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -3
  186. package/docs/interfaces/PanoSpatialTagPluginData.html +5 -3
  187. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +5 -3
  188. package/docs/interfaces/PanoSpatialTagPluginExportType.html +5 -3
  189. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +5 -3
  190. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +5 -3
  191. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +5 -3
  192. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +5 -3
  193. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -3
  194. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -3
  195. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -3
  196. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +5 -3
  197. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -3
  198. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -3
  199. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +5 -3
  200. package/docs/interfaces/Point.html +5 -3
  201. package/docs/interfaces/Room.html +5 -3
  202. package/docs/interfaces/RoomInfo.html +5 -3
  203. package/docs/interfaces/RoomLabel.html +5 -3
  204. package/docs/interfaces/RoomRules.html +5 -3
  205. package/docs/interfaces/Rooms.html +5 -3
  206. package/docs/interfaces/Scissor.html +5 -3
  207. package/docs/interfaces/State.html +6 -4
  208. package/docs/interfaces/TagCacheInterface.html +22 -13
  209. package/docs/interfaces/TagConfig.html +27 -15
  210. package/docs/interfaces/TagGLTFObjectGroup.html +5 -3
  211. package/docs/interfaces/TagIconUrl.html +5 -3
  212. package/docs/interfaces/TagObjectGroup.html +5 -3
  213. package/docs/interfaces/TagStyle.html +5 -3
  214. package/docs/interfaces/Tags.html +16 -14
  215. package/docs/interfaces/TemporaryState.html +7 -5
  216. package/docs/interfaces/Util.MagnifierParameter.html +5 -3
  217. package/docs/interfaces/Util.MouseGroupParameter.html +5 -3
  218. package/docs/interfaces/Util.PointIntersection.html +5 -3
  219. package/docs/modules/CruisePluginTypes.html +5 -3
  220. package/docs/modules/GuideLineItem.html +5 -3
  221. package/docs/modules/GuideLineModeItem.html +5 -3
  222. package/docs/modules/GuideLinePluginType.html +5 -3
  223. package/docs/modules/PanoVideoPluginType.html +5 -3
  224. package/docs/modules/Util.html +5 -3
  225. package/docs/modules.html +8 -4
  226. package/docs/types/ArrayPosition.html +5 -3
  227. package/docs/types/AudioAppearance.html +5 -3
  228. package/docs/types/AudioTagTypeConfigKey.html +5 -3
  229. package/docs/types/CSS3DRenderExportType.html +5 -3
  230. package/docs/types/CSS3DRenderPluginExportType.html +5 -3
  231. package/docs/types/CSS3DRenderPluginParameterType.html +5 -3
  232. package/docs/types/ClassFunctionParameters.html +5 -3
  233. package/docs/types/Color.html +5 -3
  234. package/docs/types/ContentTypeConfigKey.html +5 -3
  235. package/docs/types/ContentTypeConfigKeySplit.html +6 -4
  236. package/docs/types/ContentTypeMap.html +5 -3
  237. package/docs/types/Create3DDomContainerReturnType.html +5 -3
  238. package/docs/types/Create3DElementReturnType.html +5 -3
  239. package/docs/types/CruisePluginExportType.html +5 -3
  240. package/docs/types/CruisePluginTypes.CruiseData.html +5 -3
  241. package/docs/types/CruisePluginTypes.MoveEffect.html +5 -3
  242. package/docs/types/DeprecatedMediaPlaneProperty.html +5 -3
  243. package/docs/types/DeprecatedTagProperty.html +5 -3
  244. package/docs/types/Direction-1.html +5 -3
  245. package/docs/types/Direction4.html +5 -3
  246. package/docs/types/ElementRenderer.html +5 -3
  247. package/docs/types/FloorplanRuleLabels.html +5 -3
  248. package/docs/types/FloorplanServerRuleLabels.html +5 -3
  249. package/docs/types/GuideLinePluginExportType.html +5 -3
  250. package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -3
  251. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -3
  252. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -3
  253. package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -3
  254. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +5 -3
  255. package/docs/types/GuideLinePluginType.PathItem.html +5 -3
  256. package/docs/types/GuideLinePluginType.PluginData.html +5 -3
  257. package/docs/types/HelperEventMap.html +5 -3
  258. package/docs/types/LoadTagConfig.html +6 -4
  259. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -3
  260. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -3
  261. package/docs/types/MediaData.html +5 -3
  262. package/docs/types/MediaStore.html +6 -4
  263. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -3
  264. package/docs/types/ModelFloorplanPluginParameterType.html +5 -3
  265. package/docs/types/ModelFloorplanPluginReturnType.html +5 -3
  266. package/docs/types/ModelRoomLabelPluginParameters.html +5 -3
  267. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -3
  268. package/docs/types/MoveArgs.html +5 -3
  269. package/docs/types/MoveOpts.html +5 -3
  270. package/docs/types/Object3DHelperEventMap.html +5 -3
  271. package/docs/types/ObjectFit.html +5 -3
  272. package/docs/types/PaintBrushEventMap.html +5 -3
  273. package/docs/types/PanoCompassPluginData.html +5 -3
  274. package/docs/types/PanoCompassPluginExportType.html +5 -3
  275. package/docs/types/PanoCompassPluginParameterType.html +5 -3
  276. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -3
  277. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -3
  278. package/docs/types/PanoIndex.html +5 -3
  279. package/docs/types/PanoMeasurePluginEvent.html +5 -3
  280. package/docs/types/PanoMeasureReturnType.html +5 -3
  281. package/docs/types/PanoSpatialTagPluginId.html +5 -3
  282. package/docs/types/PanoTagPluginExportInterface.html +5 -3
  283. package/docs/types/PanoTagPluginParamsInterface.html +5 -3
  284. package/docs/types/PanoVideoPluginParameterType.html +5 -3
  285. package/docs/types/PanoVideoPluginReturnType.html +5 -3
  286. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -3
  287. package/docs/types/PipelinePluginParameterType.html +5 -3
  288. package/docs/types/PipelinePluginReturnType.html +5 -3
  289. package/docs/types/PlaneTag.html +6 -4
  290. package/docs/types/Point2DTag.html +6 -4
  291. package/docs/types/Point3DTag.html +6 -4
  292. package/docs/types/PointTag.html +6 -4
  293. package/docs/types/PointTagInstance.html +6 -4
  294. package/docs/types/Position.html +5 -3
  295. package/docs/types/RotateArgs.html +5 -3
  296. package/docs/types/RotateOpts.html +5 -3
  297. package/docs/types/RuleLabelsKey.html +5 -3
  298. package/docs/types/RuleLabelsValue.html +5 -3
  299. package/docs/types/StickType.html +5 -3
  300. package/docs/types/Tag.html +6 -4
  301. package/docs/types/Tag2D.html +5 -3
  302. package/docs/types/Tag3D.html +5 -3
  303. package/docs/types/TagConfigByKey.html +365 -0
  304. package/docs/types/TagContentType.html +5 -3
  305. package/docs/types/TagDimensionType.html +5 -3
  306. package/docs/types/TagElement.html +5 -3
  307. package/docs/types/TagEvents.html +6 -4
  308. package/docs/types/TagGLTFObject.html +5 -3
  309. package/docs/types/TagHooks.html +6 -4
  310. package/docs/types/TagId.html +5 -3
  311. package/docs/types/TagInstance.html +5 -3
  312. package/docs/types/TagPointType.html +5 -3
  313. package/docs/types/TagRendererMap.html +5 -3
  314. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -3
  315. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -3
  316. package/docs/types/WorkCode.html +5 -3
  317. package/docs/variables/FLOOR_TYPE_MAP.html +5 -3
  318. package/docs/variables/PLUGIN.html +5 -3
  319. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -3
  320. package/docs/variables/ROOM_TYPE_MAP.html +5 -3
  321. package/docs/variables/defaultGlobalConfig.html +360 -0
  322. package/docs/variables/itemLabelPluginServerParams.html +5 -3
  323. package/docs/variables/modelItemLabelPluginServerParams.html +5 -3
  324. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -3
  325. package/libs/CSS3DRenderPlugin/Controller.js +1 -1
  326. package/libs/CSS3DRenderPlugin/index.js +1 -1
  327. package/libs/CSS3DRenderPlugin/utils/index.js +1 -1
  328. package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +1 -13
  329. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +4 -4
  330. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +1 -1
  331. package/libs/CruisePlugin/Controller.js +6 -3
  332. package/libs/CruisePlugin/index.js +9 -6
  333. package/libs/GuideLinePlugin/Controller.js +8 -5
  334. package/libs/GuideLinePlugin/GuideLineItem.js +6 -3
  335. package/libs/GuideLinePlugin/GuideLineModeItem.js +6 -3
  336. package/libs/GuideLinePlugin/index.js +11 -8
  337. package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
  338. package/libs/ModelTVVideoPlugin/index.js +1 -1
  339. package/libs/Object3DHelperPlugin/Controller.js +1 -1
  340. package/libs/Object3DHelperPlugin/index.js +1 -1
  341. package/libs/PanoCompassPlugin/Controller.js +1 -1
  342. package/libs/PanoCompassPlugin/index.js +1 -1
  343. package/libs/PanoDoorLabelPlugin/BaseController.js +1 -1
  344. package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
  345. package/libs/PanoDoorLabelPlugin/index.js +1 -1
  346. package/libs/PanoMeasurePlugin/Components/Controller0.js +1 -1
  347. package/libs/PanoMeasurePlugin/Components/Controller1.js +1 -1
  348. package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
  349. package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -1
  350. package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
  351. package/libs/PanoMeasurePlugin/Model/area.js +1 -1
  352. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
  353. package/libs/PanoMeasurePlugin/index.js +1 -1
  354. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +1 -1
  355. package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
  356. package/libs/PanoSpatialTagPlugin/index.js +1 -1
  357. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -1
  358. package/libs/PanoTagPlugin/Components/Tag/index.js +1 -1
  359. package/libs/PanoTagPlugin/Components/TagContainer.js +1 -1
  360. package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
  361. package/libs/PanoTagPlugin/controller/TagCache.d.ts +6 -3
  362. package/libs/PanoTagPlugin/controller/TagCache.js +17 -21
  363. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +21 -15
  364. package/libs/PanoTagPlugin/controller/TagComputer.js +187 -188
  365. package/libs/PanoTagPlugin/controller/TagRender.js +69 -66
  366. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +7 -2
  367. package/libs/PanoTagPlugin/controller/TagUtil.js +160 -141
  368. package/libs/PanoTagPlugin/controller/index.d.ts +3 -3
  369. package/libs/PanoTagPlugin/controller/index.js +57 -53
  370. package/libs/PanoTagPlugin/index.js +14 -10
  371. package/libs/PanoTagPlugin/typings/controller.d.ts +3 -1
  372. package/libs/PanoTagPlugin/typings/index.js +6 -4
  373. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -2
  374. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +26 -4
  375. package/libs/PanoTagPlugin/typings/tag/TagConfig.js +13 -1
  376. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +2 -0
  377. package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -1
  378. package/libs/PanoTagPlugin/utils/index.js +15 -15
  379. package/libs/PanoTagPlugin/utils/planeNormal.js +1 -1
  380. package/libs/PanoTagPlugin/utils/tagPosition.d.ts +2 -3
  381. package/libs/PanoTagPlugin/utils/tagPosition.js +17 -18
  382. package/libs/PanoVideoPlugin/Controller.js +1 -1
  383. package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
  384. package/libs/PanoVideoPlugin/index.js +1 -1
  385. package/libs/PipelinePlugin/Controller.js +1 -1
  386. package/libs/PipelinePlugin/index.js +1 -1
  387. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +1 -1
  388. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +1 -1
  389. package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -1
  390. package/libs/base/BasePlugin.js +1 -1
  391. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
  392. package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
  393. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
  394. package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
  395. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
  396. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
  397. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
  398. package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
  399. package/libs/index.js +111 -108
  400. package/libs/shared-utils/five/FiveDomEvents.d.ts +6 -0
  401. package/libs/shared-utils/five/FiveDomEvents.js +53 -48
  402. package/libs/shared-utils/logger.js +1 -1
  403. package/libs/shared-utils/positionToVector3.d.ts +16 -0
  404. package/libs/shared-utils/positionToVector3.js +12 -0
  405. package/libs/shared-utils/safeObj.d.ts +1 -1
  406. package/libs/shared-utils/util.d.ts +1 -0
  407. package/libs/shared-utils/util.js +6 -0
  408. package/package.json +1 -1
@@ -26,7 +26,7 @@ import "three/examples/jsm/renderers/CSS3DRenderer";
26
26
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
27
27
  import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
28
28
  import "../CSS3DRenderPlugin/utils/even.js";
29
- import "../CSS3DRenderPlugin/utils/positionToVector3.js";
29
+ import "../shared-utils/positionToVector3.js";
30
30
  import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
31
31
  import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
32
32
  import "../shared-utils/three/centerPoint.js";
@@ -12,7 +12,7 @@ import "three/examples/jsm/renderers/CSS3DRenderer";
12
12
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
13
13
  import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
14
14
  import "../CSS3DRenderPlugin/utils/even.js";
15
- import "../CSS3DRenderPlugin/utils/positionToVector3.js";
15
+ import "../shared-utils/positionToVector3.js";
16
16
  import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
17
17
  import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
18
18
  import "../shared-utils/three/centerPoint.js";
@@ -46,7 +46,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
46
46
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
47
47
  import "../../CSS3DRenderPlugin/utils/even.js";
48
48
  import "../../shared-utils/Subscribe.js";
49
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
49
+ import "../../shared-utils/positionToVector3.js";
50
50
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
51
51
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
52
52
  import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
@@ -50,7 +50,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
50
50
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
51
51
  import "../../CSS3DRenderPlugin/utils/even.js";
52
52
  import "../../shared-utils/Subscribe.js";
53
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
53
+ import "../../shared-utils/positionToVector3.js";
54
54
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
55
55
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
56
56
  import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
@@ -37,7 +37,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
37
37
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
38
38
  import "../../CSS3DRenderPlugin/utils/even.js";
39
39
  import "../../shared-utils/Subscribe.js";
40
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
40
+ import "../../shared-utils/positionToVector3.js";
41
41
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
42
42
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
43
43
  import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
@@ -37,7 +37,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
37
37
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
38
38
  import "../../CSS3DRenderPlugin/utils/even.js";
39
39
  import "../../shared-utils/Subscribe.js";
40
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
40
+ import "../../shared-utils/positionToVector3.js";
41
41
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
42
42
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
43
43
  import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
@@ -68,7 +68,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
68
68
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
69
69
  import "../../CSS3DRenderPlugin/utils/even.js";
70
70
  import "../../shared-utils/Subscribe.js";
71
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
71
+ import "../../shared-utils/positionToVector3.js";
72
72
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
73
73
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
74
74
  import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
@@ -29,7 +29,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
29
29
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
30
30
  import "../../CSS3DRenderPlugin/utils/even.js";
31
31
  import "../../shared-utils/Subscribe.js";
32
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
32
+ import "../../shared-utils/positionToVector3.js";
33
33
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
34
34
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
35
35
  import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
@@ -56,7 +56,7 @@ import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
56
56
  import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
57
57
  import "../../../CSS3DRenderPlugin/utils/even.js";
58
58
  import "../../../shared-utils/Subscribe.js";
59
- import "../../../CSS3DRenderPlugin/utils/positionToVector3.js";
59
+ import "../../../shared-utils/positionToVector3.js";
60
60
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
61
61
  import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
62
62
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
@@ -34,7 +34,7 @@ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
34
34
  import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
35
35
  import "../CSS3DRenderPlugin/utils/even.js";
36
36
  import "../shared-utils/Subscribe.js";
37
- import "../CSS3DRenderPlugin/utils/positionToVector3.js";
37
+ import "../shared-utils/positionToVector3.js";
38
38
  import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
39
39
  import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
40
40
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
@@ -28,7 +28,7 @@ import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
28
28
  import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
29
29
  import "../../../CSS3DRenderPlugin/utils/even.js";
30
30
  import "../../../shared-utils/Subscribe.js";
31
- import "../../../CSS3DRenderPlugin/utils/positionToVector3.js";
31
+ import "../../../shared-utils/positionToVector3.js";
32
32
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
33
33
  import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
34
34
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
@@ -13,7 +13,7 @@ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
13
13
  import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
14
14
  import "../CSS3DRenderPlugin/utils/even.js";
15
15
  import "../shared-utils/Subscribe.js";
16
- import "../CSS3DRenderPlugin/utils/positionToVector3.js";
16
+ import "../shared-utils/positionToVector3.js";
17
17
  import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
18
18
  import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
19
19
  import "../shared-utils/three/centerPoint.js";
@@ -10,7 +10,7 @@ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
10
10
  import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
11
11
  import "../CSS3DRenderPlugin/utils/even.js";
12
12
  import "../shared-utils/Subscribe.js";
13
- import "../CSS3DRenderPlugin/utils/positionToVector3.js";
13
+ import "../shared-utils/positionToVector3.js";
14
14
  import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
15
15
  import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
16
16
  import "../shared-utils/three/centerPoint.js";
@@ -25,7 +25,7 @@ import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
25
25
  import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
26
26
  import "../../../CSS3DRenderPlugin/utils/even.js";
27
27
  import "../../../shared-utils/Subscribe.js";
28
- import "../../../CSS3DRenderPlugin/utils/positionToVector3.js";
28
+ import "../../../shared-utils/positionToVector3.js";
29
29
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
30
30
  import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
31
31
  import "../../../shared-utils/three/centerPoint.js";
@@ -85,7 +85,7 @@ import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
85
85
  import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
86
86
  import "../../../CSS3DRenderPlugin/utils/even.js";
87
87
  import "../../../shared-utils/Subscribe.js";
88
- import "../../../CSS3DRenderPlugin/utils/positionToVector3.js";
88
+ import "../../../shared-utils/positionToVector3.js";
89
89
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
90
90
  import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
91
91
  import "../../../shared-utils/three/centerPoint.js";
@@ -80,7 +80,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
80
80
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
81
81
  import "../../CSS3DRenderPlugin/utils/even.js";
82
82
  import "../../shared-utils/Subscribe.js";
83
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
83
+ import "../../shared-utils/positionToVector3.js";
84
84
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
85
85
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
86
86
  import "../../shared-utils/three/centerPoint.js";
@@ -82,7 +82,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
82
82
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
83
83
  import "../../CSS3DRenderPlugin/utils/even.js";
84
84
  import "../../shared-utils/Subscribe.js";
85
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
85
+ import "../../shared-utils/positionToVector3.js";
86
86
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
87
87
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
88
88
  import "../../shared-utils/three/centerPoint.js";
@@ -5,14 +5,17 @@ import * as BasePlugin from '../../base/BasePlugin';
5
5
  export declare abstract class TagCache extends BasePlugin.Controller<State, EventMap> {
6
6
  private tagCacheByPanoIndex;
7
7
  protected constructor(five: Five);
8
- protected getCache({ panoIndex }: {
8
+ /**
9
+ * @description: 获取缓存
10
+ */
11
+ protected getCache(params?: {
9
12
  panoIndex?: number;
10
13
  }): Map<TagId, TagCacheInterface>;
11
- protected getCache({ panoIndex, id }: {
14
+ protected getCache(params?: {
12
15
  panoIndex?: number;
13
16
  id: TagId;
14
17
  }): TagCacheInterface;
15
- protected getCache({ panoIndex, id, key, }: {
18
+ protected getCache(params?: {
16
19
  panoIndex?: number;
17
20
  id: TagId;
18
21
  key: keyof TagCacheInterface;
@@ -1,6 +1,6 @@
1
1
  var l = Object.defineProperty;
2
- var f = (o, e, t) => e in o ? l(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
- var g = (o, e, t) => (f(o, typeof e != "symbol" ? e + "" : e, t), t);
2
+ var f = (r, e, t) => e in r ? l(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
+ var g = (r, e, t) => (f(r, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import { Controller as u } from "../../base/BasePlugin.js";
5
5
  import "../../shared-utils/Subscribe.js";
6
6
  import "hammerjs";
@@ -13,7 +13,7 @@ import "three/examples/jsm/renderers/CSS3DRenderer";
13
13
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
14
14
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
15
15
  import "../../CSS3DRenderPlugin/utils/even.js";
16
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
16
+ import "../../shared-utils/positionToVector3.js";
17
17
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
18
18
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
19
19
  import "../../shared-utils/three/centerPoint.js";
@@ -21,29 +21,25 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
21
21
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
22
22
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
23
  import "../../shared-utils/absoluteUrl.js";
24
- class F extends u {
24
+ class G extends u {
25
25
  constructor(t) {
26
26
  super(t);
27
27
  g(this, "tagCacheByPanoIndex", {});
28
28
  }
29
- /**
30
- * @description: 获取缓存
31
- */
32
- // eslint-disable-next-line no-dupe-class-members
33
- getCache({ panoIndex: t, id: i, key: m }) {
34
- var p, h, s;
35
- const { five: a } = this, c = t != null ? t : a.getCurrentState().panoIndex;
36
- if (c === void 0)
37
- throw new Error(`TagCacheController getCache(): fivePanoIndex is ${c}`);
38
- const n = `${(h = (p = a.work) == null ? void 0 : p.workCode) != null ? h : a.model.uuid}-${c}`;
39
- let r = this.tagCacheByPanoIndex[n];
40
- if (r || (r = /* @__PURE__ */ new Map(), this.tagCacheByPanoIndex[n] = r), i === void 0)
41
- return r;
29
+ getCache(t) {
30
+ var h, s, C;
31
+ const { five: n } = this, { panoIndex: c, id: i, key: m } = t != null ? t : {}, a = c != null ? c : n.getCurrentState().panoIndex;
32
+ if (a === void 0)
33
+ throw new Error(`TagCacheController getCache(): fivePanoIndex is ${a}`);
34
+ const p = `${(s = (h = n.work) == null ? void 0 : h.workCode) != null ? s : n.model.uuid}-${a}`;
35
+ let o = this.tagCacheByPanoIndex[p];
36
+ if (o || (o = /* @__PURE__ */ new Map(), this.tagCacheByPanoIndex[p] = o), i === void 0)
37
+ return o;
42
38
  if (m === void 0) {
43
- const C = r.get(i);
44
- return C || (r.set(i, {}), r.get(i));
39
+ const d = o.get(i);
40
+ return d || (o.set(i, {}), o.get(i));
45
41
  }
46
- return (s = r.get(i)) == null ? void 0 : s[m];
42
+ return (C = o.get(i)) == null ? void 0 : C[m];
47
43
  }
48
44
  clearCache() {
49
45
  this.tagCacheByPanoIndex = {};
@@ -52,5 +48,5 @@ class F extends u {
52
48
  }
53
49
  }
54
50
  export {
55
- F as TagCache
51
+ G as TagCache
56
52
  };
@@ -1,24 +1,16 @@
1
- import type { Five, Mode } from '@realsee/five';
2
- import * as THREE from 'three';
1
+ import type { Five, Mode, State as FiveState } from '@realsee/five';
3
2
  import type { TagInstance } from '../typings';
4
- import type { Raycaster } from 'three';
5
3
  import { TagUtil } from './TagUtil';
6
4
  export declare abstract class TagComputer extends TagUtil {
7
- private raycaster;
8
5
  protected constructor(five: Five);
9
6
  /**
10
7
  * @description: 获取是否可见
11
8
  */
12
9
  getVisibleByPanoIndex(tag: TagInstance, panoIndex?: number): boolean;
13
10
  getVisibleByFiveMode(tag: TagInstance, mode?: Mode): boolean;
14
- /**
15
- * @description 获取标签当前状态
16
- * @return (this.state.visible && tag.state.visible) ?? true
17
- */
18
- getCurrentVisibleState(tag: TagInstance): boolean;
19
- getVisible(tag: TagInstance): boolean;
11
+ getVisible(tag: TagInstance, state?: Partial<FiveState>): boolean;
20
12
  /** 获取当前点位上模型中的多媒体是否应该展示 */
21
- getModelMedialVisibleByPanoIndex(tag: TagInstance): boolean;
13
+ getModelMedialVisibleByPanoIndex(tag: TagInstance, panoIndex?: number): boolean;
22
14
  /**
23
15
  * @description: 获取是否展开
24
16
  */
@@ -46,12 +38,26 @@ export declare abstract class TagComputer extends TagUtil {
46
38
  z: number;
47
39
  };
48
40
  /** 通过射线检测标签可用性 */
49
- protected getTagEnableByIntersect(tag: TagInstance, raycaster: Raycaster): {
41
+ protected getTagEnableByIntersect(tag: TagInstance, panoIndex?: number): {
42
+ value: boolean;
43
+ reason: {
44
+ type: string;
45
+ fivePanoIndex: number;
46
+ passedCount?: undefined;
47
+ needPassed?: undefined;
48
+ };
49
+ } | {
50
+ value: boolean;
51
+ reason?: undefined;
52
+ } | {
50
53
  value: boolean;
51
- reason: string;
54
+ reason: {
55
+ type: string;
56
+ passedCount: number;
57
+ needPassed: number;
58
+ fivePanoIndex?: undefined;
59
+ };
52
60
  };
53
- /** 获取点位看向标签的射线 */
54
- protected getRaycasterFromPanoIndex(tag: TagInstance, panoIndex: number): THREE.Raycaster;
55
61
  /** 检测是否匹配当前楼层 */
56
62
  private getVisibleByFloorIndex;
57
63
  }