@realsee/dnalogel 3.3.5 → 3.4.0-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (390) hide show
  1. package/dist/CruisePlugin/CruiseController.d.ts +147 -0
  2. package/dist/CruisePlugin/Move.d.ts +26 -0
  3. package/dist/CruisePlugin/{Controller.d.ts → Work.d.ts} +1 -8
  4. package/dist/CruisePlugin/index.d.ts +4 -3
  5. package/dist/CruisePlugin/typing.d.ts +2 -2
  6. package/dist/CruisePlugin/utils/getFiveStateOnCurve.d.ts +11 -0
  7. package/dist/GuideLinePlugin/Controller.d.ts +1 -6
  8. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +4 -0
  9. package/dist/PanoTagPlugin/controller/TagRender.d.ts +0 -4
  10. package/dist/index.cjs.js +55 -55
  11. package/dist/index.js +4454 -4267
  12. package/dist/index.umd.js +48 -48
  13. package/dist/shared-utils/five/fiveLoaded.d.ts +2 -0
  14. package/docs/.nojekyll +1 -0
  15. package/docs/assets/highlight.css +120 -0
  16. package/docs/assets/main.js +58 -0
  17. package/docs/assets/search.js +1 -0
  18. package/docs/assets/style.css +1367 -0
  19. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +727 -0
  20. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +680 -0
  21. package/docs/classes/CSS3DRender.html +775 -0
  22. package/docs/classes/GuideLineItem.GuideLineItem.html +478 -0
  23. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +858 -0
  24. package/docs/classes/Magnifier.html +482 -0
  25. package/docs/classes/ModelRoomLabelController.html +400 -0
  26. package/docs/classes/MoveController.html +641 -0
  27. package/docs/classes/Object3DHelperController.html +642 -0
  28. package/docs/classes/PaintBrush.html +504 -0
  29. package/docs/classes/PanoMeasurePluginLine.html +524 -0
  30. package/docs/classes/PanoMeasurePluginModel.html +573 -0
  31. package/docs/classes/PanoMeasurePluginPoint.html +364 -0
  32. package/docs/classes/PanoMeasurePluginPolyline.html +569 -0
  33. package/docs/classes/PanoTagPluginController.html +1079 -0
  34. package/docs/classes/Util.BetterTween.html +418 -0
  35. package/docs/classes/Util.Interval.html +434 -0
  36. package/docs/classes/Util.LineSegments.html +386 -0
  37. package/docs/classes/Util.Magnifier.html +505 -0
  38. package/docs/classes/Util.Object3D.html +408 -0
  39. package/docs/classes/Util.PointDomHelper.html +409 -0
  40. package/docs/classes/Util.PointHelper.html +400 -0
  41. package/docs/classes/Util.PointSelectorHelper.html +456 -0
  42. package/docs/classes/Util.Rectangle.html +457 -0
  43. package/docs/classes/WalkController.html +667 -0
  44. package/docs/enums/CameraMovementEffect.html +312 -0
  45. package/docs/enums/ContentType.html +448 -0
  46. package/docs/enums/DIRECTION.html +322 -0
  47. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +322 -0
  48. package/docs/enums/DimensionType.html +312 -0
  49. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +315 -0
  50. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +322 -0
  51. package/docs/enums/PaintBrushTypeEnum.html +315 -0
  52. package/docs/enums/PointType.html +312 -0
  53. package/docs/enums/Rotation.html +319 -0
  54. package/docs/functions/AreaMakerPlugin.html +292 -0
  55. package/docs/functions/CSS3DRenderPlugin.html +290 -0
  56. package/docs/functions/CameraMovementPlugin.html +295 -0
  57. package/docs/functions/CruisePlugin.html +292 -0
  58. package/docs/functions/CurrentPanoImagePlugin.html +292 -0
  59. package/docs/functions/GuideLinePlugin.html +292 -0
  60. package/docs/functions/ItemLabelPlugin.html +292 -0
  61. package/docs/functions/MapviewFloorplanPlugin.html +292 -0
  62. package/docs/functions/ModelChassisCompassPlugin.html +295 -0
  63. package/docs/functions/ModelEntryDoorGuidePlugin.html +295 -0
  64. package/docs/functions/ModelFloorplanPlugin.html +292 -0
  65. package/docs/functions/ModelItemLabelPlugin.html +292 -0
  66. package/docs/functions/ModelRoomLabelPlugin.html +290 -0
  67. package/docs/functions/ModelTVVideoPlugin.html +292 -0
  68. package/docs/functions/ModelViewPlugin.html +295 -0
  69. package/docs/functions/Object3DHelperPlugin.html +290 -0
  70. package/docs/functions/PanoCompassPlugin.html +292 -0
  71. package/docs/functions/PanoCursorRaycasterPlugin.html +296 -0
  72. package/docs/functions/PanoDoorLabelPlugin.html +292 -0
  73. package/docs/functions/PanoFloorplanRadarPlugin.html +292 -0
  74. package/docs/functions/PanoMeasurePlugin.html +292 -0
  75. package/docs/functions/PanoRulerPlugin.html +295 -0
  76. package/docs/functions/PanoRulerProPlugin.html +295 -0
  77. package/docs/functions/PanoSpatialTagPlugin.html +295 -0
  78. package/docs/functions/PanoTagPlugin.html +297 -0
  79. package/docs/functions/PanoVideoPlugin.html +301 -0
  80. package/docs/functions/PipelinePlugin.html +290 -0
  81. package/docs/functions/TopviewFloorplanPlugin.html +292 -0
  82. package/docs/functions/Util.absoluteUrl.html +328 -0
  83. package/docs/functions/Util.checkFiveModelLoaded.html +331 -0
  84. package/docs/functions/Util.equal.html +340 -0
  85. package/docs/functions/Util.getCoordsFromClient.html +330 -0
  86. package/docs/functions/Util.getCoordsFromElement.html +330 -0
  87. package/docs/functions/Util.getFrameTime.html +322 -0
  88. package/docs/functions/Util.getIntersectFromRelativePosition.html +330 -0
  89. package/docs/functions/Util.getRaycasterFromFivePointer.html +330 -0
  90. package/docs/functions/Util.isAbsoluteURL.html +323 -0
  91. package/docs/functions/Util.isModelLike.html +323 -0
  92. package/docs/functions/Util.isNil.html +331 -0
  93. package/docs/functions/Util.isPanoramaLike.html +323 -0
  94. package/docs/functions/Util.nextFrame.html +336 -0
  95. package/docs/functions/Util.notNil.html +331 -0
  96. package/docs/functions/Util.requestAnimationFrameInterval.html +352 -0
  97. package/docs/functions/Util.tweenProgress.html +325 -0
  98. package/docs/functions/Util.uuid.html +321 -0
  99. package/docs/functions/pluginFlag.html +290 -0
  100. package/docs/index.html +356 -0
  101. package/docs/interfaces/AddTagConfig.html +305 -0
  102. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +331 -0
  103. package/docs/interfaces/AreaMakerPluginType.Config.html +336 -0
  104. package/docs/interfaces/AreaMakerPluginType.EventMap.html +622 -0
  105. package/docs/interfaces/AreaMakerPluginType.Params.html +335 -0
  106. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +385 -0
  107. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +370 -0
  108. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +335 -0
  109. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +328 -0
  110. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +327 -0
  111. package/docs/interfaces/AreaMakerPluginType.State.html +356 -0
  112. package/docs/interfaces/CSS3DRenderPluginEventMap.html +451 -0
  113. package/docs/interfaces/CSS3DRenderPluginState.html +327 -0
  114. package/docs/interfaces/CameraMovementPluginExportType.html +360 -0
  115. package/docs/interfaces/CruisePluginTypes.Config.html +361 -0
  116. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +363 -0
  117. package/docs/interfaces/CruisePluginTypes.EventMap.html +698 -0
  118. package/docs/interfaces/CruisePluginTypes.MoveAction.html +387 -0
  119. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +423 -0
  120. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +413 -0
  121. package/docs/interfaces/CruisePluginTypes.PluginData.html +353 -0
  122. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +321 -0
  123. package/docs/interfaces/CruisePluginTypes.PluginState.html +389 -0
  124. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +384 -0
  125. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +523 -0
  126. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +325 -0
  127. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +317 -0
  128. package/docs/interfaces/CurrentPanoImagePluginType.State.html +339 -0
  129. package/docs/interfaces/EventMap.html +544 -0
  130. package/docs/interfaces/FloorplanBounding.html +334 -0
  131. package/docs/interfaces/FloorplanData.html +337 -0
  132. package/docs/interfaces/FloorplanEntrance.html +362 -0
  133. package/docs/interfaces/FloorplanExtraObject.html +352 -0
  134. package/docs/interfaces/FloorplanExtraObject3D.html +341 -0
  135. package/docs/interfaces/FloorplanFloorData.html +330 -0
  136. package/docs/interfaces/FloorplanImagePosition.html +316 -0
  137. package/docs/interfaces/FloorplanObserver.html +334 -0
  138. package/docs/interfaces/FloorplanOutlineItem.html +330 -0
  139. package/docs/interfaces/FloorplanPosition.html +316 -0
  140. package/docs/interfaces/FloorplanRoomItem.html +381 -0
  141. package/docs/interfaces/FloorplanRoomLabelItem.html +322 -0
  142. package/docs/interfaces/FloorplanServerBounding.html +334 -0
  143. package/docs/interfaces/FloorplanServerComputedData.html +333 -0
  144. package/docs/interfaces/FloorplanServerData.html +316 -0
  145. package/docs/interfaces/FloorplanServerDoorItem.html +333 -0
  146. package/docs/interfaces/FloorplanServerDoorPosition.html +319 -0
  147. package/docs/interfaces/FloorplanServerEntrance.html +362 -0
  148. package/docs/interfaces/FloorplanServerFloorData.html +330 -0
  149. package/docs/interfaces/FloorplanServerImagePosition.html +316 -0
  150. package/docs/interfaces/FloorplanServerObserver.html +334 -0
  151. package/docs/interfaces/FloorplanServerOutlineItem.html +330 -0
  152. package/docs/interfaces/FloorplanServerPosition.html +316 -0
  153. package/docs/interfaces/FloorplanServerRoomItem.html +393 -0
  154. package/docs/interfaces/FloorplanServerRoomLabelItem.html +322 -0
  155. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +325 -0
  156. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +364 -0
  157. package/docs/interfaces/GuideLinePluginType.EventMap.html +528 -0
  158. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +359 -0
  159. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +350 -0
  160. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +417 -0
  161. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +339 -0
  162. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +349 -0
  163. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +485 -0
  164. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +346 -0
  165. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +485 -0
  166. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +311 -0
  167. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +332 -0
  168. package/docs/interfaces/GuideLinePluginType.PluginState.html +357 -0
  169. package/docs/interfaces/GuideLinePluginType.Route.html +373 -0
  170. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +355 -0
  171. package/docs/interfaces/HelperOffset.html +334 -0
  172. package/docs/interfaces/ImagePlaneGroup.html +308 -0
  173. package/docs/interfaces/ItemLabelPluginData.html +305 -0
  174. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +390 -0
  175. package/docs/interfaces/ItemLabelPluginParametersType.html +326 -0
  176. package/docs/interfaces/MinMax.html +312 -0
  177. package/docs/interfaces/ModelChassisCompassPluginData.html +312 -0
  178. package/docs/interfaces/ModelChassisCompassPluginExportType.html +348 -0
  179. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +312 -0
  180. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +319 -0
  181. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +356 -0
  182. package/docs/interfaces/ModelItemLabelPluginData.html +305 -0
  183. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +390 -0
  184. package/docs/interfaces/ModelItemLabelPluginParametersType.html +312 -0
  185. package/docs/interfaces/ModelRoomLabelPluginData.html +305 -0
  186. package/docs/interfaces/ModelTVVideoPluginData.html +326 -0
  187. package/docs/interfaces/ModelTVVideoPluginExportType.html +350 -0
  188. package/docs/interfaces/ModelTVVideoPluginParameterType.html +305 -0
  189. package/docs/interfaces/ModelViewPluginExportType.html +418 -0
  190. package/docs/interfaces/Object3DHelperState.html +319 -0
  191. package/docs/interfaces/ObjectHelperControllers.html +326 -0
  192. package/docs/interfaces/PaintBrushAction.html +365 -0
  193. package/docs/interfaces/PaintBrushConfigs.html +363 -0
  194. package/docs/interfaces/PaintBrushState.html +347 -0
  195. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +427 -0
  196. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +284 -0
  197. package/docs/interfaces/PanoMeasureParameterType.html +451 -0
  198. package/docs/interfaces/PanoMeasurePluginLineJson.html +319 -0
  199. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +316 -0
  200. package/docs/interfaces/PanoMeasurePluginPointJson.html +312 -0
  201. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +322 -0
  202. package/docs/interfaces/PanoRulerPluginExportType.html +379 -0
  203. package/docs/interfaces/PanoRulerPluginOptions.html +328 -0
  204. package/docs/interfaces/PanoRulerPluginParameterType.html +319 -0
  205. package/docs/interfaces/PanoRulerProPluginExportType.html +355 -0
  206. package/docs/interfaces/PanoRulerProPluginOptions.html +325 -0
  207. package/docs/interfaces/PanoRulerProPluginParameterType.html +312 -0
  208. package/docs/interfaces/PanoRulerProPluginState.html +319 -0
  209. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +298 -0
  210. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +287 -0
  211. package/docs/interfaces/PanoSpatialTagPluginData.html +355 -0
  212. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +337 -0
  213. package/docs/interfaces/PanoSpatialTagPluginExportType.html +433 -0
  214. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +333 -0
  215. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +354 -0
  216. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +340 -0
  217. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +333 -0
  218. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +325 -0
  219. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +343 -0
  220. package/docs/interfaces/PanoVideoPluginType.PluginData.html +316 -0
  221. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +422 -0
  222. package/docs/interfaces/PanoVideoPluginType.PluginState.html +316 -0
  223. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +351 -0
  224. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +370 -0
  225. package/docs/interfaces/Point.html +319 -0
  226. package/docs/interfaces/Room.html +326 -0
  227. package/docs/interfaces/RoomInfo.html +312 -0
  228. package/docs/interfaces/RoomLabel.html +388 -0
  229. package/docs/interfaces/RoomRules.html +287 -0
  230. package/docs/interfaces/Rooms.html +287 -0
  231. package/docs/interfaces/Scissor.html +346 -0
  232. package/docs/interfaces/State.html +333 -0
  233. package/docs/interfaces/TagCacheInterface.html +364 -0
  234. package/docs/interfaces/TagConfig.html +567 -0
  235. package/docs/interfaces/TagGLTFObjectGroup.html +308 -0
  236. package/docs/interfaces/TagIconUrl.html +365 -0
  237. package/docs/interfaces/TagObjectGroup.html +308 -0
  238. package/docs/interfaces/TagStyle.html +318 -0
  239. package/docs/interfaces/Tags.html +2690 -0
  240. package/docs/interfaces/TemporaryState.html +305 -0
  241. package/docs/interfaces/Util.MagnifierParameter.html +393 -0
  242. package/docs/interfaces/Util.MouseGroupParameter.html +352 -0
  243. package/docs/interfaces/Util.PointIntersection.html +367 -0
  244. package/docs/modules/AreaMakerPluginType.html +325 -0
  245. package/docs/modules/CruisePluginTypes.html +330 -0
  246. package/docs/modules/CurrentPanoImagePluginType.html +299 -0
  247. package/docs/modules/GuideLineItem.html +291 -0
  248. package/docs/modules/GuideLineModeItem.html +296 -0
  249. package/docs/modules/GuideLinePluginType.html +352 -0
  250. package/docs/modules/PanoVideoPluginType.html +303 -0
  251. package/docs/modules/Util.html +353 -0
  252. package/docs/modules.html +558 -0
  253. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +333 -0
  254. package/docs/types/AreaMakerPluginType.PluginData.html +303 -0
  255. package/docs/types/AreaMakerPluginType.ServerData.html +303 -0
  256. package/docs/types/ArrayPosition.html +281 -0
  257. package/docs/types/AudioAppearance.html +281 -0
  258. package/docs/types/AudioTagTypeConfigKey.html +281 -0
  259. package/docs/types/CSS3DRenderExportType.html +281 -0
  260. package/docs/types/CSS3DRenderPluginExportType.html +281 -0
  261. package/docs/types/CSS3DRenderPluginParameterType.html +281 -0
  262. package/docs/types/ClassFunctionParameters.html +288 -0
  263. package/docs/types/Color.html +281 -0
  264. package/docs/types/ContentTypeConfigKey.html +281 -0
  265. package/docs/types/ContentTypeConfigKeySplit.html +281 -0
  266. package/docs/types/ContentTypeMap.html +281 -0
  267. package/docs/types/Create3DDomContainerReturnType.html +281 -0
  268. package/docs/types/Create3DElementReturnType.html +281 -0
  269. package/docs/types/CruisePluginExportType.html +281 -0
  270. package/docs/types/CruisePluginTypes.CruiseData.html +320 -0
  271. package/docs/types/CruisePluginTypes.MoveEffect.html +297 -0
  272. package/docs/types/CurrentPanoImagePluginExportType.html +281 -0
  273. package/docs/types/DeprecatedMediaPlaneProperty.html +293 -0
  274. package/docs/types/DeprecatedTagProperty.html +296 -0
  275. package/docs/types/Direction-1.html +281 -0
  276. package/docs/types/Direction4.html +281 -0
  277. package/docs/types/ElementRenderer.html +305 -0
  278. package/docs/types/FloorplanRuleLabels.html +284 -0
  279. package/docs/types/FloorplanServerRuleLabels.html +281 -0
  280. package/docs/types/GuideLinePluginExportType.html +281 -0
  281. package/docs/types/GuideLinePluginType.GuideLineItem.html +354 -0
  282. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +375 -0
  283. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +308 -0
  284. package/docs/types/GuideLinePluginType.GuideLineStyle.html +311 -0
  285. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +311 -0
  286. package/docs/types/GuideLinePluginType.PathItem.html +311 -0
  287. package/docs/types/GuideLinePluginType.PluginData.html +320 -0
  288. package/docs/types/HelperEventMap.html +519 -0
  289. package/docs/types/LoadTagConfig.html +281 -0
  290. package/docs/types/MapviewFloorplanPluginParameterType.html +281 -0
  291. package/docs/types/MapviewFloorplanPluginReturnType.html +281 -0
  292. package/docs/types/MediaData.html +297 -0
  293. package/docs/types/MediaStore.html +286 -0
  294. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +288 -0
  295. package/docs/types/ModelFloorplanPluginParameterType.html +281 -0
  296. package/docs/types/ModelFloorplanPluginReturnType.html +281 -0
  297. package/docs/types/ModelId.html +281 -0
  298. package/docs/types/ModelRoomLabelPluginParameters.html +281 -0
  299. package/docs/types/ModelRoomLabelPluginReturnType.html +281 -0
  300. package/docs/types/MoveArgs.html +291 -0
  301. package/docs/types/MoveOpts.html +289 -0
  302. package/docs/types/Object3DHelperEventMap.html +374 -0
  303. package/docs/types/ObjectFit.html +281 -0
  304. package/docs/types/PaintBrushEventMap.html +312 -0
  305. package/docs/types/PanoCompassPluginData.html +281 -0
  306. package/docs/types/PanoCompassPluginExportType.html +281 -0
  307. package/docs/types/PanoCompassPluginParameterType.html +281 -0
  308. package/docs/types/PanoFloorplanRadarPluginParameterType.html +281 -0
  309. package/docs/types/PanoFloorplanRadarPluginReturnType.html +281 -0
  310. package/docs/types/PanoIndex.html +281 -0
  311. package/docs/types/PanoMeasurePluginEvent.html +281 -0
  312. package/docs/types/PanoMeasureReturnType.html +281 -0
  313. package/docs/types/PanoSpatialTagPluginId.html +281 -0
  314. package/docs/types/PanoTagPluginExportInterface.html +281 -0
  315. package/docs/types/PanoTagPluginParamsInterface.html +281 -0
  316. package/docs/types/PanoVideoPluginParameterType.html +281 -0
  317. package/docs/types/PanoVideoPluginReturnType.html +281 -0
  318. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +289 -0
  319. package/docs/types/PipelinePluginParameterType.html +281 -0
  320. package/docs/types/PipelinePluginReturnType.html +281 -0
  321. package/docs/types/PlaneTag.html +289 -0
  322. package/docs/types/Point2DTag.html +289 -0
  323. package/docs/types/Point3DTag.html +289 -0
  324. package/docs/types/PointTag.html +286 -0
  325. package/docs/types/PointTagInstance.html +286 -0
  326. package/docs/types/Position.html +281 -0
  327. package/docs/types/RotateArgs.html +293 -0
  328. package/docs/types/RotateOpts.html +289 -0
  329. package/docs/types/RuleLabelsKey.html +281 -0
  330. package/docs/types/RuleLabelsValue.html +281 -0
  331. package/docs/types/StickType.html +281 -0
  332. package/docs/types/Tag.html +347 -0
  333. package/docs/types/Tag2D.html +289 -0
  334. package/docs/types/Tag3D.html +289 -0
  335. package/docs/types/TagConfigByKey.html +286 -0
  336. package/docs/types/TagContentType.html +281 -0
  337. package/docs/types/TagDimensionType.html +283 -0
  338. package/docs/types/TagElement.html +291 -0
  339. package/docs/types/TagEvents.html +334 -0
  340. package/docs/types/TagGLTFObject.html +304 -0
  341. package/docs/types/TagHooks.html +281 -0
  342. package/docs/types/TagId.html +281 -0
  343. package/docs/types/TagInstance.html +357 -0
  344. package/docs/types/TagPointType.html +284 -0
  345. package/docs/types/TagRendererMap.html +286 -0
  346. package/docs/types/TopviewFloorplanPluginParameterType.html +281 -0
  347. package/docs/types/TopviewFloorplanPluginReturnType.html +281 -0
  348. package/docs/types/WorkCode.html +281 -0
  349. package/docs/variables/FLOOR_TYPE_MAP.html +291 -0
  350. package/docs/variables/PLUGIN.html +281 -0
  351. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +284 -0
  352. package/docs/variables/ROOM_TYPE_MAP.html +291 -0
  353. package/docs/variables/defaultGlobalConfig.html +281 -0
  354. package/docs/variables/itemLabelPluginServerParams.html +288 -0
  355. package/docs/variables/modelItemLabelPluginServerParams.html +288 -0
  356. package/docs/variables/modelRoomLabelPluginServerParams.html +288 -0
  357. package/libs/CruisePlugin/CruiseController.d.ts +147 -0
  358. package/libs/CruisePlugin/CruiseController.js +236 -0
  359. package/libs/CruisePlugin/Move.d.ts +26 -0
  360. package/libs/CruisePlugin/Move.js +111 -0
  361. package/libs/CruisePlugin/{Controller.d.ts → Work.d.ts} +1 -8
  362. package/libs/CruisePlugin/{Controller.js → Work.js} +149 -177
  363. package/libs/CruisePlugin/index.d.ts +4 -3
  364. package/libs/CruisePlugin/index.js +15 -10
  365. package/libs/CruisePlugin/typing.d.ts +2 -2
  366. package/libs/CruisePlugin/utils/getFiveStateOnCurve.d.ts +11 -0
  367. package/libs/CruisePlugin/utils/getFiveStateOnCurve.js +11 -0
  368. package/libs/GuideLinePlugin/Controller.d.ts +1 -6
  369. package/libs/GuideLinePlugin/Controller.js +60 -74
  370. package/libs/GuideLinePlugin/GuideLineItem/index.js +53 -43
  371. package/libs/GuideLinePlugin/GuideLineItem.js +12 -9
  372. package/libs/GuideLinePlugin/index.js +20 -17
  373. package/libs/PanoTagPlugin/Components/TagItem.js +255 -287
  374. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +4 -0
  375. package/libs/PanoTagPlugin/controller/TagComputer.js +135 -116
  376. package/libs/PanoTagPlugin/controller/TagRender.d.ts +0 -4
  377. package/libs/PanoTagPlugin/controller/TagRender.js +71 -90
  378. package/libs/base/BasePlugin.js +1 -1
  379. package/libs/index.js +124 -119
  380. package/libs/shared-utils/five/fiveLoaded.d.ts +2 -0
  381. package/libs/shared-utils/five/fiveLoaded.js +30 -0
  382. package/libs/shared-utils/formatRad.d.ts +7 -0
  383. package/libs/shared-utils/formatRad.js +7 -0
  384. package/libs/shared-utils/logger.js +1 -1
  385. package/package.json +2 -2
  386. package/dist/CruisePlugin/utils/linerValue.d.ts +0 -1
  387. /package/dist/{CruisePlugin/utils → shared-utils}/formatRad.d.ts +0 -0
  388. /package/dist/{CruisePlugin/utils/vectorToCoordinates.d.ts → shared-utils/vectorToCoordinate.d.ts} +0 -0
  389. /package/libs/{CruisePlugin/utils/vectorToCoordinates.d.ts → shared-utils/vectorToCoordinate.d.ts} +0 -0
  390. /package/libs/{CruisePlugin/utils/vectorToCoordinates.js → shared-utils/vectorToCoordinate.js} +0 -0
