@realsee/dnalogel 3.23.3 → 3.24.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 (373) hide show
  1. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +6 -0
  2. package/dist/PanoTagPlugin/utils/tag/format.d.ts +4 -2
  3. package/dist/index.cjs.js +4 -4
  4. package/dist/index.js +42 -26
  5. package/dist/index.umd.js +4 -4
  6. package/docs/assets/search.js +1 -1
  7. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  8. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  9. package/docs/classes/CSS3DRender.html +3 -3
  10. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  11. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  12. package/docs/classes/ModelMakerPluginType.ModelMakerController.html +3 -3
  13. package/docs/classes/ModelRoomLabelController.html +3 -3
  14. package/docs/classes/MoveController.html +3 -3
  15. package/docs/classes/Object3DHelperController.html +3 -3
  16. package/docs/classes/PaintBrush.html +3 -3
  17. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  18. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  19. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  20. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  21. package/docs/classes/PanoTagPluginController.html +21 -13
  22. package/docs/classes/Sculpt.html +3 -3
  23. package/docs/classes/Util.BetterTween.html +3 -3
  24. package/docs/classes/Util.Interval.html +3 -3
  25. package/docs/classes/Util.LineSegments.html +3 -3
  26. package/docs/classes/Util.Magnifier.html +3 -3
  27. package/docs/classes/Util.Object3D.html +3 -3
  28. package/docs/classes/Util.PointDomHelper.html +3 -3
  29. package/docs/classes/Util.PointHelper.html +3 -3
  30. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  31. package/docs/classes/Util.Rectangle.html +3 -3
  32. package/docs/classes/WalkController.html +3 -3
  33. package/docs/enums/CameraMovementEffect.html +3 -3
  34. package/docs/enums/ContentType.html +3 -3
  35. package/docs/enums/DIRECTION.html +3 -3
  36. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  37. package/docs/enums/DimensionType.html +3 -3
  38. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  39. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  40. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  41. package/docs/enums/PointType.html +3 -3
  42. package/docs/enums/Rotation.html +3 -3
  43. package/docs/functions/AreaMakerPlugin.html +3 -3
  44. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  45. package/docs/functions/CameraMovementPlugin.html +3 -3
  46. package/docs/functions/CruisePlugin.html +3 -3
  47. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  48. package/docs/functions/GuideLinePlugin.html +3 -3
  49. package/docs/functions/ItemLabelPlugin.html +3 -3
  50. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  51. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  52. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  53. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  54. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  55. package/docs/functions/ModelMakerPlugin.html +3 -3
  56. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  57. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  58. package/docs/functions/ModelViewPlugin.html +3 -3
  59. package/docs/functions/MovePlugin.html +3 -3
  60. package/docs/functions/Object3DHelperPlugin.html +3 -3
  61. package/docs/functions/PanoCompassPlugin.html +3 -3
  62. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  63. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  64. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  65. package/docs/functions/PanoMeasurePlugin.html +3 -3
  66. package/docs/functions/PanoRulerPlugin.html +3 -3
  67. package/docs/functions/PanoRulerProPlugin.html +3 -3
  68. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  69. package/docs/functions/PanoTagPlugin.html +3 -3
  70. package/docs/functions/PanoVideoPlugin.html +3 -3
  71. package/docs/functions/PipelinePlugin.html +3 -3
  72. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  73. package/docs/functions/Util.absoluteUrl.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.requestAnimationFrameInterval.html +3 -3
  88. package/docs/functions/Util.tweenProgress.html +3 -3
  89. package/docs/functions/Util.uuid.html +3 -3
  90. package/docs/functions/pluginFlag.html +3 -3
  91. package/docs/index.html +4 -4
  92. package/docs/interfaces/AddTagConfig.html +3 -3
  93. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  94. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  95. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  96. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  97. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  98. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  101. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  102. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  103. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  104. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  105. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  106. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  107. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  108. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  109. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  110. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  111. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  112. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  113. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  114. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  115. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  116. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  117. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  118. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  119. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  120. package/docs/interfaces/EventMap.html +3 -3
  121. package/docs/interfaces/FloorplanBounding.html +3 -3
  122. package/docs/interfaces/FloorplanData.html +3 -3
  123. package/docs/interfaces/FloorplanEntrance.html +3 -3
  124. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  125. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  126. package/docs/interfaces/FloorplanFloorData.html +3 -3
  127. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  128. package/docs/interfaces/FloorplanObserver.html +3 -3
  129. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  130. package/docs/interfaces/FloorplanPosition.html +3 -3
  131. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  132. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  133. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  134. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  135. package/docs/interfaces/FloorplanServerData.html +3 -3
  136. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  137. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  138. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  139. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  140. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  141. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  142. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  143. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  144. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  145. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  146. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  147. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  148. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  149. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  150. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  151. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  152. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  153. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  154. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  155. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  156. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  162. package/docs/interfaces/HelperOffset.html +3 -3
  163. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  164. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  165. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  166. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  167. package/docs/interfaces/MinMax.html +3 -3
  168. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  169. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  170. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  171. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  172. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  173. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  174. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  175. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  176. package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
  177. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  178. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  179. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  180. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  181. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  182. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  183. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  184. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  185. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  186. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  187. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  188. package/docs/interfaces/Object3DHelperState.html +3 -3
  189. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  190. package/docs/interfaces/PaintBrushAction.html +3 -3
  191. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  192. package/docs/interfaces/PaintBrushState.html +3 -3
  193. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  194. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  195. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  196. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  197. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  198. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  199. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  200. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  201. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  202. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  203. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  204. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  205. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  206. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  207. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  208. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  209. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  210. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  211. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  212. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  213. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  214. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  215. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  216. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  217. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  218. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  219. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  220. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  221. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  222. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  223. package/docs/interfaces/Point.html +3 -3
  224. package/docs/interfaces/Room.html +3 -3
  225. package/docs/interfaces/RoomInfo.html +3 -3
  226. package/docs/interfaces/RoomLabel.html +3 -3
  227. package/docs/interfaces/RoomRules.html +3 -3
  228. package/docs/interfaces/Rooms.html +3 -3
  229. package/docs/interfaces/Scissor.html +3 -3
  230. package/docs/interfaces/State.html +3 -3
  231. package/docs/interfaces/TagCacheInterface.html +3 -3
  232. package/docs/interfaces/TagConfig.html +3 -3
  233. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  234. package/docs/interfaces/TagIconUrl.html +3 -3
  235. package/docs/interfaces/TagObjectGroup.html +3 -3
  236. package/docs/interfaces/TagStyle.html +3 -3
  237. package/docs/interfaces/Tags.html +3 -3
  238. package/docs/interfaces/TemporaryState.html +3 -3
  239. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  240. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  241. package/docs/interfaces/Util.PointIntersection.html +3 -3
  242. package/docs/modules/AreaMakerPluginType.html +3 -3
  243. package/docs/modules/CruisePluginTypes.html +3 -3
  244. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  245. package/docs/modules/GuideLineItem.html +3 -3
  246. package/docs/modules/GuideLineModeItem.html +3 -3
  247. package/docs/modules/GuideLinePluginType.html +3 -3
  248. package/docs/modules/ModelMakerPluginType.html +3 -3
  249. package/docs/modules/PanoVideoPluginType.html +3 -3
  250. package/docs/modules/Util.html +3 -3
  251. package/docs/modules.html +4 -4
  252. package/docs/types/AddObject3DHelperConfig.html +3 -3
  253. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  254. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  255. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  256. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  257. package/docs/types/ArrayPosition.html +3 -3
  258. package/docs/types/AudioAppearance.html +3 -3
  259. package/docs/types/AudioTagTypeConfigKey.html +3 -3
  260. package/docs/types/CSS3DRenderExportType.html +3 -3
  261. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  262. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  263. package/docs/types/ClassFunctionParameters.html +3 -3
  264. package/docs/types/Color.html +3 -3
  265. package/docs/types/ContentTypeConfigKey.html +3 -3
  266. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  267. package/docs/types/ContentTypeMap.html +3 -3
  268. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  269. package/docs/types/Create3DElementReturnType.html +3 -3
  270. package/docs/types/CruisePluginExportType.html +3 -3
  271. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  272. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  273. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  274. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  275. package/docs/types/DeprecatedTagProperty.html +3 -3
  276. package/docs/types/Direction-1.html +3 -3
  277. package/docs/types/Direction4.html +3 -3
  278. package/docs/types/ElementRenderer.html +3 -3
  279. package/docs/types/FloorplanRuleLabels.html +3 -3
  280. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  281. package/docs/types/GuideLinePluginExportType.html +3 -3
  282. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  283. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  284. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  285. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  286. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  287. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  288. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  289. package/docs/types/HelperEventMap.html +3 -3
  290. package/docs/types/InternalHelperEventMap.html +3 -3
  291. package/docs/types/LoadTagConfig.html +3 -3
  292. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  293. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  294. package/docs/types/MediaData.html +3 -3
  295. package/docs/types/MediaStore.html +3 -3
  296. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  297. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  298. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  299. package/docs/types/ModelId.html +3 -3
  300. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  301. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  302. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  303. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  304. package/docs/types/MoveArgs.html +3 -3
  305. package/docs/types/MoveOpts.html +3 -3
  306. package/docs/types/Object3DHelperEventMap.html +3 -3
  307. package/docs/types/ObjectFit.html +3 -3
  308. package/docs/types/PaintBrushEventMap.html +3 -3
  309. package/docs/types/PanoCompassPluginData.html +3 -3
  310. package/docs/types/PanoCompassPluginExportType.html +3 -3
  311. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  312. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  313. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  314. package/docs/types/PanoIndex.html +3 -3
  315. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  316. package/docs/types/PanoMeasureReturnType.html +3 -3
  317. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  318. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  319. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  320. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  321. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  322. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  323. package/docs/types/PipelinePluginParameterType.html +3 -3
  324. package/docs/types/PipelinePluginReturnType.html +3 -3
  325. package/docs/types/PlaneTag.html +3 -3
  326. package/docs/types/Point2DTag.html +3 -3
  327. package/docs/types/Point3DTag.html +3 -3
  328. package/docs/types/PointTag.html +3 -3
  329. package/docs/types/PointTagInstance.html +3 -3
  330. package/docs/types/Position.html +3 -3
  331. package/docs/types/PositionFrom.html +3 -3
  332. package/docs/types/RotateArgs.html +3 -3
  333. package/docs/types/RotateOpts.html +3 -3
  334. package/docs/types/RuleLabelsKey.html +3 -3
  335. package/docs/types/RuleLabelsValue.html +3 -3
  336. package/docs/types/ScaleCallback.html +3 -3
  337. package/docs/types/ScalePosition.html +3 -3
  338. package/docs/types/StickType.html +3 -3
  339. package/docs/types/Tag.html +3 -3
  340. package/docs/types/Tag2D.html +3 -3
  341. package/docs/types/Tag3D.html +3 -3
  342. package/docs/types/TagConfigByKey.html +3 -3
  343. package/docs/types/TagContentType.html +3 -3
  344. package/docs/types/TagContentTypeMapping.html +3 -3
  345. package/docs/types/TagDimensionType.html +3 -3
  346. package/docs/types/TagElement.html +3 -3
  347. package/docs/types/TagEvents.html +3 -3
  348. package/docs/types/TagGLTFObject.html +3 -3
  349. package/docs/types/TagHooks.html +3 -3
  350. package/docs/types/TagId.html +3 -3
  351. package/docs/types/TagInstance.html +3 -3
  352. package/docs/types/TagPointType.html +3 -3
  353. package/docs/types/TagRendererMap.html +3 -3
  354. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  355. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  356. package/docs/types/WorkCode.html +3 -3
  357. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  358. package/docs/variables/PLUGIN.html +3 -3
  359. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  360. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  361. package/docs/variables/defaultGlobalConfig.html +3 -3
  362. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  363. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  364. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  365. package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
  366. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +6 -0
  367. package/libs/PanoTagPlugin/controller/TagUtil.js +160 -145
  368. package/libs/PanoTagPlugin/controller/index.js +108 -110
  369. package/libs/PanoTagPlugin/utils/tag/format.d.ts +4 -2
  370. package/libs/base/BasePlugin.js +1 -1
  371. package/libs/shared-utils/five/FiveDomEvents.js +4 -1
  372. package/libs/shared-utils/logger.js +1 -1
  373. package/package.json +1 -1
