@realsee/dnalogel 3.60.3 → 3.61.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (474) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/Sculpt/Objects/Base/index.d.ts +4 -1
  3. package/dist/Sculpt/Objects/Box/index.d.ts +2 -2
  4. package/dist/Sculpt/Objects/Circle/index.d.ts +2 -1
  5. package/dist/Sculpt/Objects/Cylinder/index.d.ts +2 -1
  6. package/dist/Sculpt/Objects/Line/index.d.ts +2 -2
  7. package/dist/Sculpt/Objects/Point/index.d.ts +2 -1
  8. package/dist/Sculpt/Objects/Polygon/index.d.ts +2 -2
  9. package/dist/Sculpt/Objects/Polyline/index.d.ts +2 -2
  10. package/dist/Sculpt/Objects/Prism/index.d.ts +2 -1
  11. package/dist/Sculpt/Objects/Rectangle/index.d.ts +2 -2
  12. package/dist/Sculpt/index.d.ts +17 -14
  13. package/dist/Sculpt/typings/style.d.ts +7 -0
  14. package/dist/Sculpt/utils/Modules/Global.d.ts +4 -0
  15. package/dist/index.cjs.js +33 -33
  16. package/dist/index.js +3609 -3561
  17. package/dist/index.umd.js +34 -34
  18. package/dist/shared-utils/three/PointSelector/index.d.ts +25 -0
  19. package/docs/assets/navigation.js +1 -1
  20. package/docs/assets/search.js +1 -1
  21. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
  22. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
  23. package/docs/classes/CSS3DRender.html +3 -3
  24. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  25. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
  26. package/docs/classes/ModelMakerPluginInstance.html +15 -15
  27. package/docs/classes/ModelRoomLabelController.html +6 -6
  28. package/docs/classes/MoveController.html +17 -17
  29. package/docs/classes/Object3DHelperController.html +15 -15
  30. package/docs/classes/PaintBrush.html +5 -5
  31. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  32. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  33. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  34. package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
  35. package/docs/classes/PanoTagPluginController.html +34 -34
  36. package/docs/classes/Sculpt.html +25 -25
  37. package/docs/classes/Util.BetterTween.html +2 -2
  38. package/docs/classes/Util.FiveDomEvents.html +4 -4
  39. package/docs/classes/Util.FivePuppet.html +3 -3
  40. package/docs/classes/Util.Interval.html +5 -5
  41. package/docs/classes/Util.LightTag.html +14 -14
  42. package/docs/classes/Util.LineSegments.html +2 -2
  43. package/docs/classes/Util.Magnifier.html +6 -6
  44. package/docs/classes/Util.Object3D.html +4 -4
  45. package/docs/classes/Util.PointHelper.html +2 -2
  46. package/docs/classes/Util.PointSelector.html +17 -11
  47. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  48. package/docs/classes/Util.Rectangle.html +5 -5
  49. package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
  50. package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
  51. package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
  52. package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
  53. package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
  54. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
  55. package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
  56. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
  57. package/docs/classes/Util.sculpt.LineMesh.html +5 -5
  58. package/docs/classes/Util.sculpt.PointMesh.html +5 -5
  59. package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
  60. package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
  61. package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
  62. package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
  63. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
  64. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
  65. package/docs/classes/WalkController.html +18 -18
  66. package/docs/enums/CameraMovementEffect.html +3 -3
  67. package/docs/enums/ContentType.html +18 -18
  68. package/docs/enums/DIRECTION.html +2 -2
  69. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  70. package/docs/enums/DimensionType.html +3 -3
  71. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  72. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  73. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  74. package/docs/enums/PointType.html +3 -3
  75. package/docs/enums/Rotation.html +3 -3
  76. package/docs/functions/AreaMakerPlugin.html +1 -1
  77. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  78. package/docs/functions/CameraMovementPlugin.html +2 -2
  79. package/docs/functions/CruisePlugin.html +1 -1
  80. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  81. package/docs/functions/GuideLinePlugin.html +1 -1
  82. package/docs/functions/ItemLabelPlugin.html +1 -1
  83. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  84. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  85. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  86. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  87. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  88. package/docs/functions/ModelMakerPlugin.html +1 -1
  89. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  90. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  91. package/docs/functions/ModelViewPlugin.html +2 -2
  92. package/docs/functions/MovePlugin.html +1 -1
  93. package/docs/functions/Object3DHelperPlugin.html +1 -1
  94. package/docs/functions/PanoCompassPlugin.html +1 -1
  95. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  96. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  97. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  98. package/docs/functions/PanoMeasurePlugin.html +1 -1
  99. package/docs/functions/PanoRulerPlugin.html +2 -2
  100. package/docs/functions/PanoRulerProPlugin.html +2 -2
  101. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  102. package/docs/functions/PanoTagPlugin.html +1 -1
  103. package/docs/functions/PanoVideoPlugin.html +2 -2
  104. package/docs/functions/PipelinePlugin.html +1 -1
  105. package/docs/functions/SculptPlugin.html +2 -2
  106. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  107. package/docs/functions/Util.absoluteUrl.html +2 -2
  108. package/docs/functions/Util.awaitNextFrame.html +1 -1
  109. package/docs/functions/Util.blink.html +2 -2
  110. package/docs/functions/Util.bounding.html +1 -1
  111. package/docs/functions/Util.boundingBox.html +1 -1
  112. package/docs/functions/Util.boundingSphere.html +1 -1
  113. package/docs/functions/Util.boxVertex.html +2 -2
  114. package/docs/functions/Util.boxVertexes.html +1 -1
  115. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  116. package/docs/functions/Util.convexHull.html +2 -2
  117. package/docs/functions/Util.equal.html +2 -2
  118. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  119. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  120. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  121. package/docs/functions/Util.getFrameTime.html +2 -2
  122. package/docs/functions/Util.inside.html +1 -1
  123. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  124. package/docs/functions/Util.isModelLike.html +1 -1
  125. package/docs/functions/Util.isNil.html +2 -2
  126. package/docs/functions/Util.isPanoramaLike.html +1 -1
  127. package/docs/functions/Util.lookObject.html +2 -2
  128. package/docs/functions/Util.lookPoint.html +2 -2
  129. package/docs/functions/Util.nextFrame.html +1 -1
  130. package/docs/functions/Util.notNil.html +2 -2
  131. package/docs/functions/Util.reblink.html +2 -2
  132. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  133. package/docs/functions/Util.sculpt.createBox.html +1 -1
  134. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  135. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  136. package/docs/functions/Util.sculpt.createLine.html +2 -2
  137. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  138. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  139. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  140. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  141. package/docs/functions/Util.tag.html +1 -1
  142. package/docs/functions/Util.tweenProgress.html +1 -1
  143. package/docs/functions/Util.uuid.html +2 -2
  144. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  145. package/docs/functions/Util.worldBounding.html +1 -1
  146. package/docs/functions/Util.worldBoundingBox.html +1 -1
  147. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  148. package/docs/functions/createPolyline.html +2 -2
  149. package/docs/functions/pluginFlag.html +1 -1
  150. package/docs/hierarchy.html +1 -1
  151. package/docs/index.html +2 -2
  152. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  153. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  154. package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
  155. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  156. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
  157. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  158. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  159. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  160. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  161. package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
  162. package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
  163. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  164. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  165. package/docs/interfaces/ContentTypeMapInterface.html +15 -15
  166. package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
  167. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  168. package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
  169. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  170. package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
  171. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
  172. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
  173. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  174. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  175. package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
  176. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
  177. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
  178. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  179. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  180. package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
  181. package/docs/interfaces/FloorplanBounding.html +5 -5
  182. package/docs/interfaces/FloorplanData.html +3 -3
  183. package/docs/interfaces/FloorplanEntrance.html +8 -8
  184. package/docs/interfaces/FloorplanExtraObject.html +5 -5
  185. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  186. package/docs/interfaces/FloorplanFloorData.html +3 -3
  187. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  188. package/docs/interfaces/FloorplanObserver.html +3 -3
  189. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  190. package/docs/interfaces/FloorplanPosition.html +3 -3
  191. package/docs/interfaces/FloorplanRoomItem.html +8 -8
  192. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
  193. package/docs/interfaces/FloorplanServerBounding.html +5 -5
  194. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  195. package/docs/interfaces/FloorplanServerData.html +3 -3
  196. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  197. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  198. package/docs/interfaces/FloorplanServerEntrance.html +8 -8
  199. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  200. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  201. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  202. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  203. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  204. package/docs/interfaces/FloorplanServerRoomItem.html +9 -9
  205. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
  206. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  208. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
  209. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
  210. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  212. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  213. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  214. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
  215. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  216. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
  217. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  218. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  219. package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
  220. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  221. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
  222. package/docs/interfaces/HelperOffset.html +2 -2
  223. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  224. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  225. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  226. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  227. package/docs/interfaces/MinMax.html +2 -2
  228. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  229. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  230. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  231. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  232. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  233. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  234. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  235. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  236. package/docs/interfaces/ModelMakerPluginType.EventMap.html +10 -10
  237. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  238. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
  239. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  240. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
  241. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
  242. package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
  243. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  244. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  245. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  246. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  247. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  248. package/docs/interfaces/Object3DHelperState.html +2 -2
  249. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  250. package/docs/interfaces/PaintBrushAction.html +7 -7
  251. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  252. package/docs/interfaces/PaintBrushState.html +2 -2
  253. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  254. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  255. package/docs/interfaces/PanoMeasureParameterType.html +6 -6
  256. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  257. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  258. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  259. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
  260. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  261. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  262. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  263. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  264. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  265. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  266. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  267. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  268. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  269. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  270. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  271. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  272. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  273. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  274. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  275. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  276. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  277. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
  278. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  279. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  280. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  281. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
  282. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
  283. package/docs/interfaces/PluginEventMap.html +4 -4
  284. package/docs/interfaces/Point.html +2 -2
  285. package/docs/interfaces/Room.html +2 -2
  286. package/docs/interfaces/RoomInfo.html +2 -2
  287. package/docs/interfaces/RoomLabel.html +7 -7
  288. package/docs/interfaces/RoomRules.html +1 -1
  289. package/docs/interfaces/Rooms.html +1 -1
  290. package/docs/interfaces/Scissor.html +6 -6
  291. package/docs/interfaces/State.html +4 -4
  292. package/docs/interfaces/TagCacheInterface.html +3 -3
  293. package/docs/interfaces/TagConfig.html +10 -10
  294. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  295. package/docs/interfaces/TagIconUrl.html +7 -7
  296. package/docs/interfaces/TagObjectGroup.html +2 -2
  297. package/docs/interfaces/TagStyle.html +2 -2
  298. package/docs/interfaces/Tags.html +4 -4
  299. package/docs/interfaces/TemporaryState.html +2 -2
  300. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  301. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  302. package/docs/interfaces/Util.EventHandlerConfig.html +4 -4
  303. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  304. package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
  305. package/docs/interfaces/Util.MagnifierParameter.html +5 -5
  306. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  307. package/docs/interfaces/Util.PointIntersection.html +4 -4
  308. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  309. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  310. package/docs/modules/AreaMakerPluginType.html +2 -2
  311. package/docs/modules/CruisePluginTypes.html +2 -2
  312. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  313. package/docs/modules/GuideLineItem.html +2 -2
  314. package/docs/modules/GuideLineModeItem.html +2 -2
  315. package/docs/modules/GuideLinePluginType.html +2 -2
  316. package/docs/modules/ModelMakerPluginType.html +2 -2
  317. package/docs/modules/PanoVideoPluginType.html +2 -2
  318. package/docs/modules/SculptData.html +2 -2
  319. package/docs/modules/Util.html +2 -2
  320. package/docs/modules/Util.sculpt.html +2 -2
  321. package/docs/modules.html +2 -2
  322. package/docs/types/AddObject3DHelperConfig.html +2 -2
  323. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  324. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  325. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  326. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  327. package/docs/types/ArrayPosition.html +1 -1
  328. package/docs/types/AudioAppearance.html +1 -1
  329. package/docs/types/CSS3DRenderExportType.html +1 -1
  330. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  331. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  332. package/docs/types/ClassFunctionParameters.html +1 -1
  333. package/docs/types/Color.html +1 -1
  334. package/docs/types/ContentTypeConfigKey.html +1 -1
  335. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  336. package/docs/types/ContentTypeMap.html +1 -1
  337. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  338. package/docs/types/Create3DElementReturnType.html +1 -1
  339. package/docs/types/CruisePluginExportType.html +1 -1
  340. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  341. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  342. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  343. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  344. package/docs/types/DeprecatedTagProperty.html +2 -2
  345. package/docs/types/Direction-1.html +1 -1
  346. package/docs/types/Direction4.html +1 -1
  347. package/docs/types/ElementRenderer.html +2 -2
  348. package/docs/types/FloorplanRuleLabels.html +2 -2
  349. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  350. package/docs/types/GuideLinePluginExportType.html +1 -1
  351. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  352. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  353. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  354. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  355. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  356. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  357. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  358. package/docs/types/HelperEventMap.html +1 -1
  359. package/docs/types/InternalHelperEventMap.html +1 -1
  360. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  361. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  362. package/docs/types/MediaData.html +2 -2
  363. package/docs/types/MediaStore.html +1 -1
  364. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  365. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  366. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  367. package/docs/types/ModelId.html +1 -1
  368. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  369. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  370. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  371. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  372. package/docs/types/MoveArgs.html +2 -2
  373. package/docs/types/MoveOpts.html +2 -2
  374. package/docs/types/Object3DHelperEventMap.html +1 -1
  375. package/docs/types/ObjectFit.html +1 -1
  376. package/docs/types/PaintBrushEventMap.html +1 -1
  377. package/docs/types/PanoCompassPluginData.html +1 -1
  378. package/docs/types/PanoCompassPluginExportType.html +1 -1
  379. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  380. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  381. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  382. package/docs/types/PanoIndex.html +1 -1
  383. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  384. package/docs/types/PanoMeasureReturnType.html +1 -1
  385. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  386. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  387. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  388. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  389. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  390. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  391. package/docs/types/PipelinePluginParameterType.html +1 -1
  392. package/docs/types/PipelinePluginReturnType.html +1 -1
  393. package/docs/types/PlaneTag.html +2 -2
  394. package/docs/types/Point2DTag.html +2 -2
  395. package/docs/types/Point3DTag.html +2 -2
  396. package/docs/types/PointTagInstance.html +1 -1
  397. package/docs/types/Position.html +1 -1
  398. package/docs/types/PositionFrom.html +1 -1
  399. package/docs/types/RotateArgs.html +2 -2
  400. package/docs/types/RotateOpts.html +2 -2
  401. package/docs/types/RuleLabelsKey.html +1 -1
  402. package/docs/types/RuleLabelsValue.html +1 -1
  403. package/docs/types/ScaleCallback.html +1 -1
  404. package/docs/types/ScalePosition.html +2 -2
  405. package/docs/types/SculptData.BoxData.html +1 -1
  406. package/docs/types/SculptData.CircleData.html +1 -1
  407. package/docs/types/SculptData.CylinderData.html +1 -1
  408. package/docs/types/SculptData.PointData.html +1 -1
  409. package/docs/types/SculptData.PolygonData.html +1 -1
  410. package/docs/types/SculptData.PolylineData.html +1 -1
  411. package/docs/types/SculptData.PrismData.html +1 -1
  412. package/docs/types/SculptData.RectangleData.html +1 -1
  413. package/docs/types/StickType.html +1 -1
  414. package/docs/types/Tag.html +2 -2
  415. package/docs/types/Tag2D.html +2 -2
  416. package/docs/types/Tag3D.html +2 -2
  417. package/docs/types/TagClickParams.html +1 -1
  418. package/docs/types/TagConfigByKey.html +1 -1
  419. package/docs/types/TagContentType.html +1 -1
  420. package/docs/types/TagContentTypeMapping.html +1 -1
  421. package/docs/types/TagDimensionType.html +1 -1
  422. package/docs/types/TagElement.html +2 -2
  423. package/docs/types/TagEvents.html +1 -1
  424. package/docs/types/TagGLTFObject.html +1 -1
  425. package/docs/types/TagHooks.html +1 -1
  426. package/docs/types/TagId.html +1 -1
  427. package/docs/types/TagInstance.html +1 -1
  428. package/docs/types/TagPointType.html +2 -2
  429. package/docs/types/TagRendererMap.html +1 -1
  430. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  431. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  432. package/docs/types/Util.ActionIfNoModelUnderMouse.html +1 -1
  433. package/docs/types/Util.PointSelectorConfig.html +1 -1
  434. package/docs/types/WorkCode.html +1 -1
  435. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  436. package/docs/variables/PLUGIN.html +1 -1
  437. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  438. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  439. package/docs/variables/Util.animeMap.html +1 -1
  440. package/docs/variables/defaultGlobalConfig.html +1 -1
  441. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  442. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  443. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  444. package/libs/ModelViewPlugin/Plugin.js +95 -90
  445. package/libs/Sculpt/Objects/Base/index.d.ts +4 -1
  446. package/libs/Sculpt/Objects/Base/index.js +27 -23
  447. package/libs/Sculpt/Objects/Box/index.d.ts +2 -2
  448. package/libs/Sculpt/Objects/Box/index.js +46 -44
  449. package/libs/Sculpt/Objects/Circle/index.d.ts +2 -1
  450. package/libs/Sculpt/Objects/Circle/index.js +57 -55
  451. package/libs/Sculpt/Objects/Cylinder/index.d.ts +2 -1
  452. package/libs/Sculpt/Objects/Cylinder/index.js +31 -29
  453. package/libs/Sculpt/Objects/Line/index.d.ts +2 -2
  454. package/libs/Sculpt/Objects/Line/index.js +42 -40
  455. package/libs/Sculpt/Objects/Point/index.d.ts +2 -1
  456. package/libs/Sculpt/Objects/Point/index.js +45 -43
  457. package/libs/Sculpt/Objects/Polygon/index.d.ts +2 -2
  458. package/libs/Sculpt/Objects/Polygon/index.js +74 -72
  459. package/libs/Sculpt/Objects/Polyline/index.d.ts +2 -2
  460. package/libs/Sculpt/Objects/Polyline/index.js +36 -34
  461. package/libs/Sculpt/Objects/Prism/index.d.ts +2 -1
  462. package/libs/Sculpt/Objects/Prism/index.js +54 -52
  463. package/libs/Sculpt/Objects/Rectangle/index.d.ts +2 -2
  464. package/libs/Sculpt/Objects/Rectangle/index.js +67 -66
  465. package/libs/Sculpt/index.d.ts +17 -14
  466. package/libs/Sculpt/index.js +76 -68
  467. package/libs/Sculpt/typings/style.d.ts +7 -0
  468. package/libs/Sculpt/utils/Modules/Global.d.ts +4 -0
  469. package/libs/Sculpt/utils/Modules/Global.js +24 -12
  470. package/libs/base/BasePlugin.js +5 -5
  471. package/libs/shared-utils/logger.js +1 -1
  472. package/libs/shared-utils/three/PointSelector/index.d.ts +25 -0
  473. package/libs/shared-utils/three/PointSelector/index.js +32 -6
  474. package/package.json +2 -2
