@realsee/dnalogel 3.28.10 → 3.29.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 (404) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +1 -1
  3. package/dist/PanoTagPlugin/controller/index.d.ts +21 -2
  4. package/dist/PanoTagPlugin/typings/controller.d.ts +2 -0
  5. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +6 -2
  6. package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -0
  7. package/dist/index.cjs.js +55 -55
  8. package/dist/index.js +4617 -4497
  9. package/dist/index.umd.js +55 -55
  10. package/dist/shared-utils/three/blink.d.ts +17 -0
  11. package/docs/assets/search.js +1 -1
  12. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  13. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  14. package/docs/classes/CSS3DRender.html +3 -3
  15. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  16. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  17. package/docs/classes/ModelMakerPluginType.ModelMakerController.html +3 -3
  18. package/docs/classes/ModelRoomLabelController.html +3 -3
  19. package/docs/classes/MoveController.html +3 -3
  20. package/docs/classes/Object3DHelperController.html +3 -3
  21. package/docs/classes/PaintBrush.html +3 -3
  22. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  23. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  24. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  25. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  26. package/docs/classes/PanoTagPluginController.html +69 -35
  27. package/docs/classes/Sculpt.html +3 -3
  28. package/docs/classes/Util.BetterTween.html +3 -3
  29. package/docs/classes/Util.Interval.html +3 -3
  30. package/docs/classes/Util.LineSegments.html +3 -3
  31. package/docs/classes/Util.Magnifier.html +3 -3
  32. package/docs/classes/Util.Object3D.html +3 -3
  33. package/docs/classes/Util.PointDomHelper.html +3 -3
  34. package/docs/classes/Util.PointHelper.html +3 -3
  35. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  36. package/docs/classes/Util.Rectangle.html +3 -3
  37. package/docs/classes/WalkController.html +3 -3
  38. package/docs/enums/CameraMovementEffect.html +3 -3
  39. package/docs/enums/ContentType.html +3 -3
  40. package/docs/enums/DIRECTION.html +3 -3
  41. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  42. package/docs/enums/DimensionType.html +3 -3
  43. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  44. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  45. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  46. package/docs/enums/PointType.html +3 -3
  47. package/docs/enums/Rotation.html +3 -3
  48. package/docs/functions/AreaMakerPlugin.html +3 -3
  49. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  50. package/docs/functions/CameraMovementPlugin.html +3 -3
  51. package/docs/functions/CruisePlugin.html +3 -3
  52. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  53. package/docs/functions/GuideLinePlugin.html +3 -3
  54. package/docs/functions/ItemLabelPlugin.html +3 -3
  55. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  56. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  57. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  58. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  59. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  60. package/docs/functions/ModelMakerPlugin.html +3 -3
  61. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  62. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  63. package/docs/functions/ModelViewPlugin.html +3 -3
  64. package/docs/functions/MovePlugin.html +3 -3
  65. package/docs/functions/Object3DHelperPlugin.html +3 -3
  66. package/docs/functions/PanoCompassPlugin.html +3 -3
  67. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  68. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  69. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  70. package/docs/functions/PanoMeasurePlugin.html +3 -3
  71. package/docs/functions/PanoRulerPlugin.html +3 -3
  72. package/docs/functions/PanoRulerProPlugin.html +3 -3
  73. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  74. package/docs/functions/PanoTagPlugin.html +3 -3
  75. package/docs/functions/PanoVideoPlugin.html +3 -3
  76. package/docs/functions/PipelinePlugin.html +3 -3
  77. package/docs/functions/SculptPlugin.html +3 -3
  78. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  79. package/docs/functions/Util.absoluteUrl.html +3 -3
  80. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  81. package/docs/functions/Util.equal.html +3 -3
  82. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  83. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  84. package/docs/functions/Util.getFrameTime.html +3 -3
  85. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  86. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  87. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  88. package/docs/functions/Util.isModelLike.html +3 -3
  89. package/docs/functions/Util.isNil.html +3 -3
  90. package/docs/functions/Util.isPanoramaLike.html +3 -3
  91. package/docs/functions/Util.nextFrame.html +3 -3
  92. package/docs/functions/Util.notNil.html +3 -3
  93. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  94. package/docs/functions/Util.tweenProgress.html +3 -3
  95. package/docs/functions/Util.uuid.html +3 -3
  96. package/docs/functions/pluginFlag.html +4 -4
  97. package/docs/index.html +4 -4
  98. package/docs/interfaces/AddTagConfig.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  101. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  102. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  103. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  104. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  105. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  106. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  107. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  108. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  109. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  110. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  111. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  112. package/docs/interfaces/ContentTypeMapInterface.html +3 -3
  113. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  114. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  115. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  116. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  117. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  118. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  119. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  120. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  121. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  122. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  123. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  124. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  125. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  126. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  127. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  128. package/docs/interfaces/EventMap.html +3 -3
  129. package/docs/interfaces/FloorplanBounding.html +3 -3
  130. package/docs/interfaces/FloorplanData.html +3 -3
  131. package/docs/interfaces/FloorplanEntrance.html +3 -3
  132. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  133. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  134. package/docs/interfaces/FloorplanFloorData.html +3 -3
  135. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  136. package/docs/interfaces/FloorplanObserver.html +3 -3
  137. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  138. package/docs/interfaces/FloorplanPosition.html +3 -3
  139. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  140. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  141. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  142. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  143. package/docs/interfaces/FloorplanServerData.html +3 -3
  144. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  145. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  146. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  147. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  148. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  149. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  150. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  151. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  152. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  153. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  154. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  155. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  156. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  163. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  164. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  165. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  166. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  167. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  168. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  169. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  170. package/docs/interfaces/HelperOffset.html +3 -3
  171. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  172. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  173. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  174. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  175. package/docs/interfaces/MinMax.html +3 -3
  176. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  177. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  178. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  179. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  180. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  181. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  182. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  183. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  184. package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
  185. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  186. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  187. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  188. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  189. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  190. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  191. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  192. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  193. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  194. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  195. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  196. package/docs/interfaces/Object3DHelperState.html +3 -3
  197. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  198. package/docs/interfaces/PaintBrushAction.html +3 -3
  199. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  200. package/docs/interfaces/PaintBrushState.html +3 -3
  201. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  202. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  203. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  204. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  205. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  206. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  207. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  208. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  209. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  210. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  211. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  212. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  213. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  214. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  215. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  216. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  217. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  218. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  219. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  220. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  221. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  222. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  223. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  224. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  225. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  226. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  227. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  228. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  229. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  230. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  231. package/docs/interfaces/Point.html +3 -3
  232. package/docs/interfaces/Room.html +3 -3
  233. package/docs/interfaces/RoomInfo.html +3 -3
  234. package/docs/interfaces/RoomLabel.html +3 -3
  235. package/docs/interfaces/RoomRules.html +3 -3
  236. package/docs/interfaces/Rooms.html +3 -3
  237. package/docs/interfaces/Scissor.html +3 -3
  238. package/docs/interfaces/State.html +3 -3
  239. package/docs/interfaces/TagCacheInterface.html +11 -11
  240. package/docs/interfaces/TagConfig.html +15 -15
  241. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  242. package/docs/interfaces/TagIconUrl.html +3 -3
  243. package/docs/interfaces/TagObjectGroup.html +3 -3
  244. package/docs/interfaces/TagStyle.html +3 -3
  245. package/docs/interfaces/Tags.html +3 -3
  246. package/docs/interfaces/TemporaryState.html +3 -3
  247. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  248. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  249. package/docs/interfaces/Util.PointIntersection.html +3 -3
  250. package/docs/modules/AreaMakerPluginType.html +3 -3
  251. package/docs/modules/CruisePluginTypes.html +3 -3
  252. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  253. package/docs/modules/GuideLineItem.html +3 -3
  254. package/docs/modules/GuideLineModeItem.html +3 -3
  255. package/docs/modules/GuideLinePluginType.html +3 -3
  256. package/docs/modules/ModelMakerPluginType.html +3 -3
  257. package/docs/modules/PanoVideoPluginType.html +3 -3
  258. package/docs/modules/SculptData.html +3 -3
  259. package/docs/modules/Util.html +3 -3
  260. package/docs/modules.html +4 -4
  261. package/docs/types/AddObject3DHelperConfig.html +3 -3
  262. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  263. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  264. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  265. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  266. package/docs/types/ArrayPosition.html +3 -3
  267. package/docs/types/AudioAppearance.html +3 -3
  268. package/docs/types/CSS3DRenderExportType.html +3 -3
  269. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  270. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  271. package/docs/types/ClassFunctionParameters.html +3 -3
  272. package/docs/types/Color.html +3 -3
  273. package/docs/types/ContentTypeConfigKey.html +3 -3
  274. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  275. package/docs/types/ContentTypeMap.html +3 -3
  276. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  277. package/docs/types/Create3DElementReturnType.html +3 -3
  278. package/docs/types/CruisePluginExportType.html +3 -3
  279. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  280. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  281. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  282. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  283. package/docs/types/DeprecatedTagProperty.html +3 -3
  284. package/docs/types/Direction-1.html +3 -3
  285. package/docs/types/Direction4.html +3 -3
  286. package/docs/types/ElementRenderer.html +3 -3
  287. package/docs/types/FloorplanRuleLabels.html +3 -3
  288. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  289. package/docs/types/GuideLinePluginExportType.html +3 -3
  290. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  291. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  292. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  293. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  294. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  295. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  296. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  297. package/docs/types/HelperEventMap.html +3 -3
  298. package/docs/types/InternalHelperEventMap.html +3 -3
  299. package/docs/types/LoadTagConfig.html +3 -3
  300. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  301. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  302. package/docs/types/MediaData.html +3 -3
  303. package/docs/types/MediaStore.html +4 -4
  304. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  305. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  306. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  307. package/docs/types/ModelId.html +3 -3
  308. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  309. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  310. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  311. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  312. package/docs/types/MoveArgs.html +3 -3
  313. package/docs/types/MoveOpts.html +3 -3
  314. package/docs/types/Object3DHelperEventMap.html +3 -3
  315. package/docs/types/ObjectFit.html +3 -3
  316. package/docs/types/PaintBrushEventMap.html +3 -3
  317. package/docs/types/PanoCompassPluginData.html +3 -3
  318. package/docs/types/PanoCompassPluginExportType.html +3 -3
  319. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  320. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  321. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  322. package/docs/types/PanoIndex.html +3 -3
  323. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  324. package/docs/types/PanoMeasureReturnType.html +3 -3
  325. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  326. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  327. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  328. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  329. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  330. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  331. package/docs/types/PipelinePluginParameterType.html +3 -3
  332. package/docs/types/PipelinePluginReturnType.html +3 -3
  333. package/docs/types/PlaneTag.html +3 -3
  334. package/docs/types/Point2DTag.html +3 -3
  335. package/docs/types/Point3DTag.html +3 -3
  336. package/docs/types/PointTag.html +3 -3
  337. package/docs/types/PointTagInstance.html +4 -4
  338. package/docs/types/Position.html +3 -3
  339. package/docs/types/PositionFrom.html +3 -3
  340. package/docs/types/RotateArgs.html +3 -3
  341. package/docs/types/RotateOpts.html +3 -3
  342. package/docs/types/RuleLabelsKey.html +3 -3
  343. package/docs/types/RuleLabelsValue.html +3 -3
  344. package/docs/types/ScaleCallback.html +3 -3
  345. package/docs/types/ScalePosition.html +3 -3
  346. package/docs/types/SculptData.BoxData.html +3 -3
  347. package/docs/types/SculptData.CircleData.html +3 -3
  348. package/docs/types/SculptData.CylinderData.html +3 -3
  349. package/docs/types/SculptData.PointData.html +3 -3
  350. package/docs/types/SculptData.PolygonData.html +3 -3
  351. package/docs/types/SculptData.PolylineData.html +3 -3
  352. package/docs/types/SculptData.PrismData.html +3 -3
  353. package/docs/types/SculptData.RectangleData.html +3 -3
  354. package/docs/types/StickType.html +3 -3
  355. package/docs/types/Tag.html +3 -3
  356. package/docs/types/Tag2D.html +3 -3
  357. package/docs/types/Tag3D.html +3 -3
  358. package/docs/types/TagConfigByKey.html +3 -3
  359. package/docs/types/TagContentType.html +3 -3
  360. package/docs/types/TagContentTypeMapping.html +3 -3
  361. package/docs/types/TagDimensionType.html +3 -3
  362. package/docs/types/TagElement.html +3 -3
  363. package/docs/types/TagEvents.html +21 -5
  364. package/docs/types/TagGLTFObject.html +3 -3
  365. package/docs/types/TagHooks.html +3 -3
  366. package/docs/types/TagId.html +3 -3
  367. package/docs/types/TagInstance.html +4 -4
  368. package/docs/types/TagPointType.html +3 -3
  369. package/docs/types/TagRendererMap.html +3 -3
  370. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  371. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  372. package/docs/types/WorkCode.html +3 -3
  373. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  374. package/docs/variables/PLUGIN.html +3 -3
  375. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  376. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  377. package/docs/variables/defaultGlobalConfig.html +4 -4
  378. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  379. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  380. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  381. package/libs/CruisePlugin/Move.js +4 -3
  382. package/libs/CruisePlugin/Work.js +3 -2
  383. package/libs/CruisePlugin/index.js +8 -7
  384. package/libs/GuideLinePlugin/Controller.js +6 -5
  385. package/libs/GuideLinePlugin/GuideLineItem.js +4 -3
  386. package/libs/GuideLinePlugin/GuideLineModeItem.js +4 -2
  387. package/libs/GuideLinePlugin/index.js +7 -6
  388. package/libs/PanoTagPlugin/Components/Tag/index.js +309 -296
  389. package/libs/PanoTagPlugin/Components/TagItem.js +235 -226
  390. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -1
  391. package/libs/PanoTagPlugin/controller/TagComputer.js +112 -112
  392. package/libs/PanoTagPlugin/controller/index.d.ts +21 -2
  393. package/libs/PanoTagPlugin/controller/index.js +148 -106
  394. package/libs/PanoTagPlugin/index.js +13 -11
  395. package/libs/PanoTagPlugin/typings/controller.d.ts +2 -0
  396. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +6 -2
  397. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -0
  398. package/libs/PanoTagPlugin/utils/tag/format.js +1 -1
  399. package/libs/base/BasePlugin.js +1 -1
  400. package/libs/index.js +127 -126
  401. package/libs/shared-utils/logger.js +1 -1
  402. package/libs/shared-utils/three/blink.d.ts +17 -0
  403. package/libs/shared-utils/three/blink.js +92 -0
  404. package/package.json +3 -3
