@realsee/dnalogel 3.30.0 → 3.30.2

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 (392) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/ModelMakerPlugin/index.d.ts +2 -0
  3. package/dist/ModelMakerPlugin/typings/data.d.ts +17 -4
  4. package/dist/ModelMakerPlugin/typings/index.d.ts +0 -11
  5. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +1 -1
  6. package/dist/index.cjs.js +3 -3
  7. package/dist/index.js +6 -6
  8. package/dist/index.umd.js +3 -3
  9. package/dist/shared-utils/three/blink.d.ts +11 -1
  10. package/docs/assets/search.js +1 -1
  11. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +4 -3
  12. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +4 -3
  13. package/docs/classes/CSS3DRender.html +4 -3
  14. package/docs/classes/GuideLineItem.GuideLineItem.html +4 -3
  15. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +4 -3
  16. package/docs/classes/{ModelMakerPluginType.ModelMakerController.html → ModelMakerPluginInstance.html} +42 -55
  17. package/docs/classes/ModelRoomLabelController.html +4 -3
  18. package/docs/classes/MoveController.html +4 -3
  19. package/docs/classes/Object3DHelperController.html +4 -3
  20. package/docs/classes/PaintBrush.html +4 -3
  21. package/docs/classes/PanoMeasurePluginLine.html +4 -3
  22. package/docs/classes/PanoMeasurePluginModel.html +4 -3
  23. package/docs/classes/PanoMeasurePluginPoint.html +4 -3
  24. package/docs/classes/PanoMeasurePluginPolyline.html +4 -3
  25. package/docs/classes/PanoTagPluginController.html +4 -3
  26. package/docs/classes/Sculpt.html +4 -3
  27. package/docs/classes/Util.BetterTween.html +4 -3
  28. package/docs/classes/Util.Interval.html +4 -3
  29. package/docs/classes/Util.LineSegments.html +4 -3
  30. package/docs/classes/Util.Magnifier.html +4 -3
  31. package/docs/classes/Util.Object3D.html +4 -3
  32. package/docs/classes/Util.PointDomHelper.html +4 -3
  33. package/docs/classes/Util.PointHelper.html +4 -3
  34. package/docs/classes/Util.PointSelectorHelper.html +4 -3
  35. package/docs/classes/Util.Rectangle.html +4 -3
  36. package/docs/classes/WalkController.html +4 -3
  37. package/docs/enums/CameraMovementEffect.html +4 -3
  38. package/docs/enums/ContentType.html +4 -3
  39. package/docs/enums/DIRECTION.html +4 -3
  40. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +4 -3
  41. package/docs/enums/DimensionType.html +4 -3
  42. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -3
  43. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +4 -3
  44. package/docs/enums/PaintBrushTypeEnum.html +4 -3
  45. package/docs/enums/PointType.html +4 -3
  46. package/docs/enums/Rotation.html +4 -3
  47. package/docs/functions/AreaMakerPlugin.html +4 -3
  48. package/docs/functions/CSS3DRenderPlugin.html +4 -3
  49. package/docs/functions/CameraMovementPlugin.html +4 -3
  50. package/docs/functions/CruisePlugin.html +4 -3
  51. package/docs/functions/CurrentPanoImagePlugin.html +4 -3
  52. package/docs/functions/GuideLinePlugin.html +4 -3
  53. package/docs/functions/ItemLabelPlugin.html +4 -3
  54. package/docs/functions/MapviewFloorplanPlugin.html +4 -3
  55. package/docs/functions/ModelChassisCompassPlugin.html +4 -3
  56. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -3
  57. package/docs/functions/ModelFloorplanPlugin.html +4 -3
  58. package/docs/functions/ModelItemLabelPlugin.html +4 -3
  59. package/docs/functions/ModelMakerPlugin.html +6 -5
  60. package/docs/functions/ModelRoomLabelPlugin.html +4 -3
  61. package/docs/functions/ModelTVVideoPlugin.html +4 -3
  62. package/docs/functions/ModelViewPlugin.html +4 -3
  63. package/docs/functions/MovePlugin.html +4 -3
  64. package/docs/functions/Object3DHelperPlugin.html +4 -3
  65. package/docs/functions/PanoCompassPlugin.html +4 -3
  66. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -3
  67. package/docs/functions/PanoDoorLabelPlugin.html +4 -3
  68. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -3
  69. package/docs/functions/PanoMeasurePlugin.html +4 -3
  70. package/docs/functions/PanoRulerPlugin.html +4 -3
  71. package/docs/functions/PanoRulerProPlugin.html +4 -3
  72. package/docs/functions/PanoSpatialTagPlugin.html +4 -3
  73. package/docs/functions/PanoTagPlugin.html +4 -3
  74. package/docs/functions/PanoVideoPlugin.html +4 -3
  75. package/docs/functions/PipelinePlugin.html +4 -3
  76. package/docs/functions/SculptPlugin.html +4 -3
  77. package/docs/functions/TopviewFloorplanPlugin.html +4 -3
  78. package/docs/functions/Util.absoluteUrl.html +4 -3
  79. package/docs/functions/Util.blink.html +13 -6
  80. package/docs/functions/Util.checkFiveModelLoaded.html +4 -3
  81. package/docs/functions/Util.equal.html +4 -3
  82. package/docs/functions/Util.getCoordsFromClient.html +4 -3
  83. package/docs/functions/Util.getCoordsFromElement.html +4 -3
  84. package/docs/functions/Util.getFrameTime.html +4 -3
  85. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -3
  86. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -3
  87. package/docs/functions/Util.isAbsoluteURL.html +4 -3
  88. package/docs/functions/Util.isModelLike.html +4 -3
  89. package/docs/functions/Util.isNil.html +4 -3
  90. package/docs/functions/Util.isPanoramaLike.html +4 -3
  91. package/docs/functions/Util.nextFrame.html +4 -3
  92. package/docs/functions/Util.notNil.html +4 -3
  93. package/docs/functions/Util.reblink.html +15 -7
  94. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -3
  95. package/docs/functions/Util.tweenProgress.html +4 -3
  96. package/docs/functions/Util.uuid.html +4 -3
  97. package/docs/functions/pluginFlag.html +4 -3
  98. package/docs/index.html +5 -4
  99. package/docs/interfaces/AddTagConfig.html +4 -3
  100. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +4 -3
  101. package/docs/interfaces/AreaMakerPluginType.Config.html +4 -3
  102. package/docs/interfaces/AreaMakerPluginType.EventMap.html +4 -3
  103. package/docs/interfaces/AreaMakerPluginType.Params.html +4 -3
  104. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -3
  105. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +4 -3
  106. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +4 -3
  107. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +4 -3
  108. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +4 -3
  109. package/docs/interfaces/AreaMakerPluginType.State.html +4 -3
  110. package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -3
  111. package/docs/interfaces/CSS3DRenderPluginState.html +4 -3
  112. package/docs/interfaces/CameraMovementPluginExportType.html +4 -3
  113. package/docs/interfaces/ContentTypeMapInterface.html +4 -3
  114. package/docs/interfaces/CruisePluginTypes.Config.html +4 -3
  115. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +4 -3
  116. package/docs/interfaces/CruisePluginTypes.EventMap.html +4 -3
  117. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +4 -3
  118. package/docs/interfaces/CruisePluginTypes.MoveAction.html +4 -3
  119. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +4 -3
  120. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +4 -3
  121. package/docs/interfaces/CruisePluginTypes.PluginData.html +4 -3
  122. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +4 -3
  123. package/docs/interfaces/CruisePluginTypes.PluginState.html +4 -3
  124. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +4 -3
  125. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +4 -3
  126. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +4 -3
  127. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +4 -3
  128. package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -3
  129. package/docs/interfaces/EventMap.html +4 -3
  130. package/docs/interfaces/FloorplanBounding.html +4 -3
  131. package/docs/interfaces/FloorplanData.html +4 -3
  132. package/docs/interfaces/FloorplanEntrance.html +4 -3
  133. package/docs/interfaces/FloorplanExtraObject.html +4 -3
  134. package/docs/interfaces/FloorplanExtraObject3D.html +4 -3
  135. package/docs/interfaces/FloorplanFloorData.html +4 -3
  136. package/docs/interfaces/FloorplanImagePosition.html +4 -3
  137. package/docs/interfaces/FloorplanObserver.html +4 -3
  138. package/docs/interfaces/FloorplanOutlineItem.html +4 -3
  139. package/docs/interfaces/FloorplanPosition.html +4 -3
  140. package/docs/interfaces/FloorplanRoomItem.html +4 -3
  141. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -3
  142. package/docs/interfaces/FloorplanServerBounding.html +4 -3
  143. package/docs/interfaces/FloorplanServerComputedData.html +4 -3
  144. package/docs/interfaces/FloorplanServerData.html +4 -3
  145. package/docs/interfaces/FloorplanServerDoorItem.html +4 -3
  146. package/docs/interfaces/FloorplanServerDoorPosition.html +4 -3
  147. package/docs/interfaces/FloorplanServerEntrance.html +4 -3
  148. package/docs/interfaces/FloorplanServerFloorData.html +4 -3
  149. package/docs/interfaces/FloorplanServerImagePosition.html +4 -3
  150. package/docs/interfaces/FloorplanServerObserver.html +4 -3
  151. package/docs/interfaces/FloorplanServerOutlineItem.html +4 -3
  152. package/docs/interfaces/FloorplanServerPosition.html +4 -3
  153. package/docs/interfaces/FloorplanServerRoomItem.html +4 -3
  154. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -3
  155. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -3
  156. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +4 -3
  157. package/docs/interfaces/GuideLinePluginType.EventMap.html +4 -3
  158. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +4 -3
  159. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +4 -3
  160. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +4 -3
  161. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +4 -3
  162. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +4 -3
  163. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +4 -3
  164. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +4 -3
  165. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +4 -3
  166. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -3
  167. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +4 -3
  168. package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -3
  169. package/docs/interfaces/GuideLinePluginType.Route.html +4 -3
  170. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +4 -3
  171. package/docs/interfaces/HelperOffset.html +4 -3
  172. package/docs/interfaces/ImagePlaneGroup.html +4 -3
  173. package/docs/interfaces/ItemLabelPluginData.html +4 -3
  174. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +4 -3
  175. package/docs/interfaces/ItemLabelPluginParametersType.html +4 -3
  176. package/docs/interfaces/MinMax.html +4 -3
  177. package/docs/interfaces/ModelChassisCompassPluginData.html +4 -3
  178. package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -3
  179. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +4 -3
  180. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -3
  181. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -3
  182. package/docs/interfaces/ModelItemLabelPluginData.html +4 -3
  183. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +4 -3
  184. package/docs/interfaces/ModelItemLabelPluginParametersType.html +4 -3
  185. package/docs/interfaces/ModelMakerPluginType.EventMap.html +13 -47
  186. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +16 -9
  187. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +29 -16
  188. package/docs/interfaces/ModelMakerPluginType.ServerData.html +6 -5
  189. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +48 -20
  190. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +32 -18
  191. package/docs/interfaces/ModelMakerPluginType.State.html +9 -8
  192. package/docs/interfaces/ModelRoomLabelPluginData.html +4 -3
  193. package/docs/interfaces/ModelTVVideoPluginData.html +4 -3
  194. package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -3
  195. package/docs/interfaces/ModelTVVideoPluginParameterType.html +4 -3
  196. package/docs/interfaces/ModelViewPluginExportType.html +4 -3
  197. package/docs/interfaces/Object3DHelperState.html +4 -3
  198. package/docs/interfaces/ObjectHelperControllers.html +4 -3
  199. package/docs/interfaces/PaintBrushAction.html +4 -3
  200. package/docs/interfaces/PaintBrushConfigs.html +4 -3
  201. package/docs/interfaces/PaintBrushState.html +4 -3
  202. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +4 -3
  203. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -3
  204. package/docs/interfaces/PanoMeasureParameterType.html +4 -3
  205. package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -3
  206. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -3
  207. package/docs/interfaces/PanoMeasurePluginPointJson.html +4 -3
  208. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -3
  209. package/docs/interfaces/PanoRulerPluginExportType.html +4 -3
  210. package/docs/interfaces/PanoRulerPluginOptions.html +4 -3
  211. package/docs/interfaces/PanoRulerPluginParameterType.html +4 -3
  212. package/docs/interfaces/PanoRulerProPluginExportType.html +4 -3
  213. package/docs/interfaces/PanoRulerProPluginOptions.html +4 -3
  214. package/docs/interfaces/PanoRulerProPluginParameterType.html +4 -3
  215. package/docs/interfaces/PanoRulerProPluginState.html +4 -3
  216. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -3
  217. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -3
  218. package/docs/interfaces/PanoSpatialTagPluginData.html +4 -3
  219. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +4 -3
  220. package/docs/interfaces/PanoSpatialTagPluginExportType.html +4 -3
  221. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +4 -3
  222. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +4 -3
  223. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +4 -3
  224. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +4 -3
  225. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +4 -3
  226. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +4 -3
  227. package/docs/interfaces/PanoVideoPluginType.PluginData.html +4 -3
  228. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +4 -3
  229. package/docs/interfaces/PanoVideoPluginType.PluginState.html +4 -3
  230. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +4 -3
  231. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +4 -3
  232. package/docs/interfaces/Point.html +4 -3
  233. package/docs/interfaces/Room.html +4 -3
  234. package/docs/interfaces/RoomInfo.html +4 -3
  235. package/docs/interfaces/RoomLabel.html +4 -3
  236. package/docs/interfaces/RoomRules.html +4 -3
  237. package/docs/interfaces/Rooms.html +4 -3
  238. package/docs/interfaces/Scissor.html +4 -3
  239. package/docs/interfaces/State.html +4 -3
  240. package/docs/interfaces/TagCacheInterface.html +4 -3
  241. package/docs/interfaces/TagConfig.html +4 -3
  242. package/docs/interfaces/TagGLTFObjectGroup.html +4 -3
  243. package/docs/interfaces/TagIconUrl.html +4 -3
  244. package/docs/interfaces/TagObjectGroup.html +4 -3
  245. package/docs/interfaces/TagStyle.html +4 -3
  246. package/docs/interfaces/Tags.html +4 -3
  247. package/docs/interfaces/TemporaryState.html +4 -3
  248. package/docs/interfaces/Util.BlinkAnimeOptions.html +4 -3
  249. package/docs/interfaces/Util.MagnifierParameter.html +4 -3
  250. package/docs/interfaces/Util.MouseGroupParameter.html +4 -3
  251. package/docs/interfaces/Util.PointIntersection.html +4 -3
  252. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +4 -3
  253. package/docs/modules/AreaMakerPluginType.html +4 -3
  254. package/docs/modules/CruisePluginTypes.html +4 -3
  255. package/docs/modules/CurrentPanoImagePluginType.html +4 -3
  256. package/docs/modules/GuideLineItem.html +4 -3
  257. package/docs/modules/GuideLineModeItem.html +4 -3
  258. package/docs/modules/GuideLinePluginType.html +4 -3
  259. package/docs/modules/ModelMakerPluginType.html +23 -11
  260. package/docs/modules/PanoVideoPluginType.html +4 -3
  261. package/docs/modules/SculptData.html +4 -3
  262. package/docs/modules/Util.html +4 -3
  263. package/docs/modules.html +6 -4
  264. package/docs/types/AddObject3DHelperConfig.html +4 -3
  265. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -3
  266. package/docs/types/AreaMakerPluginType.ItemRenderer.html +4 -3
  267. package/docs/types/AreaMakerPluginType.PluginData.html +4 -3
  268. package/docs/types/AreaMakerPluginType.ServerData.html +4 -3
  269. package/docs/types/ArrayPosition.html +4 -3
  270. package/docs/types/AudioAppearance.html +4 -3
  271. package/docs/types/CSS3DRenderExportType.html +4 -3
  272. package/docs/types/CSS3DRenderPluginExportType.html +4 -3
  273. package/docs/types/CSS3DRenderPluginParameterType.html +4 -3
  274. package/docs/types/ClassFunctionParameters.html +4 -3
  275. package/docs/types/Color.html +4 -3
  276. package/docs/types/ContentTypeConfigKey.html +5 -4
  277. package/docs/types/ContentTypeConfigKeySplit.html +5 -4
  278. package/docs/types/ContentTypeMap.html +4 -3
  279. package/docs/types/Create3DDomContainerReturnType.html +4 -3
  280. package/docs/types/Create3DElementReturnType.html +4 -3
  281. package/docs/types/CruisePluginExportType.html +4 -3
  282. package/docs/types/CruisePluginTypes.CruiseData.html +4 -3
  283. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -3
  284. package/docs/types/CurrentPanoImagePluginExportType.html +4 -3
  285. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -3
  286. package/docs/types/DeprecatedTagProperty.html +4 -3
  287. package/docs/types/Direction-1.html +4 -3
  288. package/docs/types/Direction4.html +4 -3
  289. package/docs/types/ElementRenderer.html +4 -3
  290. package/docs/types/FloorplanRuleLabels.html +4 -3
  291. package/docs/types/FloorplanServerRuleLabels.html +4 -3
  292. package/docs/types/GuideLinePluginExportType.html +4 -3
  293. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -3
  294. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -3
  295. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -3
  296. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -3
  297. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -3
  298. package/docs/types/GuideLinePluginType.PathItem.html +4 -3
  299. package/docs/types/GuideLinePluginType.PluginData.html +4 -3
  300. package/docs/types/HelperEventMap.html +4 -3
  301. package/docs/types/InternalHelperEventMap.html +4 -3
  302. package/docs/types/LoadTagConfig.html +4 -3
  303. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -3
  304. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -3
  305. package/docs/types/MediaData.html +4 -3
  306. package/docs/types/MediaStore.html +4 -3
  307. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -3
  308. package/docs/types/ModelFloorplanPluginParameterType.html +4 -3
  309. package/docs/types/ModelFloorplanPluginReturnType.html +4 -3
  310. package/docs/types/ModelId.html +4 -3
  311. package/docs/types/ModelMakerPluginType.ElementRenderer.html +7 -6
  312. package/docs/types/ModelMakerPluginType.ItemType.html +7 -6
  313. package/docs/types/ModelRoomLabelPluginParameters.html +4 -3
  314. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -3
  315. package/docs/types/MoveArgs.html +4 -3
  316. package/docs/types/MoveOpts.html +4 -3
  317. package/docs/types/Object3DHelperEventMap.html +4 -3
  318. package/docs/types/ObjectFit.html +4 -3
  319. package/docs/types/PaintBrushEventMap.html +4 -3
  320. package/docs/types/PanoCompassPluginData.html +4 -3
  321. package/docs/types/PanoCompassPluginExportType.html +4 -3
  322. package/docs/types/PanoCompassPluginParameterType.html +4 -3
  323. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -3
  324. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -3
  325. package/docs/types/PanoIndex.html +4 -3
  326. package/docs/types/PanoMeasurePluginEvent.html +4 -3
  327. package/docs/types/PanoMeasureReturnType.html +4 -3
  328. package/docs/types/PanoSpatialTagPluginId.html +4 -3
  329. package/docs/types/PanoTagPluginExportInterface.html +4 -3
  330. package/docs/types/PanoTagPluginParamsInterface.html +4 -3
  331. package/docs/types/PanoVideoPluginParameterType.html +4 -3
  332. package/docs/types/PanoVideoPluginReturnType.html +4 -3
  333. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -4
  334. package/docs/types/PipelinePluginParameterType.html +4 -3
  335. package/docs/types/PipelinePluginReturnType.html +4 -3
  336. package/docs/types/PlaneTag.html +5 -4
  337. package/docs/types/Point2DTag.html +5 -4
  338. package/docs/types/Point3DTag.html +5 -4
  339. package/docs/types/PointTag.html +5 -4
  340. package/docs/types/PointTagInstance.html +4 -3
  341. package/docs/types/Position.html +4 -3
  342. package/docs/types/PositionFrom.html +4 -3
  343. package/docs/types/RotateArgs.html +4 -3
  344. package/docs/types/RotateOpts.html +4 -3
  345. package/docs/types/RuleLabelsKey.html +4 -3
  346. package/docs/types/RuleLabelsValue.html +4 -3
  347. package/docs/types/ScaleCallback.html +4 -3
  348. package/docs/types/ScalePosition.html +4 -3
  349. package/docs/types/SculptData.BoxData.html +4 -3
  350. package/docs/types/SculptData.CircleData.html +4 -3
  351. package/docs/types/SculptData.CylinderData.html +4 -3
  352. package/docs/types/SculptData.PointData.html +4 -3
  353. package/docs/types/SculptData.PolygonData.html +4 -3
  354. package/docs/types/SculptData.PolylineData.html +4 -3
  355. package/docs/types/SculptData.PrismData.html +4 -3
  356. package/docs/types/SculptData.RectangleData.html +4 -3
  357. package/docs/types/StickType.html +4 -3
  358. package/docs/types/Tag.html +4 -3
  359. package/docs/types/Tag2D.html +4 -3
  360. package/docs/types/Tag3D.html +4 -3
  361. package/docs/types/TagConfigByKey.html +5 -4
  362. package/docs/types/TagContentType.html +4 -3
  363. package/docs/types/TagContentTypeMapping.html +4 -3
  364. package/docs/types/TagDimensionType.html +4 -3
  365. package/docs/types/TagElement.html +4 -3
  366. package/docs/types/TagEvents.html +4 -3
  367. package/docs/types/TagGLTFObject.html +4 -3
  368. package/docs/types/TagHooks.html +4 -3
  369. package/docs/types/TagId.html +4 -3
  370. package/docs/types/TagInstance.html +4 -3
  371. package/docs/types/TagPointType.html +4 -3
  372. package/docs/types/TagRendererMap.html +4 -3
  373. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -3
  374. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -3
  375. package/docs/types/WorkCode.html +4 -3
  376. package/docs/variables/FLOOR_TYPE_MAP.html +4 -3
  377. package/docs/variables/PLUGIN.html +4 -3
  378. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -3
  379. package/docs/variables/ROOM_TYPE_MAP.html +4 -3
  380. package/docs/variables/defaultGlobalConfig.html +4 -3
  381. package/docs/variables/itemLabelPluginServerParams.html +4 -3
  382. package/docs/variables/modelItemLabelPluginServerParams.html +4 -3
  383. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -3
  384. package/libs/ModelMakerPlugin/Controller.js +46 -46
  385. package/libs/ModelMakerPlugin/index.d.ts +2 -0
  386. package/libs/ModelMakerPlugin/typings/data.d.ts +17 -4
  387. package/libs/ModelMakerPlugin/typings/index.d.ts +0 -11
  388. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +1 -1
  389. package/libs/base/BasePlugin.js +1 -1
  390. package/libs/shared-utils/logger.js +1 -1
  391. package/libs/shared-utils/three/blink.d.ts +11 -1
  392. package/package.json +1 -1