@@ -1 +1 @@
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.60.3</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/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><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"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.60.3</a></div><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"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="itemLabelPluginServerParams.html">itemLabelPluginServerParams</a></li></ul><h1>Variable itemLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in src/ItemLabelPlugin/index.ts:7</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><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><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.60.3</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
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.61.1-alpha.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/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><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"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.61.1-alpha.0</a></div><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"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="itemLabelPluginServerParams.html">itemLabelPluginServerParams</a></li></ul><h1>Variable itemLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ItemLabelPlugin/index.ts:7</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><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><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.61.1-alpha.0</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
@@ -1 +1 @@
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.60.3</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/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><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"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.60.3</a></div><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"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="modelItemLabelPluginServerParams.html">modelItemLabelPluginServerParams</a></li></ul><h1>Variable modelItemLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">model<wbr/>Item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in src/ModelItemLabelPlugin/index.ts:7</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><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><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.60.3</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
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.61.1-alpha.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/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><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"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.61.1-alpha.0</a></div><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"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="modelItemLabelPluginServerParams.html">modelItemLabelPluginServerParams</a></li></ul><h1>Variable modelItemLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">model<wbr/>Item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ModelItemLabelPlugin/index.ts:7</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><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><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.61.1-alpha.0</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
@@ -1 +1 @@
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.60.3</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/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><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"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.60.3</a></div><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"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul><h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in src/ModelRoomLabelPlugin/index.ts:9</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><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><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.60.3</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
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.61.1-alpha.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/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><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"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.61.1-alpha.0</a></div><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"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul><h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ModelRoomLabelPlugin/index.ts:9</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><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><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.61.1-alpha.0</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
@@ -1,117 +1,122 @@
1
- var T = Object.defineProperty;
1
+ var V = Object.defineProperty;
2
2
  var E = Object.getOwnPropertySymbols;
