@realsee/dnalogel 3.30.5 → 3.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (401) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/Sculpt/Objects/Base/index.d.ts +1 -1
  3. package/dist/Sculpt/index.d.ts +5 -20
  4. package/dist/Sculpt/typings/index.d.ts +45 -24
  5. package/dist/Sculpt/utils/Modules/Global.d.ts +4 -4
  6. package/dist/Sculpt/utils/three/rayOnLine.d.ts +6 -1
  7. package/dist/index.cjs.js +19 -19
  8. package/dist/index.js +794 -789
  9. package/dist/index.umd.js +14 -14
  10. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  11. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  12. package/docs/classes/CSS3DRender.html +3 -3
  13. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  14. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  15. package/docs/classes/ModelMakerPluginInstance.html +3 -3
  16. package/docs/classes/ModelRoomLabelController.html +3 -3
  17. package/docs/classes/MoveController.html +3 -3
  18. package/docs/classes/Object3DHelperController.html +3 -3
  19. package/docs/classes/PaintBrush.html +3 -3
  20. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  21. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  22. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  23. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  24. package/docs/classes/PanoTagPluginController.html +3 -3
  25. package/docs/classes/Sculpt.html +23 -23
  26. package/docs/classes/Util.BetterTween.html +3 -3
  27. package/docs/classes/Util.Interval.html +3 -3
  28. package/docs/classes/Util.LineSegments.html +3 -3
  29. package/docs/classes/Util.Magnifier.html +3 -3
  30. package/docs/classes/Util.Object3D.html +3 -3
  31. package/docs/classes/Util.PointDomHelper.html +3 -3
  32. package/docs/classes/Util.PointHelper.html +3 -3
  33. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  34. package/docs/classes/Util.Rectangle.html +3 -3
  35. package/docs/classes/WalkController.html +3 -3
  36. package/docs/enums/CameraMovementEffect.html +3 -3
  37. package/docs/enums/ContentType.html +3 -3
  38. package/docs/enums/DIRECTION.html +3 -3
  39. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  40. package/docs/enums/DimensionType.html +3 -3
  41. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  42. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  43. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  44. package/docs/enums/PointType.html +3 -3
  45. package/docs/enums/Rotation.html +3 -3
  46. package/docs/functions/AreaMakerPlugin.html +3 -3
  47. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  48. package/docs/functions/CameraMovementPlugin.html +3 -3
  49. package/docs/functions/CruisePlugin.html +3 -3
  50. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  51. package/docs/functions/GuideLinePlugin.html +3 -3
  52. package/docs/functions/ItemLabelPlugin.html +3 -3
  53. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  54. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  55. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  56. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  57. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  58. package/docs/functions/ModelMakerPlugin.html +3 -3
  59. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  60. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  61. package/docs/functions/ModelViewPlugin.html +3 -3
  62. package/docs/functions/MovePlugin.html +3 -3
  63. package/docs/functions/Object3DHelperPlugin.html +3 -3
  64. package/docs/functions/PanoCompassPlugin.html +3 -3
  65. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  66. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  67. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  68. package/docs/functions/PanoMeasurePlugin.html +3 -3
  69. package/docs/functions/PanoRulerPlugin.html +3 -3
  70. package/docs/functions/PanoRulerProPlugin.html +3 -3
  71. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  72. package/docs/functions/PanoTagPlugin.html +3 -3
  73. package/docs/functions/PanoVideoPlugin.html +3 -3
  74. package/docs/functions/PipelinePlugin.html +3 -3
  75. package/docs/functions/SculptPlugin.html +4 -4
  76. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  77. package/docs/functions/Util.absoluteUrl.html +3 -3
  78. package/docs/functions/Util.blink.html +3 -3
  79. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  80. package/docs/functions/Util.equal.html +3 -3
  81. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  82. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  83. package/docs/functions/Util.getFrameTime.html +3 -3
  84. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  85. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  86. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  87. package/docs/functions/Util.isModelLike.html +3 -3
  88. package/docs/functions/Util.isNil.html +3 -3
  89. package/docs/functions/Util.isPanoramaLike.html +3 -3
  90. package/docs/functions/Util.nextFrame.html +3 -3
  91. package/docs/functions/Util.notNil.html +3 -3
  92. package/docs/functions/Util.reblink.html +3 -3
  93. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  94. package/docs/functions/Util.tweenProgress.html +3 -3
  95. package/docs/functions/Util.uuid.html +3 -3
  96. package/docs/functions/pluginFlag.html +3 -3
  97. package/docs/index.html +4 -4
  98. package/docs/interfaces/AddTagConfig.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  101. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  102. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  103. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  104. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  105. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  106. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  107. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  108. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  109. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  110. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  111. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  112. package/docs/interfaces/ContentTypeMapInterface.html +3 -3
  113. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  114. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  115. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  116. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  117. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  118. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  119. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  120. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  121. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  122. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  123. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  124. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  125. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  126. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  127. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  128. package/docs/interfaces/EventMap.html +3 -3
  129. package/docs/interfaces/FloorplanBounding.html +3 -3
  130. package/docs/interfaces/FloorplanData.html +3 -3
  131. package/docs/interfaces/FloorplanEntrance.html +3 -3
  132. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  133. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  134. package/docs/interfaces/FloorplanFloorData.html +3 -3
  135. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  136. package/docs/interfaces/FloorplanObserver.html +3 -3
  137. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  138. package/docs/interfaces/FloorplanPosition.html +3 -3
  139. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  140. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  141. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  142. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  143. package/docs/interfaces/FloorplanServerData.html +3 -3
  144. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  145. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  146. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  147. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  148. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  149. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  150. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  151. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  152. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  153. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  154. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  155. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  156. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  163. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  164. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  165. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  166. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  167. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  168. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  169. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  170. package/docs/interfaces/HelperOffset.html +3 -3
  171. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  172. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  173. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  174. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  175. package/docs/interfaces/MinMax.html +3 -3
  176. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  177. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  178. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  179. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  180. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  181. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  182. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  183. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  184. package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
  185. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  186. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  187. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  188. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  189. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  190. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  191. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  192. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  193. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  194. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  195. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  196. package/docs/interfaces/Object3DHelperState.html +3 -3
  197. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  198. package/docs/interfaces/PaintBrushAction.html +3 -3
  199. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  200. package/docs/interfaces/PaintBrushState.html +3 -3
  201. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  202. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  203. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  204. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  205. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  206. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  207. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  208. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  209. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  210. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  211. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  212. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  213. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  214. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  215. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  216. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  217. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  218. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  219. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  220. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  221. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  222. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  223. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  224. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  225. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  226. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  227. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  228. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  229. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  230. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  231. package/docs/interfaces/Point.html +3 -3
  232. package/docs/interfaces/Room.html +3 -3
  233. package/docs/interfaces/RoomInfo.html +3 -3
  234. package/docs/interfaces/RoomLabel.html +3 -3
  235. package/docs/interfaces/RoomRules.html +3 -3
  236. package/docs/interfaces/Rooms.html +3 -3
  237. package/docs/interfaces/Scissor.html +3 -3
  238. package/docs/interfaces/State.html +3 -3
  239. package/docs/interfaces/TagCacheInterface.html +3 -3
  240. package/docs/interfaces/TagConfig.html +3 -3
  241. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  242. package/docs/interfaces/TagIconUrl.html +3 -3
  243. package/docs/interfaces/TagObjectGroup.html +3 -3
  244. package/docs/interfaces/TagStyle.html +3 -3
  245. package/docs/interfaces/Tags.html +3 -3
  246. package/docs/interfaces/TemporaryState.html +3 -3
  247. package/docs/interfaces/Util.BlinkAnimeOptions.html +3 -3
  248. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  249. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  250. package/docs/interfaces/Util.PointIntersection.html +3 -3
  251. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  252. package/docs/modules/AreaMakerPluginType.html +3 -3
  253. package/docs/modules/CruisePluginTypes.html +3 -3
  254. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  255. package/docs/modules/GuideLineItem.html +3 -3
  256. package/docs/modules/GuideLineModeItem.html +3 -3
  257. package/docs/modules/GuideLinePluginType.html +3 -3
  258. package/docs/modules/ModelMakerPluginType.html +3 -3
  259. package/docs/modules/PanoVideoPluginType.html +3 -3
  260. package/docs/modules/SculptData.html +4 -4
  261. package/docs/modules/Util.html +3 -3
  262. package/docs/modules.html +4 -4
  263. package/docs/types/AddObject3DHelperConfig.html +3 -3
  264. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  265. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  266. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  267. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  268. package/docs/types/ArrayPosition.html +3 -3
  269. package/docs/types/AudioAppearance.html +3 -3
  270. package/docs/types/CSS3DRenderExportType.html +3 -3
  271. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  272. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  273. package/docs/types/ClassFunctionParameters.html +3 -3
  274. package/docs/types/Color.html +3 -3
  275. package/docs/types/ContentTypeConfigKey.html +3 -3
  276. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  277. package/docs/types/ContentTypeMap.html +3 -3
  278. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  279. package/docs/types/Create3DElementReturnType.html +3 -3
  280. package/docs/types/CruisePluginExportType.html +3 -3
  281. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  282. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  283. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  284. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  285. package/docs/types/DeprecatedTagProperty.html +3 -3
  286. package/docs/types/Direction-1.html +3 -3
  287. package/docs/types/Direction4.html +3 -3
  288. package/docs/types/ElementRenderer.html +3 -3
  289. package/docs/types/FloorplanRuleLabels.html +3 -3
  290. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  291. package/docs/types/GuideLinePluginExportType.html +3 -3
  292. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  293. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  294. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  295. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  296. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  297. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  298. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  299. package/docs/types/HelperEventMap.html +3 -3
  300. package/docs/types/InternalHelperEventMap.html +3 -3
  301. package/docs/types/LoadTagConfig.html +3 -3
  302. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  303. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  304. package/docs/types/MediaData.html +3 -3
  305. package/docs/types/MediaStore.html +3 -3
  306. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  307. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  308. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  309. package/docs/types/ModelId.html +3 -3
  310. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  311. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  312. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  313. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  314. package/docs/types/MoveArgs.html +3 -3
  315. package/docs/types/MoveOpts.html +3 -3
  316. package/docs/types/Object3DHelperEventMap.html +3 -3
  317. package/docs/types/ObjectFit.html +3 -3
  318. package/docs/types/PaintBrushEventMap.html +3 -3
  319. package/docs/types/PanoCompassPluginData.html +3 -3
  320. package/docs/types/PanoCompassPluginExportType.html +3 -3
  321. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  322. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  323. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  324. package/docs/types/PanoIndex.html +3 -3
  325. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  326. package/docs/types/PanoMeasureReturnType.html +3 -3
  327. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  328. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  329. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  330. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  331. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  332. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  333. package/docs/types/PipelinePluginParameterType.html +3 -3
  334. package/docs/types/PipelinePluginReturnType.html +3 -3
  335. package/docs/types/PlaneTag.html +3 -3
  336. package/docs/types/Point2DTag.html +3 -3
  337. package/docs/types/Point3DTag.html +3 -3
  338. package/docs/types/PointTag.html +3 -3
  339. package/docs/types/PointTagInstance.html +3 -3
  340. package/docs/types/Position.html +3 -3
  341. package/docs/types/PositionFrom.html +3 -3
  342. package/docs/types/RotateArgs.html +3 -3
  343. package/docs/types/RotateOpts.html +3 -3
  344. package/docs/types/RuleLabelsKey.html +3 -3
  345. package/docs/types/RuleLabelsValue.html +3 -3
  346. package/docs/types/ScaleCallback.html +3 -3
  347. package/docs/types/ScalePosition.html +3 -3
  348. package/docs/types/SculptData.BoxData.html +4 -4
  349. package/docs/types/SculptData.CircleData.html +4 -4
  350. package/docs/types/SculptData.CylinderData.html +4 -4
  351. package/docs/types/SculptData.PointData.html +4 -4
  352. package/docs/types/SculptData.PolygonData.html +4 -4
  353. package/docs/types/SculptData.PolylineData.html +4 -4
  354. package/docs/types/SculptData.PrismData.html +4 -4
  355. package/docs/types/SculptData.RectangleData.html +4 -4
  356. package/docs/types/StickType.html +3 -3
  357. package/docs/types/Tag.html +3 -3
  358. package/docs/types/Tag2D.html +3 -3
  359. package/docs/types/Tag3D.html +3 -3
  360. package/docs/types/TagConfigByKey.html +3 -3
  361. package/docs/types/TagContentType.html +3 -3
  362. package/docs/types/TagContentTypeMapping.html +3 -3
  363. package/docs/types/TagDimensionType.html +3 -3
  364. package/docs/types/TagElement.html +3 -3
  365. package/docs/types/TagEvents.html +3 -3
  366. package/docs/types/TagGLTFObject.html +3 -3
  367. package/docs/types/TagHooks.html +3 -3
  368. package/docs/types/TagId.html +3 -3
  369. package/docs/types/TagInstance.html +3 -3
  370. package/docs/types/TagPointType.html +3 -3
  371. package/docs/types/TagRendererMap.html +3 -3
  372. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  373. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  374. package/docs/types/WorkCode.html +3 -3
  375. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  376. package/docs/variables/PLUGIN.html +3 -3
  377. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  378. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  379. package/docs/variables/defaultGlobalConfig.html +3 -3
  380. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  381. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  382. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  383. package/libs/PanoTagPlugin/controller/index.js +2 -2
  384. package/libs/Sculpt/Objects/Base/index.d.ts +1 -1
  385. package/libs/Sculpt/Objects/Base/index.js +2 -2
  386. package/libs/Sculpt/Objects/Box/index.js +20 -20
  387. package/libs/Sculpt/Objects/Cylinder/index.js +17 -17
  388. package/libs/Sculpt/Objects/Prism/index.js +18 -18
  389. package/libs/Sculpt/index.d.ts +5 -20
  390. package/libs/Sculpt/index.js +32 -37
  391. package/libs/Sculpt/typings/index.d.ts +45 -24
  392. package/libs/Sculpt/utils/Modules/Global.d.ts +4 -4
  393. package/libs/Sculpt/utils/Modules/Global.js +10 -10
  394. package/libs/Sculpt/utils/three/rayOnLine.d.ts +6 -1
  395. package/libs/Sculpt/utils/three/rayOnLine.js +15 -9
  396. package/libs/base/BasePlugin.js +1 -1
  397. package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -1
  398. package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +2 -2
  399. package/libs/shared-utils/five/FiveDomEvents.js +80 -76
  400. package/libs/shared-utils/logger.js +1 -1
  401. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视空间交互插件合集 - v3.30.5</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视空间交互插件合集 - v3.31.0</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,7 +6,7 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.30.5</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.31.0</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-content">
