@realsee/dnalogel 3.59.7 → 3.59.8

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 (555) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/dist/CSS3DRenderPlugin/Controller.d.ts +1 -1
  3. package/dist/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +1 -0
  4. package/dist/CSS3DRenderPlugin/utils/index.d.ts +1 -1
  5. package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -1
  6. package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +1 -16
  7. package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +5 -3
  8. package/dist/PanoTagPlugin/controller/Tag/ModelTag.d.ts +2 -0
  9. package/dist/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +3 -0
  10. package/dist/PanoTagPlugin/controller/Tag/PointTag.d.ts +2 -0
  11. package/dist/PanoTagPlugin/controller/TagRender.d.ts +3 -13
  12. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +1 -3
  13. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -1
  14. package/dist/index.cjs.js +75 -75
  15. package/dist/index.js +8733 -8637
  16. package/dist/index.umd.js +64 -64
  17. package/dist/shared-utils/CSS3DRender/CSS3DObject.d.ts +44 -0
  18. package/dist/shared-utils/CSS3DRender/CSS3DRenderer.d.ts +14 -0
  19. package/dist/shared-utils/CSS3DRender/index.d.ts +2 -0
  20. package/docs/assets/search.js +1 -1
  21. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +4 -4
  22. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  23. package/docs/classes/CSS3DRender.html +2 -2
  24. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  25. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  26. package/docs/classes/ModelMakerPluginInstance.html +5 -5
  27. package/docs/classes/ModelRoomLabelController.html +2 -2
  28. package/docs/classes/MoveController.html +5 -5
  29. package/docs/classes/Object3DHelperController.html +5 -5
  30. package/docs/classes/PaintBrush.html +2 -2
  31. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  32. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  33. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  34. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  35. package/docs/classes/PanoTagPluginController.html +33 -36
  36. package/docs/classes/Sculpt.html +2 -2
  37. package/docs/classes/Util.BetterTween.html +2 -2
  38. package/docs/classes/Util.FiveDomEvents.html +2 -2
  39. package/docs/classes/Util.FivePuppet.html +2 -2
  40. package/docs/classes/Util.Interval.html +2 -2
  41. package/docs/classes/Util.LightTag.html +2 -2
  42. package/docs/classes/Util.LineSegments.html +2 -2
  43. package/docs/classes/Util.Magnifier.html +2 -2
  44. package/docs/classes/Util.Object3D.html +2 -2
  45. package/docs/classes/Util.PointHelper.html +2 -2
  46. package/docs/classes/Util.PointSelector.html +2 -2
  47. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  48. package/docs/classes/Util.Rectangle.html +2 -2
  49. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  50. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  51. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  52. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  53. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  54. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  55. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  56. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  57. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  58. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  59. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  60. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  61. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  62. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  63. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  64. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  65. package/docs/classes/WalkController.html +5 -5
  66. package/docs/enums/CameraMovementEffect.html +2 -2
  67. package/docs/enums/ContentType.html +2 -2
  68. package/docs/enums/DIRECTION.html +2 -2
  69. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  70. package/docs/enums/DimensionType.html +2 -2
  71. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  72. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  73. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  74. package/docs/enums/PointType.html +2 -2
  75. package/docs/enums/Rotation.html +2 -2
  76. package/docs/functions/AreaMakerPlugin.html +1 -1
  77. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  78. package/docs/functions/CameraMovementPlugin.html +2 -2
  79. package/docs/functions/CruisePlugin.html +1 -1
  80. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  81. package/docs/functions/GuideLinePlugin.html +1 -1
  82. package/docs/functions/ItemLabelPlugin.html +1 -1
  83. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  84. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  85. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  86. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  87. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  88. package/docs/functions/ModelMakerPlugin.html +1 -1
  89. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  90. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  91. package/docs/functions/ModelViewPlugin.html +2 -2
  92. package/docs/functions/MovePlugin.html +1 -1
  93. package/docs/functions/Object3DHelperPlugin.html +1 -1
  94. package/docs/functions/PanoCompassPlugin.html +1 -1
  95. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  96. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  97. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  98. package/docs/functions/PanoMeasurePlugin.html +1 -1
  99. package/docs/functions/PanoRulerPlugin.html +2 -2
  100. package/docs/functions/PanoRulerProPlugin.html +2 -2
  101. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  102. package/docs/functions/PanoTagPlugin.html +1 -1
  103. package/docs/functions/PanoVideoPlugin.html +2 -2
  104. package/docs/functions/PipelinePlugin.html +1 -1
  105. package/docs/functions/SculptPlugin.html +2 -2
  106. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  107. package/docs/functions/Util.absoluteUrl.html +2 -2
  108. package/docs/functions/Util.awaitNextFrame.html +1 -1
  109. package/docs/functions/Util.blink.html +2 -2
  110. package/docs/functions/Util.bounding.html +1 -1
  111. package/docs/functions/Util.boundingBox.html +1 -1
  112. package/docs/functions/Util.boundingSphere.html +1 -1
  113. package/docs/functions/Util.boxVertex.html +2 -2
  114. package/docs/functions/Util.boxVertexes.html +1 -1
  115. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  116. package/docs/functions/Util.convexHull.html +2 -2
  117. package/docs/functions/Util.equal.html +2 -2
  118. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  119. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  120. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  121. package/docs/functions/Util.getFrameTime.html +2 -2
  122. package/docs/functions/Util.inside.html +1 -1
  123. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  124. package/docs/functions/Util.isModelLike.html +1 -1
  125. package/docs/functions/Util.isNil.html +2 -2
  126. package/docs/functions/Util.isPanoramaLike.html +1 -1
  127. package/docs/functions/Util.lookObject.html +2 -2
  128. package/docs/functions/Util.lookPoint.html +2 -2
  129. package/docs/functions/Util.nextFrame.html +1 -1
  130. package/docs/functions/Util.notNil.html +2 -2
  131. package/docs/functions/Util.reblink.html +2 -2
  132. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  133. package/docs/functions/Util.sculpt.createBox.html +1 -1
  134. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  135. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  136. package/docs/functions/Util.sculpt.createLine.html +2 -2
  137. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  138. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  139. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  140. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  141. package/docs/functions/Util.tag.html +1 -1
  142. package/docs/functions/Util.tweenProgress.html +1 -1
  143. package/docs/functions/Util.uuid.html +2 -2
  144. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  145. package/docs/functions/Util.worldBounding.html +1 -1
  146. package/docs/functions/Util.worldBoundingBox.html +1 -1
  147. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  148. package/docs/functions/createPolyline.html +2 -2
  149. package/docs/functions/pluginFlag.html +1 -1
  150. package/docs/hierarchy.html +1 -1
  151. package/docs/index.html +2 -2
  152. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  153. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  154. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  155. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  156. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  157. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  158. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  159. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  160. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  161. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  162. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  163. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  164. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  165. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  166. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  167. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  168. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  169. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  170. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  171. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  172. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  173. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  174. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  175. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  176. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  177. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  178. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  179. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  180. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  181. package/docs/interfaces/FloorplanBounding.html +2 -2
  182. package/docs/interfaces/FloorplanData.html +2 -2
  183. package/docs/interfaces/FloorplanEntrance.html +2 -2
  184. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  185. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  186. package/docs/interfaces/FloorplanFloorData.html +2 -2
  187. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  188. package/docs/interfaces/FloorplanObserver.html +2 -2
  189. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  190. package/docs/interfaces/FloorplanPosition.html +2 -2
  191. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  192. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  193. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  194. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  195. package/docs/interfaces/FloorplanServerData.html +2 -2
  196. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  197. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  198. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  199. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  200. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  201. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  202. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  203. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  204. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  205. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  206. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  209. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  210. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  212. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  213. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  214. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  215. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  216. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  217. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  218. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  219. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  220. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  221. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
  222. package/docs/interfaces/HelperOffset.html +2 -2
  223. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  224. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  225. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  226. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  227. package/docs/interfaces/MinMax.html +2 -2
  228. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  229. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  230. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  231. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  232. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  233. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  234. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  235. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  236. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  237. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  238. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  239. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  240. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  241. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  242. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  243. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  244. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  245. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  246. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  247. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  248. package/docs/interfaces/Object3DHelperState.html +2 -2
  249. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  250. package/docs/interfaces/PaintBrushAction.html +2 -2
  251. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  252. package/docs/interfaces/PaintBrushState.html +2 -2
  253. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  254. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  255. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  256. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  257. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  258. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  259. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  260. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  261. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  262. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  263. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  264. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  265. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  266. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  267. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  268. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  269. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  270. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  271. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  272. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  273. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  274. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  275. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  276. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  277. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  278. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  279. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  280. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  281. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  282. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  283. package/docs/interfaces/PluginEventMap.html +2 -2
  284. package/docs/interfaces/Point.html +2 -2
  285. package/docs/interfaces/Room.html +2 -2
  286. package/docs/interfaces/RoomInfo.html +2 -2
  287. package/docs/interfaces/RoomLabel.html +2 -2
  288. package/docs/interfaces/RoomRules.html +1 -1
  289. package/docs/interfaces/Rooms.html +1 -1
  290. package/docs/interfaces/Scissor.html +2 -2
  291. package/docs/interfaces/State.html +2 -2
  292. package/docs/interfaces/TagCacheInterface.html +2 -2
  293. package/docs/interfaces/TagConfig.html +2 -2
  294. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  295. package/docs/interfaces/TagIconUrl.html +2 -2
  296. package/docs/interfaces/TagObjectGroup.html +2 -2
  297. package/docs/interfaces/TagStyle.html +2 -2
  298. package/docs/interfaces/Tags.html +2 -2
  299. package/docs/interfaces/TemporaryState.html +2 -2
  300. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  301. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  302. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  303. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  304. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  305. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  306. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  307. package/docs/interfaces/Util.PointIntersection.html +2 -2
  308. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  309. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  310. package/docs/modules/AreaMakerPluginType.html +2 -2
  311. package/docs/modules/CruisePluginTypes.html +2 -2
  312. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  313. package/docs/modules/GuideLineItem.html +2 -2
  314. package/docs/modules/GuideLineModeItem.html +2 -2
  315. package/docs/modules/GuideLinePluginType.html +2 -2
  316. package/docs/modules/ModelMakerPluginType.html +2 -2
  317. package/docs/modules/PanoVideoPluginType.html +2 -2
  318. package/docs/modules/SculptData.html +2 -2
  319. package/docs/modules/Util.html +2 -2
  320. package/docs/modules/Util.sculpt.html +2 -2
  321. package/docs/modules.html +2 -2
  322. package/docs/types/AddObject3DHelperConfig.html +2 -2
  323. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  324. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  325. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  326. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  327. package/docs/types/ArrayPosition.html +1 -1
  328. package/docs/types/AudioAppearance.html +1 -1
  329. package/docs/types/CSS3DRenderExportType.html +1 -1
  330. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  331. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  332. package/docs/types/ClassFunctionParameters.html +1 -1
  333. package/docs/types/Color.html +1 -1
  334. package/docs/types/ContentTypeConfigKey.html +1 -1
  335. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  336. package/docs/types/ContentTypeMap.html +1 -1
  337. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  338. package/docs/types/Create3DElementReturnType.html +1 -1
  339. package/docs/types/CruisePluginExportType.html +1 -1
  340. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  341. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  342. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  343. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  344. package/docs/types/DeprecatedTagProperty.html +2 -2
  345. package/docs/types/Direction-1.html +1 -1
  346. package/docs/types/Direction4.html +1 -1
  347. package/docs/types/ElementRenderer.html +2 -2
  348. package/docs/types/FloorplanRuleLabels.html +2 -2
  349. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  350. package/docs/types/GuideLinePluginExportType.html +1 -1
  351. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  352. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  353. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  354. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  355. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  356. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  357. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  358. package/docs/types/HelperEventMap.html +1 -1
  359. package/docs/types/InternalHelperEventMap.html +1 -1
  360. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  361. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  362. package/docs/types/MediaData.html +2 -2
  363. package/docs/types/MediaStore.html +1 -1
  364. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  365. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  366. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  367. package/docs/types/ModelId.html +1 -1
  368. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  369. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  370. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  371. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  372. package/docs/types/MoveArgs.html +2 -2
  373. package/docs/types/MoveOpts.html +2 -2
  374. package/docs/types/Object3DHelperEventMap.html +1 -1
  375. package/docs/types/ObjectFit.html +1 -1
  376. package/docs/types/PaintBrushEventMap.html +1 -1
  377. package/docs/types/PanoCompassPluginData.html +1 -1
  378. package/docs/types/PanoCompassPluginExportType.html +1 -1
  379. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  380. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  381. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  382. package/docs/types/PanoIndex.html +1 -1
  383. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  384. package/docs/types/PanoMeasureReturnType.html +1 -1
  385. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  386. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  387. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  388. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  389. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  390. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  391. package/docs/types/PipelinePluginParameterType.html +1 -1
  392. package/docs/types/PipelinePluginReturnType.html +1 -1
  393. package/docs/types/PlaneTag.html +2 -2
  394. package/docs/types/Point2DTag.html +2 -2
  395. package/docs/types/Point3DTag.html +2 -2
  396. package/docs/types/PointTagInstance.html +1 -1
  397. package/docs/types/Position.html +1 -1
  398. package/docs/types/PositionFrom.html +1 -1
  399. package/docs/types/RotateArgs.html +2 -2
  400. package/docs/types/RotateOpts.html +2 -2
  401. package/docs/types/RuleLabelsKey.html +1 -1
  402. package/docs/types/RuleLabelsValue.html +1 -1
  403. package/docs/types/ScaleCallback.html +1 -1
  404. package/docs/types/ScalePosition.html +2 -2
  405. package/docs/types/SculptData.BoxData.html +1 -1
  406. package/docs/types/SculptData.CircleData.html +1 -1
  407. package/docs/types/SculptData.CylinderData.html +1 -1
  408. package/docs/types/SculptData.PointData.html +1 -1
  409. package/docs/types/SculptData.PolygonData.html +1 -1
  410. package/docs/types/SculptData.PolylineData.html +1 -1
  411. package/docs/types/SculptData.PrismData.html +1 -1
  412. package/docs/types/SculptData.RectangleData.html +1 -1
  413. package/docs/types/StickType.html +1 -1
  414. package/docs/types/Tag.html +2 -2
  415. package/docs/types/Tag2D.html +2 -2
  416. package/docs/types/Tag3D.html +2 -2
  417. package/docs/types/TagClickParams.html +1 -1
  418. package/docs/types/TagConfigByKey.html +1 -1
  419. package/docs/types/TagContentType.html +1 -1
  420. package/docs/types/TagContentTypeMapping.html +1 -1
  421. package/docs/types/TagDimensionType.html +1 -1
  422. package/docs/types/TagElement.html +2 -2
  423. package/docs/types/TagEvents.html +1 -1
  424. package/docs/types/TagGLTFObject.html +1 -1
  425. package/docs/types/TagHooks.html +1 -1
  426. package/docs/types/TagId.html +1 -1
  427. package/docs/types/TagInstance.html +1 -1
  428. package/docs/types/TagPointType.html +2 -2
  429. package/docs/types/TagRendererMap.html +1 -1
  430. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  431. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  432. package/docs/types/Util.ActionIfNoModelUnderMouse.html +1 -1
  433. package/docs/types/Util.PointSelectorConfig.html +1 -1
  434. package/docs/types/WorkCode.html +1 -1
  435. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  436. package/docs/variables/PLUGIN.html +1 -1
  437. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  438. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  439. package/docs/variables/Util.animeMap.html +1 -1
  440. package/docs/variables/defaultGlobalConfig.html +1 -1
  441. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  442. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  443. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  444. package/libs/AreaMakerPlugin/Controller.js +5 -5
  445. package/libs/AreaMakerPlugin/index.js +5 -5
  446. package/libs/AreaMakerPlugin/utils/Item.js +5 -5
  447. package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -1
  448. package/libs/CSS3DRenderPlugin/Controller.js +5 -5
  449. package/libs/CSS3DRenderPlugin/index.js +5 -5
  450. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +1 -0
  451. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +2 -1
  452. package/libs/CSS3DRenderPlugin/utils/index.d.ts +1 -1
  453. package/libs/CSS3DRenderPlugin/utils/index.js +1 -1
  454. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -1
  455. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +5 -5
  456. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +5 -5
  457. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +1 -16
  458. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +5 -52
  459. package/libs/CruisePlugin/BaseController.js +5 -5
  460. package/libs/CruisePlugin/Move.js +47 -51
  461. package/libs/CruisePlugin/Work.js +65 -69
  462. package/libs/CruisePlugin/index.js +53 -57
  463. package/libs/CurrentPanoImagePlugin/Controller.js +5 -5
  464. package/libs/CurrentPanoImagePlugin/index.js +5 -5
  465. package/libs/GuideLinePlugin/Controller.js +51 -55
  466. package/libs/GuideLinePlugin/GuideLineItem.js +53 -57
  467. package/libs/GuideLinePlugin/GuideLineModeItem.js +53 -57
  468. package/libs/GuideLinePlugin/index.js +51 -55
  469. package/libs/ModelMakerPlugin/Controller.js +5 -5
  470. package/libs/ModelMakerPlugin/index.js +5 -5
  471. package/libs/ModelMakerPlugin/item/prismItem.js +5 -5
  472. package/libs/ModelTVVideoPlugin/Plugin.js +5 -5
  473. package/libs/ModelTVVideoPlugin/index.js +5 -5
  474. package/libs/Object3DHelperPlugin/Controller.js +5 -5
  475. package/libs/Object3DHelperPlugin/index.js +5 -5
  476. package/libs/PanoCompassPlugin/Controller.js +5 -5
  477. package/libs/PanoCompassPlugin/index.js +5 -5
  478. package/libs/PanoDoorLabelPlugin/Controller.js +5 -5
  479. package/libs/PanoDoorLabelPlugin/index.js +5 -5
  480. package/libs/PanoMeasurePlugin/Components/Controller0.js +5 -5
  481. package/libs/PanoMeasurePlugin/Components/Controller1.js +5 -5
  482. package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -5
  483. package/libs/PanoMeasurePlugin/Controller/WatchController.js +5 -5
  484. package/libs/PanoMeasurePlugin/Controller/index.js +5 -5
  485. package/libs/PanoMeasurePlugin/Model/area.js +5 -5
  486. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +5 -5
  487. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +5 -5
  488. package/libs/PanoMeasurePlugin/index.js +5 -5
  489. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +5 -5
  490. package/libs/PanoRulerProPlugin/Controller.js +5 -5
  491. package/libs/PanoRulerProPlugin/RulerItems.js +5 -5
  492. package/libs/PanoRulerProPlugin/index.js +5 -5
  493. package/libs/PanoSpatialTagPlugin/Plugin.js +5 -5
  494. package/libs/PanoSpatialTagPlugin/index.js +5 -5
  495. package/libs/PanoTagPlugin/Components/Common/Media.js +150 -150
  496. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +5 -5
  497. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +5 -5
  498. package/libs/PanoTagPlugin/Components/Tag/index.js +67 -62
  499. package/libs/PanoTagPlugin/Components/TagContainer.js +11 -7
  500. package/libs/PanoTagPlugin/Components/TagItem.js +11 -7
  501. package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +5 -3
  502. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +28 -28
  503. package/libs/PanoTagPlugin/controller/Tag/ModelTag.d.ts +2 -0
  504. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +206 -81
  505. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +3 -0
  506. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +199 -62
  507. package/libs/PanoTagPlugin/controller/Tag/PointTag.d.ts +2 -0
  508. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +32 -26
  509. package/libs/PanoTagPlugin/controller/TagRender.d.ts +3 -13
  510. package/libs/PanoTagPlugin/controller/TagRender.js +52 -246
  511. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +1 -3
  512. package/libs/PanoTagPlugin/controller/TagUtil.js +82 -97
  513. package/libs/PanoTagPlugin/controller/index.js +131 -143
  514. package/libs/PanoTagPlugin/index.js +114 -118
  515. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -1
  516. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +5 -5
  517. package/libs/PanoVideoPlugin/Controller.js +5 -5
  518. package/libs/PanoVideoPlugin/VideoMeshController.js +5 -5
  519. package/libs/PanoVideoPlugin/index.js +5 -5
  520. package/libs/PipelinePlugin/Controller.js +5 -5
  521. package/libs/PipelinePlugin/index.js +5 -5
  522. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +5 -5
  523. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +5 -5
  524. package/libs/PipelinePlugin/utils/Objects/Pipe.js +5 -5
  525. package/libs/base/BasePlugin.js +5 -5
  526. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +5 -5
  527. package/libs/floorplan/MapviewFloorplanPlugin/index.js +5 -5
  528. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -5
  529. package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -5
  530. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +5 -5
  531. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -5
  532. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -5
  533. package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -5
  534. package/libs/index.js +182 -180
  535. package/libs/shared-utils/CSS3DRender/CSS3DObject.d.ts +44 -0
  536. package/libs/shared-utils/CSS3DRender/CSS3DObject.js +91 -0
  537. package/libs/shared-utils/CSS3DRender/CSS3DRenderer.d.ts +14 -0
  538. package/libs/shared-utils/CSS3DRender/CSS3DRenderer.js +51 -0
  539. package/libs/{CSS3DRenderPlugin/utils/three → shared-utils/CSS3DRender}/OpacityMesh.js +6 -6
  540. package/libs/shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js +74 -0
  541. package/libs/shared-utils/CSS3DRender/index.d.ts +2 -0
  542. package/libs/shared-utils/CSS3DRender/index.js +31 -0
  543. package/libs/{CSS3DRenderPlugin/utils → shared-utils}/createResizeObserver.js +1 -1
  544. package/libs/shared-utils/five/initialCSS3DRender.js +1 -1
  545. package/libs/shared-utils/logger.js +1 -1
  546. package/libs/shared-utils/three/PointSelector/index.js +3 -3
  547. package/package.json +2 -2
  548. package/libs/CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js +0 -66
  549. /package/dist/{CSS3DRenderPlugin/utils/three → shared-utils/CSS3DRender}/OpacityMesh.d.ts +0 -0
  550. /package/dist/{CSS3DRenderPlugin/utils → shared-utils}/createResizeObserver.d.ts +0 -0
  551. /package/dist/{CSS3DRenderPlugin/utils → shared-utils}/even.d.ts +0 -0
  552. /package/libs/{CSS3DRenderPlugin/utils/three → shared-utils/CSS3DRender}/OpacityMesh.d.ts +0 -0
  553. /package/libs/{CSS3DRenderPlugin/utils → shared-utils}/createResizeObserver.d.ts +0 -0
  554. /package/libs/{CSS3DRenderPlugin/utils → shared-utils}/even.d.ts +0 -0
  555. /package/libs/{CSS3DRenderPlugin/utils → shared-utils}/even.js +0 -0
