@realsee/dnalogel 3.23.1 → 3.23.3

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 (385) hide show
  1. package/dist/ModelMakerPlugin/Controller.d.ts +3 -0
  2. package/dist/ModelMakerPlugin/item/baseItem.d.ts +2 -2
  3. package/dist/ModelMakerPlugin/utils/getFiveDomEvent.d.ts +3 -0
  4. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +11 -4
  5. package/dist/index.cjs.js +43 -43
  6. package/dist/index.js +1447 -1448
  7. package/dist/index.umd.js +36 -36
  8. package/docs/assets/search.js +1 -1
  9. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  10. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  11. package/docs/classes/CSS3DRender.html +3 -3
  12. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  13. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  14. package/docs/classes/ModelMakerPluginType.ModelMakerController.html +30 -15
  15. package/docs/classes/ModelRoomLabelController.html +3 -3
  16. package/docs/classes/MoveController.html +3 -3
  17. package/docs/classes/Object3DHelperController.html +3 -3
  18. package/docs/classes/PaintBrush.html +3 -3
  19. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  20. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  21. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  22. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  23. package/docs/classes/PanoTagPluginController.html +28 -28
  24. package/docs/classes/Sculpt.html +3 -3
  25. package/docs/classes/Util.BetterTween.html +3 -3
  26. package/docs/classes/Util.Interval.html +3 -3
  27. package/docs/classes/Util.LineSegments.html +3 -3
  28. package/docs/classes/Util.Magnifier.html +3 -3
  29. package/docs/classes/Util.Object3D.html +3 -3
  30. package/docs/classes/Util.PointDomHelper.html +3 -3
  31. package/docs/classes/Util.PointHelper.html +3 -3
  32. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  33. package/docs/classes/Util.Rectangle.html +3 -3
  34. package/docs/classes/WalkController.html +3 -3
  35. package/docs/enums/CameraMovementEffect.html +3 -3
  36. package/docs/enums/ContentType.html +3 -3
  37. package/docs/enums/DIRECTION.html +3 -3
  38. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  39. package/docs/enums/DimensionType.html +3 -3
  40. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  41. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  42. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  43. package/docs/enums/PointType.html +3 -3
  44. package/docs/enums/Rotation.html +3 -3
  45. package/docs/functions/AreaMakerPlugin.html +3 -3
  46. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  47. package/docs/functions/CameraMovementPlugin.html +3 -3
  48. package/docs/functions/CruisePlugin.html +3 -3
  49. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  50. package/docs/functions/GuideLinePlugin.html +3 -3
  51. package/docs/functions/ItemLabelPlugin.html +3 -3
  52. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  53. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  54. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  55. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  56. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  57. package/docs/functions/ModelMakerPlugin.html +3 -3
  58. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  59. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  60. package/docs/functions/ModelViewPlugin.html +3 -3
  61. package/docs/functions/MovePlugin.html +3 -3
  62. package/docs/functions/Object3DHelperPlugin.html +3 -3
  63. package/docs/functions/PanoCompassPlugin.html +3 -3
  64. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  65. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  66. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  67. package/docs/functions/PanoMeasurePlugin.html +3 -3
  68. package/docs/functions/PanoRulerPlugin.html +3 -3
  69. package/docs/functions/PanoRulerProPlugin.html +3 -3
  70. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  71. package/docs/functions/PanoTagPlugin.html +3 -3
  72. package/docs/functions/PanoVideoPlugin.html +3 -3
  73. package/docs/functions/PipelinePlugin.html +3 -3
  74. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  75. package/docs/functions/Util.absoluteUrl.html +3 -3
  76. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  77. package/docs/functions/Util.equal.html +3 -3
  78. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  79. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  80. package/docs/functions/Util.getFrameTime.html +3 -3
  81. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  82. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  83. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  84. package/docs/functions/Util.isModelLike.html +3 -3
  85. package/docs/functions/Util.isNil.html +3 -3
  86. package/docs/functions/Util.isPanoramaLike.html +3 -3
  87. package/docs/functions/Util.nextFrame.html +3 -3
  88. package/docs/functions/Util.notNil.html +3 -3
  89. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  90. package/docs/functions/Util.tweenProgress.html +3 -3
  91. package/docs/functions/Util.uuid.html +3 -3
  92. package/docs/functions/pluginFlag.html +3 -3
  93. package/docs/index.html +4 -4
  94. package/docs/interfaces/AddTagConfig.html +3 -3
  95. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  96. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  97. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  98. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  101. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  102. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  103. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  104. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  105. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  106. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  107. package/docs/interfaces/CameraMovementPluginExportType.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.MoveAction.html +3 -3
  112. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  113. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  114. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  115. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  116. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  117. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  118. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  119. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  120. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  121. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  122. package/docs/interfaces/EventMap.html +3 -3
  123. package/docs/interfaces/FloorplanBounding.html +3 -3
  124. package/docs/interfaces/FloorplanData.html +3 -3
  125. package/docs/interfaces/FloorplanEntrance.html +3 -3
  126. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  127. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  128. package/docs/interfaces/FloorplanFloorData.html +3 -3
  129. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  130. package/docs/interfaces/FloorplanObserver.html +3 -3
  131. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  132. package/docs/interfaces/FloorplanPosition.html +3 -3
  133. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  134. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  135. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  136. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  137. package/docs/interfaces/FloorplanServerData.html +3 -3
  138. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  139. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  140. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  141. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  142. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  143. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  144. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  145. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  146. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  147. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  148. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  149. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  150. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  151. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  152. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  153. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  154. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  155. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  156. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  163. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  164. package/docs/interfaces/HelperOffset.html +3 -3
  165. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  166. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  167. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  168. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  169. package/docs/interfaces/MinMax.html +3 -3
  170. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  171. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  172. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  173. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  174. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  175. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  176. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  177. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  178. package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
  179. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  180. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  181. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  182. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  183. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  184. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  185. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  186. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  187. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  188. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  189. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  190. package/docs/interfaces/Object3DHelperState.html +3 -3
  191. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  192. package/docs/interfaces/PaintBrushAction.html +3 -3
  193. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  194. package/docs/interfaces/PaintBrushState.html +3 -3
  195. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  196. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  197. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  198. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  199. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  200. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  201. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  202. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  203. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  204. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  205. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  206. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  207. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  208. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  209. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  210. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  211. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  212. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  213. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  214. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  215. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  216. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  217. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  218. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  219. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  220. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  221. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  222. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  223. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  224. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  225. package/docs/interfaces/Point.html +3 -3
  226. package/docs/interfaces/Room.html +3 -3
  227. package/docs/interfaces/RoomInfo.html +3 -3
  228. package/docs/interfaces/RoomLabel.html +3 -3
  229. package/docs/interfaces/RoomRules.html +3 -3
  230. package/docs/interfaces/Rooms.html +3 -3
  231. package/docs/interfaces/Scissor.html +3 -3
  232. package/docs/interfaces/State.html +3 -3
  233. package/docs/interfaces/TagCacheInterface.html +3 -3
  234. package/docs/interfaces/TagConfig.html +3 -3
  235. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  236. package/docs/interfaces/TagIconUrl.html +3 -3
  237. package/docs/interfaces/TagObjectGroup.html +3 -3
  238. package/docs/interfaces/TagStyle.html +3 -3
  239. package/docs/interfaces/Tags.html +3 -3
  240. package/docs/interfaces/TemporaryState.html +3 -3
  241. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  242. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  243. package/docs/interfaces/Util.PointIntersection.html +3 -3
  244. package/docs/modules/AreaMakerPluginType.html +3 -3
  245. package/docs/modules/CruisePluginTypes.html +3 -3
  246. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  247. package/docs/modules/GuideLineItem.html +3 -3
  248. package/docs/modules/GuideLineModeItem.html +3 -3
  249. package/docs/modules/GuideLinePluginType.html +3 -3
  250. package/docs/modules/ModelMakerPluginType.html +3 -3
  251. package/docs/modules/PanoVideoPluginType.html +3 -3
  252. package/docs/modules/Util.html +3 -3
  253. package/docs/modules.html +4 -4
  254. package/docs/types/AddObject3DHelperConfig.html +3 -3
  255. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  256. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  257. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  258. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  259. package/docs/types/ArrayPosition.html +3 -3
  260. package/docs/types/AudioAppearance.html +3 -3
  261. package/docs/types/AudioTagTypeConfigKey.html +3 -3
  262. package/docs/types/CSS3DRenderExportType.html +3 -3
  263. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  264. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  265. package/docs/types/ClassFunctionParameters.html +3 -3
  266. package/docs/types/Color.html +3 -3
  267. package/docs/types/ContentTypeConfigKey.html +3 -3
  268. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  269. package/docs/types/ContentTypeMap.html +3 -3
  270. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  271. package/docs/types/Create3DElementReturnType.html +3 -3
  272. package/docs/types/CruisePluginExportType.html +3 -3
  273. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  274. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  275. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  276. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  277. package/docs/types/DeprecatedTagProperty.html +3 -3
  278. package/docs/types/Direction-1.html +3 -3
  279. package/docs/types/Direction4.html +3 -3
  280. package/docs/types/ElementRenderer.html +3 -3
  281. package/docs/types/FloorplanRuleLabels.html +3 -3
  282. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  283. package/docs/types/GuideLinePluginExportType.html +3 -3
  284. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  285. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  286. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  287. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  288. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  289. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  290. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  291. package/docs/types/HelperEventMap.html +3 -3
  292. package/docs/types/InternalHelperEventMap.html +3 -3
  293. package/docs/types/LoadTagConfig.html +3 -3
  294. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  295. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  296. package/docs/types/MediaData.html +3 -3
  297. package/docs/types/MediaStore.html +3 -3
  298. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  299. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  300. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  301. package/docs/types/ModelId.html +3 -3
  302. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  303. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  304. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  305. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  306. package/docs/types/MoveArgs.html +3 -3
  307. package/docs/types/MoveOpts.html +3 -3
  308. package/docs/types/Object3DHelperEventMap.html +3 -3
  309. package/docs/types/ObjectFit.html +3 -3
  310. package/docs/types/PaintBrushEventMap.html +3 -3
  311. package/docs/types/PanoCompassPluginData.html +3 -3
  312. package/docs/types/PanoCompassPluginExportType.html +3 -3
  313. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  314. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  315. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  316. package/docs/types/PanoIndex.html +3 -3
  317. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  318. package/docs/types/PanoMeasureReturnType.html +3 -3
  319. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  320. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  321. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  322. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  323. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  324. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  325. package/docs/types/PipelinePluginParameterType.html +3 -3
  326. package/docs/types/PipelinePluginReturnType.html +3 -3
  327. package/docs/types/PlaneTag.html +3 -3
  328. package/docs/types/Point2DTag.html +3 -3
  329. package/docs/types/Point3DTag.html +3 -3
  330. package/docs/types/PointTag.html +3 -3
  331. package/docs/types/PointTagInstance.html +3 -3
  332. package/docs/types/Position.html +3 -3
  333. package/docs/types/PositionFrom.html +3 -3
  334. package/docs/types/RotateArgs.html +3 -3
  335. package/docs/types/RotateOpts.html +3 -3
  336. package/docs/types/RuleLabelsKey.html +3 -3
  337. package/docs/types/RuleLabelsValue.html +3 -3
  338. package/docs/types/ScaleCallback.html +3 -3
  339. package/docs/types/ScalePosition.html +3 -3
  340. package/docs/types/StickType.html +3 -3
  341. package/docs/types/Tag.html +14 -7
  342. package/docs/types/Tag2D.html +3 -3
  343. package/docs/types/Tag3D.html +3 -3
  344. package/docs/types/TagConfigByKey.html +3 -3
  345. package/docs/types/TagContentType.html +3 -3
  346. package/docs/types/TagContentTypeMapping.html +3 -3
  347. package/docs/types/TagDimensionType.html +3 -3
  348. package/docs/types/TagElement.html +3 -3
  349. package/docs/types/TagEvents.html +3 -3
  350. package/docs/types/TagGLTFObject.html +3 -3
  351. package/docs/types/TagHooks.html +3 -3
  352. package/docs/types/TagId.html +3 -3
  353. package/docs/types/TagInstance.html +3 -3
  354. package/docs/types/TagPointType.html +3 -3
  355. package/docs/types/TagRendererMap.html +3 -3
  356. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  357. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  358. package/docs/types/WorkCode.html +3 -3
  359. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  360. package/docs/variables/PLUGIN.html +3 -3
  361. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  362. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  363. package/docs/variables/defaultGlobalConfig.html +3 -3
  364. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  365. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  366. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  367. package/libs/ModelMakerPlugin/Controller.d.ts +3 -0
  368. package/libs/ModelMakerPlugin/Controller.js +70 -65
  369. package/libs/ModelMakerPlugin/index.js +3 -2
  370. package/libs/ModelMakerPlugin/item/baseItem.d.ts +2 -2
  371. package/libs/ModelMakerPlugin/item/baseItem.js +16 -17
  372. package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
  373. package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
  374. package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
  375. package/libs/ModelMakerPlugin/utils/getFiveDomEvent.d.ts +3 -0
  376. package/libs/ModelMakerPlugin/utils/getFiveDomEvent.js +9 -0
  377. package/libs/PanoTagPlugin/controller/TagRender.js +2 -2
  378. package/libs/PanoTagPlugin/controller/index.js +115 -115
  379. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +11 -4
  380. package/libs/base/BasePlugin.js +1 -1
  381. package/libs/index.js +125 -124
  382. package/libs/shared-utils/Utils/WorkUtil.js +9 -9
  383. package/libs/shared-utils/five/FiveDomEvents.js +36 -41
  384. package/libs/shared-utils/logger.js +1 -1
  385. package/package.json +1 -1