@@ -38,7 +38,7 @@
38
38
  <div class="tsd-theme-toggle">
39
39
  <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
40
40
  <div class="site-menu">
41
- <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.30.5</span></a>
41
+ <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.31.0</span></a>
42
42
  <ul class="tsd-small-nested-navigation">
43
43
  <li><a href="../modules.html#CruisePluginController"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g></svg><span>Cruise<wbr/>Plugin<wbr/>Controller</span></a></li>
44
44
  <li><a href="../modules.html#Magnifier"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8388608"></use></svg><span>Magnifier</span></a></li>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.30.5</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.31.0</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,7 +6,7 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.30.5</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.31.0</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-content">
@@ -38,7 +38,7 @@
38
38
  <div class="tsd-theme-toggle">
39
39
  <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
40
40
  <div class="site-menu">
41
- <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.30.5</span></a>
41
+ <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.31.0</span></a>
42
42
  <ul class="tsd-small-nested-navigation">
43
43
  <li><a href="../modules.html#CruisePluginController"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g></svg><span>Cruise<wbr/>Plugin<wbr/>Controller</span></a></li>
44
44
  <li><a href="../modules.html#Magnifier"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8388608"></use></svg><span>Magnifier</span></a></li>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.30.5</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.31.0</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,7 +6,7 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.30.5</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.31.0</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-content">
