@realsee/dnalogel 3.31.1 → 3.32.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 (417) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/PanoTagPlugin/controller/TagCache.d.ts +1 -1
  3. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
  4. package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
  5. package/dist/index.cjs.js +47 -47
  6. package/dist/index.js +2091 -2085
  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/ModelMakerPluginInstance.html +3 -3
  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 +66 -48
  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/SculptPlugin.html +3 -3
  75. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  76. package/docs/functions/Util.absoluteUrl.html +3 -3
  77. package/docs/functions/Util.blink.html +3 -3
  78. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  79. package/docs/functions/Util.equal.html +3 -3
  80. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  81. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  82. package/docs/functions/Util.getFrameTime.html +3 -3
  83. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  84. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  85. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  86. package/docs/functions/Util.isModelLike.html +3 -3
  87. package/docs/functions/Util.isNil.html +3 -3
  88. package/docs/functions/Util.isPanoramaLike.html +3 -3
  89. package/docs/functions/Util.nextFrame.html +3 -3
  90. package/docs/functions/Util.notNil.html +3 -3
  91. package/docs/functions/Util.reblink.html +3 -3
  92. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  93. package/docs/functions/Util.tweenProgress.html +3 -3
  94. package/docs/functions/Util.uuid.html +3 -3
  95. package/docs/functions/pluginFlag.html +3 -3
  96. package/docs/index.html +4 -4
  97. package/docs/interfaces/AddTagConfig.html +3 -3
  98. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  101. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  102. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  103. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  104. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  105. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  106. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  107. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  108. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  109. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  110. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  111. package/docs/interfaces/ContentTypeMapInterface.html +3 -3
  112. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  113. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  114. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  115. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  116. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  117. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  118. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  119. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  120. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  121. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  122. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  123. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  124. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  125. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  126. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  127. package/docs/interfaces/EventMap.html +3 -3
  128. package/docs/interfaces/FloorplanBounding.html +3 -3
  129. package/docs/interfaces/FloorplanData.html +3 -3
  130. package/docs/interfaces/FloorplanEntrance.html +3 -3
  131. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  132. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  133. package/docs/interfaces/FloorplanFloorData.html +3 -3
  134. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  135. package/docs/interfaces/FloorplanObserver.html +3 -3
  136. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  137. package/docs/interfaces/FloorplanPosition.html +3 -3
  138. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  139. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  140. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  141. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  142. package/docs/interfaces/FloorplanServerData.html +3 -3
  143. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  144. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  145. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  146. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  147. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  148. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  149. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  150. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  151. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  152. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  153. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  154. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  155. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  156. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  163. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  164. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  165. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  166. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  167. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  168. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  169. package/docs/interfaces/HelperOffset.html +3 -3
  170. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  171. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  172. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  173. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  174. package/docs/interfaces/MinMax.html +3 -3
  175. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  176. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  177. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  178. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  179. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  180. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  181. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  182. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  183. package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
  184. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  185. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  186. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  187. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  188. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  189. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  190. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  191. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  192. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  193. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  194. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  195. package/docs/interfaces/Object3DHelperState.html +3 -3
  196. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  197. package/docs/interfaces/PaintBrushAction.html +3 -3
  198. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  199. package/docs/interfaces/PaintBrushState.html +3 -3
  200. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  201. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  202. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  203. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  204. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  205. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  206. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  207. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  208. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  209. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  210. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  211. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  212. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  213. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  214. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  215. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  216. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  217. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  218. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  219. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  220. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  221. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  222. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  223. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  224. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  225. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  226. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  227. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  228. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  229. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  230. package/docs/interfaces/Point.html +3 -3
  231. package/docs/interfaces/Room.html +3 -3
  232. package/docs/interfaces/RoomInfo.html +3 -3
  233. package/docs/interfaces/RoomLabel.html +3 -3
  234. package/docs/interfaces/RoomRules.html +3 -3
  235. package/docs/interfaces/Rooms.html +3 -3
  236. package/docs/interfaces/Scissor.html +3 -3
  237. package/docs/interfaces/State.html +3 -3
  238. package/docs/interfaces/TagCacheInterface.html +3 -3
  239. package/docs/interfaces/TagConfig.html +3 -3
  240. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  241. package/docs/interfaces/TagIconUrl.html +3 -3
  242. package/docs/interfaces/TagObjectGroup.html +3 -3
  243. package/docs/interfaces/TagStyle.html +3 -3
  244. package/docs/interfaces/Tags.html +3 -3
  245. package/docs/interfaces/TemporaryState.html +3 -3
  246. package/docs/interfaces/Util.BlinkAnimeOptions.html +3 -3
  247. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  248. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  249. package/docs/interfaces/Util.PointIntersection.html +3 -3
  250. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  251. package/docs/modules/AreaMakerPluginType.html +3 -3
  252. package/docs/modules/CruisePluginTypes.html +3 -3
  253. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  254. package/docs/modules/GuideLineItem.html +3 -3
  255. package/docs/modules/GuideLineModeItem.html +3 -3
  256. package/docs/modules/GuideLinePluginType.html +3 -3
  257. package/docs/modules/ModelMakerPluginType.html +3 -3
  258. package/docs/modules/PanoVideoPluginType.html +3 -3
  259. package/docs/modules/SculptData.html +3 -3
  260. package/docs/modules/Util.html +3 -3
  261. package/docs/modules.html +4 -4
  262. package/docs/types/AddObject3DHelperConfig.html +3 -3
  263. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  264. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  265. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  266. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  267. package/docs/types/ArrayPosition.html +3 -3
  268. package/docs/types/AudioAppearance.html +3 -3
  269. package/docs/types/CSS3DRenderExportType.html +3 -3
  270. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  271. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  272. package/docs/types/ClassFunctionParameters.html +3 -3
  273. package/docs/types/Color.html +3 -3
  274. package/docs/types/ContentTypeConfigKey.html +3 -3
  275. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  276. package/docs/types/ContentTypeMap.html +3 -3
  277. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  278. package/docs/types/Create3DElementReturnType.html +3 -3
  279. package/docs/types/CruisePluginExportType.html +3 -3
  280. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  281. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  282. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  283. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  284. package/docs/types/DeprecatedTagProperty.html +3 -3
  285. package/docs/types/Direction-1.html +3 -3
  286. package/docs/types/Direction4.html +3 -3
  287. package/docs/types/ElementRenderer.html +3 -3
  288. package/docs/types/FloorplanRuleLabels.html +3 -3
  289. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  290. package/docs/types/GuideLinePluginExportType.html +3 -3
  291. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  292. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  293. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  294. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  295. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  296. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  297. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  298. package/docs/types/HelperEventMap.html +3 -3
  299. package/docs/types/InternalHelperEventMap.html +3 -3
  300. package/docs/types/LoadTagConfig.html +3 -3
  301. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  302. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  303. package/docs/types/MediaData.html +3 -3
  304. package/docs/types/MediaStore.html +3 -3
  305. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  306. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  307. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  308. package/docs/types/ModelId.html +3 -3
  309. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  310. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  311. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  312. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  313. package/docs/types/MoveArgs.html +3 -3
  314. package/docs/types/MoveOpts.html +3 -3
  315. package/docs/types/Object3DHelperEventMap.html +3 -3
  316. package/docs/types/ObjectFit.html +3 -3
  317. package/docs/types/PaintBrushEventMap.html +3 -3
  318. package/docs/types/PanoCompassPluginData.html +3 -3
  319. package/docs/types/PanoCompassPluginExportType.html +3 -3
  320. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  321. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  322. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  323. package/docs/types/PanoIndex.html +3 -3
  324. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  325. package/docs/types/PanoMeasureReturnType.html +3 -3
  326. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  327. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  328. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  329. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  330. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  331. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  332. package/docs/types/PipelinePluginParameterType.html +3 -3
  333. package/docs/types/PipelinePluginReturnType.html +3 -3
  334. package/docs/types/PlaneTag.html +3 -3
  335. package/docs/types/Point2DTag.html +3 -3
  336. package/docs/types/Point3DTag.html +3 -3
  337. package/docs/types/PointTag.html +3 -3
  338. package/docs/types/PointTagInstance.html +3 -3
  339. package/docs/types/Position.html +3 -3
  340. package/docs/types/PositionFrom.html +3 -3
  341. package/docs/types/RotateArgs.html +3 -3
  342. package/docs/types/RotateOpts.html +3 -3
  343. package/docs/types/RuleLabelsKey.html +3 -3
  344. package/docs/types/RuleLabelsValue.html +3 -3
  345. package/docs/types/ScaleCallback.html +3 -3
  346. package/docs/types/ScalePosition.html +3 -3
  347. package/docs/types/SculptData.BoxData.html +3 -3
  348. package/docs/types/SculptData.CircleData.html +3 -3
  349. package/docs/types/SculptData.CylinderData.html +3 -3
  350. package/docs/types/SculptData.PointData.html +3 -3
  351. package/docs/types/SculptData.PolygonData.html +3 -3
  352. package/docs/types/SculptData.PolylineData.html +3 -3
  353. package/docs/types/SculptData.PrismData.html +3 -3
  354. package/docs/types/SculptData.RectangleData.html +3 -3
  355. package/docs/types/StickType.html +3 -3
  356. package/docs/types/Tag.html +3 -3
  357. package/docs/types/Tag2D.html +3 -3
  358. package/docs/types/Tag3D.html +3 -3
  359. package/docs/types/TagConfigByKey.html +3 -3
  360. package/docs/types/TagContentType.html +3 -3
  361. package/docs/types/TagContentTypeMapping.html +3 -3
  362. package/docs/types/TagDimensionType.html +3 -3
  363. package/docs/types/TagElement.html +3 -3
  364. package/docs/types/TagEvents.html +3 -3
  365. package/docs/types/TagGLTFObject.html +3 -3
  366. package/docs/types/TagHooks.html +3 -3
  367. package/docs/types/TagId.html +3 -3
  368. package/docs/types/TagInstance.html +3 -3
  369. package/docs/types/TagPointType.html +3 -3
  370. package/docs/types/TagRendererMap.html +3 -3
  371. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  372. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  373. package/docs/types/WorkCode.html +3 -3
  374. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  375. package/docs/variables/PLUGIN.html +3 -3
  376. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  377. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  378. package/docs/variables/defaultGlobalConfig.html +3 -3
  379. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  380. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  381. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  382. package/libs/CSS3DRenderPlugin/Controller.js +9 -9
  383. package/libs/CSS3DRenderPlugin/index.js +1 -1
  384. package/libs/CruisePlugin/Move.js +3 -4
  385. package/libs/CruisePlugin/Work.js +3 -4
  386. package/libs/CruisePlugin/index.js +7 -8
  387. package/libs/GuideLinePlugin/Controller.js +5 -6
  388. package/libs/GuideLinePlugin/GuideLineItem.js +3 -4
  389. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -4
  390. package/libs/GuideLinePlugin/index.js +7 -8
  391. package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
  392. package/libs/ModelTVVideoPlugin/index.js +1 -1
  393. package/libs/Object3DHelperPlugin/Controller.js +9 -9
  394. package/libs/Object3DHelperPlugin/index.js +1 -1
  395. package/libs/PanoCompassPlugin/Controller.js +1 -1
  396. package/libs/PanoCompassPlugin/index.js +1 -1
  397. package/libs/PanoMeasurePlugin/Components/Controller0.js +1 -1
  398. package/libs/PanoMeasurePlugin/Components/Controller1.js +1 -1
  399. package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
  400. package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
  401. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
  402. package/libs/PanoMeasurePlugin/index.js +1 -1
  403. package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
  404. package/libs/PanoSpatialTagPlugin/index.js +1 -1
  405. package/libs/PanoTagPlugin/controller/TagCache.d.ts +1 -1
  406. package/libs/PanoTagPlugin/controller/TagCache.js +5 -5
  407. package/libs/PanoTagPlugin/controller/TagRender.js +25 -22
  408. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
  409. package/libs/PanoTagPlugin/controller/TagUtil.js +77 -69
  410. package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
  411. package/libs/PanoTagPlugin/controller/index.js +41 -36
  412. package/libs/PanoTagPlugin/index.js +12 -13
  413. package/libs/base/BasePlugin.js +1 -1
  414. package/libs/index.js +126 -127
  415. package/libs/shared-utils/logger.js +1 -1
  416. package/package.json +1 -1
  417. package/dist/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +0 -2