@@ -18,15 +18,16 @@ import "../../shared-utils/Subscribe.js";
18
18
  import "../../shared-utils/tag.js";
19
19
  import "../../shared-utils/positionToVector3.js";
20
20
  import "../../shared-utils/five/vector3ToScreen.js";
21
+ import "../utils/getFiveDomEvent.js";
21
22
  import "../../shared-utils/five/FiveDomEvents.js";
22
23
  import "../../shared-utils/three/getObjectVisible.js";
23
24
  import "../../shared-utils/five/calculateThreeMouse.js";
24
- class R extends f {
25
+ class T extends f {
25
26
  constructor(...o) {
26
27
  const r = o[0], e = M(r.model), a = new u.Vector3().lerpVectors(n(e, 0), n(e, 5), 0.5);
27
28
  super(s(i({}, r), { position: a })), this.enable();
28
29
  }
29
30
  }
30
31
  export {
31
- R as ModelMakerPrismItem
32
+ T as ModelMakerPrismItem
32
33
  };
@@ -0,0 +1,3 @@
1
+ import type { Five } from '@realsee/five';
2
+ import { FiveDomEvents } from '../../shared-utils/five/FiveDomEvents';
3
+ export declare const getFiveDomEvent: (five: Five) => FiveDomEvents;
@@ -0,0 +1,9 @@
1
+ import { FiveDomEvents as o } from "../../shared-utils/five/FiveDomEvents.js";
2
+ import "three";
3
+ import "../../shared-utils/three/getObjectVisible.js";
4
+ import "../../shared-utils/five/calculateThreeMouse.js";
5
+ let t;
6
+ const v = (e) => t || (t = new o(e), t);
7
+ export {
8
+ v as getFiveDomEvent
9
+ };
@@ -233,10 +233,10 @@ class Ti extends I {
233
233
  this.contentTypeMap.set(t, e);
234
234
  }
235
235
  clearTags() {
236
- this.tags.forEach((t) => {
236
+ this.tags.length && (this.tags.forEach((t) => {
237
237
  var e, o;
238
238
  (o = (e = t.mediaPlane) == null ? void 0 : e.parent) == null || o.remove(t.mediaPlane);
239
- }), this.tags = [], this.enabledModelTagSet.clear(), this.clearCache(), this.disposeAllCSS3DContainer(), this.updateRenderAllTags();
239
+ }), this.tags = [], this.disposeAllCSS3DContainer(), this.updateRenderAllTags()), this.enabledModelTagSet.clear(), this.clearCache();
240
240
  }
241
241
  /**
242
242
  * @description: 更新所有标签
@@ -1,53 +1,53 @@
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) => {
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) => {
6
6
  for (var e in a || (a = {}))
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]);
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]);
11
11
  return d;
12
- }, b = (d, a) => I(d, R(a));
12
+ }, v = (d, a) => k(d, B(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 s = (r) => {
15
+ var o = (r) => {
16
16
  try {
17
17
  n(e.next(r));
18
18
  } catch (h) {
19
19
  i(h);
20
20
  }
21
- }, o = (r) => {
21
+ }, s = (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(s, o);
27
+ }, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(o, s);
28
28
  n((e = e.apply(d, a)).next());
29
29
  });
30
- import * as v from "three";
31
- import { Subscribe as M } from "@realsee/five";
30
+ import * as b from "three";
31
+ import { Subscribe as O } from "@realsee/five";
32
32
  import { objectAssignDeepExports as f } from "../../vendor/object-assign-deep/objectAssignDeep.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 $ } from "../../shared-utils/five/mode.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";
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 W } 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";
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";
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 w = "Dnalogel-PanoTagPlugin", Fi = (d) => `${w}--${d}`;
176
- class Mi extends z {
175
+ const E = "Dnalogel-PanoTagPlugin", Mi = (d) => `${E}--${d}`;
176
+ class Oi extends $ {
177
177
  constructor(e, t) {
178
178
  super(e);
179
179
  /** state */
@@ -182,13 +182,13 @@ class Mi extends z {
182
182
  l(this, "params");
183
183
  /** debug */
184
184
  l(this, "debug");
185
- l(this, "debugUtil", new j(this));
185
+ l(this, "debugUtil", new H(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, s, o;
191
+ var i, o, s;
192
192
  if (!this.state.enabled)
193
193
  return { reason: `plugin.state.enabled is ${this.state.enabled}` };
194
194
  if (!this.state.visible)
@@ -201,29 +201,28 @@ class Mi extends z {
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 = (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 };
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 };
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
- V(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
212
+ _(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 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);
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);
220
220
  }), this.updateTagContainerVisible(), this.updateRenderImagePlane(), this.updateRenderVideoPlane();
221
221
  });