@@ -1,19 +1,19 @@
1
- var $ = Object.defineProperty, w = Object.defineProperties;
2
- var E = Object.getOwnPropertyDescriptors;
3
- var T = Object.getOwnPropertySymbols;
4
- var L = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
5
- var k = (p, e, i) => e in p ? $(p, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : p[e] = i, h = (p, e) => {
1
+ var B = Object.defineProperty, E = Object.defineProperties;
2
+ var $ = Object.getOwnPropertyDescriptors;
3
+ var C = Object.getOwnPropertySymbols;
4
+ var w = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
5
+ var k = (m, e, i) => e in m ? B(m, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : m[e] = i, g = (m, e) => {
6
6
  for (var i in e || (e = {}))
7
- L.call(e, i) && k(p, i, e[i]);
8
- if (T)
9
- for (var i of T(e))
10
- _.call(e, i) && k(p, i, e[i]);
11
- return p;
12
- }, M = (p, e) => w(p, E(e));
13
- import * as U from "three";
14
- import { is3DTag as z, isMediaModelTag as D } from "../utils/tag/tagCheck.js";
15
- import { getTagCenterPosition as P, getTagPosition as O } from "../utils/tagPosition.js";
16
- import { checkRange as m } from "../utils/checkRange.js";
7
+ w.call(e, i) && k(m, i, e[i]);
8
+ if (C)
9
+ for (var i of C(e))
10
+ O.call(e, i) && k(m, i, e[i]);
11
+ return m;
12
+ }, M = (m, e) => E(m, $(e));
13
+ import * as j from "three";
14
+ import { is3DTag as L, isMediaModelTag as D } from "../utils/tag/tagCheck.js";
15
+ import { getTagCenterPosition as x, getTagPosition as z } from "../utils/tagPosition.js";
16
+ import { checkRange as p } from "../utils/checkRange.js";
17
17
  import { isPanoramaLike as b, isModelLike as Z } from "../../shared-utils/five/mode.js";
18
18
  import "hammerjs";
19
19
  import "@realsee/five";
@@ -64,7 +64,7 @@ import "../utils/tag/adaptConfig.js";
64
64
  import "../../shared-utils/typescript/entries.js";
65
65
  import "../../shared-utils/url/getUrl.js";
66
66
  import "../../shared-utils/five/transformPosition.js";
67
- const I = new U.Raycaster();
67
+ const I = new j.Raycaster();
68
68
  class Je extends N {
69
69
  constructor(e) {
70
70
  super(e);
@@ -73,80 +73,80 @@ class Je extends N {
73
73
  * @description: 获取是否可见
74
74
  */
75
75
  getVisible(e, i) {
76
- const f = h(h({}, this.five.getCurrentState()), i), { panoIndex: t, mode: s } = f, d = b(s) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
77
- if ((d == null ? void 0 : d.visible) !== void 0)
78
- return d.visible;
76
+ const l = g(g({}, this.five.getCurrentState()), i), { panoIndex: t, mode: n } = l, f = b(n) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
77
+ if ((f == null ? void 0 : f.visible) !== void 0)
78
+ return f.visible;
79
79
  {
80
- const o = [], u = (() => {
81
- var r, l, v;
82
- const n = (r = this.getTagConfig(e).visibleConfig) != null ? r : {};
83
- if (typeof n == "function")
84
- return { value: n(this.five, { tag: e, distance: this.getDistance(e) }), checkedList: o, reason: "config function result" };
85
- if (n.keep === "hidden")
86
- return { value: !1, checkedList: o, reason: "config.keep is hidden" };
87
- if (n.keep === "visible")
88
- return { value: !0, checkedList: o, reason: "config.keep is visible" };
89
- if (n.visibleFiveMode !== void 0) {
90
- const a = typeof n.visibleFiveMode == "function" ? n.visibleFiveMode(e) : n.visibleFiveMode;
91
- let c = !1;
92
- if (Array.isArray(a) ? c = a.includes(s) : a === "ModelLike" ? c = Z(s) : a === "PanoramaLike" ? c = !b(s) : a === "all" ? c = !0 : typeof a == "string" && (c = a === s), c === !1)
80
+ const s = [], u = (() => {
81
+ var r, c, v;
82
+ const o = (r = this.getTagConfig(e).visibleConfig) != null ? r : {};
83
+ if (typeof o == "function")
84
+ return { value: o(this.five, { tag: e, distance: this.getDistance(e) }), checkedList: s, reason: "config function result" };
85
+ if (o.keep === "hidden")
86
+ return { value: !1, checkedList: s, reason: "config.keep is hidden" };
87
+ if (o.keep === "visible")
88
+ return { value: !0, checkedList: s, reason: "config.keep is visible" };
89
+ if (o.visibleFiveMode !== void 0) {
90
+ const a = typeof o.visibleFiveMode == "function" ? o.visibleFiveMode(e) : o.visibleFiveMode;
91
+ let d = !1;
92
+ if (Array.isArray(a) ? d = a.includes(n) : a === "ModelLike" ? d = Z(n) : a === "PanoramaLike" ? d = !b(n) : a === "all" ? d = !0 : typeof a == "string" && (d = a === n), d === !1)
93
93
  return {
94
94
  value: !1,
95
- checkedList: o,
95
+ checkedList: s,
96
96
  reason: "current mode is not included in visibleFiveMode",
97
- visibleFiveMode: n.visibleFiveMode,
98
- mode: s
97
+ visibleFiveMode: o.visibleFiveMode,
98
+ mode: n
99
99
  };
100
100
  }
101
- if (n.followModelVisibility === !0 && (s === "Floorplan" || s === "Mapview") && this.getVisibleByFloorIndex(e) === !1)
102
- return { value: !1, checkedList: o, reason: "followModelVisibility check failed" };
103
- if (b(s) && n.visiblePanoIndex !== void 0 && n.visiblePanoIndex !== "all" && t !== void 0) {
104
- if (o.push("visiblePanoIndex"), Array.isArray(n.visiblePanoIndex) && !n.visiblePanoIndex.includes(t))
101
+ if (o.followModelVisibility === !0 && (n === "Floorplan" || n === "Mapview") && this.getVisibleByFloorIndex(e) === !1)
102
+ return { value: !1, checkedList: s, reason: "followModelVisibility check failed" };
103
+ if (b(n) && o.visiblePanoIndex !== void 0 && o.visiblePanoIndex !== "all" && t !== void 0) {
104
+ if (s.push("visiblePanoIndex"), Array.isArray(o.visiblePanoIndex) && !o.visiblePanoIndex.includes(t))
105
105
  return {
106
106
  value: !1,
107
- checkedList: o,
108
- reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${t}, visiblePanoIndex: ${n.visiblePanoIndex}`
107
+ checkedList: s,
108
+ reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${t}, visiblePanoIndex: ${o.visiblePanoIndex}`
109
109
  };
110
- if (n.visiblePanoIndex === "current" && t !== ((l = e.fiveState) == null ? void 0 : l.panoIndex))
110
+ if (o.visiblePanoIndex === "current" && t !== ((c = e.fiveState) == null ? void 0 : c.panoIndex))
111
111
  return {
112
112
  value: !1,
113
- checkedList: o,
113
+ checkedList: s,
114
114
  reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(v = e.fiveState) == null ? void 0 : v.panoIndex}`
115
115
  };
116
116
  }
117
- if (n.visibleDistance !== void 0 && (o.push("visibleDistance"), n.visibleDistance !== "unLimited")) {
117
+ if (o.visibleDistance !== void 0 && (s.push("visibleDistance"), o.visibleDistance !== "unLimited")) {
118
118
  const a = this.getDistance(e);
119
- if (m(a, n.visibleDistance) === !1)
119
+ if (p(a, o.visibleDistance) === !1)
120
120
  return {
121
121
  value: !1,
122
- checkedList: o,
123
- reason: `distance is not in visibleDistance. distance: ${a}, visibleDistance: ${n.visibleDistance}`
122
+ checkedList: s,
123
+ reason: `distance is not in visibleDistance. distance: ${a}, visibleDistance: ${o.visibleDistance}`
124
124
  };
125
125
  }
126
- if (b(s) && n.angleRange && z(e)) {
127
- o.push("angleRange");
126
+ if (b(n) && o.angleRange && L(e)) {
127
+ s.push("angleRange");
128
128
  const a = this.getAngle(e);
129
- if (m(a, n.angleRange) === !1)
130
- return { value: !1, checkedList: o, reason: `angle is not in angleRange. angle: ${a}, angleRange: ${n.angleRange}` };
129
+ if (p(a, o.angleRange) === !1)
130
+ return { value: !1, checkedList: s, reason: `angle is not in angleRange. angle: ${a}, angleRange: ${o.angleRange}` };
131
131
  }
132
- if (n.intersectRaycaster !== !1 && (typeof n.intersectRaycaster != "object" || n.intersectRaycaster.enabled !== !1)) {
133
- if (o.push("intersectRaycaster"), t === void 0)
132
+ if (o.intersectRaycaster !== !1 && (typeof o.intersectRaycaster != "object" || o.intersectRaycaster.enabled !== !1)) {
133
+ if (s.push("intersectRaycaster"), t === void 0)
134
134
  return {
135
135
  value: !1,
136
- checkedList: o,
136
+ checkedList: s,
137
137
  reason: `intersectRaycaster check failed: panoIndex is ${t}`
138
138
  };
139
139
  const a = this.getTagEnableByIntersect(e, t);
140
140
  if (a.value === !1)
141
- return Object.assign(a, { checkedList: o });
141
+ return Object.assign(a, { checkedList: s });
142
142
  }
143
143
  return {
144
144
  value: !0,
145
- checkedList: o,
145
+ checkedList: s,
146
146
  reason: "all check passed"
147
147
  };
148
148
  })();
149
- return d && (d.visible = u.value, d.__debug_visible_reason__ = u), u.value;
149
+ return f && (f.visible = u.value, f.__debug_visible_reason__ = u), u.value;
150
150
  }
151
151
  }
152
152
  /**
@@ -159,22 +159,22 @@ class Je extends N {
159
159
  if (t.unfolded !== void 0)
160
160
  return t.unfolded;
161
161
  {
162
- const s = this.getTagConfig(e).unfoldedConfig;
163
- if (!s)
162
+ const n = this.getTagConfig(e).unfoldedConfig;
163
+ if (!n)
164
164
  return;
165
- const d = (() => {
166
- if (typeof s == "function")
167
- return s(this.five, { tag: e, distance: this.getDistance(e) });
168
- if (s.keep === "folded")
165
+ const f = (() => {
166
+ if (typeof n == "function")
167
+ return n(this.five, { tag: e, distance: this.getDistance(e) });
168
+ if (n.keep === "folded")
169
169
  return !1;
170
- if (s.keep === "unfolded")
170
+ if (n.keep === "unfolded")
171
171
  return !0;
172
- if (s.unfoldDistance && m(this.getDistance(e), s.unfoldDistance) === !1)
172
+ if (n.unfoldDistance && p(this.getDistance(e), n.unfoldDistance) === !1)
173
173
  return !1;
174
174
  })();
175
- t.unfolded = d;
176
- const o = this.getUnfoldedByCamera(e);
177
- return o !== void 0 ? o : t.unfolded;
175
+ t.unfolded = f;
176
+ const s = this.getUnfoldedByCamera(e);
177
+ return s !== void 0 ? s : t.unfolded;
178
178
  }
179
179
  }
180
180
  /**
@@ -182,7 +182,7 @@ class Je extends N {
182
182
  */
183
183
  getUnfoldedByCamera(e) {
184
184
  return this.getCurrentVisibleState(e) ? (() => {
185
- var s;
185
+ var n;
186
186
  const t = this.getTagConfig(e).unfoldedConfig;
187
187
  if (t) {
188
188
  if (typeof t == "function")
@@ -194,25 +194,25 @@ class Je extends N {
194
194
  if (t.autoUnfold === void 0 || t.autoUnfold === !1 || t.autoUnfold.enable === !1 || !t.autoUnfold.strategy)
195
195
  return;
196
196
  if (t.autoUnfold.strategy === "ScreenPostion") {
197
- const d = this.getTagProject(e);
198
- if (d && m(d.x, t.autoUnfold.autoUnfoldProjectX) === !1)
197
+ const f = this.getTagProject(e);
198
+ if (f && p(f.x, t.autoUnfold.autoUnfoldProjectX) === !1)
199
199
  return !1;
200
200
  }
201
201
  if (t.autoUnfold.strategy === "MinimumDistance") {
202
202
  const u = this.filterPointTag.filter((r) => this.getCurrentVisibleState(r)).filter((r) => {
203
- const l = this.getTagProject(r);
204
- if (!l)
203
+ const c = this.getTagProject(r);
204
+ if (!c)
205
205
  return !1;
206
- const { x: v, y: a, z: c } = l;
207
- return !(Math.abs(c) > 1 || Math.abs(v) > 1 || Math.abs(a) > 1);
208
- }).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: l }) => {
206
+ const { x: v, y: a, z: d } = c;
207
+ return !(Math.abs(d) > 1 || Math.abs(v) > 1 || Math.abs(a) > 1);
208
+ }).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: c }) => {
209
209
  var v, a;
210
- return !(typeof l == "function" || l.keep || l.autoUnfold === !1 || ((v = l.autoUnfold) == null ? void 0 : v.enable) === !1 || ((a = l.autoUnfold) == null ? void 0 : a.strategy) !== "MinimumDistance");
211
- }).map((r) => M(h({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: l }) => {
212
- const v = l.autoUnfold.distance;
213
- return !(v && m(r, v) === !1);
214
- }).sort((r, l) => r.distance - l.distance).findIndex((r) => r.id === e.id);
215
- if (u === -1 || u <= ((s = t.autoUnfold.maxNumber) != null ? s : 1) - 1 === !1)
210
+ return !(typeof c == "function" || c.keep || c.autoUnfold === !1 || ((v = c.autoUnfold) == null ? void 0 : v.enable) === !1 || ((a = c.autoUnfold) == null ? void 0 : a.strategy) !== "MinimumDistance");
211
+ }).map((r) => M(g({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: c }) => {
212
+ const v = c.autoUnfold.distance;
213
+ return !(v && p(r, v) === !1);
214
+ }).sort((r, c) => r.distance - c.distance).findIndex((r) => r.id === e.id);
215
+ if (u === -1 || u <= ((n = t.autoUnfold.maxNumber) != null ? n : 1) - 1 === !1)
216
216
  return !1;
217
217
  }
218
218
  return !0;
@@ -228,18 +228,37 @@ class Je extends N {
228
228
  const i = this.getDistance(e);
229
229
  return Math.round((1e4 - (i != null ? i : 0)) * 100);
230
230
  }
231
+ /**
232
+ * @description: 一个点的标签
233
+ */
234
+ setPointTagPosition() {
235
+ const e = this.filterPointTag;
236
+ e.length !== 0 && e.forEach((i) => {
237
+ var f;
238
+ const l = this.getCurrentVisibleState(i), t = (f = i.__Object__) != null ? f : {
239
+ timeoutId: void 0,
240
+ inAnimation: !0
241
+ };
242
+ if (i.__Object__ = t, !l && i.screenPosition ? (t.inAnimation = !0, t.timeoutId = setTimeout(() => {
243
+ this.getCurrentVisibleState(i) || (t.inAnimation = !1, i.screenPosition = null);
244
+ }, 1e3)) : t.timeoutId && (t.inAnimation = !1, clearTimeout(t.timeoutId)), !l && !t.inAnimation)
245
+ return;
246
+ const n = this.getTagProject(i);
247
+ n ? i.screenPosition = { leftPercent: (n.x + 1) / 2 * 100, topPercent: (-n.y + 1) / 2 * 100 } : i.screenPosition = null;
248
+ });
249
+ }
231
250
  setVisible(e) {
232
251
  (e != null ? e : this.tags).forEach((i) => {
233
- const f = this.getVisible(i);
234
- i.state && (i.state.visible = f);
252
+ const l = this.getVisible(i);
253
+ i.state && (i.state.visible = l);
235
254
  });
236
255
  }
237
256
  setUnfoldedByPanoIndex() {
238
257
  this.tags.forEach((e) => {
239
258
  const i = this.getUnfoldedByPanoIndex(e);
240
259
  if (e.state && (i !== void 0 && (e.state.unfolded = i), i && !e.state.visible)) {
241
- const f = this.getTagConfig(e);
242
- typeof f.unfoldedConfig == "object" && f.unfoldedConfig.autoFoldWhenHide !== !1 && (e.state.unfolded = !1);
260
+ const l = this.getTagConfig(e);
261
+ typeof l.unfoldedConfig == "object" && l.unfoldedConfig.autoFoldWhenHide !== !1 && (e.state.unfolded = !1);
243
262
  }
244
263
  });
245
264
  }
@@ -247,59 +266,59 @@ class Je extends N {
247
266
  * @description 一个点的标签
248
267
  */
249
268
  getTagProject(e) {
250
- const i = P(e);
269
+ const i = x(e);
251
270
  if (!i)
252
271
  return;
253
- const { x: f, y: t, z: s } = i.project(this.five.camera);
254
- if (!(s > 1))
255
- return { x: f, y: t, z: s };
272
+ const { x: l, y: t, z: n } = i.project(this.five.camera);
273
+ if (!(n > 1))
274
+ return { x: l, y: t, z: n };
256
275
  }
257
276
  /** 通过射线检测标签可用性 */
258
277
  getTagEnableByIntersect(e, i) {
259
- var n, r, l, v, a;
260
- const f = R(R((n = this.getTagConfig(e).visibleConfig) != null ? n : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, s = b(this.five.getCurrentState().mode) ? this.getObserverPosition(t) : this.five.camera.position;
261
- if (s === void 0)
278
+ var o, r, c, v, a;
279
+ const l = R(R((o = this.getTagConfig(e).visibleConfig) != null ? o : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, n = b(this.five.getCurrentState().mode) ? this.getObserverPosition(t) : this.five.camera.position;
280
+ if (n === void 0)
262
281
  return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
263
- const d = W(
282
+ const f = W(
264
283
  (() => {
265
- var g;
266
- const c = (g = f.checkPoints) != null ? g : "center";
267
- return c === "center" ? P(e) : c === "corner" ? O(e) : Array.isArray(c) ? c : [];
284
+ var h;
285
+ const d = (h = l.checkPoints) != null ? h : "center";
286
+ return d === "center" ? x(e) : d === "corner" ? z(e) : Array.isArray(d) ? d : [];
268
287
  })()
269
288
  );
270
- let o = 0, u = 0;
271
- for (const c of d) {
272
- const g = new U.Vector3().subVectors(c, s).normalize();
273
- I.set(s, g);
274
- const F = s.distanceTo(c), [y] = this.five.model.intersectRaycaster(I), x = (() => {
289
+ let s = 0, u = 0;
290
+ for (const d of f) {
291
+ const h = new j.Vector3().subVectors(d, n).normalize();
292
+ I.set(n, h);
293
+ const U = n.distanceTo(d), [y] = this.five.model.intersectRaycaster(I), P = (() => {
275
294
  if (!D(e))
276
295
  return;
277
- const V = this.tags.filter(D).map((A) => {
278
- var C;
279
- return (C = A.model) == null ? void 0 : C.object;
280
- }).filter(H), [B] = I.intersectObjects(V, !0);
281
- return B;
282
- })(), j = (r = f.distanceAccuracy) != null ? r : 0.01;
283
- Math.min((l = y == null ? void 0 : y.distance) != null ? l : 1 / 0, (v = x == null ? void 0 : x.distance) != null ? v : 1 / 0) + j >= F ? o++ : u++;
284
- const S = (a = f.needPassed) != null ? a : 1;
285
- if (o >= S)
296
+ const A = this.tags.filter(D).map((V) => {
297
+ var T;
298
+ return (T = V.model) == null ? void 0 : T.object;
299
+ }).filter(H), [S] = I.intersectObjects(A, !0);
300
+ return S;
301
+ })(), _ = (r = l.distanceAccuracy) != null ? r : 0.01;
302
+ Math.min((c = y == null ? void 0 : y.distance) != null ? c : 1 / 0, (v = P == null ? void 0 : P.distance) != null ? v : 1 / 0) + _ >= U ? s++ : u++;
303
+ const F = (a = l.needPassed) != null ? a : 1;
304
+ if (s >= F)
286
305
  return { value: !0 };
287
306
  }
288
307
  return u === 0 ? { value: !0 } : {
289
308
  value: !1,
290
309
  reason: {
291
310
  type: "intersectRaycaster check failed",
292
- passedCount: o,
293
- needPassed: f.needPassed
311
+ passedCount: s,
312
+ needPassed: l.needPassed
294
313
  }
295
314
  };
296
315
  }
297
316
  /** 检测是否匹配当前楼层 */
298
317
  getVisibleByFloorIndex(e) {
299
- var s, d, o, u, n, r, l;
318
+ var n, f, s, u, o, r, c;
300
319
  let i = 0;
301
- const f = (s = e.fiveState) == null ? void 0 : s.panoIndex;
302
- f !== void 0 ? i = (d = this.work.observers[f]) == null ? void 0 : d.floorIndex : i = q(this.work, (l = (r = (u = (o = e.model) == null ? void 0 : o.object) == null ? void 0 : u.position) != null ? r : (n = e.mediaPlane) == null ? void 0 : n.position) != null ? l : P(e));
320
+ const l = (n = e.fiveState) == null ? void 0 : n.panoIndex;
321
+ l !== void 0 ? i = (f = this.work.observers[l]) == null ? void 0 : f.floorIndex : i = q(this.work, (c = (r = (u = (s = e.model) == null ? void 0 : s.object) == null ? void 0 : u.position) != null ? r : (o = e.mediaPlane) == null ? void 0 : o.position) != null ? c : x(e));
303
322
  const t = this.five.model.shownFloor;
304
323
  return t === null || t === i;
305
324
  }
@@ -55,10 +55,6 @@ export declare abstract class TagRender extends TagComputer {
55
55
  protected updateTagCss3DObjectMatrix<S extends 'Model' | 'Plane' = 'Model'>(tag: TagInstance<TagContentType, S>, model: Object3D): void;
56
56
  /** 添加模型标签 */
57
57
  protected addMediaModelTag(tags: Tag[]): Promise<void>;
58
- /**
59
- * @description: 一个点的标签
60
- */
61
- protected setPointTagPosition(): void;
62
58
  /**
63
59
  * @description: 渲染单个点的标签
64
60
  */