@@ -58,8 +58,8 @@ import "../../shared-utils/three/PointDomHelper.js";
58
58
  import "../Modules/rangePiece/html.js";
59
59
  import "../../CSS3DRenderPlugin/index.js";
60
60
  import "../../CSS3DRenderPlugin/Controller.js";
61
- import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
62
61
  import "../../shared-utils/url/absoluteUrl.js";
62
+ import "../../shared-utils/five/fiveModelLoad.js";
63
63
  import "../../shared-utils/animationFrame/BetterTween.js";
64
64
  import "../../shared-utils/animationFrame/index.js";
65
65
  import "../../shared-utils/isTouchDevice.js";
@@ -62,8 +62,8 @@ import "../../shared-utils/three/PointDomHelper.js";
62
62
  import "../Modules/rangePiece/html.js";
63
63
  import "../../CSS3DRenderPlugin/index.js";
64
64
  import "../../CSS3DRenderPlugin/Controller.js";
65
- import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
66
65
  import "../../shared-utils/url/absoluteUrl.js";
66
+ import "../../shared-utils/five/fiveModelLoad.js";
67
67
  import "../../shared-utils/animationFrame/BetterTween.js";
68
68
  import "../../shared-utils/animationFrame/index.js";
69
69
  import "../../shared-utils/isTouchDevice.js";
