@realsee/dnalogel 3.61.1-alpha.0 → 3.61.2

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 (481) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/PanoTagPlugin/utils/DebugUtil.d.ts +3 -2
  3. package/dist/Sculpt/Objects/Base/index.d.ts +1 -4
  4. package/dist/Sculpt/Objects/Box/index.d.ts +2 -2
  5. package/dist/Sculpt/Objects/Circle/index.d.ts +1 -2
  6. package/dist/Sculpt/Objects/Cylinder/index.d.ts +1 -2
  7. package/dist/Sculpt/Objects/Line/index.d.ts +2 -2
  8. package/dist/Sculpt/Objects/Point/index.d.ts +1 -2
  9. package/dist/Sculpt/Objects/Polygon/index.d.ts +2 -2
  10. package/dist/Sculpt/Objects/Polyline/index.d.ts +2 -2
  11. package/dist/Sculpt/Objects/Prism/index.d.ts +1 -2
  12. package/dist/Sculpt/Objects/Rectangle/index.d.ts +2 -2
  13. package/dist/Sculpt/index.d.ts +14 -17
  14. package/dist/Sculpt/typings/style.d.ts +0 -7
  15. package/dist/Sculpt/utils/Modules/Global.d.ts +0 -4
  16. package/dist/index.cjs.js +41 -41
  17. package/dist/index.js +3841 -3902
  18. package/dist/index.umd.js +38 -38
  19. package/dist/shared-utils/three/PointSelector/index.d.ts +0 -25
  20. package/docs/assets/navigation.js +1 -1
  21. package/docs/assets/search.js +1 -1
  22. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
  23. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
  24. package/docs/classes/CSS3DRender.html +4 -4
  25. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  26. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
  27. package/docs/classes/ModelMakerPluginInstance.html +15 -15
  28. package/docs/classes/ModelRoomLabelController.html +6 -6
  29. package/docs/classes/MoveController.html +17 -17
  30. package/docs/classes/Object3DHelperController.html +15 -15
  31. package/docs/classes/PaintBrush.html +5 -5
  32. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  33. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  34. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  35. package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
  36. package/docs/classes/PanoTagPluginController.html +34 -34
  37. package/docs/classes/Sculpt.html +25 -25
  38. package/docs/classes/Util.BetterTween.html +2 -2
  39. package/docs/classes/Util.FiveDomEvents.html +4 -4
  40. package/docs/classes/Util.FivePuppet.html +3 -3
  41. package/docs/classes/Util.Interval.html +5 -5
  42. package/docs/classes/Util.LightTag.html +14 -14
  43. package/docs/classes/Util.LineSegments.html +2 -2
  44. package/docs/classes/Util.Magnifier.html +6 -6
  45. package/docs/classes/Util.Object3D.html +4 -4
  46. package/docs/classes/Util.PointHelper.html +2 -2
  47. package/docs/classes/Util.PointSelector.html +11 -17
  48. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  49. package/docs/classes/Util.Rectangle.html +5 -5
  50. package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
  51. package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
  52. package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
  53. package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
  54. package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
  55. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
  56. package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
  57. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
  58. package/docs/classes/Util.sculpt.LineMesh.html +5 -5
  59. package/docs/classes/Util.sculpt.PointMesh.html +5 -5
  60. package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
  61. package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
  62. package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
  63. package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
  64. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
  65. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
  66. package/docs/classes/WalkController.html +18 -18
  67. package/docs/enums/CameraMovementEffect.html +3 -3
  68. package/docs/enums/ContentType.html +18 -18
  69. package/docs/enums/DIRECTION.html +2 -2
  70. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  71. package/docs/enums/DimensionType.html +3 -3
  72. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  73. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  74. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  75. package/docs/enums/PointType.html +3 -3
  76. package/docs/enums/Rotation.html +3 -3
  77. package/docs/functions/AreaMakerPlugin.html +1 -1
  78. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  79. package/docs/functions/CameraMovementPlugin.html +2 -2
  80. package/docs/functions/CruisePlugin.html +1 -1
  81. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  82. package/docs/functions/GuideLinePlugin.html +1 -1
  83. package/docs/functions/ItemLabelPlugin.html +1 -1
  84. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  85. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  86. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  87. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  88. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  89. package/docs/functions/ModelMakerPlugin.html +1 -1
  90. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  91. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  92. package/docs/functions/ModelViewPlugin.html +2 -2
  93. package/docs/functions/MovePlugin.html +1 -1
  94. package/docs/functions/Object3DHelperPlugin.html +1 -1
  95. package/docs/functions/PanoCompassPlugin.html +1 -1
  96. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  97. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  98. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  99. package/docs/functions/PanoMeasurePlugin.html +1 -1
  100. package/docs/functions/PanoRulerPlugin.html +2 -2
  101. package/docs/functions/PanoRulerProPlugin.html +2 -2
  102. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  103. package/docs/functions/PanoTagPlugin.html +1 -1
  104. package/docs/functions/PanoVideoPlugin.html +2 -2
  105. package/docs/functions/PipelinePlugin.html +1 -1
  106. package/docs/functions/SculptPlugin.html +2 -2
  107. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  108. package/docs/functions/Util.absoluteUrl.html +2 -2
  109. package/docs/functions/Util.awaitNextFrame.html +1 -1
  110. package/docs/functions/Util.blink.html +2 -2
  111. package/docs/functions/Util.bounding.html +1 -1
  112. package/docs/functions/Util.boundingBox.html +1 -1
  113. package/docs/functions/Util.boundingSphere.html +1 -1
  114. package/docs/functions/Util.boxVertex.html +2 -2
  115. package/docs/functions/Util.boxVertexes.html +1 -1
  116. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  117. package/docs/functions/Util.convexHull.html +2 -2
  118. package/docs/functions/Util.equal.html +2 -2
  119. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  120. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  121. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  122. package/docs/functions/Util.getFrameTime.html +2 -2
  123. package/docs/functions/Util.inside.html +1 -1
  124. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  125. package/docs/functions/Util.isModelLike.html +1 -1
  126. package/docs/functions/Util.isNil.html +2 -2
  127. package/docs/functions/Util.isPanoramaLike.html +1 -1
  128. package/docs/functions/Util.lookObject.html +2 -2
  129. package/docs/functions/Util.lookPoint.html +2 -2
  130. package/docs/functions/Util.nextFrame.html +1 -1
  131. package/docs/functions/Util.notNil.html +2 -2
  132. package/docs/functions/Util.reblink.html +2 -2
  133. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  134. package/docs/functions/Util.sculpt.createBox.html +1 -1
  135. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  136. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  137. package/docs/functions/Util.sculpt.createLine.html +2 -2
  138. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  139. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  140. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  141. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  142. package/docs/functions/Util.tag.html +1 -1
  143. package/docs/functions/Util.tweenProgress.html +1 -1
  144. package/docs/functions/Util.uuid.html +2 -2
  145. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  146. package/docs/functions/Util.worldBounding.html +1 -1
  147. package/docs/functions/Util.worldBoundingBox.html +1 -1
  148. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  149. package/docs/functions/createPolyline.html +2 -2
  150. package/docs/functions/pluginFlag.html +1 -1
  151. package/docs/hierarchy.html +1 -1
  152. package/docs/index.html +2 -2
  153. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  154. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  155. package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
  156. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  157. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
  158. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  159. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  160. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  161. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  162. package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
  163. package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
  164. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  165. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  166. package/docs/interfaces/ContentTypeMapInterface.html +15 -15
  167. package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
  168. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  169. package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
  170. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  171. package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
  172. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
  173. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
  174. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  175. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  176. package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
  177. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
  178. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
  179. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  180. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  181. package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
  182. package/docs/interfaces/FloorplanBounding.html +5 -5
  183. package/docs/interfaces/FloorplanData.html +3 -3
  184. package/docs/interfaces/FloorplanEntrance.html +8 -8
  185. package/docs/interfaces/FloorplanExtraObject.html +5 -5
  186. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  187. package/docs/interfaces/FloorplanFloorData.html +3 -3
  188. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  189. package/docs/interfaces/FloorplanObserver.html +3 -3
  190. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  191. package/docs/interfaces/FloorplanPosition.html +3 -3
  192. package/docs/interfaces/FloorplanRoomItem.html +8 -8
  193. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
  194. package/docs/interfaces/FloorplanServerBounding.html +5 -5
  195. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  196. package/docs/interfaces/FloorplanServerData.html +3 -3
  197. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  198. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  199. package/docs/interfaces/FloorplanServerEntrance.html +8 -8
  200. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  201. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  202. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  203. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  204. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  205. package/docs/interfaces/FloorplanServerRoomItem.html +9 -9
  206. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
  207. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  209. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
  210. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
  211. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  212. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  213. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  214. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  215. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
  216. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  217. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
  218. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  219. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  220. package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
  221. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  222. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
  223. package/docs/interfaces/HelperOffset.html +2 -2
  224. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  225. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  226. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  227. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  228. package/docs/interfaces/MinMax.html +2 -2
  229. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  230. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  231. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  232. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  233. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  234. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  235. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  236. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  237. package/docs/interfaces/ModelMakerPluginType.EventMap.html +10 -10
  238. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  239. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
  240. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  241. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
  242. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
  243. package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
  244. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  245. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  246. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  247. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  248. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  249. package/docs/interfaces/Object3DHelperState.html +2 -2
  250. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  251. package/docs/interfaces/PaintBrushAction.html +7 -7
  252. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  253. package/docs/interfaces/PaintBrushState.html +2 -2
  254. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  255. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  256. package/docs/interfaces/PanoMeasureParameterType.html +6 -6
  257. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  258. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  259. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  260. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
  261. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  262. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  263. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  264. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  265. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  266. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  267. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  268. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  269. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  270. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  271. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  272. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  273. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  274. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  275. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  276. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  277. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  278. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
  279. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  280. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  281. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  282. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
  283. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
  284. package/docs/interfaces/PluginEventMap.html +4 -4
  285. package/docs/interfaces/Point.html +2 -2
  286. package/docs/interfaces/Room.html +2 -2
  287. package/docs/interfaces/RoomInfo.html +2 -2
  288. package/docs/interfaces/RoomLabel.html +7 -7
  289. package/docs/interfaces/RoomRules.html +1 -1
  290. package/docs/interfaces/Rooms.html +1 -1
  291. package/docs/interfaces/Scissor.html +6 -6
  292. package/docs/interfaces/State.html +4 -4
  293. package/docs/interfaces/TagCacheInterface.html +3 -3
  294. package/docs/interfaces/TagConfig.html +11 -11
  295. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  296. package/docs/interfaces/TagIconUrl.html +7 -7
  297. package/docs/interfaces/TagObjectGroup.html +2 -2
  298. package/docs/interfaces/TagStyle.html +2 -2
  299. package/docs/interfaces/Tags.html +4 -4
  300. package/docs/interfaces/TemporaryState.html +2 -2
  301. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  302. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  303. package/docs/interfaces/Util.EventHandlerConfig.html +4 -4
  304. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  305. package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
  306. package/docs/interfaces/Util.MagnifierParameter.html +5 -5
  307. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  308. package/docs/interfaces/Util.PointIntersection.html +4 -4
  309. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  310. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  311. package/docs/modules/AreaMakerPluginType.html +2 -2
  312. package/docs/modules/CruisePluginTypes.html +2 -2
  313. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  314. package/docs/modules/GuideLineItem.html +2 -2
  315. package/docs/modules/GuideLineModeItem.html +2 -2
  316. package/docs/modules/GuideLinePluginType.html +2 -2
  317. package/docs/modules/ModelMakerPluginType.html +2 -2
  318. package/docs/modules/PanoVideoPluginType.html +2 -2
  319. package/docs/modules/SculptData.html +2 -2
  320. package/docs/modules/Util.html +2 -2
  321. package/docs/modules/Util.sculpt.html +2 -2
  322. package/docs/modules.html +2 -2
  323. package/docs/types/AddObject3DHelperConfig.html +2 -2
  324. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  325. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  326. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  327. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  328. package/docs/types/ArrayPosition.html +1 -1
  329. package/docs/types/AudioAppearance.html +1 -1
  330. package/docs/types/CSS3DRenderExportType.html +1 -1
  331. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  332. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  333. package/docs/types/ClassFunctionParameters.html +1 -1
  334. package/docs/types/Color.html +1 -1
  335. package/docs/types/ContentTypeConfigKey.html +1 -1
  336. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  337. package/docs/types/ContentTypeMap.html +1 -1
  338. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  339. package/docs/types/Create3DElementReturnType.html +1 -1
  340. package/docs/types/CruisePluginExportType.html +1 -1
  341. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  342. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  343. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  344. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  345. package/docs/types/DeprecatedTagProperty.html +2 -2
  346. package/docs/types/Direction-1.html +1 -1
  347. package/docs/types/Direction4.html +1 -1
  348. package/docs/types/ElementRenderer.html +2 -2
  349. package/docs/types/FloorplanRuleLabels.html +2 -2
  350. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  351. package/docs/types/GuideLinePluginExportType.html +1 -1
  352. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  353. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  354. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  355. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  356. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  357. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  358. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  359. package/docs/types/HelperEventMap.html +1 -1
  360. package/docs/types/InternalHelperEventMap.html +1 -1
  361. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  362. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  363. package/docs/types/MediaData.html +2 -2
  364. package/docs/types/MediaStore.html +1 -1
  365. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  366. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  367. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  368. package/docs/types/ModelId.html +1 -1
  369. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  370. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  371. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  372. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  373. package/docs/types/MoveArgs.html +2 -2
  374. package/docs/types/MoveOpts.html +2 -2
  375. package/docs/types/Object3DHelperEventMap.html +1 -1
  376. package/docs/types/ObjectFit.html +1 -1
  377. package/docs/types/PaintBrushEventMap.html +1 -1
  378. package/docs/types/PanoCompassPluginData.html +1 -1
  379. package/docs/types/PanoCompassPluginExportType.html +1 -1
  380. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  381. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  382. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  383. package/docs/types/PanoIndex.html +1 -1
  384. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  385. package/docs/types/PanoMeasureReturnType.html +1 -1
  386. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  387. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  388. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  389. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  390. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  391. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  392. package/docs/types/PipelinePluginParameterType.html +1 -1
  393. package/docs/types/PipelinePluginReturnType.html +1 -1
  394. package/docs/types/PlaneTag.html +2 -2
  395. package/docs/types/Point2DTag.html +2 -2
  396. package/docs/types/Point3DTag.html +2 -2
  397. package/docs/types/PointTagInstance.html +1 -1
  398. package/docs/types/Position.html +1 -1
  399. package/docs/types/PositionFrom.html +1 -1
  400. package/docs/types/RotateArgs.html +2 -2
  401. package/docs/types/RotateOpts.html +2 -2
  402. package/docs/types/RuleLabelsKey.html +1 -1
  403. package/docs/types/RuleLabelsValue.html +1 -1
  404. package/docs/types/ScaleCallback.html +1 -1
  405. package/docs/types/ScalePosition.html +2 -2
  406. package/docs/types/SculptData.BoxData.html +1 -1
  407. package/docs/types/SculptData.CircleData.html +1 -1
  408. package/docs/types/SculptData.CylinderData.html +1 -1
  409. package/docs/types/SculptData.PointData.html +1 -1
  410. package/docs/types/SculptData.PolygonData.html +1 -1
  411. package/docs/types/SculptData.PolylineData.html +1 -1
  412. package/docs/types/SculptData.PrismData.html +1 -1
  413. package/docs/types/SculptData.RectangleData.html +1 -1
  414. package/docs/types/StickType.html +1 -1
  415. package/docs/types/Tag.html +2 -2
  416. package/docs/types/Tag2D.html +2 -2
  417. package/docs/types/Tag3D.html +2 -2
  418. package/docs/types/TagClickParams.html +1 -1
  419. package/docs/types/TagConfigByKey.html +1 -1
  420. package/docs/types/TagContentType.html +1 -1
  421. package/docs/types/TagContentTypeMapping.html +1 -1
  422. package/docs/types/TagDimensionType.html +1 -1
  423. package/docs/types/TagElement.html +2 -2
  424. package/docs/types/TagEvents.html +1 -1
  425. package/docs/types/TagGLTFObject.html +1 -1
  426. package/docs/types/TagHooks.html +1 -1
  427. package/docs/types/TagId.html +1 -1
  428. package/docs/types/TagInstance.html +1 -1
  429. package/docs/types/TagPointType.html +2 -2
  430. package/docs/types/TagRendererMap.html +1 -1
  431. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  432. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  433. package/docs/types/Util.ActionIfNoModelUnderMouse.html +1 -1
  434. package/docs/types/Util.PointSelectorConfig.html +1 -1
  435. package/docs/types/WorkCode.html +1 -1
  436. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  437. package/docs/variables/PLUGIN.html +1 -1
  438. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  439. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  440. package/docs/variables/Util.animeMap.html +1 -1
  441. package/docs/variables/defaultGlobalConfig.html +1 -1
  442. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  443. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  444. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  445. package/libs/ModelViewPlugin/Plugin.js +144 -89
  446. package/libs/ModelViewPlugin/index.js +56 -0
  447. package/libs/PanoTagPlugin/controller/index.js +1 -1
  448. package/libs/PanoTagPlugin/utils/DebugUtil.d.ts +3 -2
  449. package/libs/PanoTagPlugin/utils/DebugUtil.js +28 -30
  450. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +1 -1
  451. package/libs/Sculpt/Objects/Base/index.d.ts +1 -4
  452. package/libs/Sculpt/Objects/Base/index.js +23 -27
  453. package/libs/Sculpt/Objects/Box/index.d.ts +2 -2
  454. package/libs/Sculpt/Objects/Box/index.js +44 -46
  455. package/libs/Sculpt/Objects/Circle/index.d.ts +1 -2
  456. package/libs/Sculpt/Objects/Circle/index.js +55 -57
  457. package/libs/Sculpt/Objects/Cylinder/index.d.ts +1 -2
  458. package/libs/Sculpt/Objects/Cylinder/index.js +29 -31
  459. package/libs/Sculpt/Objects/Line/index.d.ts +2 -2
  460. package/libs/Sculpt/Objects/Line/index.js +40 -42
  461. package/libs/Sculpt/Objects/Point/index.d.ts +1 -2
  462. package/libs/Sculpt/Objects/Point/index.js +43 -45
  463. package/libs/Sculpt/Objects/Polygon/index.d.ts +2 -2
  464. package/libs/Sculpt/Objects/Polygon/index.js +72 -74
  465. package/libs/Sculpt/Objects/Polyline/index.d.ts +2 -2
  466. package/libs/Sculpt/Objects/Polyline/index.js +34 -36
  467. package/libs/Sculpt/Objects/Prism/index.d.ts +1 -2
  468. package/libs/Sculpt/Objects/Prism/index.js +52 -54
  469. package/libs/Sculpt/Objects/Rectangle/index.d.ts +2 -2
  470. package/libs/Sculpt/Objects/Rectangle/index.js +66 -67
  471. package/libs/Sculpt/index.d.ts +14 -17
  472. package/libs/Sculpt/index.js +68 -76
  473. package/libs/Sculpt/typings/style.d.ts +0 -7
  474. package/libs/Sculpt/utils/Modules/Global.d.ts +0 -4
  475. package/libs/Sculpt/utils/Modules/Global.js +12 -24
  476. package/libs/base/BasePlugin.js +5 -5
  477. package/libs/index.js +5 -5
  478. package/libs/shared-utils/logger.js +1 -1
  479. package/libs/shared-utils/three/PointSelector/index.d.ts +0 -25
  480. package/libs/shared-utils/three/PointSelector/index.js +6 -32
  481. package/package.json +1 -1