222
222
  /**
223
223
  * @description: 走点/切换模型后显示
224
224
  */
225
225
  // private temporaryShow({ withAnimation }: { withAnimation?: boolean } = { withAnimation: false }) {
226
- // this.store.visibleWithAnimation = withAnimation
227
226
  // this.temporaryState.visible = true
228
227
  // this.updateTagContainerVisible()
229
228
  // }
@@ -231,7 +230,6 @@ class Mi extends z {
231
230
  * @description: 走点/切换模型时临时隐藏
232
231
  */
233
232
  // private temporaryHide({ withAnimation }: { withAnimation?: boolean } = { withAnimation: false }) {
234
- // this.store.visibleWithAnimation = withAnimation
235
233
  // this.temporaryState.visible = false
236
234
  // this.updateTagContainerVisible()
237
235
  // }
@@ -241,8 +239,8 @@ class Mi extends z {
241
239
  if (!e.tag.state)
242
240
  return console.warn("Clickhandler: params.tag.state is undefined");
243
241
  const t = this.can("fold", e.tag), i = this.can("unfold", e.tag);
244
- t && i && (e.tag.state.unfolded = !e.tag.state.unfolded, e.tag.state.unfolded && this.tags.forEach((s) => {
245
- s.id !== e.tag.id && s.state && this.can("fold", s) && (s.state.unfolded = !1);
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);
246
244
  }), this.updateRenderAllTags());
247
245
  });
