@realsee/dnalogel 3.54.2 → 3.55.1-alpha.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 (479) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/dist/ModelMakerPlugin/item/baseItem.d.ts +1 -0
  3. package/dist/ModelMakerPlugin/item/prismItem.d.ts +7 -0
  4. package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +3 -3
  5. package/dist/PanoTagPlugin/controller/Tag/PointTag.d.ts +0 -1
  6. package/dist/PanoTagPlugin/controller/index.d.ts +2 -0
  7. package/dist/Sculpt/Meshes/Line.d.ts +1 -1
  8. package/dist/Sculpt/Objects/Base/Editor.d.ts +2 -0
  9. package/dist/Sculpt/typings/style.d.ts +15 -5
  10. package/dist/index.cjs.js +58 -58
  11. package/dist/index.js +5343 -5261
  12. package/dist/index.umd.js +51 -51
  13. package/dist/shared-utils/Object3DHelper/index.d.ts +4 -0
  14. package/dist/shared-utils/three/core/LineMaterial.d.ts +1 -5
  15. package/dist/shared-utils/three/core/LineMaterial2.d.ts +1 -5
  16. package/docs/assets/navigation.js +1 -1
  17. package/docs/assets/search.js +1 -1
  18. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
  19. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
  20. package/docs/classes/CSS3DRender.html +3 -3
  21. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  22. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
  23. package/docs/classes/ModelMakerPluginInstance.html +15 -15
  24. package/docs/classes/ModelRoomLabelController.html +6 -6
  25. package/docs/classes/MoveController.html +17 -17
  26. package/docs/classes/Object3DHelperController.html +15 -15
  27. package/docs/classes/PaintBrush.html +5 -5
  28. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  29. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  30. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  31. package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
  32. package/docs/classes/PanoTagPluginController.html +35 -35
  33. package/docs/classes/Sculpt.html +23 -23
  34. package/docs/classes/Util.BetterTween.html +2 -2
  35. package/docs/classes/Util.FiveDomEvents.html +4 -4
  36. package/docs/classes/Util.FivePuppet.html +3 -3
  37. package/docs/classes/Util.Interval.html +5 -5
  38. package/docs/classes/Util.LightTag.html +14 -14
  39. package/docs/classes/Util.LineSegments.html +2 -2
  40. package/docs/classes/Util.Magnifier.html +6 -6
  41. package/docs/classes/Util.Object3D.html +4 -4
  42. package/docs/classes/Util.PointHelper.html +2 -2
  43. package/docs/classes/Util.PointSelector.html +11 -11
  44. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  45. package/docs/classes/Util.Rectangle.html +5 -5
  46. package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
  47. package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
  48. package/docs/classes/Util.sculpt.BoxMeshEditor.html +8 -7
  49. package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
  50. package/docs/classes/Util.sculpt.CircleMeshEditor.html +8 -7
  51. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
  52. package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
  53. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +8 -7
  54. package/docs/classes/Util.sculpt.LineMesh.html +6 -6
  55. package/docs/classes/Util.sculpt.PointMesh.html +5 -5
  56. package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
  57. package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
  58. package/docs/classes/Util.sculpt.PrismMeshEditor.html +8 -7
  59. package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
  60. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +8 -7
  61. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
  62. package/docs/classes/WalkController.html +18 -18
  63. package/docs/enums/CameraMovementEffect.html +3 -3
  64. package/docs/enums/ContentType.html +18 -18
  65. package/docs/enums/DIRECTION.html +2 -2
  66. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  67. package/docs/enums/DimensionType.html +3 -3
  68. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  69. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  70. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  71. package/docs/enums/PointType.html +3 -3
  72. package/docs/enums/Rotation.html +3 -3
  73. package/docs/functions/AreaMakerPlugin.html +1 -1
  74. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  75. package/docs/functions/CameraMovementPlugin.html +2 -2
  76. package/docs/functions/CruisePlugin.html +1 -1
  77. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  78. package/docs/functions/GuideLinePlugin.html +1 -1
  79. package/docs/functions/ItemLabelPlugin.html +1 -1
  80. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  81. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  82. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  83. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  84. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  85. package/docs/functions/ModelMakerPlugin.html +1 -1
  86. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  87. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  88. package/docs/functions/ModelViewPlugin.html +2 -2
  89. package/docs/functions/MovePlugin.html +1 -1
  90. package/docs/functions/Object3DHelperPlugin.html +1 -1
  91. package/docs/functions/PanoCompassPlugin.html +1 -1
  92. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  93. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  94. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  95. package/docs/functions/PanoMeasurePlugin.html +1 -1
  96. package/docs/functions/PanoRulerPlugin.html +2 -2
  97. package/docs/functions/PanoRulerProPlugin.html +2 -2
  98. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  99. package/docs/functions/PanoTagPlugin.html +1 -1
  100. package/docs/functions/PanoVideoPlugin.html +2 -2
  101. package/docs/functions/PipelinePlugin.html +1 -1
  102. package/docs/functions/SculptPlugin.html +2 -2
  103. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  104. package/docs/functions/Util.absoluteUrl.html +2 -2
  105. package/docs/functions/Util.awaitNextFrame.html +1 -1
  106. package/docs/functions/Util.blink.html +2 -2
  107. package/docs/functions/Util.bounding.html +1 -1
  108. package/docs/functions/Util.boundingBox.html +1 -1
  109. package/docs/functions/Util.boundingSphere.html +1 -1
  110. package/docs/functions/Util.boxVertex.html +2 -2
  111. package/docs/functions/Util.boxVertexes.html +1 -1
  112. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  113. package/docs/functions/Util.convexHull.html +2 -2
  114. package/docs/functions/Util.equal.html +2 -2
  115. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  116. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  117. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  118. package/docs/functions/Util.getFrameTime.html +2 -2
  119. package/docs/functions/Util.inside.html +1 -1
  120. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  121. package/docs/functions/Util.isModelLike.html +1 -1
  122. package/docs/functions/Util.isNil.html +2 -2
  123. package/docs/functions/Util.isPanoramaLike.html +1 -1
  124. package/docs/functions/Util.lookObject.html +2 -2
  125. package/docs/functions/Util.lookPoint.html +2 -2
  126. package/docs/functions/Util.nextFrame.html +1 -1
  127. package/docs/functions/Util.notNil.html +2 -2
  128. package/docs/functions/Util.reblink.html +2 -2
  129. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  130. package/docs/functions/Util.sculpt.createBox.html +1 -1
  131. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  132. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  133. package/docs/functions/Util.sculpt.createLine.html +2 -2
  134. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  135. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  136. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  137. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  138. package/docs/functions/Util.tag.html +1 -1
  139. package/docs/functions/Util.tweenProgress.html +1 -1
  140. package/docs/functions/Util.uuid.html +2 -2
  141. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  142. package/docs/functions/Util.worldBounding.html +1 -1
  143. package/docs/functions/Util.worldBoundingBox.html +1 -1
  144. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  145. package/docs/functions/createPolyline.html +2 -2
  146. package/docs/functions/pluginFlag.html +1 -1
  147. package/docs/hierarchy.html +1 -1
  148. package/docs/index.html +2 -2
  149. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  150. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  151. package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
  152. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  153. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
  154. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  155. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  156. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  157. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  158. package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
  159. package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
  160. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  161. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  162. package/docs/interfaces/ContentTypeMapInterface.html +15 -15
  163. package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
  164. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  165. package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
  166. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  167. package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
  168. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
  169. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
  170. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  171. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  172. package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
  173. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
  174. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
  175. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  176. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  177. package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
  178. package/docs/interfaces/FloorplanBounding.html +5 -5
  179. package/docs/interfaces/FloorplanData.html +3 -3
  180. package/docs/interfaces/FloorplanEntrance.html +8 -8
  181. package/docs/interfaces/FloorplanExtraObject.html +5 -5
  182. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  183. package/docs/interfaces/FloorplanFloorData.html +3 -3
  184. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  185. package/docs/interfaces/FloorplanObserver.html +3 -3
  186. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  187. package/docs/interfaces/FloorplanPosition.html +3 -3
  188. package/docs/interfaces/FloorplanRoomItem.html +8 -8
  189. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
  190. package/docs/interfaces/FloorplanServerBounding.html +5 -5
  191. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  192. package/docs/interfaces/FloorplanServerData.html +3 -3
  193. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  194. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  195. package/docs/interfaces/FloorplanServerEntrance.html +8 -8
  196. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  197. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  198. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  199. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  200. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  201. package/docs/interfaces/FloorplanServerRoomItem.html +9 -9
  202. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
  203. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  204. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  205. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
  206. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
  207. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  209. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  210. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
  212. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  213. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
  214. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  215. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  216. package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
  217. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  218. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
  219. package/docs/interfaces/HelperOffset.html +2 -2
  220. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  221. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  222. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  223. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  224. package/docs/interfaces/MinMax.html +2 -2
  225. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  226. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  227. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  228. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  229. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  230. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  231. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  232. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  233. package/docs/interfaces/ModelMakerPluginType.EventMap.html +10 -10
  234. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  235. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
  236. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  237. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
  238. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
  239. package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
  240. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  241. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  242. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  243. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  244. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  245. package/docs/interfaces/Object3DHelperState.html +2 -2
  246. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  247. package/docs/interfaces/PaintBrushAction.html +7 -7
  248. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  249. package/docs/interfaces/PaintBrushState.html +2 -2
  250. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  251. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  252. package/docs/interfaces/PanoMeasureParameterType.html +6 -6
  253. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  254. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  255. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  256. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
  257. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  258. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  259. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  260. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  261. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  262. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  263. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  264. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  265. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  266. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  267. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  268. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  269. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  270. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  271. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  272. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  273. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  274. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
  275. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  276. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  277. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  278. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
  279. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
  280. package/docs/interfaces/PluginEventMap.html +4 -4
  281. package/docs/interfaces/Point.html +2 -2
  282. package/docs/interfaces/Room.html +2 -2
  283. package/docs/interfaces/RoomInfo.html +2 -2
  284. package/docs/interfaces/RoomLabel.html +7 -7
  285. package/docs/interfaces/RoomRules.html +1 -1
  286. package/docs/interfaces/Rooms.html +1 -1
  287. package/docs/interfaces/Scissor.html +6 -6
  288. package/docs/interfaces/State.html +4 -4
  289. package/docs/interfaces/TagCacheInterface.html +3 -3
  290. package/docs/interfaces/TagConfig.html +10 -10
  291. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  292. package/docs/interfaces/TagIconUrl.html +7 -7
  293. package/docs/interfaces/TagObjectGroup.html +2 -2
  294. package/docs/interfaces/TagStyle.html +2 -2
  295. package/docs/interfaces/Tags.html +4 -4
  296. package/docs/interfaces/TemporaryState.html +2 -2
  297. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  298. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  299. package/docs/interfaces/Util.EventHandlerConfig.html +4 -4
  300. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  301. package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
  302. package/docs/interfaces/Util.MagnifierParameter.html +5 -5
  303. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  304. package/docs/interfaces/Util.PointIntersection.html +4 -4
  305. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  306. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  307. package/docs/modules/AreaMakerPluginType.html +2 -2
  308. package/docs/modules/CruisePluginTypes.html +2 -2
  309. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  310. package/docs/modules/GuideLineItem.html +2 -2
  311. package/docs/modules/GuideLineModeItem.html +2 -2
  312. package/docs/modules/GuideLinePluginType.html +2 -2
  313. package/docs/modules/ModelMakerPluginType.html +2 -2
  314. package/docs/modules/PanoVideoPluginType.html +2 -2
  315. package/docs/modules/SculptData.html +2 -2
  316. package/docs/modules/Util.html +2 -2
  317. package/docs/modules/Util.sculpt.html +2 -2
  318. package/docs/modules.html +2 -2
  319. package/docs/types/AddObject3DHelperConfig.html +2 -2
  320. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  321. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  322. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  323. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  324. package/docs/types/ArrayPosition.html +1 -1
  325. package/docs/types/AudioAppearance.html +1 -1
  326. package/docs/types/CSS3DRenderExportType.html +1 -1
  327. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  328. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  329. package/docs/types/ClassFunctionParameters.html +1 -1
  330. package/docs/types/Color.html +1 -1
  331. package/docs/types/ContentTypeConfigKey.html +1 -1
  332. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  333. package/docs/types/ContentTypeMap.html +1 -1
  334. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  335. package/docs/types/Create3DElementReturnType.html +1 -1
  336. package/docs/types/CruisePluginExportType.html +1 -1
  337. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  338. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  339. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  340. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  341. package/docs/types/DeprecatedTagProperty.html +2 -2
  342. package/docs/types/Direction-1.html +1 -1
  343. package/docs/types/Direction4.html +1 -1
  344. package/docs/types/ElementRenderer.html +2 -2
  345. package/docs/types/FloorplanRuleLabels.html +2 -2
  346. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  347. package/docs/types/GuideLinePluginExportType.html +1 -1
  348. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  349. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  350. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  351. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  352. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  353. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  354. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  355. package/docs/types/HelperEventMap.html +1 -1
  356. package/docs/types/InternalHelperEventMap.html +1 -1
  357. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  358. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  359. package/docs/types/MediaData.html +2 -2
  360. package/docs/types/MediaStore.html +1 -1
  361. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  362. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  363. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  364. package/docs/types/ModelId.html +1 -1
  365. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  366. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  367. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  368. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  369. package/docs/types/MoveArgs.html +2 -2
  370. package/docs/types/MoveOpts.html +2 -2
  371. package/docs/types/Object3DHelperEventMap.html +1 -1
  372. package/docs/types/ObjectFit.html +1 -1
  373. package/docs/types/PaintBrushEventMap.html +1 -1
  374. package/docs/types/PanoCompassPluginData.html +1 -1
  375. package/docs/types/PanoCompassPluginExportType.html +1 -1
  376. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  377. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  378. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  379. package/docs/types/PanoIndex.html +1 -1
  380. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  381. package/docs/types/PanoMeasureReturnType.html +1 -1
  382. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  383. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  384. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  385. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  386. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  387. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  388. package/docs/types/PipelinePluginParameterType.html +1 -1
  389. package/docs/types/PipelinePluginReturnType.html +1 -1
  390. package/docs/types/PlaneTag.html +2 -2
  391. package/docs/types/Point2DTag.html +2 -2
  392. package/docs/types/Point3DTag.html +2 -2
  393. package/docs/types/PointTagInstance.html +1 -1
  394. package/docs/types/Position.html +1 -1
  395. package/docs/types/PositionFrom.html +1 -1
  396. package/docs/types/RotateArgs.html +2 -2
  397. package/docs/types/RotateOpts.html +2 -2
  398. package/docs/types/RuleLabelsKey.html +1 -1
  399. package/docs/types/RuleLabelsValue.html +1 -1
  400. package/docs/types/ScaleCallback.html +1 -1
  401. package/docs/types/ScalePosition.html +2 -2
  402. package/docs/types/SculptData.BoxData.html +1 -1
  403. package/docs/types/SculptData.CircleData.html +1 -1
  404. package/docs/types/SculptData.CylinderData.html +1 -1
  405. package/docs/types/SculptData.PointData.html +1 -1
  406. package/docs/types/SculptData.PolygonData.html +1 -1
  407. package/docs/types/SculptData.PolylineData.html +1 -1
  408. package/docs/types/SculptData.PrismData.html +1 -1
  409. package/docs/types/SculptData.RectangleData.html +1 -1
  410. package/docs/types/StickType.html +1 -1
  411. package/docs/types/Tag.html +2 -2
  412. package/docs/types/Tag2D.html +2 -2
  413. package/docs/types/Tag3D.html +2 -2
  414. package/docs/types/TagClickParams.html +1 -1
  415. package/docs/types/TagConfigByKey.html +1 -1
  416. package/docs/types/TagContentType.html +1 -1
  417. package/docs/types/TagContentTypeMapping.html +1 -1
  418. package/docs/types/TagDimensionType.html +1 -1
  419. package/docs/types/TagElement.html +2 -2
  420. package/docs/types/TagEvents.html +1 -1
  421. package/docs/types/TagGLTFObject.html +1 -1
  422. package/docs/types/TagHooks.html +1 -1
  423. package/docs/types/TagId.html +1 -1
  424. package/docs/types/TagInstance.html +1 -1
  425. package/docs/types/TagPointType.html +2 -2
  426. package/docs/types/TagRendererMap.html +1 -1
  427. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  428. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  429. package/docs/types/Util.ActionIfNoModelUnderMouse.html +1 -1
  430. package/docs/types/Util.PointSelectorConfig.html +1 -1
  431. package/docs/types/WorkCode.html +1 -1
  432. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  433. package/docs/variables/PLUGIN.html +1 -1
  434. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  435. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  436. package/docs/variables/Util.animeMap.html +1 -1
  437. package/docs/variables/defaultGlobalConfig.html +1 -1
  438. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  439. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  440. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  441. package/libs/CruisePlugin/Work.js +1 -1
  442. package/libs/ModelMakerPlugin/Controller.js +116 -125
  443. package/libs/ModelMakerPlugin/item/baseItem.d.ts +1 -0
  444. package/libs/ModelMakerPlugin/item/baseItem.js +21 -18
  445. package/libs/ModelMakerPlugin/item/prismItem.d.ts +7 -0
  446. package/libs/ModelMakerPlugin/item/prismItem.js +86 -22
  447. package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +3 -3
  448. package/libs/PanoTagPlugin/controller/Tag/PointTag.d.ts +0 -1
  449. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +58 -47
  450. package/libs/PanoTagPlugin/controller/index.d.ts +2 -0
  451. package/libs/PanoTagPlugin/controller/index.js +160 -133
  452. package/libs/Sculpt/Meshes/CircleWithEdge.js +22 -30
  453. package/libs/Sculpt/Meshes/Line.d.ts +1 -1
  454. package/libs/Sculpt/Meshes/Line.js +96 -97
  455. package/libs/Sculpt/Meshes/PolygonWithEdge.js +14 -14
  456. package/libs/Sculpt/Meshes/Polyline.js +20 -20
  457. package/libs/Sculpt/Meshes/Prism.js +48 -49
  458. package/libs/Sculpt/Meshes/RectangleWithEdge.js +18 -19
  459. package/libs/Sculpt/Objects/Base/Editor.d.ts +2 -0
  460. package/libs/Sculpt/Objects/Base/Editor.js +34 -28
  461. package/libs/Sculpt/Objects/Box/index.js +24 -24
  462. package/libs/Sculpt/Objects/Circle/index.js +25 -25
  463. package/libs/Sculpt/Objects/Cylinder/index.js +35 -35
  464. package/libs/Sculpt/Objects/Polygon/index.js +18 -18
  465. package/libs/Sculpt/Objects/Prism/index.js +25 -25
  466. package/libs/Sculpt/Objects/Rectangle/index.js +14 -14
  467. package/libs/Sculpt/typings/style.d.ts +15 -5
  468. package/libs/Sculpt/typings/style.js +3 -2
  469. package/libs/Sculpt/utils/three/ColoredMesh.js +5 -5
  470. package/libs/base/BasePlugin.js +5 -5
  471. package/libs/shared-utils/Object3DHelper/index.d.ts +4 -0
  472. package/libs/shared-utils/Object3DHelper/index.js +21 -13
  473. package/libs/shared-utils/logger.js +1 -1
  474. package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +1 -1
  475. package/libs/shared-utils/three/core/LineMaterial.d.ts +1 -5
  476. package/libs/shared-utils/three/core/LineMaterial.js +18 -11
  477. package/libs/shared-utils/three/core/LineMaterial2.d.ts +1 -5
  478. package/libs/shared-utils/three/core/LineMaterial2.js +18 -11
  479. package/package.json +1 -1