@@ -38,7 +38,7 @@
38
38
  <div class="tsd-theme-toggle">
39
39
  <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
40
40
  <div class="site-menu">
41
- <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.30.5</span></a>
41
+ <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.31.0</span></a>
42
42
  <ul class="tsd-small-nested-navigation">
43
43
  <li><a href="../modules.html#CruisePluginController"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g></svg><span>Cruise<wbr/>Plugin<wbr/>Controller</span></a></li>
44
44
  <li><a href="../modules.html#Magnifier"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8388608"></use></svg><span>Magnifier</span></a></li>
@@ -561,8 +561,8 @@ class zi extends j {
561
561
  this.onFiveEveryReady(), i = !1;
562
562
  }));
563
563
  }, 150);
564
- return e.on("cameraUpdate", s), this.updateVisible(), this.handleFivePanoArrived(), e.on("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.on("modeChange", this.updateVisible), e.on("initAnimationEnded", this.updateVisible), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", this.handleFiveCameraUpdate), e.on("panoArrived", this.handleFivePanoArrived), e.on("panoArrived", this.loadVideoFirstFrame), t.on("click", this.clickhandler), () => {
565
- e.off("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.off("modeChange", this.updateVisible), e.off("initAnimationEnded", this.updateVisible), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", this.handleFiveCameraUpdate), e.off("cameraUpdate", s), e.off("panoArrived", this.handleFivePanoArrived), e.off("panoArrived", this.loadVideoFirstFrame), t.off("click", this.clickhandler), this.store.eventListenerDisposer = void 0;
564
+ return e.on("cameraUpdate", s), this.updateVisible(), this.handleFivePanoArrived(), e.on("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.on("models.refined", this.onFiveEveryReady), e.on("modeChange", this.updateVisible), e.on("initAnimationEnded", this.updateVisible), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", this.handleFiveCameraUpdate), e.on("panoArrived", this.handleFivePanoArrived), e.on("panoArrived", this.loadVideoFirstFrame), t.on("click", this.clickhandler), () => {
565
+ e.off("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.off("models.refined", this.onFiveEveryReady), e.off("modeChange", this.updateVisible), e.off("initAnimationEnded", this.updateVisible), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", this.handleFiveCameraUpdate), e.off("cameraUpdate", s), e.off("panoArrived", this.handleFivePanoArrived), e.off("panoArrived", this.loadVideoFirstFrame), t.off("click", this.clickhandler), this.store.eventListenerDisposer = void 0;
566
566
  };
567
567
  }