248
246
  l(this, "handleFiveCameraUpdate", () => {
@@ -250,21 +248,21 @@ class Mi extends z {
250
248
  });
251
249
  l(this, "handleFivePanoArrived", () => c(this, null, function* () {
252
250
  this.setVisible(), this.updatePointTagPosition(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
253
- e.temporaryState = b(g({}, e.temporaryState), { visible: !0 });
254
- }), this.tags.filter(_).filter((e) => {
251
+ e.temporaryState = v(m({}, e.temporaryState), { visible: !0 });
252
+ }), this.tags.filter(L).filter((e) => {
255
253
  var t;
256
254
  return (t = this.getTagConfig(e).modelConfig) == null ? void 0 : t.autoLookAtEnabled;
257
255
  }).forEach((e) => {
258
256
  var h;
259
- const t = new v.Mesh(new v.BoxGeometry(), new v.MeshBasicMaterial()), i = (h = e.model) == null ? void 0 : h.object;
257
+ const t = new b.Mesh(new b.BoxGeometry(), new b.MeshBasicMaterial()), i = (h = e.model) == null ? void 0 : h.object;
260
258
  if (!i)
261
259
  return;
262
260
  t.position.copy(i.position), t.quaternion.copy(i.quaternion);
263
- const s = this.five.camera.position;
264
- t.lookAt(s.clone().setY(t.position.y));
265
- const o = i.quaternion.clone(), n = t.quaternion.clone(), r = W();
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();
266
264
  r.onUpdate(({ progress: p }) => {
267
- i.quaternion.copy(o.clone().slerp(n, p));
265
+ i.quaternion.copy(s.clone().slerp(n, p));
268
266
  }), r.play();
269
267
  }), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible(), this.updateRenderAllTags();
270
268
  }));
