@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,18 +1,18 @@
1
- var d = Object.defineProperty;
2
- var c = (m, n, e) => n in m ? d(m, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : m[n] = e;
3
- var r = (m, n, e) => (c(m, typeof n != "symbol" ? n + "" : n, e), e);
4
- import { DefaultConfig as l } from "../tag.config.js";
1
+ var h = Object.defineProperty;
2
+ var f = (a, m, t) => m in a ? h(a, m, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[m] = t;
3
+ var r = (a, m, t) => (f(a, typeof m != "symbol" ? m + "" : m, t), t);
4
+ import { DefaultConfig as g } from "../tag.config.js";
5
5
  import "three";
6
- import { anyPositionToVector3 as a } from "../../shared-utils/positionToVector3.js";
7
- import { isPlaneTag as u, isMediaModelTag as f, isPoint3DTag as h } from "../utils/tag/tagCheck.js";
8
- import { normalPositionToPositions as g } from "../utils/normalPositionToPositions.js";
9
- import { writable as P } from "../../vendor/svelte/store/index.js";
10
- import { isIOSWX as T } from "../../shared-utils/device.js";
11
- import { CSS3DRenderPlugin as D } from "../../CSS3DRenderPlugin/index.js";
12
- import { VideoPlane as _ } from "../utils/model/mediaPlane.js";
13
- import { FiveDomEvents as y } from "../../shared-utils/five/FiveDomEvents.js";
14
- import { Cache as v } from "../utils/Cache.js";
15
- import { Controller as E } from "../../base/BasePlugin.js";
6
+ import { anyPositionToVector3 as l } from "../../shared-utils/positionToVector3.js";
7
+ import { isPlaneTag as T, isMediaModelTag as D, isPoint3DTag as P } from "../utils/tag/tagCheck.js";
8
+ import { normalPositionToPositions as _ } from "../utils/normalPositionToPositions.js";
9
+ import { writable as y } from "../../vendor/svelte/store/index.js";
10
+ import { isIOSWX as v } from "../../shared-utils/device.js";
11
+ import { CSS3DRenderPlugin as E } from "../../CSS3DRenderPlugin/index.js";
12
+ import { VideoPlane as S } from "../utils/model/mediaPlane.js";
13
+ import { FiveDomEvents as k } from "../../shared-utils/five/FiveDomEvents.js";
14
+ import { Cache as I } from "../utils/Cache.js";
15
+ import { Controller as C } from "../../base/BasePlugin.js";
16
16
  import "../../vendor/svelte/internal/index.js";
17
17
  import "../../CSS3DRenderPlugin/Controller.js";
18
18
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
@@ -86,16 +86,16 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
86
86
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
87
87
  import "../../shared-utils/three/getNormal.js";
88
88
  import "../../shared-utils/five/calculateThreeMouse.js";
89
- class it extends E {
90
- constructor(e) {
91
- super(e);
89
+ class ne extends C {
90
+ constructor(t) {
91
+ super(t);
92
92
  r(this, "tags", []);
93
- r(this, "cache", new v());
94
- r(this, "config", l);
93
+ r(this, "cache", new I());
94
+ r(this, "config", g);
95
95
  r(this, "renderQueue", /* @__PURE__ */ new Map());
96
96
  /** 插件参数 */
97
97
  r(this, "params");
98
- r(this, "mediaStore", P({
98
+ r(this, "mediaStore", y({
99
99
  currentMediaElement: null
100
100
  }));
101
101
  r(this, "store", {
@@ -104,24 +104,39 @@ class it extends E {
104
104
  resizeObserverDisposerAdding: !1,
105
105
  css3DRenderDisposer: /* @__PURE__ */ new Map()
106
106
  });
107
- r(this, "domEvents", new y(this.five));
107
+ r(this, "domEvents", new k(this.five));
108
108
  r(this, "_cache_pointTag");
109
109
  r(this, "_cache_2DPointTag");
110
110
  r(this, "_cache_css3DTag");
111
111
  r(this, "_container", null);
112
112
  r(this, "_css3DRenderPlugin");
113
- r(this, "whyHide", (e) => {
114
- const t = this.getTagById(e);
115
- return t ? t.whyHide() : { reason: `tag ${e} not found` };
113
+ r(this, "timeoutIds", []);
114
+ r(this, "whyHide", (t) => {
115
+ const e = this.getTagById(t);
116
+ return e ? e.whyHide() : { reason: `tag ${t} not found` };
116
117
  });
117
118
  r(this, "loadVideoFirstFrame", () => {
118
- T && this.hooks.emit("loadVideoFirstFrame");
119
+ v && this.hooks.emit("loadVideoFirstFrame");
119
120
  });
120
- this.mediaStore.subscribe(({ currentMediaElement: t }) => {
121
+ r(this, "tagsDo", (t, e) => {
122
+ const i = [...t != null ? t : this.tags].sort((n, d) => n.getSquaredDistance() - d.getSquaredDistance());
123
+ this.timeoutIds.forEach((n) => clearTimeout(n)), this.timeoutIds.length = 0;
124
+ const o = i.length > 1e3, p = o ? 30 : 17, s = o ? 1 : 3;
125
+ for (let n = 0; n < i.length; n += s) {
126
+ const d = [];
127
+ for (let c = 0; c < s; c++)
128
+ i[n + c] && d.push(i[n + c]);
129
+ const u = setTimeout(() => {
130
+ d.forEach(e);
131
+ }, n * p);
132
+ this.timeoutIds.push(u);
133
+ }
134
+ });
135
+ this.mediaStore.subscribe(({ currentMediaElement: e }) => {
121
136
  this.tags.forEach((i) => {
122
137
  var o;
123
- if (i.mediaPlane instanceof _ && t !== i.mediaPlane.videoInstance) {
124
- if (!((o = i.mediaPlane.videoInstance) != null && o.src) || t === i.mediaPlane.videoInstance)
138
+ if (i.mediaPlane instanceof S && e !== i.mediaPlane.videoInstance) {
139
+ if (!((o = i.mediaPlane.videoInstance) != null && o.src) || e === i.mediaPlane.videoInstance)
125
140
  return;
126
141
  i.mediaPlane.pause();
127
142
  }
@@ -129,82 +144,82 @@ class it extends E {
129
144
  });
130
145
  }
131
146
  get container() {
132
- var e;
133
- return this._container || ((e = this.five.getElement()) == null ? void 0 : e.parentElement);
147
+ var t;
148
+ return this._container || ((t = this.five.getElement()) == null ? void 0 : t.parentElement);
134
149
  }
135
- set container(e) {
136
- this._container = e;
150
+ set container(t) {
151
+ this._container = t;
137
152
  }
138
153
  // eslint-disable-next-line accessor-pairs
139
- set tagsLengthWillUpdate(e) {
140
- e && (this._cache_pointTag = this.tags.filter((t) => t.stickType === "2DPoint" || t.stickType === "3DPoint").filter((t) => t.position), this._cache_2DPointTag = this.tags.filter((t) => t.stickType === "2DPoint").filter((t) => t.position), this._cache_css3DTag = this.tags.filter(
141
- (t) => t.stickType === "3DPoint" || t.stickType === "Plane" || t.stickType === "Model" && t.contentType === "MediaModel"
142
- ).filter((t) => {
143
- const i = t.computeRenderType();
154
+ set tagsLengthWillUpdate(t) {
155
+ t && (this._cache_pointTag = this.tags.filter((e) => e.stickType === "2DPoint" || e.stickType === "3DPoint").filter((e) => e.position), this._cache_2DPointTag = this.tags.filter((e) => e.stickType === "2DPoint").filter((e) => e.position), this._cache_css3DTag = this.tags.filter(
156
+ (e) => e.stickType === "3DPoint" || e.stickType === "Plane" || e.stickType === "Model" && e.contentType === "MediaModel"
157
+ ).filter((e) => {
158
+ const i = e.computeRenderType();
144
159
  return i === "BehindDom" || i === "Dom";
145
160
  }));
146
161
  }
147
162
  /** css3DRenderPlugin */
148
163
  get css3DRenderPlugin() {
149
- var e, t, i;
164
+ var t, e, i;
150
165
  if (!this._css3DRenderPlugin) {
151
- const o = D(this.five);
152
- this._css3DRenderPlugin = o, (e = o.frontModeCSS3DRenderer) != null && e.domElementWrapper && (o.frontModeCSS3DRenderer.domElementWrapper.style.zIndex = (i = (t = this.params.containerZIndex) == null ? void 0 : t.toString()) != null ? i : "");
166
+ const o = E(this.five);
167
+ this._css3DRenderPlugin = o, (t = o.frontModeCSS3DRenderer) != null && t.domElementWrapper && (o.frontModeCSS3DRenderer.domElementWrapper.style.zIndex = (i = (e = this.params.containerZIndex) == null ? void 0 : e.toString()) != null ? i : "");
153
168
  }
154
169
  return this._css3DRenderPlugin;
155
170
  }
156
171
  get filterPointTag() {
157
- var e;
158
- return (e = this._cache_pointTag) != null ? e : [];
172
+ var t;
173
+ return (t = this._cache_pointTag) != null ? t : [];
159
174
  }
160
175
  get filter2DPointTag() {
161
- var e;
162
- return (e = this._cache_2DPointTag) != null ? e : [];
176
+ var t;
177
+ return (t = this._cache_2DPointTag) != null ? t : [];
163
178
  }
164
179
  get filterCSS3DTag() {
165
- var e;
166
- return (e = this._cache_css3DTag) != null ? e : [];
180
+ var t;
181
+ return (t = this._cache_css3DTag) != null ? t : [];
167
182
  }
168
- addRenderQueue(e) {
183
+ addRenderQueue(t) {
169
184
  var p, s;
170
- const { type: t, keys: i = [], tags: o = [] } = e;
171
- this.renderQueue.has(t) ? this.renderQueue.set(t, {
172
- keys: Array.from(/* @__PURE__ */ new Set([...(p = this.renderQueue.get(t).keys) != null ? p : [], ...i])),
173
- tags: Array.from(/* @__PURE__ */ new Set([...(s = this.renderQueue.get(t).tags) != null ? s : [], ...o]))
174
- }) : this.renderQueue.set(t, { keys: i, tags: o });
185
+ const { type: e, keys: i = [], tags: o = [] } = t;
186
+ this.renderQueue.has(e) ? this.renderQueue.set(e, {
187
+ keys: Array.from(/* @__PURE__ */ new Set([...(p = this.renderQueue.get(e).keys) != null ? p : [], ...i])),
188
+ tags: Array.from(/* @__PURE__ */ new Set([...(s = this.renderQueue.get(e).tags) != null ? s : [], ...o]))
189
+ }) : this.renderQueue.set(e, { keys: i, tags: o });
175
190
  }
176
- getTagById(e) {
177
- const t = this.tags.find((i) => i.id === e);
178
- if (!t) {
179
- console.warn(`getTagById Error: can't find tag id: ${e}`);
191
+ getTagById(t) {
192
+ const e = this.tags.find((i) => i.id === t);
193
+ if (!e) {
194
+ console.warn(`getTagById Error: can't find tag id: ${t}`);
180
195
  return;
181
196
  }
182
- return t;
197
+ return e;
183
198
  }
184
199
  /** 暂停当前标签内进行的所有多媒体 */
185
200
  pauseCurrentMedia() {
186
201
  this.mediaStore.set({ currentMediaElement: null });
187
202
  }
188
- getPositions(e) {
189
- if (u(e))
190
- return e.position;
191
- if (f(e))
192
- return e.data.mediaPosition;
193
- if (h(e))
194
- return g(this.five.camera.position, a(e.position), a(e.normal));
203
+ getPositions(t) {
204
+ if (T(t))
205
+ return t.position;
206
+ if (D(t))
207
+ return t.data.mediaPosition;
208
+ if (P(t))
209
+ return _(this.five.camera.position, l(t.position), l(t.normal));
195
210
  }
196
- addObjectClickHandler(e, t, i) {
197
- if (!t || !this.domEvents)
211
+ addObjectClickHandler(t, e, i) {
212
+ if (!e || !this.domEvents)
198
213
  return () => {
199
214
  };
200
- const o = () => !(!e.currentVisible || e.loading), p = (s) => {
215
+ const o = () => !(!t.currentVisible || t.loading), p = (s) => {
201
216
  if (!o())
202
217
  return !1;
203
218
  i(s.origDomEvent);
204
219
  };
205
- return this.domEvents.addEventListener(t, "click", p), () => {
220
+ return this.domEvents.addEventListener(e, "click", p), () => {
206
221
  var s;
207
- (s = this.domEvents) == null || s.removeEventListener(t, "click", p);
222
+ (s = this.domEvents) == null || s.removeEventListener(e, "click", p);
208
223
  };
209
224
  }
210
225
  /**
@@ -216,5 +231,5 @@ class it extends E {
216
231
  }
217
232
  }
218
233
  export {
219
- it as TagUtil
234
+ ne as TagUtil
220
235
  };
@@ -1,35 +1,35 @@
1
1
  var S = Object.defineProperty, D = Object.defineProperties;
2
2
  var P = Object.getOwnPropertyDescriptors;
3
3
  var y = Object.getOwnPropertySymbols;
4
- var U = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
4
+ var U = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
5
5
  var u = (d, a, e) => a in d ? S(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, m = (d, a) => {
6
6
  for (var e in a || (a = {}))
7
7
  U.call(a, e) && u(d, e, a[e]);
8
8
  if (y)
9
9
  for (var e of y(a))
10
- E.call(a, e) && u(d, e, a[e]);
10
+ A.call(a, e) && u(d, e, a[e]);
11
11
  return d;
12
12
  }, c = (d, a) => D(d, P(a));
13
13
  var p = (d, a, e) => (u(d, typeof a != "symbol" ? a + "" : a, e), e);
14
14
  var l = (d, a, e) => new Promise((t, i) => {
15
- var o = (r) => {
15
+ var o = (s) => {
16
16
  try {
17
- n(e.next(r));
17
+ n(e.next(s));
18
18
  } catch (h) {
19
19
  i(h);
20
20
  }
21
- }, s = (r) => {
21
+ }, r = (s) => {
22
22
  try {
23
- n(e.throw(r));
23
+ n(e.throw(s));
24
24
  } catch (h) {
25
25
  i(h);
26
26
  }
27
- }, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(o, s);
27
+ }, n = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(o, r);
28
28
  n((e = e.apply(d, a)).next());
29
29
  });
30
30
  import * as v from "three";
31
31
  import { objectAssignDeepExports as f } from "../../vendor/object-assign-deep/objectAssignDeep.js";
32
- import { arrayPositionToVector3 as A } from "../../shared-utils/positionToVector3.js";
32
+ import { arrayPositionToVector3 as E } from "../../shared-utils/positionToVector3.js";
33
33
  import { isModelTag as k, isMediaModelTag as F } from "../utils/tag/tagCheck.js";
34
34
  import { debounce as w } from "../utils/debounce.js";
35
35
  import { throttle as M } from "../utils/throttle.js";
@@ -232,7 +232,9 @@ class Co extends B {
232
232
  p(this, "handleFiveModeChange", (e) => {
233
233
  const t = () => {
234
234
  this.tags.forEach((i) => {
235
- i.state.visible = !1, i.applyVisible(), this.five.ready().then(() => {
235
+ i.state.visible = !1, i.applyVisible();
236
+ }), this.five.ready().then(() => {
237
+ this.tagsDo(this.tags, (i) => {
236
238
  i.updateVisible(), F(i) && e !== "Panorama" && this.changeTagMode(i, "behind");
237
239
  });
238
240
  });
@@ -263,7 +265,9 @@ class Co extends B {
263
265
  });
264
266
  p(this, "handleFivePanoArrived", () => l(this, null, function* () {
265
267
  this.tags.forEach((e) => {
266
- e.state.visible = !1, e.temporaryState = c(m({}, e.temporaryState), { visible: !0 }), e.applyVisible(), e.updateVisible();
268
+ e.state.visible = !1, e.temporaryState = c(m({}, e.temporaryState), { visible: !0 }), e.applyVisible();
269
+ }), this.tagsDo(this.tags, (e) => {
270
+ e.updateVisible();
267
271
  }), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }), yield this.setUnfolded(), this.updateRender3DDomTag(), this.tags.filter(k).filter((e) => {
268
272
  var t;
269
273
  return (t = e.getConfig().modelConfig) == null ? void 0 : t.autoLookAtEnabled;
@@ -275,26 +279,26 @@ class Co extends B {
275
279
  t.position.copy(i.position), t.quaternion.copy(i.quaternion);
276
280
  const o = this.five.camera.position;
277
281
  t.lookAt(o.clone().setY(t.position.y));
278
- const s = i.quaternion.clone(), n = t.quaternion.clone(), r = W();
279
- r.onUpdate(({ progress: g }) => {
280
- i.quaternion.copy(s.clone().slerp(n, g));
281
- }), r.play();
282
+ const r = i.quaternion.clone(), n = t.quaternion.clone(), s = W();
283
+ s.onUpdate(({ progress: g }) => {
284
+ i.quaternion.copy(r.clone().slerp(n, g));
285
+ }), s.play();
282
286
  });
283
287
  }));
284
288
  /** 楼层切换时,需要更新标签可见性 */
285
289
  p(this, "handleFiveModelShownFloorChange", () => {
286
- this.tags.forEach((e) => e.updateVisible());
290
+ this.tagsDo(this.tags, (e) => e.updateVisible());
287
291
  });
288
292
  p(this, "onFiveEveryReady", () => {
289
- this.setUnfoldedByCamera(), O(this.five.getCurrentState().mode) && this.tags.forEach((e) => e.updateVisible());
293
+ this.setUnfoldedByCamera(), O(this.five.getCurrentState().mode) && this.tagsDo(this.tags, (e) => e.updateVisible());
290
294
  });
291
295
  p(this, "render", () => {
292
296
  this.renderQueue.forEach((e, t) => {
293
297
  const { keys: i } = e;
294
298
  if (t === "TagContainerSvelte") {
295
- const s = this.filterPointTag.filter((r) => r.screenPosition), n = {
299
+ const r = this.filterPointTag.filter((s) => s.screenPosition), n = {
296
300
  hooks: this.hooks,
297
- tags: s,
301
+ tags: r,
298
302
  state: this.state,
299
303
  temporaryState: this.temporaryState,
300
304
  mediaStore: this.mediaStore,
@@ -303,13 +307,13 @@ class Co extends B {
303
307
  zIndex: this.params.containerZIndex
304
308
  };
305
309
  if (this.TagContainerSvelte) {
306
- let r = {};
310
+ let s = {};
307
311
  if (i.length === 0)
308
- r = n;
312
+ s = n;
309
313
  else
310
314
  for (const h of i)
311
- r[h] = n[h];
312
- this.TagContainerSvelte.$set(r);
315
+ s[h] = n[h];
316
+ this.TagContainerSvelte.$set(s);
313
317
  } else {
314
318
  if (!this.container)
315
319
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
@@ -317,8 +321,8 @@ class Co extends B {
317
321
  target: this.container,
318
322
  props: c(m({}, n), { state: c(m({}, this.state), { enabled: !1 }) })
319
323
  }), N(() => {
320
- var r;
321
- (r = this.TagContainerSvelte) == null || r.$set({ state: this.state });
324
+ var s;
325
+ (s = this.TagContainerSvelte) == null || s.$set({ state: this.state });
322
326
  });
323
327
  }
324
328
  }
@@ -335,9 +339,9 @@ class Co extends B {
335
339
  }
336
340
  }
337
341
  appendTo(e) {
338
- var i, o, s, n;
342
+ var i, o, r, n;
339
343
  this.debugUtil.addLog("appendTo"), this.container = e, (i = this.css3DRenderPlugin) == null || i.appendToFrontFiveContainer(this.container);
340
- const t = (s = (o = this.TagContainerSvelte) == null ? void 0 : o.$$) == null ? void 0 : s.root;
344
+ const t = (r = (o = this.TagContainerSvelte) == null ? void 0 : o.$$) == null ? void 0 : r.root;
341
345
  t && t !== this.container && ((n = this.TagContainerSvelte) == null || n.$destroy(), this.TagContainerSvelte = void 0);
342
346
  }
343
347
  /**
@@ -349,7 +353,7 @@ class Co extends B {
349
353
  this.clearTags();
350
354
  try {
351
355
  console.debug(this.NAME, " load:", { data: JSON.parse(JSON.stringify(e)) });
352
- } catch (s) {
356
+ } catch (r) {
353
357
  }
354
358
  this.config = f({}, this.config, {
355
359
  globalConfig: (i = e.globalConfig) != null ? i : {},
@@ -365,17 +369,17 @@ class Co extends B {
365
369
  addTag(e) {
366
370
  return l(this, null, function* () {
367
371
  const i = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
368
- const s = L(o);
369
- if (s === "2DPoint" || s === "3DPoint")
372
+ const r = L(o);
373
+ if (r === "2DPoint" || r === "3DPoint")
370
374
  return new z(this, o);
371
- if (s === "Model")
375
+ if (r === "Model")
372
376
  return new Q(this, o);
373
- if (s === "Plane")
377
+ if (r === "Plane")
374
378
  return new $(this, o);
375
379
  });
376
380
  return i.forEach(_), this.tags.push(...i), this.tagsLengthWillUpdate = !0, G(this.five).then(() => l(this, null, function* () {
377
- var o, s;
378
- this.store.eventListenerDisposer && ((s = (o = this.store).eventListenerDisposer) == null || s.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), i.forEach((n) => {
381
+ var o, r;
382
+ this.store.eventListenerDisposer && ((r = (o = this.store).eventListenerDisposer) == null || r.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(i, (n) => {
379
383
  this.tags.includes(n) && (n.stickType === "Model" && n.loadModel().then(() => {
380
384
  this.tags.includes(n) && n.updateVisible();
381
385
  }), n.updateVisible(), n.updateZIndex());
@@ -388,7 +392,9 @@ class Co extends B {
388
392
  */
389
393
  changeConfig(e, t = !0) {
390
394
  t ? this.config = f({}, this.config, e) : this.config = e, this.tags.forEach((i) => {
391
- i.updateConfig(), i.updateVisible();
395
+ i.updateConfig();
396
+ }), this.tagsDo(this.tags, (i) => {
397
+ i.updateVisible();
392
398
  });
393
399
  }
394
400
  /**
@@ -396,7 +402,9 @@ class Co extends B {
396
402
  */
397
403
  changeGlobalConfig(e, t = !0) {
398
404
  t ? this.config.globalConfig = f({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.tags.forEach((i) => {
399
- i.updateConfig(), i.updateVisible();
405
+ i.updateConfig();
406
+ }), this.tagsDo(this.tags, (i) => {
407
+ i.updateVisible();
400
408
  });
401
409
  }
402
410
  /**
@@ -404,7 +412,9 @@ class Co extends B {
404
412
  */
405
413
  changeContentTypeConfig(e, t, i = !0) {
406
414
  this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = f({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.tags.forEach((o) => {
407
- o.updateConfig(), o.updateVisible();
415
+ o.updateConfig();
416
+ }), this.tagsDo(this.tags, (o) => {
417
+ o.updateVisible();
408
418
  });
409
419
  }
410
420
  show(e) {
@@ -445,11 +455,11 @@ class Co extends B {
445
455
  * @description 销毁
446
456
  */
447
457
  dispose() {
448
- var e, t, i, o, s, n;
449
- this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
458
+ var e, t, i, o, r, n;
459
+ this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((s) => {
450
460
  var h;
451
- return (h = r.tag3DContentSvelte) == null ? void 0 : h.svelteApp.$destroy();
452
- }), this.tags.forEach((r) => r.cache.clear()), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (o = (i = this.store).eventListenerDisposer) == null || o.call(i), this.store.eventListenerDisposer = void 0, (n = (s = this.store).resizeObserverDisposer) == null || n.call(s), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
461
+ return (h = s.tag3DContentSvelte) == null ? void 0 : h.svelteApp.$destroy();
462
+ }), this.tags.forEach((s) => s.cache.clear()), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (t = this.store.disposers) == null || t.forEach((s) => s == null ? void 0 : s()), this.store.disposers = [], (o = (i = this.store).eventListenerDisposer) == null || o.call(i), this.store.eventListenerDisposer = void 0, (n = (r = this.store).resizeObserverDisposer) == null || n.call(r), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
453
463
  }
454
464
  /**
455
465
  * @description 闪烁标签
@@ -488,7 +498,7 @@ class Co extends B {
488
498
  */
489
499
  changeTagNormalById(e, t) {
490
500
  const i = this.getTagById(e);
491
- i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = A(t));
501
+ i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = E(t));
492
502
  }
493
503
  /**
494
504
  * @description 改变data
@@ -530,7 +540,7 @@ class Co extends B {
530
540
  * @deprecated
531
541
  */
532
542
  updateRenderAllTags() {
533
- this.tags.forEach((e) => e.updateVisible()), this.five.needsRender = !0;
543
+ this.tagsDo(this.tags, (e) => e.updateVisible()), this.five.needsRender = !0;
534
544
  }
535
545
  /**
536
546
  * @description 清除所有标签
@@ -538,8 +548,8 @@ class Co extends B {
538
548
  clearTags() {
539
549
  var e;
540
550
  this.tags.length && (this.tags.forEach((t) => {
541
- var i, o, s, n, r;
542
- (o = (i = t.mediaPlane) == null ? void 0 : i.parent) == null || o.remove(t.mediaPlane), (r = (n = (s = t.model) == null ? void 0 : s.object) == null ? void 0 : n.parent) == null || r.remove(t.model.object);
551
+ var i, o, r, n, s;
552
+ (o = (i = t.mediaPlane) == null ? void 0 : i.parent) == null || o.remove(t.mediaPlane), (s = (n = (r = t.model) == null ? void 0 : r.object) == null ? void 0 : n.parent) == null || s.remove(t.model.object);
543
553
  }), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (e = this.TagContainerSvelte) == null || e.$destroy(), this.TagContainerSvelte = void 0, this.disposeAllCSS3DContainer()), this.enabledModelTagSet.clear(), this.cache.clear();
544
554
  }
545
555
  /**
@@ -569,8 +579,8 @@ class Co extends B {
569
579
  handleDisable() {
570
580
  var e, t, i;
571
581
  this.pauseCurrentMedia(), this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), this.five.scene.remove(this.group), (i = this.TagContainerSvelte) == null || i.$set({ tags: [] }), this.filterCSS3DTag.forEach((o) => {
572
- var s;
573
- (s = o.tag3DContentSvelte) == null || s.dispose(), o.tag3DContentSvelte = void 0;
582
+ var r;
583
+ (r = o.tag3DContentSvelte) == null || r.dispose(), o.tag3DContentSvelte = void 0;
574
584
  }), this.five.needsRender = !0;
575
585
  }
576
586
  addResizeListener() {
@@ -588,17 +598,17 @@ class Co extends B {
588
598
  this.state.enabled && (this.filterPointTag.forEach((h) => h.updateScreenPosition({ force: !0 })), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
589
599
  }, i = () => {
590
600
  this.state.enabled && (this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
591
- }, { observe: o, unobserve: s } = b(
601
+ }, { observe: o, unobserve: r } = b(
592
602
  M(() => {
593
603
  this.store.resizeObserverDisposer && i();
594
604
  }, 500),
595
605
  e
596
- ), { observe: n, unobserve: r } = b(
606
+ ), { observe: n, unobserve: s } = b(
597
607
  w(() => t(), 400),
598
608
  e
599
609
  );
600
610
  return o(), n(), () => {
601
- s(), r();
611
+ r(), s();
602
612
  };
603
613
  }
604
614
  setUnfoldedByCamera() {
@@ -618,8 +628,8 @@ class Co extends B {
618
628
  });
619
629
  }
620
630
  changeTagMode(e, t) {
621
- var i, o, s, n, r, h;
622
- ((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (s = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : s.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((g) => g == null ? void 0 : g()), e.tag3DContentSvelte = void 0);
631
+ var i, o, r, n, s, h;
632
+ ((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (r = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : r.css3DObject) == null ? void 0 : n.mode) !== t && ((s = e.config) != null && s.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((g) => g == null ? void 0 : g()), e.tag3DContentSvelte = void 0);
623
633
  }
624
634
  /**
625
635
  * @description 添加 cameraUpdate, panoArrived 等事件监听
@@ -20,7 +20,7 @@ let F = class {
20
20
  /**
21
21
  * @realsee/dnalogel 版本号
22
22
  */
23
- i(this, "VERSION", "3.55.0");
23
+ i(this, "VERSION", "3.56.0");
24
24
  i(this, "NAME");
25
25
  i(this, "five");
26
26
  i(this, "workUtil");
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.55.0",
3
+ "%c %c@realsee/dnalogel %cv3.56.0",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
@@ -14,6 +14,7 @@ export declare class LightTag {
14
14
  * [0] this.visible
15
15
  * [1] 碰撞检测
16
16
  * [2] 元素遮挡
17
+ * [3] 强制显示
17
18
  * ```
18
19
  */
19
20
  visibles: boolean[];
@@ -58,7 +59,9 @@ export declare class LightTag {
58
59
  /**
59
60
  * @description 显示标签
60
61
  */
61
- show(): void;
62
+ show(params?: {
63
+ force?: boolean;
64
+ }): void;
62
65
  /**
63
66
  * @description 隐藏标签
64
67
  */
@@ -83,6 +86,8 @@ export declare class LightTag {
83
86
  setPosition(position: AnyPosition, positionsForRotate?: AnyPosition[]): void;
84
87
  setTransformMatrix(matrix: THREE.Matrix4): void;
85
88
  updateScreenPosition(): void;
89
+ private onModeChange;
90
+ private onPanoArrived;
86
91
  private onCameraUpdate;
87
92
  private onCameraFovUpdate;
88
93
  private onFiveEveryReady;