@@ -1,31 +1,33 @@
1
- import { arrayPositionToVector3 as d } from "../../../shared-utils/positionToVector3.js";
1
+ var T = Object.defineProperty, S = Object.defineProperties;
2
+ var I = Object.getOwnPropertyDescriptors;
3
+ var y = Object.getOwnPropertySymbols;
4
+ var V = Object.prototype.hasOwnProperty, k = Object.prototype.propertyIsEnumerable;
5
+ var b = (s, t, i) => t in s ? T(s, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : s[t] = i, g = (s, t) => {
6
+ for (var i in t || (t = {}))
7
+ V.call(t, i) && b(s, i, t[i]);
8
+ if (y)
9
+ for (var i of y(t))
10
+ k.call(t, i) && b(s, i, t[i]);
11
+ return s;
12
+ }, f = (s, t) => S(s, I(t));
13
+ import { CONST as F } from "../../../shared-utils/constants.js";
14
+ import { CSS3DObjectPlus as M } from "../../../shared-utils/CSS3DRender/CSS3DObject.js";
15
+ import { arrayPositionToVector3 as P } from "../../../shared-utils/positionToVector3.js";
2
16
  import "three";
3
- import { planeNormal as h } from "../../utils/planeNormal.js";
4
- import { VideoPlane as u, ImagePlane as c } from "../../utils/model/mediaPlane.js";
5
- import { BaseTag as f } from "./BaseTag.js";
17
+ import { planeNormal as R } from "../../utils/planeNormal.js";
18
+ import { VideoPlane as E, ImagePlane as j } from "../../utils/model/mediaPlane.js";
19
+ import N from "../../Components/Tag/index.js";
20
+ import { BaseTag as w } from "./BaseTag.js";
21
+ import "three/examples/jsm/renderers/CSS3DRenderer";
22
+ import "../../../shared-utils/even.js";
23
+ import "../../../shared-utils/CSS3DRender/OpacityMesh.js";
6
24
  import "../../../shared-utils/three/centerPoint.js";
7
- import "../../../shared-utils/three/loadTexture.js";
8
- import "../../../shared-utils/three/Quadrangle.js";
9
- import "../../../shared-utils/math/pointsIsRectangle.js";
10
- import "../../../shared-utils/three/loadVideoTexture.js";
11
- import "../../../shared-utils/device.js";
12
- import "../../Assets/Icon.js";
13
- import "../../../shared-utils/three/getPositionsByObjectFit.js";
14
- import "../../../shared-utils/three/FragmentTransparencyMaterial.js";
15
- import "../../../shared-utils/three/getNormal.js";
16
- import "../../../shared-utils/constants.js";
17
- import "../../../shared-utils/Subscribe.js";
18
- import "../../utils/tag/calculateTagConfig.js";
19
- import "../../../vendor/object-assign-deep/objectAssignDeep.js";
20
- import "../../../shared-utils/typescript/entries.js";
21
- import "../../utils/tag/adaptConfig.js";
22
- import "../../typings/tag/TagConfig.js";
23
- import "@realsee/five";
24
25
  import "../../../shared-utils/tag.js";
25
26
  import "../../../shared-utils/five/vector3ToScreen.js";
26
27
  import "../../../shared-utils/five/getFiveModel.js";
27
28
  import "../../../shared-utils/Utils/FiveUtil.js";
28
29
  import "../../../shared-utils/Utils/BaseUtil.js";
30
+ import "../../../shared-utils/Subscribe.js";
29
31
  import "../../../shared-utils/Utils/WorkUtil.js";
30
32
  import "../../../shared-utils/five/transformPosition.js";
31
33
  import "../../../shared-utils/three/temp.js";
@@ -33,7 +35,6 @@ import "../../../shared-utils/three/core/Raycaster.js";
33
35
  import "../../../shared-utils/dom/resizeObserver.js";
34
36
  import "../../../shared-utils/five/fiveEveryReadyListener.js";
35
37
  import "../../../shared-utils/throttle.js";
36
- import "../../../shared-utils/five/mode.js";
37
38
  import "hammerjs";
38
39
  import "../../../shared-utils/three/PointSelector/index.js";
39
40
  import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
@@ -41,9 +42,6 @@ import "../../../shared-utils/three/Magnifier.js";
41
42
  import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
42
43
  import "../../../shared-utils/three/Assets/index.js";
43
44
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
44
- import "three/examples/jsm/renderers/CSS3DRenderer";
45
- import "../../../CSS3DRenderPlugin/utils/even.js";
46
- import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
47
45
  import "../../../shared-utils/three/getObjectVisible.js";
48
46
  import "@realsee/five/line";
49
47
  import "../../../shared-utils/isNil.js";
@@ -52,11 +50,12 @@ import "../../../shared-utils/three/core/Sphere.js";
52
50
  import "animejs";
53
51
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
54
52
  import "../../../shared-utils/five/FivePuppet.js";
53
+ import "@realsee/five";
55
54
  import "../../../shared-utils/three/PointSelector/utils/html.js";
56
55
  import "../../../shared-utils/five/initialCSS3DRender.js";
57
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
58
- import "../../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
59
- import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
56
+ import "../../../shared-utils/CSS3DRender/CSS3DRenderer.js";
57
+ import "../../../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
58
+ import "../../../shared-utils/createResizeObserver.js";
60
59
  import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
61
60
  import "../../../Sculpt/Meshes/Line.js";
62
61
  import "../../../Sculpt/typings/style.js";
@@ -74,77 +73,215 @@ import "../../../shared-utils/isTouchDevice.js";
74
73
  import "../../../shared-utils/five/getPosition.js";
75
74
  import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
76
75
  import "../../../shared-utils/three/PointSelector/utils/contents.js";
76
+ import "../../../shared-utils/three/loadTexture.js";
77
+ import "../../../shared-utils/three/Quadrangle.js";
78
+ import "../../../shared-utils/math/pointsIsRectangle.js";
79
+ import "../../../shared-utils/three/loadVideoTexture.js";
80
+ import "../../../shared-utils/device.js";
81
+ import "../../Assets/Icon.js";
82
+ import "../../../shared-utils/three/getPositionsByObjectFit.js";
83
+ import "../../../shared-utils/three/FragmentTransparencyMaterial.js";
84
+ import "../../../shared-utils/three/getNormal.js";
85
+ import "../../../vendor/svelte/internal/index.js";
86
+ import "../../Components/Tag/TextTag/index.js";
87
+ import "../../Components/Tag/TextTag/TextTag.js";
88
+ import "../../Components/Common/Line/Straight.js";
89
+ import "../../../vendor/svelte/transition/index.js";
90
+ import "../../../vendor/svelte/easing/index.js";
91
+ import "../../../shared-utils/uuid.js";
92
+ import "../../Components/Common/Shadow.js";
93
+ import "../../Components/Common/Text/FlyMText.js";
94
+ import "../../Components/Common/Text/FlyText.js";
95
+ import "../../utils/search.js";
96
+ import "../../utils/constants.js";
97
+ import "../../Components/Common/Arrow.js";
98
+ import "../../utils/doUtil.js";
99
+ import "../../../shared-utils/svelte/resizeObserver.js";
100
+ import "../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
101
+ import "../../Components/Tag/TextTag/TextPlaneTag.js";
102
+ import "../../Components/Common/Text/MText.js";
103
+ import "../../utils/px2rem.js";
104
+ import "../../Components/Tag/ImageTextTag.js";
105
+ import "../../Components/Common/Line/Polyline.js";
106
+ import "../../Components/Common/Media.js";
107
+ import "../../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
108
+ import "../../../vendor/svelte-carousel/src/components/Dots/Dots.js";
109
+ import "../../../vendor/svelte-carousel/src/components/Dot/Dot.js";
110
+ import "../../../vendor/svelte-carousel/src/components/Arrow/Arrow.js";
111
+ import "../../../vendor/svelte-carousel/src/direction.js";
112
+ import "../../../vendor/svelte-carousel/src/components/Progress/Progress.js";
113
+ import "../../../vendor/svelte-carousel/src/actions/swipeable/swipeable.js";
114
+ import "../../../vendor/svelte-carousel/src/actions/swipeable/event.js";
115
+ import "../../../vendor/svelte-carousel/src/utils/event.js";
116
+ import "../../../vendor/svelte-carousel/src/units.js";
117
+ import "../../../vendor/svelte-carousel/src/actions/hoverable/hoverable.js";
118
+ import "../../../vendor/svelte-carousel/src/actions/hoverable/event.js";
119
+ import "../../../vendor/svelte-carousel/src/actions/tappable/tappable.js";
120
+ import "../../../vendor/svelte-carousel/src/utils/math.js";
121
+ import "../../../vendor/svelte-carousel/src/actions/tappable/event.js";
122
+ import "../../../vendor/svelte-carousel/src/utils/page.js";
123
+ import "../../../vendor/svelte-carousel/src/utils/clones.js";
124
+ import "../../../vendor/svelte-carousel/src/utils/object.js";
125
+ import "../../../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
126
+ import "../../../vendor/easy-reactive/src/simply-reactive.js";
127
+ import "../../../vendor/lodash.get/index.js";
128
+ import "../../../_commonjsHelpers.js";
129
+ import "../../../vendor/lodash.clonedeep/index.js";
130
+ import "../../../vendor/easy-reactive/src/utils/subscription.js";
131
+ import "../../../vendor/easy-reactive/src/utils/object.js";
132
+ import "../../../vendor/lodash.isequal/index.js";
133
+ import "../../../vendor/easy-reactive/src/utils/watcher.js";
134
+ import "../../../vendor/svelte-carousel/src/utils/lazy.js";
135
+ import "../../../vendor/svelte-carousel/src/utils/ProgressManager.js";
136
+ import "../../../vendor/svelte-carousel/src/utils/interval.js";
137
+ import "../../Components/Common/MediaItem.js";
138
+ import "../../Components/Tag/MarketingTag.js";
139
+ import "../../utils/noTypecheck.js";
140
+ import "../../Components/Tag/AudioTag/index.js";
141
+ import "../../Components/Tag/AudioTag/AudioTag.js";
142
+ import "../../Components/Common/Audio.js";
143
+ import "../../utils/audio/SharedAudio.js";
144
+ import "../../../shared-utils/audio.js";
145
+ import "../../Components/Common/Icon/audioIcon.js";
146
+ import "../../Components/Tag/AudioTag/AudioPlaneTag.js";
147
+ import "../../Components/Tag/MediaPlane.js";
148
+ import "../../Components/Tag/LinkTag.js";
149
+ import "../../Components/Common/Icon/Icon.js";
150
+ import "../../utils/getImageInfo.js";
151
+ import "../../Components/Tag/PanoramaTag.js";
152
+ import "../../Components/Tag/CustomTag.js";
153
+ import "../../../vendor/classnames/index.js";
154
+ import "./ModelTag.js";
155
+ import "../../../shared-utils/CSS3DRender/index.js";
156
+ import "../../../shared-utils/five/fiveModelLoad.js";
157
+ import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
158
+ import "../../../shared-utils/three/GLTFLoader.js";
159
+ import "@realsee/five/gltf-loader";
160
+ import "../../utils/tag/tagCheck.js";
161
+ import "../../../shared-utils/five/mode.js";
162
+ import "../../utils/tag/calculateTagConfig.js";
163
+ import "../../../vendor/object-assign-deep/objectAssignDeep.js";
164
+ import "../../../shared-utils/typescript/entries.js";
165
+ import "../../utils/tag/adaptConfig.js";
166
+ import "../../typings/tag/TagConfig.js";
77
167
  import "../../utils/tag/format.js";
78
168
  import "../../../shared-utils/three/blink.js";
79
169
  import "../../../shared-utils/vectorToCoordinate.js";
80
170
  import "../../../shared-utils/formatRad.js";
81
171
  import "../../../shared-utils/five/lookPoint.js";
82
- import "../../../shared-utils/uuid.js";
83
172
  import "../../utils/tagPosition.js";
84
- import "../../utils/tag/tagCheck.js";
85
173
  import "../../utils/checkRange.js";
86
174
  import "../../../shared-utils/url/getUrl.js";
87
175
  import "../../../shared-utils/five/getFloorIndex.js";
88
176
  import "../../../shared-utils/safeObj.js";
89
177
  import "../../utils/Cache.js";
90
178
  import "../../../shared-utils/promise/withResolvers.js";
91
- const P = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map();
92
- class ee extends f {
93
- constructor(e, t) {
94
- super(e, t), this.state.unfolded = !0;
179
+ const G = /* @__PURE__ */ new Map(), x = /* @__PURE__ */ new Map();
180
+ class $e extends w {
181
+ constructor(t, i) {
182
+ super(t, i), this.state.unfolded = !0, this.loadModel();
95
183
  }
96
184
  applyVisible() {
97
- var t, r, o, m, a, i;
98
- this.computeRenderType() === "Mesh" ? ((r = (t = this.data.mediaData) == null ? void 0 : t[0]) == null ? void 0 : r.type) === "Video" ? this.renderVideoPlane() : ((m = (o = this.data.mediaData) == null ? void 0 : o[0]) == null ? void 0 : m.type) === "Image" && this.renderImagePlane() : (this.tag3DContentSvelte || this.plugin.updateRender3DDomTag(), (a = this.tag3DContentSvelte) == null || a.svelteApp.$set({ tag: this, state: this.plugin.state }), (i = this.tag3DContentSvelte) == null || i.css3DInstance.setVisible(this.currentVisible));
185
+ var i, r, m, p, e, o;
186
+ this.computeRenderType() === "Mesh" ? ((r = (i = this.data.mediaData) == null ? void 0 : i[0]) == null ? void 0 : r.type) === "Video" ? this.renderVideoPlane() : ((p = (m = this.data.mediaData) == null ? void 0 : m[0]) == null ? void 0 : p.type) === "Image" && this.renderImagePlane() : ((e = this.tag3DContentSvelte) == null || e.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }), (o = this.tag3DContentSvelte) != null && o.css3DInstance && (this.tag3DContentSvelte.css3DInstance.visible = this.temporaryState.visible && this.state.visible));
187
+ }
188
+ set(...t) {
189
+ super.set(...t), this.loadModel();
190
+ }
191
+ setData(...t) {
192
+ var r, m, p, e, o;
193
+ super.setData(...t), this.computeRenderType() === "Mesh" ? ((m = (r = this.data.mediaData) == null ? void 0 : r[0]) == null ? void 0 : m.type) === "Video" ? this.renderVideoPlane() : ((e = (p = this.data.mediaData) == null ? void 0 : p[0]) == null ? void 0 : e.type) === "Image" && this.renderImagePlane() : (o = this.tag3DContentSvelte) == null || o.svelteApp.$set({ tag: this });
194
+ }
195
+ loadModel() {
196
+ var i, r, m, p, e, o;
197
+ if (this.computeRenderType() === "Mesh")
198
+ ((r = (i = this.data.mediaData) == null ? void 0 : i[0]) == null ? void 0 : r.type) === "Video" ? this.renderVideoPlane() : ((p = (m = this.data.mediaData) == null ? void 0 : m[0]) == null ? void 0 : p.type) === "Image" && this.renderImagePlane();
199
+ else {
200
+ const l = this.position.map(P);
201
+ (o = (e = this.tag3DContentSvelte) == null ? void 0 : e.dispose) == null || o.call(e);
202
+ const a = document.createElement("div");
203
+ a.classList.add("tag-media-container");
204
+ const h = "black";
205
+ a.style.backgroundColor = h, a.style.border = `3px solid ${h}`;
206
+ const n = f(g({}, this.config.tag3DConfig), { mode: "behind", cornerPoints: l, container: a }), D = this.computeRenderType() === "BehindDom" || n.mode === "behind" ? "behind" : "front", d = new M(f(g({}, n), { mode: D })), u = this.computeNormal();
207
+ d.position.add(u.clone().setLength(F.Z_FIGHTING_OFFSET)), this.plugin.group.add(d);
208
+ let c;
209
+ d.mode === "behind" && this.config.clickable !== !1 && (c = this.addObjectClickHandler(this, d, (C) => {
210
+ this.plugin.hooks.emit("click", { event: C, target: "TagContent", tag: this });
211
+ }));
212
+ const v = new N({
213
+ target: a,
214
+ props: {
215
+ tag: this,
216
+ hooks: this.plugin.hooks,
217
+ /** 模型标签要等模型加载好之后再展示 */
218
+ state: this.plugin.state,
219
+ mediaStore: this.plugin.mediaStore,
220
+ temporaryState: this.plugin.temporaryState
221
+ }
222
+ });
223
+ this.tag3DContentSvelte = {
224
+ svelteApp: v,
225
+ domContainer: {
226
+ css3DObject: d
227
+ },
228
+ css3DInstance: d,
229
+ initialNormal: u,
230
+ currentNormal: u,
231
+ dispose: () => {
232
+ v.$destroy(), d.dispose(), c == null || c();
233
+ }
234
+ };
235
+ }
99
236
  }
100
237
  renderVideoPlane() {
101
- var i;
102
- const e = this.data.mediaData[0];
103
- if (!e)
104
- return;
105
- const { url: t } = e;
238
+ var o;
239
+ const t = this.data.mediaData[0];
106
240
  if (!t)
107
241
  return;
108
- const r = this.currentVisible, o = (() => !!(this.mediaPlane && !r))(), m = (() => !!(!this.mediaPlane && r))(), a = (() => !!(this.mediaPlane && this.mediaPlane.src !== t))();
109
- if ((o || a) && this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0), m || a) {
110
- const p = this.position.map(d), n = new u(t, p, {
111
- videoCoverSrc: e.videoCoverUrl,
242
+ const { url: i } = t;
243
+ if (!i)
244
+ return;
245
+ const r = this.currentVisible, m = (() => !!(this.mediaPlane && !r))(), p = (() => !!(!this.mediaPlane && r))(), e = (() => !!(this.mediaPlane && this.mediaPlane.src !== i))();
246
+ if ((m || e) && this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0), p || e) {
247
+ const l = this.position.map(P), a = new E(i, l, {
248
+ videoCoverSrc: t.videoCoverUrl,
112
249
  playButton: this.data.playIcon,
113
- paused: !((i = this.data.autoplayConfig) != null && i.autoplayVideo),
250
+ paused: !((o = this.data.autoplayConfig) != null && o.autoplayVideo),
114
251
  objectFit: this.data.objectFit,
115
- videoTextureMap: P,
116
- ImageTextureMap: g,
252
+ videoTextureMap: G,
253
+ ImageTextureMap: x,
117
254
  domEvents: this.plugin.domEvents
118
255
  });
119
- n.onVideoReady = (s) => {
120
- s.addEventListener("play", () => this.plugin.mediaStore.set({ currentMediaElement: n.videoInstance }));
256
+ a.onVideoReady = (n) => {
257
+ n.addEventListener("play", () => this.plugin.mediaStore.set({ currentMediaElement: a.videoInstance }));
121
258
  };
122
- const l = (s) => (this.five.on("renderFrame", s), () => this.five.off("renderFrame", s));
123
- n.initialRenderHooks(l), this.mediaPlane = n, this.play = () => n.play(), this.pause = () => n.pause(), this.plugin.imagePlaneGroup.add(this.mediaPlane);
259
+ const h = (n) => (this.five.on("renderFrame", n), () => this.five.off("renderFrame", n));
260
+ a.initialRenderHooks(h), this.mediaPlane = a, this.play = () => a.play(), this.pause = () => a.pause(), this.plugin.imagePlaneGroup.add(this.mediaPlane);
124
261
  }
125
262
  this.five.needsRender = !0;
126
263
  }
127
264
  renderImagePlane() {
128
- const e = this.data.mediaData[0];
129
- if (!e)
130
- return;
131
- const { url: t } = e;
265
+ const t = this.data.mediaData[0];
132
266
  if (!t)
133
267
  return;
134
- const r = this.position.map(d), o = this.currentVisible, m = (() => !!(this.mediaPlane && !o))(), a = (() => !!(!this.mediaPlane && o))(), i = (() => !!(this.mediaPlane && this.mediaPlane.src !== t))();
135
- (m || i) && this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0), (a || i) && (this.mediaPlane = new c(t, r, { objectFit: this.data.objectFit }), this.getConfig().clickable !== !1 && this.plugin.domEvents.addAutoBindEventListener(
268
+ const { url: i } = t;
269
+ if (!i)
270
+ return;
271
+ const r = this.position.map(P), m = this.currentVisible, p = (() => !!(this.mediaPlane && !m))(), e = (() => !!(!this.mediaPlane && m))(), o = (() => !!(this.mediaPlane && this.mediaPlane.src !== i))();
272
+ (p || o) && this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0), (e || o) && (this.mediaPlane = new j(i, r, { objectFit: this.data.objectFit }), this.getConfig().clickable !== !1 && this.plugin.domEvents.addAutoBindEventListener(
136
273
  this.mediaPlane,
137
274
  "click",
138
- (p) => {
139
- this.plugin.hooks.emit("click", { tag: this, target: "TagContent", event: p.origDomEvent });
275
+ (l) => {
276
+ this.plugin.hooks.emit("click", { tag: this, target: "TagContent", event: l.origDomEvent });
140
277
  },
141
278
  { noEmitWhenHide: !0 }
142
279
  ), this.plugin.imagePlaneGroup.add(this.mediaPlane)), this.five.needsRender = !0;
143
280
  }
144
281
  computeNormal() {
145
- return h(this.position);
282
+ return R(this.position);
146
283
  }
147
284
  }
148
285
  export {
149
- ee as PlaneTag
286
+ $e as PlaneTag
150
287
  };
@@ -24,6 +24,8 @@ export declare class PointTag<C extends TagContentType = TagContentType> extends
24
24
  updateScreenPosition(params?: {
25
25
  force?: boolean;
26
26
  }): void;
27
+ set(...data: Parameters<InstanceType<typeof BaseTag<C, '2DPoint' | '3DPoint'>>['set']>): void;
28
+ setData(...data: Parameters<InstanceType<typeof BaseTag<C, '2DPoint' | '3DPoint'>>['setData']>): void;
27
29
  updateUnfoldedByPanoIndex(): void;
28
30
  computeNormal(): THREE.Vector3;
29
31
  }
@@ -1,6 +1,6 @@
1
- var h = Object.defineProperty;
2
- var f = (s, r, t) => r in s ? h(s, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[r] = t;
3
- var p = (s, r, t) => (f(s, typeof r != "symbol" ? r + "" : r, t), t);
1
+ var c = Object.defineProperty;
2
+ var f = (n, o, t) => o in n ? c(n, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[o] = t;
3
+ var p = (n, o, t) => (f(n, typeof o != "symbol" ? o + "" : o, t), t);
4
4
  import { BaseTag as g } from "./BaseTag.js";
5
5
  import * as l from "three";
6
6
  import "../../../shared-utils/Subscribe.js";
@@ -32,8 +32,8 @@ import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
32
32
  import "../../../shared-utils/three/Assets/index.js";
33
33
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
34
34
  import "three/examples/jsm/renderers/CSS3DRenderer";
35
- import "../../../CSS3DRenderPlugin/utils/even.js";
36
- import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
35
+ import "../../../shared-utils/even.js";
36
+ import "../../../shared-utils/CSS3DRender/OpacityMesh.js";
37
37
  import "../../../shared-utils/three/centerPoint.js";
38
38
  import "../../../shared-utils/three/getObjectVisible.js";
39
39
  import "@realsee/five/line";
@@ -45,9 +45,9 @@ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
45
45
  import "../../../shared-utils/five/FivePuppet.js";
46
46
  import "../../../shared-utils/three/PointSelector/utils/html.js";
47
47
  import "../../../shared-utils/five/initialCSS3DRender.js";
48
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
49
- import "../../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
50
- import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
48
+ import "../../../shared-utils/CSS3DRender/CSS3DRenderer.js";
49
+ import "../../../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
50
+ import "../../../shared-utils/createResizeObserver.js";
51
51
  import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
52
52
  import "../../../Sculpt/Meshes/Line.js";
53
53
  import "../../../Sculpt/typings/style.js";
@@ -91,16 +91,16 @@ class zt extends g {
91
91
  */
92
92
  unfoldAndFoldOthers() {
93
93
  const t = this.can("fold"), i = this.can("unfold");
94
- t && i && (this.state.unfolded = !this.state.unfolded, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.state.unfolded && this.plugin.tags.forEach((o) => {
95
- o.id !== this.id && o.fold();
94
+ t && i && (this.state.unfolded = !this.state.unfolded, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.state.unfolded && this.plugin.tags.forEach((s) => {
95
+ s.id !== this.id && s.fold();
96
96
  }));
97
97
  }
98
98
  onClick(t) {
99
99
  t.target === "TagPoint" && this.unfoldAndFoldOthers();
100
100
  }
101
101
  applyVisible() {
102
- var t, i, o, e;
103
- this.currentVisible && this.updateScreenPosition(), (o = (i = (t = this.tag3DContentSvelte) == null ? void 0 : t.css3DInstance) == null ? void 0 : i.css3DObject) == null || o.setVisible(this.currentVisible), (e = this.tag3DContentSvelte) == null || e.svelteApp.$set({
102
+ var t, i;
103
+ this.currentVisible && this.updateScreenPosition(), (t = this.tag3DContentSvelte) != null && t.css3DInstance && (this.tag3DContentSvelte.css3DInstance.visible = this.temporaryState.visible && this.state.visible), (i = this.tag3DContentSvelte) == null || i.svelteApp.$set({
104
104
  state: this.plugin.state,
105
105
  temporaryState: this.temporaryState
106
106
  }), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
@@ -116,43 +116,49 @@ class zt extends g {
116
116
  * @param {boolean} unfolded
117
117
  */
118
118
  setUnfold(t) {
119
- const i = this.can("fold"), o = this.can("unfold");
120
- i && o && (this.state.unfolded = t, this.hooks.emit(t ? "unfolded" : "folded"), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
119
+ const i = this.can("fold"), s = this.can("unfold");
120
+ i && s && (this.state.unfolded = t, this.hooks.emit(t ? "unfolded" : "folded"), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
121
121
  }
122
122
  setPosition(t) {
123
123
  this.originPosition = t, this.position = t, this.cache.clear(), this.updateVisible(), this.updateScreenPosition(), this.updateZIndex(), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
124
124
  }
125
125
  updateScreenPosition(t) {
126
- var m;
126
+ var a;
127
127
  if (this.stickType !== "2DPoint" && this.stickType !== "3DPoint")
128
128
  return;
129
- const { force: i = !1 } = t != null ? t : {}, o = i ? this.state.visible : this.currentVisible, e = (m = this.__Object__) != null ? m : {
129
+ const { force: i = !1 } = t != null ? t : {}, s = i ? this.state.visible : this.currentVisible, e = (a = this.__Object__) != null ? a : {
130
130
  timeoutId: void 0,
131
131
  inAnimation: !1
132
132
  };
133
- if (this.__Object__ = e, !o && this.screenPosition ? (e.inAnimation = !0, e.timeoutId = setTimeout(() => {
133
+ if (this.__Object__ = e, !s && this.screenPosition ? (e.inAnimation = !0, e.timeoutId = setTimeout(() => {
134
134
  requestAnimationFrame(() => {
135
135
  this.currentVisible || (e.inAnimation = !1, this.screenPosition = null, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
136
136
  });
137
- }, 1e3)) : e.timeoutId && (clearTimeout(e.timeoutId), e.inAnimation = !1, e.timeoutId = void 0), !o && !e.inAnimation)
137
+ }, 1e3)) : e.timeoutId && (clearTimeout(e.timeoutId), e.inAnimation = !1, e.timeoutId = void 0), !s && !e.inAnimation)
138
138
  return;
139
- const n = this.computeTagProject();
140
- if (n && this.five.renderer) {
141
- const a = (() => {
139
+ const r = this.computeTagProject();
140
+ if (r && this.five.renderer) {
141
+ const m = (() => {
142
142
  if (!this.currentConfig.simulate3D)
143
143
  return 1;
144
- const u = 2 * Math.tan(0.5 * this.five.camera.fov / 180 * Math.PI), c = this.getDistance(void 0, 1);
145
- return Math.max(Math.min(1 - u * c / 40, 1), 0.5);
144
+ const u = 2 * Math.tan(0.5 * this.five.camera.fov / 180 * Math.PI), h = this.getDistance(void 0, 1);
145
+ return Math.max(Math.min(1 - u * h / 40, 1), 0.5);
146
146
  })(), d = this.five.renderer.getSize(v);
147
147
  this.screenPosition = {
148
- leftPx: (n.x + 1) / 2 * d.x,
149
- topPx: (-n.y + 1) / 2 * d.y,
150
- scale: a
148
+ leftPx: (r.x + 1) / 2 * d.x,
149
+ topPx: (-r.y + 1) / 2 * d.y,
150
+ scale: m
151
151
  };
152
152
  } else
153
153
  this.screenPosition = null;
154
154
  this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
155
155
  }
156
+ set(...t) {
157
+ super.set(...t), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.setPosition(this.position);
158
+ }
159
+ setData(...t) {
160
+ super.setData(...t), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
161
+ }
156
162
  updateUnfoldedByPanoIndex() {
157
163
  const t = this.getUnfoldedByPanoIndex();
158
164
  if (this.state && (t !== void 0 && (this.state.unfolded = t), t && !this.state.visible)) {
@@ -1,19 +1,18 @@
1
- import type { TagObjectGroup, TagGLTFObjectGroup, ImagePlaneGroup, TagContentType, ElementRenderer, TagRendererMap, TagContentTypeMapping, TagInstance } from '../typings';
1
+ import type { TagObjectGroup, TagGLTFObjectGroup, ImagePlaneGroup, TagContentType, ElementRenderer, TagRendererMap, TagContentTypeMapping } from '../typings';
2
2
  import type { TemporaryState } from '../typings';
3
- import type { Object3D } from 'three';
4
3
  import TagContainerSvelte from '../Components/TagContainer.svelte';
5
4
  import type { Five } from '@realsee/five';
6
5
  import { TagUtil } from './TagUtil';
7
6
  export declare abstract class TagRender extends TagUtil {
8
7
  rendererMap: TagRendererMap;
9
8
  contentTypeMap: TagContentTypeMapping;
10
- protected group: TagObjectGroup;
9
+ group: TagObjectGroup;
11
10
  imagePlaneGroup: ImagePlaneGroup;
12
11
  gltfObjectGroup: TagGLTFObjectGroup;
13
12
  /** 维护一个可用模型表,用于快速删除不应该在场景中的模型 */
14
13
  protected enabledModelTagSet: Set<string | number>;
15
14
  /** 临时状态 */
16
- protected temporaryState: TemporaryState;
15
+ temporaryState: TemporaryState;
17
16
  /** 点标签 */
18
17
  TagContainerSvelte?: TagContainerSvelte;
19
18
  constructor(five: Five);
@@ -29,15 +28,6 @@ export declare abstract class TagRender extends TagUtil {
29
28
  usePoint?: boolean;
30
29
  }): void;
31
30
  bindRenderer(contentType: string, builtInRenderer: TagContentType): void;
32
- /**
33
- * @description 渲染3D贴片
34
- */
35
- updateRender3DDomTag(tag?: TagInstance | TagInstance[]): void;
36
- /** 更新标签中多媒体面片的位置
37
- * @param tag 标签
38
- * @param model 模型
39
- */
40
- updateTagCss3DObjectMatrix<S extends 'Model' | 'Plane' = 'Model'>(tag: TagInstance<TagContentType, S>, model: Object3D): void;
41
31
  protected disposeAllCSS3DContainer(): void;
42
32
  /**
43
33
  * @description 检查并销毁不用的3D贴片