@realsee/dnalogel 3.30.3 → 3.30.5

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 (382) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/index.cjs.js +4 -4
  3. package/dist/index.js +17 -14
  4. package/dist/index.umd.js +4 -4
  5. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  6. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  7. package/docs/classes/CSS3DRender.html +3 -3
  8. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  9. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  10. package/docs/classes/ModelMakerPluginInstance.html +3 -3
  11. package/docs/classes/ModelRoomLabelController.html +3 -3
  12. package/docs/classes/MoveController.html +3 -3
  13. package/docs/classes/Object3DHelperController.html +3 -3
  14. package/docs/classes/PaintBrush.html +3 -3
  15. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  16. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  17. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  18. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  19. package/docs/classes/PanoTagPluginController.html +13 -13
  20. package/docs/classes/Sculpt.html +3 -3
  21. package/docs/classes/Util.BetterTween.html +3 -3
  22. package/docs/classes/Util.Interval.html +3 -3
  23. package/docs/classes/Util.LineSegments.html +3 -3
  24. package/docs/classes/Util.Magnifier.html +3 -3
  25. package/docs/classes/Util.Object3D.html +3 -3
  26. package/docs/classes/Util.PointDomHelper.html +3 -3
  27. package/docs/classes/Util.PointHelper.html +3 -3
  28. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  29. package/docs/classes/Util.Rectangle.html +3 -3
  30. package/docs/classes/WalkController.html +3 -3
  31. package/docs/enums/CameraMovementEffect.html +3 -3
  32. package/docs/enums/ContentType.html +3 -3
  33. package/docs/enums/DIRECTION.html +3 -3
  34. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  35. package/docs/enums/DimensionType.html +3 -3
  36. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  37. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  38. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  39. package/docs/enums/PointType.html +3 -3
  40. package/docs/enums/Rotation.html +3 -3
  41. package/docs/functions/AreaMakerPlugin.html +3 -3
  42. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  43. package/docs/functions/CameraMovementPlugin.html +3 -3
  44. package/docs/functions/CruisePlugin.html +3 -3
  45. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  46. package/docs/functions/GuideLinePlugin.html +3 -3
  47. package/docs/functions/ItemLabelPlugin.html +3 -3
  48. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  49. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  50. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  51. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  52. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  53. package/docs/functions/ModelMakerPlugin.html +3 -3
  54. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  55. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  56. package/docs/functions/ModelViewPlugin.html +3 -3
  57. package/docs/functions/MovePlugin.html +3 -3
  58. package/docs/functions/Object3DHelperPlugin.html +3 -3
  59. package/docs/functions/PanoCompassPlugin.html +3 -3
  60. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  61. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  62. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  63. package/docs/functions/PanoMeasurePlugin.html +3 -3
  64. package/docs/functions/PanoRulerPlugin.html +3 -3
  65. package/docs/functions/PanoRulerProPlugin.html +3 -3
  66. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  67. package/docs/functions/PanoTagPlugin.html +3 -3
  68. package/docs/functions/PanoVideoPlugin.html +3 -3
  69. package/docs/functions/PipelinePlugin.html +3 -3
  70. package/docs/functions/SculptPlugin.html +3 -3
  71. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  72. package/docs/functions/Util.absoluteUrl.html +3 -3
  73. package/docs/functions/Util.blink.html +3 -3
  74. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  75. package/docs/functions/Util.equal.html +3 -3
  76. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  77. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  78. package/docs/functions/Util.getFrameTime.html +3 -3
  79. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  80. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  81. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  82. package/docs/functions/Util.isModelLike.html +3 -3
  83. package/docs/functions/Util.isNil.html +3 -3
  84. package/docs/functions/Util.isPanoramaLike.html +3 -3
  85. package/docs/functions/Util.nextFrame.html +3 -3
  86. package/docs/functions/Util.notNil.html +3 -3
  87. package/docs/functions/Util.reblink.html +3 -3
  88. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  89. package/docs/functions/Util.tweenProgress.html +3 -3
  90. package/docs/functions/Util.uuid.html +3 -3
  91. package/docs/functions/pluginFlag.html +3 -3
  92. package/docs/index.html +4 -4
  93. package/docs/interfaces/AddTagConfig.html +3 -3
  94. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  95. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  96. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  97. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  98. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  101. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  102. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  103. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  104. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  105. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  106. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  107. package/docs/interfaces/ContentTypeMapInterface.html +3 -3
  108. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  109. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  110. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  111. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  112. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  113. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  114. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  115. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  116. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  117. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  118. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  119. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  120. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  121. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  122. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  123. package/docs/interfaces/EventMap.html +3 -3
  124. package/docs/interfaces/FloorplanBounding.html +3 -3
  125. package/docs/interfaces/FloorplanData.html +3 -3
  126. package/docs/interfaces/FloorplanEntrance.html +3 -3
  127. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  128. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  129. package/docs/interfaces/FloorplanFloorData.html +3 -3
  130. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  131. package/docs/interfaces/FloorplanObserver.html +3 -3
  132. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  133. package/docs/interfaces/FloorplanPosition.html +3 -3
  134. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  135. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  136. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  137. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  138. package/docs/interfaces/FloorplanServerData.html +3 -3
  139. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  140. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  141. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  142. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  143. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  144. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  145. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  146. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  147. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  148. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  149. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  150. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  151. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  152. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  153. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  154. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  155. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  156. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  163. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  164. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  165. package/docs/interfaces/HelperOffset.html +3 -3
  166. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  167. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  168. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  169. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  170. package/docs/interfaces/MinMax.html +3 -3
  171. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  172. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  173. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  174. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  175. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  176. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  177. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  178. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  179. package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
  180. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  181. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  182. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  183. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  184. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  185. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  186. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  187. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  188. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  189. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  190. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  191. package/docs/interfaces/Object3DHelperState.html +3 -3
  192. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  193. package/docs/interfaces/PaintBrushAction.html +3 -3
  194. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  195. package/docs/interfaces/PaintBrushState.html +3 -3
  196. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  197. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  198. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  199. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  200. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  201. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  202. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  203. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  204. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  205. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  206. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  207. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  208. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  209. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  210. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  211. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  212. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  213. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  214. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  215. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  216. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  217. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  218. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  219. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  220. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  221. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  222. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  223. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  224. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  225. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  226. package/docs/interfaces/Point.html +3 -3
  227. package/docs/interfaces/Room.html +3 -3
  228. package/docs/interfaces/RoomInfo.html +3 -3
  229. package/docs/interfaces/RoomLabel.html +3 -3
  230. package/docs/interfaces/RoomRules.html +3 -3
  231. package/docs/interfaces/Rooms.html +3 -3
  232. package/docs/interfaces/Scissor.html +3 -3
  233. package/docs/interfaces/State.html +3 -3
  234. package/docs/interfaces/TagCacheInterface.html +3 -3
  235. package/docs/interfaces/TagConfig.html +3 -3
  236. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  237. package/docs/interfaces/TagIconUrl.html +3 -3
  238. package/docs/interfaces/TagObjectGroup.html +3 -3
  239. package/docs/interfaces/TagStyle.html +3 -3
  240. package/docs/interfaces/Tags.html +3 -3
  241. package/docs/interfaces/TemporaryState.html +3 -3
  242. package/docs/interfaces/Util.BlinkAnimeOptions.html +3 -3
  243. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  244. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  245. package/docs/interfaces/Util.PointIntersection.html +3 -3
  246. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  247. package/docs/modules/AreaMakerPluginType.html +3 -3
  248. package/docs/modules/CruisePluginTypes.html +3 -3
  249. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  250. package/docs/modules/GuideLineItem.html +3 -3
  251. package/docs/modules/GuideLineModeItem.html +3 -3
  252. package/docs/modules/GuideLinePluginType.html +3 -3
  253. package/docs/modules/ModelMakerPluginType.html +3 -3
  254. package/docs/modules/PanoVideoPluginType.html +3 -3
  255. package/docs/modules/SculptData.html +3 -3
  256. package/docs/modules/Util.html +3 -3
  257. package/docs/modules.html +4 -4
  258. package/docs/types/AddObject3DHelperConfig.html +3 -3
  259. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  260. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  261. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  262. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  263. package/docs/types/ArrayPosition.html +3 -3
  264. package/docs/types/AudioAppearance.html +3 -3
  265. package/docs/types/CSS3DRenderExportType.html +3 -3
  266. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  267. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  268. package/docs/types/ClassFunctionParameters.html +3 -3
  269. package/docs/types/Color.html +3 -3
  270. package/docs/types/ContentTypeConfigKey.html +3 -3
  271. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  272. package/docs/types/ContentTypeMap.html +3 -3
  273. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  274. package/docs/types/Create3DElementReturnType.html +3 -3
  275. package/docs/types/CruisePluginExportType.html +3 -3
  276. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  277. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  278. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  279. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  280. package/docs/types/DeprecatedTagProperty.html +3 -3
  281. package/docs/types/Direction-1.html +3 -3
  282. package/docs/types/Direction4.html +3 -3
  283. package/docs/types/ElementRenderer.html +3 -3
  284. package/docs/types/FloorplanRuleLabels.html +3 -3
  285. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  286. package/docs/types/GuideLinePluginExportType.html +3 -3
  287. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  288. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  289. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  290. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  291. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  292. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  293. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  294. package/docs/types/HelperEventMap.html +3 -3
  295. package/docs/types/InternalHelperEventMap.html +3 -3
  296. package/docs/types/LoadTagConfig.html +3 -3
  297. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  298. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  299. package/docs/types/MediaData.html +3 -3
  300. package/docs/types/MediaStore.html +3 -3
  301. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  302. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  303. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  304. package/docs/types/ModelId.html +3 -3
  305. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  306. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  307. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  308. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  309. package/docs/types/MoveArgs.html +3 -3
  310. package/docs/types/MoveOpts.html +3 -3
  311. package/docs/types/Object3DHelperEventMap.html +3 -3
  312. package/docs/types/ObjectFit.html +3 -3
  313. package/docs/types/PaintBrushEventMap.html +3 -3
  314. package/docs/types/PanoCompassPluginData.html +3 -3
  315. package/docs/types/PanoCompassPluginExportType.html +3 -3
  316. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  317. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  318. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  319. package/docs/types/PanoIndex.html +3 -3
  320. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  321. package/docs/types/PanoMeasureReturnType.html +3 -3
  322. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  323. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  324. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  325. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  326. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  327. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  328. package/docs/types/PipelinePluginParameterType.html +3 -3
  329. package/docs/types/PipelinePluginReturnType.html +3 -3
  330. package/docs/types/PlaneTag.html +3 -3
  331. package/docs/types/Point2DTag.html +3 -3
  332. package/docs/types/Point3DTag.html +3 -3
  333. package/docs/types/PointTag.html +3 -3
  334. package/docs/types/PointTagInstance.html +3 -3
  335. package/docs/types/Position.html +3 -3
  336. package/docs/types/PositionFrom.html +3 -3
  337. package/docs/types/RotateArgs.html +3 -3
  338. package/docs/types/RotateOpts.html +3 -3
  339. package/docs/types/RuleLabelsKey.html +3 -3
  340. package/docs/types/RuleLabelsValue.html +3 -3
  341. package/docs/types/ScaleCallback.html +3 -3
  342. package/docs/types/ScalePosition.html +3 -3
  343. package/docs/types/SculptData.BoxData.html +3 -3
  344. package/docs/types/SculptData.CircleData.html +3 -3
  345. package/docs/types/SculptData.CylinderData.html +3 -3
  346. package/docs/types/SculptData.PointData.html +3 -3
  347. package/docs/types/SculptData.PolygonData.html +3 -3
  348. package/docs/types/SculptData.PolylineData.html +3 -3
  349. package/docs/types/SculptData.PrismData.html +3 -3
  350. package/docs/types/SculptData.RectangleData.html +3 -3
  351. package/docs/types/StickType.html +3 -3
  352. package/docs/types/Tag.html +3 -3
  353. package/docs/types/Tag2D.html +3 -3
  354. package/docs/types/Tag3D.html +3 -3
  355. package/docs/types/TagConfigByKey.html +3 -3
  356. package/docs/types/TagContentType.html +3 -3
  357. package/docs/types/TagContentTypeMapping.html +3 -3
  358. package/docs/types/TagDimensionType.html +3 -3
  359. package/docs/types/TagElement.html +3 -3
  360. package/docs/types/TagEvents.html +3 -3
  361. package/docs/types/TagGLTFObject.html +3 -3
  362. package/docs/types/TagHooks.html +3 -3
  363. package/docs/types/TagId.html +3 -3
  364. package/docs/types/TagInstance.html +3 -3
  365. package/docs/types/TagPointType.html +3 -3
  366. package/docs/types/TagRendererMap.html +3 -3
  367. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  368. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  369. package/docs/types/WorkCode.html +3 -3
  370. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  371. package/docs/variables/PLUGIN.html +3 -3
  372. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  373. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  374. package/docs/variables/defaultGlobalConfig.html +3 -3
  375. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  376. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  377. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  378. package/libs/PanoTagPlugin/controller/index.js +74 -71
  379. package/libs/base/BasePlugin.js +1 -1
  380. package/libs/shared-utils/logger.js +1 -1
  381. package/libs/shared-utils/three/blink.js +16 -16
  382. package/package.json +1 -1
