@realsee/dnalogel 3.63.4-alpha.3 → 3.63.4-alpha.5

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 (537) hide show
  1. package/dist/Sculpt/Meshes/Line.d.ts +6 -2
  2. package/dist/Sculpt/Meshes/Point.d.ts +4 -0
  3. package/dist/Sculpt/Meshes/Polygon.d.ts +4 -0
  4. package/dist/Sculpt/utils/renderDom.d.ts +19 -0
  5. package/dist/index.cjs.js +74 -74
  6. package/dist/index.js +4619 -4579
  7. package/dist/index.umd.js +62 -62
  8. package/dist/shared-utils/three/PointSelector/index.d.ts +3 -7
  9. package/dist/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +1 -1
  10. package/docs/assets/search.js +1 -1
  11. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  12. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  13. package/docs/classes/CSS3DRender.html +2 -2
  14. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  15. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  16. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  17. package/docs/classes/ModelRoomLabelController.html +2 -2
  18. package/docs/classes/MoveController.html +2 -2
  19. package/docs/classes/Object3DHelperController.html +2 -2
  20. package/docs/classes/PaintBrush.html +2 -2
  21. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  22. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  23. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  24. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  25. package/docs/classes/PanoTagPluginController.html +2 -2
  26. package/docs/classes/Sculpt.html +2 -2
  27. package/docs/classes/Util.BetterTween.html +2 -2
  28. package/docs/classes/Util.FiveDomEvents.html +2 -2
  29. package/docs/classes/Util.FivePuppet.html +2 -2
  30. package/docs/classes/Util.Interval.html +2 -2
  31. package/docs/classes/Util.LightTag.html +2 -2
  32. package/docs/classes/Util.LineSegments.html +2 -2
  33. package/docs/classes/Util.Magnifier.html +2 -2
  34. package/docs/classes/Util.Object3D.html +2 -2
  35. package/docs/classes/Util.PointHelper.html +2 -2
  36. package/docs/classes/Util.PointSelector.html +12 -12
  37. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  38. package/docs/classes/Util.Rectangle.html +2 -2
  39. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  40. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  41. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  42. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  43. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  44. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  45. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  46. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  47. package/docs/classes/Util.sculpt.LineMesh.html +10 -6
  48. package/docs/classes/Util.sculpt.PointMesh.html +10 -6
  49. package/docs/classes/Util.sculpt.PolygonMesh.html +10 -6
  50. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  51. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  52. package/docs/classes/Util.sculpt.RectangleMesh.html +10 -6
  53. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  54. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +9 -5
  55. package/docs/classes/WalkController.html +2 -2
  56. package/docs/enums/CameraMovementEffect.html +2 -2
  57. package/docs/enums/ContentType.html +2 -2
  58. package/docs/enums/DIRECTION.html +2 -2
  59. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  60. package/docs/enums/DimensionType.html +2 -2
  61. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  62. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  63. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  64. package/docs/enums/PointType.html +2 -2
  65. package/docs/enums/Rotation.html +2 -2
  66. package/docs/functions/AreaMakerPlugin.html +1 -1
  67. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  68. package/docs/functions/CameraMovementPlugin.html +2 -2
  69. package/docs/functions/CruisePlugin.html +1 -1
  70. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  71. package/docs/functions/GuideLinePlugin.html +1 -1
  72. package/docs/functions/ItemLabelPlugin.html +1 -1
  73. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  74. package/docs/functions/MeasurePlugin.html +1 -1
  75. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  76. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  77. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  78. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  79. package/docs/functions/ModelMakerPlugin.html +1 -1
  80. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  81. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  82. package/docs/functions/ModelViewPlugin.html +2 -2
  83. package/docs/functions/MovePlugin.html +1 -1
  84. package/docs/functions/Object3DHelperPlugin.html +1 -1
  85. package/docs/functions/PanoCompassPlugin.html +1 -1
  86. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  87. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  88. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  89. package/docs/functions/PanoMeasurePlugin.html +1 -1
  90. package/docs/functions/PanoRulerPlugin.html +2 -2
  91. package/docs/functions/PanoRulerProPlugin.html +2 -2
  92. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  93. package/docs/functions/PanoTagPlugin.html +1 -1
  94. package/docs/functions/PanoVideoPlugin.html +2 -2
  95. package/docs/functions/PipelinePlugin.html +1 -1
  96. package/docs/functions/SculptPlugin.html +2 -2
  97. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  98. package/docs/functions/Util.absoluteUrl.html +2 -2
  99. package/docs/functions/Util.awaitNextFrame.html +1 -1
  100. package/docs/functions/Util.blink.html +2 -2
  101. package/docs/functions/Util.bounding.html +1 -1
  102. package/docs/functions/Util.boundingBox.html +1 -1
  103. package/docs/functions/Util.boundingSphere.html +1 -1
  104. package/docs/functions/Util.boxVertex.html +2 -2
  105. package/docs/functions/Util.boxVertexes.html +1 -1
  106. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  107. package/docs/functions/Util.convexHull.html +2 -2
  108. package/docs/functions/Util.equal.html +2 -2
  109. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  110. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  111. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  112. package/docs/functions/Util.getFrameTime.html +2 -2
  113. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  114. package/docs/functions/Util.inside.html +1 -1
  115. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  116. package/docs/functions/Util.isModelLike.html +1 -1
  117. package/docs/functions/Util.isNil.html +2 -2
  118. package/docs/functions/Util.isPanoramaLike.html +1 -1
  119. package/docs/functions/Util.lookObject.html +2 -2
  120. package/docs/functions/Util.lookPoint.html +2 -2
  121. package/docs/functions/Util.nextFrame.html +1 -1
  122. package/docs/functions/Util.notNil.html +2 -2
  123. package/docs/functions/Util.reblink.html +2 -2
  124. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  125. package/docs/functions/Util.sculpt.createBox.html +1 -1
  126. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  127. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  128. package/docs/functions/Util.sculpt.createLine.html +2 -2
  129. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  130. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  131. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  132. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  133. package/docs/functions/Util.tag.html +1 -1
  134. package/docs/functions/Util.tweenProgress.html +1 -1
  135. package/docs/functions/Util.uuid.html +2 -2
  136. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  137. package/docs/functions/Util.worldBounding.html +1 -1
  138. package/docs/functions/Util.worldBoundingBox.html +1 -1
  139. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  140. package/docs/functions/createPolyline.html +2 -2
  141. package/docs/functions/pluginFlag.html +1 -1
  142. package/docs/hierarchy.html +1 -1
  143. package/docs/index.html +2 -2
  144. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  145. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  146. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  147. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  148. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  149. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  150. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  151. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  152. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  153. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  154. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  155. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  156. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  157. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  158. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  159. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  160. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  161. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  162. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  163. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  164. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  165. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  166. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  167. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  168. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  169. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  170. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  171. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  172. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  173. package/docs/interfaces/FloorplanBounding.html +2 -2
  174. package/docs/interfaces/FloorplanData.html +2 -2
  175. package/docs/interfaces/FloorplanEntrance.html +2 -2
  176. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  177. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  178. package/docs/interfaces/FloorplanFloorData.html +2 -2
  179. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  180. package/docs/interfaces/FloorplanObserver.html +2 -2
  181. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  182. package/docs/interfaces/FloorplanPosition.html +2 -2
  183. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  184. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  185. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  186. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  187. package/docs/interfaces/FloorplanServerData.html +2 -2
  188. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  189. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  190. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  191. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  192. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  193. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  194. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  195. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  196. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  197. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  198. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  199. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  200. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  201. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  202. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  203. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  204. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  205. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  209. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  210. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  212. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  213. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
  214. package/docs/interfaces/HelperOffset.html +2 -2
  215. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  216. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  217. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  218. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  219. package/docs/interfaces/MinMax.html +2 -2
  220. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  221. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  222. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  223. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  224. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  225. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  226. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  227. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  228. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  229. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  230. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  231. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  232. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  233. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  234. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  235. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  236. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  237. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  238. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  239. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  240. package/docs/interfaces/Object3DHelperState.html +2 -2
  241. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  242. package/docs/interfaces/PaintBrushAction.html +2 -2
  243. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  244. package/docs/interfaces/PaintBrushState.html +2 -2
  245. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  246. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  247. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  248. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  249. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  250. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  251. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  252. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  253. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  254. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  255. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  256. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  257. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  258. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  259. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  260. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  261. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  262. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  263. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  264. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  265. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  266. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  267. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  268. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  269. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  270. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  271. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  272. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  273. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  274. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  275. package/docs/interfaces/PluginEventMap.html +2 -2
  276. package/docs/interfaces/Point.html +2 -2
  277. package/docs/interfaces/Room.html +2 -2
  278. package/docs/interfaces/RoomInfo.html +2 -2
  279. package/docs/interfaces/RoomLabel.html +2 -2
  280. package/docs/interfaces/RoomRules.html +1 -1
  281. package/docs/interfaces/Rooms.html +1 -1
  282. package/docs/interfaces/Scissor.html +2 -2
  283. package/docs/interfaces/State.html +2 -2
  284. package/docs/interfaces/TagCacheInterface.html +2 -2
  285. package/docs/interfaces/TagConfig.html +2 -2
  286. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  287. package/docs/interfaces/TagIconUrl.html +2 -2
  288. package/docs/interfaces/TagObjectGroup.html +2 -2
  289. package/docs/interfaces/TagStyle.html +2 -2
  290. package/docs/interfaces/Tags.html +2 -2
  291. package/docs/interfaces/TemporaryState.html +2 -2
  292. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  293. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  294. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  295. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  296. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  297. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  298. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  299. package/docs/interfaces/Util.PointIntersection.html +2 -2
  300. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  301. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  302. package/docs/modules/AreaMakerPluginType.html +2 -2
  303. package/docs/modules/CruisePluginTypes.html +2 -2
  304. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  305. package/docs/modules/GuideLineItem.html +2 -2
  306. package/docs/modules/GuideLineModeItem.html +2 -2
  307. package/docs/modules/GuideLinePluginType.html +2 -2
  308. package/docs/modules/ModelMakerPluginType.html +2 -2
  309. package/docs/modules/PanoVideoPluginType.html +2 -2
  310. package/docs/modules/SculptData.html +2 -2
  311. package/docs/modules/Util.html +2 -2
  312. package/docs/modules/Util.sculpt.html +2 -2
  313. package/docs/modules.html +2 -2
  314. package/docs/types/AddObject3DHelperConfig.html +2 -2
  315. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  316. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  317. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  318. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  319. package/docs/types/ArrayPosition.html +1 -1
  320. package/docs/types/AudioAppearance.html +1 -1
  321. package/docs/types/CSS3DRenderExportType.html +1 -1
  322. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  323. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  324. package/docs/types/ClassFunctionParameters.html +1 -1
  325. package/docs/types/Color.html +1 -1
  326. package/docs/types/ContentTypeConfigKey.html +1 -1
  327. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  328. package/docs/types/ContentTypeMap.html +1 -1
  329. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  330. package/docs/types/Create3DElementReturnType.html +1 -1
  331. package/docs/types/CruisePluginExportType.html +1 -1
  332. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  333. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  334. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  335. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  336. package/docs/types/DeprecatedTagProperty.html +2 -2
  337. package/docs/types/Direction-1.html +1 -1
  338. package/docs/types/Direction4.html +1 -1
  339. package/docs/types/ElementRenderer.html +2 -2
  340. package/docs/types/FloorplanRuleLabels.html +2 -2
  341. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  342. package/docs/types/GuideLinePluginExportType.html +1 -1
  343. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  344. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  345. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  346. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  347. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  348. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  349. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  350. package/docs/types/HelperEventMap.html +1 -1
  351. package/docs/types/InternalHelperEventMap.html +1 -1
  352. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  353. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  354. package/docs/types/MediaData.html +2 -2
  355. package/docs/types/MediaStore.html +1 -1
  356. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  357. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  358. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  359. package/docs/types/ModelId.html +1 -1
  360. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  361. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  362. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  363. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  364. package/docs/types/MoveArgs.html +2 -2
  365. package/docs/types/MoveOpts.html +2 -2
  366. package/docs/types/Object3DHelperEventMap.html +1 -1
  367. package/docs/types/ObjectFit.html +1 -1
  368. package/docs/types/PaintBrushEventMap.html +1 -1
  369. package/docs/types/PanoCompassPluginData.html +1 -1
  370. package/docs/types/PanoCompassPluginExportType.html +1 -1
  371. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  372. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  373. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  374. package/docs/types/PanoIndex.html +1 -1
  375. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  376. package/docs/types/PanoMeasureReturnType.html +1 -1
  377. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  378. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  379. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  380. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  381. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  382. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  383. package/docs/types/PipelinePluginParameterType.html +1 -1
  384. package/docs/types/PipelinePluginReturnType.html +1 -1
  385. package/docs/types/PlaneTag.html +2 -2
  386. package/docs/types/Point2DTag.html +2 -2
  387. package/docs/types/Point3DTag.html +2 -2
  388. package/docs/types/PointTagInstance.html +1 -1
  389. package/docs/types/Position.html +1 -1
  390. package/docs/types/PositionFrom.html +1 -1
  391. package/docs/types/RotateArgs.html +2 -2
  392. package/docs/types/RotateOpts.html +2 -2
  393. package/docs/types/RuleLabelsKey.html +1 -1
  394. package/docs/types/RuleLabelsValue.html +1 -1
  395. package/docs/types/ScaleCallback.html +1 -1
  396. package/docs/types/ScalePosition.html +2 -2
  397. package/docs/types/SculptData.BoxData.html +1 -1
  398. package/docs/types/SculptData.CircleData.html +1 -1
  399. package/docs/types/SculptData.CylinderData.html +1 -1
  400. package/docs/types/SculptData.PointData.html +1 -1
  401. package/docs/types/SculptData.PolygonData.html +1 -1
  402. package/docs/types/SculptData.PolylineData.html +1 -1
  403. package/docs/types/SculptData.PrismData.html +1 -1
  404. package/docs/types/SculptData.RectangleData.html +1 -1
  405. package/docs/types/StickType.html +1 -1
  406. package/docs/types/Tag.html +2 -2
  407. package/docs/types/Tag2D.html +2 -2
  408. package/docs/types/Tag3D.html +2 -2
  409. package/docs/types/TagClickParams.html +1 -1
  410. package/docs/types/TagConfigByKey.html +1 -1
  411. package/docs/types/TagContentType.html +1 -1
  412. package/docs/types/TagContentTypeMapping.html +1 -1
  413. package/docs/types/TagDimensionType.html +1 -1
  414. package/docs/types/TagElement.html +2 -2
  415. package/docs/types/TagEvents.html +1 -1
  416. package/docs/types/TagGLTFObject.html +1 -1
  417. package/docs/types/TagHooks.html +1 -1
  418. package/docs/types/TagId.html +1 -1
  419. package/docs/types/TagInstance.html +1 -1
  420. package/docs/types/TagPointType.html +2 -2
  421. package/docs/types/TagRendererMap.html +1 -1
  422. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  423. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  424. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  425. package/docs/types/Util.AdherePoint.html +2 -2
  426. package/docs/types/Util.PointSelectorConfig.html +1 -1
  427. package/docs/types/WorkCode.html +1 -1
  428. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  429. package/docs/variables/PLUGIN.html +1 -1
  430. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  431. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  432. package/docs/variables/Util.animeMap.html +1 -1
  433. package/docs/variables/defaultGlobalConfig.html +1 -1
  434. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  435. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  436. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  437. package/libs/AreaMakerPlugin/Controller.js +3 -2
  438. package/libs/AreaMakerPlugin/index.js +3 -2
  439. package/libs/AreaMakerPlugin/utils/Item.js +3 -2
  440. package/libs/CSS3DRenderPlugin/Controller.js +3 -2
  441. package/libs/CSS3DRenderPlugin/index.js +6 -5
  442. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -2
  443. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +3 -2
  444. package/libs/CruisePlugin/BaseController.js +13 -12
  445. package/libs/CruisePlugin/Move.js +3 -2
  446. package/libs/CruisePlugin/Work.js +3 -2
  447. package/libs/CruisePlugin/index.js +7 -6
  448. package/libs/CurrentPanoImagePlugin/Controller.js +3 -2
  449. package/libs/CurrentPanoImagePlugin/index.js +4 -3
  450. package/libs/GuideLinePlugin/Controller.js +5 -4
  451. package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
  452. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
  453. package/libs/GuideLinePlugin/index.js +7 -6
  454. package/libs/MeasurePlugin/Controller.js +8 -8
  455. package/libs/MeasurePlugin/index.js +1 -1
  456. package/libs/MeasurePlugin/utils/MeasureMesh.js +14 -16
  457. package/libs/ModelMakerPlugin/Controller.js +1 -1
  458. package/libs/ModelMakerPlugin/index.js +1 -1
  459. package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
  460. package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
  461. package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
  462. package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
  463. package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
  464. package/libs/ModelTVVideoPlugin/index.js +3 -2
  465. package/libs/ModelViewPlugin/Plugin.js +4 -3
  466. package/libs/ModelViewPlugin/index.js +1 -0
  467. package/libs/Object3DHelperPlugin/Controller.js +3 -2
  468. package/libs/Object3DHelperPlugin/index.js +6 -5
  469. package/libs/PanoCompassPlugin/Controller.js +3 -2
  470. package/libs/PanoCompassPlugin/index.js +4 -3
  471. package/libs/PanoDoorLabelPlugin/Controller.js +3 -2
  472. package/libs/PanoDoorLabelPlugin/index.js +4 -3
  473. package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
  474. package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
  475. package/libs/PanoMeasurePlugin/Controller/EditController.js +44 -43
  476. package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
  477. package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
  478. package/libs/PanoMeasurePlugin/Model/area.js +3 -2
  479. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
  480. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -2
  481. package/libs/PanoMeasurePlugin/index.js +14 -13
  482. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
  483. package/libs/PanoRulerProPlugin/Controller.js +3 -2
  484. package/libs/PanoRulerProPlugin/RulerItems.js +3 -2
  485. package/libs/PanoRulerProPlugin/index.js +4 -3
  486. package/libs/PanoSpatialTagPlugin/Plugin.js +4 -3
  487. package/libs/PanoSpatialTagPlugin/index.js +1 -0
  488. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -2
  489. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
  490. package/libs/PanoTagPlugin/Components/Tag/index.js +58 -57
  491. package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
  492. package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
  493. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -2
  494. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
  495. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
  496. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
  497. package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
  498. package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
  499. package/libs/PanoTagPlugin/controller/index.js +6 -5
  500. package/libs/PanoTagPlugin/index.js +12 -11
  501. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
  502. package/libs/PanoVideoPlugin/Controller.js +3 -2
  503. package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
  504. package/libs/PanoVideoPlugin/index.js +6 -5
  505. package/libs/PipelinePlugin/Controller.js +3 -2
  506. package/libs/PipelinePlugin/index.js +4 -3
  507. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
  508. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
  509. package/libs/PipelinePlugin/utils/Objects/Pipe.js +23 -22
  510. package/libs/Sculpt/Meshes/Line.d.ts +6 -2
  511. package/libs/Sculpt/Meshes/Line.js +113 -106
  512. package/libs/Sculpt/Meshes/Point.d.ts +4 -0
  513. package/libs/Sculpt/Meshes/Point.js +72 -62
  514. package/libs/Sculpt/Meshes/Polygon.d.ts +4 -0
  515. package/libs/Sculpt/Meshes/Polygon.js +56 -43
  516. package/libs/Sculpt/Meshes/Polyline.js +22 -25
  517. package/libs/Sculpt/Objects/Base/index.js +15 -18
  518. package/libs/Sculpt/utils/renderDom.d.ts +19 -0
  519. package/libs/Sculpt/utils/renderDom.js +22 -0
  520. package/libs/Sculpt/utils/unit.js +13 -1
  521. package/libs/base/BasePlugin.js +1 -1
  522. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
  523. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
  524. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
  525. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
  526. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
  527. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
  528. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
  529. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
  530. package/libs/index.js +1 -1
  531. package/libs/shared-utils/logger.js +1 -1
  532. package/libs/shared-utils/three/PointSelector/index.d.ts +3 -7
  533. package/libs/shared-utils/three/PointSelector/index.js +24 -23
  534. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +1 -1
  535. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -3
  536. package/package.json +1 -1
  537. package/libs/Sculpt/utils/removeAllTag.js +0 -13