@@ -58,8 +58,8 @@ import "../../shared-utils/three/PointDomHelper.js";
58
58
  import "../Modules/rangePiece/html.js";
59
59
  import "../../CSS3DRenderPlugin/index.js";
60
60
  import "../../CSS3DRenderPlugin/Controller.js";
61
- import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
62
61
  import "../../shared-utils/url/absoluteUrl.js";
62
+ import "../../shared-utils/five/fiveModelLoad.js";
63
63
  import "../../shared-utils/animationFrame/BetterTween.js";
64
64
  import "../../shared-utils/animationFrame/index.js";
65
65
  import "../../shared-utils/isTouchDevice.js";
@@ -64,8 +64,8 @@ import "../../shared-utils/three/PointDomHelper.js";
64
64
  import "../Modules/rangePiece/html.js";
65
65
  import "../../CSS3DRenderPlugin/index.js";
66
66
  import "../../CSS3DRenderPlugin/Controller.js";
67
- import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
68
67
  import "../../shared-utils/url/absoluteUrl.js";
68
+ import "../../shared-utils/five/fiveModelLoad.js";
69
69
  import "../../shared-utils/positionToVector3.js";
70
70
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
71
71
  import "three/examples/jsm/renderers/CSS3DRenderer";
@@ -68,8 +68,8 @@ import "../../../shared-utils/three/PointDomHelper.js";
68
68
  import "../rangePiece/html.js";
69
69
  import "../../../CSS3DRenderPlugin/index.js";
70
70
  import "../../../CSS3DRenderPlugin/Controller.js";
71
- import "../../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
72
71
  import "../../../shared-utils/url/absoluteUrl.js";
72
+ import "../../../shared-utils/five/fiveModelLoad.js";
73
73
  import "../../../shared-utils/animationFrame/BetterTween.js";
74
74
  import "../../../shared-utils/animationFrame/index.js";
75
75
  import "../../../shared-utils/isTouchDevice.js";