@@ -2,32 +2,32 @@ var V = Object.defineProperty, E = Object.defineProperties;
2
2
  var R = Object.getOwnPropertyDescriptors;
3
3
  var D = Object.getOwnPropertySymbols;
4
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]);
5
+ var C = (d, a, e) => a in d ? V(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, m = (d, a) => {
6
+ for (var e in a || (a = {}))
7
+ F.call(a, e) && C(d, e, a[e]);
8
8
  if (D)
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) => {
9
+ for (var e of D(a))
10
+ O.call(a, e) && C(d, e, a[e]);
11
+ return d;
12
+ }, A = (d, a) => E(d, R(a));
13
+ var f = (d, a, e) => (C(d, typeof a != "symbol" ? a + "" : a, e), e);
14
+ var c = (d, a, e) => new Promise((t, i) => {
15
+ var s = (r) => {
16
16
  try {
17
- r(e.next(n));
18
- } catch (a) {
19
- i(a);
17
+ n(e.next(r));
18
+ } catch (l) {
19
+ i(l);
20
20
  }
21
- }, o = (n) => {
21
+ }, o = (r) => {
22
22
  try {
23
- r(e.throw(n));
24
- } catch (a) {
25
- i(a);
23
+ n(e.throw(r));
24
+ } catch (l) {
25
+ i(l);
26
26
  }
27
- }, r = (n) => n.done ? t(n.value) : Promise.resolve(n.value).then(s, o);
28
- r((e = e.apply(h, d)).next());
27
+ }, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(s, o);
28
+ n((e = e.apply(d, a)).next());
29
29
  });