@@ -1,27 +1,35 @@
1
- var c = Object.defineProperty, l = Object.defineProperties;
2
- var x = Object.getOwnPropertyDescriptors;
3
- var p = Object.getOwnPropertySymbols;
4
- var d = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
5
- var i = (t, o, r) => o in t ? c(t, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[o] = r, e = (t, o) => {
6
- for (var r in o || (o = {}))
7
- d.call(o, r) && i(t, r, o[r]);
8
- if (p)
9
- for (var r of p(o))
10
- b.call(o, r) && i(t, r, o[r]);
1
+ var d = Object.defineProperty, u = Object.defineProperties;
2
+ var b = Object.getOwnPropertyDescriptors;
3
+ var l = Object.getOwnPropertySymbols;
4
+ var F = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
5
+ var s = (t, i, o) => i in t ? d(t, i, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[i] = o, h = (t, i) => {
6
+ for (var o in i || (i = {}))
7
+ F.call(i, o) && s(t, o, i[o]);
8
+ if (l)
9
+ for (var o of l(i))
10
+ v.call(i, o) && s(t, o, i[o]);
11
11
  return t;
12
- }, s = (t, o) => l(t, x(o));
13
- import { boundingBox as M, boxVertex as n } from "../../shared-utils/three/boundingBox.js";
14
- import { ModelMakerBaseItem as f } from "./baseItem.js";
15
- import * as u from "three";
16
- import "../../shared-utils/three/core/Sphere.js";
17
- import "../../shared-utils/three/addIfNotExists.js";
18
- import "../../shared-utils/Subscribe.js";
12
+ }, n = (t, i) => u(t, b(i));
13
+ var m = (t, i, o) => (s(t, typeof i != "symbol" ? i + "" : i, o), o);
19
14
  import "../../shared-utils/tag.js";
15
+ import * as c from "three";
16
+ import "hammerjs";
17
+ import "../../shared-utils/three/PointSelector/index.js";
18
+ import "three/examples/jsm/renderers/CSS3DRenderer";
19
+ import "@realsee/five/line";
20
+ import { isNil as f } from "../../shared-utils/isNil.js";
21
+ import "../../shared-utils/three/core/Five_LineMaterial2.js";
22
+ import { boundingBox as w, boxVertex as a } from "../../shared-utils/three/boundingBox.js";
23
+ import "animejs";
24
+ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
25
+ import "../../shared-utils/five/FivePuppet.js";
26
+ import { ModelMakerBaseItem as _ } from "./baseItem.js";
20
27
  import "../../shared-utils/positionToVector3.js";
21
28
  import "../../shared-utils/five/vector3ToScreen.js";
22
29
  import "../../shared-utils/five/getFiveModel.js";
23
30
  import "../../shared-utils/Utils/FiveUtil.js";
24
31
  import "../../shared-utils/Utils/BaseUtil.js";
32
+ import "../../shared-utils/Subscribe.js";
25
33
  import "../../shared-utils/Utils/WorkUtil.js";
26
34
  import "../../shared-utils/five/transformPosition.js";
27
35
  import "../../shared-utils/three/temp.js";
@@ -29,16 +37,72 @@ import "../../shared-utils/three/core/Raycaster.js";
29
37
  import "../../shared-utils/dom/resizeObserver.js";
30
38
  import "../../shared-utils/five/fiveEveryReadyListener.js";
31
39
  import "../../shared-utils/throttle.js";
40
+ import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
41
+ import "../../shared-utils/three/Magnifier.js";
42
+ import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
43
+ import "../../shared-utils/three/Assets/index.js";
44
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
45
+ import "../../CSS3DRenderPlugin/utils/even.js";
46
+ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
47
+ import "../../shared-utils/three/centerPoint.js";
48
+ import "../../shared-utils/three/getObjectVisible.js";
49
+ import "../../shared-utils/three/core/Sphere.js";
50
+ import "../../shared-utils/three/PointSelector/utils/html.js";
51
+ import "../../shared-utils/five/initialCSS3DRender.js";
52
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
53
+ import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
54
+ import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
55
+ import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
56
+ import "../../Sculpt/Meshes/Line.js";
57
+ import "../../Sculpt/typings/style.js";
58
+ import "../../shared-utils/three/IObject3D.js";
59
+ import "../../Sculpt/utils/removeAllTag.js";
60
+ import "../../Sculpt/utils/Meshes/getLengthHTML.js";
61
+ import "../../shared-utils/three/applyObjectMatrixWorld.js";
62
+ import "../../shared-utils/util.js";
63
+ import "../../shared-utils/three/core/LineGeometry.js";
64
+ import "../../shared-utils/three/core/LineMaterial.js";
65
+ import "../../shared-utils/three/core/Line2.js";
66
+ import "../../shared-utils/three/core/LineMaterial2.js";
67
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
68
+ import "../../shared-utils/isTouchDevice.js";
69
+ import "../../shared-utils/five/getPosition.js";
70
+ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
71
+ import "../../shared-utils/three/PointSelector/utils/contents.js";
72
+ import "@realsee/five";
73
+ import "../../shared-utils/three/addIfNotExists.js";
32
74
  import "../utils/getFiveDomEvent.js";
33
75
  import "../../shared-utils/five/FiveDomEvents.js";
34
- import "../../shared-utils/three/getObjectVisible.js";
35
76
  import "../../shared-utils/five/calculateThreeMouse.js";
36
- class K extends f {
77
+ class Eo extends _ {
37
78
  constructor(...o) {
38
- const r = o[0], m = M(r.model), a = new u.Vector3().lerpVectors(n(m, 0), n(m, 5), 0.5);
39
- super(s(e({}, r), { position: a })), this.enable();
79
+ const r = o[0], e = w(r.model), p = new c.Vector3().lerpVectors(a(e, 0), a(e, 5), 0.5);
80
+ super(n(h({}, r), { position: p }));
81
+ m(this, "_visible", !0);
82
+ m(this, "_visibleByFloor", !0);
83
+ m(this, "onModelShownFloorChange", (o) => {
84
+ this.updateFiveCurrentFloorState(o), this.updateVisible();
85
+ });
86
+ m(this, "updateFiveCurrentFloorState", (o) => {
87
+ var e, p;
88
+ const r = (p = (e = this.rawData) == null ? void 0 : e.object_data) == null ? void 0 : p.floorIndex;
89
+ f(r) ? this._visibleByFloor = !0 : this._visibleByFloor = o === null ? !0 : r === o;
90
+ });
91
+ this.enable(), this.five.on("modelShownFloorChange", this.onModelShownFloorChange), this.disposers.push(() => {
92
+ this.five.off("modelShownFloorChange", this.onModelShownFloorChange);
93
+ });
94
+ }
95
+ show() {
96
+ this.updateFiveCurrentFloorState(this.five.model.shownFloor), this._visible = !0, this.updateVisible(), this.emit("show");
97
+ }
98
+ hide() {
99
+ this._visible = !1, this.updateVisible(), this.emit("hide");
100
+ }
101
+ updateVisible() {
102
+ const o = this._visible && this._visibleByFloor;
103
+ o ? this.tag.show() : this.tag.hide(), this.model.visible = o, this.five.needsRender = !0;
40
104
  }
41
105
  }
42
106
  export {
43
- K as ModelMakerPrismItem
107
+ Eo as ModelMakerPrismItem
44
108
  };
@@ -153,8 +153,8 @@ export declare abstract class BaseTag<C extends TagContentType = TagContentType,
153
153
  }): TagConfig;
154
154
  getDistance(fiveState?: Partial<FiveState>, accurate?: number): number;
155
155
  getVisible(fiveState?: Partial<FiveState>): boolean;
156
- getUnfoldedByPanoIndex(panoIndex?: number): boolean;
157
- getUnfoldedByCamera(): boolean;
156
+ getUnfoldedByPanoIndex(panoIndex?: number): any;
157
+ getUnfoldedByCamera(): any;
158
158
  can(action: 'show' | 'hide' | 'fold' | 'unfold'): boolean;
159
159
  onClick(params: Pick<TagClickParams, 'target'>): void;
160
160
  abstract computeNormal(): THREE.Vector3 | undefined;
@@ -204,7 +204,7 @@ export declare abstract class BaseTag<C extends TagContentType = TagContentType,
204
204
  * @description 获取是否展开
205
205
  */
206
206
  protected computeUnfoldedByPanoIndex(panoIndex?: number): boolean;
207
- protected computeUnfoldedByCamera(): boolean;
207
+ protected computeUnfoldedByCamera(): any;
208
208
  protected computeTagProject(): {
209
209
  x: number;
210
210
  y: number;
@@ -12,7 +12,6 @@ export declare class PointTag<C extends TagContentType = TagContentType> extends
12
12
  */
13
13
  unfoldAndFoldOthers(): void;
14
14
  onClick(params: Pick<TagClickParams, 'target'>): void;
15
- updateVisible(): void;
16
15
  applyVisible(): void;
17
16
  unfold(): void;
18
17
  fold(): void;
@@ -1,8 +1,8 @@
1
- var f = Object.defineProperty;
2
- var h = (r, s, t) => s in r ? f(r, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[s] = t;
3
- var l = (r, s, t) => (h(r, typeof s != "symbol" ? s + "" : s, t), t);
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);
4
4
  import { BaseTag as g } from "./BaseTag.js";
5
- import * as m from "three";
5
+ import * as l from "three";
6
6
  import "../../../shared-utils/Subscribe.js";
7
7
  import "../../utils/tag/calculateTagConfig.js";
8
8
  import "../../../vendor/object-assign-deep/objectAssignDeep.js";
@@ -78,45 +78,56 @@ import "../../../shared-utils/url/getUrl.js";
78
78
  import "../../../shared-utils/five/getFloorIndex.js";
79
79
  import "../../../shared-utils/safeObj.js";
80
80
  import "../../utils/Cache.js";
81
- const b = new m.Vector2();
82
- class Et extends g {
83
- constructor(t, e) {
84
- super(t, e);
85
- l(this, "__Object__");
86
- l(this, "requestIdleCallbackId");
81
+ const y = new l.Vector2();
82
+ class wt extends g {
83
+ constructor(t, i) {
84
+ super(t, i);
85
+ p(this, "__Object__");
86
+ p(this, "requestIdleCallbackId");
87
87
  }
88
88
  /**
89
89
  * @description 展开自己,收起其他标签
90
90
  */
91
91
  unfoldAndFoldOthers() {
92
- const t = this.can("fold"), e = this.can("unfold");
93
- t && e && (this.state.unfolded = !this.state.unfolded, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.state.unfolded && this.plugin.tags.forEach((o) => {
92
+ const t = this.can("fold"), i = this.can("unfold");
93
+ t && i && (this.state.unfolded = !this.state.unfolded, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.state.unfolded && this.plugin.tags.forEach((o) => {
94
94
  o.id !== this.id && o.fold();
95
95
  }));
96
96
  }
97
97
  onClick(t) {
98
98
  t.target === "TagPoint" && this.unfoldAndFoldOthers();
99
99
  }
100
- updateVisible() {
101
- if (typeof window.requestIdleCallback == "undefined") {
102
- super.updateVisible();
103
- return;
104
- }
105
- const t = () => {
106
- this.requestIdleCallbackId && cancelIdleCallback(this.requestIdleCallbackId), this.requestIdleCallbackId = requestIdleCallback(() => {
107
- super.updateVisible();
108
- });
109
- };
110
- let e = !1;
111
- requestIdleCallback(() => {
112
- e = !0;
113
- }), t(), setTimeout(() => {
114
- e || (this.requestIdleCallbackId && cancelIdleCallback(this.requestIdleCallbackId), super.updateVisible());
115
- }, 200);
116
- }
100
+ // public updateVisible() {
101
+ // if (typeof window.requestIdleCallback === 'undefined') {
102
+ // super.updateVisible()
103
+ // return
104
+ // }
105
+ // const doRequestIdleCallback = () => {
106
+ // if (this.requestIdleCallbackId) {
107
+ // cancelIdleCallback(this.requestIdleCallbackId)
108
+ // }
109
+ // this.requestIdleCallbackId = requestIdleCallback(() => {
110
+ // super.updateVisible()
111
+ // })
112
+ // }
113
+ // let canUseRequestIdleCallback = false
114
+ // requestIdleCallback(() => {
115
+ // canUseRequestIdleCallback = true
116
+ // })
117
+ // doRequestIdleCallback()
118
+ // // 防止不能用 requestIdleCallback 的情况,有些浏览器上有 requestIdleCallback 但是贼慢,要几秒钟。
119
+ // setTimeout(() => {
120
+ // if (!canUseRequestIdleCallback) {
121
+ // if (this.requestIdleCallbackId) {
122
+ // cancelIdleCallback(this.requestIdleCallbackId)
123
+ // }
124
+ // super.updateVisible()
125
+ // }
126
+ // }, 200)
127
+ // }
117
128
  applyVisible() {
118
- var t, e, o, i;
119
- this.currentVisible && this.updateScreenPosition(), (o = (e = (t = this.tag3DContentSvelte) == null ? void 0 : t.css3DInstance) == null ? void 0 : e.css3DObject) == null || o.setVisible(this.currentVisible), (i = this.tag3DContentSvelte) == null || i.svelteApp.$set({
129
+ var t, i, o, e;
130
+ 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({
120
131
  state: this.plugin.state,
121
132
  temporaryState: this.temporaryState
122
133
  }), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
@@ -132,38 +143,38 @@ class Et extends g {
132
143
  * @param {boolean} unfolded
133
144
  */
134
145
  setUnfold(t) {
135
- const e = this.can("fold"), o = this.can("unfold");
136
- e && o && (this.state.unfolded = t, this.hooks.emit(t ? "unfolded" : "folded"), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
146
+ const i = this.can("fold"), o = this.can("unfold");
147
+ i && o && (this.state.unfolded = t, this.hooks.emit(t ? "unfolded" : "folded"), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
137
148
  }
138
149
  setPosition(t) {
139
150
  this.originPosition = t, this.position = t, this.cache.clear(), this.updateVisible(), this.updateScreenPosition(), this.updateZIndex(), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
140
151
  }
141
152
  updateScreenPosition(t) {
142
- var a;
153
+ var m;
143
154
  if (this.stickType !== "2DPoint" && this.stickType !== "3DPoint")
144
155
  return;
145
- const { force: e = !1 } = t != null ? t : {}, o = e ? this.state.visible : this.currentVisible, i = (a = this.__Object__) != null ? a : {
156
+ const { force: i = !1 } = t != null ? t : {}, o = i ? this.state.visible : this.currentVisible, e = (m = this.__Object__) != null ? m : {
146
157
  timeoutId: void 0,
147
158
  inAnimation: !1
148
159
  };
149
- if (this.__Object__ = i, !o && this.screenPosition ? (i.inAnimation = !0, i.timeoutId = setTimeout(() => {
160
+ if (this.__Object__ = e, !o && this.screenPosition ? (e.inAnimation = !0, e.timeoutId = setTimeout(() => {
150
161
  requestAnimationFrame(() => {
151
- this.currentVisible || (i.inAnimation = !1, this.screenPosition = null, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
162
+ this.currentVisible || (e.inAnimation = !1, this.screenPosition = null, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
152
163
  });
153
- }, 1e3)) : i.timeoutId && (clearTimeout(i.timeoutId), i.inAnimation = !1, i.timeoutId = void 0), !o && !i.inAnimation)
164
+ }, 1e3)) : e.timeoutId && (clearTimeout(e.timeoutId), e.inAnimation = !1, e.timeoutId = void 0), !o && !e.inAnimation)
154
165
  return;
155
166
  const n = this.computeTagProject();
156
167
  if (n) {
157
- const d = (() => {
168
+ const a = (() => {
158
169
  if (!this.currentConfig.simulate3D)
159
170
  return 1;
160
171
  const u = 2 * Math.tan(0.5 * this.five.camera.fov / 180 * Math.PI), c = this.getDistance(void 0, 1);
161
172
  return Math.max(Math.min(1 - u * c / 40, 1), 0.5);
162
- })(), p = this.five.renderer.getSize(b);
173
+ })(), d = this.five.renderer.getSize(y);
163
174
  this.screenPosition = {
164
- leftPx: (n.x + 1) / 2 * p.x,
165
- topPx: (-n.y + 1) / 2 * p.y,
166
- scale: d
175
+ leftPx: (n.x + 1) / 2 * d.x,
176
+ topPx: (-n.y + 1) / 2 * d.y,
177
+ scale: a
167
178
  };
168
179
  } else
169
180
  this.screenPosition = null;
@@ -172,14 +183,14 @@ class Et extends g {
172
183
  updateUnfoldedByPanoIndex() {
173
184
  const t = this.getUnfoldedByPanoIndex();
174
185
  if (this.state && (t !== void 0 && (this.state.unfolded = t), t && !this.state.visible)) {
175
- const e = this.getConfig();
176
- typeof e.unfoldedConfig == "object" && e.unfoldedConfig.autoFoldWhenHide !== !1 && (this.state.unfolded = !1);
186
+ const i = this.getConfig();
187
+ typeof i.unfoldedConfig == "object" && i.unfoldedConfig.autoFoldWhenHide !== !1 && (this.state.unfolded = !1);
177
188
  }
178
189
  }
179
190
  computeNormal() {
180
- return new m.Vector3().fromArray(this.normal);
191
+ return new l.Vector3().fromArray(this.normal);
181
192
  }
182
193
  }
183
194
  export {
184
- Et as PointTag
195
+ wt as PointTag
185
196
  };
@@ -14,6 +14,7 @@ declare class PanoTagPluginController extends TagRender {
14
14
  /** debug */
15
15
  private debug;
16
16
  private debugUtil;
17
+ private timeoutIds;
17
18
  constructor(five: Five, params?: {
18
19
  config?: Pick<Tags, 'contentTypeConfig' | 'globalConfig'>;
19
20
  debug?: boolean;
@@ -131,6 +132,7 @@ declare class PanoTagPluginController extends TagRender {
131
132
  private handleFiveCameraUpdate;
132
133
  private handleFiveCameraFovUpdate;
133
134
  private handleFivePanoArrived;
135
+ private tagsDo;
134
136
  /** 楼层切换时,需要更新标签可见性 */
135
137
  private handleFiveModelShownFloorChange;
136
138
  private onFiveEveryReady;