@realsee/dnalogel 3.34.2 → 3.34.4

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