30
- import * as y from "three";
30
+ import * as P from "three";
31
31
  import { Subscribe as M } from "@realsee/five";
32
32
  import { objectAssignDeepExports as g } from "../../vendor/object-assign-deep/objectAssignDeep.js";
33
33
  import { addDebugPoints as _ } from "../utils/addDebugPoints.js";
@@ -174,7 +174,7 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
174
174
  import "../../shared-utils/three/GLTFLoader.js";
175
175
  import "@realsee/five/gltf-loader";
176
176
  import "../../shared-utils/animationFrame/index.js";
177
- const U = "Dnalogel-PanoTagPlugin", Gi = (h) => `${U}--${h}`;
177
+ const U = "Dnalogel-PanoTagPlugin", Gi = (d) => `${U}--${d}`;
178
178
  class zi extends j {
179
179
  constructor(e, t) {
180
180
  super(e);
@@ -203,8 +203,8 @@ class zi extends j {
203
203
  if (t.stickType === "Model" || t.stickType === "Plane")
204
204
  return { reason: "maybe blocked by the five model" };
205
205
  if (!t.state.visible) {
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
+ const n = (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 = n == null ? void 0 : n.type) != null ? o : n, reasonObj: n };
208
208
  }
209
209
  return { reason: "check your eyes" };
210
210
  });