@@ -56,8 +56,8 @@ import "../shared-utils/three/PointDomHelper.js";
56
56
  import "./Modules/rangePiece/html.js";
57
57
  import "../CSS3DRenderPlugin/index.js";
58
58
  import "../CSS3DRenderPlugin/Controller.js";
59
- import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
60
59
  import "../shared-utils/url/absoluteUrl.js";
60
+ import "../shared-utils/five/fiveModelLoad.js";
61
61
  import "../shared-utils/animationFrame/BetterTween.js";
62
62
  import "../shared-utils/animationFrame/index.js";
63
63
  import "../shared-utils/isTouchDevice.js";
@@ -21,12 +21,12 @@ import "../shared-utils/three/centerPoint.js";
21
21
  import "../shared-utils/three/getObjectVisible.js";
22
22
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
23
23
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
24
- import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
25
24
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
26
25
  import "hammerjs";
27
26
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
28
27
  import "animejs";
29
28
  import "../shared-utils/url/absoluteUrl.js";
29
+ import "../shared-utils/five/fiveModelLoad.js";
30
30
  import "../vendor/svelte/internal/index.js";
31
31
  import "./store.js";
32
32
  import "../vendor/svelte/store/index.js";
@@ -18,12 +18,12 @@ import "../shared-utils/three/centerPoint.js";
18
18
  import "../shared-utils/three/getObjectVisible.js";
19
19
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
20
20
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
21
- import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
22
21
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
22
  import "hammerjs";
24
23
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
25
24
  import "animejs";
26
25
  import "../shared-utils/url/absoluteUrl.js";
26
+ import "../shared-utils/five/fiveModelLoad.js";
27
27
  import "./Components/origins.js";
28
28
  import "../vendor/svelte/internal/index.js";
29
29
  import "./store.js";
@@ -5,6 +5,7 @@ import * as BasePlugin from '../../base/BasePlugin';
5
5
  export declare abstract class TagCache extends BasePlugin.Controller<State, EventMap> {
6
6
  private tagCacheByPanoIndex;
7
7
  protected constructor(five: Five);
8
+ clearCacheById(id: TagId): void;
8
9
  /**
9
10
  * @description 获取缓存
10
11
  */
@@ -20,7 +21,6 @@ export declare abstract class TagCache extends BasePlugin.Controller<State, Even
20
21
  id: TagId;
21
22
  key: keyof TagCacheInterface;
22
23
  }): ValueOf<TagCacheInterface> | undefined;
23
- clearCacheById(id: TagId): void;
24
24
  /**
25
25
  * @description 清除所有缓存
26
26
  */
@@ -29,6 +29,11 @@ class F extends g {
29
29
  super(e);
30
30
  s(this, "tagCacheByPanoIndex", {});
31
31
  }
32
+ clearCacheById(e) {
33
+ Object.values(this.tagCacheByPanoIndex).forEach((n) => {
34
+ n.delete(e);
35
+ });
36
+ }
32
37
  getPanoIndexCache(e) {
33
38
  var p;
34
39
  const { five: n } = this, { panoIndex: a, id: i, key: h } = e != null ? e : {}, c = a != null ? a : n.getCurrentState().panoIndex;
@@ -44,11 +49,6 @@ class F extends g {
44
49
  }
45
50
  return (p = o.get(i)) == null ? void 0 : p[h];
46
51
  }
47
- clearCacheById(e) {
48
- Object.values(this.tagCacheByPanoIndex).forEach((n) => {
49
- n.delete(e);
50
- });
51
- }
52
52
  /**
53
53
  * @description 清除所有缓存
54
54
  */
@@ -1,12 +1,12 @@
1
1
  var A = Object.defineProperty;
2
2
  var R = Object.getOwnPropertySymbols;
3
- var k = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
3
+ var k = Object.prototype.hasOwnProperty, I = Object.prototype.propertyIsEnumerable;
4
4
  var C = (d, m, t) => m in d ? A(d, m, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[m] = t, j = (d, m) => {
5
5
  for (var t in m || (m = {}))
6
6
  k.call(m, t) && C(d, t, m[t]);
7
7
  if (R)
8
8
  for (var t of R(m))
9
- E.call(m, t) && C(d, t, m[t]);
9
+ I.call(m, t) && C(d, t, m[t]);
10
10
  return d;
11
11
  };
12
12
  var u = (d, m, t) => (C(d, typeof m != "symbol" ? m + "" : m, t), t);
@@ -26,9 +26,9 @@ var S = (d, m, t) => new Promise((e, o) => {
26
26
  }, a = (s) => s.done ? e(s.value) : Promise.resolve(s.value).then(i, r);
27
27
  a((t = t.apply(d, m)).next());
28
28
  });
29
- import { TagComputer as I } from "./TagComputer.js";
30
- import { Group as y, Quaternion as V, Vector3 as b, Matrix4 as v } from "three";
31
- import O from "../Components/TagContainer.js";
29
+ import { TagComputer as V } from "./TagComputer.js";
30
+ import { Group as y, Quaternion as O, Vector3 as b, Matrix4 as v } from "three";
31
+ import E from "../Components/TagContainer.js";
32
32
  import x from "../Components/Tag/index.js";
33
33
  import { CSS3DRenderPlugin as G } from "../../CSS3DRenderPlugin/index.js";
