@realsee/dnalogel 3.55.0 → 3.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (444) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +7 -3
  3. package/dist/PanoTagPlugin/controller/Tag/PointTag.d.ts +0 -1
  4. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -2
  5. package/dist/index.cjs.js +58 -58
  6. package/dist/index.js +3177 -3154
  7. package/dist/index.umd.js +48 -48
  8. package/dist/shared-utils/tag.d.ts +6 -1
  9. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  10. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  11. package/docs/classes/CSS3DRender.html +2 -2
  12. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  13. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  14. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  15. package/docs/classes/ModelRoomLabelController.html +2 -2
  16. package/docs/classes/MoveController.html +2 -2
  17. package/docs/classes/Object3DHelperController.html +2 -2
  18. package/docs/classes/PaintBrush.html +2 -2
  19. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  20. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  21. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  22. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  23. package/docs/classes/PanoTagPluginController.html +26 -26
  24. package/docs/classes/Sculpt.html +2 -2
  25. package/docs/classes/Util.BetterTween.html +2 -2
  26. package/docs/classes/Util.FiveDomEvents.html +2 -2
  27. package/docs/classes/Util.FivePuppet.html +2 -2
  28. package/docs/classes/Util.Interval.html +2 -2
  29. package/docs/classes/Util.LightTag.html +14 -14
  30. package/docs/classes/Util.LineSegments.html +2 -2
  31. package/docs/classes/Util.Magnifier.html +2 -2
  32. package/docs/classes/Util.Object3D.html +2 -2
  33. package/docs/classes/Util.PointHelper.html +2 -2
  34. package/docs/classes/Util.PointSelector.html +2 -2
  35. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  36. package/docs/classes/Util.Rectangle.html +2 -2
  37. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  38. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  39. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  40. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  41. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  42. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  43. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  44. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  45. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  46. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  47. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  48. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  49. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  50. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  51. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  52. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  53. package/docs/classes/WalkController.html +2 -2
  54. package/docs/enums/CameraMovementEffect.html +2 -2
  55. package/docs/enums/ContentType.html +2 -2
  56. package/docs/enums/DIRECTION.html +2 -2
  57. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  58. package/docs/enums/DimensionType.html +2 -2
  59. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  60. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  61. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  62. package/docs/enums/PointType.html +2 -2
  63. package/docs/enums/Rotation.html +2 -2
  64. package/docs/functions/AreaMakerPlugin.html +1 -1
  65. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  66. package/docs/functions/CameraMovementPlugin.html +2 -2
  67. package/docs/functions/CruisePlugin.html +1 -1
  68. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  69. package/docs/functions/GuideLinePlugin.html +1 -1
  70. package/docs/functions/ItemLabelPlugin.html +1 -1
  71. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  72. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  73. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  74. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  75. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  76. package/docs/functions/ModelMakerPlugin.html +1 -1
  77. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  78. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  79. package/docs/functions/ModelViewPlugin.html +2 -2
  80. package/docs/functions/MovePlugin.html +1 -1
  81. package/docs/functions/Object3DHelperPlugin.html +1 -1
  82. package/docs/functions/PanoCompassPlugin.html +1 -1
  83. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  84. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  85. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  86. package/docs/functions/PanoMeasurePlugin.html +1 -1
  87. package/docs/functions/PanoRulerPlugin.html +2 -2
  88. package/docs/functions/PanoRulerProPlugin.html +2 -2
  89. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  90. package/docs/functions/PanoTagPlugin.html +1 -1
  91. package/docs/functions/PanoVideoPlugin.html +2 -2
  92. package/docs/functions/PipelinePlugin.html +1 -1
  93. package/docs/functions/SculptPlugin.html +2 -2
  94. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  95. package/docs/functions/Util.absoluteUrl.html +2 -2
  96. package/docs/functions/Util.awaitNextFrame.html +1 -1
  97. package/docs/functions/Util.blink.html +2 -2
  98. package/docs/functions/Util.bounding.html +1 -1
  99. package/docs/functions/Util.boundingBox.html +1 -1
  100. package/docs/functions/Util.boundingSphere.html +1 -1
  101. package/docs/functions/Util.boxVertex.html +2 -2
  102. package/docs/functions/Util.boxVertexes.html +1 -1
  103. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  104. package/docs/functions/Util.convexHull.html +2 -2
  105. package/docs/functions/Util.equal.html +2 -2
  106. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  107. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  108. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  109. package/docs/functions/Util.getFrameTime.html +2 -2
  110. package/docs/functions/Util.inside.html +1 -1
  111. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  112. package/docs/functions/Util.isModelLike.html +1 -1
  113. package/docs/functions/Util.isNil.html +2 -2
  114. package/docs/functions/Util.isPanoramaLike.html +1 -1
  115. package/docs/functions/Util.lookObject.html +2 -2
  116. package/docs/functions/Util.lookPoint.html +2 -2
  117. package/docs/functions/Util.nextFrame.html +1 -1
  118. package/docs/functions/Util.notNil.html +2 -2
  119. package/docs/functions/Util.reblink.html +2 -2
  120. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  121. package/docs/functions/Util.sculpt.createBox.html +1 -1
  122. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  123. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  124. package/docs/functions/Util.sculpt.createLine.html +2 -2
  125. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  126. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  127. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  128. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  129. package/docs/functions/Util.tag.html +1 -1
  130. package/docs/functions/Util.tweenProgress.html +1 -1
  131. package/docs/functions/Util.uuid.html +2 -2
  132. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  133. package/docs/functions/Util.worldBounding.html +1 -1
  134. package/docs/functions/Util.worldBoundingBox.html +1 -1
  135. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  136. package/docs/functions/createPolyline.html +2 -2
  137. package/docs/functions/pluginFlag.html +1 -1
  138. package/docs/hierarchy.html +1 -1
  139. package/docs/index.html +2 -2
  140. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  141. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  142. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  143. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  144. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  145. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  146. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  147. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  148. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  149. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  150. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  151. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  152. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  153. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  154. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  155. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  156. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  157. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  158. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  159. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  160. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  161. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  162. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  163. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  164. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  165. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  166. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  167. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  168. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  169. package/docs/interfaces/FloorplanBounding.html +2 -2
  170. package/docs/interfaces/FloorplanData.html +2 -2
  171. package/docs/interfaces/FloorplanEntrance.html +2 -2
  172. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  173. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  174. package/docs/interfaces/FloorplanFloorData.html +2 -2
  175. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  176. package/docs/interfaces/FloorplanObserver.html +2 -2
  177. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  178. package/docs/interfaces/FloorplanPosition.html +2 -2
  179. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  180. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  181. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  182. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  183. package/docs/interfaces/FloorplanServerData.html +2 -2
  184. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  185. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  186. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  187. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  188. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  189. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  190. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  191. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  192. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  193. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  194. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  195. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  196. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  197. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  198. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  199. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  200. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  201. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  202. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  203. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  204. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  205. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  206. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  209. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
  210. package/docs/interfaces/HelperOffset.html +2 -2
  211. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  212. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  213. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  214. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  215. package/docs/interfaces/MinMax.html +2 -2
  216. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  217. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  218. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  219. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  220. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  221. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  222. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  223. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  224. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  225. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  226. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  227. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  228. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  229. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  230. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  231. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  232. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  233. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  234. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  235. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  236. package/docs/interfaces/Object3DHelperState.html +2 -2
  237. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  238. package/docs/interfaces/PaintBrushAction.html +2 -2
  239. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  240. package/docs/interfaces/PaintBrushState.html +2 -2
  241. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  242. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  243. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  244. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  245. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  246. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  247. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  248. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  249. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  250. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  251. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  252. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  253. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  254. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  255. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  256. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  257. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  258. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  259. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  260. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  261. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  262. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  263. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  264. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  265. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  266. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  267. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  268. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  269. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  270. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  271. package/docs/interfaces/PluginEventMap.html +2 -2
  272. package/docs/interfaces/Point.html +2 -2
  273. package/docs/interfaces/Room.html +2 -2
  274. package/docs/interfaces/RoomInfo.html +2 -2
  275. package/docs/interfaces/RoomLabel.html +2 -2
  276. package/docs/interfaces/RoomRules.html +1 -1
  277. package/docs/interfaces/Rooms.html +1 -1
  278. package/docs/interfaces/Scissor.html +2 -2
  279. package/docs/interfaces/State.html +2 -2
  280. package/docs/interfaces/TagCacheInterface.html +2 -2
  281. package/docs/interfaces/TagConfig.html +2 -2
  282. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  283. package/docs/interfaces/TagIconUrl.html +2 -2
  284. package/docs/interfaces/TagObjectGroup.html +2 -2
  285. package/docs/interfaces/TagStyle.html +2 -2
  286. package/docs/interfaces/Tags.html +2 -2
  287. package/docs/interfaces/TemporaryState.html +2 -2
  288. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  289. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  290. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  291. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  292. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  293. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  294. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  295. package/docs/interfaces/Util.PointIntersection.html +2 -2
  296. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  297. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  298. package/docs/modules/AreaMakerPluginType.html +2 -2
  299. package/docs/modules/CruisePluginTypes.html +2 -2
  300. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  301. package/docs/modules/GuideLineItem.html +2 -2
  302. package/docs/modules/GuideLineModeItem.html +2 -2
  303. package/docs/modules/GuideLinePluginType.html +2 -2
  304. package/docs/modules/ModelMakerPluginType.html +2 -2
  305. package/docs/modules/PanoVideoPluginType.html +2 -2
  306. package/docs/modules/SculptData.html +2 -2
  307. package/docs/modules/Util.html +2 -2
  308. package/docs/modules/Util.sculpt.html +2 -2
  309. package/docs/modules.html +2 -2
  310. package/docs/types/AddObject3DHelperConfig.html +2 -2
  311. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  312. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  313. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  314. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  315. package/docs/types/ArrayPosition.html +1 -1
  316. package/docs/types/AudioAppearance.html +1 -1
  317. package/docs/types/CSS3DRenderExportType.html +1 -1
  318. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  319. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  320. package/docs/types/ClassFunctionParameters.html +1 -1
  321. package/docs/types/Color.html +1 -1
  322. package/docs/types/ContentTypeConfigKey.html +1 -1
  323. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  324. package/docs/types/ContentTypeMap.html +1 -1
  325. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  326. package/docs/types/Create3DElementReturnType.html +1 -1
  327. package/docs/types/CruisePluginExportType.html +1 -1
  328. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  329. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  330. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  331. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  332. package/docs/types/DeprecatedTagProperty.html +2 -2
  333. package/docs/types/Direction-1.html +1 -1
  334. package/docs/types/Direction4.html +1 -1
  335. package/docs/types/ElementRenderer.html +2 -2
  336. package/docs/types/FloorplanRuleLabels.html +2 -2
  337. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  338. package/docs/types/GuideLinePluginExportType.html +1 -1
  339. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  340. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  341. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  342. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  343. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  344. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  345. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  346. package/docs/types/HelperEventMap.html +1 -1
  347. package/docs/types/InternalHelperEventMap.html +1 -1
  348. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  349. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  350. package/docs/types/MediaData.html +2 -2
  351. package/docs/types/MediaStore.html +1 -1
  352. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  353. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  354. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  355. package/docs/types/ModelId.html +1 -1
  356. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  357. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  358. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  359. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  360. package/docs/types/MoveArgs.html +2 -2
  361. package/docs/types/MoveOpts.html +2 -2
  362. package/docs/types/Object3DHelperEventMap.html +1 -1
  363. package/docs/types/ObjectFit.html +1 -1
  364. package/docs/types/PaintBrushEventMap.html +1 -1
  365. package/docs/types/PanoCompassPluginData.html +1 -1
  366. package/docs/types/PanoCompassPluginExportType.html +1 -1
  367. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  368. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  369. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  370. package/docs/types/PanoIndex.html +1 -1
  371. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  372. package/docs/types/PanoMeasureReturnType.html +1 -1
  373. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  374. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  375. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  376. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  377. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  378. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  379. package/docs/types/PipelinePluginParameterType.html +1 -1
  380. package/docs/types/PipelinePluginReturnType.html +1 -1
  381. package/docs/types/PlaneTag.html +2 -2
  382. package/docs/types/Point2DTag.html +2 -2
  383. package/docs/types/Point3DTag.html +2 -2
  384. package/docs/types/PointTagInstance.html +1 -1
  385. package/docs/types/Position.html +1 -1
  386. package/docs/types/PositionFrom.html +1 -1
  387. package/docs/types/RotateArgs.html +2 -2
  388. package/docs/types/RotateOpts.html +2 -2
  389. package/docs/types/RuleLabelsKey.html +1 -1
  390. package/docs/types/RuleLabelsValue.html +1 -1
  391. package/docs/types/ScaleCallback.html +1 -1
  392. package/docs/types/ScalePosition.html +2 -2
  393. package/docs/types/SculptData.BoxData.html +1 -1
  394. package/docs/types/SculptData.CircleData.html +1 -1
  395. package/docs/types/SculptData.CylinderData.html +1 -1
  396. package/docs/types/SculptData.PointData.html +1 -1
  397. package/docs/types/SculptData.PolygonData.html +1 -1
  398. package/docs/types/SculptData.PolylineData.html +1 -1
  399. package/docs/types/SculptData.PrismData.html +1 -1
  400. package/docs/types/SculptData.RectangleData.html +1 -1
  401. package/docs/types/StickType.html +1 -1
  402. package/docs/types/Tag.html +2 -2
  403. package/docs/types/Tag2D.html +2 -2
  404. package/docs/types/Tag3D.html +2 -2
  405. package/docs/types/TagClickParams.html +1 -1
  406. package/docs/types/TagConfigByKey.html +1 -1
  407. package/docs/types/TagContentType.html +1 -1
  408. package/docs/types/TagContentTypeMapping.html +1 -1
  409. package/docs/types/TagDimensionType.html +1 -1
  410. package/docs/types/TagElement.html +2 -2
  411. package/docs/types/TagEvents.html +1 -1
  412. package/docs/types/TagGLTFObject.html +1 -1
  413. package/docs/types/TagHooks.html +1 -1
  414. package/docs/types/TagId.html +1 -1
  415. package/docs/types/TagInstance.html +1 -1
  416. package/docs/types/TagPointType.html +2 -2
  417. package/docs/types/TagRendererMap.html +1 -1
  418. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  419. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  420. package/docs/types/Util.ActionIfNoModelUnderMouse.html +1 -1
  421. package/docs/types/Util.PointSelectorConfig.html +1 -1
  422. package/docs/types/WorkCode.html +1 -1
  423. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  424. package/docs/variables/PLUGIN.html +1 -1
  425. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  426. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  427. package/docs/variables/Util.animeMap.html +1 -1
  428. package/docs/variables/defaultGlobalConfig.html +1 -1
  429. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  430. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  431. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  432. package/libs/ModelMakerPlugin/item/polygonItem.js +5 -5
  433. package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +7 -3
  434. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +86 -78
  435. package/libs/PanoTagPlugin/controller/Tag/PointTag.d.ts +0 -1
  436. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +30 -47
  437. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -2
  438. package/libs/PanoTagPlugin/controller/TagUtil.js +85 -70
  439. package/libs/PanoTagPlugin/controller/index.js +61 -51
  440. package/libs/base/BasePlugin.js +1 -1
  441. package/libs/shared-utils/logger.js +1 -1
  442. package/libs/shared-utils/tag.d.ts +6 -1
  443. package/libs/shared-utils/tag.js +34 -27
  444. package/package.json +1 -1