@@ -250,22 +250,22 @@ class zi extends j {
250
250
  });
251
251
  f(this, "handleFivePanoArrived", () => c(this, null, function* () {
252
252
  this.setVisible(), this.updatePointTagPosition(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
253
- e.temporaryState = T(m({}, e.temporaryState), { visible: !0 });
253
+ e.temporaryState = A(m({}, e.temporaryState), { visible: !0 });
254
254
  }), this.tags.filter(N).filter((e) => {
255
255
  var t;
256
256
  return (t = this.getTagConfig(e).modelConfig) == null ? void 0 : t.autoLookAtEnabled;
257
257
  }).forEach((e) => {
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
+ var l;
259
+ const t = new P.Mesh(new P.BoxGeometry(), new P.MeshBasicMaterial()), i = (l = e.model) == null ? void 0 : l.object;
260
260
  if (!i)
261
261
  return;
262
262
  t.position.copy(i.position), t.quaternion.copy(i.quaternion);
263
263
  const s = this.five.camera.position;
264
264
  t.lookAt(s.clone().setY(t.position.y));
265
- const o = i.quaternion.clone(), r = t.quaternion.clone(), n = Y();
266
- n.onUpdate(({ progress: l }) => {
267
- i.quaternion.copy(o.clone().slerp(r, l));
268
- }), n.play();
265
+ const o = i.quaternion.clone(), n = t.quaternion.clone(), r = Y();
266
+ r.onUpdate(({ progress: h }) => {
267
+ i.quaternion.copy(o.clone().slerp(n, h));
268
+ }), r.play();
269
269
  }), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible(), this.updateRenderAllTags();
270
270
  }));
