@realsee/dnalogel 3.53.4 → 3.53.5-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/README.md +116 -0
  2. package/dist/Sculpt/Meshes/Circle.d.ts +3 -1
  3. package/dist/Sculpt/Meshes/Cylinder.d.ts +4 -2
  4. package/dist/Sculpt/Objects/Base/index.d.ts +1 -0
  5. package/dist/Sculpt/Objects/Box/index.d.ts +1 -0
  6. package/dist/Sculpt/Objects/Circle/index.d.ts +1 -0
  7. package/dist/Sculpt/Objects/Cylinder/index.d.ts +1 -0
  8. package/dist/Sculpt/Objects/Line/index.d.ts +1 -0
  9. package/dist/Sculpt/Objects/Point/index.d.ts +1 -0
  10. package/dist/Sculpt/Objects/Polygon/index.d.ts +1 -0
  11. package/dist/Sculpt/Objects/Polyline/index.d.ts +1 -0
  12. package/dist/Sculpt/Objects/Prism/index.d.ts +1 -0
  13. package/dist/Sculpt/Objects/Rectangle/index.d.ts +1 -0
  14. package/dist/index.cjs.js +25 -25
  15. package/dist/index.js +116 -77
  16. package/dist/index.umd.js +28 -28
  17. package/docs/.nojekyll +1 -0
  18. package/docs/assets/custom.css +0 -0
  19. package/docs/assets/highlight.css +127 -0
  20. package/docs/assets/icons.js +18 -0
  21. package/docs/assets/icons.svg +1 -0
  22. package/docs/assets/main.js +60 -0
  23. package/docs/assets/navigation.js +1 -0
  24. package/docs/assets/search.js +1 -0
  25. package/docs/assets/style.css +1493 -0
  26. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +61 -0
  27. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +71 -0
  28. package/docs/classes/CSS3DRender.html +100 -0
  29. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -0
  30. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +71 -0
  31. package/docs/classes/ModelMakerPluginInstance.html +57 -0
  32. package/docs/classes/ModelRoomLabelController.html +19 -0
  33. package/docs/classes/MoveController.html +47 -0
  34. package/docs/classes/Object3DHelperController.html +47 -0
  35. package/docs/classes/PaintBrush.html +15 -0
  36. package/docs/classes/PanoMeasurePluginLine.html +24 -0
  37. package/docs/classes/PanoMeasurePluginModel.html +23 -0
  38. package/docs/classes/PanoMeasurePluginPoint.html +7 -0
  39. package/docs/classes/PanoMeasurePluginPolyline.html +27 -0
  40. package/docs/classes/PanoTagPluginController.html +104 -0
  41. package/docs/classes/Sculpt.html +70 -0
  42. package/docs/classes/Util.BetterTween.html +6 -0
  43. package/docs/classes/Util.FiveDomEvents.html +12 -0
  44. package/docs/classes/Util.FivePuppet.html +20 -0
  45. package/docs/classes/Util.Interval.html +11 -0
  46. package/docs/classes/Util.LightTag.html +47 -0
  47. package/docs/classes/Util.LineSegments.html +4 -0
  48. package/docs/classes/Util.Magnifier.html +22 -0
  49. package/docs/classes/Util.Object3D.html +8 -0
  50. package/docs/classes/Util.PointHelper.html +10 -0
  51. package/docs/classes/Util.PointSelector.html +50 -0
  52. package/docs/classes/Util.PointSelectorHelper.html +14 -0
  53. package/docs/classes/Util.Rectangle.html +12 -0
  54. package/docs/classes/Util.sculpt.BaseEditor.html +16 -0
  55. package/docs/classes/Util.sculpt.BoxMesh.html +34 -0
  56. package/docs/classes/Util.sculpt.BoxMeshEditor.html +16 -0
  57. package/docs/classes/Util.sculpt.CircleMesh.html +26 -0
  58. package/docs/classes/Util.sculpt.CircleMeshEditor.html +16 -0
  59. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +26 -0
  60. package/docs/classes/Util.sculpt.CylinderMesh.html +25 -0
  61. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +16 -0
  62. package/docs/classes/Util.sculpt.LineMesh.html +29 -0
  63. package/docs/classes/Util.sculpt.PointMesh.html +20 -0
  64. package/docs/classes/Util.sculpt.PolygonMesh.html +34 -0
  65. package/docs/classes/Util.sculpt.PrismMesh.html +34 -0
  66. package/docs/classes/Util.sculpt.PrismMeshEditor.html +16 -0
  67. package/docs/classes/Util.sculpt.RectangleMesh.html +35 -0
  68. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +16 -0
  69. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +38 -0
  70. package/docs/classes/WalkController.html +44 -0
  71. package/docs/enums/CameraMovementEffect.html +4 -0
  72. package/docs/enums/ContentType.html +34 -0
  73. package/docs/enums/DIRECTION.html +5 -0
  74. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +5 -0
  75. package/docs/enums/DimensionType.html +4 -0
  76. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -0
  77. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +5 -0
  78. package/docs/enums/PaintBrushTypeEnum.html +4 -0
  79. package/docs/enums/PointType.html +4 -0
  80. package/docs/enums/Rotation.html +5 -0
  81. package/docs/functions/AreaMakerPlugin.html +1 -0
  82. package/docs/functions/CSS3DRenderPlugin.html +1 -0
  83. package/docs/functions/CameraMovementPlugin.html +2 -0
  84. package/docs/functions/CruisePlugin.html +1 -0
  85. package/docs/functions/CurrentPanoImagePlugin.html +1 -0
  86. package/docs/functions/GuideLinePlugin.html +1 -0
  87. package/docs/functions/ItemLabelPlugin.html +1 -0
  88. package/docs/functions/MapviewFloorplanPlugin.html +1 -0
  89. package/docs/functions/ModelChassisCompassPlugin.html +2 -0
  90. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -0
  91. package/docs/functions/ModelFloorplanPlugin.html +1 -0
  92. package/docs/functions/ModelItemLabelPlugin.html +1 -0
  93. package/docs/functions/ModelMakerPlugin.html +1 -0
  94. package/docs/functions/ModelRoomLabelPlugin.html +1 -0
  95. package/docs/functions/ModelTVVideoPlugin.html +1 -0
  96. package/docs/functions/ModelViewPlugin.html +2 -0
  97. package/docs/functions/MovePlugin.html +1 -0
  98. package/docs/functions/Object3DHelperPlugin.html +1 -0
  99. package/docs/functions/PanoCompassPlugin.html +1 -0
  100. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -0
  101. package/docs/functions/PanoDoorLabelPlugin.html +1 -0
  102. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -0
  103. package/docs/functions/PanoMeasurePlugin.html +1 -0
  104. package/docs/functions/PanoRulerPlugin.html +2 -0
  105. package/docs/functions/PanoRulerProPlugin.html +2 -0
  106. package/docs/functions/PanoSpatialTagPlugin.html +2 -0
  107. package/docs/functions/PanoTagPlugin.html +1 -0
  108. package/docs/functions/PanoVideoPlugin.html +10 -0
  109. package/docs/functions/PipelinePlugin.html +1 -0
  110. package/docs/functions/SculptPlugin.html +2 -0
  111. package/docs/functions/TopviewFloorplanPlugin.html +1 -0
  112. package/docs/functions/Util.absoluteUrl.html +2 -0
  113. package/docs/functions/Util.awaitNextFrame.html +1 -0
  114. package/docs/functions/Util.blink.html +6 -0
  115. package/docs/functions/Util.bounding.html +1 -0
  116. package/docs/functions/Util.boundingBox.html +1 -0
  117. package/docs/functions/Util.boundingSphere.html +1 -0
  118. package/docs/functions/Util.boxVertex.html +7 -0
  119. package/docs/functions/Util.boxVertexes.html +1 -0
  120. package/docs/functions/Util.checkFiveModelLoaded.html +2 -0
  121. package/docs/functions/Util.convexHull.html +2 -0
  122. package/docs/functions/Util.equal.html +5 -0
  123. package/docs/functions/Util.fiveModelIsLoaded.html +2 -0
  124. package/docs/functions/Util.getCoordsFromClient.html +1 -0
  125. package/docs/functions/Util.getCoordsFromElement.html +1 -0
  126. package/docs/functions/Util.getFrameTime.html +3 -0
  127. package/docs/functions/Util.inside.html +1 -0
  128. package/docs/functions/Util.isAbsoluteURL.html +1 -0
  129. package/docs/functions/Util.isModelLike.html +1 -0
  130. package/docs/functions/Util.isNil.html +2 -0
  131. package/docs/functions/Util.isPanoramaLike.html +1 -0
  132. package/docs/functions/Util.lookObject.html +5 -0
  133. package/docs/functions/Util.lookPoint.html +5 -0
  134. package/docs/functions/Util.nextFrame.html +1 -0
  135. package/docs/functions/Util.notNil.html +2 -0
  136. package/docs/functions/Util.reblink.html +4 -0
  137. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -0
  138. package/docs/functions/Util.sculpt.createBox.html +1 -0
  139. package/docs/functions/Util.sculpt.createCircle.html +1 -0
  140. package/docs/functions/Util.sculpt.createCylinder.html +1 -0
  141. package/docs/functions/Util.sculpt.createLine.html +2 -0
  142. package/docs/functions/Util.sculpt.createPoint.html +1 -0
  143. package/docs/functions/Util.sculpt.createPolygon.html +1 -0
  144. package/docs/functions/Util.sculpt.createPrism.html +1 -0
  145. package/docs/functions/Util.sculpt.createRectangle.html +2 -0
  146. package/docs/functions/Util.tag.html +1 -0
  147. package/docs/functions/Util.tweenProgress.html +1 -0
  148. package/docs/functions/Util.uuid.html +2 -0
  149. package/docs/functions/Util.waitFiveModelLoaded.html +2 -0
  150. package/docs/functions/Util.worldBounding.html +1 -0
  151. package/docs/functions/Util.worldBoundingBox.html +1 -0
  152. package/docs/functions/Util.worldBoundingSphere.html +1 -0
  153. package/docs/functions/createPolyline.html +2 -0
  154. package/docs/functions/pluginFlag.html +1 -0
  155. package/docs/hierarchy.html +1 -0
  156. package/docs/index.html +70 -0
  157. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +4 -0
  158. package/docs/interfaces/AreaMakerPluginType.Config.html +8 -0
  159. package/docs/interfaces/AreaMakerPluginType.EventMap.html +25 -0
  160. package/docs/interfaces/AreaMakerPluginType.Params.html +4 -0
  161. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -0
  162. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +13 -0
  163. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +9 -0
  164. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -0
  165. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -0
  166. package/docs/interfaces/AreaMakerPluginType.State.html +8 -0
  167. package/docs/interfaces/CSS3DRenderPluginEventMap.html +9 -0
  168. package/docs/interfaces/CSS3DRenderPluginState.html +7 -0
  169. package/docs/interfaces/CameraMovementPluginExportType.html +11 -0
  170. package/docs/interfaces/ContentTypeMapInterface.html +73 -0
  171. package/docs/interfaces/CruisePluginTypes.Config.html +7 -0
  172. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +8 -0
  173. package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -0
  174. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +6 -0
  175. package/docs/interfaces/CruisePluginTypes.MoveAction.html +16 -0
  176. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +19 -0
  177. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +20 -0
  178. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -0
  179. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -0
  180. package/docs/interfaces/CruisePluginTypes.PluginState.html +15 -0
  181. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -0
  182. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +15 -0
  183. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +4 -0
  184. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -0
  185. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -0
  186. package/docs/interfaces/FloorplanBounding.html +9 -0
  187. package/docs/interfaces/FloorplanData.html +7 -0
  188. package/docs/interfaces/FloorplanEntrance.html +14 -0
  189. package/docs/interfaces/FloorplanExtraObject.html +9 -0
  190. package/docs/interfaces/FloorplanExtraObject3D.html +5 -0
  191. package/docs/interfaces/FloorplanFloorData.html +6 -0
  192. package/docs/interfaces/FloorplanImagePosition.html +4 -0
  193. package/docs/interfaces/FloorplanObserver.html +8 -0
  194. package/docs/interfaces/FloorplanOutlineItem.html +6 -0
  195. package/docs/interfaces/FloorplanPosition.html +4 -0
  196. package/docs/interfaces/FloorplanRoomItem.html +23 -0
  197. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -0
  198. package/docs/interfaces/FloorplanServerBounding.html +9 -0
  199. package/docs/interfaces/FloorplanServerComputedData.html +6 -0
  200. package/docs/interfaces/FloorplanServerData.html +4 -0
  201. package/docs/interfaces/FloorplanServerDoorItem.html +6 -0
  202. package/docs/interfaces/FloorplanServerDoorPosition.html +4 -0
  203. package/docs/interfaces/FloorplanServerEntrance.html +14 -0
  204. package/docs/interfaces/FloorplanServerFloorData.html +6 -0
  205. package/docs/interfaces/FloorplanServerImagePosition.html +4 -0
  206. package/docs/interfaces/FloorplanServerObserver.html +8 -0
  207. package/docs/interfaces/FloorplanServerOutlineItem.html +6 -0
  208. package/docs/interfaces/FloorplanServerPosition.html +4 -0
  209. package/docs/interfaces/FloorplanServerRoomItem.html +26 -0
  210. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -0
  211. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -0
  212. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -0
  213. package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -0
  214. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -0
  215. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -0
  216. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +32 -0
  217. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +4 -0
  218. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +5 -0
  219. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +42 -0
  220. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -0
  221. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +57 -0
  222. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -0
  223. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -0
  224. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -0
  225. package/docs/interfaces/GuideLinePluginType.Route.html +6 -0
  226. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +4 -0
  227. package/docs/interfaces/HelperOffset.html +4 -0
  228. package/docs/interfaces/ImagePlaneGroup.html +3 -0
  229. package/docs/interfaces/ItemLabelPluginData.html +2 -0
  230. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +7 -0
  231. package/docs/interfaces/ItemLabelPluginParametersType.html +5 -0
  232. package/docs/interfaces/MinMax.html +3 -0
  233. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -0
  234. package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -0
  235. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -0
  236. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -0
  237. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -0
  238. package/docs/interfaces/ModelItemLabelPluginData.html +2 -0
  239. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +7 -0
  240. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -0
  241. package/docs/interfaces/ModelMakerPluginType.EventMap.html +18 -0
  242. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +5 -0
  243. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +12 -0
  244. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -0
  245. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +14 -0
  246. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +10 -0
  247. package/docs/interfaces/ModelMakerPluginType.State.html +8 -0
  248. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -0
  249. package/docs/interfaces/ModelTVVideoPluginData.html +5 -0
  250. package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -0
  251. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -0
  252. package/docs/interfaces/ModelViewPluginExportType.html +7 -0
  253. package/docs/interfaces/Object3DHelperState.html +4 -0
  254. package/docs/interfaces/ObjectHelperControllers.html +5 -0
  255. package/docs/interfaces/PaintBrushAction.html +14 -0
  256. package/docs/interfaces/PaintBrushConfigs.html +8 -0
  257. package/docs/interfaces/PaintBrushState.html +6 -0
  258. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +16 -0
  259. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -0
  260. package/docs/interfaces/PanoMeasureParameterType.html +20 -0
  261. package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -0
  262. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -0
  263. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -0
  264. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -0
  265. package/docs/interfaces/PanoRulerPluginExportType.html +6 -0
  266. package/docs/interfaces/PanoRulerPluginOptions.html +3 -0
  267. package/docs/interfaces/PanoRulerPluginParameterType.html +4 -0
  268. package/docs/interfaces/PanoRulerProPluginExportType.html +5 -0
  269. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -0
  270. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -0
  271. package/docs/interfaces/PanoRulerProPluginState.html +4 -0
  272. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -0
  273. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -0
  274. package/docs/interfaces/PanoSpatialTagPluginData.html +7 -0
  275. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +6 -0
  276. package/docs/interfaces/PanoSpatialTagPluginExportType.html +9 -0
  277. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +6 -0
  278. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +9 -0
  279. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +7 -0
  280. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +6 -0
  281. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -0
  282. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -0
  283. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -0
  284. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +15 -0
  285. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -0
  286. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +14 -0
  287. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +13 -0
  288. package/docs/interfaces/PluginEventMap.html +15 -0
  289. package/docs/interfaces/Point.html +4 -0
  290. package/docs/interfaces/Room.html +5 -0
  291. package/docs/interfaces/RoomInfo.html +3 -0
  292. package/docs/interfaces/RoomLabel.html +16 -0
  293. package/docs/interfaces/RoomRules.html +1 -0
  294. package/docs/interfaces/Rooms.html +1 -0
  295. package/docs/interfaces/Scissor.html +13 -0
  296. package/docs/interfaces/State.html +7 -0
  297. package/docs/interfaces/TagCacheInterface.html +9 -0
  298. package/docs/interfaces/TagConfig.html +111 -0
  299. package/docs/interfaces/TagGLTFObjectGroup.html +3 -0
  300. package/docs/interfaces/TagIconUrl.html +14 -0
  301. package/docs/interfaces/TagObjectGroup.html +3 -0
  302. package/docs/interfaces/TagStyle.html +5 -0
  303. package/docs/interfaces/Tags.html +8 -0
  304. package/docs/interfaces/TemporaryState.html +2 -0
  305. package/docs/interfaces/Util.AnimeInstance.html +3 -0
  306. package/docs/interfaces/Util.BlinkAnimeOptions.html +7 -0
  307. package/docs/interfaces/Util.EventHandlerConfig.html +16 -0
  308. package/docs/interfaces/Util.FiveDomEvent.html +7 -0
  309. package/docs/interfaces/Util.FiveDomEventMap.html +20 -0
  310. package/docs/interfaces/Util.MagnifierParameter.html +11 -0
  311. package/docs/interfaces/Util.MouseGroupParameter.html +4 -0
  312. package/docs/interfaces/Util.PointIntersection.html +9 -0
  313. package/docs/interfaces/Util.PointSelectorHelperConfig.html +5 -0
  314. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +8 -0
  315. package/docs/modules/AreaMakerPluginType.html +17 -0
  316. package/docs/modules/CruisePluginTypes.html +14 -0
  317. package/docs/modules/CurrentPanoImagePluginType.html +6 -0
  318. package/docs/modules/GuideLineItem.html +2 -0
  319. package/docs/modules/GuideLineModeItem.html +3 -0
  320. package/docs/modules/GuideLinePluginType.html +24 -0
  321. package/docs/modules/ModelMakerPluginType.html +11 -0
  322. package/docs/modules/PanoVideoPluginType.html +8 -0
  323. package/docs/modules/SculptData.html +9 -0
  324. package/docs/modules/Util.html +61 -0
  325. package/docs/modules/Util.sculpt.html +25 -0
  326. package/docs/modules.html +266 -0
  327. package/docs/types/AddObject3DHelperConfig.html +19 -0
  328. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +7 -0
  329. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -0
  330. package/docs/types/AreaMakerPluginType.PluginData.html +2 -0
  331. package/docs/types/AreaMakerPluginType.ServerData.html +2 -0
  332. package/docs/types/ArrayPosition.html +1 -0
  333. package/docs/types/AudioAppearance.html +1 -0
  334. package/docs/types/CSS3DRenderExportType.html +1 -0
  335. package/docs/types/CSS3DRenderPluginExportType.html +1 -0
  336. package/docs/types/CSS3DRenderPluginParameterType.html +1 -0
  337. package/docs/types/ClassFunctionParameters.html +1 -0
  338. package/docs/types/Color.html +1 -0
  339. package/docs/types/ContentTypeConfigKey.html +1 -0
  340. package/docs/types/ContentTypeConfigKeySplit.html +1 -0
  341. package/docs/types/ContentTypeMap.html +1 -0
  342. package/docs/types/Create3DDomContainerReturnType.html +1 -0
  343. package/docs/types/Create3DElementReturnType.html +1 -0
  344. package/docs/types/CruisePluginExportType.html +1 -0
  345. package/docs/types/CruisePluginTypes.CruiseData.html +5 -0
  346. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -0
  347. package/docs/types/CurrentPanoImagePluginExportType.html +1 -0
  348. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -0
  349. package/docs/types/DeprecatedTagProperty.html +3 -0
  350. package/docs/types/Direction-1.html +1 -0
  351. package/docs/types/Direction4.html +1 -0
  352. package/docs/types/ElementRenderer.html +2 -0
  353. package/docs/types/FloorplanRuleLabels.html +2 -0
  354. package/docs/types/FloorplanServerRuleLabels.html +1 -0
  355. package/docs/types/GuideLinePluginExportType.html +1 -0
  356. package/docs/types/GuideLinePluginType.GuideLineItem.html +10 -0
  357. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -0
  358. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -0
  359. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -0
  360. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -0
  361. package/docs/types/GuideLinePluginType.PathItem.html +2 -0
  362. package/docs/types/GuideLinePluginType.PluginData.html +2 -0
  363. package/docs/types/HelperEventMap.html +1 -0
  364. package/docs/types/InternalHelperEventMap.html +1 -0
  365. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -0
  366. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -0
  367. package/docs/types/MediaData.html +2 -0
  368. package/docs/types/MediaStore.html +1 -0
  369. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -0
  370. package/docs/types/ModelFloorplanPluginParameterType.html +1 -0
  371. package/docs/types/ModelFloorplanPluginReturnType.html +1 -0
  372. package/docs/types/ModelId.html +1 -0
  373. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -0
  374. package/docs/types/ModelMakerPluginType.ItemType.html +1 -0
  375. package/docs/types/ModelRoomLabelPluginParameters.html +1 -0
  376. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -0
  377. package/docs/types/MoveArgs.html +2 -0
  378. package/docs/types/MoveOpts.html +2 -0
  379. package/docs/types/Object3DHelperEventMap.html +1 -0
  380. package/docs/types/ObjectFit.html +1 -0
  381. package/docs/types/PaintBrushEventMap.html +1 -0
  382. package/docs/types/PanoCompassPluginData.html +1 -0
  383. package/docs/types/PanoCompassPluginExportType.html +1 -0
  384. package/docs/types/PanoCompassPluginParameterType.html +1 -0
  385. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -0
  386. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -0
  387. package/docs/types/PanoIndex.html +1 -0
  388. package/docs/types/PanoMeasurePluginEvent.html +1 -0
  389. package/docs/types/PanoMeasureReturnType.html +1 -0
  390. package/docs/types/PanoSpatialTagPluginId.html +1 -0
  391. package/docs/types/PanoTagPluginExportInterface.html +1 -0
  392. package/docs/types/PanoTagPluginParamsInterface.html +1 -0
  393. package/docs/types/PanoVideoPluginParameterType.html +1 -0
  394. package/docs/types/PanoVideoPluginReturnType.html +1 -0
  395. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -0
  396. package/docs/types/PipelinePluginParameterType.html +1 -0
  397. package/docs/types/PipelinePluginReturnType.html +1 -0
  398. package/docs/types/PlaneTag.html +2 -0
  399. package/docs/types/Point2DTag.html +2 -0
  400. package/docs/types/Point3DTag.html +2 -0
  401. package/docs/types/PointTagInstance.html +1 -0
  402. package/docs/types/Position.html +1 -0
  403. package/docs/types/PositionFrom.html +1 -0
  404. package/docs/types/RotateArgs.html +2 -0
  405. package/docs/types/RotateOpts.html +2 -0
  406. package/docs/types/RuleLabelsKey.html +1 -0
  407. package/docs/types/RuleLabelsValue.html +1 -0
  408. package/docs/types/ScaleCallback.html +1 -0
  409. package/docs/types/ScalePosition.html +3 -0
  410. package/docs/types/SculptData.BoxData.html +1 -0
  411. package/docs/types/SculptData.CircleData.html +1 -0
  412. package/docs/types/SculptData.CylinderData.html +1 -0
  413. package/docs/types/SculptData.PointData.html +1 -0
  414. package/docs/types/SculptData.PolygonData.html +1 -0
  415. package/docs/types/SculptData.PolylineData.html +1 -0
  416. package/docs/types/SculptData.PrismData.html +1 -0
  417. package/docs/types/SculptData.RectangleData.html +1 -0
  418. package/docs/types/StickType.html +1 -0
  419. package/docs/types/Tag.html +16 -0
  420. package/docs/types/Tag2D.html +2 -0
  421. package/docs/types/Tag3D.html +2 -0
  422. package/docs/types/TagClickParams.html +1 -0
  423. package/docs/types/TagConfigByKey.html +1 -0
  424. package/docs/types/TagContentType.html +1 -0
  425. package/docs/types/TagContentTypeMapping.html +1 -0
  426. package/docs/types/TagDimensionType.html +1 -0
  427. package/docs/types/TagElement.html +2 -0
  428. package/docs/types/TagEvents.html +1 -0
  429. package/docs/types/TagGLTFObject.html +1 -0
  430. package/docs/types/TagHooks.html +1 -0
  431. package/docs/types/TagId.html +1 -0
  432. package/docs/types/TagInstance.html +1 -0
  433. package/docs/types/TagPointType.html +2 -0
  434. package/docs/types/TagRendererMap.html +1 -0
  435. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -0
  436. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -0
  437. package/docs/types/Util.ActionIfNoModelUnderMouse.html +1 -0
  438. package/docs/types/Util.PointSelectorConfig.html +1 -0
  439. package/docs/types/WorkCode.html +1 -0
  440. package/docs/variables/FLOOR_TYPE_MAP.html +2 -0
  441. package/docs/variables/PLUGIN.html +1 -0
  442. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -0
  443. package/docs/variables/ROOM_TYPE_MAP.html +2 -0
  444. package/docs/variables/Util.animeMap.html +1 -0
  445. package/docs/variables/defaultGlobalConfig.html +1 -0
  446. package/docs/variables/itemLabelPluginServerParams.html +1 -0
  447. package/docs/variables/modelItemLabelPluginServerParams.html +1 -0
  448. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -0
  449. package/libs/Sculpt/Meshes/Circle.d.ts +3 -1
  450. package/libs/Sculpt/Meshes/Circle.js +23 -17
  451. package/libs/Sculpt/Meshes/Cylinder.d.ts +4 -2
  452. package/libs/Sculpt/Meshes/Cylinder.js +31 -35
  453. package/libs/Sculpt/Objects/Base/index.d.ts +1 -0
  454. package/libs/Sculpt/Objects/Box/index.d.ts +1 -0
  455. package/libs/Sculpt/Objects/Box/index.js +45 -42
  456. package/libs/Sculpt/Objects/Circle/index.d.ts +1 -0
  457. package/libs/Sculpt/Objects/Circle/index.js +50 -47
  458. package/libs/Sculpt/Objects/Cylinder/index.d.ts +1 -0
  459. package/libs/Sculpt/Objects/Cylinder/index.js +32 -29
  460. package/libs/Sculpt/Objects/Line/index.d.ts +1 -0
  461. package/libs/Sculpt/Objects/Line/index.js +11 -8
  462. package/libs/Sculpt/Objects/Point/index.d.ts +1 -0
  463. package/libs/Sculpt/Objects/Point/index.js +32 -28
  464. package/libs/Sculpt/Objects/Polygon/index.d.ts +1 -0
  465. package/libs/Sculpt/Objects/Polygon/index.js +24 -21
  466. package/libs/Sculpt/Objects/Polyline/index.d.ts +1 -0
  467. package/libs/Sculpt/Objects/Polyline/index.js +37 -34
  468. package/libs/Sculpt/Objects/Prism/index.d.ts +1 -0
  469. package/libs/Sculpt/Objects/Prism/index.js +47 -44
  470. package/libs/Sculpt/Objects/Rectangle/index.d.ts +1 -0
  471. package/libs/Sculpt/Objects/Rectangle/index.js +86 -83
  472. package/libs/base/BasePlugin.js +1 -1
  473. package/libs/shared-utils/logger.js +1 -1
  474. package/package.json +1 -1