@@ -1,25 +1,25 @@
1
- var Z = Object.defineProperty, G = Object.defineProperties;
2
- var K = Object.getOwnPropertyDescriptors;
1
+ var G = Object.defineProperty, K = Object.defineProperties;
2
+ var Q = Object.getOwnPropertyDescriptors;
3
3
  var P = Object.getOwnPropertySymbols;
4
- var S = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
5
- var M = (c, i, e) => i in c ? Z(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e, p = (c, i) => {
4
+ var D = Object.prototype.hasOwnProperty, j = Object.prototype.propertyIsEnumerable;
5
+ var C = Math.pow, I = (c, i, e) => i in c ? G(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e, p = (c, i) => {
6
6
  for (var e in i || (i = {}))
7
- S.call(i, e) && M(c, e, i[e]);
7
+ D.call(i, e) && I(c, e, i[e]);
8
8
  if (P)
9
9
  for (var e of P(i))
10
- D.call(i, e) && M(c, e, i[e]);
10
+ j.call(i, e) && I(c, e, i[e]);
11
11
  return c;
12
- }, I = (c, i) => G(c, K(i));
13
- var j = (c, i) => {
12
+ }, w = (c, i) => K(c, Q(i));
13
+ var A = (c, i) => {
14
14
  var e = {};
15
15
  for (var t in c)
16
- S.call(c, t) && i.indexOf(t) < 0 && (e[t] = c[t]);
16
+ D.call(c, t) && i.indexOf(t) < 0 && (e[t] = c[t]);
17
17
  if (c != null && P)
18
18
  for (var t of P(c))
19
- i.indexOf(t) < 0 && D.call(c, t) && (e[t] = c[t]);
19
+ i.indexOf(t) < 0 && j.call(c, t) && (e[t] = c[t]);
20
20
  return e;
21
21
  };
22
- var f = (c, i, e) => (M(c, typeof i != "symbol" ? i + "" : i, e), e);
22
+ var f = (c, i, e) => (I(c, typeof i != "symbol" ? i + "" : i, e), e);
23
23
  var y = (c, i, e) => new Promise((t, r) => {
24
24
  var n = (s) => {
25
25
  try {
@@ -36,38 +36,38 @@ var y = (c, i, e) => new Promise((t, r) => {
36
36
  }, o = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(n, l);
37
37
  o((e = e.apply(c, i)).next());
38
38
  });
39
- import { Subscribe as Q } from "../../../shared-utils/Subscribe.js";
40
- import { calculateTagConfig as w } from "../../utils/tag/calculateTagConfig.js";
41
- import { getTagStickType as Y } from "../../utils/tag/format.js";
39
+ import { Subscribe as Y } from "../../../shared-utils/Subscribe.js";
40
+ import { calculateTagConfig as U } from "../../utils/tag/calculateTagConfig.js";
41
+ import { getTagStickType as ee } from "../../utils/tag/format.js";
42
42
  import "../../../shared-utils/tag.js";
43
- import { isPanoramaLike as U, isModelLike as C } from "../../../shared-utils/five/mode.js";
43
+ import { isPanoramaLike as T, isModelLike as k } from "../../../shared-utils/five/mode.js";
44
44
  import * as B from "three";
45
45
  import "hammerjs";
46
46
  import "../../../shared-utils/three/PointSelector/index.js";
47
47
  import "three/examples/jsm/renderers/CSS3DRenderer";
48
- import { centerPoint as ee } from "../../../shared-utils/three/centerPoint.js";
49
- import { anyPositionToVector3 as A } from "../../../shared-utils/positionToVector3.js";
50
- import { toArray as ie } from "../../../shared-utils/util.js";
48
+ import { centerPoint as ie } from "../../../shared-utils/three/centerPoint.js";
49
+ import { anyPositionToVector3 as O } from "../../../shared-utils/positionToVector3.js";
50
+ import { toArray as te } from "../../../shared-utils/util.js";
51
51
  import "@realsee/five/line";
52
- import { isNil as O, notNil as R } from "../../../shared-utils/isNil.js";
52
+ import { isNil as R, notNil as E } from "../../../shared-utils/isNil.js";
53
53
  import "../../../shared-utils/three/core/Five_LineMaterial2.js";
54
54
  import "../../../shared-utils/three/core/Sphere.js";
55
- import { blink as te, reblink as ne } from "../../../shared-utils/three/blink.js";
56
- import { vectorToCoordinates as se } from "../../../shared-utils/vectorToCoordinate.js";
57
- import { transformPosition as E } from "../../../shared-utils/five/transformPosition.js";
58
- import { lookPoint as oe } from "../../../shared-utils/five/lookPoint.js";
59
- import { uuid as re } from "../../../shared-utils/uuid.js";
55
+ import { blink as ne, reblink as se } from "../../../shared-utils/three/blink.js";
56
+ import { vectorToCoordinates as oe } from "../../../shared-utils/vectorToCoordinate.js";
57
+ import { transformPosition as L } from "../../../shared-utils/five/transformPosition.js";
58
+ import { lookPoint as re } from "../../../shared-utils/five/lookPoint.js";
59
+ import { uuid as le } from "../../../shared-utils/uuid.js";
60
60
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
61
61
  import "../../../shared-utils/five/FivePuppet.js";
62
62
  import { objectAssignDeepExports as b } from "../../../vendor/object-assign-deep/objectAssignDeep.js";
63
- import { getTagPosition as L, getTagCenterPosition as $ } from "../../utils/tagPosition.js";
64
- import { checkRange as k } from "../../utils/checkRange.js";
65
- import { isMediaPlaneTag as le, isMediaModelTag as T } from "../../utils/tag/tagCheck.js";
63
+ import { getTagPosition as $, getTagCenterPosition as z } from "../../utils/tagPosition.js";
64
+ import { checkRange as x } from "../../utils/checkRange.js";
65
+ import { isMediaPlaneTag as ae, isMediaModelTag as V } from "../../utils/tag/tagCheck.js";
66
66
  import { getUrlExt as N } from "../../../shared-utils/url/getUrl.js";
67
- import { getFloorIndex as ae } from "../../../shared-utils/five/getFloorIndex.js";
68
- import { safeObj as z } from "../../../shared-utils/safeObj.js";
69
- import { Cache as fe } from "../../utils/Cache.js";
70
- import { _raycaster as V } from "../../../shared-utils/three/temp.js";
67
+ import { getFloorIndex as fe } from "../../../shared-utils/five/getFloorIndex.js";
68
+ import { safeObj as J } from "../../../shared-utils/safeObj.js";
69
+ import { Cache as de } from "../../utils/Cache.js";
70
+ import { _raycaster as S } from "../../../shared-utils/three/temp.js";
71
71
  import "../../../shared-utils/typescript/entries.js";
72
72
  import "../../utils/tag/adaptConfig.js";
73
73
  import "../../typings/tag/TagConfig.js";
@@ -112,7 +112,7 @@ import "../../../shared-utils/five/getPosition.js";
112
112
  import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
113
113
  import "../../../shared-utils/three/PointSelector/utils/contents.js";
114
114
  import "../../../shared-utils/formatRad.js";
115
- class ji {
115
+ class Ai {
116
116
  constructor(i, e) {
117
117
  f(this, "plugin");
118
118
  f(this, "id");
@@ -144,12 +144,12 @@ class ji {
144
144
  f(this, "entryFromModel");
145
145
  var s, d, h, u;
146
146
  this.plugin = i;
147
- const t = Y(e);
147
+ const t = ee(e);
148
148
  e.stickType = t;
149
149
  const r = JSON.parse(JSON.stringify(e.data)), n = (s = e.initialConfig) != null ? s : e.config ? JSON.parse(JSON.stringify(e.config)) : {};
150
150
  e.initialConfig = n;
151
- const l = w(e, i.config), o = this.getConfig(e);
152
- e.config = o, this.id = (d = e.id) != null ? d : re(), this.enabled = (h = e.enabled) != null ? h : !0, this.contentType = e.contentType, this.data = (u = o.initialData) != null && u.important ? b(e.data, r, o.initialData) : b(e.data, o.initialData, r), this.state = p({
151
+ const l = U(e, i.config), o = this.getConfig(e);
152
+ e.config = o, this.id = (d = e.id) != null ? d : le(), this.enabled = (h = e.enabled) != null ? h : !0, this.contentType = e.contentType, this.data = (u = o.initialData) != null && u.important ? b(e.data, r, o.initialData) : b(e.data, o.initialData, r), this.state = p({
153
153
  visible: void 0,
154
154
  unfolded: !this.can("fold")
155
155
  }, o.initialState), this.originPosition = e.position, e.originPosition = this.originPosition, this.position = (() => {
@@ -157,11 +157,11 @@ class ji {
157
157
  if (!a)
158
158
  return;
159
159
  const g = i.workUtil.transform;
160
- return Array.isArray(a) && a.length === 4 ? a.map(A).map((m) => E(m, g).toArray()) : E(A(a), g).toArray();
160
+ return Array.isArray(a) && a.length === 4 ? a.map(O).map((m) => L(m, g).toArray()) : L(O(a), g).toArray();
161
161
  })(), this.matrix = e.matrix ? (() => {
162
162
  const a = new B.Matrix4().fromArray(e.matrix);
163
163
  return a.premultiply(i.workUtil.transform), a.elements;
164
- })() : e.matrix, this.initialConfig = n, this.computedConfig = l, this.stickType = t, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new fe(), this.hooks = new Q(), Object.keys(e).forEach((a) => {
164
+ })() : e.matrix, this.initialConfig = n, this.computedConfig = l, this.stickType = t, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new de(), this.hooks = new Y(), Object.keys(e).forEach((a) => {
165
165
  this[a] === void 0 && e[a] !== void 0 && (this[a] = e[a]);
166
166
  });
167
167
  }
@@ -175,12 +175,12 @@ class ji {
175
175
  return this.plugin.workUtil;
176
176
  }
177
177
  get centerPosition() {
178
- const i = L(this);
179
- return ee(...Array.isArray(i) ? i : [i]);
178
+ const i = $(this);
179
+ return ie(...Array.isArray(i) ? i : [i]);
180
180
  }
181
181
  get currentConfig() {
182
182
  var r, n;
183
- const i = w(this, this.plugin.config, { useCache: !0 }), e = this.five.getCurrentState().mode, t = (r = i.configWithFiveMode) == null ? void 0 : r[e];
183
+ const i = U(this, this.plugin.config, { useCache: !0 }), e = this.five.getCurrentState().mode, t = (r = i.configWithFiveMode) == null ? void 0 : r[e];
184
184
  return (n = t != null ? t : i) != null ? n : {};
185
185
  }
186
186
  get currentVisible() {
@@ -207,16 +207,16 @@ class ji {
207
207
  const t = (r = i == null ? void 0 : i.targetMode) != null ? r : this.five.state.mode;
208
208
  if (t === "Panorama") {
209
209
  const n = e == null ? void 0 : e.panoIndex;
210
- if (O(n))
210
+ if (R(n))
211
211
  return;
212
212
  const l = this.workUtil.getObserverPosition(n), o = this.centerPosition.clone().sub(l).normalize();
213
213
  this.five.setState(p({
214
214
  mode: "Panorama",
215
215
  workCode: this.workUtil.workCode,
216
216
  panoIndex: n
217
- }, se(o))), yield this.five.ready();
217
+ }, oe(o))), yield this.five.ready();
218
218
  } else
219
- t === "Mapview" && (yield oe(this.five, this.centerPosition, i == null ? void 0 : i.pointConfig));
219
+ t === "Mapview" && (yield re(this.five, this.centerPosition, i == null ? void 0 : i.pointConfig));
220
220
  });
221
221
  }
222
222
  /**
@@ -252,7 +252,7 @@ class ji {
252
252
  console.warn("tagDom is empty");
253
253
  return;
254
254
  }
255
- yield (r ? te : ne)(n, p({
255
+ yield (r ? ne : se)(n, p({
256
256
  begin: () => {
257
257
  r === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
258
258
  },
@@ -336,24 +336,32 @@ class ji {
336
336
  this.state.visible = this.getVisible(), this.applyVisible();
337
337
  }
338
338
  updateZIndex() {
339
- const i = this.getDistance();
339
+ const i = this.getSquaredDistance();
340
340
  this.zIndex = Math.round((1e4 - (i != null ? i : 0)) * 100);
341
341
  }
342
342
  getConfig(i, e) {
343
343
  var l, o, s;
344
- const t = w(i != null ? i : this, this.plugin.config, { useCache: e == null ? void 0 : e.useCache }), r = (l = e == null ? void 0 : e.fiveMode) != null ? l : this.five.getCurrentState().mode, n = (o = t.configWithFiveMode) == null ? void 0 : o[r];
344
+ const t = U(i != null ? i : this, this.plugin.config, { useCache: e == null ? void 0 : e.useCache }), r = (l = e == null ? void 0 : e.fiveMode) != null ? l : this.five.getCurrentState().mode, n = (o = t.configWithFiveMode) == null ? void 0 : o[r];
345
345
  return (s = n != null ? n : t) != null ? s : {};
346
346
  }
347
347
  getDistance(i, e = 3) {
348
348
  const t = p(p({}, this.five.getCurrentState()), i), { panoIndex: r, mode: n } = t, l = n === "Panorama" ? this.workUtil.getObserverPosition(r) : this.five.camera.position, o = this.centerPosition;
349
349
  return !l || !o ? -1 : l.distanceTo(o);
350
350
  }
351
+ /**
352
+ * @description 用于排序的距离,性能更好
353
+ */
354
+ getSquaredDistance() {
355
+ const i = this.five.camera.position;
356
+ let e;
357
+ return Array.isArray(this.position[0]) ? e = this.position[0] : e = this.position, C(e[0] - i.x, 2) + C(e[1] - i.y, 2) + C(e[2] - i.z, 2);
358
+ }
351
359
  getVisible(i) {
352
360
  if (!this.enabled || !this.plugin.state.enabled || !this.fiveUtil.model)
353
361
  return !1;
354
362
  const e = p(p({}, this.five.getCurrentState()), i);
355
363
  let t = this.cache.getVisible(this, e);
356
- return O(t) && (t = this.computeVisible(e).value, this.cache.setVisible(this, e, t)), t;
364
+ return R(t) && (t = this.computeVisible(e).value, this.cache.setVisible(this, e, t)), t;
357
365
  }
358
366
  getUnfoldedByPanoIndex(i) {
359
367
  if (!this.currentVisible)
@@ -393,14 +401,14 @@ class ji {
393
401
  return;
394
402
  const t = this.data.mediaData;
395
403
  if (!(!t || t.length === 0) && e.renderType === "Mesh") {
396
- if (le(this)) {
404
+ if (ae(this)) {
397
405
  if (t.length === 1) {
398
406
  if (t[0].type === "Video")
399
407
  return navigator.userAgent.toLowerCase().indexOf("firefox") > -1 && navigator.userAgent.toLowerCase().indexOf("mobile") > -1 ? "Dom" : "Mesh";
400
408
  if (t[0].type === "Image")
401
409
  return N(t[0].url) === "gif" ? "Dom" : "Mesh";
402
410
  }
403
- } else if (T(this))
411
+ } else if (V(this))
404
412
  return t.length === 1 && t[0].type === "Image" ? N(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
405
413
  }
406
414
  })();
@@ -426,11 +434,11 @@ class ji {
426
434
  if ((g == null ? void 0 : g.value) === !1)
427
435
  return g;
428
436
  if (s.followModelVisibility === !0 && ["poincare", "aerophoto", "sand"].includes(this.workUtil.fromType) && (r === "Floorplan" || r === "Mapview")) {
429
- const h = this.computeVisibleByFloorIndex(), { value: m } = h, v = j(h, ["value"]);
437
+ const h = this.computeVisibleByFloorIndex(), { value: m } = h, v = A(h, ["value"]);
430
438
  if (m === !1)
431
439
  return p({ value: !1, checkedList: n, reason: "followModelVisibility check failed" }, v);
432
440
  }
433
- if (U(r) && s.visiblePanoIndex !== void 0 && s.visiblePanoIndex !== "all" && t !== void 0) {
441
+ if (T(r) && s.visiblePanoIndex !== void 0 && s.visiblePanoIndex !== "all" && t !== void 0) {
434
442
  if (n.push("visiblePanoIndex"), Array.isArray(s.visiblePanoIndex) && !s.visiblePanoIndex.includes(t))
435
443
  return {
436
444
  value: !1,
@@ -446,7 +454,7 @@ class ji {
446
454
  }
447
455
  if (s.visibleDistance !== void 0 && (n.push("visibleDistance"), s.visibleDistance !== "unLimited")) {
448
456
  const m = this.getDistance(e, 1);
449
- if (k(m, s.visibleDistance) === !1)
457
+ if (x(m, s.visibleDistance) === !1)
450
458
  return {
451
459
  value: !1,
452
460
  checkedList: n,
@@ -484,9 +492,9 @@ class ji {
484
492
  if (n || (n = (o = (l = this.fiveState) == null ? void 0 : l.mode) != null ? o : this.workUtil.observers.length ? "Panorama" : "ModelLike"), Array.isArray(n))
485
493
  return n.includes(e);
486
494
  if (n === "ModelLike")
487
- return C(e);
495
+ return k(e);
488
496
  if (n === "PanoramaLike")
489
- return !U(e);
497
+ return !T(e);
490
498
  if (n === "all")
491
499
  return !0;
492
500
  if (typeof n == "string")
@@ -495,8 +503,8 @@ class ji {
495
503
  if ((() => {
496
504
  var l;
497
505
  const n = t();
498
- if (R((l = this.fiveState) == null ? void 0 : l.panoIndex) && i.entryFromModel) {
499
- if (C(e) && n ? this.entryFromModel = !1 : this.entryFromModel = !0, C(e))
506
+ if (E((l = this.fiveState) == null ? void 0 : l.panoIndex) && i.entryFromModel) {
507
+ if (k(e) && n ? this.entryFromModel = !1 : this.entryFromModel = !0, k(e))
500
508
  return !0;
501
509
  } else
502
510
  this.entryFromModel = !1;
@@ -512,33 +520,33 @@ class ji {
512
520
  /** 通过射线检测标签可用性 */
513
521
  computeVisibleByIntersect(i) {
514
522
  var s, d, h, u;
515
- const e = z(z((s = this.getConfig().visibleConfig) != null ? s : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, r = U(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
523
+ const e = J(J((s = this.getConfig().visibleConfig) != null ? s : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, r = T(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
516
524
  if (r === void 0)
517
525
  return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
518
- const n = ie(
526
+ const n = te(
519
527
  (() => {
520
528
  var g;
521
529
  const a = (g = e.checkPoints) != null ? g : "center";
522
- return a === "center" ? $(this) : a === "corner" ? L(this) : Array.isArray(a) ? a : [];
530
+ return a === "center" ? z(this) : a === "corner" ? $(this) : Array.isArray(a) ? a : [];
523
531
  })()
524
532
  );
525
533
  let l = 0, o = 0;
526
534
  for (const a of n) {
527
535
  const g = new B.Vector3().subVectors(a, r).normalize();
528
536
  let m;
529
- V.set(r, g);
530
- const [v] = this.fiveUtil.model.intersectRaycaster(V);
537
+ S.set(r, g);
538
+ const [v] = this.fiveUtil.model.intersectRaycaster(S);
531
539
  m = v == null ? void 0 : v.distance;
532
- const x = (() => {
533
- if (!T(this))
540
+ const M = (() => {
541
+ if (!V(this))
534
542
  return;
535
- const _ = this.plugin.tags.filter(T).map((X) => {
543
+ const _ = this.plugin.tags.filter(V).map((Z) => {
536
544
  var F;
537
- return (F = X.model) == null ? void 0 : F.object;
538
- }).filter(R), [q] = V.intersectObjects(_, !0);
539
- return q;
540
- })(), J = r.distanceTo(a), W = (d = e.distanceAccuracy) != null ? d : 0.01;
541
- m = Math.min(m != null ? m : 1 / 0, (h = x == null ? void 0 : x.distance) != null ? h : 1 / 0), m + W >= J ? l++ : o++;
545
+ return (F = Z.model) == null ? void 0 : F.object;
546
+ }).filter(E), [X] = S.intersectObjects(_, !0);
547
+ return X;
548
+ })(), W = r.distanceTo(a), q = (d = e.distanceAccuracy) != null ? d : 0.01;
549
+ m = Math.min(m != null ? m : 1 / 0, (h = M == null ? void 0 : M.distance) != null ? h : 1 / 0), m + q >= W ? l++ : o++;
542
550
  const H = (u = e.needPassed) != null ? u : 1;
543
551
  if (l >= H)
544
552
  return { value: !0 };
@@ -557,9 +565,9 @@ class ji {
557
565
  var r, n, l, o, s, d, h;
558
566
  let i = 0;
559
567
  const e = (r = this.fiveState) == null ? void 0 : r.panoIndex;
560
- e !== void 0 ? i = (n = this.workUtil.getObserver(e)) == null ? void 0 : n.floorIndex : i = ae(
568
+ e !== void 0 ? i = (n = this.workUtil.getObserver(e)) == null ? void 0 : n.floorIndex : i = fe(
561
569
  this.workUtil.work,
562
- (h = (d = (o = (l = this.model) == null ? void 0 : l.object) == null ? void 0 : o.position) != null ? d : (s = this.mediaPlane) == null ? void 0 : s.position) != null ? h : $(this)
570
+ (h = (d = (o = (l = this.model) == null ? void 0 : l.object) == null ? void 0 : o.position) != null ? d : (s = this.mediaPlane) == null ? void 0 : s.position) != null ? h : z(this)
563
571
  );
564
572
  const t = this.fiveUtil.model.shownFloor;
565
573
  return {
@@ -580,13 +588,13 @@ class ji {
580
588
  return !1;
581
589
  if (e.keep === "unfolded")
582
590
  return !0;
583
- if (e.unfoldDistance && k(this.getDistance({ panoIndex: i }), e.unfoldDistance) === !1)
591
+ if (e.unfoldDistance && x(this.getDistance({ panoIndex: i }), e.unfoldDistance) === !1)
584
592
  return !1;
585
593
  }
586
594
  }
587
595
  computeUnfoldedByCamera() {
588
596
  var e;
589
- if (this.entryFromModel && C(this.five.state.mode))
597
+ if (this.entryFromModel && k(this.five.state.mode))
590
598
  return !1;
591
599
  const i = this.getConfig().unfoldedConfig;
592
600
  if (i) {
@@ -600,7 +608,7 @@ class ji {
600
608
  return;
601
609
  if (i.autoUnfold.strategy === "ScreenPostion") {
602
610
  const t = this.computeTagProject();
603
- if (t && k(t.x, i.autoUnfold.autoUnfoldProjectX) === !1)
611
+ if (t && x(t.x, i.autoUnfold.autoUnfoldProjectX) === !1)
604
612
  return !1;
605
613
  }
606
614
  if (i.autoUnfold.strategy === "MinimumDistance") {
@@ -613,9 +621,9 @@ class ji {
613
621
  }).map((o) => ({ tag: o, id: o.id, tagConfig: o.getConfig().unfoldedConfig })).filter(({ tagConfig: o }) => {
614
622
  var s, d;
615
623
  return !(typeof o == "function" || o.keep || o.autoUnfold === !1 || ((s = o.autoUnfold) == null ? void 0 : s.enable) === !1 || ((d = o.autoUnfold) == null ? void 0 : d.strategy) !== "MinimumDistance");
616
- }).map((o) => I(p({}, o), { distance: o.tag.getDistance() })).filter(({ distance: o, tagConfig: s }) => {
624
+ }).map((o) => w(p({}, o), { distance: o.tag.getDistance() })).filter(({ distance: o, tagConfig: s }) => {
617
625
  const d = s.autoUnfold.distance;
618
- return !(d && k(o, d) === !1);
626
+ return !(d && x(o, d) === !1);
619
627
  }).sort((o, s) => o.distance - s.distance).findIndex((o) => o.id === this.id);
620
628
  if (n === -1 || n <= ((e = i.autoUnfold.maxNumber) != null ? e : 1) - 1 === !1)
621
629
  return !1;
@@ -653,7 +661,7 @@ class ji {
653
661
  return { reason: `plugin.state.visible is ${this.plugin.state.visible}` };
654
662
  if (!this.enabled)
655
663
  return { reason: `tag ${this.id} enabled is: ${this.enabled}` };
656
- const i = I(p({}, this.computeVisible()), {
664
+ const i = w(p({}, this.computeVisible()), {
657
665
  tagInstance: this
658
666
  });
659
667
  return i.value !== this.state.visible ? { reason: "插件故障,请联系维护人员, err: 0", info: i } : this.state.visible ? { reason: "应该是能看见才对", info: i } : i.value === !0 ? { reason: "插件故障,请联系维护人员, err: 1", info: i } : { reason: (e = i.reason.type) != null ? e : i.reason, info: i };
@@ -671,5 +679,5 @@ class ji {
671
679
  }
672
680
  }
673
681
  export {
674
- ji as BaseTag
682
+ Ai as BaseTag
675
683
  };
@@ -12,7 +12,6 @@ export declare class PointTag<C extends TagContentType = TagContentType> extends
12
12
  */
13
13
  unfoldAndFoldOthers(): void;
14
14
  onClick(params: Pick<TagClickParams, 'target'>): void;
15
- updateVisible(): void;
16
15
  applyVisible(): void;
17
16
  unfold(): void;
18
17
  fold(): void;
@@ -1,8 +1,8 @@
1
- var f = Object.defineProperty;
2
- var h = (r, s, t) => s in r ? f(r, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[s] = t;
3
- var l = (r, s, t) => (h(r, typeof s != "symbol" ? s + "" : s, t), t);
1
+ var h = Object.defineProperty;
2
+ var f = (s, r, t) => r in s ? h(s, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[r] = t;
3
+ var p = (s, r, t) => (f(s, typeof r != "symbol" ? r + "" : r, t), t);
4
4
  import { BaseTag as g } from "./BaseTag.js";
5
- import * as m from "three";
5
+ import * as l from "three";
6
6
  import "../../../shared-utils/Subscribe.js";
7
7
  import "../../utils/tag/calculateTagConfig.js";
8
8
  import "../../../vendor/object-assign-deep/objectAssignDeep.js";
@@ -78,45 +78,28 @@ import "../../../shared-utils/url/getUrl.js";
78
78
  import "../../../shared-utils/five/getFloorIndex.js";
79
79
  import "../../../shared-utils/safeObj.js";
80
80
  import "../../utils/Cache.js";
81
- const b = new m.Vector2();
82
- class Et extends g {
83
- constructor(t, e) {
84
- super(t, e);
85
- l(this, "__Object__");
86
- l(this, "requestIdleCallbackId");
81
+ const y = new l.Vector2();
82
+ class wt extends g {
83
+ constructor(t, i) {
84
+ super(t, i);
85
+ p(this, "__Object__");
86
+ p(this, "requestIdleCallbackId");
87
87
  }
88
88
  /**
89
89
  * @description 展开自己,收起其他标签
90
90
  */
91
91
  unfoldAndFoldOthers() {
92
- const t = this.can("fold"), e = this.can("unfold");
93
- t && e && (this.state.unfolded = !this.state.unfolded, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.state.unfolded && this.plugin.tags.forEach((o) => {
92
+ const t = this.can("fold"), i = this.can("unfold");
93
+ t && i && (this.state.unfolded = !this.state.unfolded, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.state.unfolded && this.plugin.tags.forEach((o) => {
94
94
  o.id !== this.id && o.fold();
95
95
  }));
96
96
  }
97
97
  onClick(t) {
98
98
  t.target === "TagPoint" && this.unfoldAndFoldOthers();
99
99
  }
100
- updateVisible() {
101
- if (typeof window.requestIdleCallback == "undefined") {
102
- super.updateVisible();
103
- return;
104
- }
105
- const t = () => {
106
- this.requestIdleCallbackId && cancelIdleCallback(this.requestIdleCallbackId), this.requestIdleCallbackId = requestIdleCallback(() => {
107
- super.updateVisible();
108
- });
109
- };
110
- let e = !1;
111
- requestIdleCallback(() => {
112
- e = !0;
113
- }), t(), setTimeout(() => {
114
- e || (this.requestIdleCallbackId && cancelIdleCallback(this.requestIdleCallbackId), super.updateVisible());
115
- }, 200);
116
- }
117
100
  applyVisible() {
118
- var t, e, o, i;
119
- this.currentVisible && this.updateScreenPosition(), (o = (e = (t = this.tag3DContentSvelte) == null ? void 0 : t.css3DInstance) == null ? void 0 : e.css3DObject) == null || o.setVisible(this.currentVisible), (i = this.tag3DContentSvelte) == null || i.svelteApp.$set({
101
+ var t, i, o, e;
102
+ this.currentVisible && this.updateScreenPosition(), (o = (i = (t = this.tag3DContentSvelte) == null ? void 0 : t.css3DInstance) == null ? void 0 : i.css3DObject) == null || o.setVisible(this.currentVisible), (e = this.tag3DContentSvelte) == null || e.svelteApp.$set({
120
103
  state: this.plugin.state,
121
104
  temporaryState: this.temporaryState
122
105
  }), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
@@ -132,38 +115,38 @@ class Et extends g {
132
115
  * @param {boolean} unfolded
133
116
  */
134
117
  setUnfold(t) {
135
- const e = this.can("fold"), o = this.can("unfold");
136
- e && o && (this.state.unfolded = t, this.hooks.emit(t ? "unfolded" : "folded"), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
118
+ const i = this.can("fold"), o = this.can("unfold");
119
+ i && o && (this.state.unfolded = t, this.hooks.emit(t ? "unfolded" : "folded"), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
137
120
  }
138
121
  setPosition(t) {
139
122
  this.originPosition = t, this.position = t, this.cache.clear(), this.updateVisible(), this.updateScreenPosition(), this.updateZIndex(), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
140
123
  }
141
124
  updateScreenPosition(t) {
142
- var a;
125
+ var m;
143
126
  if (this.stickType !== "2DPoint" && this.stickType !== "3DPoint")
144
127
  return;
145
- const { force: e = !1 } = t != null ? t : {}, o = e ? this.state.visible : this.currentVisible, i = (a = this.__Object__) != null ? a : {
128
+ const { force: i = !1 } = t != null ? t : {}, o = i ? this.state.visible : this.currentVisible, e = (m = this.__Object__) != null ? m : {
146
129
  timeoutId: void 0,
147
130
  inAnimation: !1
148
131
  };
149
- if (this.__Object__ = i, !o && this.screenPosition ? (i.inAnimation = !0, i.timeoutId = setTimeout(() => {
132
+ if (this.__Object__ = e, !o && this.screenPosition ? (e.inAnimation = !0, e.timeoutId = setTimeout(() => {
150
133
  requestAnimationFrame(() => {
151
- this.currentVisible || (i.inAnimation = !1, this.screenPosition = null, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
134
+ this.currentVisible || (e.inAnimation = !1, this.screenPosition = null, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
152
135
  });
153
- }, 1e3)) : i.timeoutId && (clearTimeout(i.timeoutId), i.inAnimation = !1, i.timeoutId = void 0), !o && !i.inAnimation)
136
+ }, 1e3)) : e.timeoutId && (clearTimeout(e.timeoutId), e.inAnimation = !1, e.timeoutId = void 0), !o && !e.inAnimation)
154
137
  return;
155
138
  const n = this.computeTagProject();
156
139
  if (n) {
157
- const d = (() => {
140
+ const a = (() => {
158
141
  if (!this.currentConfig.simulate3D)
159
142
  return 1;
160
143
  const u = 2 * Math.tan(0.5 * this.five.camera.fov / 180 * Math.PI), c = this.getDistance(void 0, 1);
161
144
  return Math.max(Math.min(1 - u * c / 40, 1), 0.5);
162
- })(), p = this.five.renderer.getSize(b);
145
+ })(), d = this.five.renderer.getSize(y);
163
146
  this.screenPosition = {
164
- leftPx: (n.x + 1) / 2 * p.x,
165
- topPx: (-n.y + 1) / 2 * p.y,
166
- scale: d
147
+ leftPx: (n.x + 1) / 2 * d.x,
148
+ topPx: (-n.y + 1) / 2 * d.y,
149
+ scale: a
167
150
  };
168
151
  } else
169
152
  this.screenPosition = null;
@@ -172,14 +155,14 @@ class Et extends g {
172
155
  updateUnfoldedByPanoIndex() {
173
156
  const t = this.getUnfoldedByPanoIndex();
174
157
  if (this.state && (t !== void 0 && (this.state.unfolded = t), t && !this.state.visible)) {
175
- const e = this.getConfig();
176
- typeof e.unfoldedConfig == "object" && e.unfoldedConfig.autoFoldWhenHide !== !1 && (this.state.unfolded = !1);
158
+ const i = this.getConfig();
159
+ typeof i.unfoldedConfig == "object" && i.unfoldedConfig.autoFoldWhenHide !== !1 && (this.state.unfolded = !1);
177
160
  }
178
161
  }
179
162
  computeNormal() {
180
- return new m.Vector3().fromArray(this.normal);
163
+ return new l.Vector3().fromArray(this.normal);
181
164
  }
182
165
  }
183
166
  export {
184
- Et as PointTag
167
+ wt as PointTag
185
168
  };
@@ -1,4 +1,4 @@
1
- import type { TagContentType, StickType, TagId, MediaStore, State, PluginEventMap } from '../typings';
1
+ import type { TagContentType, StickType, TagId, MediaStore, State, PluginEventMap, TagInstance, ArrayPosition } from '../typings';
2
2
  import * as THREE from 'three';
3
3
  import type { Tags } from '../typings';
4
4
  import { Five } from '@realsee/five';
@@ -48,6 +48,7 @@ export declare abstract class TagUtil extends BasePlugin.Controller<State, Plugi
48
48
  get filterCSS3DTag(): (BaseTag<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Model"> | BaseTag<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Plane"> | BaseTag<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "3DPoint">)[];
49
49
  private _container;
50
50
  private _css3DRenderPlugin;
51
+ private timeoutIds;
51
52
  protected constructor(five: Five);
52
53
  addRenderQueue(params: {
53
54
  type: RenderQueueType;
@@ -69,8 +70,9 @@ export declare abstract class TagUtil extends BasePlugin.Controller<State, Plugi
69
70
  /** 暂停当前标签内进行的所有多媒体 */
70
71
  pauseCurrentMedia(): void;
71
72
  protected loadVideoFirstFrame: () => void;
72
- protected getPositions(tag: BaseTag): [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3] | [import("../typings").ArrayPosition, import("../typings").ArrayPosition, import("../typings").ArrayPosition, import("../typings").ArrayPosition];
73
+ protected getPositions(tag: BaseTag): [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3] | [ArrayPosition, ArrayPosition, ArrayPosition, ArrayPosition];
73
74
  protected addObjectClickHandler(tag: BaseTag, object: THREE.Object3D | undefined, handler: (event: Event) => any): () => void;
75
+ protected tagsDo: (tags: TagInstance[], func: (tag: TagInstance) => any) => void;
74
76
  /**
75
77
  * @description 检查是否已经销毁
76
78
  * @returns isDisposed; 已经销毁返回 true,否则返回 false