271
271
  /** 楼层切换时,需要更新标签可见性 */
@@ -296,8 +296,8 @@ class zi extends j {
296
296
  if (this.store.visibleWithAnimation = void 0, this.debug)
297
297
  try {
298
298
  _(this.five, this.tags);
299
- } catch (r) {
300
- console.error(r);
299
+ } catch (n) {
300
+ console.error(n);
301
301
  }
302
302
  return i;
303
303
  });
@@ -308,29 +308,29 @@ class zi extends j {
308
308
  addTag(e, t) {
309
309
  return c(this, null, function* () {
310
310
  const s = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
311
- var b, C, A, P;
311
+ var b, v, T, y;
312
312
  o.stickType = W(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), {
318
- enabled: (C = o.enabled) != null ? C : !0,
319
- id: (A = o.id) != null ? A : J(),
320
- data: (P = l.initialData) != null && P.important ? g(o.data, r, l.initialData) : g(o.data, l.initialData, r),
313
+ const n = JSON.parse(JSON.stringify(o.data)), r = (b = o.initialConfig) != null ? b : o.config ? JSON.parse(JSON.stringify(o.config)) : {};
314
+ o.initialConfig = r;
315
+ const l = this.calculateTagConfig(o), h = this.getTagConfig(o);
316
+ o.config = h;
317
+ const p = A(m({}, o), {
318
+ enabled: (v = o.enabled) != null ? v : !0,
319
+ id: (T = o.id) != null ? T : J(),
320
+ data: (y = h.initialData) != null && y.important ? g(o.data, n, h.initialData) : g(o.data, h.initialData, n),
321
321
  state: m({
322
322
  visible: void 0,
323
323
  unfolded: !this.can("fold", o)
324
- }, l.initialState),
324
+ }, h.initialState),
325
325
  hooks: new M(),
326
326
  originPosition: o.position,
327
327
  position: (() => {
328
328
  const u = this.getTransformedPostion(o.position);
329
329
  return Array.isArray(u) ? u.map((B) => B.toArray()) : u.toArray();
330
330
  })(),
331
- initialConfig: n,
332
- computedConfig: a,
333
- config: l,
331
+ initialConfig: r,
332
+ computedConfig: l,
333
+ config: h,
334
334
  unfold: () => this.changeUnfoldedById(p.id, !0),
335
335
  fold: () => this.changeUnfoldedById(p.id, !1),
336
336
  enable: () => this.changeEnabledById(p.id, !0),
@@ -343,8 +343,8 @@ class zi extends j {
343
343
  return p;
344
344
  });
345
345
  return s.forEach(z), this.tags.push(...s), this.tagsLengthWillUpdate = !0, Z(this.five).then(() => c(this, null, function* () {
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();
346
+ var o, n, r;
347
+ 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();
348
348
  }));
349
349
  });
350
350
  }
@@ -404,11 +404,11 @@ class zi extends j {
404
404
  * @description 销毁
405
405
  */
406
406
  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");
407
+ var e, t, i, s, o, n;
408
+ this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
409
+ var l;
410
+ return (l = r.tag3DContentSvelte) == null ? void 0 : l.svelteApp.$destroy();
411
+ }), 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");
412
412
  }