@@ -1,28 +1,28 @@
1
- var D = Object.defineProperty;
2
- var k = (p, n, e) => n in p ? D(p, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[n] = e;
3
- var s = (p, n, e) => (k(p, typeof n != "symbol" ? n + "" : n, e), e);
4
- var M = (p, n, e) => new Promise((r, t) => {
1
+ var P = Object.defineProperty;
2
+ var D = (l, n, e) => n in l ? P(l, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[n] = e;
3
+ var r = (l, n, e) => (D(l, typeof n != "symbol" ? n + "" : n, e), e);
4
+ var M = (l, n, e) => new Promise((s, t) => {
5
5
  var m = (i) => {
6
6
  try {
7
7
  a(e.next(i));
8
- } catch (h) {
9
- t(h);
8
+ } catch (p) {
9
+ t(p);
10
10
  }
11
11
  }, o = (i) => {
12
12
  try {
13
13
  a(e.throw(i));
14
- } catch (h) {
15
- t(h);
14
+ } catch (p) {
15
+ t(p);
16
16
  }
17
- }, a = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(m, o);
18
- a((e = e.apply(p, n)).next());
17
+ }, a = (i) => i.done ? s(i.value) : Promise.resolve(i.value).then(m, o);
18
+ a((e = e.apply(l, n)).next());
19
19
  });
20
- import { Controller as I } from "../base/BasePluginWithData.js";
21
- import * as l from "three";
22
- import { ModelMakerBoxItem as T } from "./item/boxItem.js";
20
+ import { Controller as A } from "../base/BasePluginWithData.js";
21
+ import * as h from "three";
22
+ import { ModelMakerBoxItem as C } from "./item/boxItem.js";
23
23
  import { PrismMesh as j } from "../Sculpt/Meshes/Prism.js";
24
- import { anyPositionToVector3 as H } from "../shared-utils/positionToVector3.js";
25
- import { PolygonWithEdgeMesh as A } from "../Sculpt/Meshes/PolygonWithEdge.js";
24
+ import { anyPositionToVector3 as I } from "../shared-utils/positionToVector3.js";
25
+ import { PolygonWithEdgeMesh as T } from "../Sculpt/Meshes/PolygonWithEdge.js";
26
26
  import "hammerjs";
27
27
  import "@realsee/five";
28
28
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -30,11 +30,11 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
30
30
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
31
31
  import "animejs";
32
32
  import { notNil as x } from "../shared-utils/isNil.js";
33
- import { tagRendererMap as C } from "./utils/tagRenderer.js";
33
+ import { tagRendererMap as H } from "./utils/tagRenderer.js";
34
34
  import { ModelMakerPrismItem as F } from "./item/prismItem.js";
35
- import { ModelMakerPolygonItem as O } from "./item/polygonItem.js";
35
+ import { ModelMakerPolygonItem as L } from "./item/polygonItem.js";
36
36
  import { boxVertex as c } from "../shared-utils/Object3DHelper/utils/boundingBox.js";
37
- import { getFiveDomEvent as z } from "./utils/getFiveDomEvent.js";
37
+ import { getFiveDomEvent as O } from "./utils/getFiveDomEvent.js";
38
38
  import "../base/BasePlugin.js";
39
39
  import "../shared-utils/Subscribe.js";
40
40
  import "../shared-utils/url/absoluteUrl.js";
@@ -75,45 +75,45 @@ import "../shared-utils/tag.js";
75
75
  import "../shared-utils/five/vector3ToScreen.js";
76
76
  import "../shared-utils/five/FiveDomEvents.js";
77
77
  import "../shared-utils/five/calculateThreeMouse.js";
78
- class Se extends I {
78
+ class Se extends A {
79
79
  constructor(e) {
80
80
  super(e);
81
- s(this, "state");
82
- s(this, "items", []);
83
- s(this, "data");
84
- s(this, "group", new l.Group());
85
- s(this, "tagRendererMap", {});
86
- s(this, "fiveDomEvents");
87
- s(this, "zFightingOffset", 0);
88
- s(this, "handleEnable", () => {
81
+ r(this, "state");
82
+ r(this, "items", []);
83
+ r(this, "data");
84
+ r(this, "group", new h.Group());
85
+ r(this, "tagRendererMap", {});
86
+ r(this, "fiveDomEvents");
87
+ r(this, "zFightingOffset", 0);
88
+ r(this, "handleEnable", () => {
89
89
  this.items.forEach((e) => e.enable());
90
90
  });
91
- s(this, "handleDisable", () => {
91
+ r(this, "handleDisable", () => {
92
92
  this.items.forEach((e) => e.disable());
93
93
  });
94
- s(this, "updateTagRenderer", () => {
94
+ r(this, "updateTagRenderer", () => {
95
95
  this.items.forEach((e) => {
96
96
  var t;
97
- const r = (t = this.tagRendererMap[e.type]) != null ? t : C[e.type];
98
- r && e.__renderer !== r && (e.__renderer = r, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = r(e.tag.container, e));
97
+ const s = (t = this.tagRendererMap[e.type]) != null ? t : H[e.type];
98
+ s && e.__renderer !== s && (e.__renderer = s, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = s(e.tag.container, e));
99
99
  });
100
100
  });
101
- this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.fiveDomEvents = z(e), e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
101
+ this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.fiveDomEvents = O(e), e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
102
102
  }
103
103
  load(e) {
104
104
  return M(this, null, function* () {
105
- var r;
106
- this.clear(), this.data = e, (r = e == null ? void 0 : e.list) == null || r.forEach((t) => {
105
+ var s;
106
+ this.clear(), this.data = e, (s = e == null ? void 0 : e.list) == null || s.forEach((t) => {
107
107
  var m;
108
108
  if (t.type === "triangles") {
109
- const o = new A();
109
+ const o = new T();
110
110
  o.setPoints(t.object_data.points), o.setStyle({
111
111
  color: t.object_data.color,
112
112
  opacity: t.object_data.opacity,
113
113
  lineColor: t.object_data.color,
114
114
  occlusionVisibility: !1
115
115
  }), this.fiveDomEvents.addEventListener(o, "hover", () => o.highlight()), this.fiveDomEvents.addEventListener(o, "unHover", () => o.unhighlight());
116
- const a = new O({
116
+ const a = new L({
117
117
  five: this.five,
118
118
  model: o,
119
119
  group: this.group,
@@ -125,10 +125,10 @@ class Se extends I {
125
125
  const o = new j();
126
126
  this.zFightingOffset += 1e-4, o.setPoints({
127
127
  points: t.object_data.points.map((i) => {
128
- var h;
129
- return [i[0], i[1] + ((h = t.object_data.fixedY) != null ? h : 0), i[2]];
128
+ var p;
129
+ return [i[0], i[1] + ((p = t.object_data.fixedY) != null ? p : 0), i[2]];
130
130
  }),
131
- heightPoint: H(t.object_data.points[0]).add(new l.Vector3().setY(t.object_data.height + ((m = t.object_data.fixedHeight) != null ? m : 0))).add(new l.Vector3().setY(this.zFightingOffset))
131
+ heightPoint: I(t.object_data.points[0]).add(new h.Vector3().setY(t.object_data.height + ((m = t.object_data.fixedHeight) != null ? m : 0))).add(new h.Vector3().setY(this.zFightingOffset))
132
132
  }), o.setStyle({
133
133
  color: t.object_data.color,
134
134
  opacity: t.object_data.opacity,
@@ -144,22 +144,22 @@ class Se extends I {
144
144
  });
145
145
  this.items.push(a);
146
146
  } else if (t.type === "box") {
147
- const o = new j(), { start: a, end: i, rotation: h, opacity: V, color: b } = t.object_data, f = new l.Vector3().fromArray(a), u = new l.Vector3().fromArray(i), R = new l.Euler().fromArray(h), g = new l.Quaternion().setFromEuler(R), y = g.clone().inverse(), _ = new l.Vector3().lerpVectors(f, u, 0.5), v = _.clone().negate(), w = f.clone().add(v).applyQuaternion(y), E = u.clone().add(v).applyQuaternion(y), d = new l.Box3(w.clone().max(E), w.clone().min(E));
147
+ const o = new j(), { start: a, end: i, rotation: p = [0, 0, 0, 0], opacity: V, color: b } = t.object_data, f = new h.Vector3().fromArray(a), u = new h.Vector3().fromArray(i), R = new h.Euler().fromArray(p), g = new h.Quaternion().setFromEuler(R), y = g.clone().inverse(), _ = new h.Vector3().lerpVectors(f, u, 0.5), w = _.clone().negate(), v = f.clone().add(w).applyQuaternion(y), E = u.clone().add(w).applyQuaternion(y), d = new h.Box3(v.clone().max(E), v.clone().min(E));
148
148
  o.setPoints({
149
149
  points: [c(d, 2), c(d, 3), c(d, 7), c(d, 6)],
150
150
  heightPoint: c(d, 0)
151
151
  }), o.position.copy(_), o.quaternion.copy(g), o.setStyle({ color: b, opacity: V, lineColor: b, occlusionVisibility: !1 });
152
- const P = new T({ five: this.five, model: o, group: this.group, type: t.type, rawData: t });
153
- this.items.push(P);
152
+ const k = new C({ five: this.five, model: o, group: this.group, type: t.type, rawData: t });
153
+ this.items.push(k);
154
154
  }
155
- }), this.five.needsRender = !0, this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer();
155
+ }), this.five.needsRender = !0, this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer(), this.hooks.emit("dataLoaded", e);
156
156
  });
157
157
  }
158
158
  setState(e) {
159
- x(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" })), x(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }));
159
+ x(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), x(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
160
160
  }
161
161
  getItemById(e) {
162
- return this.items.find((r) => r.rawData.id === e);
162
+ return this.items.find((s) => s.rawData.id === e);
163
163
  }
164
164
  registerTagRenderer(e) {
165
165
  this.tagRendererMap = e, this.updateTagRenderer();
@@ -180,7 +180,7 @@ class Se extends I {
180
180
  this.zFightingOffset = 0, this.handleDisable(), this.items = [];
181
181
  }
182
182
  dispose() {
183
- this.handleDisable();
183
+ this.hooks.emit("dispose"), this.handleDisable();
184
184
  }
185
185
  handleShow() {
186
186
  this.items.forEach((e) => e.show());
@@ -1,4 +1,6 @@
1
1
  import type { Five } from '@realsee/five';
2
2
  import type * as ModelMakerPluginType from './typings';
3
+ import { Controller } from './Controller';
3
4
  export declare const ModelMakerPlugin: (five: Five) => ModelMakerPluginType.ModelMakerController;
5
+ export type { Controller as ModelMakerPluginInstance };
4
6
  export type { ModelMakerPluginType };
@@ -2,7 +2,9 @@ export interface ServerData {
2
2
  list: (ServerBoxItem | ServerTrianglesItem | ServerPrismItem)[];
3
3
  }
4
4
  export interface ServerBaseItem {
5
+ /** 唯一标识 */
5
6
  id?: number;
7
+ /** 标签名 */
6
8
  name?: string;
7
9
  }
8
10
  export interface ServerBoxItem extends ServerBaseItem {
@@ -13,29 +15,40 @@ export interface ServerBoxItem extends ServerBaseItem {
13
15
  /** start 对角位置的顶点坐标 */
14
16
  end: number[];
15
17
  /** box 的欧拉角旋转,旋转顺序是 [XYZ] */
16
- rotation: number[];
18
+ rotation?: number[];
19
+ /** 标注颜色 */
17
20
  color?: string;
21
+ /** 透明度 */
18
22
  opacity?: number;
19
23
  };
20
24
  }
21
25
  export interface ServerTrianglesItem extends ServerBaseItem {
22
26
  type: 'triangles';
23
27
  object_data: {
24
- panoIndex: number;
28
+ /** 多边形的顶点坐标数组 */
25
29
  points: number[][];
30
+ /** 标注颜色 */
26
31
  color?: string;
32
+ /** 透明度 */
27
33
  opacity?: number;
28
34
  };
29
35
  }
30
36
  export interface ServerPrismItem extends ServerBaseItem {
31
37
  type: 'prism';
32
38
  object_data: {
39
+ /** 绘制平面的三维世界坐标点数组 */
33
40
  points: number[][];
34
- floorIndex?: number;
41
+ /** 楼层高度 */
35
42
  height: number;
43
+ /** 所在楼层 */
44
+ floorIndex?: number;
45
+ /** 人工设置的y坐标方向偏移 */
36
46
  fixedY?: number;
47
+ /** 人工设置的高度修正 */
37
48
  fixedHeight?: number;
38
- color: string;
49
+ /** 标注颜色 */
50
+ color?: string;
51
+ /** 透明度 */
39
52
  opacity?: number;
40
53
  };
41
54
  }
@@ -1,5 +1,4 @@
1
1
  import type * as BasePlugin from '../../base/BasePluginWithData';
2
- import type * as THREE from 'three';
3
2
  import type { ModelMakerBaseItem } from '../item/baseItem';
4
3
  import type { ServerData } from './data';
5
4
  export type { Controller as ModelMakerController } from '../Controller';
@@ -37,16 +36,6 @@ export interface EventMap extends BasePlugin.EventMap<State, ServerData> {
37
36
  disable: (event: {
38
37
  userAction: boolean;
39
38
  }) => void;
40
- /** 插件内容点击的回调
41
- * @param event.target 点击的标注实例
42
- * @param event.intersectObjects 射线与标注模型的交点集合
43
- * @param event.wantsFiveTapGestureParams Five wantsFiveTapGesture 的回调参数
44
- * @returns <boolean> | <void> 返回 false 会阻止 Five wantsFiveTapGesture 的回调,其余 return 值会被忽略
45
- */
46
- wantsTap: (event: {
47
- target: any;
48
- intersectObjects: THREE.Intersection[];
49
- }) => boolean | void;
50
39
  }
51
40
  export type ItemType = ServerData['list'][number]['type'];
52
41
  export type ElementRenderer = (container: HTMLElement, item: ModelMakerBaseItem) => () => void;
@@ -66,7 +66,7 @@ export interface ImagePlaneGroup extends Group {
66
66
  export type AudioAppearance = TagInstance<'Audio'>['data']['appearance'];
67
67
  type _ContentTypeConfigKey = `${StickType | 'Any'}-${TagContentType | 'Any'}` | TagContentType | `Any-Audio-${AudioAppearance}` | 'Any';
68
68
  export type ContentTypeConfigKeySplit = [StickType | 'Any', TagContentType | 'Any'] | [TagContentType] | [StickType | 'Any', 'Audio', AudioAppearance] | ['Any'] | [];
69
- type FiveModeType = `[${Exclude<Mode, 'DepthPanorama'> | 'PanoramaLike' | 'ModelLike'}]`;
69
+ type FiveModeType = `[${Mode | 'PanoramaLike' | 'ModelLike'}]`;
70
70
  export type ContentTypeConfigKey = FiveModeType | `${FiveModeType}-${_ContentTypeConfigKey}` | _ContentTypeConfigKey;
71
71
  /**
72
72
  * @description 从 ContentTypeConfigKey 中提取 ContentTypeConfigKey 对应的 TagContentType 是啥
@@ -15,7 +15,7 @@ let C = class {
15
15
  /**
16
16
  * @realsee/dnalogel 版本号
17
17
  */
18
- i(this, "VERSION", "3.30.0");
18
+ i(this, "VERSION", "3.30.2");
19
19
  i(this, "five");
20
20
  /**
21
21
  * @description: 插件事件钩子
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.30.0",
3
+ "%c %c@realsee/dnalogel %cv3.30.2",
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",
@@ -12,6 +12,16 @@ interface ReBlinkAnimeOptions extends BlinkAnimeOptions {
12
12
  maxOpacity?: number;
13
13
  }
14
14
  type Target = HTMLElement | THREE.Object3D;
15
+ /**
16
+ * @description 闪烁一个物体/Dom
17
+ * @param animeOptions https://animejs.com/documentation/
18
+ */
15
19
  declare function blink(objects: Target | Target[], animeOptions?: BlinkAnimeOptions): Promise<void>;
16
- declare function reblink(objects: any, animeOptions?: BlinkAnimeOptions): Promise<void>;
20
+ /**
21
+ * @description 闪烁一个不可见的物体/Dom
22
+ *
23
+ * 适用于物体/Dom在初始状态不可见的情况,闪烁完成后的状态为初始不可见的状态
24
+ * @param animeOptions https://animejs.com/documentation/
25
+ */
26
+ declare function reblink(objects: Target | Target[], animeOptions?: BlinkAnimeOptions): Promise<void>;
17
27
  export { blink, reblink, type BlinkAnimeOptions, type ReBlinkAnimeOptions };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.30.0",
3
+ "version": "3.30.2",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",