@@ -273,9 +271,9 @@ class Mi extends z {
273
271
  this.setVisible(), this.updateRenderAllTags();
274
272
  });
275
273
  l(this, "onFiveEveryReady", () => {
276
- this.setUnfoldedByCamera(), $(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(), J(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 }), this.updateRenderVideoPlane(), this.updateRenderImagePlane(), this.updateTagModelVisible();
277
275
  });
278
- 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 });
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 });
279
277
  try {
280
278
  const i = window;
281
279
  Array.isArray(i.__PANOTAGPLUGIN_DEBUG_LIST__) || (i.__PANOTAGPLUGIN_DEBUG_LIST__ = []), i.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), i.__PANOTAGPLUGIN_DEBUG__ = this;
@@ -287,15 +285,15 @@ class Mi extends z {
287
285
  */
288
286
  load(e, t) {
289
287
  return c(this, null, function* () {
290
- var s, o;
291
- this.clearTags(), console.debug(w, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = f({}, this.config, {
292
- globalConfig: (s = e.globalConfig) != null ? s : {},
293
- contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
294
- });
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 : {}
292
+ }), this.store.visibleWithAnimation = !0;
295
293
  const i = yield this.addTag(e.tagList, t);
296
- if (this.debug)
294
+ if (this.store.visibleWithAnimation = void 0, this.debug)
297
295
  try {
298
- O(this.five, this.tags);
296
+ V(this.five, this.tags);
299
297
  } catch (n) {
300
298
  console.error(n);
301
299
  }
@@ -307,39 +305,41 @@ class Mi extends z {
307
305
  */
308
306
  addTag(e, t) {
309
307
  return c(this, null, function* () {
310
- const s = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
311
- var T, y, C;
312
- const n = JSON.parse(JSON.stringify(o.data)), r = o.config ? JSON.parse(JSON.stringify(o.config)) : {};
313
- o.initialConfig = r;
314
- const h = this.calculateTagConfig(o), p = this.getTagConfig(o);
315
- return o.config = p, b(g({}, o), {
316
- enabled: (T = o.enabled) != null ? T : !0,
317
- id: (y = o.id) != null ? y : x(),
318
- data: (C = p.initialData) != null && C.important ? f(o.data, n, p.initialData) : f(o.data, p.initialData, n),
319
- state: g({
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({
320
320
  visible: void 0,
321
- unfolded: !this.can("fold", o)
321
+ unfolded: !this.can("fold", s)
322
322
  }, p.initialState),
323
- hooks: new M(),
324
- originPosition: o.position,
323
+ hooks: new O(),
324
+ originPosition: s.position,
325
325
  position: (() => {
326
- const m = this.getTransformedPostion(o.position);
327
- return Array.isArray(m) ? m.map((U) => U.toArray()) : m.toArray();
326
+ const g = this.getTransformedPostion(s.position);
327
+ return Array.isArray(g) ? g.map((I) => I.toArray()) : g.toArray();
328
328
  })(),
329
329
  initialConfig: r,
330
330
  computedConfig: h,
331
331
  config: p,
332
- unfold: () => this.changeUnfoldedById(o.id, !0),
333
- fold: () => this.changeUnfoldedById(o.id, !1),
334
- enable: () => this.changeEnabledById(o.id, !0),
335
- disable: () => this.changeEnabledById(o.id, !1),
336
- destroy: () => this.destroyTagById(o.id),
337
- changeData: (m) => this.changeDataById(o.id, m)
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)
338
338
  });
339
339
  });
340
- return s.forEach(L), this.tags.push(...s), J(this.five).then(() => c(this, null, function* () {
341
- var o, n, r;
342
- 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();
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();
343
343
  }));
344
344
  });
345
345
  }
@@ -392,26 +392,26 @@ class Mi extends z {
392
392
  setState(e, t) {
393
393
  if (this.checkDisposed())
394
394
  return;
395
- const { userAction: i = !0, visibleWithAnimation: s = !1 } = t != null ? t : {}, o = g({}, this.state);
396
- 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 });
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 });
397
397
  }