413
413
  /**
414
414
  * @description 闪烁标签
@@ -417,24 +417,27 @@ class zi extends j {
417
417
  */
418
418
  blinkTagById(e, t) {
419
419
  return c(this, null, function* () {
420
- var n;
420
+ var h, p;
421
421
  const i = this.getTagById(e);
422
422
  if (!i)
423
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 X(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);
424
+ const s = (h = i.enabled) != null ? h : !0, o = (p = i.state) == null ? void 0 : p.visible, n = s && o;
425
+ n === !1 && (i.state.visible = !0, i.enabled = !0, this.setPointTagPosition(), this.updateDomView(), yield X(0), i.dom && (i.dom.style.visibility = "hidden"));
426
+ const r = (() => {
427
+ var v, T, y;
428
+ const b = [];
429
+ return b.push((T = (v = i.dom) == null ? void 0 : v.getElementsByClassName("wrapper")) == null ? void 0 : T[0]), i.stickType !== "2DPoint" && b.push(i.contentDom), b.push((y = i.model) == null ? void 0 : y.object), b.push(i.mediaPlane), b.filter(Boolean);
430
430
  })();
431
- if (!o.length)
431
+ if (!r.length)
432
432
  return;
433
- yield (s ? H : Q)(o, m({
434
- update: () => {
433
+ yield (n ? H : Q)(r, m({
434
+ begin: () => {
435
+ n === !1 && i.dom && (i.dom.style.visibility = "");
436
+ },
437
+ updateRender: () => {
435
438
  this.five.needsRender = !0;
436
439
  }
437
- }, t)), s === !1 && (this.setVisible(i), this.updateDomView());
440
+ }, t)), s === !1 && (i.enabled = !1, this.updateDomView()), o === !1 && (this.setVisible(i), this.updateDomView());
438
441
  });
439
442
  }
440
443
  /**
@@ -443,15 +446,15 @@ class zi extends j {
443
446
  * @param {boolean} unfolded
444
447
  */
445
448
  changeUnfoldedById(e, t) {
446
- var r;
449
+ var n;
447
450
  const i = this.getTagById(e);
448
451
  if (!i)
449
452
  return;
450
453
  const s = this.can("fold", i), o = this.can("unfold", i);
451
454
  if (s && o) {
452
455
  i.state.unfolded = t;
453
- const n = this.filterPointTag;
454
- (r = this.TagContainerSvelte) == null || r.$set({ tags: n });
456
+ const r = this.filterPointTag;
457
+ (n = this.TagContainerSvelte) == null || n.$set({ tags: r });
455
458
  } else
456
459
  console.warn(`tag ${e} cannot be ${t ? "unfolded" : "folded"}`);
457
460
  }
@@ -582,12 +585,12 @@ class zi extends j {
582
585
  this.store.resizeObserverDisposer && i();
583
586
  }, 500),