@@ -1,43 +1,43 @@
1
- var E = Object.defineProperty, V = Object.defineProperties;
1
+ var V = Object.defineProperty, E = Object.defineProperties;
2
2
  var R = Object.getOwnPropertyDescriptors;
3
3
  var D = Object.getOwnPropertySymbols;
4
- var O = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
5
- var b = (d, a, e) => a in d ? E(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, u = (d, a) => {
6
- for (var e in a || (a = {}))
7
- O.call(a, e) && b(d, e, a[e]);
4
+ var F = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
5
+ var v = (h, d, e) => d in h ? V(h, d, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[d] = e, m = (h, d) => {
6
+ for (var e in d || (d = {}))
7
+ F.call(d, e) && v(h, e, d[e]);
8
8
  if (D)
9
- for (var e of D(a))
10
- F.call(a, e) && b(d, e, a[e]);
11
- return d;
12
- }, v = (d, a) => V(d, R(a));
13
- var l = (d, a, e) => (b(d, typeof a != "symbol" ? a + "" : a, e), e);
14
- var c = (d, a, e) => new Promise((t, i) => {
15
- var s = (r) => {
9
+ for (var e of D(d))
10
+ O.call(d, e) && v(h, e, d[e]);
11
+ return h;
12
+ }, T = (h, d) => E(h, R(d));
13
+ var f = (h, d, e) => (v(h, typeof d != "symbol" ? d + "" : d, e), e);
14
+ var c = (h, d, e) => new Promise((t, i) => {
15
+ var s = (n) => {
16
16
  try {
17
- n(e.next(r));
18
- } catch (h) {
19
- i(h);
17
+ r(e.next(n));
18
+ } catch (a) {
19
+ i(a);
20
20
  }
21
- }, o = (r) => {
21
+ }, o = (n) => {
22
22
  try {
23
- n(e.throw(r));
24
- } catch (h) {
25
- i(h);
23
+ r(e.throw(n));
24
+ } catch (a) {
25
+ i(a);
26
26
  }
27
- }, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(s, o);
28
- n((e = e.apply(d, a)).next());
27
+ }, r = (n) => n.done ? t(n.value) : Promise.resolve(n.value).then(s, o);
28
+ r((e = e.apply(h, d)).next());
29
29
  });
30
- import * as T from "three";
30
+ import * as y from "three";
31
31
  import { Subscribe as M } from "@realsee/five";
32
- import { objectAssignDeepExports as p } from "../../vendor/object-assign-deep/objectAssignDeep.js";
32
+ import { objectAssignDeepExports as g } from "../../vendor/object-assign-deep/objectAssignDeep.js";
33
33
  import { addDebugPoints as _ } from "../utils/addDebugPoints.js";
34
34
  import { arrayPositionToVector3 as S } from "../../shared-utils/positionToVector3.js";
35
35
  import { isMediaModelTag as L, isModelTag as N } from "../utils/tag/tagCheck.js";
36
36
  import { debounce as G } from "../utils/debounce.js";
37
- import { throttle as U } from "../utils/throttle.js";
37
+ import { throttle as w } from "../utils/throttle.js";
38
38
  import z, { getTagStickType as W } from "../utils/tag/format.js";
39
39
  import { generateBlankAudio as x, AudioNamespace as $ } from "../../shared-utils/audio.js";
40
- import { resizeObserver as w } from "../../shared-utils/dom/resizeObserver.js";
40
+ import { resizeObserver as k } from "../../shared-utils/dom/resizeObserver.js";
41
41
  import { TagRender as j } from "./TagRender.js";
42
42
  import { uuid as J } from "../../shared-utils/uuid.js";
43
43
  import { isModelLike as q } from "../../shared-utils/five/mode.js";
@@ -49,6 +49,8 @@ import { tweenProgress as H } from "../../shared-utils/animationFrame/BetterTwee
49
49
  import { waitFiveModelLoaded as Q } from "../../shared-utils/five/fiveModelLoad.js";
50
50
  import { DebugUtil as Y } from "../utils/DebugUtil.js";
51
51
  import { safeObj as I } from "../../shared-utils/safeObj.js";
52
+ import { sleep as Z } from "../../CruisePlugin/utils/sleep.js";
53
+ import { blink as K, reblink as X } from "../../shared-utils/three/blink.js";
52
54
  import "./TagComputer.js";
53
55
  import "../utils/tagPosition.js";
54
56
  import "../../shared-utils/three/centerPoint.js";
@@ -172,22 +174,22 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
172
174
  import "../../shared-utils/three/GLTFLoader.js";
173
175
  import "@realsee/five/gltf-loader";
174
176
  import "../../shared-utils/animationFrame/index.js";
175
- const k = "Dnalogel-PanoTagPlugin", Fi = (d) => `${k}--${d}`;
176
- class Mi extends j {
177
+ const U = "Dnalogel-PanoTagPlugin", Gi = (h) => `${U}--${h}`;
178
+ class zi extends j {
177
179
  constructor(e, t) {
178
180
  super(e);
179
181
  /** state */
180
- l(this, "state", { enabled: !0, visible: !0 });
182
+ f(this, "state", { enabled: !0, visible: !0 });
181
183
  /** 插件参数 */
182
- l(this, "params");
184
+ f(this, "params");
183
185
  /** debug */
184
- l(this, "debug");
185
- l(this, "debugUtil", new Y(this));
186
+ f(this, "debug");
187
+ f(this, "debugUtil", new Y(this));
186
188
  /** 更改 tag 模型 */
187
- l(this, "changeTagModel", (e, t) => c(this, null, function* () {
188
- e.data = p({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
189
+ f(this, "changeTagModel", (e, t) => c(this, null, function* () {
190
+ e.data = g({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
189
191
  }));
190
- l(this, "whyHide", (e) => {
192
+ f(this, "whyHide", (e) => {
191
193
  var i, s, o;
192
194
  if (!this.state.enabled)
193
195
  return { reason: `plugin.state.enabled is ${this.state.enabled}` };
@@ -201,18 +203,18 @@ class Mi extends j {
201
203
  if (t.stickType === "Model" || t.stickType === "Plane")
202
204
  return { reason: "maybe blocked by the five model" };
203
205
  if (!t.state.visible) {
204
- const n = (s = (i = this.getPanoIndexCache({ panoIndex: this.five.panoIndex, id: e })) == null ? void 0 : i.__debug_visible_reason__) == null ? void 0 : s.reason;
205
- return { reason: (o = n == null ? void 0 : n.type) != null ? o : n, reasonObj: n };
206
+ const r = (s = (i = this.getPanoIndexCache({ panoIndex: this.five.panoIndex, id: e })) == null ? void 0 : i.__debug_visible_reason__) == null ? void 0 : s.reason;
207
+ return { reason: (o = r == null ? void 0 : r.type) != null ? o : r, reasonObj: r };
206
208
  }
207
209
  return { reason: "check your eyes" };
208
210
  });
209
- l(this, "updateVisible", () => {
211
+ f(this, "updateVisible", () => {
210
212
  const e = this.five.getCurrentState().mode;
211
213
  this.tags.forEach((t) => {
212
214
  L(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
213
215
  }), this.setVisible(), this.updateRenderAllTags();
214
216
  });
215
- l(this, "handleFiveWantsMoveToPano", (e) => {
217
+ f(this, "handleFiveWantsMoveToPano", (e) => {
216
218
  this.tags.forEach((t) => {
217
219
  this.getVisible(t, { panoIndex: e }) && (t.state.visible = !0);
218
220
  const s = this.getTagConfig(t);
@@ -233,7 +235,7 @@ class Mi extends j {
233
235
  // this.temporaryState.visible = false
234
236
  // this.updateTagContainerVisible()
235
237
  // }
236
- l(this, "clickhandler", (e) => {
238
+ f(this, "clickhandler", (e) => {
237
239
  if (e.target !== "TagPoint")
238
240
  return;
239
241
  if (!e.tag.state)
@@ -243,37 +245,37 @@ class Mi extends j {
243
245
  s.id !== e.tag.id && s.state && this.can("fold", s) && (s.state.unfolded = !1);
244
246
  }), this.updateRenderAllTags());
245
247
  });
246
- l(this, "handleFiveCameraUpdate", () => {
248
+ f(this, "handleFiveCameraUpdate", () => {
247
249
  this.updatePointTagPosition();
248
250
  });
249
- l(this, "handleFivePanoArrived", () => c(this, null, function* () {
251
+ f(this, "handleFivePanoArrived", () => c(this, null, function* () {
250
252
  this.setVisible(), this.updatePointTagPosition(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
251
- e.temporaryState = v(u({}, e.temporaryState), { visible: !0 });
253
+ e.temporaryState = T(m({}, e.temporaryState), { visible: !0 });
252
254
  }), this.tags.filter(N).filter((e) => {
253
255
  var t;
254
256
  return (t = this.getTagConfig(e).modelConfig) == null ? void 0 : t.autoLookAtEnabled;
255
257
  }).forEach((e) => {
256
- var h;
257
- const t = new T.Mesh(new T.BoxGeometry(), new T.MeshBasicMaterial()), i = (h = e.model) == null ? void 0 : h.object;
258
+ var a;
259
+ const t = new y.Mesh(new y.BoxGeometry(), new y.MeshBasicMaterial()), i = (a = e.model) == null ? void 0 : a.object;
258
260
  if (!i)
259
261
  return;
260
262
  t.position.copy(i.position), t.quaternion.copy(i.quaternion);
261
263
  const s = this.five.camera.position;
262
264
  t.lookAt(s.clone().setY(t.position.y));
263
- const o = i.quaternion.clone(), n = t.quaternion.clone(), r = H();
264
- r.onUpdate(({ progress: f }) => {
265
- i.quaternion.copy(o.clone().slerp(n, f));
266
- }), r.play();
265
+ const o = i.quaternion.clone(), r = t.quaternion.clone(), n = H();
266
+ n.onUpdate(({ progress: l }) => {
267
+ i.quaternion.copy(o.clone().slerp(r, l));
268
+ }), n.play();
267
269
  }), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible(), this.updateRenderAllTags();
268
270
  }));
269
271
  /** 楼层切换时,需要更新标签可见性 */
270
- l(this, "handleFiveModelShownFloorChange", () => {
272
+ f(this, "handleFiveModelShownFloorChange", () => {
271
273
  this.setVisible(), this.updateRenderAllTags();
272
274
  });
273
- l(this, "onFiveEveryReady", () => {
275
+ f(this, "onFiveEveryReady", () => {
274
276
  this.setUnfoldedByCamera(), q(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 }), this.updateRenderVideoPlane(), this.updateRenderImagePlane(), this.updateTagModelVisible();
275
277
  });
276
- this.params = p({}, { debug: !1, config: this.config }, u({}, t)), this.debug = this.params.debug, this.config = this.params.config, x(1, { namespace: $.PlayAudio });
278
+ this.params = g({}, { debug: !1, config: this.config }, m({}, t)), this.debug = this.params.debug, this.config = this.params.config, x(1, { namespace: $.PlayAudio });
277
279
  try {
278
280
  const i = window;
279
281
  Array.isArray(i.__PANOTAGPLUGIN_DEBUG_LIST__) || (i.__PANOTAGPLUGIN_DEBUG_LIST__ = []), i.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), i.__PANOTAGPLUGIN_DEBUG__ = this;
@@ -286,7 +288,7 @@ class Mi extends j {
286
288
  load(e, t) {
287
289
  return c(this, null, function* () {
288
290
  var s, o;
289
- this.clearTags(), console.debug(k, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = p({}, this.config, {
291
+ this.clearTags(), console.debug(U, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = g({}, this.config, {
290
292
  globalConfig: (s = e.globalConfig) != null ? s : {},
291
293
  contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
292
294
  }), this.store.visibleWithAnimation = !0;
@@ -294,8 +296,8 @@ class Mi extends j {
294
296
  if (this.store.visibleWithAnimation = void 0, this.debug)
295
297
  try {
296
298
  _(this.five, this.tags);
297
- } catch (n) {
298
- console.error(n);
299
+ } catch (r) {
300
+ console.error(r);
299
301
  }
300
302
  return i;
301
303
  });
@@ -306,42 +308,43 @@ class Mi extends j {
306
308
  addTag(e, t) {
307
309
  return c(this, null, function* () {
308
310
  const s = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
309
- var y, C, A, P;
311
+ var b, C, A, P;
310
312
  o.stickType = W(o);
311
- const n = JSON.parse(JSON.stringify(o.data)), r = (y = o.initialConfig) != null ? y : o.config ? JSON.parse(JSON.stringify(o.config)) : {};
312
- o.initialConfig = r;
313
- const h = this.calculateTagConfig(o), f = this.getTagConfig(o);
314
- o.config = f;
315
- const g = v(u({}, o), {
313
+ const r = JSON.parse(JSON.stringify(o.data)), n = (b = o.initialConfig) != null ? b : o.config ? JSON.parse(JSON.stringify(o.config)) : {};
314
+ o.initialConfig = n;
315
+ const a = this.calculateTagConfig(o), l = this.getTagConfig(o);
316
+ o.config = l;
317
+ const p = T(m({}, o), {
316
318
  enabled: (C = o.enabled) != null ? C : !0,
317
319
  id: (A = o.id) != null ? A : J(),
318
- data: (P = f.initialData) != null && P.important ? p(o.data, n, f.initialData) : p(o.data, f.initialData, n),
319
- state: u({
320
+ data: (P = l.initialData) != null && P.important ? g(o.data, r, l.initialData) : g(o.data, l.initialData, r),
321
+ state: m({
320
322
  visible: void 0,
321
323
  unfolded: !this.can("fold", o)
322
- }, f.initialState),
324
+ }, l.initialState),
323
325
  hooks: new M(),
324
326
  originPosition: o.position,
325
327
  position: (() => {
326
- const m = this.getTransformedPostion(o.position);
327
- return Array.isArray(m) ? m.map((B) => B.toArray()) : m.toArray();
328
+ const u = this.getTransformedPostion(o.position);
329
+ return Array.isArray(u) ? u.map((B) => B.toArray()) : u.toArray();
328
330
  })(),
329
- initialConfig: r,
330
- computedConfig: h,
331
- config: f,
332
- unfold: () => this.changeUnfoldedById(g.id, !0),
333
- fold: () => this.changeUnfoldedById(g.id, !1),
334
- enable: () => this.changeEnabledById(g.id, !0),
335
- disable: () => this.changeEnabledById(g.id, !1),
336
- destroy: () => this.destroyTagById(g.id),
337
- changeData: (m) => this.changeDataById(g.id, m),
338
- changePosition: (m) => this.changePositionById(g.id, m)
331
+ initialConfig: n,
332
+ computedConfig: a,
333
+ config: l,
334
+ unfold: () => this.changeUnfoldedById(p.id, !0),
335
+ fold: () => this.changeUnfoldedById(p.id, !1),
336
+ enable: () => this.changeEnabledById(p.id, !0),
337
+ disable: () => this.changeEnabledById(p.id, !1),
338
+ destroy: () => this.destroyTagById(p.id),
339
+ changeData: (u) => this.changeDataById(p.id, u),
340
+ changePosition: (u) => this.changePositionById(p.id, u),
341
+ blink: (u) => this.blinkTagById(p.id, u)
339
342
  });
340
- return g;
343
+ return p;
341
344
  });
342
345
  return s.forEach(z), this.tags.push(...s), this.tagsLengthWillUpdate = !0, Q(this.five).then(() => c(this, null, function* () {
343
- var o, n, r;
344
- this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(s), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 }), this.updatePointTagPosition(), this.updateRenderAllTags();
346
+ var o, r, n;
347
+ this.store.eventListenerDisposer && ((r = (o = this.store).eventListenerDisposer) == null || r.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(s), this.setVisibleAndUnfolded({ withAnimation: (n = t == null ? void 0 : t.withAnimation) != null ? n : !0 }), this.updatePointTagPosition(), this.updateRenderAllTags();
345
348
  }));
346
349
  });
347
350
  }
@@ -349,19 +352,19 @@ class Mi extends j {
349
352
  * @description 改变配置
350
353
  */
351
354
  changeConfig(e, t = !0) {
352
- t ? this.config = p({}, this.config, e) : this.config = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
355
+ t ? this.config = g({}, this.config, e) : this.config = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
353
356
  }
354
357
  /**
355
358
  * @description 改变全局配置
356
359
  */
357
360
  changeGlobalConfig(e, t = !0) {
358
- t ? this.config.globalConfig = p({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
361
+ t ? this.config.globalConfig = g({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
359
362
  }
360
363
  /**
361
364
  * @description 改变类型配置
362
365
  */
363
366
  changeContentTypeConfig(e, t, i = !0) {
364
- this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = p({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
367
+ this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = g({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
365
368
  }
366
369
  show(e) {
367
370
  return c(this, null, function* () {
@@ -394,32 +397,69 @@ class Mi extends j {
394
397
  setState(e, t) {
395
398
  if (this.checkDisposed())
396
399
  return;
397
- const { userAction: i = !0, visibleWithAnimation: s = !1 } = t != null ? t : {}, o = u({}, this.state);
400
+ const { userAction: i = !0, visibleWithAnimation: s = !1 } = t != null ? t : {}, o = m({}, this.state);
398
401
  this.state = Object.assign(this.state, e), this.store.visibleWithAnimation = s, o.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), o.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: i });
399
402
  }
400
403
  /**
401
404
  * @description 销毁
402
405
  */
403
406
  dispose() {
404
- var e, t, i, s, o, n;
405
- this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
406
- var h;
407
- return (h = r.tag3DContentSvelte) == null ? void 0 : h.svelteApp.$destroy();
408
- }), this.tags = [], (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (s = (i = this.store).eventListenerDisposer) == null || s.call(i), this.store.eventListenerDisposer = void 0, (n = (o = this.store).resizeObserverDisposer) == null || n.call(o), 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.clearCache(), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
407
+ var e, t, i, s, o, r;
408
+ this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((n) => {
409
+ var a;
410
+ return (a = n.tag3DContentSvelte) == null ? void 0 : a.svelteApp.$destroy();
411
+ }), this.tags = [], (t = this.store.disposers) == null || t.forEach((n) => n == null ? void 0 : n()), this.store.disposers = [], (s = (i = this.store).eventListenerDisposer) == null || s.call(i), this.store.eventListenerDisposer = void 0, (r = (o = this.store).resizeObserverDisposer) == null || r.call(o), 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.clearCache(), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
409
412
  }
413
+ /**
414
+ * @description 闪烁标签
415
+ * @param {TagId} id
416
+ * @param {Partial<anime.AnimeParams>} animeConfig
417
+ */
418
+ blinkTagById(e, t) {
419
+ return c(this, null, function* () {
420
+ var n;
421
+ const i = this.getTagById(e);
422
+ if (!i)
423
+ return;
424
+ const s = (n = i.state) == null ? void 0 : n.visible;
425
+ s === !1 && (i.state.visible = !0, this.setPointTagPosition(), this.updateDomView(), yield Z(1));
426
+ const o = (() => {
427
+ var l, p, b;
428
+ const a = [];
429
+ return a.push((p = (l = i.dom) == null ? void 0 : l.getElementsByClassName("wrapper")) == null ? void 0 : p[0]), i.stickType !== "2DPoint" && a.push(i.contentDom), a.push((b = i.model) == null ? void 0 : b.object), a.push(i.mediaPlane), a.filter(Boolean);
430
+ })();
431
+ if (!o.length)
432
+ return;
433
+ yield (s ? K : X)(o, m({
434
+ update: () => {
435
+ this.five.needsRender = !0;
436
+ }
437
+ }, t)), s === !1 && (this.setVisible(i), this.updateDomView());
438
+ });
439
+ }
440
+ /**
441
+ * @description 展开/收起指定id的标签
442
+ * @param {TagId} id
443
+ * @param {boolean} unfolded
444
+ */
410
445
  changeUnfoldedById(e, t) {
411
- var n, r;
446
+ var r;
412
447
  const i = this.getTagById(e);
413
448
  if (!i)
414
449
  return;
415
450
  const s = this.can("fold", i), o = this.can("unfold", i);
416
451
  if (s && o) {
417
- i.state.unfolded = t, (n = i.hooks) == null || n.emit(t ? "unfolded" : "folded");
418
- const h = this.filterPointTag;
419
- (r = this.TagContainerSvelte) == null || r.$set({ tags: h });
452
+ i.state.unfolded = t;
453
+ const n = this.filterPointTag;
454
+ (r = this.TagContainerSvelte) == null || r.$set({ tags: n });
420
455
  } else
421
456
  console.warn(`tag ${e} cannot be ${t ? "unfolded" : "folded"}`);
422
457
  }
458
+ /**
459
+ * @description 启用/停用指定id的标签
460
+ * @param {TagId} id
461
+ * @param {boolean} enabled
462
+ */
423
463
  changeEnabledById(e, t) {
424
464
  var s;
425
465
  const i = this.getTagById(e);
@@ -427,14 +467,16 @@ class Mi extends j {
427
467
  }
428
468
  /**
429
469
  * @description 修改3D标签normal
470
+ * @param {TagId} id
471
+ * @param {ArrayPosition} normal
430
472
  */
431
473
  changeTagNormalById(e, t) {
432
474
  const i = this.getTagById(e);
433
475
  i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = S(t));
434
476
  }
435
477
  /**
436
- * @description 改变data
437
- */
478
+ * @description 改变data
479
+ */
438
480
  changePositionById(e, t) {
439
481
  const i = this.getTagById(e);
440
482
  if (!i)
@@ -449,7 +491,7 @@ class Mi extends j {
449
491
  changeDataById(e, t, i = !0) {
450
492
  const s = this.getTagById(e);
451
493
  let o = !1;
452
- s && (s.data && (o = !0), i ? s.data = p(s.data, t) : s.data = u(u({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
494
+ s && (s.data && (o = !0), i ? s.data = g(s.data, t) : s.data = m(m({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
453
495
  }
454
496
  /**
455
497
  * @description 改变tag的stickType
@@ -463,7 +505,7 @@ class Mi extends j {
463
505
  changeTagById(e, t, i = !0) {
464
506
  const s = this.getTagById(e);
465
507
  let o = !1;
466
- t && (this.tagsLengthWillUpdate = !0, t.data && (o = !0), i ? p(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = S(t.normal)), this.clearCacheById(e), this.setVisible(), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
508
+ t && (this.tagsLengthWillUpdate = !0, t.data && (o = !0), i ? g(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = S(t.normal)), this.clearCacheById(e), this.setVisible(), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
467
509
  }
468
510
  /**
469
511
  * @description 销毁tag
@@ -511,7 +553,7 @@ class Mi extends j {
511
553
  addEventListener() {
512
554
  const { five: e, hooks: t } = this;
513
555
  let i = !1;
514
- const s = U(() => {
556
+ const s = w(() => {
515
557
  i || (i = !0, e.ready().then(() => {
516
558
  this.onFiveEveryReady(), i = !1;
517
559
  }));
@@ -535,17 +577,17 @@ class Mi extends j {
535
577
  this.state.enabled && (this.show(), this.updateRenderAllTags());
536
578
  }, i = () => {
537
579
  this.state.enabled && this.hide();
538
- }, { observe: s, unobserve: o } = w(
539
- U(() => {
580
+ }, { observe: s, unobserve: o } = k(
581
+ w(() => {
540
582
  this.store.resizeObserverDisposer && i();
541
583
  }, 500),
542
584
  e
543
- ), { observe: n, unobserve: r } = w(
585
+ ), { observe: r, unobserve: n } = k(
544
586
  G(() => t(), 400),
545
587
  e
546
588
  );
547
- return s(), n(), () => {
548
- o(), r();
589
+ return s(), r(), () => {
590
+ o(), n();
549
591
  };
550
592
  }
551
593
  setUnfoldedByCamera() {
@@ -565,12 +607,12 @@ class Mi extends j {
565
607
  });
566
608
  }
567
609
  changeTagMode(e, t) {
568
- var i, s, o, n, r, h;
569
- ((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.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((f) => f == null ? void 0 : f()), e.tag3DContentSvelte = void 0);
610
+ var i, s, o, r, n, a;
611
+ ((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((r = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.css3DObject) == null ? void 0 : r.mode) !== t && ((n = e.config) != null && n.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (a = this.store.css3DRenderDisposer.get(e.id)) == null || a.forEach((l) => l == null ? void 0 : l()), e.tag3DContentSvelte = void 0);
570
612
  }
571
613
  }
572
614
  export {
573
- Mi as PanoTagPluginController,
574
- Mi as default,
575
- Fi as pluginFlag
615
+ zi as PanoTagPluginController,
616
+ zi as default,
617
+ Gi as pluginFlag
576
618
  };
@@ -1,7 +1,7 @@
1
1
  import r from "./controller/index.js";
2
- import { pluginFlag as Rt } from "./controller/index.js";
3
- import { defaultGlobalConfig as Ut } from "./typings/tag/TagConfig.js";
4
- import { ContentType as Wt, DimensionType as Xt, PointType as Yt } from "./Archive/deprecated.js";
2
+ import { pluginFlag as Ut } from "./controller/index.js";
3
+ import { defaultGlobalConfig as Wt } from "./typings/tag/TagConfig.js";
4
+ import { ContentType as Yt, DimensionType as Zt, PointType as _t } from "./Archive/deprecated.js";
5
5
  import "three";
6
6
  import "@realsee/five";
7
7
  import "../vendor/object-assign-deep/objectAssignDeep.js";
@@ -146,14 +146,16 @@ import "../shared-utils/animationFrame/BetterTween.js";
146
146
  import "../shared-utils/animationFrame/index.js";
147
147
  import "../shared-utils/five/fiveModelLoad.js";
148
148
  import "./utils/DebugUtil.js";
149
- const Nt = (o, t) => new r(o, t);
149
+ import "../CruisePlugin/utils/sleep.js";
150
+ import "../shared-utils/three/blink.js";
151
+ const Qt = (o, t) => new r(o, t);
150
152
  export {
151
- Wt as ContentType,
152
- Xt as DimensionType,
153
- Nt as PanoTagPlugin,
153
+ Yt as ContentType,
154
+ Zt as DimensionType,
155
+ Qt as PanoTagPlugin,
154
156
  r as PanoTagPluginController,
155
- Yt as PointType,
156
- Nt as default,
157
- Ut as defaultGlobalConfig,
158
- Rt as pluginFlag
157
+ _t as PointType,
158
+ Qt as default,
159
+ Wt as defaultGlobalConfig,
160
+ Ut as pluginFlag
159
161
  };
@@ -61,6 +61,8 @@ export type TagEvents<C extends TagContentType = TagContentType> = {
61
61
  folded: () => void;
62
62
  enable: () => void;
63
63
  disable: () => void;
64
+ show: () => void;
65
+ hide: () => void;
64
66
  dataChanged: (data: TagInstance<C>['data']) => void;
65
67
  };
66
68
  export interface TagCacheInterface {
@@ -182,9 +182,13 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
182
182
  } | ConfigFunction;
183
183
  /** 初始状态 */
184
184
  initialState?: {
185
- /** 显示/隐藏 */
185
+ /**
186
+ * @description 展示状态
187
+ */
186
188
  visible?: boolean;
187
- /** 展开/收起 */
189
+ /**
190
+ * @description 展开状态
191
+ */
188
192
  unfolded?: boolean;
189
193
  };
190
194
  /**
@@ -38,6 +38,8 @@ export type TagInstance<C extends TagContentType = TagContentType, S extends Sti
38
38
  loading: boolean;
39
39
  play: () => void;
40
40
  pause: () => void;
41
+ dom?: HTMLDivElement;
42
+ contentDom?: HTMLDivElement;
41
43
  }> & {
42
44
  state: {
43
45
  visible?: boolean;
@@ -1,5 +1,5 @@
1
1
  function o(e) {
2
- return e.pointType === "PointTag" && e.dimensionType === "3D" ? "3DPoint" : e.pointType === "PlaneTag" ? "Plane" : "2DPoint";
2
+ return e.stickType ? e.stickType : e.pointType === "PointTag" && e.dimensionType === "3D" ? "3DPoint" : e.pointType === "PlaneTag" ? "Plane" : "2DPoint";
3
3
  }
4
4
  function p(e) {
5
5
  var t, i, a, r;
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.28.10");
17
+ i(this, "VERSION", "3.29.0");
18
18
  i(this, "five");
19
19
  /**
20
20
  * @description: 插件事件钩子