398
398
  /**
399
399
  * @description: 销毁
400
400
  */
401
401
  dispose() {
402
- var e, t, i, s, o, n;
402
+ var e, t, i, o, s, n;
403
403
  this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
404
404
  var h;
405
405
  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 = [], (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");
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");
407
407
  }
408
408
  changeUnfoldedById(e, t) {
409
409
  var n;
410
410
  const i = this.getTagById(e);
411
411
  if (!i)
412
412
  return;
413
- const s = this.can("fold", i), o = this.can("unfold", i);
414
- if (s && o) {
413
+ const o = this.can("fold", i), s = this.can("unfold", i);
414
+ if (o && s) {
415
415
  i.state.unfolded = t;
416
416
  const r = this.filterPointTag;
417
417
  (n = this.TagContainerSvelte) == null || n.$set({ tags: r });
@@ -427,15 +427,15 @@ class Mi extends z {
427
427
  */
428
428
  changeTagNormalById(e, t) {
429
429
  const i = this.getTagById(e);
430
- i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = D(t));
430
+ i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = S(t));
431
431
  }
432
432
  /**
433
433
  * @description: 改变data
434
434
  */
435
435
  changeDataById(e, t, i = !0) {
436
- const s = this.getTagById(e);
437
- let o = !1;
438
- 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));
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));
439
439
  }