@@ -2,7 +2,7 @@ import type { Five } from '@realsee/five';
2
2
  import type * as THREE from 'three';
3
3
  import type { BaseObjectConfig } from './Objects/Base';
4
4
  import { Subscribe } from '../shared-utils/Subscribe';
5
- import { PointSelector } from '../shared-utils';
5
+ import { IObject3D } from '../shared-utils/three/IObject3D';
6
6
  import { Polyline } from './Objects/Polyline';
7
7
  import { Point } from './Objects/Point';
8
8
  import { Polygon } from './Objects/Polygon';
@@ -39,14 +39,14 @@ export declare class Sculpt extends Subscribe<Event> {
39
39
  static modules: {
40
40
  five: Five;
41
41
  _cursor?: import("./utils/Modules/Cursor").Cursor;
42
- _pointSelector?: PointSelector;
42
+ _pointSelector?: import("../shared-utils").PointSelector;
43
43
  _fiveDomEvents?: import("../shared-utils").FiveDomEvents;
44
44
  _object3DHelper?: import("..").Object3DHelperController;
45
45
  inited: boolean;
46
- cursor: import("./utils/Modules/Cursor").Cursor;
47
- pointSelector: PointSelector;
48
- fiveDomEvents: import("../shared-utils").FiveDomEvents;
49
- object3DHelper: import("..").Object3DHelperController;
46
+ readonly cursor: import("./utils/Modules/Cursor").Cursor;
47
+ readonly pointSelector: import("../shared-utils").PointSelector;
48
+ readonly fiveDomEvents: import("../shared-utils").FiveDomEvents;
49
+ readonly object3DHelper: import("..").Object3DHelperController;
50
50
  init: (five: Five) => void;
51
51
  };
52
52
  get data(): {
@@ -71,12 +71,7 @@ export declare class Sculpt extends Subscribe<Event> {
71
71
  points: [number, number, number][];
72
72
  style: {
73
73
  color: number;
74
- lineColor: number; /**
75
- * @description: 点击事件
76
- * @param {MouseEvent} e 鼠标事件
77
- * @param {BuiltInItem} item 点击的物体
78
- * 返回 false 来禁用 Five 默认行为
79
- */
74
+ lineColor: number;
80
75
  lineWidth: number;
81
76
  };
82
77
  id: string;
@@ -85,7 +80,12 @@ export declare class Sculpt extends Subscribe<Event> {
85
80
  readonly points: [number, number, number][];
86
81
  readonly heightPoint: [number, number, number];
87
82
  readonly style: {
88
- readonly color: number;
83
+ readonly color: number; /**
84
+ * @description: 点击事件
85
+ * @param {MouseEvent} e 鼠标事件
86
+ * @param {BuiltInItem} item 点击的物体
87
+ * 返回 false 来禁用 Five 默认行为
88
+ */
89
89
  readonly lineWidth: number;
90
90
  readonly lineColor: number;
91
91
  };
@@ -111,13 +111,10 @@ export declare class Sculpt extends Subscribe<Event> {
111
111
  type: string;
112
112
  })[];
113
113
  };
114
+ group: IObject3D;
114
115
  theme: Theme;
115
116
  get items(): BuiltInItem[];
116
- get pointSelector(): PointSelector;
117
- set pointSelector(pointSelector: PointSelector);
118
- private _pointSelector?;
119
117
  private five;
120
- private group;
121
118
  private creatingItem;
122
119
  constructor(five: Five, theme?: Theme);
123
120
  /**
@@ -1,34 +1,34 @@
1
- var _ = Object.defineProperty, D = Object.defineProperties;
2
- var L = Object.getOwnPropertyDescriptors;
1
+ var L = Object.defineProperty, B = Object.defineProperties;
2
+ var U = Object.getOwnPropertyDescriptors;
3
3
  var y = Object.getOwnPropertySymbols;
4
- var B = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
5
- var g = (c, o, e) => o in c ? _(c, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[o] = e, p = (c, o) => {
6
- for (var e in o || (o = {}))
7
- B.call(o, e) && g(c, e, o[e]);
4
+ var _ = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
5
+ var g = (c, n, e) => n in c ? L(c, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[n] = e, a = (c, n) => {
6
+ for (var e in n || (n = {}))
7
+ _.call(n, e) && g(c, e, n[e]);
8
8
  if (y)
9
- for (var e of y(o))
10
- U.call(o, e) && g(c, e, o[e]);
9
+ for (var e of y(n))
10
+ x.call(n, e) && g(c, e, n[e]);
11
11
  return c;
12
- }, f = (c, o) => D(c, L(o));
13
- var h = (c, o, e) => (g(c, typeof o != "symbol" ? o + "" : o, e), e);
14
- var l = (c, o, e) => new Promise((t, r) => {
15
- var m = (s) => {
12
+ }, f = (c, n) => B(c, U(n));
13
+ var h = (c, n, e) => (g(c, typeof n != "symbol" ? n + "" : n, e), e);
14
+ var m = (c, n, e) => new Promise((t, r) => {
15
+ var l = (s) => {
16
16
  try {
17
- n(e.next(s));
17
+ o(e.next(s));
18
18
  } catch (d) {
19
19
  r(d);
20
20
  }
21
21
  }, i = (s) => {
22
22
  try {
23
- n(e.throw(s));
23
+ o(e.throw(s));
24
24
  } catch (d) {
25
25
  r(d);
26
26
  }
27
- }, n = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(m, i);
28
- n((e = e.apply(c, o)).next());
27
+ }, o = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(l, i);
28
+ o((e = e.apply(c, n)).next());
29
29
  });
30
- import { globalModules as x } from "./utils/Modules/Global.js";
31
- import { Subscribe as E } from "../shared-utils/Subscribe.js";
30
+ import { globalModules as E } from "./utils/Modules/Global.js";
31
+ import { Subscribe as S } from "../shared-utils/Subscribe.js";
32
32
  import { IObject3D as z } from "../shared-utils/three/IObject3D.js";
33
33
  import "../shared-utils/tag.js";
34
34
  import "three";
@@ -43,25 +43,24 @@ import "../vendor/animejs/lib/anime.es.js";
43
43
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
44
44
  import "../shared-utils/five/FivePuppet.js";
45
45
  import { recurveFindObject as H } from "../shared-utils/three/recurveFindObject.js";
46
- import { Polyline as S } from "./Objects/Polyline/index.js";
47
- import { Point as I } from "./Objects/Point/index.js";
48
- import { Polygon as b } from "./Objects/Polygon/index.js";
49
- import { Prism as w } from "./Objects/Prism/index.js";
50
- import { Rectangle as j } from "./Objects/Rectangle/index.js";
51
- import { Circle as O } from "./Objects/Circle/index.js";
52
- import { Cylinder as P } from "./Objects/Cylinder/index.js";
53
- import { Box as v } from "./Objects/Box/index.js";
46
+ import { Polyline as I } from "./Objects/Polyline/index.js";
47
+ import { Point as b } from "./Objects/Point/index.js";
48
+ import { Polygon as w } from "./Objects/Polygon/index.js";
49
+ import { Prism as j } from "./Objects/Prism/index.js";
50
+ import { Rectangle as O } from "./Objects/Rectangle/index.js";
51
+ import { Circle as P } from "./Objects/Circle/index.js";
52
+ import { Cylinder as v } from "./Objects/Cylinder/index.js";
53
+ import { Box as C } from "./Objects/Box/index.js";
54
54
  import { forReverseEach as M } from "../shared-utils/forReverseEach.js";
55
- import { Line as C } from "./Objects/Line/index.js";
56
- import { hotkeys as R } from "../vendor/hotkeys-js/dist/hotkeys.esm.js";
55
+ import { Line as R } from "./Objects/Line/index.js";
56
+ import { hotkeys as D } from "../vendor/hotkeys-js/dist/hotkeys.esm.js";
57
57
  import { withResolvers as G } from "../shared-utils/promise/withResolvers.js";
58
- const u = class extends E {
58
+ const u = class extends S {
59
59
  constructor(e, t) {
60
60
  super();
61
+ h(this, "group");
61
62
  h(this, "theme");
62
- h(this, "_pointSelector");
63
63
  h(this, "five");
64
- h(this, "group");
65
64
  h(this, "creatingItem", null);
66
65
  /**
67
66
  * @description: 撤销
@@ -77,10 +76,10 @@ const u = class extends E {
77
76
  var e;
78
77
  console.log("redo"), (e = this.creatingItem) == null || e.redo(), this.five.needsRender = !0;
79
78
  });
80
- this.five = e, this.theme = t, this.group = new z(), this.group.name = "Sculpt", e.scene.add(this.group), u.modules.init(e), R("ctrl+z, command+z", this.undo), R("ctrl+shift+z, command+shift+z", this.redo), u.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: r, origDomEvent: m }) => {
81
- var n;
82
- const i = H((n = r == null ? void 0 : r[0]) == null ? void 0 : n.object, (s) => s.isSculptObject);
83
- return i && !i.editing ? this.emit("click", m, i) : !1;
79
+ this.five = e, this.theme = t, this.group = new z(), this.group.name = "Sculpt", e.scene.add(this.group), u.modules.init(e), D("ctrl+z, command+z", this.undo), D("ctrl+shift+z, command+shift+z", this.redo), u.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: r, origDomEvent: l }) => {
80
+ var o;
81
+ const i = H((o = r == null ? void 0 : r[0]) == null ? void 0 : o.object, (s) => s.isSculptObject);
82
+ return i && !i.editing ? this.emit("click", l, i) : !1;
84
83
  }), window.__SCULPT_DEBUG__ = this, window.__SCULPT_MODULES_DEBUG__ = u.modules;
85
84
  }
86
85
  get data() {
@@ -97,25 +96,18 @@ const u = class extends E {
97
96
  get items() {
98
97
  return this.group.children;
99
98
  }
100
- get pointSelector() {
101
- var e;
102
- return (e = this._pointSelector) != null ? e : u.modules.pointSelector;
103
- }
104
- set pointSelector(e) {
105
- this._pointSelector = e;
106
- }
107
99
  /**
108
100
  * @description: 加载数据 展示
109
101
  */
110
102
  load(e, t) {
111
- var m;
103
+ var l;
112
104
  this.clear();
113
- const r = (m = e == null ? void 0 : e.items) == null ? void 0 : m.map((i) => {
105
+ const r = (l = e == null ? void 0 : e.items) == null ? void 0 : l.map((i) => {
114
106
  var s;
115
- const n = f(p({}, i), {
116
- style: p(p({}, (s = this.theme) == null ? void 0 : s[i.type.toLowerCase()]), i.style)
107
+ const o = f(a({}, i), {
108
+ style: a(a({}, (s = this.theme) == null ? void 0 : s[i.type.toLowerCase()]), i.style)
117
109
  });
118
- return i.type === "Point" ? new I(n, t) : i.type === "line" ? new C(n, t) : i.type === "Polyline" ? new S(n, t) : i.type === "Polygon" ? new b(n, t) : i.type === "Prism" ? new w(n, t) : i.type === "Rectangle" ? new j(n, t) : i.type === "Circle" ? new O(n, t) : i.type === "Cylinder" ? new P(n, t) : i.type === "Box" ? new v(n, t) : null;
110
+ return i.type === "Point" ? new b(o, t) : i.type === "line" ? new R(o, t) : i.type === "Polyline" ? new I(o, t) : i.type === "Polygon" ? new w(o, t) : i.type === "Prism" ? new j(o, t) : i.type === "Rectangle" ? new O(o, t) : i.type === "Circle" ? new P(o, t) : i.type === "Cylinder" ? new v(o, t) : i.type === "Box" ? new C(o, t) : null;
119
111
  });
120
112
  this.group.add(...r), this.five.needsRender = !0;
121
113
  }
@@ -129,34 +121,34 @@ const u = class extends E {
129
121
  * @description: 放置物体
130
122
  */
131
123
  putObject(e) {
132
- var m;
124
+ var l;
133
125
  this.group.add(e);
134
126
  const t = u.modules.object3DHelper, r = t.addObject3DHelper(e);
135
- return (m = r == null ? void 0 : r.moveController) == null || m.moveByMouse(), t;
127
+ return (l = r == null ? void 0 : r.moveController) == null || l.moveByMouse(), t;
136
128
  }
137
129
  /**
138
130
  * @description: 开始绘制点
139
131
  */
140
132
  createPoint(...e) {
141
- return l(this, null, function* () {
133
+ return m(this, null, function* () {
142
134
  var t, r;
143
- return Object.assign((t = e[0]) != null ? t : {}, (r = this.theme) == null ? void 0 : r.point, { pointSelector: this.pointSelector }, e[0]), this.createItem(I, ...e);
135
+ return Object.assign((t = e[0]) != null ? t : {}, (r = this.theme) == null ? void 0 : r.point, e[0]), this.createItem(b, ...e);
144
136
  });
145
137
  }
146
138
  /**
147
139
  * @description: 开始绘制线段
148
140
  */
149
141
  createLine(...e) {
150
- return l(this, null, function* () {
142
+ return m(this, null, function* () {
151
143
  var t, r;
152
- return Object.assign((t = e[0]) != null ? t : {}, (r = this.theme) == null ? void 0 : r.line, { pointSelector: this.pointSelector }, e[0]), this.createItem(C, ...e);
144
+ return Object.assign((t = e[0]) != null ? t : {}, (r = this.theme) == null ? void 0 : r.line, e[0]), this.createItem(R, ...e);
153
145
  });
154
146
  }
155
147
  /**
156
148
  * @deprecated use createLine instead
157
149
  */
158
150
  createline(...e) {
159
- return l(this, null, function* () {
151
+ return m(this, null, function* () {
160
152
  this.createLine(...e);
161
153
  });
162
154
  }
@@ -164,63 +156,63 @@ const u = class extends E {
164
156
  * @description: 开始绘制空间折线
165
157
  */
166
158
  createPolyline(...e) {
167
- return l(this, null, function* () {
159
+ return m(this, null, function* () {
168
160
  var t, r;
169
- return Object.assign((t = e[0]) != null ? t : {}, (r = this.theme) == null ? void 0 : r.polyline, { pointSelector: this.pointSelector }, e[0]), this.createItem(S, ...e);
161
+ return Object.assign((t = e[0]) != null ? t : {}, (r = this.theme) == null ? void 0 : r.polyline, e[0]), this.createItem(I, ...e);
170
162
  });
171
163
  }
172
164
  /**
173
165
  * @description: 开始绘制平面多边形
174
166
  */
175
167
  createPolygon(...e) {
176
- return l(this, null, function* () {
168
+ return m(this, null, function* () {
177
169
  var t, r;
178
- return Object.assign((t = e[0]) != null ? t : {}, (r = this.theme) == null ? void 0 : r.polygon, { pointSelector: this.pointSelector }, e[0]), this.createItem(b, ...e);
170
+ return Object.assign((t = e[0]) != null ? t : {}, (r = this.theme) == null ? void 0 : r.polygon, e[0]), this.createItem(w, ...e);
179
171
  });
180
172
  }
181
173
  /**
182
174
  * @description: 开始绘制多棱柱
183
175
  */
184
176
  createPrism(...e) {
185
- return l(this, null, function* () {
177
+ return m(this, null, function* () {
186
178
  var t, r;
187
- return Object.assign((t = e[0]) != null ? t : {}, (r = this.theme) == null ? void 0 : r.prism, { pointSelector: this.pointSelector }, e[0]), this.createItem(w, ...e);
179
+ return Object.assign((t = e[0]) != null ? t : {}, (r = this.theme) == null ? void 0 : r.prism, e[0]), this.createItem(j, ...e);
188
180
  });
189
181
  }
190
182
  /**
191
183
  * @description: 开始绘制矩形
192
184
  */
193
185
  createRectangle(...e) {
194
- return l(this, null, function* () {
186
+ return m(this, null, function* () {
195
187
  var t, r;
196
- return Object.assign((t = e[0]) != null ? t : {}, (r = this.theme) == null ? void 0 : r.rectangle, { pointSelector: this.pointSelector }, e[0]), this.createItem(j, ...e);
188
+ return Object.assign((t = e[0]) != null ? t : {}, (r = this.theme) == null ? void 0 : r.rectangle, e[0]), this.createItem(O, ...e);
197
189
  });
198
190
  }
199
191
  /**
200
192
  * @description: 开始绘制圆形
201
193
  */
202
194
  createCircle(...e) {
203
- return l(this, null, function* () {
195
+ return m(this, null, function* () {
204
196
  var t, r;
205
- return Object.assign((t = e[0]) != null ? t : {}, (r = this.theme) == null ? void 0 : r.circle, { pointSelector: this.pointSelector }, e[0]), this.createItem(O, ...e);
197
+ return Object.assign((t = e[0]) != null ? t : {}, (r = this.theme) == null ? void 0 : r.circle, e[0]), this.createItem(P, ...e);
206
198
  });
207
199
  }
208
200
  /**
209
201
  * @description: 开始绘制圆柱
210
202
  */
211
203
  createCylinder(...e) {
212
- return l(this, null, function* () {
204
+ return m(this, null, function* () {
213
205
  var t, r;
214
- return Object.assign((t = e[0]) != null ? t : {}, (r = this.theme) == null ? void 0 : r.cylinder, { pointSelector: this.pointSelector }, e[0]), this.createItem(P, ...e);
206
+ return Object.assign((t = e[0]) != null ? t : {}, (r = this.theme) == null ? void 0 : r.cylinder, e[0]), this.createItem(v, ...e);
215
207
  });
216
208
  }
217
209
  /**
218
210
  * @description: 开始绘制 Box
219
211
  */
220
212
  createBox(...e) {
221
- return l(this, null, function* () {
213
+ return m(this, null, function* () {
222
214
  var t, r;
223
- return Object.assign((t = e[0]) != null ? t : {}, (r = this.theme) == null ? void 0 : r.box, { pointSelector: this.pointSelector }, e[0]), this.createItem(v, ...e);
215
+ return Object.assign((t = e[0]) != null ? t : {}, (r = this.theme) == null ? void 0 : r.box, e[0]), this.createItem(C, ...e);
224
216
  });
225
217
  }
226
218
  canUndo() {
@@ -238,21 +230,21 @@ const u = class extends E {
238
230
  M(this.items, (e) => e.delete()), this.five.needsRender = !0;
239
231
  }
240
232
  createItem(e, ...t) {
241
- return l(this, null, function* () {
233
+ return m(this, null, function* () {
242
234
  this.creatingItem && (this.creatingItem.stopCreating(), this.creatingItem = null);
243
235
  const r = new e();
244
236
  this.creatingItem = r, this.group.add(r);
245
- const { promise: m, resolve: i, reject: n } = G();
237
+ const { promise: l, resolve: i, reject: o } = G();
246
238
  return yield r.create(...t).then((...s) => (this.creatingItem = null, i(r), s)).catch((s) => {
247
- n(s), this.group.remove(r);
248
- }), m;
239
+ o(s), this.group.remove(r);
240
+ }), l;
249
241
  });
250
242
  }
251
243
  };
252
- let a = u;
253
- h(a, "modules", x);
254
- const ge = (c) => new a(c);
244
+ let p = u;
245
+ h(p, "modules", E);
246
+ const ge = (c) => new p(c);
255
247
  export {
256
- a as Sculpt,
248
+ p as Sculpt,
257
249
  ge as SculptPlugin
258
250
  };
@@ -1,5 +1,4 @@
1
1
  import type * as THREE from 'three';
2
- import type { PointSelector } from '../../shared-utils';
3
2
  export type Color = THREE.Color | string | number;
4
3
  export declare const DEFAULT_COLOR = 16777215;
5
4
  export declare const DEFAULT_LINE_COLOR = 16777215;
@@ -80,10 +79,4 @@ export type DisplayInfoConfig = {
80
79
  */
81
80
  tip: string;
82
81
  };
83
- export type CreateUtils = {
84
- /**
85
- * @description 选点工具
86
- */
87
- pointSelector: PointSelector;
88
- };
89
82
  export type LineStyle = LineColorStyle & LineOpacityStyle & LineWidthStyle;
@@ -11,13 +11,9 @@ declare class GlobalModules {
11
11
  _object3DHelper?: Object3DHelperController;
12
12
  inited: boolean;
13
13
  get cursor(): Cursor;
14
- set cursor(value: Cursor);
15
14
  get pointSelector(): PointSelector;
16
- set pointSelector(value: PointSelector);
17
15
  get fiveDomEvents(): FiveDomEvents;
18
- set fiveDomEvents(value: FiveDomEvents);
19
16
  get object3DHelper(): Object3DHelperController;
20
- set object3DHelper(value: Object3DHelperController);
21
17
  init: (five: Five) => void;
22
18
  }
23
19
  declare const globalModules: GlobalModules;
@@ -1,11 +1,11 @@
1
1
  var r = Object.defineProperty;
2
- var s = (i, e, o) => e in i ? r(i, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : i[e] = o;
3
- var t = (i, e, o) => (s(i, typeof e != "symbol" ? e + "" : e, o), o);
4
- import { Cursor as n } from "./Cursor.js";
2
+ var n = (i, e, o) => e in i ? r(i, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : i[e] = o;
3
+ var t = (i, e, o) => (n(i, typeof e != "symbol" ? e + "" : e, o), o);
4
+ import { Cursor as s } from "./Cursor.js";
5
5
  import { Object3DHelperController as l } from "../../../Object3DHelperPlugin/Controller.js";
6
6
  import { FiveDomEvents as h } from "../../../shared-utils/five/FiveDomEvents.js";
7
7
  import { PointSelector as c } from "../../../shared-utils/three/PointSelector/index.js";
8
- class v {
8
+ class f {
9
9
  constructor() {
10
10
  t(this, "five");
11
11
  t(this, "_cursor");
@@ -19,39 +19,27 @@ class v {
19
19
  }
20
20
  get cursor() {
21
21
  if (!this.inited)
22
- throw new Error("请先调用 Sculpt.modules.init(five)");
23
- return this._cursor ? this._cursor : (this._cursor = new n(this.five.getElement()), this._cursor);
24
- }
25
- set cursor(e) {
26
- this._cursor = e;
22
+ throw new Error("Global not inited");
23
+ return this._cursor ? this._cursor : (this._cursor = new s(this.five.getElement()), this._cursor);
27
24
  }
28
25
  get pointSelector() {
29
26
  if (!this.inited)
30
- throw new Error("请先调用 Sculpt.modules.init(five)");
27
+ throw new Error("Global not inited");
31
28
  return this._pointSelector ? this._pointSelector : (this._pointSelector = new c(this.five, { mode: "cursor" }), this._pointSelector);
32
29
  }
33
- set pointSelector(e) {
34
- this._pointSelector = e;
35
- }
36
30
  get fiveDomEvents() {
37
31
  if (!this.inited)
38
- throw new Error("请先调用 Sculpt.modules.init(five)");
32
+ throw new Error("Global not inited");
39
33
  return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new h(this.five, { noEmitWhenNotInScene: !0 }), this._fiveDomEvents);
40
34
  }
41
- set fiveDomEvents(e) {
42
- this._fiveDomEvents = e;
43
- }
44
35
  get object3DHelper() {
45
36
  if (!this.inited)
46
- throw new Error("请先调用 Sculpt.modules.init(five)");
37
+ throw new Error("Global not inited");
47
38
  return this._object3DHelper ? this._object3DHelper : (this._object3DHelper = new l(this.five), this._object3DHelper);
48
39
  }
49
- set object3DHelper(e) {
50
- this._object3DHelper = e;
51
- }
52
40
  }
53
- const f = new v();
54
- window.globalModules = f;
41
+ const v = new f();
42
+ window.globalModules = v;
55
43
  export {
56
- f as globalModules
44
+ v as globalModules
57
45
  };
@@ -11,8 +11,8 @@ import "@realsee/five/line";
11
11
  import "../shared-utils/three/core/Five_LineMaterial2.js";
12
12
  import "../shared-utils/three/core/Sphere.js";
13
13
  import "../vendor/animejs/lib/anime.es.js";
14
- import { FiveUtil as a } from "../shared-utils/Utils/FiveUtil.js";
15
- import { absoluteUrl as m } from "../shared-utils/url/absoluteUrl.js";
14
+ import { FiveUtil as m } from "../shared-utils/Utils/FiveUtil.js";
15
+ import { absoluteUrl as a } from "../shared-utils/url/absoluteUrl.js";
16
16
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
17
17
  import "../shared-utils/five/FivePuppet.js";
18
18
  let S = class {
@@ -20,7 +20,7 @@ let S = class {
20
20
  /**
21
21
  * @realsee/dnalogel 版本号
22
22
  */
23
- i(this, "VERSION", "3.61.1-alpha.0");
23
+ i(this, "VERSION", "3.61.2");
24
24
  i(this, "NAME");
25
25
  i(this, "five");
26
26
  i(this, "workUtil");
@@ -30,7 +30,7 @@ let S = class {
30
30
  */
31
31
  i(this, "hooks", new l());
32
32
  i(this, "staticPrefix", "//vr-image-4.realsee-cdn.cn");
33
- this.five = t, this.fiveUtil = new a(t), this.workUtil = this.fiveUtil.workUtil, r != null && r.staticPrefix && (this.staticPrefix = r.staticPrefix);
33
+ this.five = t, this.fiveUtil = new m(t), this.workUtil = this.fiveUtil.workUtil, r != null && r.staticPrefix && (this.staticPrefix = r.staticPrefix);
34
34
  }
35
35
  set workCode(t) {
36
36
  this.workUtil.workCode = t, this.onWorkCodeChange();
@@ -51,7 +51,7 @@ let S = class {
51
51
  * @description: 获取静态资源的url
52
52
  */
53
53
  absoluteUrl(t) {
54
- return m(this.staticPrefix, t);
54
+ return a(this.staticPrefix, t);
55
55
  }
56
56
  onWorkCodeChange() {
57
57
  }
package/libs/index.js CHANGED
@@ -74,16 +74,14 @@ import "./components/PaintBrush/Subscribe.js";
74
74
  import "./shared-utils/uuid.js";
75
75
  import "./components/PaintBrush/style.js";
76
76
  import "@realsee/five";
77
- import "three";
78
- import "./CSS3DRenderPlugin/Controller.js";
79
- import "./CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
77
+ import "./shared-utils/Subscribe.js";
80
78
  import "./shared-utils/tag.js";
81
79
  import "./shared-utils/positionToVector3.js";
80
+ import "three";
82
81
  import "./shared-utils/five/vector3ToScreen.js";
83
82
  import "./shared-utils/five/getFiveModel.js";
84
83
  import "./shared-utils/Utils/FiveUtil.js";
85
84
  import "./shared-utils/Utils/BaseUtil.js";
86
- import "./shared-utils/Subscribe.js";
87
85
  import "./shared-utils/Utils/WorkUtil.js";
88
86
  import "./shared-utils/five/transformPosition.js";
89
87
  import "./shared-utils/three/temp.js";
@@ -130,6 +128,9 @@ import "./shared-utils/isTouchDevice.js";
130
128
  import "./shared-utils/five/getPosition.js";
131
129
  import "./shared-utils/five/getRaycasterByNdcPosition.js";
132
130
  import "./shared-utils/three/PointSelector/utils/contents.js";
131
+ import "./shared-utils/three/boundingBox.js";
132
+ import "./CSS3DRenderPlugin/Controller.js";
133
+ import "./CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
133
134
  import "./shared-utils/url/absoluteUrl.js";
134
135
  import "./CSS3DRenderPlugin/utils/three/CSS3DScene.js";
135
136
  import "./CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
@@ -420,7 +421,6 @@ import "./shared-utils/five/fiveLoaded.js";
420
421
  import "./shared-utils/Object3DHelper/Helper/MoveHelper.js";
421
422
  import "./shared-utils/Object3DHelper/Base/BaseHelper.js";
422
423
  import "./shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
423
- import "./shared-utils/three/boundingBox.js";
424
424
  import "./shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
425
425
  import "./shared-utils/Object3DHelper/utils/direction.js";
426
426
  import "./shared-utils/Object3DHelper/Constants/color.js";
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.61.1-alpha.0",
3
+ "%c %c@realsee/dnalogel %cv3.61.2",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
@@ -91,31 +91,6 @@ export declare class PointSelector extends Subscribe<EventMap> {
91
91
  enable(): void;
92
92
  disable(): void;
93
93
  dispose(): void;
94
- /**
95
- * @description 设置吸附点
96
- * @param points 吸附点,Vector3[] 或 () => Vector3[]
97
- * @param radius 吸附半径,单位 m
98
- * @example
99
- * ```typescript
100
- * // 在 (0,0,0) 点附近( 到 0,0,0 点距离小于0.1 )时,自动吸附到 (0,0,0)
101
- * setAdherePoints([new THREE.Vector3(0, 0, 0)], 0.1)
102
- *
103
- * // 在 (1,1,1) 点或者 (2,2,2) 点附近时,自动吸附
104
- * setAdherePoints([
105
- * new THREE.Vector3(1, 1, 1),
106
- * new THREE.Vector3(2, 2, 2),
107
- * ])
108
- *
109
- * // 动态判断吸附点
110
- * setAdherePoints((intersection) => {
111
- * if (intersection.y < 0) {
112
- * return [intersection.x, 0, intersection.z]
113
- * } else {
114
- * return []
115
- * }
116
- * })
117
- * ```
118
- */
119
94
  setAdherePoints(points: Vector3[] | ((params: {
120
95
  intersection: PointIntersection;
121
96
  pointSelectorInstance: PointSelector;
@@ -19,7 +19,7 @@ import { getIntersectByRaycaster as D, getVirtualIntersectByRaycaster as L } fro
19
19
  import { getRaycasterByNdcPosition as T } from "../../five/getRaycasterByNdcPosition.js";
20
20
  import { CURSOR_NOT_ALLOW_URL as P } from "./utils/contents.js";
21
21
  const N = new d.Vector3(), c = () => !1;
22
- class g extends y {
22
+ class V extends y {
23
23
  constructor(e, t) {
24
24
  var a, l, n;
25
25
  super();
@@ -168,14 +168,13 @@ class g extends y {
168
168
  this.onEnter(), this.cursorError || (this.five.getElement().style.cursor = "");
169
169
  const t = u({}, e);
170
170
  let o = !1;
171
- if (typeof this.adherePoints == "function" && typeof this.adherePointsRadius == "number")
172
- for (const h of this.adherePoints({ intersection: e, pointSelectorInstance: this })) {
173
- const a = h.distanceTo(e.point);
174
- if (console.log("distance: " + a, e.point), a < this.adherePointsRadius) {
171
+ if (typeof this.adherePoints == "function" && typeof this.adherePointsRadius == "number") {
172
+ for (const h of this.adherePoints({ intersection: e, pointSelectorInstance: this }))
173
+ if (h.distanceTo(e.point) < this.adherePointsRadius) {
175
174
  t.point = h.clone(), o = !0;
176
175
  break;
177
176
  }
178
- }
177
+ }
179
178
  this.pointSelectorHelper.updateWithIntersect(t, { emitEvent: !1 }), this.emit("intersectionUpdate", t, o);
180
179
  });
181
180
  s(this, "mousePositionToNdcPosition", (e) => {
@@ -255,35 +254,10 @@ class g extends y {
255
254
  dispose() {
256
255
  this.disable(), this.pointSelectorHelper.dispose();
257
256
  }
258
- /**
259
- * @description 设置吸附点
260
- * @param points 吸附点,Vector3[] 或 () => Vector3[]
261
- * @param radius 吸附半径,单位 m
262
- * @example
263
- * ```typescript
264
- * // 在 (0,0,0) 点附近( 到 0,0,0 点距离小于0.1 )时,自动吸附到 (0,0,0)
265
- * setAdherePoints([new THREE.Vector3(0, 0, 0)], 0.1)
266
- *
267
- * // 在 (1,1,1) 点或者 (2,2,2) 点附近时,自动吸附
268
- * setAdherePoints([
269
- * new THREE.Vector3(1, 1, 1),
270
- * new THREE.Vector3(2, 2, 2),
271
- * ])
272
- *
273
- * // 动态判断吸附点
274
- * setAdherePoints((intersection) => {
275
- * if (intersection.y < 0) {
276
- * return [intersection.x, 0, intersection.z]
277
- * } else {
278
- * return []
279
- * }
280
- * })
281
- * ```
282
- */
283
257
  setAdherePoints(e, t) {
284
258
  e ? typeof e == "function" ? this.adherePoints = e : this.adherePoints = () => e : this.adherePoints = null, typeof t == "number" && (this.adherePointsRadius = t);
285
259
  }
286
260
  }
287
261
  export {
288
- g as PointSelector
262
+ V as PointSelector
289
263
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.61.1-alpha.0",
3
+ "version": "3.61.2",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",