584
587
  e
585
- ), { observe: r, unobserve: n } = k(
588
+ ), { observe: n, unobserve: r } = k(
586
589
  G(() => t(), 400),
587
590
  e
588
591
  );
589
- return s(), r(), () => {
590
- o(), n();
592
+ return s(), n(), () => {
593
+ o(), r();
591
594
  };
592
595
  }
593
596
  setUnfoldedByCamera() {
@@ -607,8 +610,8 @@ class zi extends j {
607
610
  });
608
611
  }
609
612
  changeTagMode(e, t) {
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);
613
+ var i, s, o, n, r, l;
614
+ ((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 } }, (l = this.store.css3DRenderDisposer.get(e.id)) == null || l.forEach((h) => h == null ? void 0 : h()), e.tag3DContentSvelte = void 0);
612
615
  }
613
616
  }
614
617
  export {
@@ -15,7 +15,7 @@ let C = class {
15
15
  /**
16
16
  * @realsee/dnalogel 版本号
17
17
  */
18
- i(this, "VERSION", "3.30.3");
18
+ i(this, "VERSION", "3.30.5");
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.3",
3
+ "%c %c@realsee/dnalogel %cv3.30.5",
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",
@@ -16,28 +16,28 @@ var E = (e, a, t) => new Promise((r, s) => {
16
16
  } catch (i) {
17
17
  s(i);
18
18
  }
19
- }, f = (y) => {
19
+ }, c = (y) => {
20
20
  try {
21
21
  d(t.throw(y));
22
22
  } catch (i) {
23
23
  s(i);
24
24
  }
25
- }, d = (y) => y.done ? r(y.value) : Promise.resolve(y.value).then(l, f);
25
+ }, d = (y) => y.done ? r(y.value) : Promise.resolve(y.value).then(l, c);
26
26
  d((t = t.apply(e, a)).next());
27
27
  });
28
28
  import D from "animejs";
29
29
  import { toArray as v } from "../util.js";