440
440
  /**
441
441
  * @description: 改变tag的stickType
@@ -447,17 +447,17 @@ class Mi extends z {
447
447
  * @description: 改变tag任意属性
448
448
  */
449
449
  changeTagById(e, t, i = !0) {
450
- const s = this.getTagById(e);
451
- let o = !1;
452
- t && (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));
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));
453
453
  }
454
454
  /**
455
455
  * @description: 销毁tag
456
456
  */
457
457
  destroyTagById(e) {
458
458
  (Array.isArray(e) ? e : [e]).forEach((i) => {
459
- const s = this.tags.findIndex((o) => o.id === i);
460
- s !== -1 && this.tags.splice(s, 1);
459
+ const o = this.tags.findIndex((s) => s.id === i);
460
+ o !== -1 && this.tags.splice(o, 1);
461
461
  }), this.updateRenderAllTags();
462
462
  }
463
463
  /**
@@ -465,7 +465,7 @@ class Mi extends z {
465
465
  */
466
466
  setVisibleAndUnfolded() {
467
467
  return c(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
468
- return this.setVisible(), e ? new Promise((t) => {
468
+ return this.store.visibleWithAnimation = e, this.setVisible(), e ? new Promise((t) => {
469
469
  setTimeout(() => {
470
470
  this.setUnfoldedByPanoIndex(), t();
471
471
  }, 10);
@@ -486,9 +486,9 @@ class Mi extends z {
486
486
  }
487
487
  handleDisable() {
488
488
  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((s) => {
490
- var o;
491
- (o = s.tag3DContentSvelte) == null || o.dispose(), s.tag3DContentSvelte = void 0;
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;
492
492
  }), this.five.needsRender = !0;
493
493
  }
494
494
  /**
@@ -497,13 +497,13 @@ class Mi extends z {
497
497
  addEventListener() {
498
498
  const { five: e, hooks: t } = this;
499
499
  let i = !1;
500
- const s = P(() => {
500
+ const o = w(() => {
501
501
  i || (i = !0, e.ready().then(() => {
502
502
  this.onFiveEveryReady(), i = !1;
503
503
  }));
504
504
  }, 150);
505
- 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), () => {
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", s), e.off("panoArrived", this.handleFivePanoArrived), e.off("panoArrived", this.loadVideoFirstFrame), t.off("click", this.clickhandler), this.store.eventListenerDisposer = void 0;
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;
507
507
  };
508
508
  }
509
509
  addResizeListener() {
@@ -521,17 +521,17 @@ class Mi extends z {
521
521
  this.state.enabled && (this.show(), this.updateRenderAllTags());
522
522
  }, i = () => {
523
523
  this.state.enabled && this.hide();
524
- }, { observe: s, unobserve: o } = S(
525
- P(() => {
524
+ }, { observe: o, unobserve: s } = U(
525
+ w(() => {
526
526
  this.store.resizeObserverDisposer && i();
527
527
  }, 500),
528
528
  e
529
- ), { observe: n, unobserve: r } = S(
530
- k(() => t(), 400),
529
+ ), { observe: n, unobserve: r } = U(
530
+ N(() => t(), 400),
531
531
  e
532
532
  );
533
- return s(), n(), () => {
534
- o(), r();
533
+ return o(), n(), () => {
534
+ s(), r();
535
535
  };
536
536
  }
537
537
  setUnfoldedByCamera() {
@@ -545,12 +545,12 @@ class Mi extends z {
545
545
  });
546
546
  }
547
547
  changeTagMode(e, t) {
548
- var i, s, o, n, r, h;
549
- ((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);
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);
550
550
  }
551
551
  }
552
552
  export {
553
- Mi as PanoTagPluginController,
554
- Mi as default,
555
- Fi as pluginFlag
553
+ Oi as PanoTagPluginController,
554
+ Oi as default,
555
+ Mi as pluginFlag
556
556
  };
@@ -20,10 +20,17 @@ export type Tag<C extends TagContentType = TagContentType, S extends StickType =
20
20
  /** 开启/禁用 */
21
21
  enabled?: boolean;
22
22
  /** 唯一标识 */
23
- id: TagId;
24
- /** @type {StickType} 附着方式 */
25
- stickType: S;
26
- /** @type {TagContentType} 内容类型,根据内容类型展示对应UI */
23
+ id?: TagId;
24
+ /**
25
+ * @description: 附着方式
26
+ * @type {StickType}
27
+ * @default '2DPoint'
28
+ */
29
+ stickType?: S;
30
+ /**
31
+ * @description: 内容类型,根据内容类型展示对应UI
32
+ * @type {TagContentType}
33
+ */
27
34
  contentType: LiteralUnion<C, string>;
28
35
  /** 点 */
29
36
  position: S extends 'Plane' ? [Position, Position, Position, Position] : S extends '2DPoint' | '3DPoint' | 'Model' ? Position : Position | [Position, Position, Position, Position];
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.23.1");
17
+ i(this, "VERSION", "3.23.3");
18
18
  i(this, "five");
19
19
  /**
20
20
  * @description: 插件事件钩子