568
568
  addResizeListener() {
@@ -63,7 +63,7 @@ Config extends BaseObjectConfig = BaseObjectConfig> extends IObject3D {
63
63
  */
64
64
  stopCreating(): void;
65
65
  /**
66
- * @description 从场景中删除当前物体
66
+ * @description 从场景中删除当前物体,并且移除事件监听
67
67
  */
68
68
  delete(): void;
69
69
  /**
@@ -61,11 +61,11 @@ class A extends m {
61
61
  n.modules.pointSelector.disable();
62
62
  }
63
63
  /**
64
- * @description 从场景中删除当前物体
64
+ * @description 从场景中删除当前物体,并且移除事件监听
65
65
  */
66
66
  delete() {
67
67
  var e;
68
- this.removeFromParent(), (e = this.editor) == null || e.disable();
68
+ this.removeFromParent(), this.off(), (e = this.editor) == null || e.disable();
69
69
  }
70
70
  /**
71
71
  * @description 高亮当前物体
@@ -1,30 +1,30 @@
1
1
  var B = Object.defineProperty, E = Object.defineProperties;
2
2
  var C = Object.getOwnPropertyDescriptors;
3
- var P = Object.getOwnPropertySymbols;
3
+ var y = Object.getOwnPropertySymbols;
4
4
  var H = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
5
5
  var p = (o, e, t) => e in o ? B(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, c = (o, e) => {
6
6
  for (var t in e || (e = {}))
7
7
  H.call(e, t) && p(o, t, e[t]);
8
- if (P)
9
- for (var t of P(e))
8
+ if (y)
9
+ for (var t of y(e))
10
10
  O.call(e, t) && p(o, t, e[t]);
11
11
  return o;
12
12
  }, M = (o, e) => E(o, C(e));
13
13
  var d = (o, e, t) => (p(o, typeof e != "symbol" ? e + "" : e, t), t);
14
14
  var b = (o, e, t) => new Promise((r, i) => {
15
- var a = (s) => {
15
+ var h = (s) => {
16
16
  try {
17
17
  n(t.next(s));
18
- } catch (h) {
19
- i(h);
18
+ } catch (a) {
19
+ i(a);
20
20
  }
21
21
  }, m = (s) => {
22
22
  try {
23
23
  n(t.throw(s));
24
- } catch (h) {
25
- i(h);
24
+ } catch (a) {
25
+ i(a);
26
26
  }
27
- }, n = (s) => s.done ? r(s.value) : Promise.resolve(s.value).then(a, m);
27
+ }, n = (s) => s.done ? r(s.value) : Promise.resolve(s.value).then(h, m);
28
28
  n((t = t.apply(o, e)).next());
29
29
  });
30
30
  import { hotkeys as L } from "../../../vendor/hotkeys-js/dist/hotkeys.esm.js";
@@ -80,25 +80,25 @@ function A(o, e) {
80
80
  r(new Error("No container"));
81
81
  return;
82
82
  }
83
- const a = new T(), m = U(o.bottomPlane.points).normalize(), n = o.bottomPlane.builtPoints.at(-1), s = n.clone().add(m.clone().multiplyScalar(10)), h = n.clone().sub(m.clone().multiplyScalar(10));
84
- a.setPoints([s, h]), i.add(a), e.enable();
83
+ const h = new T(), m = U(o.bottomPlane.points).normalize(), n = o.bottomPlane.builtPoints.at(-1), s = n.clone().add(m.clone().multiplyScalar(10)), a = n.clone().sub(m.clone().multiplyScalar(10));
84
+ h.setPoints([s, a]), i.add(h), e.enable();
85
85
  const f = (l) => {
86
86
  g(), t();
87
87
  }, x = (l) => {
88
88
  if (!(l != null && l.raycaster))
89
89
  return;
90
- const y = k(
91
- z.modules.five.camera.position,
92
- l.raycaster.ray,
93
- new j.Line3(s, h)
94
- );
95
- y && o.setPoints({ heightPoint: y });
90
+ const u = k({
91
+ cameraPosition: z.modules.five.camera.position,
92
+ raycaster: l.raycaster,
93
+ line: new j.Line3(s, a)
94
+ });
95
+ u && o.setPoints({ heightPoint: u });
96
96
  }, g = () => {
97
- e.off("select", f), e.off("intersectionUpdate", x), e.off("disable", u), e.disable(), i == null || i.remove(a);
98
- }, u = () => {
97
+ e.off("select", f), e.off("intersectionUpdate", x), e.off("disable", P), e.disable(), i == null || i.remove(h);
98
+ }, P = () => {
99
99
  g(), i == null || i.remove(o), r(new Error("Cancelled"));
100
100
  };
101
- e.on("select", f), e.on("intersectionUpdate", x), e.on("disable", u);
101
+ e.on("select", f), e.on("intersectionUpdate", x), e.on("disable", P);
102
102
  });
103
103
  });
104
104
  }
@@ -2,7 +2,7 @@ var L = Object.defineProperty, j = Object.defineProperties;
2
2
  var T = Object.getOwnPropertyDescriptors;
3
3
  var g = Object.getOwnPropertySymbols;
4
4
  var A = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
5
- var p = (n, t, e) => t in n ? L(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, m = (n, t) => {
5
+ var p = (n, t, e) => t in n ? L(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, h = (n, t) => {
6
6
  for (var e in t || (t = {}))
7
7
  A.call(t, e) && p(n, e, t[e]);
8
8
  if (g)
@@ -18,13 +18,13 @@ var f = (n, t, e) => new Promise((r, s) => {
18
18
  } catch (a) {
19
19
  s(a);
20
20
  }
21
- }, h = (o) => {
21
+ }, m = (o) => {
22
22
  try {
23
23
  i(e.throw(o));
24
24
  } catch (a) {
25
25
  s(a);
26
26
  }
27
- }, i = (o) => o.done ? r(o.value) : Promise.resolve(o.value).then(c, h);
27
+ }, i = (o) => o.done ? r(o.value) : Promise.resolve(o.value).then(c, m);
28
28
  i((e = e.apply(n, t)).next());
29
29
  });
30
30
  import { Sculpt as W } from "../../index.js";
@@ -41,10 +41,10 @@ class Z extends D {
41
41
  super(e, r);
42
42
  y(this, "type", "Cylinder");
43
43
  y(this, "cylinderMesh");
44
- this.editor = new N(this), e && (this.cylinderMesh = new v(m(m({}, e.style), e)), this.add(this.cylinderMesh));
44
+ this.editor = new N(this), e && (this.cylinderMesh = new v(h(h({}, e.style), e)), this.add(this.cylinderMesh));
45
45
  }
46
46
  get data() {
47
- return M(m({}, this.baseData), {
47
+ return M(h({}, this.baseData), {
48
48
  bottomCenter: O(this.applyObjectMatrixWorld(this.cylinderMesh.bottomCenter)),
49
49
  topCenter: O(this.applyObjectMatrixWorld(this.cylinderMesh.topCenter)),
50
50
  radius: this.cylinderMesh.radius,
@@ -73,25 +73,25 @@ function R(n, t) {
73
73
  yield F(n.bottomCircle, t);
74
74
  const r = new z();
75
75
  r.name = "LineHelper", e.add(r);
76
- const s = t.position.point, c = n.normal.clone().normalize(), h = s.clone().add(c.clone().multiplyScalar(10)), i = s.clone().sub(c.clone().multiplyScalar(10));
77
- return r.setPoints([h, i]), t.enable(), new Promise((o, a) => {
76
+ const s = t.position.point, c = n.normal.clone().normalize(), m = s.clone().add(c.clone().multiplyScalar(10)), i = s.clone().sub(c.clone().multiplyScalar(10));
77
+ return r.setPoints([m, i]), t.enable(), new Promise((o, a) => {
78
78
  const C = (l) => {
79
- w(), o();
79
+ P(), o();
80
80
  }, u = (l) => {
81
81
  if (!(l != null && l.raycaster))
82
82
  return;
83
- const d = B(
84
- W.modules.five.camera.position,
85
- l.raycaster.ray,
86
- new b.Line3(h, i)
87
- ), x = new b.Plane().setFromNormalAndCoplanarPoint(n.normal, n.bottomCenter).projectPoint(d, new b.Vector3()), E = d.clone().sub(x), H = n.bottomCenter.clone().add(E);
83
+ const d = B({
84
+ cameraPosition: W.modules.five.camera.position,
85
+ raycaster: l.raycaster,
86
+ line: new b.Line3(m, i)
87
+ }), x = new b.Plane().setFromNormalAndCoplanarPoint(n.normal, n.bottomCenter).projectPoint(d, new b.Vector3()), E = d.clone().sub(x), H = n.bottomCenter.clone().add(E);
88
88
  d && n.setTopCenter(H);
89
- }, w = () => {
90
- t.off("select", C), t.off("intersectionUpdate", u), t.off("disable", P), e.remove(r), t.disable();
91
89
  }, P = () => {
92
- w(), e.remove(n), a(new Error("Cancelled"));
90
+ t.off("select", C), t.off("intersectionUpdate", u), t.off("disable", w), e.remove(r), t.disable();
91
+ }, w = () => {
92
+ P(), e.remove(n), a(new Error("Cancelled"));
93
93
  };
94
- t.on("select", C), t.on("intersectionUpdate", u), t.on("disable", P);
94
+ t.on("select", C), t.on("intersectionUpdate", u), t.on("disable", w);
95
95
  });
96
96
  });
97
97
  }
@@ -15,14 +15,14 @@ var f = (e, i, t) => new Promise((s, n) => {
15
15
  var m = (o) => {
16
16
  try {
17
17
  r(t.next(o));
18
- } catch (h) {
19
- n(h);
18
+ } catch (a) {
19
+ n(a);
20
20
  }
21
21
  }, l = (o) => {
22
22
  try {
23
23
  r(t.throw(o));
24
- } catch (h) {
25
- n(h);
24
+ } catch (a) {
25
+ n(a);
26
26
  }
27
27
  }, r = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(m, l);
28
28
  r((t = t.apply(e, i)).next());
@@ -79,24 +79,24 @@ function N(e, i) {
79
79
  const s = new k();
80
80
  s.name = "LineHelper", t.add(s);
81
81
  const n = e.bottomPolygon.points.at(-1), m = D(e.bottomPolygon.points).normalize(), l = n.clone().add(m.clone().multiplyScalar(10)), r = n.clone().sub(m.clone().multiplyScalar(10));
82
- return s.setPoints([l, r]), i.enable(), new Promise((o, h) => {
83
- const g = (a) => {
84
- P(), o();
85
- }, y = (a) => {
86
- if (!(a != null && a.raycaster))
82
+ return s.setPoints([l, r]), i.enable(), new Promise((o, a) => {
83
+ const g = (h) => {
84
+ y(), o();
85
+ }, P = (h) => {
86
+ if (!(h != null && h.raycaster))
87
87
  return;
88
- const u = B(
89
- U.modules.five.camera.position,
90
- a.raycaster.ray,
91
- new j.Line3(l, r)
92
- );
88
+ const u = B({
89
+ cameraPosition: U.modules.five.camera.position,
90
+ raycaster: h.raycaster,
91
+ line: new j.Line3(l, r)
92
+ });
93
93
  u && e.setPoints({ heightPoint: u });
94
- }, P = () => {
95
- i.off("select", g), i.off("intersectionUpdate", y), i.off("disable", b), t.remove(s), i.disable();
94
+ }, y = () => {
95
+ i.off("select", g), i.off("intersectionUpdate", P), i.off("disable", b), t.remove(s), i.disable();
96
96
  }, b = () => {
97
- P(), t.remove(e), h(new Error("Cancelled"));
97
+ y(), t.remove(e), a(new Error("Cancelled"));
98
98
  };
99
- i.on("select", g), i.on("intersectionUpdate", y), i.on("disable", b);
99
+ i.on("select", g), i.on("intersectionUpdate", P), i.on("disable", b);
100
100
  });
101
101
  });
102
102
  }
@@ -3,7 +3,6 @@ import type * as THREE from 'three';
3
3
  import type { BaseObjectConfig } from './Objects/Base';
4
4
  import { Subscribe } from '../shared-utils/Subscribe';
5
5
  import { IObject3D } from '../shared-utils/three/IObject3D';
6
- import type { PartialDeep } from 'type-fest';
7
6
  import { Polyline } from './Objects/Polyline';
8
7
  import { Point } from './Objects/Point';
9
8
  import { Polygon } from './Objects/Polygon';
@@ -12,21 +11,8 @@ import { Rectangle } from './Objects/Rectangle';
12
11
  import { Circle } from './Objects/Circle';
13
12
  import { Cylinder } from './Objects/Cylinder';
14
13
  import { Box } from './Objects/Box';
15
- import type { PolylineImportData, PointImportData, PolygonImportData, PrismImportData, RectangleImportData, CircleImportData, CylinderImportData, BoxImportData } from './typings';
14
+ import type { BuiltInData, BuiltInItem, Theme } from './typings';
16
15
  export type { SculptData } from './typings';
17
- import type { AreaStyle, PointStyle, PolylineStyle, PrismStyle, RectangleStyle, CircleStyle, CylinderStyle, BoxStyle } from './typings';
18
- type BuiltInData = PolylineImportData | PointImportData | PolygonImportData | PrismImportData | RectangleImportData | CircleImportData | CylinderImportData | BoxImportData;
19
- type BuiltInItem = Polyline | Point | Polygon | Prism | Rectangle | Circle | Cylinder | Box;
20
- type Theme = PartialDeep<{
21
- point: PointStyle;
22
- polyline: PolylineStyle;
23
- polygon: AreaStyle;
24
- prism: PrismStyle;
25
- rectangle: RectangleStyle;
26
- circle: CircleStyle;
27
- cylinder: CylinderStyle;
28
- box: BoxStyle;
29
- }>;
30
16
  interface Data {
31
17
  items: Array<BuiltInData>;
32
18
  }
@@ -41,10 +27,10 @@ type Event = {
41
27
  export declare class Sculpt extends Subscribe<Event> {
42
28
  static modules: {
43
29
  five: Five;
44
- _cursor: import("./utils/Modules/Cursor").Cursor;
45
- _pointSelector: import("../shared-utils/three/PointSelector").PointSelector;
46
- _fiveDomEvents: import("../shared-utils/five/FiveDomEvents").FiveDomEvents;
47
- _object3DHelper: import("..").Object3DHelperController;
30
+ _cursor?: import("./utils/Modules/Cursor").Cursor;
31
+ _pointSelector?: import("../shared-utils/three/PointSelector").PointSelector;
32
+ _fiveDomEvents?: import("../shared-utils/five/FiveDomEvents").FiveDomEvents;
33
+ _object3DHelper?: import("..").Object3DHelperController;
48
34
  inited: boolean;
49
35
  readonly cursor: import("./utils/Modules/Cursor").Cursor;
50
36
  readonly pointSelector: import("../shared-utils/three/PointSelector").PointSelector;
@@ -180,7 +166,6 @@ export declare class Sculpt extends Subscribe<Event> {
180
166
  */
181
167
  clear(): void;
182
168
  private createItem;
183
- private needsRender;
184
169
  }
185
170
  /**
186
171
  * @description: Sculpt 插件
@@ -1,16 +1,16 @@
1
- var x = Object.defineProperty, B = Object.defineProperties;
2
- var D = Object.getOwnPropertyDescriptors;
1
+ var B = Object.defineProperty, _ = Object.defineProperties;
2
+ var x = Object.getOwnPropertyDescriptors;
3
3
  var f = Object.getOwnPropertySymbols;
4
- var O = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
5
- var d = (n, i, e) => i in n ? x(n, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[i] = e, r = (n, i) => {
4
+ var E = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
5
+ var d = (n, i, e) => i in n ? B(n, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[i] = e, r = (n, i) => {
6
6
  for (var e in i || (i = {}))
7
- O.call(i, e) && d(n, e, i[e]);
7
+ E.call(i, e) && d(n, e, i[e]);
8
8
  if (f)
9
9
  for (var e of f(i))
10
- E.call(i, e) && d(n, e, i[e]);
10
+ O.call(i, e) && d(n, e, i[e]);
11
11
  return n;
12
- }, g = (n, i) => B(n, D(i));
13
- var p = (n, i, e) => (d(n, typeof i != "symbol" ? i + "" : i, e), e);
12
+ }, w = (n, i) => _(n, x(i));
13
+ var a = (n, i, e) => (d(n, typeof i != "symbol" ? i + "" : i, e), e);
14
14
  var u = (n, i, e) => new Promise((t, o) => {
15
15
  var l = (c) => {
16
16
  try {
@@ -27,9 +27,9 @@ var u = (n, i, e) => new Promise((t, o) => {
27
27
  }, m = (c) => c.done ? t(c.value) : Promise.resolve(c.value).then(l, s);
28
28
  m((e = e.apply(n, i)).next());
29
29
  });
30
- import { globalModules as H } from "./utils/Modules/Global.js";
30
+ import { globalModules as R } from "./utils/Modules/Global.js";
31
31
  import { Subscribe as S } from "../shared-utils/Subscribe.js";
32
- import { IObject3D as k } from "../shared-utils/three/IObject3D.js";
32
+ import { IObject3D as L } from "../shared-utils/three/IObject3D.js";
33
33
  import "hammerjs";
34
34
  import "three";
35
35
  import "@realsee/five";
@@ -37,28 +37,28 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
37
37
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
38
38
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
39
39
  import "animejs";
40
- import { notNil as L } from "../shared-utils/isNil.js";
41
- import { recurveFindObject as M } from "../shared-utils/three/recurveFindObject.js";
42
- import { Polyline as w } from "./Objects/Polyline/index.js";
40
+ import { notNil as U } from "../shared-utils/isNil.js";
41
+ import { recurveFindObject as H } from "../shared-utils/three/recurveFindObject.js";
42
+ import { Polyline as g } from "./Objects/Polyline/index.js";
43
43
  import { Point as P } from "./Objects/Point/index.js";
44
44
  import { Polygon as I } from "./Objects/Polygon/index.js";
45
45
  import { Prism as b } from "./Objects/Prism/index.js";
46
46
  import { Rectangle as v } from "./Objects/Rectangle/index.js";
47
47
  import { Circle as C } from "./Objects/Circle/index.js";
48
- import { Cylinder as R } from "./Objects/Cylinder/index.js";
48
+ import { Cylinder as D } from "./Objects/Cylinder/index.js";
49
49
  import { Box as j } from "./Objects/Box/index.js";
50
- import { forReverseEach as F } from "../shared-utils/forReverseEach.js";
51
- const a = class extends S {
50
+ import { forReverseEach as M } from "../shared-utils/forReverseEach.js";
51
+ const p = class extends S {
52
52
  constructor(e, t) {
53
53
  super();
54
- p(this, "group");
55
- p(this, "five");
56
- p(this, "theme");
57
- this.five = e, this.theme = t, this.group = new k(), this.group.name = "Sculpt", e.scene.add(this.group), a.modules.init(e), a.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: o }) => {
54
+ a(this, "group");
55
+ a(this, "five");
56
+ a(this, "theme");
57
+ this.five = e, this.theme = t, this.group = new L(), this.group.name = "Sculpt", e.scene.add(this.group), p.modules.init(e), p.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: o }) => {
58
58
  var s;
59
- const l = M((s = o == null ? void 0 : o[0]) == null ? void 0 : s.object, (m) => m.isSculptObject);
59
+ const l = H((s = o == null ? void 0 : o[0]) == null ? void 0 : s.object, (m) => m.isSculptObject);
60
60
  return l ? this.emit("click", l) : !1;
61
- });
61
+ }), window.__SCLUPT_DEBUG__ = this, window.__SCLUPT_MODULES_DEBUG__ = p.modules;
62
62
  }
63
63
  get data() {
64
64
  return {
@@ -68,7 +68,7 @@ const a = class extends S {
68
68
  } catch (t) {
69
69
  return console.error(t), null;
70
70
  }
71
- }).filter(L)
71
+ }).filter(U)
72
72
  };
73
73
  }
74
74
  get items() {
@@ -82,12 +82,12 @@ const a = class extends S {
82
82
  this.clear();
83
83
  const o = (l = e == null ? void 0 : e.items) == null ? void 0 : l.map((s) => {
84
84
  var c;
85
- const m = g(r({}, s), {
85
+ const m = w(r({}, s), {
86
86
  style: r(r({}, (c = this.theme) == null ? void 0 : c[s.type.toLowerCase()]), s.style)
87
87
  });
88
- return s.type === "Point" ? new P(m, t) : s.type === "Polyline" ? new w(m, t) : s.type === "Polygon" ? new I(m, t) : s.type === "Prism" ? new b(m, t) : s.type === "Rectangle" ? new v(m, t) : s.type === "Circle" ? new C(m, t) : s.type === "Cylinder" ? new R(m, t) : s.type === "Box" ? new j(m, t) : null;
88
+ return s.type === "Point" ? new P(m, t) : s.type === "Polyline" ? new g(m, t) : s.type === "Polygon" ? new I(m, t) : s.type === "Prism" ? new b(m, t) : s.type === "Rectangle" ? new v(m, t) : s.type === "Circle" ? new C(m, t) : s.type === "Cylinder" ? new D(m, t) : s.type === "Box" ? new j(m, t) : null;
89
89
  });
90
- this.group.add(...o), this.needsRender();
90
+ this.group.add(...o), this.five.needsRender = !0;
91
91
  }
92
92
  /**
93
93
  * @description: 获取物体实例
@@ -101,7 +101,7 @@ const a = class extends S {
101
101
  putObject(e) {
102
102
  var l;
103
103
  this.group.add(e);
104
- const t = a.modules.object3DHelper, o = t.addObject3DHelper(e);
104
+ const t = p.modules.object3DHelper, o = t.addObject3DHelper(e);
105
105
  return (l = o == null ? void 0 : o.moveController) == null || l.moveByMouse(), t;
106
106
  }
107
107
  /**
@@ -119,7 +119,7 @@ const a = class extends S {
119
119
  createPolyline(e) {
120
120
  return u(this, null, function* () {
121
121
  var t;
122
- return this.createItem(w, r(r({}, (t = this.theme) == null ? void 0 : t.polyline), e));
122
+ return this.createItem(g, r(r({}, (t = this.theme) == null ? void 0 : t.polyline), e));
123
123
  });
124
124
  }
125
125
  /**
@@ -164,7 +164,7 @@ const a = class extends S {
164
164
  createCylinder(e) {
165
165
  return u(this, null, function* () {
166
166
  var t;
167
- return this.createItem(R, r(r({}, (t = this.theme) == null ? void 0 : t.cylinder), e));
167
+ return this.createItem(D, r(r({}, (t = this.theme) == null ? void 0 : t.cylinder), e));
168
168
  });
169
169
  }
170
170
  /**
@@ -190,9 +190,7 @@ const a = class extends S {
190
190
  * @description: 清空数据
191
191
  */
192
192
  clear() {
193
- F(this.items, (e) => {
194
- e.delete();
195
- }), this.needsRender();
193
+ M(this.items, (e) => e.delete()), this.five.needsRender = !0;
196
194
  }
197
195
  createItem(e, ...t) {
198
196
  return u(this, null, function* () {
@@ -202,12 +200,9 @@ const a = class extends S {
202
200
  }), o;
203
201
  });
204
202
  }
205
- needsRender() {
206
- this.five.needsRender = !0;
207
- }
208
203
  };
209
- let h = a;
210
- p(h, "modules", H);
204
+ let h = p;
205
+ a(h, "modules", R);
211
206
  const se = (n) => new h(n);
212
207
  export {
213
208
  h as Sculpt,