@@ -1,53 +1,53 @@
1
- var R = Object.defineProperty, k = Object.defineProperties;
2
- var B = Object.getOwnPropertyDescriptors;
3
- var P = Object.getOwnPropertySymbols;
4
- var F = Object.prototype.hasOwnProperty, M = Object.prototype.propertyIsEnumerable;
5
- var u = (d, a, e) => a in d ? R(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, m = (d, a) => {
1
+ var E = Object.defineProperty, I = Object.defineProperties;
2
+ var R = Object.getOwnPropertyDescriptors;
3
+ var A = Object.getOwnPropertySymbols;
4
+ var B = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
5
+ var u = (d, a, e) => a in d ? E(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, g = (d, a) => {
6
6
  for (var e in a || (a = {}))
7
- F.call(a, e) && u(d, e, a[e]);
8
- if (P)
9
- for (var e of P(a))
10
- M.call(a, e) && u(d, e, a[e]);
7
+ B.call(a, e) && u(d, e, a[e]);
8
+ if (A)
9
+ for (var e of A(a))
10
+ F.call(a, e) && u(d, e, a[e]);
11
11
  return d;
12
- }, v = (d, a) => k(d, B(a));
12
+ }, v = (d, a) => I(d, R(a));
13
13
  var l = (d, a, e) => (u(d, typeof a != "symbol" ? a + "" : a, e), e);
14
14
  var c = (d, a, e) => new Promise((t, i) => {
15
- var o = (r) => {
15
+ var s = (r) => {
16
16
  try {
17
17
  n(e.next(r));
18
18
  } catch (h) {
19
19
  i(h);
20
20
  }
21
- }, s = (r) => {
21
+ }, o = (r) => {
22
22
  try {
23
23
  n(e.throw(r));
24
24
  } catch (h) {
25
25
  i(h);
26
26
  }
27
- }, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(o, s);
27
+ }, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(s, o);
28
28
  n((e = e.apply(d, a)).next());
29
29
  });
30
30
  import * as b from "three";
31
- import { Subscribe as O } from "@realsee/five";
31
+ import { Subscribe as M } from "@realsee/five";
32
32
  import { objectAssignDeepExports as f } from "../../vendor/object-assign-deep/objectAssignDeep.js";
33
- import { addDebugPoints as V } from "../utils/addDebugPoints.js";
34
- import { arrayPositionToVector3 as S } from "../../shared-utils/positionToVector3.js";
35
- import { isMediaModelTag as _, isModelTag as L } from "../utils/tag/tagCheck.js";
36
- import { debounce as N } from "../utils/debounce.js";
37
- import { throttle as w } from "../utils/throttle.js";
38
- import G from "../utils/tag/format.js";
39
- import { generateBlankAudio as z, AudioNamespace as x } from "../../shared-utils/audio.js";
40
- import { resizeObserver as U } from "../../shared-utils/dom/resizeObserver.js";
41
- import { TagRender as $ } from "./TagRender.js";
42
- import { uuid as W } from "../../shared-utils/uuid.js";
43
- import { isModelLike as J } from "../../shared-utils/five/mode.js";
33
+ import { addDebugPoints as O } from "../utils/addDebugPoints.js";
34
+ import { arrayPositionToVector3 as D } from "../../shared-utils/positionToVector3.js";
35
+ import { isMediaModelTag as V, isModelTag as _ } from "../utils/tag/tagCheck.js";
36
+ import { debounce as k } from "../utils/debounce.js";
37
+ import { throttle as P } from "../utils/throttle.js";
38
+ import L from "../utils/tag/format.js";
39
+ import { generateBlankAudio as N, AudioNamespace as G } from "../../shared-utils/audio.js";
40
+ import { resizeObserver as S } from "../../shared-utils/dom/resizeObserver.js";
41
+ import { TagRender as z } from "./TagRender.js";
42
+ import { uuid as x } from "../../shared-utils/uuid.js";
43
+ import { isModelLike as W } from "../../shared-utils/five/mode.js";
44
44
  import "hammerjs";
45
45
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
46
46
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
47
47
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
48
- import { tweenProgress as j } from "../../shared-utils/animationFrame/BetterTween.js";
49
- import { waitFiveModelLoaded as q } from "../../shared-utils/five/fiveModelLoad.js";
50
- import { DebugUtil as H } from "../utils/DebugUtil.js";
48
+ import { tweenProgress as $ } from "../../shared-utils/animationFrame/BetterTween.js";
49
+ import { waitFiveModelLoaded as J } from "../../shared-utils/five/fiveModelLoad.js";
50
+ import { DebugUtil as j } from "../utils/DebugUtil.js";
51
51
  import "./TagComputer.js";
52
52
  import "../utils/tagPosition.js";
53
53
  import "../../shared-utils/three/centerPoint.js";
@@ -172,8 +172,8 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
172
172
  import "../../shared-utils/three/GLTFLoader.js";
173
173
  import "@realsee/five/gltf-loader";
174
174
  import "../../shared-utils/animationFrame/index.js";
175
- const E = "Dnalogel-PanoTagPlugin", Mi = (d) => `${E}--${d}`;
176
- class Oi extends $ {
175
+ const w = "Dnalogel-PanoTagPlugin", Fi = (d) => `${w}--${d}`;
176
+ class Mi extends z {
177
177
  constructor(e, t) {
178
178
  super(e);
179
179
  /** state */
@@ -182,13 +182,13 @@ class Oi extends $ {
182
182
  l(this, "params");
183
183
  /** debug */
184
184
  l(this, "debug");
185
- l(this, "debugUtil", new H(this));
185
+ l(this, "debugUtil", new j(this));
186
186
  /** 更改 tag 模型 */
187
187
  l(this, "changeTagModel", (e, t) => c(this, null, function* () {
188
188
  e.data = f({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
189
189
  }));
190
190
  l(this, "whyHide", (e) => {
191
- var i, o, s;
191
+ var i, s, o;
192
192
  if (!this.state.enabled)
193
193
  return { reason: `plugin.state.enabled is ${this.state.enabled}` };
194
194
  if (!this.state.visible)
@@ -201,22 +201,22 @@ class Oi extends $ {
201
201
  if (t.stickType === "Model" || t.stickType === "Plane")
202
202
  return { reason: "maybe blocked by the five model" };
203
203
  if (!t.state.visible) {
204
- const n = (o = (i = this.getPanoIndexCache({ panoIndex: this.five.panoIndex, id: e })) == null ? void 0 : i.__debug_visible_reason__) == null ? void 0 : o.reason;
205
- return { reason: (s = n == null ? void 0 : n.type) != null ? s : n, reasonObj: n };
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
206
  }
207
207
  return { reason: "check your eyes" };
208
208
  });
209
209
  l(this, "updateVisible", () => {
210
210
  const e = this.five.getCurrentState().mode;
211
211
  this.tags.forEach((t) => {
212
- _(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
212
+ V(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
213
213
  }), this.setVisible(), this.updateRenderAllTags();
214
214
  });
215
215
  l(this, "handleFiveWantsMoveToPano", (e) => {
216
216
  this.tags.forEach((t) => {
217
217
  this.getVisible(t, { panoIndex: e }) && (t.state.visible = !0);
218
- const o = this.getTagConfig(t);
219
- typeof o.visibleConfig == "object" && t.temporaryState && (o.visibleConfig.keep ? t.temporaryState.visible = o.visibleConfig.keep === "visible" : t.temporaryState.visible = !!o.visibleConfig.alwaysShowWhenMovePano);
218
+ const s = this.getTagConfig(t);
219
+ typeof s.visibleConfig == "object" && t.temporaryState && (s.visibleConfig.keep ? t.temporaryState.visible = s.visibleConfig.keep === "visible" : t.temporaryState.visible = !!s.visibleConfig.alwaysShowWhenMovePano);
220
220
  }), this.updateTagContainerVisible(), this.updateRenderImagePlane(), this.updateRenderVideoPlane();
221
221
  });
222
222
  /**
@@ -239,8 +239,8 @@ class Oi extends $ {
239
239
  if (!e.tag.state)
240
240
  return console.warn("Clickhandler: params.tag.state is undefined");
241
241
  const t = this.can("fold", e.tag), i = this.can("unfold", e.tag);
242
- t && i && (e.tag.state.unfolded = !e.tag.state.unfolded, e.tag.state.unfolded && this.tags.forEach((o) => {
243
- o.id !== e.tag.id && o.state && this.can("fold", o) && (o.state.unfolded = !1);
242
+ t && i && (e.tag.state.unfolded = !e.tag.state.unfolded, e.tag.state.unfolded && this.tags.forEach((s) => {
243
+ s.id !== e.tag.id && s.state && this.can("fold", s) && (s.state.unfolded = !1);
244
244
  }), this.updateRenderAllTags());
245
245
  });
246
246
  l(this, "handleFiveCameraUpdate", () => {
@@ -248,8 +248,8 @@ class Oi extends $ {
248
248
  });
249
249
  l(this, "handleFivePanoArrived", () => c(this, null, function* () {
250
250
  this.setVisible(), this.updatePointTagPosition(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
251
- e.temporaryState = v(m({}, e.temporaryState), { visible: !0 });
252
- }), this.tags.filter(L).filter((e) => {
251
+ e.temporaryState = v(g({}, e.temporaryState), { visible: !0 });
252
+ }), this.tags.filter(_).filter((e) => {
253
253
  var t;
254
254
  return (t = this.getTagConfig(e).modelConfig) == null ? void 0 : t.autoLookAtEnabled;
255
255
  }).forEach((e) => {
@@ -258,11 +258,11 @@ class Oi extends $ {
258
258
  if (!i)
259
259
  return;
260
260
  t.position.copy(i.position), t.quaternion.copy(i.quaternion);
261
- const o = this.five.camera.position;
262
- t.lookAt(o.clone().setY(t.position.y));
263
- const s = i.quaternion.clone(), n = t.quaternion.clone(), r = j();
261
+ const s = this.five.camera.position;
262
+ t.lookAt(s.clone().setY(t.position.y));
263
+ const o = i.quaternion.clone(), n = t.quaternion.clone(), r = $();
264
264
  r.onUpdate(({ progress: p }) => {
265
- i.quaternion.copy(s.clone().slerp(n, p));
265
+ i.quaternion.copy(o.clone().slerp(n, p));
266
266
  }), r.play();
267
267
  }), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible(), this.updateRenderAllTags();
268
268
  }));
@@ -271,9 +271,9 @@ class Oi extends $ {
271
271
  this.setVisible(), this.updateRenderAllTags();
272
272
  });
273
273
  l(this, "onFiveEveryReady", () => {
274
- this.setUnfoldedByCamera(), J(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 }), this.updateRenderVideoPlane(), this.updateRenderImagePlane(), this.updateTagModelVisible();
274
+ this.setUnfoldedByCamera(), W(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 }), this.updateRenderVideoPlane(), this.updateRenderImagePlane(), this.updateTagModelVisible();
275
275
  });
276
- this.params = f({}, { debug: !1, config: this.config }, m({}, t)), this.debug = this.params.debug, this.config = this.params.config, z(1, { namespace: x.PlayAudio });
276
+ this.params = f({}, { debug: !1, config: this.config }, g({}, t)), this.debug = this.params.debug, this.config = this.params.config, N(1, { namespace: G.PlayAudio });
277
277
  try {
278
278
  const i = window;
279
279
  Array.isArray(i.__PANOTAGPLUGIN_DEBUG_LIST__) || (i.__PANOTAGPLUGIN_DEBUG_LIST__ = []), i.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), i.__PANOTAGPLUGIN_DEBUG__ = this;
@@ -285,15 +285,15 @@ class Oi extends $ {
285
285
  */
286
286
  load(e, t) {
287
287
  return c(this, null, function* () {
288
- var o, s;
289
- this.clearTags(), console.debug(E, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = f({}, this.config, {
290
- globalConfig: (o = e.globalConfig) != null ? o : {},
291
- contentTypeConfig: (s = e.contentTypeConfig) != null ? s : {}
288
+ var s, o;
289
+ this.clearTags(), console.debug(w, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = f({}, this.config, {
290
+ globalConfig: (s = e.globalConfig) != null ? s : {},
291
+ contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
292
292
  }), this.store.visibleWithAnimation = !0;
293
293
  const i = yield this.addTag(e.tagList, t);
294
294
  if (this.store.visibleWithAnimation = void 0, this.debug)
295
295
  try {
296
- V(this.five, this.tags);
296
+ O(this.five, this.tags);
297
297
  } catch (n) {
298
298
  console.error(n);
299
299
  }
@@ -305,41 +305,39 @@ class Oi extends $ {
305
305
  */
306
306
  addTag(e, t) {
307
307
  return c(this, null, function* () {
308
- const o = (Array.isArray(e) ? e : [e]).filter((s) => s.position).map((s) => {
309
- var T, y, C, A, D;
310
- const n = JSON.parse(JSON.stringify(s.data)), r = s.config ? JSON.parse(JSON.stringify(s.config)) : {};
311
- s.initialConfig = r;
312
- const h = this.calculateTagConfig(s), p = this.getTagConfig(s);
313
- return s.config = p, v(m({}, s), {
314
- contentType: (T = s.contentType) != null ? T : s.type,
315
- stickType: (y = s.stickType) != null ? y : "2DPoint",
316
- enabled: (C = s.enabled) != null ? C : !0,
317
- id: (A = s.id) != null ? A : W(),
318
- data: (D = p.initialData) != null && D.important ? f(s.data, n, p.initialData) : f(s.data, p.initialData, n),
319
- state: m({
308
+ const s = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
309
+ var T, y, C;
310
+ const n = JSON.parse(JSON.stringify(o.data)), r = o.config ? JSON.parse(JSON.stringify(o.config)) : {};
311
+ o.initialConfig = r;
312
+ const h = this.calculateTagConfig(o), p = this.getTagConfig(o);
313
+ return o.config = p, v(g({}, o), {
314
+ enabled: (T = o.enabled) != null ? T : !0,
315
+ id: (y = o.id) != null ? y : x(),
316
+ data: (C = p.initialData) != null && C.important ? f(o.data, n, p.initialData) : f(o.data, p.initialData, n),
317
+ state: g({
320
318
  visible: void 0,
321
- unfolded: !this.can("fold", s)
319
+ unfolded: !this.can("fold", o)
322
320
  }, p.initialState),
323
- hooks: new O(),
324
- originPosition: s.position,
321
+ hooks: new M(),
322
+ originPosition: o.position,
325
323
  position: (() => {
326
- const g = this.getTransformedPostion(s.position);
327
- return Array.isArray(g) ? g.map((I) => I.toArray()) : g.toArray();
324
+ const m = this.getTransformedPostion(o.position);
325
+ return Array.isArray(m) ? m.map((U) => U.toArray()) : m.toArray();
328
326
  })(),
329
327
  initialConfig: r,
330
328
  computedConfig: h,
331
329
  config: p,
332
- unfold: () => this.changeUnfoldedById(s.id, !0),
333
- fold: () => this.changeUnfoldedById(s.id, !1),
334
- enable: () => this.changeEnabledById(s.id, !0),
335
- disable: () => this.changeEnabledById(s.id, !1),
336
- destroy: () => this.destroyTagById(s.id),
337
- changeData: (g) => this.changeDataById(s.id, g)
330
+ unfold: () => this.changeUnfoldedById(o.id, !0),
331
+ fold: () => this.changeUnfoldedById(o.id, !1),
332
+ enable: () => this.changeEnabledById(o.id, !0),
333
+ disable: () => this.changeEnabledById(o.id, !1),
334
+ destroy: () => this.destroyTagById(o.id),
335
+ changeData: (m) => this.changeDataById(o.id, m)
338
336
  });
339
337
  });
340
- return o.forEach(G), this.tags.push(...o), q(this.five).then(() => c(this, null, function* () {
341
- var s, n, r;
342
- this.store.eventListenerDisposer && ((n = (s = this.store).eventListenerDisposer) == null || n.call(s)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(o), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 }), this.updatePointTagPosition(), this.updateRenderAllTags();
338
+ return s.forEach(L), this.tags.push(...s), this.tagsLengthWillUpdate = !0, J(this.five).then(() => c(this, null, function* () {
339
+ var o, n, r;
340
+ 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();
343
341
  }));
344
342
  });
345
343
  }
@@ -392,26 +390,26 @@ class Oi extends $ {
392
390
  setState(e, t) {
393
391
  if (this.checkDisposed())
394
392
  return;
395
- const { userAction: i = !0, visibleWithAnimation: o = !1 } = t != null ? t : {}, s = m({}, this.state);
396
- this.state = Object.assign(this.state, e), this.store.visibleWithAnimation = o, s.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), s.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
393
+ const { userAction: i = !0, visibleWithAnimation: s = !1 } = t != null ? t : {}, o = g({}, this.state);
394
+ 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 });
397
395
  }
398
396
  /**
399
397
  * @description: 销毁
400
398
  */
401
399
  dispose() {
402
- var e, t, i, o, s, n;
400
+ var e, t, i, s, o, n;
403
401
  this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
404
402
  var h;
405
403
  return (h = r.tag3DContentSvelte) == null ? void 0 : h.svelteApp.$destroy();
406
- }), this.tags = [], (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (o = (i = this.store).eventListenerDisposer) == null || o.call(i), this.store.eventListenerDisposer = void 0, (n = (s = this.store).resizeObserverDisposer) == null || n.call(s), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.clearCache(), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
404
+ }), 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
405
  }
408
406
  changeUnfoldedById(e, t) {
409
407
  var n;
410
408
  const i = this.getTagById(e);
411
409
  if (!i)
412
410
  return;
413
- const o = this.can("fold", i), s = this.can("unfold", i);
414
- if (o && s) {
411
+ const s = this.can("fold", i), o = this.can("unfold", i);
412
+ if (s && o) {
415
413
  i.state.unfolded = t;
416
414
  const r = this.filterPointTag;
417
415
  (n = this.TagContainerSvelte) == null || n.$set({ tags: r });
@@ -427,15 +425,15 @@ class Oi extends $ {
427
425
  */
428
426
  changeTagNormalById(e, t) {
429
427
  const i = this.getTagById(e);
430
- i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = S(t));
428
+ i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = D(t));
431
429
  }
432
430
  /**
433
431
  * @description: 改变data
434
432
  */
435
433
  changeDataById(e, t, i = !0) {
436
- const o = this.getTagById(e);
437
- let s = !1;
438
- o && (o.data && (s = !0), i ? o.data = f(o.data, t) : o.data = m(m({}, o.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), s && o.hooks.emit("dataChanged", o.data));
434
+ const s = this.getTagById(e);
435
+ let o = !1;
436
+ s && (s.data && (o = !0), i ? s.data = f(s.data, t) : s.data = g(g({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
439
437
  }
440
438
  /**
441
439
  * @description: 改变tag的stickType
@@ -447,17 +445,17 @@ class Oi extends $ {
447
445
  * @description: 改变tag任意属性
448
446
  */
449
447
  changeTagById(e, t, i = !0) {
450
- const o = this.getTagById(e);
451
- let s = !1;
452
- t && (t.data && (s = !0), i ? f(o, t) : Object.assign(o, t), o != null && o.tag3DContentSvelte && (t != null && t.normal) && (o.tag3DContentSvelte.currentNormal = S(t.normal)), this.setVisible(), this.updateRenderAllTags(), this.clearUnusedPanelTag(), s && o.hooks.emit("dataChanged", o.data));
448
+ const s = this.getTagById(e);
449
+ let o = !1;
450
+ t && (this.tagsLengthWillUpdate = !0, t.data && (o = !0), i ? f(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = D(t.normal)), this.setVisible(), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
453
451
  }
454
452
  /**
455
453
  * @description: 销毁tag
456
454
  */
457
455
  destroyTagById(e) {
458
456
  (Array.isArray(e) ? e : [e]).forEach((i) => {
459
- const o = this.tags.findIndex((s) => s.id === i);
460
- o !== -1 && this.tags.splice(o, 1);
457
+ const s = this.tags.findIndex((o) => o.id === i);
458
+ s !== -1 && this.tags.splice(s, 1);
461
459
  }), this.updateRenderAllTags();
462
460
  }
463
461
  /**
@@ -486,9 +484,9 @@ class Oi extends $ {
486
484
  }
487
485
  handleDisable() {
488
486
  var e, t, i;
489
- this.pauseCurrentMedia(), this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), this.five.scene.remove(this.group), (i = this.TagContainerSvelte) == null || i.$set({ tags: [] }), this.filterCSS3DTag.forEach((o) => {
490
- var s;
491
- (s = o.tag3DContentSvelte) == null || s.dispose(), o.tag3DContentSvelte = void 0;
487
+ this.pauseCurrentMedia(), this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), this.five.scene.remove(this.group), (i = this.TagContainerSvelte) == null || i.$set({ tags: [] }), this.filterCSS3DTag.forEach((s) => {
488
+ var o;
489
+ (o = s.tag3DContentSvelte) == null || o.dispose(), s.tag3DContentSvelte = void 0;
492
490
  }), this.five.needsRender = !0;
493
491
  }
494
492
  /**
@@ -497,13 +495,13 @@ class Oi extends $ {
497
495
  addEventListener() {
498
496
  const { five: e, hooks: t } = this;
499
497
  let i = !1;
500
- const o = w(() => {
498
+ const s = P(() => {
501
499
  i || (i = !0, e.ready().then(() => {
502
500
  this.onFiveEveryReady(), i = !1;
503
501
  }));
504
502
  }, 150);
505
- return e.on("cameraUpdate", o), this.updateVisible(), this.handleFivePanoArrived(), e.on("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.on("modeChange", this.updateVisible), e.on("initAnimationEnded", this.updateVisible), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", this.handleFiveCameraUpdate), e.on("panoArrived", this.handleFivePanoArrived), e.on("panoArrived", this.loadVideoFirstFrame), t.on("click", this.clickhandler), () => {
506
- e.off("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.off("modeChange", this.updateVisible), e.off("initAnimationEnded", this.updateVisible), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", this.handleFiveCameraUpdate), e.off("cameraUpdate", o), e.off("panoArrived", this.handleFivePanoArrived), e.off("panoArrived", this.loadVideoFirstFrame), t.off("click", this.clickhandler), this.store.eventListenerDisposer = void 0;
503
+ return e.on("cameraUpdate", s), this.updateVisible(), this.handleFivePanoArrived(), e.on("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.on("modeChange", this.updateVisible), e.on("initAnimationEnded", this.updateVisible), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", this.handleFiveCameraUpdate), e.on("panoArrived", this.handleFivePanoArrived), e.on("panoArrived", this.loadVideoFirstFrame), t.on("click", this.clickhandler), () => {
504
+ e.off("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.off("modeChange", this.updateVisible), e.off("initAnimationEnded", this.updateVisible), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", this.handleFiveCameraUpdate), e.off("cameraUpdate", s), e.off("panoArrived", this.handleFivePanoArrived), e.off("panoArrived", this.loadVideoFirstFrame), t.off("click", this.clickhandler), this.store.eventListenerDisposer = void 0;
507
505
  };
508
506
  }
509
507
  addResizeListener() {
@@ -521,17 +519,17 @@ class Oi extends $ {
521
519
  this.state.enabled && (this.show(), this.updateRenderAllTags());
522
520
  }, i = () => {
523
521
  this.state.enabled && this.hide();
524
- }, { observe: o, unobserve: s } = U(
525
- w(() => {
522
+ }, { observe: s, unobserve: o } = S(
523
+ P(() => {
526
524
  this.store.resizeObserverDisposer && i();
527
525
  }, 500),
528
526
  e
529
- ), { observe: n, unobserve: r } = U(
530
- N(() => t(), 400),
527
+ ), { observe: n, unobserve: r } = S(
528
+ k(() => t(), 400),
531
529
  e
532
530
  );
533
- return o(), n(), () => {
534
- s(), r();
531
+ return s(), n(), () => {
532
+ o(), r();
535
533
  };
536
534
  }
537
535
  setUnfoldedByCamera() {
@@ -545,12 +543,12 @@ class Oi extends $ {
545
543
  });
546
544
  }
547
545
  changeTagMode(e, t) {
548
- var i, o, s, n, r, h;
549
- ((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (s = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : s.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((p) => p == null ? void 0 : p()), e.tag3DContentSvelte = void 0);
546
+ var i, s, o, n, r, h;
547
+ ((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((p) => p == null ? void 0 : p()), e.tag3DContentSvelte = void 0);
550
548
  }
551
549
  }
552
550
  export {
553
- Oi as PanoTagPluginController,
554
- Oi as default,
555
- Mi as pluginFlag
551
+ Mi as PanoTagPluginController,
552
+ Mi as default,
553
+ Fi as pluginFlag
556
554
  };
@@ -1,2 +1,4 @@
1
- import type { Tag } from '../../typings';
2
- export default function formatTag<T extends Tag>(tag: T): T;
1
+ import type { StickType, Tag } from '../../typings';
2
+ export default function formatTag<T extends Tag>(tag: T): tag is T & {
3
+ stickType: StickType;
4
+ };
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.23.3");
17
+ i(this, "VERSION", "3.24.0");
18
18
  i(this, "five");
19
19
  /**
20
20
  * @description: 插件事件钩子
@@ -170,7 +170,10 @@ class I {
170
170
  var r, l;
171
171
  if (!e._domEvent || !e._domEvent[`${t}Handler`])
172
172
  return;
173
- n === void 0 && delete e._domEvent[`${t}Handler`];
173
+ if (n === void 0) {
174
+ delete e._domEvent[`${t}Handler`];
175
+ return;
176
+ }
174
177
  const o = e._domEvent[`${t}Handler`].findIndex((u) => u[0] === n);
175
178
  if (o !== -1 && (e._domEvent[`${t}Handler`].splice(o, 1), e._domEvent[`${t}Handler`].length === 0 && delete e._domEvent[`${t}Handler`], e._domEvent && Object.keys(e._domEvent).length === 0 && delete e._domEvent, !e._domEvent)) {
176
179
  const u = (r = this.boundObject[t]) == null ? void 0 : r.findIndex((a) => a === e);
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.23.3",
3
+ "%c %c@realsee/dnalogel %cv3.24.0",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.23.3",
3
+ "version": "3.24.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",