@@ -2,54 +2,54 @@ var v = Object.defineProperty, L = Object.defineProperties;
2
2
  var O = Object.getOwnPropertyDescriptors;
3
3
  var u = Object.getOwnPropertySymbols;
4
4
  var W = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
5
- var d = (s, i, t) => i in s ? v(s, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[i] = t, c = (s, i) => {
6
- for (var t in i || (i = {}))
7
- W.call(i, t) && d(s, t, i[t]);
5
+ var d = (i, s, t) => s in i ? v(i, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[s] = t, p = (i, s) => {
6
+ for (var t in s || (s = {}))
7
+ W.call(s, t) && d(i, t, s[t]);
8
8
  if (u)
9
- for (var t of u(i))
10
- _.call(i, t) && d(s, t, i[t]);
11
- return s;
12
- }, w = (s, i) => L(s, O(i));
13
- var p = (s, i, t) => (d(s, typeof i != "symbol" ? i + "" : i, t), t);
14
- var f = (s, i, t) => new Promise((e, r) => {
15
- var m = (o) => {
9
+ for (var t of u(s))
10
+ _.call(s, t) && d(i, t, s[t]);
11
+ return i;
12
+ }, w = (i, s) => L(i, O(s));
13
+ var c = (i, s, t) => (d(i, typeof s != "symbol" ? s + "" : s, t), t);
14
+ var f = (i, s, t) => new Promise((e, o) => {
15
+ var m = (r) => {
16
16
  try {
17
- n(t.next(o));
17
+ n(t.next(r));
18
18
  } catch (h) {
19
- r(h);
19
+ o(h);
20
20
  }
21
- }, l = (o) => {
21
+ }, l = (r) => {
22
22
  try {
23
- n(t.throw(o));
23
+ n(t.throw(r));
24
24
  } catch (h) {
25
- r(h);
25
+ o(h);
26
26
  }
27
- }, n = (o) => o.done ? e(o.value) : Promise.resolve(o.value).then(m, l);
28
- n((t = t.apply(s, i)).next());
27
+ }, n = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(m, l);
28
+ n((t = t.apply(i, s)).next());
29
29
  });
30
30
  import { BaseObject as j } from "../Base/index.js";
31
31
  import * as C from "three";
32
32
  import { createPolygon as A } from "../Polygon/index.js";
33
33
  import { PrismMesh as x } from "../../Meshes/Prism.js";
34
- import { LineMesh as T } from "../../Meshes/Line.js";
35
- import { PrismMeshEditor as U } from "../../Editors/PrismMeshEditor.js";
36
- import { rayOnLine as B } from "../../utils/three/rayOnLine.js";
37
- import { getNormal as D } from "../../../shared-utils/three/getNormal.js";
34
+ import { LineMesh as D } from "../../Meshes/Line.js";
35
+ import { PrismMeshEditor as T } from "../../Editors/PrismMeshEditor.js";
36
+ import { rayOnLine as U } from "../../utils/three/rayOnLine.js";
37
+ import { getNormal as B } from "../../../shared-utils/three/getNormal.js";
38
38
  import { vector3ToArray as E } from "../../../shared-utils/three/vector3ToArray.js";
39
39
  import { AreaMesh as N } from "../../Meshes/Area.js";
40
40
  class X extends j {
41
41
  constructor(t, e) {
42
42
  super(t, e);
43
- p(this, "type", "Prism");
44
- p(this, "prismMesh");
45
- p(this, "_editor");
46
- t && (this.prismMesh = new x(c(c({}, t.style), t)), this.add(this.prismMesh));
43
+ c(this, "type", "Prism");
44
+ c(this, "prismMesh");
45
+ c(this, "_editor");
46
+ t && (this.prismMesh = new x(p(p({}, t.style), t)), this.add(this.prismMesh));
47
47
  }
48
48
  get editor() {
49
- return this._editor || (this._editor = new U(this.prismMesh)), this._editor;
49
+ return this._editor || (this._editor = new T(this.prismMesh)), this._editor;
50
50
  }
51
51
  get data() {
52
- return w(c({}, this.baseData), {
52
+ return w(p({}, this.baseData), {
53
53
  points: E(this.applyObjectMatrixWorld(this.prismMesh.bottomPositions, this.prismMesh)),
54
54
  heightPoint: E(this.applyObjectMatrixWorld(this.prismMesh.topPosition, this.prismMesh)),
55
55
  style: {
@@ -59,6 +59,9 @@ class X extends j {
59
59
  }
60
60
  });
61
61
  }
62
+ setData(t) {
63
+ this.prismMesh.setPoints(t), this.prismMesh.setStyle(t.style);
64
+ }
62
65
  highlight() {
63
66
  var t;
64
67
  (t = this.prismMesh) == null || t.highlight();
@@ -73,30 +76,30 @@ class X extends j {
73
76
  });
74
77
  }
75
78
  }
76
- function R(s, i) {
79
+ function R(i, s) {
77
80
  return f(this, null, function* () {
78
- const t = s.parent, e = new N(s.style);
79
- t.add(e), yield A(e, i).finished, t.remove(e), s.setPoints({ points: e.points });
80
- const r = new T();
81
- r.name = "LineHelper", t.add(r);
82
- const m = e.points.at(-1), l = D(e.points), n = m.clone().add(l.clone().multiplyScalar(10)), o = m.clone().sub(l.clone().multiplyScalar(10));
83
- return r.setPoints([n, o]), i.enable(), new Promise((h, H) => {
84
- const P = (a) => {
85
- M(), h();
86
- }, g = (a) => {
81
+ const t = i.parent, e = new N(i.style);
82
+ t.add(e), yield A(e, s).finished, t.remove(e), i.setPoints({ points: e.points });
83
+ const o = new D();
84
+ o.name = "LineHelper", t.add(o);
85
+ const m = e.points.at(-1), l = B(e.points), n = m.clone().add(l.clone().multiplyScalar(10)), r = m.clone().sub(l.clone().multiplyScalar(10));
86
+ return o.setPoints([n, r]), s.enable(), new Promise((h, H) => {
87
+ const M = (a) => {
88
+ y(), h();
89
+ }, P = (a) => {
87
90
  if (!(a != null && a.raycaster))
88
91
  return;
89
- const b = B({
92
+ const b = U({
90
93
  raycaster: a.raycaster,
91
- line: new C.Line3(n, o)
94
+ line: new C.Line3(n, r)
92
95
  });
93
- b && s.setPoints({ heightPoint: b });
94
- }, M = () => {
95
- i.off("select", P), i.off("intersectionUpdate", g), i.off("disable", y), t.remove(r), i.disable();
96
+ b && i.setPoints({ heightPoint: b });
96
97
  }, y = () => {
97
- M(), t.remove(s), H(new Error("Cancelled"));
98
+ s.off("select", M), s.off("intersectionUpdate", P), s.off("disable", g), t.remove(o), s.disable();
99
+ }, g = () => {
100
+ y(), t.remove(i), H(new Error("Cancelled"));
98
101
  };
99
- i.on("select", P), i.on("intersectionUpdate", g), i.on("disable", y);
102
+ s.on("select", M), s.on("intersectionUpdate", P), s.on("disable", g);
100
103
  });
101
104
  });
102
105
  }
@@ -26,6 +26,7 @@ export declare class Rectangle extends BaseObject<RectangleImportData> {
26
26
  type: string;
27
27
  };
28
28
  constructor(data?: RectangleImportData, config?: Partial<BaseObjectConfig>);
29
+ setData(data: Partial<RectangleImportData>): void;
29
30
  highlight(): void;
30
31
  unhighlight(): void;
31
32
  create(config?: Partial<RectangleWithEdgeMeshStyle & CreateLimitConfig & DrawMethodConfig>): Promise<void>;
@@ -2,46 +2,46 @@ var _ = Object.defineProperty, H = Object.defineProperties;
2
2
  var I = Object.getOwnPropertyDescriptors;
3
3
  var T = Object.getOwnPropertySymbols;
4
4
  var j = Object.prototype.hasOwnProperty, k = Object.prototype.propertyIsEnumerable;
5
- var O = (o, n, t) => n in o ? _(o, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[n] = t, P = (o, n) => {
6
- for (var t in n || (n = {}))
7
- j.call(n, t) && O(o, t, n[t]);
5
+ var O = (o, n, e) => n in o ? _(o, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[n] = e, P = (o, n) => {
6
+ for (var e in n || (n = {}))
7
+ j.call(n, e) && O(o, e, n[e]);
8
8
  if (T)
9
- for (var t of T(n))
10
- k.call(n, t) && O(o, t, n[t]);
9
+ for (var e of T(n))
10
+ k.call(n, e) && O(o, e, n[e]);
11
11
  return o;
12
12
  }, p = (o, n) => H(o, I(n));
13
- var R = (o, n, t) => (O(o, typeof n != "symbol" ? n + "" : n, t), t);
14
- var A = (o, n, t) => new Promise((f, m) => {
15
- var a = (c) => {
13
+ var R = (o, n, e) => (O(o, typeof n != "symbol" ? n + "" : n, e), e);
14
+ var A = (o, n, e) => new Promise((f, m) => {
15
+ var l = (c) => {
16
16
  try {
17
- h(t.next(c));
17
+ h(e.next(c));
18
18
  } catch (w) {
19
19
  m(w);
20
20
  }
21
21
  }, i = (c) => {
22
22
  try {
23
- h(t.throw(c));
23
+ h(e.throw(c));
24
24
  } catch (w) {
25
25
  m(w);
26
26
  }
27
- }, h = (c) => c.done ? f(c.value) : Promise.resolve(c.value).then(a, i);
28
- h((t = t.apply(o, n)).next());
27
+ }, h = (c) => c.done ? f(c.value) : Promise.resolve(c.value).then(l, i);
28
+ h((e = e.apply(o, n)).next());
29
29
  });
30
30
  import { BaseObject as q } from "../Base/index.js";
31
31
  import * as s from "three";
32
32
  import { PolylineWithDotsMesh as b } from "../../Meshes/Polyline.js";
33
33
  import { RectangleMeshEditor as G } from "../../Editors/RectangleMeshEditor.js";
34
- import { RectangleWithEdgeMesh as F } from "../../Meshes/RectangleWithEdge.js";
35
- import { sortPositionsByCameraPosition as W } from "../../utils/sortPositionsByCameraPosition.js";
36
- import { Sculpt as B } from "../../index.js";
34
+ import { RectangleWithEdgeMesh as D } from "../../Meshes/RectangleWithEdge.js";
35
+ import { sortPositionsByCameraPosition as F } from "../../utils/sortPositionsByCameraPosition.js";
36
+ import { Sculpt as W } from "../../index.js";
37
37
  import { vector3ToArray as J } from "../../../shared-utils/three/vector3ToArray.js";
38
38
  class se extends q {
39
- constructor(t, f) {
40
- super(t, f);
39
+ constructor(e, f) {
40
+ super(e, f);
41
41
  R(this, "type", "Rectangle");
42
42
  R(this, "rectangleMesh");
43
43
  R(this, "_editor");
44
- t && (this.rectangleMesh = new F(P(P({}, t.style), t)), this.add(this.rectangleMesh));
44
+ e && (this.rectangleMesh = new D(P(P({}, e.style), e)), this.add(this.rectangleMesh));
45
45
  }
46
46
  get editor() {
47
47
  return this._editor || (this._editor = new G(this.rectangleMesh)), this._editor;
@@ -57,124 +57,127 @@ class se extends q {
57
57
  }
58
58
  });
59
59
  }
60
+ setData(e) {
61
+ e.points && this.rectangleMesh.setPoints(e.points), this.rectangleMesh.setStyle(e.style);
62
+ }
60
63
  highlight() {
61
- var t;
62
- (t = this.rectangleMesh) == null || t.highlight();
64
+ var e;
65
+ (e = this.rectangleMesh) == null || e.highlight();
63
66
  }
64
67
  unhighlight() {
65
- var t;
66
- (t = this.rectangleMesh) == null || t.unhighlight();
68
+ var e;
69
+ (e = this.rectangleMesh) == null || e.unhighlight();
67
70
  }
68
- create(t) {
71
+ create(e) {
69
72
  return A(this, null, function* () {
70
73
  this.removeChildren();
71
- const f = new F(t);
72
- this.rectangleMesh = f, this.add(this.rectangleMesh), yield K(this.rectangleMesh, this.pointSelector, t), this.config.canEdit && this.editor.enable();
74
+ const f = new D(e);
75
+ this.rectangleMesh = f, this.add(this.rectangleMesh), yield K(this.rectangleMesh, this.pointSelector, e), this.config.canEdit && this.editor.enable();
73
76
  });
74
77
  }
75
78
  }
76
- function K(o, n, t) {
79
+ function K(o, n, e) {
77
80
  var m;
78
- return ((m = t == null ? void 0 : t.drawMethod) != null ? m : "diagonal") === "diagonal" ? Q(o, n, t) : X(o, n, t);
81
+ return ((m = e == null ? void 0 : e.drawMethod) != null ? m : "diagonal") === "diagonal" ? Q(o, n, e) : X(o, n, e);
79
82
  }
80
- function Q(o, n, t) {
83
+ function Q(o, n, e) {
81
84
  return new Promise((f, m) => {
82
- var C;
83
- const a = o.parent;
84
- if (!a)
85
+ var x;
86
+ const l = o.parent;
87
+ if (!l)
85
88
  return m(new Error("No container"));
86
- const i = (C = t == null ? void 0 : t.limit) != null ? C : "none", h = new b(p(P({}, o.style), { dashed: !0, lengthEnable: !0 })), c = new b(p(P({}, o.style), { dashed: !0, lengthEnable: !1 })), w = new b(p(P({}, o.style), { dashed: !1, lengthEnable: !1 }));
87
- a.add(h, w, c), n.enable();
88
- const e = [];
89
- let l = new s.Vector3(), v = new s.Vector3();
89
+ const i = (x = e == null ? void 0 : e.limit) != null ? x : "none", h = new b(p(P({}, o.style), { dashed: !0, lengthEnable: !0 })), c = new b(p(P({}, o.style), { dashed: !0, lengthEnable: !1 })), w = new b(p(P({}, o.style), { dashed: !1, lengthEnable: !1 }));
90
+ l.add(h, w, c), n.enable();
91
+ const t = [];
92
+ let a = new s.Vector3(), v = new s.Vector3();
90
93
  const d = new s.Plane(), E = () => {
91
- e.push(l.clone()), e.length === 1 ? (i === "xoz" && d.setFromNormalAndCoplanarPoint(new s.Vector3(0, 1, 0), e[0]), i === "none" && d.setFromNormalAndCoplanarPoint(v, e[0])) : e.length === 2 ? i === "y" || i === "xoz" ? (y(), f()) : w.setPoints([e[0], e[1]]) : e.length === 3 && (y(), f());
94
+ t.push(a.clone()), t.length === 1 ? (i === "xoz" && d.setFromNormalAndCoplanarPoint(new s.Vector3(0, 1, 0), t[0]), i === "none" && d.setFromNormalAndCoplanarPoint(v, t[0])) : t.length === 2 ? i === "y" || i === "xoz" ? (y(), f()) : w.setPoints([t[0], t[1]]) : t.length === 3 && (y(), f());
92
95
  }, L = (r) => {
93
96
  var N;
94
97
  if (!(r != null && r.raycaster))
95
98
  return;
96
- const M = (N = e.at(-1)) == null ? void 0 : N.clone();
97
- if (e.length === 0) {
98
- l = r.point.clone(), v = r.face.normal;
99
+ const C = (N = t.at(-1)) == null ? void 0 : N.clone();
100
+ if (t.length === 0) {
101
+ a = r.point.clone(), v = r.face.normal;
99
102
  return;
100
103
  }
101
- if (e.length === 1 && i === "y") {
102
- const g = new s.Line3(new s.Vector3(0, 1, 0).add(e[0]), new s.Vector3(0, -1, 0).add(e[0])).closestPointToPoint(r.point, !1, new s.Vector3());
103
- o.setPoints([e[0], g, r.point]);
104
+ if (t.length === 1 && i === "y") {
105
+ const u = new s.Line3(new s.Vector3(0, 1, 0).add(t[0]), new s.Vector3(0, -1, 0).add(t[0])).closestPointToPoint(r.point, !1, new s.Vector3());
106
+ o.setPoints([t[0], u, r.point]);
104
107
  return;
105
108
  }
106
- if (e.length === 1 && i === "xoz") {
107
- const u = new s.Line3(new s.Vector3(1, 0, 0).add(e[0]), new s.Vector3(-1, 0, 0).add(e[0])), g = r.raycaster.ray.intersectPlane(d, new s.Vector3()), V = u.closestPointToPoint(g, !1, new s.Vector3());
108
- o.setPoints([e[0], V, g]);
109
+ if (t.length === 1 && i === "xoz") {
110
+ const g = new s.Line3(new s.Vector3(1, 0, 0).add(t[0]), new s.Vector3(-1, 0, 0).add(t[0])), u = r.raycaster.ray.intersectPlane(d, new s.Vector3()), V = g.closestPointToPoint(u, !1, new s.Vector3());
111
+ o.setPoints([t[0], V, u]);
109
112
  return;
110
113
  }
111
- if (e.length === 1 && i === "none") {
112
- d ? (l = r.raycaster.ray.intersectPlane(d, new s.Vector3()), c.setPoints([l, r.point])) : l = r.point.clone(), h.setPoints([M, l]);
114
+ if (t.length === 1 && i === "none") {
115
+ d ? (a = r.raycaster.ray.intersectPlane(d, new s.Vector3()), c.setPoints([a, r.point])) : a = r.point.clone(), h.setPoints([C, a]);
113
116
  return;
114
117
  }
115
- if (e.length === 2 && i === "none") {
116
- a.remove(h);
117
- const u = r.raycaster.ray.intersectPlane(d, new s.Vector3()), g = e[0].distanceTo(e[1]) / 2, V = new s.Vector3().lerpVectors(e[0], e[1], 0.5), z = new s.Vector3().subVectors(u, V).normalize();
118
- l = new s.Vector3().addVectors(V, z.multiplyScalar(g));
119
- const D = [e[0], l, e[1]], U = W(D, B.modules.five.camera.position);
118
+ if (t.length === 2 && i === "none") {
119
+ l.remove(h);
120
+ const g = r.raycaster.ray.intersectPlane(d, new s.Vector3()), u = t[0].distanceTo(t[1]) / 2, V = new s.Vector3().lerpVectors(t[0], t[1], 0.5), z = new s.Vector3().subVectors(g, V).normalize();
121
+ a = new s.Vector3().addVectors(V, z.multiplyScalar(u));
122
+ const B = [t[0], a, t[1]], U = F(B, W.modules.five.camera.position);
120
123
  o.setPoints(U);
121
124
  return;
122
125
  }
123
126
  }, y = () => {
124
- n.off("select", E), n.off("intersectionUpdate", L), n.off("disable", x), n.disable(), a == null || a.remove(h, w, c);
125
- }, x = () => {
126
- y(), a == null || a.remove(o), m(new Error("Cancelled"));
127
+ n.off("select", E), n.off("intersectionUpdate", L), n.off("disable", M), n.disable(), l == null || l.remove(h, w, c);
128
+ }, M = () => {
129
+ y(), l == null || l.remove(o), m(new Error("Cancelled"));
127
130
  };
128
- n.on("select", E), n.on("intersectionUpdate", L), n.on("disable", x);
131
+ n.on("select", E), n.on("intersectionUpdate", L), n.on("disable", M);
129
132
  });
130
133
  }
131
- function X(o, n, t) {
134
+ function X(o, n, e) {
132
135
  return new Promise((f, m) => {
133
- var C;
134
- const a = o.parent;
135
- if (!a)
136
+ var x;
137
+ const l = o.parent;
138
+ if (!l)
136
139
  return m(new Error("No container"));
137
- const i = (C = t == null ? void 0 : t.limit) != null ? C : "none", h = new b(p(P({}, o.style), { dashed: !0, lengthEnable: !0 })), c = new b(p(P({}, o.style), { dashed: !0, lengthEnable: !1 })), w = new b(p(P({}, o.style), { dashed: !1, lengthEnable: !1 }));
138
- a.add(h, w, c), n.enable();
139
- const e = [];
140
- let l = new s.Vector3(), v = new s.Vector3();
140
+ const i = (x = e == null ? void 0 : e.limit) != null ? x : "none", h = new b(p(P({}, o.style), { dashed: !0, lengthEnable: !0 })), c = new b(p(P({}, o.style), { dashed: !0, lengthEnable: !1 })), w = new b(p(P({}, o.style), { dashed: !1, lengthEnable: !1 }));
141
+ l.add(h, w, c), n.enable();
142
+ const t = [];
143
+ let a = new s.Vector3(), v = new s.Vector3();
141
144
  const d = new s.Plane(), E = () => {
142
- e.push(l.clone()), e.length === 1 ? (i === "xoz" && d.setFromNormalAndCoplanarPoint(new s.Vector3(0, 1, 0), e[0]), i === "none" && d.setFromNormalAndCoplanarPoint(v, e[0])) : e.length === 2 ? (i === "y" && d.setFromCoplanarPoints(e[0], e[1], new s.Vector3(0, 1, 0).add(e[0])), w.setPoints([e[0], e[1]])) : e.length === 3 && (y(), f());
145
+ t.push(a.clone()), t.length === 1 ? (i === "xoz" && d.setFromNormalAndCoplanarPoint(new s.Vector3(0, 1, 0), t[0]), i === "none" && d.setFromNormalAndCoplanarPoint(v, t[0])) : t.length === 2 ? (i === "y" && d.setFromCoplanarPoints(t[0], t[1], new s.Vector3(0, 1, 0).add(t[0])), w.setPoints([t[0], t[1]])) : t.length === 3 && (y(), f());
143
146
  }, L = (r) => {
144
147
  var N;
145
148
  if (!(r != null && r.raycaster))
146
149
  return;
147
- const M = (N = e.at(-1)) == null ? void 0 : N.clone();
148
- if (e.length === 0) {
149
- l = r.point.clone(), v = r.face.normal;
150
+ const C = (N = t.at(-1)) == null ? void 0 : N.clone();
151
+ if (t.length === 0) {
152
+ a = r.point.clone(), v = r.face.normal;
150
153
  return;
151
154
  }
152
- if (e.length === 1 && i === "y") {
153
- l = r.point, c.setPoints([]), h.setPoints([M, l]);
155
+ if (t.length === 1 && i === "y") {
156
+ a = r.point, c.setPoints([]), h.setPoints([C, a]);
154
157
  return;
155
158
  }
156
- if (e.length === 1 && i === "xoz") {
157
- l = r.raycaster.ray.intersectPlane(d, new s.Vector3()), c.setPoints([l, r.point]), h.setPoints([M, l]);
159
+ if (t.length === 1 && i === "xoz") {
160
+ a = r.raycaster.ray.intersectPlane(d, new s.Vector3()), c.setPoints([a, r.point]), h.setPoints([C, a]);
158
161
  return;
159
162
  }
160
- if (e.length === 1 && i === "none") {
161
- l = r.raycaster.ray.intersectPlane(d, new s.Vector3()), c.setPoints([l, r.point]), h.setPoints([M, l]);
163
+ if (t.length === 1 && i === "none") {
164
+ a = r.raycaster.ray.intersectPlane(d, new s.Vector3()), c.setPoints([a, r.point]), h.setPoints([C, a]);
162
165
  return;
163
166
  }
164
- if (e.length === 2) {
165
- a.remove(h);
166
- const u = new s.Vector3().crossVectors(e[0].clone().sub(e[1]), d.normal).normalize();
167
- l = new s.Line3(e[1].clone().add(u), e[1].clone().sub(u)).closestPointToPoint(r.point, !1, new s.Vector3());
168
- const V = [e[0], e[1], l], z = W(V, B.modules.five.camera.position);
167
+ if (t.length === 2) {
168
+ l.remove(h);
169
+ const g = new s.Vector3().crossVectors(t[0].clone().sub(t[1]), d.normal).normalize();
170
+ a = new s.Line3(t[1].clone().add(g), t[1].clone().sub(g)).closestPointToPoint(r.point, !1, new s.Vector3());
171
+ const V = [t[0], t[1], a], z = F(V, W.modules.five.camera.position);
169
172
  o.setPoints(z);
170
173
  return;
171
174
  }
172
175
  }, y = () => {
173
- n.off("select", E), n.off("intersectionUpdate", L), n.off("disable", x), n.disable(), a == null || a.remove(h, w, c);
174
- }, x = () => {
175
- y(), a == null || a.remove(o), m(new Error("Cancelled"));
176
+ n.off("select", E), n.off("intersectionUpdate", L), n.off("disable", M), n.disable(), l == null || l.remove(h, w, c);
177
+ }, M = () => {
178
+ y(), l == null || l.remove(o), m(new Error("Cancelled"));
176
179
  };
177
- n.on("select", E), n.on("intersectionUpdate", L), n.on("disable", x);
180
+ n.on("select", E), n.on("intersectionUpdate", L), n.on("disable", M);
178
181
  });
179
182
  }
180
183
  export {
@@ -19,7 +19,7 @@ let b = class {
19
19
  /**
20
20
  * @realsee/dnalogel 版本号
21
21
  */
22
- i(this, "VERSION", "3.53.4");
22
+ i(this, "VERSION", "3.53.5-alpha.0");
23
23
  i(this, "NAME");
24
24
  i(this, "five");
25
25
  i(this, "workUtil");
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.53.4",
3
+ "%c %c@realsee/dnalogel %cv3.53.5-alpha.0",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.53.4",
3
+ "version": "3.53.5-alpha.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",