@@ -1,79 +1,86 @@
1
- var _ = Object.defineProperty, M = Object.defineProperties;
2
- var E = Object.getOwnPropertyDescriptors;
3
- var S = Object.getOwnPropertySymbols;
4
- var v = Object.prototype.hasOwnProperty, w = Object.prototype.propertyIsEnumerable;
5
- var u = (r, l, e) => l in r ? _(r, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[l] = e, f = (r, l) => {
1
+ var E = Object.defineProperty, M = Object.defineProperties;
2
+ var w = Object.getOwnPropertyDescriptors;
3
+ var _ = Object.getOwnPropertySymbols;
4
+ var D = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
5
+ var p = (r, l, e) => l in r ? E(r, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[l] = e, f = (r, l) => {
6
6
  for (var e in l || (l = {}))
7
- v.call(l, e) && u(r, e, l[e]);
8
- if (S)
9
- for (var e of S(l))
10
- w.call(l, e) && u(r, e, l[e]);
7
+ D.call(l, e) && p(r, e, l[e]);
8
+ if (_)
9
+ for (var e of _(l))
10
+ v.call(l, e) && p(r, e, l[e]);
11
11
  return r;
12
- }, p = (r, l) => M(r, E(l));
13
- var h = (r, l, e) => (u(r, typeof l != "symbol" ? l + "" : l, e), e);
14
- import * as g from "three";
15
- import { DEFAULT_LINE_COLOR as b, DEFAULT_LINE_WIDTH as D, DEFAULT_HIGHLIGHT_OPACITY as I } from "../typings/style.js";
16
- import { anyPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
17
- import { IObject3D as O } from "../../shared-utils/three/IObject3D.js";
18
- import { LightTag as R } from "../../shared-utils/tag.js";
12
+ }, u = (r, l) => M(r, w(l));
13
+ var s = (r, l, e) => (p(r, typeof l != "symbol" ? l + "" : l, e), e);
14
+ import * as y from "three";
15
+ import { DEFAULT_LINE_COLOR as I, DEFAULT_LINE_WIDTH as b, DEFAULT_HIGHLIGHT_OPACITY as O } from "../typings/style.js";
16
+ import { anyPositionToVector3 as R } from "../../shared-utils/positionToVector3.js";
17
+ import { IObject3D as C } from "../../shared-utils/three/IObject3D.js";
18
+ import { LightTag as B } from "../../shared-utils/tag.js";
19
19
  import "../../vendor/hammerjs/hammer.js";
20
20
  import "../../shared-utils/three/PointSelector/index.js";
21
- import { centerPoint as B } from "../../shared-utils/three/centerPoint.js";
21
+ import { centerPoint as W } from "../../shared-utils/three/centerPoint.js";
22
22
  import "../../shared-utils/three/CSS3DRenderer/index.js";
23
23
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
24
- import { getLengthHTML as W } from "../utils/Meshes/getLengthHTML.js";
24
+ import { getLengthHTML as x } from "../utils/Meshes/getLengthHTML.js";
25
25
  import { localToWorld as L } from "../../shared-utils/three/applyObjectMatrixWorld.js";
26
- import { LineGeometry as H } from "../../shared-utils/three/core/LineGeometry.js";
27
- import { LineMaterial as x } from "../../shared-utils/three/core/LineMaterial.js";
26
+ import { LineGeometry as S } from "../../shared-utils/three/core/LineGeometry.js";
27
+ import { LineMaterial as P } from "../../shared-utils/three/core/LineMaterial.js";
28
28
  import { THREE_Line2 as T } from "../../shared-utils/three/core/Line2.js";
29
- import { LineMaterial2 as P } from "../../shared-utils/three/core/LineMaterial2.js";
30
- import { transformUnit as V } from "../utils/unit.js";
29
+ import { LineMaterial2 as V } from "../../shared-utils/three/core/LineMaterial2.js";
30
+ import { transformUnit as j } from "../utils/unit.js";
31
+ import { RenderDom as g } from "../utils/renderDom.js";
31
32
  import "../../shared-utils/three/core/Sphere.js";
32
33
  import "../../vendor/animejs/lib/anime.es.js";
33
34
  import { notNil as d } from "../../shared-utils/isNil.js";
34
35
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
35
36
  import "../../shared-utils/five/FivePuppet.js";
36
- class ne extends O {
37
+ class re extends C {
37
38
  constructor(e) {
38
- var n, m, a, c;
39
+ var h, m, a, c;
39
40
  super();
40
- h(this, "name", "LineMesh");
41
- h(this, "type", "Line2");
42
- h(this, "object");
43
- h(this, "points", []);
44
- h(this, "doms", []);
45
- h(this, "highlighted", !1);
46
- h(this, "_geometry");
47
- h(this, "line1");
48
- h(this, "line2");
49
- h(this, "opacityBeforeHighlight");
50
- h(this, "colorBeforeHighlight");
51
- h(this, "paramsStyle", {});
52
- h(this, "lastRenderDomItem");
53
- h(this, "_visible", !0);
54
- this.paramsStyle = f({ dashed: !1 }, e), this.geometry = new H();
55
- const s = {
56
- color: new g.Color((n = e == null ? void 0 : e.lineColor) != null ? n : b),
57
- linewidth: (m = e == null ? void 0 : e.lineWidth) != null ? m : D,
41
+ s(this, "name", "LineMesh");
42
+ s(this, "type", "Line2");
43
+ s(this, "object");
44
+ s(this, "points", []);
45
+ s(this, "doms", []);
46
+ s(this, "highlighted", !1);
47
+ s(this, "_geometry");
48
+ s(this, "line1");
49
+ s(this, "line2");
50
+ s(this, "opacityBeforeHighlight");
51
+ s(this, "colorBeforeHighlight");
52
+ s(this, "paramsStyle", {});
53
+ s(this, "lastRenderDomItem");
54
+ s(this, "_onAdded", () => {
55
+ this.doms.length === 0 && this.paramsStyle.lengthEnable && this.updateDomItems();
56
+ });
57
+ s(this, "_onRemoved", () => {
58
+ this.doms.forEach((e) => e.destroy()), this.doms = [];
59
+ });
60
+ s(this, "_onShowed", () => {
61
+ this.doms.forEach((e) => e.container.style.display = "block");
62
+ });
63
+ s(this, "_onHidden", () => {
64
+ this.doms.forEach((e) => e.container.style.display = "none");
65
+ });
66
+ this.paramsStyle = f({ dashed: !1 }, e), this.geometry = new S();
67
+ const o = {
68
+ color: new y.Color((h = e == null ? void 0 : e.lineColor) != null ? h : I),
69
+ linewidth: (m = e == null ? void 0 : e.lineWidth) != null ? m : b,
58
70
  dashScale: 40,
59
71
  opacity: (a = e == null ? void 0 : e.lineOpacity) != null ? a : 1,
60
72
  depthWrite: !1,
61
73
  transparent: !0
62
- }, t = new x(p(f({}, s), { dashed: !1, depthTest: !0 })), i = new P(p(f({}, s), { dashed: !0, depthTest: !1 }));
63
- if (this.line1 = new T(this.geometry, t), this.line2 = new T(this.geometry, i), this.line1.renderOrder = 2, this.line2.renderOrder = 2, this.line1.name = "line1", this.line2.name = "line2", this.add(this.line1), this.five) {
64
- const o = (c = this.five.renderer) == null ? void 0 : c.getSize(new g.Vector2());
65
- o && this.setResolution(o.width, o.height);
74
+ }, i = new P(u(f({}, o), { dashed: !1, depthTest: !0 })), t = new V(u(f({}, o), { dashed: !0, depthTest: !1 }));
75
+ if (this.line1 = new T(this.geometry, i), this.line2 = new T(this.geometry, t), this.line1.renderOrder = 2, this.line2.renderOrder = 2, this.line1.name = "line1", this.line2.name = "line2", this.add(this.line1), this.five) {
76
+ const n = (c = this.five.renderer) == null ? void 0 : c.getSize(new y.Vector2());
77
+ n && this.setResolution(n.width, n.height);
66
78
  }
67
79
  e && this.setStyle(e), e != null && e.points && this.setPoints(e.points), this.addEventListener("removed", () => {
68
- this.doms.forEach((o) => o.destroy()), this.doms = [];
80
+ g.cacheObject.delete(this), g.checkDom(this);
69
81
  }), this.addEventListener("added", () => {
70
- this.updateDomItems();
71
- }), Object.defineProperty(this, "visible", {
72
- set: (o) => {
73
- this.doms && this.doms.forEach((y) => y.container.style.display = o ? "block" : "none"), this._visible = o;
74
- },
75
- get: () => this._visible
76
- });
82
+ g.cacheObject.add(this);
83
+ }), g.checkDomEveryFrame();
77
84
  }
78
85
  get style() {
79
86
  return {
@@ -97,7 +104,7 @@ class ne extends O {
97
104
  }
98
105
  get color() {
99
106
  var e;
100
- return new g.Color((e = this.line1.material.three_color) != null ? e : this.paramsStyle.lineColor);
107
+ return new y.Color((e = this.line1.material.three_color) != null ? e : this.paramsStyle.lineColor);
101
108
  }
102
109
  get dashed() {
103
110
  return this.paramsStyle.dashed;
@@ -109,66 +116,66 @@ class ne extends O {
109
116
  return this.paramsStyle.occlusionMode;
110
117
  }
111
118
  get five() {
112
- var s, t;
113
- const e = (t = (s = window.globalModules) == null ? void 0 : s.five) != null ? t : window.$five;
119
+ var o, i;
120
+ const e = (i = (o = window.globalModules) == null ? void 0 : o.five) != null ? i : window.$five;
114
121
  return e || console.error("请先调用 Sculpt.modules.init(five) "), e;
115
122
  }
116
123
  set geometry(e) {
117
- var s;
118
- this._geometry = e, this.line1 && (this.line1.geometry = e), this.line2 && (this.line2.geometry = e), (s = this.line1) == null || s.computeLineDistances();
124
+ var o;
125
+ this._geometry = e, this.line1 && (this.line1.geometry = e), this.line2 && (this.line2.geometry = e), (o = this.line1) == null || o.computeLineDistances();
119
126
  }
120
127
  get geometry() {
121
128
  return this._geometry;
122
129
  }
123
130
  updateMatrixWorld(e) {
124
- var s;
131
+ var o;
125
132
  if (super.updateMatrixWorld(e), this.points) {
126
- const t = (s = L(this, this.points)) == null ? void 0 : s.map((i) => i.toArray().join(",")).join(",");
127
- t !== this.lastRenderDomItem && (this.updateDomItems(), this.lastRenderDomItem = t);
133
+ const i = (o = L(this, this.points)) == null ? void 0 : o.map((t) => t.toArray().join(",")).join(",");
134
+ i !== this.lastRenderDomItem && (this.updateDomItems(), this.lastRenderDomItem = i);
128
135
  }
129
136
  }
130
137
  setPoints(e) {
131
138
  if (this.points.length === 0 && e.length === 0)
132
139
  return;
133
- const s = e.map(C).filter(d);
134
- if (this.points = s, s.length < 2) {
135
- const i = new H();
136
- this.line1.geometry = i, this.line2.geometry = i, this.updateDomItems();
140
+ const o = e.map(R).filter(d);
141
+ if (this.points = o, o.length < 2) {
142
+ const t = new S();
143
+ this.line1.geometry = t, this.line2.geometry = t, this.updateDomItems();
137
144
  return;
138
145
  }
139
- const t = s.flatMap((i) => [i.x, i.y, i.z]);
140
- if (t.length > 2) {
146
+ const i = o.flatMap((t) => [t.x, t.y, t.z]);
147
+ if (i.length > 2) {
141
148
  this.line1.geometry.dispose();
142
- const i = new H();
143
- this.line1.geometry = i, this.line2.geometry = i;
149
+ const t = new S();
150
+ this.line1.geometry = t, this.line2.geometry = t;
144
151
  }
145
- this.line1.geometry.setPositions(t), this.line1.computeLineDistances(), this.updateDomItems(), this.needsRender = !0;
152
+ this.line1.geometry.setPositions(i), this.line1.computeLineDistances(), this.updateDomItems(), this.needsRender = !0;
146
153
  }
147
- setResolution(e, s) {
148
- const t = this.line1.material.resolution;
149
- (t.x !== e || t.y !== s) && (t.set(e, s), this.needsRender = !0);
150
- const i = this.line2.material.resolution;
151
- (i.x !== e || i.y !== s) && (i.set(e, s), this.needsRender = !0);
154
+ setResolution(e, o) {
155
+ const i = this.line1.material.resolution;
156
+ (i.x !== e || i.y !== o) && (i.set(e, o), this.needsRender = !0);
157
+ const t = this.line2.material.resolution;
158
+ (t.x !== e || t.y !== o) && (t.set(e, o), this.needsRender = !0);
152
159
  }
153
160
  setStyle(e) {
154
- var i, n, m, a;
161
+ var t, h, m, a;
155
162
  if (this.paramsStyle = f(f({}, this.paramsStyle), e), d(e.lineColor)) {
156
- const c = new g.Color(e.lineColor);
163
+ const c = new y.Color(e.lineColor);
157
164
  this.line1.material.three_color = c, this.line2.material.three_color = c;
158
165
  }
159
166
  d(e.lineWidth) && (this.line1.material.linewidth = e.lineWidth, this.line2.material.linewidth = e.lineWidth), d(e.dashed) && (this.line1.material.dashed = e.dashed), d(e.lineOpacity) && (this.line1.material.opacity = e.lineOpacity, this.line2.material.opacity = e.lineOpacity), this.updateDomItems();
160
- const s = (n = (i = e.occlusionVisibility) != null ? i : this.paramsStyle.occlusionVisibility) != null ? n : !0, t = (a = (m = e.occlusionMode) != null ? m : this.paramsStyle.occlusionMode) != null ? a : "translucence";
161
- s ? this.dashed ? (this.remove(this.line2), this.line1.material.dashed = !0, this.line1.material.depthTest = !1) : t === "depthTest" ? (this.remove(this.line2), this.line1.material.dashed = !1, this.line1.material.depthTest = !1) : t === "translucence" && (this.line1.material.depthTest = !0, this.line2.material.depthTest = !1, this.line1.material.dashed = !0, this.line2.material.dashed = !0, this.addIfNotExists(this.line2)) : (this.remove(this.line2), this.line1.material.depthTest = !0, this.line1.material.dashed = this.paramsStyle.dashed), this.needsRender = !0;
167
+ const o = (h = (t = e.occlusionVisibility) != null ? t : this.paramsStyle.occlusionVisibility) != null ? h : !0, i = (a = (m = e.occlusionMode) != null ? m : this.paramsStyle.occlusionMode) != null ? a : "translucence";
168
+ o ? this.dashed ? (this.remove(this.line2), this.line1.material.dashed = !0, this.line1.material.depthTest = !1) : i === "depthTest" ? (this.remove(this.line2), this.line1.material.dashed = !1, this.line1.material.depthTest = !1) : i === "translucence" && (this.line1.material.depthTest = !0, this.line2.material.depthTest = !1, this.line1.material.dashed = !0, this.line2.material.dashed = !0, this.addIfNotExists(this.line2)) : (this.remove(this.line2), this.line1.material.depthTest = !0, this.line1.material.dashed = this.paramsStyle.dashed), this.needsRender = !0;
162
169
  }
163
170
  highlight(e) {
164
- var s, t;
171
+ var o, i;
165
172
  if (this.highlighted = !0, e != null && e.color) {
166
- const i = new g.Color(e.color);
167
- this.colorBeforeHighlight = (s = this.colorBeforeHighlight) != null ? s : this.line1.material.three_color, this.line1.material.three_color = i, this.line2.material.three_color = i;
173
+ const t = new y.Color(e.color);
174
+ this.colorBeforeHighlight = (o = this.colorBeforeHighlight) != null ? o : this.line1.material.three_color, this.line1.material.three_color = t, this.line2.material.three_color = t;
168
175
  } else {
169
- this.opacityBeforeHighlight = (t = this.opacityBeforeHighlight) != null ? t : this.line1.material.opacity;
170
- const i = this.opacityBeforeHighlight * I;
171
- this.line1.material.opacity = i, this.line2.material.opacity = i;
176
+ this.opacityBeforeHighlight = (i = this.opacityBeforeHighlight) != null ? i : this.line1.material.opacity;
177
+ const t = this.opacityBeforeHighlight * O;
178
+ this.line1.material.opacity = t, this.line2.material.opacity = t;
172
179
  }
173
180
  this.needsRender = !0;
174
181
  }
@@ -177,38 +184,38 @@ class ne extends O {
177
184
  }
178
185
  updateDomItems() {
179
186
  const e = () => {
180
- this.doms.forEach((t) => t.destroy()), this.doms = [];
187
+ this.doms.forEach((i) => i.destroy()), this.doms = [];
181
188
  };
182
189
  if (!this.points || this.points.length < 2 || !this.paramsStyle.lengthEnable && !this.paramsStyle.tip)
183
190
  return e();
184
191
  if (!this.five)
185
192
  return console.error("Five not found");
186
- const s = this.points.map((t, i) => {
187
- if (i !== 0)
188
- return [this.points[i - 1], t];
189
- }).filter(d).map((t) => L(this, t));
190
- s.forEach(([t, i], n) => {
193
+ const o = this.points.map((i, t) => {
194
+ if (t !== 0)
195
+ return [this.points[t - 1], i];
196
+ }).filter(d).map((i) => L(this, i));
197
+ o.forEach(([i, t], h) => {
191
198
  var c;
192
- const m = B(t, i);
193
- this.doms[n] = (c = this.doms[n]) != null ? c : (() => {
194
- const o = new R(this.five);
195
- return o.intersectCheck = !1, o.simulate3D = !0, o;
196
- })(), this.doms[n].setPosition(m, [t, i]);
197
- const a = (o) => {
198
- var y;
199
- this.doms[n].__text !== o && (this.doms[n].__text = o, o instanceof HTMLElement ? (this.doms[n].container.innerHTML = "", this.doms[n].container.appendChild(o)) : o ? this.doms[n].container.innerHTML = W(o, {
200
- style: `color: #${d((y = this.style) == null ? void 0 : y.lineColor) ? new g.Color(this.style.lineColor).getHexString() : "ffffff"}`
201
- }) : this.doms[n].container.innerHTML = "");
199
+ const m = W(i, t);
200
+ this.doms[h] = (c = this.doms[h]) != null ? c : (() => {
201
+ const n = new B(this.five);
202
+ return n.intersectCheck = !1, n.simulate3D = !0, n;
203
+ })(), this.doms[h].setPosition(m, [i, t]);
204
+ const a = (n) => {
205
+ var H;
206
+ this.doms[h].__text !== n && (this.doms[h].__text = n, n instanceof HTMLElement ? (this.doms[h].container.innerHTML = "", this.doms[h].container.appendChild(n)) : n ? this.doms[h].container.innerHTML = x(n, {
207
+ style: `color: #${d((H = this.style) == null ? void 0 : H.lineColor) ? new y.Color(this.style.lineColor).getHexString() : "ffffff"}`
208
+ }) : this.doms[h].container.innerHTML = "");
202
209
  };
203
210
  if (this.paramsStyle.tip)
204
211
  a(this.paramsStyle.tip);
205
212
  else {
206
- const o = V(t.distanceTo(i), this.paramsStyle.lengthUnit);
207
- a(o || null);
213
+ const n = j(i.distanceTo(t), this.paramsStyle.lengthUnit);
214
+ a(n || null);
208
215
  }
209
- }), this.doms.length > s.length && (this.doms.slice(s.length).forEach((t) => t.destroy()), this.doms.length = s.length);
216
+ }), this.doms.length > o.length && (this.doms.slice(o.length).forEach((i) => i.destroy()), this.doms.length = o.length);
210
217
  }
211
218
  }
212
219
  export {
213
- ne as LineMesh
220
+ re as LineMesh
214
221
  };
@@ -32,5 +32,9 @@ export declare class PointMesh extends IObject3D {
32
32
  highlight(): void;
33
33
  unhighlight(): void;
34
34
  updateMatrixWorld(force?: boolean): void;
35
+ _onAdded: () => void;
36
+ _onRemoved: () => void;
37
+ _onShowed: () => void;
38
+ _onHidden: () => void;
35
39
  private updateDom;
36
40
  }
@@ -1,88 +1,98 @@
1
- var P = Object.defineProperty, N = Object.defineProperties;
2
- var T = Object.getOwnPropertyDescriptors;
3
- var d = Object.getOwnPropertySymbols;
4
- var V = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
5
- var u = (e, i, t) => i in e ? P(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, g = (e, i) => {
1
+ var D = Object.defineProperty, E = Object.defineProperties;
2
+ var N = Object.getOwnPropertyDescriptors;
3
+ var A = Object.getOwnPropertySymbols;
4
+ var V = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
5
+ var a = (e, i, t) => i in e ? D(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, m = (e, i) => {
6
6
  for (var t in i || (i = {}))
7
- V.call(i, t) && u(e, t, i[t]);
8
- if (d)
9
- for (var t of d(i))
10
- v.call(i, t) && u(e, t, i[t]);
7
+ V.call(i, t) && a(e, t, i[t]);
8
+ if (A)
9
+ for (var t of A(i))
10
+ b.call(i, t) && a(e, t, i[t]);
11
11
  return e;
12
- }, a = (e, i) => N(e, T(i));
13
- var y = (e, i) => {
12
+ }, g = (e, i) => E(e, N(i));
13
+ var v = (e, i) => {
14
14
  var t = {};
15
15
  for (var o in e)
16
16
  V.call(e, o) && i.indexOf(o) < 0 && (t[o] = e[o]);
17
- if (e != null && d)
18
- for (var o of d(e))
19
- i.indexOf(o) < 0 && v.call(e, o) && (t[o] = e[o]);
17
+ if (e != null && A)
18
+ for (var o of A(e))
19
+ i.indexOf(o) < 0 && b.call(e, o) && (t[o] = e[o]);
20
20
  return t;
21
21
  };
22
- var h = (e, i, t) => (u(e, typeof i != "symbol" ? i + "" : i, t), t);
22
+ var s = (e, i, t) => (a(e, typeof i != "symbol" ? i + "" : i, t), t);
23
23
  import * as n from "three";
24
- import { DEFAULT_HIGHLIGHT_OPACITY as D } from "../typings/style.js";
25
- import { IObject3D as E } from "../../shared-utils/three/IObject3D.js";
24
+ import { DEFAULT_HIGHLIGHT_OPACITY as P } from "../typings/style.js";
25
+ import { IObject3D as H } from "../../shared-utils/three/IObject3D.js";
26
26
  import { anyPositionToVector3 as I } from "../../shared-utils/positionToVector3.js";
27
- import { LightTag as W } from "../../shared-utils/tag.js";
27
+ import { LightTag as T } from "../../shared-utils/tag.js";
28
28
  import "../../vendor/hammerjs/hammer.js";
29
29
  import "../../shared-utils/three/PointSelector/index.js";
30
30
  import "../../shared-utils/three/CSS3DRenderer/index.js";
31
31
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
32
- import { getLengthHTML as B } from "../utils/Meshes/getLengthHTML.js";
33
- import { localToWorld as H } from "../../shared-utils/three/applyObjectMatrixWorld.js";
32
+ import { getLengthHTML as W } from "../utils/Meshes/getLengthHTML.js";
33
+ import { localToWorld as B } from "../../shared-utils/three/applyObjectMatrixWorld.js";
34
34
  import "@realsee/five/line";
35
35
  import { notNil as c } from "../../shared-utils/isNil.js";
36
36
  import "../../shared-utils/three/core/Five_LineMaterial2.js";
37
+ import { RenderDom as f } from "../utils/renderDom.js";
37
38
  import "../../shared-utils/three/core/Sphere.js";
38
39
  import "../../vendor/animejs/lib/anime.es.js";
39
40
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
40
41
  import "../../shared-utils/five/FivePuppet.js";
41
- import { removeAllTag as x } from "../utils/removeAllTag.js";
42
42
  const S = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sHDgwCEMBJZu0AAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAABM5JREFUWMO1V0tPG2cUPZ4Hxh6DazIOrjFNqJs0FIMqWFgWQkatsmvVbtggKlSVRVf5AWz4AWz4AUSKEChll19QJYSXkECuhFxsHjEhxCYm+DWGMZ5HF72DJq4bAzFXurI0M/I5997v3u9cC65vTJVn2lX/xHINQOYSBLTLEuIuCWw4Z3IGAEvf6ASmVHjNzHCXBG4A0AjACsAOwEbO0nsFQBnAGYASAIl+ZRMR7SolMEdsByD09fV5R0ZGgg8ePPjW5/N1iqLYpuu6RZblciKR2I9Go69evnwZnZ+fjwI4IS8AKBIRzeQfJWCANwKwh0KhtrGxsYehUOin1tbW+zzP23ietzY2NnIAoGmaLsuyUiqVyvl8XtrY2NiamZn589mzZxsAUgCOAeQAnFI2tI+VxIjaAeDzoaGh7xYWFuZOTk6OZVk+12uYqqq6JEnn0Wg0OT4+/geAXwGEAdwDIFJQXC1wO4DWR48e/RCPxxclSSroVzRFUbSDg4P848ePFwH8DuAhkWih83TRQWxFOXgAwvDwcOfo6OhvXV1d39tsNtuVBwTDWBwOh1UUxVsMw1hXVlbSdCgNV43uYSvrHg6H24aHh38eHBz85TrgF9FYLHA4HLzH43FvbW2d7u/vG+dANp8FpqIlbd3d3V8Fg8EfBUFw4BONZVmL3+9vHhkZCQL4AoAHgJPK8G+yzC0XDofdoVAo5PP5vkadTBAEtr+/39ff3x8gAp/RPOEqx2qjx+NpvXv3bk9DQ0NDvQgwDIOWlhZrMBj8kgi0UJdxRgYMArzL5XJ7vd57qLPZ7Xamp6fnNgBXtQxcjFuHw+Hyer3t9SYgCAITCAScAJoBNNEY/08GOFVVrfVMv7kMNDntFD1vjIAPrlRN0xjckOm6biFQ3jwNPwDMZrOnqVTqfb3Bi8Wivru7W/VCYkwPlKOjo0IikXh7EwQikYgE4Nw0CfXKDCipVCoTj8df3QABbW1tLUc6oUgkFPMkVACUNjc337148eKvw8PDbJ2jP1taWkoCyNDVXDSECmNSK4qiKNLq6urW8+fPI/UicHx8rD59+jSVy+WOAKSJhKENwFItLtoxk8mwsixzHR0dHe3t7c5PAU+n09rs7OzJkydPYqVSaQfANoDXALIk31S2smU1TWMPDg7K5XKZ7+3t9TudTut1U7+wsFCcmJiIpdPpbQBxADsAknQWymYCOukBHYCuKApisdhpMpnURFEU79y503TVyKenpzOTk5M7e3t7MQKPV0Zv1gNm+awB0MvlshqLxfLb29uyJElWURSbXC4XXyvqxcXFs6mpqeTc3Nzu3t7e3wQcA7BPZ8Cov1pNlJplmQtAG8MwHV6v95tAINA5MDBwPxAIuLu6upr8fr/VAN3c3JQjkcjZ+vp6fnl5+d2bN29SuVzuNYAEpf01CdRChUL+X1VskHACuA3Ay3Fcu9vt7nA6nZ7m5uYWQRCaNE3jVVW15PP580KhIGUymWw2m00DOAJwSP4WwPtq4LX2Ao6USxNlQyS/RcQcdLGwlNIz6vEMAaZpNzCk2Pll94LK/cDYimxERiBwG10sxjgvEZBE0UpE6vxj+0Ct5bTaXthgEhRmja8QWNkkPGsuIpfdjpkK+cZUWTC0KredVmtD/gdlSl6EG4AMvQAAAABJRU5ErkJggg==";
43
- let C = null;
44
- class it extends E {
43
+ let k = null;
44
+ class et extends H {
45
45
  constructor(t) {
46
- var p, w;
46
+ var w, y;
47
47
  super();
48
- h(this, "name", "PointMesh");
49
- h(this, "dom");
50
- h(this, "opacityBeforeHighlight");
51
- h(this, "highlighted", !1);
52
- h(this, "fontMesh");
53
- h(this, "backgroundMesh");
54
- h(this, "lastRenderDomItem");
55
- h(this, "paramsStyle");
56
- h(this, "_visible", !0);
57
- const M = t != null ? t : {}, { point: o } = M, s = y(M, ["point"]);
58
- this.paramsStyle = s != null ? s : {};
59
- const l = new n.BufferGeometry();
60
- l.setAttribute("position", new n.Float32BufferAttribute([0, 0, 0], 3));
61
- const m = {
48
+ s(this, "name", "PointMesh");
49
+ s(this, "dom");
50
+ s(this, "opacityBeforeHighlight");
51
+ s(this, "highlighted", !1);
52
+ s(this, "fontMesh");
53
+ s(this, "backgroundMesh");
54
+ s(this, "lastRenderDomItem");
55
+ s(this, "paramsStyle");
56
+ s(this, "_visible", !0);
57
+ s(this, "_onAdded", () => {
58
+ this.dom || this.updateDom();
59
+ });
60
+ s(this, "_onRemoved", () => {
61
+ var t;
62
+ (t = this.dom) == null || t.destroy(), this.dom = void 0;
63
+ });
64
+ s(this, "_onShowed", () => {
65
+ this.dom && (this.dom.container.style.display = "block");
66
+ });
67
+ s(this, "_onHidden", () => {
68
+ this.dom && (this.dom.container.style.display = "none");
69
+ });
70
+ const p = t != null ? t : {}, { point: o } = p, h = v(p, ["point"]);
71
+ this.paramsStyle = h != null ? h : {};
72
+ const r = new n.BufferGeometry();
73
+ r.setAttribute("position", new n.Float32BufferAttribute([0, 0, 0], 3));
74
+ const M = {
62
75
  transparent: !0,
63
76
  side: n.DoubleSide,
64
- size: (p = t == null ? void 0 : t.size) != null ? p : 8,
65
- map: C || (C = new n.TextureLoader().load(S)),
77
+ size: (w = t == null ? void 0 : t.size) != null ? w : 8,
78
+ map: k || (k = new n.TextureLoader().load(S)),
66
79
  sizeAttenuation: !1
67
- }, f = new n.PointsMaterial(a(g({}, m), {
68
- color: (w = t == null ? void 0 : t.color) != null ? w : 16777215,
80
+ }, u = new n.PointsMaterial(g(m({}, M), {
81
+ color: (y = t == null ? void 0 : t.color) != null ? y : 16777215,
69
82
  depthTest: !0,
70
83
  opacity: 1
71
- })), k = new n.PointsMaterial(a(g({}, m), {
72
- size: f.size,
73
- color: f.color,
84
+ })), C = new n.PointsMaterial(g(m({}, M), {
85
+ size: u.size,
86
+ color: u.color,
74
87
  depthWrite: !1,
75
88
  depthTest: !1,
76
89
  opacity: 0.5
77
- })), r = new n.Points(l, f), A = new n.Points(l, k);
78
- this.fontMesh = r, this.backgroundMesh = A, r.name = "FontMesh", A.name = "BackgroundMesh", r.renderOrder = 10, A.renderOrder = 0, this.add(r, A), t != null && t.point && this.position.copy(I(t.point)), t && this.setStyle(t), this.addEventListener("removed", () => {
79
- x(this);
80
- }), Object.defineProperty(this, "visible", {
81
- set: (b) => {
82
- this.dom && (this.dom.container.style.display = b ? "block" : "none"), this._visible = b;
83
- },
84
- get: () => this._visible
85
- });
90
+ })), l = new n.Points(r, u), d = new n.Points(r, C);
91
+ this.fontMesh = l, this.backgroundMesh = d, l.name = "FontMesh", d.name = "BackgroundMesh", l.renderOrder = 10, d.renderOrder = 0, this.add(l, d), t != null && t.point && this.position.copy(I(t.point)), t && this.setStyle(t), this.addEventListener("removed", () => {
92
+ f.cacheObject.delete(this), f.checkDom(this);
93
+ }), this.addEventListener("added", () => {
94
+ f.cacheObject.add(this);
95
+ }), f.checkDomEveryFrame();
86
96
  }
87
97
  get color() {
88
98
  return this.fontMesh.material.color;
@@ -106,28 +116,28 @@ class it extends E {
106
116
  c(t.color) && (this.fontMesh.material.setValues({ color: t.color }), this.backgroundMesh.material.setValues({ color: t.color })), c(t.size) && (this.fontMesh.material.setValues({ side: t.size }), this.backgroundMesh.material.setValues({ side: t.size })), c(t.occlusionVisibility) && (t.occlusionVisibility ? t.occlusionMode === "depthTest" ? (this.fontMesh.material.depthTest = !1, this.backgroundMesh.visible = !1) : (this.fontMesh.material.depthTest = !0, this.backgroundMesh.visible = !0) : (this.fontMesh.material.depthTest = !0, this.backgroundMesh.visible = !1));
107
117
  }
108
118
  highlight() {
109
- this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.fontMesh.material.opacity, this.fontMesh.material.setValues({ opacity: this.opacityBeforeHighlight * D }));
119
+ this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.fontMesh.material.opacity, this.fontMesh.material.setValues({ opacity: this.opacityBeforeHighlight * P }));
110
120
  }
111
121
  unhighlight() {
112
122
  this.highlighted && (this.highlighted = !1, this.fontMesh.material.setValues({ opacity: this.opacityBeforeHighlight }));
113
123
  }
114
124
  updateMatrixWorld(t) {
115
125
  super.updateMatrixWorld(t);
116
- const o = H(this, this.position).toArray().join(",");
126
+ const o = B(this, this.position).toArray().join(",");
117
127
  o !== this.lastRenderDomItem && (this.updateDom(), this.lastRenderDomItem = o);
118
128
  }
119
129
  updateDom() {
120
130
  const t = this.paramsStyle.tip;
121
- t && !this.dom && (this.dom = new W(this.five), this.dom.intersectCheck = !1, this.dom.simulate3D = !0, this.dom.container.style.display = this.visible ? "block" : "none");
122
- const o = (s) => {
123
- var l;
124
- this.dom && this.dom.__text !== s && (this.dom.__text = s, s instanceof HTMLElement ? (this.dom.container.innerHTML = "", this.dom.container.appendChild(s)) : s ? this.dom.container.innerHTML = B(s, {
125
- style: `color: #${c((l = this.style) == null ? void 0 : l.color) ? new n.Color(this.style.color).getHexString() : "ffffff"}`
131
+ t && !this.dom && (this.dom = new T(this.five), this.dom.intersectCheck = !1, this.dom.simulate3D = !0, this.dom.container.style.display = this.visible ? "block" : "none");
132
+ const o = (h) => {
133
+ var r;
134
+ this.dom && this.dom.__text !== h && (this.dom.__text = h, h instanceof HTMLElement ? (this.dom.container.innerHTML = "", this.dom.container.appendChild(h)) : h ? this.dom.container.innerHTML = W(h, {
135
+ style: `color: #${c((r = this.style) == null ? void 0 : r.color) ? new n.Color(this.style.color).getHexString() : "ffffff"}`
126
136
  }) : this.dom.container.innerHTML = "");
127
137
  };
128
138
  t ? (o(t), this.dom.setPosition(this.position.clone())) : o(null);
129
139
  }
130
140
  }
131
141
  export {
132
- it as PointMesh
142
+ et as PointMesh
133
143
  };
@@ -41,6 +41,10 @@ export declare class PolygonMesh extends ColoredMesh<THREE.BufferGeometry> {
41
41
  * @description: 获取一个点投影在当前平面上的点
42
42
  */
43
43
  projectPoint(point: THREE.Vector3): THREE.Vector3;
44
+ _onAdded: () => void;
45
+ _onRemoved: () => void;
46
+ _onShowed: () => void;
47
+ _onHidden: () => void;
44
48
  private updatePlaneHelper;
45
49
  private updateAreaItems;
46
50
  }