30
- const c = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Map();
30
+ const f = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Map();
31
31
  function b(e) {
32
32
  v(e).forEach((t) => {
33
33
  var r, s;
34
- c.has(t) || (t instanceof HTMLElement ? c.set(t, {
34
+ f.has(t) || (t instanceof HTMLElement ? f.set(t, {
35
35
  opacity: t.style.opacity === "" ? void 0 : t.style.opacity,
36
36
  visible: {
37
37
  display: t.style.display,
38
38
  visibility: t.style.visibility
39
39
  }
40
- }) : t.isObject3D && c.set(t, {
40
+ }) : t.isObject3D && f.set(t, {
41
41
  opacity: (r = t.material) == null ? void 0 : r.opacity,
42
42
  transparent: (s = t.material) == null ? void 0 : s.transparent,
43
43
  visible: t.visible
@@ -46,11 +46,11 @@ function b(e) {
46
46
  }
47
47
  function k(e) {
48
48
  v(e).forEach((t) => {
49
- const r = c.get(t);
50
- r && (t instanceof HTMLElement && (t.style.opacity = r.opacity, t.style.display = r.visible.display, t.style.visibility = r.visible.visibility, t.style.display = r.visible.display), t.isObject3D && (t.visible = r.visible, t.material && (t.material.opacity = r.opacity, t.material.transparent = r.transparent)), c.delete(t));
49
+ const r = f.get(t);
50
+ r && (t instanceof HTMLElement && (t.style.opacity = r.opacity === void 0 ? "" : r.opacity, t.style.display = r.visible.display, t.style.visibility = r.visible.visibility, t.style.display = r.visible.display), t.isObject3D && (t.visible = r.visible, t.material && (t.material.opacity = r.opacity, t.material.transparent = r.transparent)), f.delete(t));
51
51
  });
52
52
  }
53
- function N(e, a) {
53
+ function o(e, a) {
54
54
  return E(this, null, function* () {
55
55
  var d, y;
56
56
  const t = (d = a == null ? void 0 : a.traverseTHREEObject) != null ? d : !0;
@@ -73,27 +73,27 @@ function N(e, a) {
73
73
  i.animatables.forEach((L) => {
74
74
  var M;
75
75
  const p = L.target;
76
- if (!c.has(p))
76
+ if (!f.has(p))
77
77
  return;
78
- const h = Number((M = c.get(p).opacity) != null ? M : 1) * (100 - i.progress) / 100;
78
+ const h = Number((M = f.get(p).opacity) != null ? M : 1) * (100 - i.progress) / 100;
79
79
  p instanceof HTMLElement ? p.style.opacity = String(h) : p.material && (p.material.opacity = h, p.material.transparent = !0);
80
80
  }), (u = a == null ? void 0 : a.updateRender) == null || u.call(a);
81
81
  }
82
- }, a)), f = T.get(e);
83
- f == null || f.pause(), f == null || f.seek(0), T.set(e, l), l.play(), yield l.finished, k(r), (y = a == null ? void 0 : a.updateRender) == null || y.call(a);
82
+ }, a)), c = T.get(e);
83
+ c == null || c.pause(), c == null || c.seek(0), T.set(e, l), l.play(), yield l.finished, k(r), (y = a == null ? void 0 : a.updateRender) == null || y.call(a);
84
84
  });
85
85
  }
86
86
  function C(e, a) {
87
87
  return E(this, null, function* () {
88
- return N(e, g({
88
+ return o(e, g({
89
89
  update: (t) => {
90
90
  var r;
91
91
  t.animatables.forEach((s) => {
92
92
  var i, u;
93
93
  const l = s.target;
94
- if (!c.has(l))
94
+ if (!f.has(l))
95
95
  return;
96
- const f = c.get(l), y = ((u = (i = f == null ? void 0 : f.opacity) != null ? i : a == null ? void 0 : a.maxOpacity) != null ? u : 1) * (t.progress / 100);
96
+ const c = f.get(l), y = ((u = (i = c == null ? void 0 : c.opacity) != null ? i : a == null ? void 0 : a.maxOpacity) != null ? u : 1) * (t.progress / 100);
97
97
  l instanceof HTMLElement ? (l.style.opacity = String(y), l.style.visibility = "visible") : l.isObject3D && (v(e).includes(l) && (l.visible = !0), l.material && (l.material.opacity = y, l.material.transparent = !0));
98
98
  }), (r = a == null ? void 0 : a.updateRender) == null || r.call(a);
99
99
  }
@@ -101,6 +101,6 @@ function C(e, a) {
101
101
  });
102
102
  }
103
103
  export {
104
- N as blink,
104
+ o as blink,
105
105
  C as reblink
106
106
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.30.3",
3
+ "version": "3.30.5",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",