3
- var U = Object.prototype.hasOwnProperty, V = Object.prototype.propertyIsEnumerable;
4
- var N = (n, i, r) => i in n ? T(n, i, { enumerable: !0, configurable: !0, writable: !0, value: r }) : n[i] = r, y = (n, i) => {
5
- for (var r in i || (i = {}))
6
- U.call(i, r) && N(n, r, i[r]);
3
+ var G = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
4
+ var D = (t, n, o) => n in t ? V(t, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[n] = o, k = (t, n) => {
5
+ for (var o in n || (n = {}))
6
+ G.call(n, o) && D(t, o, n[o]);
7
7
  if (E)
8
- for (var r of E(i))
9
- V.call(i, r) && N(n, r, i[r]);
10
- return n;
8
+ for (var o of E(n))
9
+ H.call(n, o) && D(t, o, n[o]);
10
+ return t;
11
11
  };
12
- import { Camera as H } from "@realsee/five";
13
- import * as d from "three";
14
- const J = (n, i) => {
15
- var k, P;
16
- let r = (P = (k = i == null ? void 0 : i.initialState) == null ? void 0 : k.enabled) != null ? P : !0, g = !1, h = !0, a = null;
17
- const f = y(y({}, {
12
+ var I = (t, n, o) => new Promise((f, m) => {
13
+ var r = (d) => {
14
+ try {
15
+ s(o.next(d));
16
+ } catch (a) {
17
+ m(a);
18
+ }
19
+ }, C = (d) => {
20
+ try {
21
+ s(o.throw(d));
22
+ } catch (a) {
23
+ m(a);
24
+ }
25
+ }, s = (d) => d.done ? f(d.value) : Promise.resolve(d.value).then(r, C);
26
+ s((o = o.apply(t, n)).next());
27
+ });
28
+ import { Camera as q, loadAt3d as X } from "@realsee/five";
29
+ import * as c from "three";
30
+ const K = (t, n) => {
31
+ var P, N;
32
+ let o = (N = (P = n == null ? void 0 : n.initialState) == null ? void 0 : P.enabled) != null ? N : !0, f = !1, m = !0, r = null;
33
+ const s = k(k({}, {
18
34
  lookAtCurrentCamera: !1,
19
35
  lockedPanoIndex: null,
20
36
  lockedLatitude: null,
21
37
  lockedLongitude: null
22
- }), i == null ? void 0 : i.config), s = new d.Scene(), m = new H(60);
23
- let c = new d.Object3D(), b, M;
38
+ }), n == null ? void 0 : n.config), d = new c.Scene(), a = new q(60);
39
+ a.near = 1, a.updateTime(Date.now());
40
+ let u = new c.Object3D(), x, b;
24
41
  {
25
- const e = new d.DirectionalLight(16777215, 0.5);
26
- e.position.copy(new d.Vector3(1, 1, 1)), s.add(e);
42
+ const e = new c.DirectionalLight(16777215, 0.5);
43
+ e.position.copy(new c.Vector3(1, 1, 1)), d.add(e);
27
44
  }
28
45
  {
29
- const e = new d.DirectionalLight(16777215, 0.3);
30
- s.add(e);
46
+ const e = new c.DirectionalLight(16777215, 0.3);
47
+ d.add(e);
31
48
  }
32
49
  {
33
- const e = new d.AmbientLight(16777215, 0.3);
34
- s.add(e);
50
+ const e = new c.AmbientLight(16777215, 0.3);
51
+ d.add(e);
35
52
  }
36
- s.add(c);
37
- const C = () => {
38
- if (g)
39
- return;
40
- b = S(n.model, m.fov, m.aspect), M = n.model.bounding.getCenter(new d.Vector3()), s.remove(c), c = u(n.model), s.add(c), g = !0, p();
41
- function e(o) {
42
- const t = o.clone();
43
- return t.uniforms.modelAlpha.value = 1, t.uniforms.map.value && (t.uniforms.map.value.needsUpdate = !0), t;
44
- }
45
- function u(o) {
46
- if (o instanceof d.Mesh) {
47
- const t = o.geometry, l = Array.isArray(o.material) ? o.material.map(e) : e(o.material);
48
- return new d.Mesh(t, l);
49
- } else if (o instanceof d.Group) {
50
- const t = new d.Group();
51
- return o.children.forEach((l) => t.add(u(l))), t;
52
- } else {
53
- const t = new d.Object3D();
54
- return o.children.forEach((l) => t.add(u(l))), t;
55
- }
56
- }
57
- }, D = () => {
58
- if (n.renderer)
59
- return a || (a = new d.WebGLRenderer({ antialias: !1, alpha: !0 }), a.setPixelRatio(n.renderer.getPixelRatio()), a.outputEncoding = d.sRGBEncoding, a.setClearColor(1579548, 0), a.autoClear = !0), a;
60
- }, R = () => {
61
- c.traverse((e) => {
62
- e instanceof d.Mesh && [].concat(e.material).forEach((o) => o.dispose());
63
- }), s.remove(c), c = new d.Object3D(), s.add(c), g = !1, p();
64
- }, j = () => {
65
- r && (g || C());
53
+ d.add(u);
54
+ const L = () => I(void 0, null, function* () {
55
+ var e, p;
56
+ f || (x = z(t.model, a.fov, a.aspect), b = t.model.bounding.getCenter(new c.Vector3()), d.remove(u), u = yield X(t.work.model.file, {
57
+ textureOptions: { size: 256, quality: 70 },
58
+ textureArray: (e = t.work.model) == null ? void 0 : e.textures,
59
+ textureBaseUri: (p = t.work.model) == null ? void 0 : p.textureBase
60
+ }).then((l) => {
61
+ const i = l.scene;
62
+ return i.rotateX(-Math.PI / 2), i;
63
+ }), d.add(u), f = !0, g());
64
+ }), R = () => {
65
+ if (t.renderer)
66
+ return r || (r = new c.WebGLRenderer({ antialias: !1, alpha: !0 }), r.setPixelRatio(t.renderer.getPixelRatio()), r.outputEncoding = c.sRGBEncoding, r.setClearColor(1579548, 0), r.autoClear = !0), r;
66
67
  }, A = () => {
67
- r || (r = !0, s.add(c), !g && n.model.loaded && C(), p());
68
- }, I = () => {
69
- r && (s.remove(c), h = !0, x(), r = !1);
70
- }, O = (e, u = {}) => {
71
- const o = D();
72
- if (!o)
68
+ d.remove(u), u = new c.Object3D(), d.add(u), f = !1, g();
69
+ }, O = () => {
70
+ o && (f || L());
71
+ }, S = () => {
72
+ o || (o = !0, d.add(u), !f && t.model.loaded && L(), g());
73
+ }, W = () => {
74
+ o && (d.remove(u), m = !0, M(), o = !1);
75
+ }, j = (e, p = {}) => {
76
+ const l = R();
77
+ if (!l)
73
78
  return;
74
- e.appendChild(o.domElement), L(u);
75
- const t = window.getComputedStyle(e).position;
76
- t !== "relative" && t !== "absolute" && t !== "fixed" && t !== "sticky" && (e.style.position = "relative");
77
- }, L = (e = {}) => {
78
- if (!a)
79
+ e.appendChild(l.domElement), y(p);
80
+ const i = window.getComputedStyle(e).position;
81
+ i !== "relative" && i !== "absolute" && i !== "fixed" && i !== "sticky" && (e.style.position = "relative");
82
+ }, y = (e = {}) => {
83
+ if (!r)
79
84
  return;
80
- const o = a.domElement.parentNode;
81
- if (o != null && o.nodeName) {
82
- const { width: t = o.offsetWidth, height: l = o.offsetHeight } = e;
83
- a.setSize(t, l), m.aspect = t / l, m.updateProjectionMatrix();
85
+ const l = r.domElement.parentNode;
86
+ if (l != null && l.nodeName) {
87
+ const { width: i = l.offsetWidth, height: h = l.offsetHeight } = e;
88
+ r.setSize(i, h), a.aspect = i / h, a.updateProjectionMatrix();
84
89
  }
85
- p();
90
+ g();
86
91
  };
87
- function S(e, u, o) {
88
- const t = e.bounding, l = Math.pow(
89
- Math.pow(t.max.x - t.min.x + 1, 2) + Math.pow(t.max.y - t.min.y + 1, 2) + Math.pow(t.max.z - t.min.z + 1, 2),
92
+ function z(e, p, l) {
93
+ const i = e.bounding, h = Math.pow(
94
+ Math.pow(i.max.x - i.min.x + 1, 2) + Math.pow(i.max.y - i.min.y + 1, 2) + Math.pow(i.max.z - i.min.z + 1, 2),
90
95
  1 / 2
91
96
  );
92
- let w = l / 2 / Math.tan(Math.PI * u / 360);
93
- return o < 1 && (w = w / o), isNaN(w) ? l : w;
97
+ let w = h / 2 / Math.tan(Math.PI * p / 360);
98
+ return l < 1 && (w = w / l), isNaN(w) ? h : w;
94
99
  }
95
- function W(e) {
96
- return n.work.observers[e].standingPosition.clone();
100
+ function F(e) {
101
+ return t.work.observers[e].standingPosition.clone();
97
102
  }
98
- const p = () => {
99
- if (!r || !b || !M)
103
+ const g = () => {
104
+ if (!o || !x || !b)
100
105
  return;
101
- const e = n.getPose();
102
- e.fov = m.fov, e.offset = M, e.distance = b, typeof f.lockedLatitude == "number" && (e.latitude = f.lockedLatitude), typeof f.lockedLongitude == "number" && (e.longitude = f.lockedLongitude), typeof f.lockedPanoIndex == "number" && (e.offset = W(f.lockedPanoIndex)), f.lookAtCurrentCamera && (e.offset = n.camera.position.clone().setY(n.camera.position.y + 1)), m.setFromPose(e), h = !0;
103
- }, x = () => {
104
- !r || h !== !0 || !a || !a.domElement.parentNode || a.domElement.parentNode.offsetWidth === 0 || (a.render(s, m), h = !1);
105
- }, F = () => {
106
- a && a.dispose(), a = null;
107
- }, G = (e) => {
108
- Object.assign(f, e), p();
109
- }, z = () => ({
110
- enabled: r
106
+ const e = t.getPose();
107
+ e.fov = a.fov, e.offset = b, e.distance = x, typeof s.lockedLatitude == "number" && (e.latitude = s.lockedLatitude), typeof s.lockedLongitude == "number" && (e.longitude = s.lockedLongitude), typeof s.lockedPanoIndex == "number" && (e.offset = F(s.lockedPanoIndex)), s.lookAtCurrentCamera && (e.offset = t.camera.position.clone().setY(t.camera.position.y + 1)), a.setFromPose(e), m = !0;
108
+ }, M = () => {
109
+ !o || m !== !0 || !r || !r.domElement.parentNode || r.domElement.parentNode.offsetWidth === 0 || (r.render(d, a), m = !1);
110
+ }, T = () => {
111
+ r && r.dispose(), r = null;
112
+ }, B = (e) => {
113
+ Object.assign(s, e), g();
114
+ }, U = () => ({
115
+ enabled: o
111
116
  });
112
- return Object.assign(window, { camera: m }), n.on("modelLoaded", j), n.on("modelWillLoad", R), n.on("cameraDirectionUpdate", p), n.on("dispose", F), n.on("renderFrame", x), n.on("cameraPositionUpdate", p), { appendTo: O, refresh: L, changeConfigs: G, enable: A, disable: I, getCurrentState: z };
117
+ return t.on("modelLoaded", O), t.on("modelWillLoad", A), t.on("cameraDirectionUpdate", g), t.on("dispose", T), t.on("renderFrame", M), t.on("cameraPositionUpdate", g), { appendTo: j, refresh: y, changeConfigs: B, enable: S, disable: W, getCurrentState: U };
113
118
  };
114
119
  export {
115
- J as ModelViewPlugin,
116
- J as default
120
+ K as ModelViewPlugin,
121
+ K as default
117
122
  };
@@ -4,6 +4,7 @@ import type { BaseEditor } from './Editor';
4
4
  import type { RequiredDeep } from 'type-fest';
5
5
  import type { ImportDataToExportData } from '../../typings/utils.type';
6
6
  import type * as THREE from 'three';
7
+ import type { PointSelector } from '../../../shared-utils/three/PointSelector';
7
8
  export interface BaseImportData {
8
9
  /**
9
10
  * @description: 唯一标识
@@ -66,7 +67,9 @@ Config extends BaseObjectConfig = BaseObjectConfig> extends IObject3D {
66
67
  id: string;
67
68
  type: string;
68
69
  };
69
- protected get pointSelector(): import("../../../shared-utils").PointSelector;
70
+ protected get currentPointSelector(): PointSelector;
71
+ protected set currentPointSelector(value: PointSelector);
72
+ private _currentPointSelector?;
70
73
  constructor(data?: Partial<ImportData>, config?: Partial<Config>);
71
74
  abstract setData(data: Partial<ImportData>): void;
72
75
  on: <T extends keyof FiveDomEventMap>(event: T, callback: FiveDomEventMap[T], config?: EventHandlerConfig) => void;
@@ -1,21 +1,21 @@
1
1
  var m = Object.defineProperty;
2
2
  var p = Object.getOwnPropertySymbols;
3
3
  var g = Object.prototype.hasOwnProperty, y = Object.prototype.propertyIsEnumerable;
4
- var h = (n, i, e) => i in n ? m(n, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[i] = e, a = (n, i) => {
4
+ var c = (r, i, e) => i in r ? m(r, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[i] = e, a = (r, i) => {
5
5
  for (var e in i || (i = {}))
6
- g.call(i, e) && h(n, e, i[e]);
6
+ g.call(i, e) && c(r, e, i[e]);
7
7
  if (p)
8
8
  for (var e of p(i))
9
- y.call(i, e) && h(n, e, i[e]);
10
- return n;
9
+ y.call(i, e) && c(r, e, i[e]);
10
+ return r;
11
11
  };
12
- var s = (n, i, e) => (h(n, typeof i != "symbol" ? i + "" : i, e), e);
13
- import { hotkeys as c } from "../../../vendor/hotkeys-js/dist/hotkeys.esm.js";
14
- import { Sculpt as r } from "../../index.js";
12
+ var s = (r, i, e) => (c(r, typeof i != "symbol" ? i + "" : i, e), e);
13
+ import { hotkeys as h } from "../../../vendor/hotkeys-js/dist/hotkeys.esm.js";
14
+ import { Sculpt as n } from "../../index.js";
15
15
  import { IObject3D as v } from "../../../shared-utils/three/IObject3D.js";
16
16
  import { localToWorld as M, worldToLocal as w } from "../../../shared-utils/three/applyObjectMatrixWorld.js";
17
17
  import { removeAllTag as E } from "../../utils/removeAllTag.js";
18
- const d = /* @__PURE__ */ new Map();
18
+ const u = /* @__PURE__ */ new Map();
19
19
  class f extends v {
20
20
  constructor(e, t) {
21
21
  super();
@@ -30,8 +30,9 @@ class f extends v {
30
30
  * @description 配置
31
31
  */
32
32
  s(this, "config");
33
- s(this, "on", (e, t, o) => r.modules.fiveDomEvents.addEventListener(this, e, t, o));
34
- s(this, "off", (...e) => r.modules.fiveDomEvents.removeEventListener(this, ...e));
33
+ s(this, "_currentPointSelector");
34
+ s(this, "on", (e, t, o) => n.modules.fiveDomEvents.addEventListener(this, e, t, o));
35
+ s(this, "off", (...e) => n.modules.fiveDomEvents.removeEventListener(this, ...e));
35
36
  s(this, "applyObjectMatrixWorld", (e, t) => {
36
37
  const o = t != null ? t : this;
37
38
  return o.updateMatrixWorld(), M(o, e);
@@ -42,22 +43,22 @@ class f extends v {
42
43
  });
43
44
  e != null && e.id && (this.uuid = e.id), this.config = a({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, t), e != null && e.style && (e.style.occlusionVisibility = this.config.occlusionVisibility, e.style.occlusionMode = this.config.occlusionMode), this.addEventListener("removed", () => {
44
45
  E(this);
45
- }), c("esc", () => {
46
+ }), h("esc", () => {
46
47
  this.stopCreating();
47
- }), this.config.defaultAction && (c("backspace, delete", () => {
48
+ }), this.config.defaultAction && (h("backspace, delete", () => {
48
49
  this.selected && this.delete();
49
50
  }), this.on("click", () => {
50
51
  var o;
51
52
  this.editing || (this.select({ only: !0 }), this.editor.enable(), (o = this.parent) == null || o.children.forEach((l) => {
52
- var u;
53
- l instanceof f && l !== this && ((u = l._editor) == null || u.disable());
53
+ var d;
54
+ l instanceof f && l !== this && ((d = l._editor) == null || d.disable());
54
55
  }));
55
- }), c("esc", () => {
56
+ }), h("esc", () => {
56
57
  this.selected && this.unselect();
57
58
  }));
58
59
  }
59
60
  get editing() {
60
- return this.pointSelector.enabled;
61
+ return this.currentPointSelector.enabled;
61
62
  }
62
63
  get baseData() {
63
64
  return {
@@ -65,8 +66,11 @@ class f extends v {
65
66
  type: this.type
66
67
  };
67
68
  }
68
- get pointSelector() {
69
- return r.modules.pointSelector;
69
+ get currentPointSelector() {
70
+ return this._currentPointSelector;
71
+ }
72
+ set currentPointSelector(e) {
73
+ this._currentPointSelector = e;
70
74
  }
71
75
  /**
72
76
  * @description 撤销
@@ -96,7 +100,7 @@ class f extends v {
96
100
  * @description 停止创建当前物体,等同于`esc`
97
101
  */
98
102
  stopCreating() {
99
- r.modules.pointSelector.disable();
103
+ n.modules.pointSelector.disable();
100
104
  }
101
105
  /**
102
106
  * @description 从场景中删除当前物体,并且移除事件监听
@@ -113,8 +117,8 @@ class f extends v {
113
117
  select(e = { only: !1 }) {
114
118
  if (this.selected)
115
119
  return;
116
- this.selected = !0, this.highlight(), d.has(this.parent.uuid) || d.set(this.parent.uuid, []);
117
- const t = d.get(this.parent.uuid);
120
+ this.selected = !0, this.highlight(), u.has(this.parent.uuid) || u.set(this.parent.uuid, []);
121
+ const t = u.get(this.parent.uuid);
118
122
  t.push(this), e.only && (t == null || t.forEach((o) => {
119
123
  o !== this && o.unselect();
120
124
  }));
@@ -140,8 +144,8 @@ class f extends v {
140
144
  * @description 显示删除按钮
141
145
  */
142
146
  showDeleteButton(e, t) {
143
- r.modules.cursor.showDeleteButton({ clientX: e, clientY: t, container: document.body, onClick: () => this.delete() }), r.modules.five.once("cameraUpdate", () => {
144
- r.modules.cursor.removeDeleteButton();
147
+ n.modules.cursor.showDeleteButton({ clientX: e, clientY: t, container: document.body, onClick: () => this.delete() }), n.modules.five.once("cameraUpdate", () => {
148
+ n.modules.cursor.removeDeleteButton();
145
149
  });
146
150
  }
147
151
  }
@@ -3,7 +3,7 @@ import type { PointSelector } from '../../../shared-utils/three/PointSelector';
3
3
  import { BoxMeshEditor } from '../../Editors/BoxMeshEditor';
4
4
  import { BoxMesh, type BoxData, type BoxStyle } from '../../Meshes/Box';
5
5
  import type { LiteralString } from '../../../typings/utils.type';
6
- import type { CreateLimitConfig, DrawMethodConfig } from '../../typings/style';
6
+ import type { CreateLimitConfig, CreateUtils, DrawMethodConfig } from '../../typings/style';
7
7
  export interface BoxImportData extends BaseImportData, BoxData {
8
8
  type: LiteralString<'Box'>;
9
9
  style?: Partial<BoxStyle>;
@@ -29,6 +29,6 @@ export declare class Box extends BaseObject<BoxImportData> {
29
29
  setData(data: Partial<BoxImportData>): void;
30
30
  highlight(): void;
31
31
  unhighlight(): void;
32
- create(params?: Partial<BoxStyle & CreateLimitConfig & DrawMethodConfig>): Promise<void>;
32
+ create(params?: Partial<BoxStyle & CreateLimitConfig & DrawMethodConfig & CreateUtils>): Promise<void>;
33
33
  }
34
34
  export declare function createBox(boxMesh: BoxMesh, pointSelector: PointSelector, config?: Partial<CreateLimitConfig & DrawMethodConfig>): Promise<void>;