34
34
  import { loadGLTF as F } from "../../shared-utils/three/GLTFLoader.js";
@@ -159,10 +159,10 @@ import "../Components/Tag/LinkTag.js";
159
159
  import "../Components/Tag/PanoramaTag.js";
160
160
  import "../Components/Tag/CustomTag.js";
161
161
  import "../../CSS3DRenderPlugin/Controller.js";
162
- import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
162
+ import "../../shared-utils/five/fiveModelLoad.js";
163
163
  import "@realsee/five/gltf-loader";
164
- const q = /* @__PURE__ */ new Map(), $ = /* @__PURE__ */ new Map();
165
- class Ti extends I {
164
+ const $ = /* @__PURE__ */ new Map(), q = /* @__PURE__ */ new Map();
165
+ class Ti extends V {
166
166
  constructor(t) {
167
167
  super(t);
168
168
  u(this, "rendererMap", /* @__PURE__ */ new Map());
@@ -233,10 +233,11 @@ class Ti extends I {
233
233
  this.contentTypeMap.set(t, e);
234
234
  }
235
235
  clearTags() {
236
- this.tags.length && (this.tags.forEach((t) => {
237
- var e, o;
238
- (o = (e = t.mediaPlane) == null ? void 0 : e.parent) == null || o.remove(t.mediaPlane);
239
- }), this.tags = [], this.disposeAllCSS3DContainer(), this.updateRenderAllTags()), this.enabledModelTagSet.clear(), this.clearCache();
236
+ var t;
237
+ this.tags.length && (this.tags.forEach((e) => {
238
+ var o, i;
239
+ (i = (o = e.mediaPlane) == null ? void 0 : o.parent) == null || i.remove(e.mediaPlane);
240
+ }), this.tags = [], (t = this.TagContainerSvelte) == null || t.$destroy(), this.TagContainerSvelte = void 0, this.disposeAllCSS3DContainer(), this.updateRenderAllTags()), this.enabledModelTagSet.clear(), this.clearCache();
240
241
  }
241
242
  /**
242
243
  * @description 更新所有标签
@@ -263,8 +264,8 @@ class Ti extends I {
263
264
  playButton: e.data.playIcon,
264
265
  paused: !((l = e.data.autoplayConfig) != null && l.autoplayVideo),
265
266
  objectFit: e.data.objectFit,
266
- videoTextureMap: q,
267
- ImageTextureMap: $,
267
+ videoTextureMap: $,
268
+ ImageTextureMap: q,
268
269
  domEvents: this.domEvents
269
270
  });
270
271
  h.onVideoReady = (c) => {
@@ -306,7 +307,7 @@ class Ti extends I {
306
307
  if (e.tag3DContentSvelte) {
307
308
  const { svelteApp: a, css3DInstance: s, initialNormal: n, currentNormal: l } = e.tag3DContentSvelte;
308
309
  if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(l)) {
309
- const p = new V().setFromUnitVectors(n, l);
310
+ const p = new O().setFromUnitVectors(n, l);
310
311
  s.css3DObject.setRotationFromQuaternion(p);
311
312
  }
312
313
  return;
@@ -476,16 +477,18 @@ class Ti extends I {
476
477
  }
477
478
  }
478
479
  updateDomView(t = {}) {
479
- var o, i;
480
- const e = this.filterPointTag.filter((r) => r.state.visible);
480
+ var o;
481
+ const e = this.filterPointTag.filter((i) => i.state.visible);
481
482
  if (this.TagContainerSvelte)
482
483
  this.TagContainerSvelte.$set({ tags: e, state: this.state, temporaryState: this.temporaryState });
483
484
  else {
484
- const r = (o = this.five.getElement()) == null ? void 0 : o.parentElement;
485
- if (!r)
485
+ if (!e.length)
486
+ return;
487
+ const i = this.container;
488
+ if (!i)
486
489
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
487
- this.TagContainerSvelte = new O({
488
- target: r,
490
+ this.TagContainerSvelte = new E({
491
+ target: i,
489
492
  props: {
490
493
  hooks: this.hooks,
491
494
  tags: e,
@@ -494,7 +497,7 @@ class Ti extends I {
494
497
  mediaStore: this.mediaStore,
495
498
  rendererMap: this.rendererMap,
496
499
  contentTypeMap: this.contentTypeMap,
497
- withAnimation: (i = t == null ? void 0 : t.withAnimation) != null ? i : this.store.visibleWithAnimation
500
+ withAnimation: (o = t == null ? void 0 : t.withAnimation) != null ? o : this.store.visibleWithAnimation
498
501
  }
499
502
  });
500
503
  }
@@ -10,11 +10,13 @@ import { FiveDomEvents } from '../../shared-utils/five/FiveDomEvents';
10
10
  import { WorkUtil } from '../../shared-utils/Utils/WorkUtil';
11
11
  export declare abstract class TagUtil extends TagCache {
12
12
  tags: TagInstance[];
13
+ get container(): Element;
14
+ set container(container: Element);
13
15
  config: Pick<Tags, 'globalConfig' | 'contentTypeConfig'>;
14
16
  tagsLengthWillUpdate: boolean;
17
+ workUtil: WorkUtil;
15
18
  set workCode(workCode: string);
16
19
  get workCode(): string;
17
- workUtil: WorkUtil;
18
20
  protected mediaStore: MediaStore;
19
21
  /** css3DRenderPlugin */
20
22
  protected css3DRenderPlugin?: CSS3DRenderPluginExportType;
@@ -29,6 +31,7 @@ export declare abstract class TagUtil extends TagCache {
29
31
  disposed: boolean;
30
32
  };
31
33
  protected domEvents: FiveDomEvents;
34
+ private _container;
32
35
  protected constructor(five: Five);
33
36
  getTagById<C extends TagContentType = TagContentType, S extends StickType = StickType>(id: TagId): TagInstance<C, S> | undefined;
34
37
  /** 暂停当前标签内进行的所有多媒体 */
@@ -2,28 +2,28 @@ var q = Object.defineProperty, K = Object.defineProperties;
2
2
  var Q = Object.getOwnPropertyDescriptors;
3
3
  var V = Object.getOwnPropertySymbols;
4
4
  var Y = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
5
- var w = (l, s, e) => s in l ? q(l, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[s] = e, b = (l, s) => {
5
+ var w = (c, s, e) => s in c ? q(c, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[s] = e, b = (c, s) => {
6
6
  for (var e in s || (s = {}))
7
- Y.call(s, e) && w(l, e, s[e]);
7
+ Y.call(s, e) && w(c, e, s[e]);
8
8
  if (V)
9
9
  for (var e of V(s))
10
- Z.call(s, e) && w(l, e, s[e]);
11
- return l;
12
- }, R = (l, s) => K(l, Q(s));
13
- var u = (l, s, e) => (w(l, typeof s != "symbol" ? s + "" : s, e), e);
10
+ Z.call(s, e) && w(c, e, s[e]);
11
+ return c;
12
+ }, _ = (c, s) => K(c, Q(s));
13
+ var d = (c, s, e) => (w(c, typeof s != "symbol" ? s + "" : s, e), e);
14
14
  import { defaultGlobalConfig as ee } from "../typings/tag/TagConfig.js";
15
15
  import { objectAssignDeepExports as y } from "../../vendor/object-assign-deep/objectAssignDeep.js";
16
16
  import * as ie from "three";
17
17
  import { DefaultConfig as te } from "../tag.config.js";
18
18
  import { anyPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
19
19
  import { planeNormal as E } from "../utils/planeNormal.js";
20
- import { getTagCenterPosition as _ } from "../utils/tagPosition.js";
20
+ import { getTagCenterPosition as R } from "../utils/tagPosition.js";
21
21
  import { normalPositionToPositions as oe } from "../utils/normalPositionToPositions.js";
22
- import { TagCache as re } from "./TagCache.js";
23
- import { writable as ne } from "../../vendor/svelte/store/index.js";
22
+ import { TagCache as ne } from "./TagCache.js";
23
+ import { writable as re } from "../../vendor/svelte/store/index.js";
24
24
  import { isIOSWX as se } from "../../shared-utils/device.js";
25
25
  import { Five as fe } from "@realsee/five";
26
- import { isMediaPlaneTag as ae, isMediaModelTag as B, isPlaneTag as le, isPoint3DTag as ce } from "../utils/tag/tagCheck.js";
26
+ import { isMediaPlaneTag as ae, isMediaModelTag as B, isPlaneTag as ce, isPoint3DTag as le } from "../utils/tag/tagCheck.js";
27
27
  import { VideoPlane as de } from "../utils/model/mediaPlane.js";
28
28
  import { FiveDomEvents as ue } from "../../shared-utils/five/FiveDomEvents.js";
29
29
  import N from "../utils/tag/adaptConfig.js";
@@ -63,35 +63,36 @@ import "../../shared-utils/three/FragmentTransparencyMaterial.js";
63
63
  import "../../shared-utils/three/getNormal.js";
64
64
  import "../../shared-utils/five/calculateThreeMouse.js";
65
65
  import "../../shared-utils/Utils/BaseUtil.js";
66
- class ui extends re {
67
- // private _cache_pointTag?: PointTagInstance[]
68
- // private _cache_2DPointTag?: TagInstance<TagContentType, '2DPoint'>[]
69
- // private _cache_imagePlane?: TagInstance<'MediaPlane', 'Plane'>[]
70
- // private _cache_mediaModel?: TagInstance<'MediaModel', 'Model'>[]
71
- // private _cache_css3DTag?: (
72
- // | TagInstance<TagContentType, 'Plane'>
73
- // | TagInstance<TagContentType, 'Model'>
74
- // | TagInstance<TagContentType, '3DPoint'>
75
- // )[]
66
+ class ui extends ne {
76
67
  constructor(e) {
77
68
  super(e);
78
- u(this, "tags", []);
79
- u(this, "config", te);
80
- u(this, "tagsLengthWillUpdate", !0);
81
- u(this, "workUtil", new me(this.five));
82
- u(this, "mediaStore", ne({
69
+ d(this, "tags", []);
70
+ d(this, "config", te);
71
+ d(this, "tagsLengthWillUpdate", !0);
72
+ d(this, "workUtil", new me(this.five));
73
+ d(this, "mediaStore", re({
83
74
  currentMediaElement: null
84
75
  }));
85
76
  /** css3DRenderPlugin */
86
- u(this, "css3DRenderPlugin");
87
- u(this, "store", {
77
+ d(this, "css3DRenderPlugin");
78
+ d(this, "store", {
88
79
  disposers: [],
89
80
  disposed: !1,
90
81
  resizeObserverDisposerAdding: !1,
91
82
  css3DRenderDisposer: /* @__PURE__ */ new Map()
92
83
  });
93
- u(this, "domEvents", new ue(this.five));
94
- u(this, "loadVideoFirstFrame", () => {
84
+ d(this, "domEvents", new ue(this.five));
85
+ // private _cache_pointTag?: PointTagInstance[]
86
+ // private _cache_2DPointTag?: TagInstance<TagContentType, '2DPoint'>[]
87
+ // private _cache_imagePlane?: TagInstance<'MediaPlane', 'Plane'>[]
88
+ // private _cache_mediaModel?: TagInstance<'MediaModel', 'Model'>[]
89
+ // private _cache_css3DTag?: (
90
+ // | TagInstance<TagContentType, 'Plane'>
91
+ // | TagInstance<TagContentType, 'Model'>
92
+ // | TagInstance<TagContentType, '3DPoint'>
93
+ // )[]
94
+ d(this, "_container", null);
95
+ d(this, "loadVideoFirstFrame", () => {
95
96
  se && this.hooks.emit("loadVideoFirstFrame");
96
97
  });
97
98
  this.mediaStore.subscribe(({ currentMediaElement: i }) => {
@@ -105,6 +106,13 @@ class ui extends re {
105
106
  });
106
107
  });
107
108
  }
109
+ get container() {
110
+ var e;
111
+ return this._container || ((e = this.five.getElement()) == null ? void 0 : e.parentElement);
112
+ }
113
+ set container(e) {
114
+ this._container = e;
115
+ }
108
116
  set workCode(e) {
109
117
  this.workUtil.workCode = e;
110
118
  }
@@ -127,9 +135,9 @@ class ui extends re {
127
135
  * @description 获取标签配置
128
136
  */
129
137
  getTagConfig(e, i) {
130
- var n, f, c;
131
- const o = this.calculateTagConfig(e, { useCache: i == null ? void 0 : i.useCache }), t = (n = i == null ? void 0 : i.fiveMode) != null ? n : this.five.getCurrentState().mode, r = (f = o.configWithFiveMode) == null ? void 0 : f[t];
132
- return (c = r != null ? r : o) != null ? c : {};
138
+ var r, f, l;
139
+ const o = this.calculateTagConfig(e, { useCache: i == null ? void 0 : i.useCache }), t = (r = i == null ? void 0 : i.fiveMode) != null ? r : this.five.getCurrentState().mode, n = (f = o.configWithFiveMode) == null ? void 0 : f[t];
140
+ return (l = n != null ? n : o) != null ? l : {};
133
141
  }
134
142
  /**
135
143
  * @description 获取标签当前状态
@@ -144,8 +152,8 @@ class ui extends re {
144
152
  e.computedConfig = i;
145
153
  const o = this.getTagConfig(e);
146
154
  if (e.config = o, e.config.initialData) {
147
- const r = JSON.parse(JSON.stringify(e.data));
148
- e.data = (t = o.initialData) != null && t.important ? y(e.data, r, o.initialData) : y(e.data, o.initialData, r);
155
+ const n = JSON.parse(JSON.stringify(e.data));
156
+ e.data = (t = o.initialData) != null && t.important ? y(e.data, n, o.initialData) : y(e.data, o.initialData, n);
149
157
  }
150
158
  });
151
159
  }
@@ -200,16 +208,16 @@ class ui extends re {
200
208
  if (t.angle !== void 0)
201
209
  return t.angle;
202
210
  {
203
- const r = this.workUtil.getObserverPosition(o);
204
- if (r === void 0)
205
- throw new Error(`getAngle(): observerPosition is ${r}`);
206
- const n = (() => e.stickType === "3DPoint" ? C(e.normal) : E(e.position))();
207
- if (!n)
211
+ const n = this.workUtil.getObserverPosition(o);
212
+ if (n === void 0)
213
+ throw new Error(`getAngle(): observerPosition is ${n}`);
214
+ const r = (() => e.stickType === "3DPoint" ? C(e.normal) : E(e.position))();
215
+ if (!r)
208
216
  return;
209
- const f = _(e);
217
+ const f = R(e);
210
218
  if (!f)
211
219
  return;
212
- const c = new ie.Vector3().copy(r).sub(f), h = n.angleTo(c) * 180 / Math.PI;
220
+ const l = new ie.Vector3().copy(n).sub(f), h = r.angleTo(l) * 180 / Math.PI;
213
221
  return t.angle = h, t.angle;
214
222
  }
215
223
  }
@@ -217,42 +225,42 @@ class ui extends re {
217
225
  * @description 获取距离
218
226
  */
219
227
  getDistance(e, i) {
220
- const o = b(b({}, this.five.getCurrentState()), i), { panoIndex: t, mode: r } = o, n = A(r) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
221
- if ((n == null ? void 0 : n.distance) !== void 0)
222
- return n.distance;
223
- const f = _(e);
228
+ const o = b(b({}, this.five.getCurrentState()), i), { panoIndex: t, mode: n } = o, r = A(n) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
229
+ if ((r == null ? void 0 : r.distance) !== void 0)
230
+ return r.distance;
231
+ const f = R(e);
224
232
  if (!f)
225
233
  return -1;
226
- if (A(r)) {
227
- const c = this.workUtil.getObserverPosition(t);
228
- if (c === void 0)
234
+ if (A(n)) {
235
+ const l = this.workUtil.getObserverPosition(t);
236
+ if (l === void 0)
229
237
  return -1;
230
- const h = c.distanceTo(f);
231
- return n && (n.distance = h), h;
238
+ const h = l.distanceTo(f);
239
+ return r && (r.distance = h), h;
232
240
  }
233
- if ($(r))
241
+ if ($(n))
234
242
  return this.five.camera.position.distanceTo(f);
235
243
  }
236
244
  getPositions(e) {
237
- if (le(e))
245
+ if (ce(e))
238
246
  return e.position;
239
247
  if (B(e))
240
248
  return e.data.mediaPosition;
241
- if (ce(e))
249
+ if (le(e))
242
250
  return oe(this.five.camera.position, C(e.position), C(e.normal));
243
251
  }
244
252
  addObjectClickHandler(e, i, o) {
245
253
  if (!i || !this.domEvents)
246
254
  return () => {
247
255
  };
248
- const t = () => !(!this.getCurrentVisibleState(e) || e.loading), r = (n) => {
256
+ const t = () => !(!this.getCurrentVisibleState(e) || e.loading), n = (r) => {
249
257
  if (!t())
250
258
  return !1;
251
- o(n.origDomEvent);
259
+ o(r.origDomEvent);
252
260
  };
253
- return this.domEvents.addEventListener(i, "click", r), () => {
254
- var n;
255
- (n = this.domEvents) == null || n.removeEventListener(i, "click", r);
261
+ return this.domEvents.addEventListener(i, "click", n), () => {
262
+ var r;
263
+ (r = this.domEvents) == null || r.removeEventListener(i, "click", n);
256
264
  };
257
265
  }
258
266
  getTagNormal(e) {
@@ -312,10 +320,10 @@ class ui extends re {
312
320
  if ((I = e == null ? void 0 : e.config) != null && I._isMerged)
313
321
  return e.config;
314
322
  }
315
- const t = {}, r = {}, n = {};
316
- this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([d, m]) => {
323
+ const t = {}, n = {}, r = {};
324
+ this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([u, m]) => {
317
325
  var F, L;
318
- const a = d, D = a.split("-"), x = d.startsWith("["), T = x ? D[0].slice(1, -1) : void 0, g = x ? D.slice(1) : D, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (F = r[T]) != null ? F : r[T] = {} : (L = n[T]) != null ? L : n[T] = {} : t;
326
+ const a = u, D = a.split("-"), x = u.startsWith("["), T = x ? D[0].slice(1, -1) : void 0, g = x ? D.slice(1) : D, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (F = n[T]) != null ? F : n[T] = {} : (L = r[T]) != null ? L : r[T] = {} : t;
319
327
  if (!v[a]) {
320
328
  if (g.length === 0 && (v[a] = m), g.length === 1) {
321
329
  const [p] = g;
@@ -334,17 +342,17 @@ class ui extends re {
334
342
  }
335
343
  }
336
344
  });
337
- const f = (W = e.initialConfig) != null ? W : {}, c = y({}, ee, this.config.globalConfig, ...Object.values(t)), h = y({}, c, f), P = {}, G = Object.values(fe.Mode);
338
- z(r).forEach(([d, m]) => {
345
+ const f = (W = e.initialConfig) != null ? W : {}, l = y({}, ee, this.config.globalConfig, ...Object.values(t)), h = y({}, l, f), P = {}, G = Object.values(fe.Mode);
346
+ z(n).forEach(([u, m]) => {
339
347
  G.forEach((a) => {
340
- (d === "PanoramaLike" && A(a) || d === "ModelLike" && $(a)) && (P[a] = y({}, c, ...Object.values(m), f, { _isMerged: !0 }));
348
+ (u === "PanoramaLike" && A(a) || u === "ModelLike" && $(a)) && (P[a] = y({}, l, ...Object.values(m), f, { _isMerged: !0 }));
341
349
  });
342
- }), z(n).forEach(([d, m]) => {
343
- const a = P[d];
344
- P[d] = y({}, c, a, ...Object.values(m), f, { _isMerged: !0 });
350
+ }), z(r).forEach(([u, m]) => {
351
+ const a = P[u];
352
+ P[u] = y({}, l, a, ...Object.values(m), f, { _isMerged: !0 });
345
353
  });
346
- const k = R(b({}, h), { configWithFiveMode: P });
347
- return N(k), Object.values(P).forEach((d) => N(d)), k._isMerged = !0, k;
354
+ const k = _(b({}, h), { configWithFiveMode: P });
355
+ return N(k), Object.values(P).forEach((u) => N(u)), k._isMerged = !0, k;
348
356
  }
349
357
  }
350
358
  export {
@@ -21,6 +21,7 @@ declare class PanoTagPluginController extends TagRender {
21
21
  config?: Pick<Tags, 'contentTypeConfig' | 'globalConfig'>;
22
22
  debug?: boolean;
23
23
  });
24
+ appendTo(wrapper: Element): void;
24
25
  /**
25
26
  * @description 加载数据
26
27
  */