@realsee/dnalogel 3.63.3 → 3.63.4-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 (527) hide show
  1. package/dist/MeasurePlugin/Controller.d.ts +10 -1
  2. package/dist/MeasurePlugin/utils/MeasureMesh.d.ts +7 -2
  3. package/dist/Sculpt/typings/style.d.ts +1 -1
  4. package/dist/Sculpt/utils/unit.d.ts +2 -0
  5. package/dist/index.cjs.js +49 -49
  6. package/dist/index.js +2215 -2173
  7. package/dist/index.umd.js +47 -47
  8. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  9. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  10. package/docs/classes/CSS3DRender.html +2 -2
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  13. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  14. package/docs/classes/ModelRoomLabelController.html +2 -2
  15. package/docs/classes/MoveController.html +2 -2
  16. package/docs/classes/Object3DHelperController.html +2 -2
  17. package/docs/classes/PaintBrush.html +2 -2
  18. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  19. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  20. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  21. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  22. package/docs/classes/PanoTagPluginController.html +2 -2
  23. package/docs/classes/Sculpt.html +2 -2
  24. package/docs/classes/Util.BetterTween.html +2 -2
  25. package/docs/classes/Util.FiveDomEvents.html +2 -2
  26. package/docs/classes/Util.FivePuppet.html +2 -2
  27. package/docs/classes/Util.Interval.html +2 -2
  28. package/docs/classes/Util.LightTag.html +2 -2
  29. package/docs/classes/Util.LineSegments.html +2 -2
  30. package/docs/classes/Util.Magnifier.html +2 -2
  31. package/docs/classes/Util.Object3D.html +2 -2
  32. package/docs/classes/Util.PointHelper.html +2 -2
  33. package/docs/classes/Util.PointSelector.html +2 -2
  34. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  35. package/docs/classes/Util.Rectangle.html +2 -2
  36. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  37. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  38. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  39. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  40. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  41. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  42. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  43. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  44. package/docs/classes/Util.sculpt.LineMesh.html +5 -5
  45. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  46. package/docs/classes/Util.sculpt.PolygonMesh.html +5 -5
  47. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  48. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  49. package/docs/classes/Util.sculpt.RectangleMesh.html +5 -5
  50. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  51. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +4 -4
  52. package/docs/classes/WalkController.html +2 -2
  53. package/docs/enums/CameraMovementEffect.html +2 -2
  54. package/docs/enums/ContentType.html +2 -2
  55. package/docs/enums/DIRECTION.html +2 -2
  56. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  57. package/docs/enums/DimensionType.html +2 -2
  58. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  59. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  60. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  61. package/docs/enums/PointType.html +2 -2
  62. package/docs/enums/Rotation.html +2 -2
  63. package/docs/functions/AreaMakerPlugin.html +1 -1
  64. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  65. package/docs/functions/CameraMovementPlugin.html +2 -2
  66. package/docs/functions/CruisePlugin.html +1 -1
  67. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  68. package/docs/functions/GuideLinePlugin.html +1 -1
  69. package/docs/functions/ItemLabelPlugin.html +1 -1
  70. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  71. package/docs/functions/MeasurePlugin.html +1 -1
  72. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  73. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  74. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  75. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  76. package/docs/functions/ModelMakerPlugin.html +1 -1
  77. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  78. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  79. package/docs/functions/ModelViewPlugin.html +2 -2
  80. package/docs/functions/MovePlugin.html +1 -1
  81. package/docs/functions/Object3DHelperPlugin.html +1 -1
  82. package/docs/functions/PanoCompassPlugin.html +1 -1
  83. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  84. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  85. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  86. package/docs/functions/PanoMeasurePlugin.html +1 -1
  87. package/docs/functions/PanoRulerPlugin.html +2 -2
  88. package/docs/functions/PanoRulerProPlugin.html +2 -2
  89. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  90. package/docs/functions/PanoTagPlugin.html +1 -1
  91. package/docs/functions/PanoVideoPlugin.html +2 -2
  92. package/docs/functions/PipelinePlugin.html +1 -1
  93. package/docs/functions/SculptPlugin.html +2 -2
  94. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  95. package/docs/functions/Util.absoluteUrl.html +2 -2
  96. package/docs/functions/Util.awaitNextFrame.html +1 -1
  97. package/docs/functions/Util.blink.html +2 -2
  98. package/docs/functions/Util.bounding.html +1 -1
  99. package/docs/functions/Util.boundingBox.html +1 -1
  100. package/docs/functions/Util.boundingSphere.html +1 -1
  101. package/docs/functions/Util.boxVertex.html +2 -2
  102. package/docs/functions/Util.boxVertexes.html +1 -1
  103. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  104. package/docs/functions/Util.convexHull.html +2 -2
  105. package/docs/functions/Util.equal.html +2 -2
  106. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  107. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  108. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  109. package/docs/functions/Util.getFrameTime.html +2 -2
  110. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  111. package/docs/functions/Util.inside.html +1 -1
  112. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  113. package/docs/functions/Util.isModelLike.html +1 -1
  114. package/docs/functions/Util.isNil.html +2 -2
  115. package/docs/functions/Util.isPanoramaLike.html +1 -1
  116. package/docs/functions/Util.lookObject.html +2 -2
  117. package/docs/functions/Util.lookPoint.html +2 -2
  118. package/docs/functions/Util.nextFrame.html +1 -1
  119. package/docs/functions/Util.notNil.html +2 -2
  120. package/docs/functions/Util.reblink.html +2 -2
  121. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  122. package/docs/functions/Util.sculpt.createBox.html +1 -1
  123. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  124. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  125. package/docs/functions/Util.sculpt.createLine.html +2 -2
  126. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  127. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  128. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  129. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  130. package/docs/functions/Util.tag.html +1 -1
  131. package/docs/functions/Util.tweenProgress.html +1 -1
  132. package/docs/functions/Util.uuid.html +2 -2
  133. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  134. package/docs/functions/Util.worldBounding.html +1 -1
  135. package/docs/functions/Util.worldBoundingBox.html +1 -1
  136. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  137. package/docs/functions/createPolyline.html +2 -2
  138. package/docs/functions/pluginFlag.html +1 -1
  139. package/docs/hierarchy.html +1 -1
  140. package/docs/index.html +2 -2
  141. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  142. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  143. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  144. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  145. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  146. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  147. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  148. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  149. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  150. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  151. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  152. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  153. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  154. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  155. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  156. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  157. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  158. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  159. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  160. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  161. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  162. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  163. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  164. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  165. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  166. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  167. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  168. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  169. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  170. package/docs/interfaces/FloorplanBounding.html +2 -2
  171. package/docs/interfaces/FloorplanData.html +2 -2
  172. package/docs/interfaces/FloorplanEntrance.html +2 -2
  173. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  174. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  175. package/docs/interfaces/FloorplanFloorData.html +2 -2
  176. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  177. package/docs/interfaces/FloorplanObserver.html +2 -2
  178. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  179. package/docs/interfaces/FloorplanPosition.html +2 -2
  180. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  181. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  182. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  183. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  184. package/docs/interfaces/FloorplanServerData.html +2 -2
  185. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  186. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  187. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  188. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  189. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  190. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  191. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  192. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  193. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  194. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  195. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  196. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  197. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  198. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  199. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  200. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  201. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  202. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  203. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  204. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  205. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  207. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  209. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  210. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
  211. package/docs/interfaces/HelperOffset.html +2 -2
  212. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  213. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  214. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  215. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  216. package/docs/interfaces/MinMax.html +2 -2
  217. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  218. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  219. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  220. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  221. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  222. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  223. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  224. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  225. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  226. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  227. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  228. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  229. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  230. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  231. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  232. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  233. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  234. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  235. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  236. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  237. package/docs/interfaces/Object3DHelperState.html +2 -2
  238. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  239. package/docs/interfaces/PaintBrushAction.html +2 -2
  240. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  241. package/docs/interfaces/PaintBrushState.html +2 -2
  242. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  243. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  244. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  245. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  246. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  247. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  248. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  249. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  250. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  251. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  252. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  253. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  254. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  255. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  256. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  257. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  258. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  259. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  260. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  261. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  262. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  263. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  264. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  265. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  266. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  267. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  268. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  269. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  270. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  271. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  272. package/docs/interfaces/PluginEventMap.html +2 -2
  273. package/docs/interfaces/Point.html +2 -2
  274. package/docs/interfaces/Room.html +2 -2
  275. package/docs/interfaces/RoomInfo.html +2 -2
  276. package/docs/interfaces/RoomLabel.html +2 -2
  277. package/docs/interfaces/RoomRules.html +1 -1
  278. package/docs/interfaces/Rooms.html +1 -1
  279. package/docs/interfaces/Scissor.html +2 -2
  280. package/docs/interfaces/State.html +2 -2
  281. package/docs/interfaces/TagCacheInterface.html +2 -2
  282. package/docs/interfaces/TagConfig.html +2 -2
  283. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  284. package/docs/interfaces/TagIconUrl.html +2 -2
  285. package/docs/interfaces/TagObjectGroup.html +2 -2
  286. package/docs/interfaces/TagStyle.html +2 -2
  287. package/docs/interfaces/Tags.html +2 -2
  288. package/docs/interfaces/TemporaryState.html +2 -2
  289. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  290. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  291. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  292. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  293. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  294. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  295. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  296. package/docs/interfaces/Util.PointIntersection.html +2 -2
  297. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  298. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  299. package/docs/modules/AreaMakerPluginType.html +2 -2
  300. package/docs/modules/CruisePluginTypes.html +2 -2
  301. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  302. package/docs/modules/GuideLineItem.html +2 -2
  303. package/docs/modules/GuideLineModeItem.html +2 -2
  304. package/docs/modules/GuideLinePluginType.html +2 -2
  305. package/docs/modules/ModelMakerPluginType.html +2 -2
  306. package/docs/modules/PanoVideoPluginType.html +2 -2
  307. package/docs/modules/SculptData.html +2 -2
  308. package/docs/modules/Util.html +2 -2
  309. package/docs/modules/Util.sculpt.html +2 -2
  310. package/docs/modules.html +2 -2
  311. package/docs/types/AddObject3DHelperConfig.html +2 -2
  312. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  313. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  314. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  315. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  316. package/docs/types/ArrayPosition.html +1 -1
  317. package/docs/types/AudioAppearance.html +1 -1
  318. package/docs/types/CSS3DRenderExportType.html +1 -1
  319. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  320. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  321. package/docs/types/ClassFunctionParameters.html +1 -1
  322. package/docs/types/Color.html +1 -1
  323. package/docs/types/ContentTypeConfigKey.html +1 -1
  324. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  325. package/docs/types/ContentTypeMap.html +1 -1
  326. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  327. package/docs/types/Create3DElementReturnType.html +1 -1
  328. package/docs/types/CruisePluginExportType.html +1 -1
  329. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  330. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  331. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  332. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  333. package/docs/types/DeprecatedTagProperty.html +2 -2
  334. package/docs/types/Direction-1.html +1 -1
  335. package/docs/types/Direction4.html +1 -1
  336. package/docs/types/ElementRenderer.html +2 -2
  337. package/docs/types/FloorplanRuleLabels.html +2 -2
  338. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  339. package/docs/types/GuideLinePluginExportType.html +1 -1
  340. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  341. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  342. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  343. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  344. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  345. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  346. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  347. package/docs/types/HelperEventMap.html +1 -1
  348. package/docs/types/InternalHelperEventMap.html +1 -1
  349. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  350. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  351. package/docs/types/MediaData.html +2 -2
  352. package/docs/types/MediaStore.html +1 -1
  353. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  354. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  355. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  356. package/docs/types/ModelId.html +1 -1
  357. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  358. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  359. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  360. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  361. package/docs/types/MoveArgs.html +2 -2
  362. package/docs/types/MoveOpts.html +2 -2
  363. package/docs/types/Object3DHelperEventMap.html +1 -1
  364. package/docs/types/ObjectFit.html +1 -1
  365. package/docs/types/PaintBrushEventMap.html +1 -1
  366. package/docs/types/PanoCompassPluginData.html +1 -1
  367. package/docs/types/PanoCompassPluginExportType.html +1 -1
  368. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  369. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  370. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  371. package/docs/types/PanoIndex.html +1 -1
  372. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  373. package/docs/types/PanoMeasureReturnType.html +1 -1
  374. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  375. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  376. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  377. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  378. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  379. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  380. package/docs/types/PipelinePluginParameterType.html +1 -1
  381. package/docs/types/PipelinePluginReturnType.html +1 -1
  382. package/docs/types/PlaneTag.html +2 -2
  383. package/docs/types/Point2DTag.html +2 -2
  384. package/docs/types/Point3DTag.html +2 -2
  385. package/docs/types/PointTagInstance.html +1 -1
  386. package/docs/types/Position.html +1 -1
  387. package/docs/types/PositionFrom.html +1 -1
  388. package/docs/types/RotateArgs.html +2 -2
  389. package/docs/types/RotateOpts.html +2 -2
  390. package/docs/types/RuleLabelsKey.html +1 -1
  391. package/docs/types/RuleLabelsValue.html +1 -1
  392. package/docs/types/ScaleCallback.html +1 -1
  393. package/docs/types/ScalePosition.html +2 -2
  394. package/docs/types/SculptData.BoxData.html +1 -1
  395. package/docs/types/SculptData.CircleData.html +1 -1
  396. package/docs/types/SculptData.CylinderData.html +1 -1
  397. package/docs/types/SculptData.PointData.html +1 -1
  398. package/docs/types/SculptData.PolygonData.html +1 -1
  399. package/docs/types/SculptData.PolylineData.html +1 -1
  400. package/docs/types/SculptData.PrismData.html +1 -1
  401. package/docs/types/SculptData.RectangleData.html +1 -1
  402. package/docs/types/StickType.html +1 -1
  403. package/docs/types/Tag.html +2 -2
  404. package/docs/types/Tag2D.html +2 -2
  405. package/docs/types/Tag3D.html +2 -2
  406. package/docs/types/TagClickParams.html +1 -1
  407. package/docs/types/TagConfigByKey.html +1 -1
  408. package/docs/types/TagContentType.html +1 -1
  409. package/docs/types/TagContentTypeMapping.html +1 -1
  410. package/docs/types/TagDimensionType.html +1 -1
  411. package/docs/types/TagElement.html +2 -2
  412. package/docs/types/TagEvents.html +1 -1
  413. package/docs/types/TagGLTFObject.html +1 -1
  414. package/docs/types/TagHooks.html +1 -1
  415. package/docs/types/TagId.html +1 -1
  416. package/docs/types/TagInstance.html +1 -1
  417. package/docs/types/TagPointType.html +2 -2
  418. package/docs/types/TagRendererMap.html +1 -1
  419. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  420. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  421. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  422. package/docs/types/Util.AdherePoint.html +2 -2
  423. package/docs/types/Util.PointSelectorConfig.html +1 -1
  424. package/docs/types/WorkCode.html +1 -1
  425. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  426. package/docs/variables/PLUGIN.html +1 -1
  427. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  428. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  429. package/docs/variables/Util.animeMap.html +1 -1
  430. package/docs/variables/defaultGlobalConfig.html +1 -1
  431. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  432. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  433. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  434. package/libs/AreaMakerPlugin/Controller.js +3 -2
  435. package/libs/AreaMakerPlugin/index.js +3 -2
  436. package/libs/AreaMakerPlugin/utils/Item.js +3 -2
  437. package/libs/CSS3DRenderPlugin/Controller.js +3 -2
  438. package/libs/CSS3DRenderPlugin/index.js +6 -5
  439. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -2
  440. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +3 -2
  441. package/libs/CruisePlugin/BaseController.js +5 -4
  442. package/libs/CruisePlugin/Move.js +3 -2
  443. package/libs/CruisePlugin/Work.js +3 -2
  444. package/libs/CruisePlugin/index.js +7 -6
  445. package/libs/CurrentPanoImagePlugin/Controller.js +3 -2
  446. package/libs/CurrentPanoImagePlugin/index.js +4 -3
  447. package/libs/GuideLinePlugin/Controller.js +5 -4
  448. package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
  449. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
  450. package/libs/GuideLinePlugin/index.js +7 -6
  451. package/libs/MeasurePlugin/Controller.d.ts +10 -1
  452. package/libs/MeasurePlugin/Controller.js +110 -88
  453. package/libs/MeasurePlugin/index.js +3 -2
  454. package/libs/MeasurePlugin/utils/MeasureMesh.d.ts +7 -2
  455. package/libs/MeasurePlugin/utils/MeasureMesh.js +30 -16
  456. package/libs/ModelMakerPlugin/Controller.js +3 -2
  457. package/libs/ModelMakerPlugin/index.js +3 -2
  458. package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
  459. package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
  460. package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
  461. package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
  462. package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
  463. package/libs/ModelTVVideoPlugin/index.js +3 -2
  464. package/libs/ModelViewPlugin/Plugin.js +4 -3
  465. package/libs/ModelViewPlugin/index.js +1 -0
  466. package/libs/Object3DHelperPlugin/Controller.js +16 -15
  467. package/libs/Object3DHelperPlugin/index.js +6 -5
  468. package/libs/PanoCompassPlugin/Controller.js +3 -2
  469. package/libs/PanoCompassPlugin/index.js +4 -3
  470. package/libs/PanoDoorLabelPlugin/Controller.js +3 -2
  471. package/libs/PanoDoorLabelPlugin/index.js +4 -3
  472. package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
  473. package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
  474. package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
  475. package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
  476. package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
  477. package/libs/PanoMeasurePlugin/Model/area.js +12 -11
  478. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
  479. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -2
  480. package/libs/PanoMeasurePlugin/index.js +14 -13
  481. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
  482. package/libs/PanoRulerProPlugin/Controller.js +3 -2
  483. package/libs/PanoRulerProPlugin/RulerItems.js +3 -2
  484. package/libs/PanoRulerProPlugin/index.js +4 -3
  485. package/libs/PanoSpatialTagPlugin/Plugin.js +64 -63
  486. package/libs/PanoSpatialTagPlugin/index.js +1 -0
  487. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -2
  488. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
  489. package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
  490. package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
  491. package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
  492. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -2
  493. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
  494. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +27 -26
  495. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
  496. package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
  497. package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
  498. package/libs/PanoTagPlugin/controller/index.js +6 -5
  499. package/libs/PanoTagPlugin/index.js +12 -11
  500. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +17 -16
  501. package/libs/PanoVideoPlugin/Controller.js +3 -2
  502. package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
  503. package/libs/PanoVideoPlugin/index.js +6 -5
  504. package/libs/PipelinePlugin/Controller.js +20 -19
  505. package/libs/PipelinePlugin/index.js +4 -3
  506. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
  507. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
  508. package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -0
  509. package/libs/Sculpt/Meshes/Line.js +75 -75
  510. package/libs/Sculpt/Meshes/Polygon.js +7 -11
  511. package/libs/Sculpt/typings/style.d.ts +1 -1
  512. package/libs/Sculpt/utils/three/ColoredMesh.js +22 -21
  513. package/libs/Sculpt/utils/unit.d.ts +2 -0
  514. package/libs/Sculpt/utils/unit.js +14 -0
  515. package/libs/base/BasePlugin.js +3 -3
  516. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
  517. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
  518. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
  519. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
  520. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
  521. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
  522. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
  523. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
  524. package/libs/index.js +146 -145
  525. package/libs/shared-utils/five/FiveDomEvents.js +3 -1
  526. package/libs/shared-utils/logger.js +1 -1
  527. package/package.json +1 -1
@@ -234,6 +234,7 @@ import "../shared-utils/three/core/LineGeometry.js";
234
234
  import "../shared-utils/three/core/LineMaterial.js";
235
235
  import "../shared-utils/three/core/Line2.js";
236
236
  import "../shared-utils/three/core/LineMaterial2.js";
237
+ import "../Sculpt/utils/unit.js";
237
238
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
238
239
  import "../shared-utils/isTouchDevice.js";
239
240
  import "../shared-utils/five/getPosition.js";
@@ -243,7 +244,7 @@ import "../Sculpt/utils/three/rayOnLine.js";
243
244
  import "../shared-utils/formatRad.js";
244
245
  import "./Work.js";
245
246
  import "./utils/coordinatesToVector.js";
246
- class _r extends G {
247
+ class Rr extends G {
247
248
  constructor(t, e) {
248
249
  super(t, e);
249
250
  k(this, "state", {
@@ -634,5 +635,5 @@ class _r extends G {
634
635
  }
635
636
  }
636
637
  export {
637
- _r as default
638
+ Rr as default
638
639
  };
@@ -1,4 +1,4 @@
1
- import { typing as si } from "./typing/index.js";
1
+ import { typing as ui } from "./typing/index.js";
2
2
  import t from "./Work.js";
3
3
  import i from "./Move.js";
4
4
  import "../GuideLinePlugin/index.js";
@@ -57,6 +57,7 @@ import "../shared-utils/three/core/LineGeometry.js";
57
57
  import "../shared-utils/three/core/LineMaterial.js";
58
58
  import "../shared-utils/three/core/Line2.js";
59
59
  import "../shared-utils/three/core/LineMaterial2.js";
60
+ import "../Sculpt/utils/unit.js";
60
61
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
61
62
  import "../shared-utils/isTouchDevice.js";
62
63
  import "../shared-utils/five/getPosition.js";
@@ -215,13 +216,13 @@ import "./utils/sleep.js";
215
216
  import "../shared-utils/five/fiveLoaded.js";
216
217
  import "./BaseController.js";
217
218
  import "./utils/getFiveStateOnCurve.js";
218
- const mi = (o, r) => new t(o, r), ei = (o, r) => new i(o, r);
219
+ const ei = (o, r) => new t(o, r), li = (o, r) => new i(o, r);
219
220
  export {
220
- mi as CruisePlugin,
221
+ ei as CruisePlugin,
221
222
  t as CruisePluginController,
222
- si as CruisePluginTypes,
223
+ ui as CruisePluginTypes,
223
224
  i as MoveController,
224
- ei as MovePlugin,
225
+ li as MovePlugin,
225
226
  t as WalkController,
226
- mi as default
227
+ ei as default
227
228
  };
@@ -83,6 +83,7 @@ import "../shared-utils/three/core/LineGeometry.js";
83
83
  import "../shared-utils/three/core/LineMaterial.js";
84
84
  import "../shared-utils/three/core/Line2.js";
85
85
  import "../shared-utils/three/core/LineMaterial2.js";
86
+ import "../Sculpt/utils/unit.js";
86
87
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
87
88
  import "../shared-utils/isTouchDevice.js";
88
89
  import "../shared-utils/five/getPosition.js";
@@ -91,7 +92,7 @@ import "../shared-utils/three/PointSelector/utils/contents.js";
91
92
  import "../Sculpt/utils/three/rayOnLine.js";
92
93
  import "@realsee/five";
93
94
  import "../shared-utils/isTruelyObject.js";
94
- class Ie extends M {
95
+ class Te extends M {
95
96
  constructor(e, i) {
96
97
  super(e);
97
98
  // ==================== public properties ====================
@@ -322,5 +323,5 @@ class Ie extends M {
322
323
  }
323
324
  }
324
325
  export {
325
- Ie as CurrentPanoImagePluginController
326
+ Te as CurrentPanoImagePluginController
326
327
  };
@@ -52,6 +52,7 @@ import "../shared-utils/three/core/LineGeometry.js";
52
52
  import "../shared-utils/three/core/LineMaterial.js";
53
53
  import "../shared-utils/three/core/Line2.js";
54
54
  import "../shared-utils/three/core/LineMaterial2.js";
55
+ import "../Sculpt/utils/unit.js";
55
56
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
56
57
  import "../shared-utils/isTouchDevice.js";
57
58
  import "../shared-utils/five/getPosition.js";
@@ -64,8 +65,8 @@ import "../shared-utils/animationFrame/index.js";
64
65
  import "../shared-utils/equal.js";
65
66
  import "../shared-utils/isTruelyObject.js";
66
67
  import "../shared-utils/three/loadTexture.js";
67
- const sr = (r, o) => new t(r, o);
68
+ const Ir = (r, o) => new t(r, o);
68
69
  export {
69
- sr as CurrentPanoImagePlugin,
70
- sr as default
70
+ Ir as CurrentPanoImagePlugin,
71
+ Ir as default
71
72
  };
@@ -85,6 +85,7 @@ import "../shared-utils/three/core/LineGeometry.js";
85
85
  import "../shared-utils/three/core/LineMaterial.js";
86
86
  import "../shared-utils/three/core/Line2.js";
87
87
  import "../shared-utils/three/core/LineMaterial2.js";
88
+ import "../Sculpt/utils/unit.js";
88
89
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
89
90
  import "../shared-utils/isTouchDevice.js";
90
91
  import "../shared-utils/five/getPosition.js";
@@ -242,8 +243,8 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
242
243
  import "../CruisePlugin/utils/safeCall.js";
243
244
  import "../CruisePlugin/utils/sleep.js";
244
245
  import "../shared-utils/five/fiveLoaded.js";
245
- const b = "GuideLinePlugin", g = `${b}`, Bo = (s) => `${g}--${s}`;
246
- class Co extends N {
246
+ const b = "GuideLinePlugin", g = `${b}`, Co = (s) => `${g}--${s}`;
247
+ class Fo extends N {
247
248
  constructor(t, i) {
248
249
  super(t, i);
249
250
  h(this, "name", b);
@@ -385,6 +386,6 @@ class Co extends N {
385
386
  }
386
387
  }
387
388
  export {
388
- Co as default,
389
- Bo as pluginFlag
389
+ Fo as default,
390
+ Co as pluginFlag
390
391
  };
@@ -5,7 +5,7 @@ import "../shared-utils/five/changeMode.js";
5
5
  import "../CruisePlugin/Move.js";
6
6
  import "../CruisePlugin/Work.js";
7
7
  import "../shared-utils/Subscribe.js";
8
- import { GuideLineItem as or } from "./GuideLineItem/index.js";
8
+ import { GuideLineItem as rr } from "./GuideLineItem/index.js";
9
9
  import "three";
10
10
  import "./utils/createLineGeometry.js";
11
11
  import "../vendor/polyline-normals/index.js";
@@ -66,6 +66,7 @@ import "../shared-utils/three/core/LineGeometry.js";
66
66
  import "../shared-utils/three/core/LineMaterial.js";
67
67
  import "../shared-utils/three/core/Line2.js";
68
68
  import "../shared-utils/three/core/LineMaterial2.js";
69
+ import "../Sculpt/utils/unit.js";
69
70
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
70
71
  import "../shared-utils/isTouchDevice.js";
71
72
  import "../shared-utils/five/getPosition.js";
@@ -215,5 +216,5 @@ import "../CruisePlugin/utils/safeCall.js";
215
216
  import "../CruisePlugin/utils/sleep.js";
216
217
  import "../shared-utils/five/fiveLoaded.js";
217
218
  export {
218
- or as GuideLineItem
219
+ rr as GuideLineItem
219
220
  };
@@ -19,7 +19,7 @@ import "../PanoTagPlugin/controller/index.js";
19
19
  import "./Components/Tag.js";
20
20
  import "./utils/index.js";
21
21
  import "../vendor/object-assign-deep/objectAssignDeep.js";
22
- import { GuideLineModeItem as Km } from "./GuideLineModeItem/index.js";
22
+ import { GuideLineModeItem as Nm } from "./GuideLineModeItem/index.js";
23
23
  import "../vendor/polyline-normals/index.js";
24
24
  import "../vendor/polyline-miter-util/index.js";
25
25
  import "../vendor/gl-vec2/add.js";
@@ -68,6 +68,7 @@ import "../shared-utils/three/core/LineGeometry.js";
68
68
  import "../shared-utils/three/core/LineMaterial.js";
69
69
  import "../shared-utils/three/core/Line2.js";
70
70
  import "../shared-utils/three/core/LineMaterial2.js";
71
+ import "../Sculpt/utils/unit.js";
71
72
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
72
73
  import "../shared-utils/isTouchDevice.js";
73
74
  import "../shared-utils/five/getPosition.js";
@@ -197,5 +198,5 @@ import "../PanoTagPlugin/Components/TagContainer.js";
197
198
  import "../PanoTagPlugin/Components/TagItem.js";
198
199
  import "../PanoTagPlugin/Components/Common/TagPoint.js";
199
200
  export {
200
- Km as GuideLineModeItem
201
+ Nm as GuideLineModeItem
201
202
  };
@@ -1,6 +1,6 @@
1
1
  import t from "./Controller.js";
2
- import { GuideLineItem$1 as er } from "./GuideLineItem/index.js";
3
- import { GuideLineModeItem$1 as dr } from "./GuideLineModeItem/index.js";
2
+ import { GuideLineItem$1 as nr } from "./GuideLineItem/index.js";
3
+ import { GuideLineModeItem$1 as ur } from "./GuideLineModeItem/index.js";
4
4
  import "../base/BasePluginWithData.js";
5
5
  import "../base/BasePlugin.js";
6
6
  import "../shared-utils/Subscribe.js";
@@ -55,6 +55,7 @@ import "../shared-utils/three/core/LineGeometry.js";
55
55
  import "../shared-utils/three/core/LineMaterial.js";
56
56
  import "../shared-utils/three/core/Line2.js";
57
57
  import "../shared-utils/three/core/LineMaterial2.js";
58
+ import "../Sculpt/utils/unit.js";
58
59
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
59
60
  import "../shared-utils/isTouchDevice.js";
60
61
  import "../shared-utils/five/getPosition.js";
@@ -214,10 +215,10 @@ import "../shared-utils/five/changeMode.js";
214
215
  import "../shared-utils/nearlyEqual.js";
215
216
  import "../CruisePlugin/Move.js";
216
217
  import "../CruisePlugin/utils/getFiveStateOnCurve.js";
217
- const r = (i, o) => new t(i, o), rr = r;
218
+ const r = (i, o) => new t(i, o), mr = r;
218
219
  export {
219
- er as GuideLineItem,
220
- dr as GuideLineModeItem,
220
+ nr as GuideLineItem,
221
+ ur as GuideLineModeItem,
221
222
  r as GuideLinePlugin,
222
- rr as default
223
+ mr as default
223
224
  };
@@ -1,4 +1,5 @@
1
1
  import type { Five } from '@realsee/five';
2
+ import { PointSelector } from '../shared-utils';
2
3
  import { type PolygonStyle } from '../Sculpt/Meshes/Polygon';
3
4
  import { Subscribe } from '../shared-utils/Subscribe';
4
5
  import type { LineMeshStyle } from '../Sculpt/typings';
@@ -12,7 +13,7 @@ export declare class MeasureController extends Subscribe<Event> {
12
13
  private five;
13
14
  private group;
14
15
  private currentMeasureMesh?;
15
- private get pointSelector();
16
+ get pointSelector(): PointSelector;
16
17
  private _pointSelector;
17
18
  private get fiveDomEvents();
18
19
  private _fiveDomEvents;
@@ -27,6 +28,10 @@ export declare class MeasureController extends Subscribe<Event> {
27
28
  * @description 结束测量
28
29
  */
29
30
  endMeasure: () => void;
31
+ /**
32
+ * @description 取消本次测量
33
+ */
34
+ cancel: () => void;
30
35
  /**
31
36
  * @description 撤销上一步
32
37
  */
@@ -36,7 +41,11 @@ export declare class MeasureController extends Subscribe<Event> {
36
41
  */
37
42
  clear: () => void;
38
43
  dispose: () => void;
44
+ private addEventListener;
45
+ private removeEventListener;
39
46
  private onClick;
47
+ private onHover;
48
+ private onUnHover;
40
49
  private updateSelectAdsorbedHelper;
41
50
  }
42
51
  export {};
@@ -1,21 +1,21 @@
1
- var y = Object.defineProperty, _ = Object.defineProperties;
2
- var F = Object.getOwnPropertyDescriptors;
3
- var b = Object.getOwnPropertySymbols;
4
- var D = Object.prototype.hasOwnProperty, V = Object.prototype.propertyIsEnumerable;
5
- var P = (p, t, e) => t in p ? y(p, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[t] = e, f = (p, t) => {
6
- for (var e in t || (t = {}))
7
- D.call(t, e) && P(p, e, t[e]);
8
- if (b)
9
- for (var e of b(t))
10
- V.call(t, e) && P(p, e, t[e]);
1
+ var y = Object.defineProperty, F = Object.defineProperties;
2
+ var _ = Object.getOwnPropertyDescriptors;
3
+ var w = Object.getOwnPropertySymbols;
4
+ var D = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
5
+ var f = (p, r, e) => r in p ? y(p, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[r] = e, d = (p, r) => {
6
+ for (var e in r || (r = {}))
7
+ D.call(r, e) && f(p, e, r[e]);
8
+ if (w)
9
+ for (var e of w(r))
10
+ L.call(r, e) && f(p, e, r[e]);
11
11
  return p;
12
- }, v = (p, t) => _(p, F(t));
13
- var o = (p, t, e) => (P(p, typeof t != "symbol" ? t + "" : t, e), e);
14
- import * as r from "three";
12
+ }, v = (p, r) => F(p, _(r));
13
+ var t = (p, r, e) => (f(p, typeof r != "symbol" ? r + "" : r, e), e);
14
+ import * as n from "three";
15
15
  import "../shared-utils/tag.js";
16
16
  import "../vendor/hammerjs/hammer.js";
17
- import { Subscribe as L } from "../shared-utils/Subscribe.js";
18
- import { PointSelector as z } from "../shared-utils/three/PointSelector/index.js";
17
+ import { Subscribe as H } from "../shared-utils/Subscribe.js";
18
+ import { PointSelector as V } from "../shared-utils/three/PointSelector/index.js";
19
19
  import "../shared-utils/three/CSS3DRenderer/index.js";
20
20
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
21
21
  import { IObject3D as U } from "../shared-utils/three/IObject3D.js";
@@ -23,16 +23,16 @@ import "@realsee/five/line";
23
23
  import "../shared-utils/three/core/Five_LineMaterial2.js";
24
24
  import "../shared-utils/three/core/Sphere.js";
25
25
  import "../vendor/animejs/lib/anime.es.js";
26
- import { FiveDomEvents as x } from "../shared-utils/five/FiveDomEvents.js";
26
+ import { FiveDomEvents as z } from "../shared-utils/five/FiveDomEvents.js";
27
27
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
28
28
  import "../shared-utils/five/FivePuppet.js";
29
- import { MeasureMesh as k } from "./utils/MeasureMesh.js";
29
+ import { MeasureMesh as x } from "./utils/MeasureMesh.js";
30
30
  import { PointMesh as A } from "../Sculpt/Meshes/Point.js";
31
- import { LineWithDotsMesh as g } from "../Sculpt/Meshes/LineWithDots.js";
32
- import { hotkeys as M } from "../vendor/hotkeys-js/dist/hotkeys.esm.js";
33
- import { PolygonMesh as C } from "../Sculpt/Meshes/Polygon.js";
34
- import { validatePolygon as H } from "./utils/validatePolygon.js";
35
- import { Cursor as O } from "../Sculpt/utils/Modules/Cursor.js";
31
+ import { LineWithDotsMesh as M } from "../Sculpt/Meshes/LineWithDots.js";
32
+ import { hotkeys as u } from "../vendor/hotkeys-js/dist/hotkeys.esm.js";
33
+ import { PolygonMesh as k } from "../Sculpt/Meshes/Polygon.js";
34
+ import { validatePolygon as C } from "./utils/validatePolygon.js";
35
+ import { Cursor as T } from "../Sculpt/utils/Modules/Cursor.js";
36
36
  import "../shared-utils/positionToVector3.js";
37
37
  import "../shared-utils/five/vector3ToScreen.js";
38
38
  import "../shared-utils/five/getFiveModel.js";
@@ -70,6 +70,7 @@ import "../shared-utils/three/core/LineGeometry.js";
70
70
  import "../shared-utils/three/core/LineMaterial.js";
71
71
  import "../shared-utils/three/core/Line2.js";
72
72
  import "../shared-utils/three/core/LineMaterial2.js";
73
+ import "../Sculpt/utils/unit.js";
73
74
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
74
75
  import "../shared-utils/isTouchDevice.js";
75
76
  import "../shared-utils/five/getPosition.js";
@@ -88,110 +89,131 @@ import "../PanoMeasurePlugin/utils/isIntersecting.js";
88
89
  import "../Sculpt/utils/three/ColoredMesh.js";
89
90
  import "../shared-utils/three/geometryUtil.js";
90
91
  import "../shared-utils/three/vectorIsEqual.js";
91
- const S = {
92
+ const P = {
92
93
  lengthEnable: !0,
93
94
  occlusionVisibility: !0,
94
95
  lengthUnit: "m"
95
- }, T = {
96
+ }, I = {
96
97
  lengthEnable: !0,
97
98
  occlusionVisibility: !0,
98
99
  opacity: 0.2,
99
100
  lengthUnit: "m"
100
101
  };
101
- class mt extends L {
102
+ class mt extends H {
102
103
  constructor(e) {
103
104
  super();
104
- o(this, "name", "MeasurePlugin");
105
- o(this, "five");
106
- o(this, "group");
107
- o(this, "currentMeasureMesh");
108
- o(this, "_pointSelector");
109
- o(this, "_fiveDomEvents");
110
- o(this, "_cursor");
105
+ t(this, "name", "MeasurePlugin");
106
+ t(this, "five");
107
+ t(this, "group");
108
+ t(this, "currentMeasureMesh");
109
+ t(this, "_pointSelector");
110
+ t(this, "_fiveDomEvents");
111
+ t(this, "_cursor");
111
112
  /**
112
113
  * @description 开始测量
113
114
  */
114
- o(this, "measure", () => {
115
- const e = new k();
115
+ t(this, "measure", () => {
116
+ this.removeEventListener();
117
+ const e = new x();
116
118
  this.currentMeasureMesh = e, this.updateSelectAdsorbedHelper();
117
- const l = new A(), c = new g(v(f({}, S), { dashed: !0 })), m = new C(T), h = new g(v(f({}, S), { lineOpacity: 0.5, dashed: !0 })), n = new g(v(f({}, S), { lineOpacity: 0.5, dashed: !0 }));
119
+ const i = new A(), c = new M(v(d({}, P), { dashed: !0 })), h = new k(I), m = new M(v(d({}, P), { lineOpacity: 0.5, dashed: !0 })), l = new M(v(d({}, P), { lineOpacity: 0.5, dashed: !0 }));
118
120
  this.group.add(e);
119
- const u = (i) => {
120
- if (!i) {
121
- l.removeFromParent(), c.removeFromParent(), m.removeFromParent(), h.removeFromParent(), n.removeFromParent();
121
+ const S = (o) => {
122
+ if (!o) {
123
+ i.removeFromParent(), c.removeFromParent(), h.removeFromParent(), m.removeFromParent(), l.removeFromParent();
122
124
  return;
123
125
  }
124
- if (e.points.length === 0 && (l.parent === null && this.five.scene.add(l), l.position.copy(i.point)), e.points.length >= 1)
125
- if (l.removeFromParent(), c.parent === null && this.five.scene.add(c), c.setPoints([e.points.at(-1), i.point]), i.isAdsorbed)
126
- h.removeFromParent(), n.removeFromParent();
126
+ if (e.points.length === 0 && (i.parent === null && this.five.scene.add(i), i.position.copy(o.point)), e.points.length >= 1)
127
+ if (i.removeFromParent(), c.parent === null && this.five.scene.add(c), c.setPoints([e.points.at(-1), o.point]), o.isAdsorbed)
128
+ m.removeFromParent(), l.removeFromParent();
127
129
  else {
128
130
  const s = e.points.at(-1);
129
- if (Math.abs(i.point.y - s.y) > 0.2) {
130
- const a = new r.Vector3(i.point.x, s.y, i.point.z);
131
- h.setPoints([s, a]), n.setPoints([a, i.point]);
131
+ if (Math.abs(o.point.y - s.y) > 0.2) {
132
+ const a = new n.Vector3(o.point.x, s.y, o.point.z);
133
+ m.setPoints([s, a]), l.setPoints([a, o.point]);
132
134
  } else {
133
- let a = new r.Vector3();
134
- Math.abs(i.point.x - s.x) < Math.abs(i.point.z - s.z) ? a = new r.Vector3(i.point.x, s.y, s.z) : a = new r.Vector3(s.x, s.y, i.point.z), h.setPoints([s, a]), n.setPoints([a, i.point]);
135
+ let a = new n.Vector3();
136
+ Math.abs(o.point.x - s.x) < Math.abs(o.point.z - s.z) ? a = new n.Vector3(o.point.x, s.y, s.z) : a = new n.Vector3(s.x, s.y, o.point.z), m.setPoints([s, a]), l.setPoints([a, o.point]);
135
137
  }
136
- this.group.addIfNotExists(h, n);
138
+ this.group.addIfNotExists(m, l);
137
139
  }
138
140
  if (e.points.length >= 2) {
139
- const s = [...e.points, i.point];
140
- H(s) ? (m.setPoints(s), m.parent === null && this.five.scene.add(m)) : m.removeFromParent();
141
+ const s = [...e.points, o.point];
142
+ C(s) ? (h.setPoints(s), h.parent === null && this.five.scene.add(h)) : h.removeFromParent();
141
143
  }
142
- }, d = (i) => {
143
- e.setPoints([...e.points, i.point]), this.updateSelectAdsorbedHelper(), e.isPolygon && this.pointSelector.disable();
144
- }, w = () => {
145
- this.pointSelector.off("intersectionUpdate", u), this.pointSelector.off("select", d), this.pointSelector.off("disable", w), l.removeFromParent(), c.removeFromParent(), m.removeFromParent(), h.removeFromParent(), n.removeFromParent(), this.currentMeasureMesh = null, this.emit("measureEnd");
144
+ }, g = (o) => {
145
+ e.setPoints([...e.points, o.point]), this.updateSelectAdsorbedHelper(), e.isPolygon && this.pointSelector.disable();
146
+ }, E = () => {
147
+ this.pointSelector.off("intersectionUpdate", S), this.pointSelector.off("select", g), this.pointSelector.off("disable", E), i.removeFromParent(), c.removeFromParent(), h.removeFromParent(), m.removeFromParent(), l.removeFromParent(), e.points.length < 2 && e.removeFromParent(), this.currentMeasureMesh = null, this.addEventListener(), this.emit("measureEnd");
146
148
  };
147
- this.pointSelector.on("intersectionUpdate", u), this.pointSelector.on("select", d), this.pointSelector.on("disable", w), this.pointSelector.enable();
149
+ this.pointSelector.on("intersectionUpdate", S), this.pointSelector.on("select", g), this.pointSelector.on("disable", E), this.pointSelector.enable();
148
150
  });
149
151
  /**
150
152
  * @description 结束测量
151
153
  */
152
- o(this, "endMeasure", () => {
153
- this.pointSelector.disable(), this.emit("measureEnd");
154
+ t(this, "endMeasure", () => {
155
+ this.pointSelector.disable();
156
+ });
157
+ /**
158
+ * @description 取消本次测量
159
+ */
160
+ t(this, "cancel", () => {
161
+ var e;
162
+ (e = this.currentMeasureMesh) == null || e.removeFromParent(), this.pointSelector.disable();
154
163
  });
155
164
  /**
156
165
  * @description 撤销上一步
157
166
  */
158
- o(this, "undo", () => {
167
+ t(this, "undo", () => {
159
168
  var e;
160
169
  (e = this.currentMeasureMesh) == null || e.setPoints(this.currentMeasureMesh.points.slice(0, -1)), this.pointSelector.emit("intersectionUpdate", this.pointSelector.position), this.updateSelectAdsorbedHelper(), this.five.needsRender = !0;
161
170
  });
162
171
  /**
163
172
  * @description 清空所有测量内容
164
173
  */
165
- o(this, "clear", () => {
174
+ t(this, "clear", () => {
166
175
  this.currentMeasureMesh = null, this.pointSelector.disable(), this.group.children.forEach((e) => e.removeFromParent());
167
176
  });
168
- o(this, "dispose", () => {
169
- M.unbind("ctrl+z, command+z"), M.unbind("shift"), this.pointSelector.disable(), this.clear();
177
+ t(this, "dispose", () => {
178
+ u.unbind("ctrl+z, command+z"), u.unbind("shift"), this.pointSelector.disable(), this.clear();
170
179
  });
171
- o(this, "onClick", ({ origDomEvent: e, target: l, intersects: c }) => {
172
- if (console.log("click", e), this.currentMeasureMesh)
173
- return;
174
- let m, h;
175
- if (e instanceof TouchEvent ? (m = e.changedTouches[0].clientX, h = e.changedTouches[0].clientY) : e instanceof MouseEvent && (m = e.clientX, h = e.clientY), m === void 0 || h === void 0)
176
- return;
177
- let n = c[0].object;
178
- for (; n && !n.isMeasureMesh; )
179
- n = n.parent;
180
- if (!n)
180
+ t(this, "addEventListener", () => {
181
+ this.group.children.forEach((e) => {
182
+ this.fiveDomEvents.addEventListener(e, "click", this.onClick), this.fiveDomEvents.addEventListener(e, "hover", this.onHover), this.fiveDomEvents.addEventListener(e, "unHover", this.onUnHover);
183
+ });
184
+ });
185
+ t(this, "removeEventListener", () => {
186
+ this.fiveDomEvents.clear();
187
+ });
188
+ t(this, "onClick", ({ origDomEvent: e, target: i }) => {
189
+ const c = i;
190
+ if (!c)
181
191
  return;
182
- const u = n;
183
- this.group.children.forEach((d) => d.unhighlight()), u.highlight(), this.cursor.showDeleteButton({
184
- clientX: m,
185
- clientY: h,
192
+ let h, m;
193
+ e instanceof TouchEvent ? (h = e.changedTouches[0].clientX, m = e.changedTouches[0].clientY) : e instanceof MouseEvent && (h = e.clientX, m = e.clientY), !(h === void 0 || m === void 0) && (this.group.children.forEach((l) => l.unselect()), c.select(), this.cursor.showDeleteButton({
194
+ clientX: h,
195
+ clientY: m,
186
196
  container: this.five.getElement().parentElement,
187
197
  onClick: () => {
188
- u.removeFromParent(), this.five.needsRender = !0;
198
+ c.removeFromParent(), this.five.needsRender = !0;
189
199
  }
190
200
  }), this.five.once("cameraUpdate", () => {
191
- u.unhighlight(), this.cursor.removeDeleteButton();
192
- });
201
+ c.unselect(), this.cursor.removeDeleteButton();
202
+ }));
203
+ });
204
+ t(this, "onHover", ({ target: e }) => {
205
+ if (this.currentMeasureMesh)
206
+ return;
207
+ const i = e;
208
+ i && i.hover();
209
+ });
210
+ t(this, "onUnHover", ({ target: e }) => {
211
+ if (this.currentMeasureMesh)
212
+ return;
213
+ const i = e;
214
+ i && i.unhover();
193
215
  });
194
- o(this, "updateSelectAdsorbedHelper", () => {
216
+ t(this, "updateSelectAdsorbedHelper", () => {
195
217
  if (!this.currentMeasureMesh || this.currentMeasureMesh.points.length === 0) {
196
218
  this.pointSelector.setAdherePoints(null), this.pointSelector.adhereLine = [], this.pointSelector.adherePlane = [];
197
219
  return;
@@ -200,13 +222,13 @@ class mt extends L {
200
222
  this.pointSelector.setAdherePoints([this.currentMeasureMesh.points[0]]);
201
223
  const e = this.currentMeasureMesh.points.at(-1);
202
224
  this.pointSelector.adhereLine = [
203
- new r.Line3(new r.Vector3(1, 0, 0).add(e), new r.Vector3(-1, 0, 0).add(e)),
204
- new r.Line3(new r.Vector3(0, 1, 0).add(e), new r.Vector3(0, -1, 0).add(e)),
205
- new r.Line3(new r.Vector3(0, 0, 1).add(e), new r.Vector3(0, 0, -1).add(e))
225
+ new n.Line3(new n.Vector3(1, 0, 0).add(e), new n.Vector3(-1, 0, 0).add(e)),
226
+ new n.Line3(new n.Vector3(0, 1, 0).add(e), new n.Vector3(0, -1, 0).add(e)),
227
+ new n.Line3(new n.Vector3(0, 0, 1).add(e), new n.Vector3(0, 0, -1).add(e))
206
228
  ], this.pointSelector.adherePlane = [];
207
229
  }
208
230
  if (this.currentMeasureMesh.points.length >= 3) {
209
- const e = new r.Plane().setFromCoplanarPoints(
231
+ const e = new n.Plane().setFromCoplanarPoints(
210
232
  this.currentMeasureMesh.points[0],
211
233
  this.currentMeasureMesh.points[1],
212
234
  this.currentMeasureMesh.points[2]
@@ -215,20 +237,20 @@ class mt extends L {
215
237
  } else
216
238
  this.pointSelector.adherePlane = [];
217
239
  });
218
- this.five = e, this.group = new U(), this.five.scene.add(this.group), this.fiveDomEvents.addEventListener(this.group, "click", this.onClick), M("ctrl+z, command+z", this.undo), M("enter", this.endMeasure);
240
+ this.five = e, this.group = new U(), this.five.scene.add(this.group), u("ctrl+z, command+z", this.undo), u("esc", this.cancel), u("enter", this.endMeasure);
219
241
  }
220
242
  get pointSelector() {
221
- return this._pointSelector ? this._pointSelector : (this._pointSelector = new z(this.five, { mode: "cursor", helper: { pointHelper: "highlight" } }), this._pointSelector);
243
+ return this._pointSelector ? this._pointSelector : (this._pointSelector = new V(this.five, { mode: "cursor", helper: { pointHelper: "highlight" } }), this._pointSelector);
222
244
  }
223
245
  get fiveDomEvents() {
224
- return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new x(this.five), this._fiveDomEvents);
246
+ return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new z(this.five), this._fiveDomEvents);
225
247
  }
226
248
  get cursor() {
227
- return this._cursor ? this._cursor : (this._cursor = new O(), this._cursor);
249
+ return this._cursor ? this._cursor : (this._cursor = new T(), this._cursor);
228
250
  }
229
251
  }
230
252
  export {
231
253
  mt as MeasureController,
232
- S as lineStyle,
233
- T as polygonStyle
254
+ P as lineStyle,
255
+ I as polygonStyle
234
256
  };
@@ -51,6 +51,7 @@ import "../shared-utils/three/core/LineGeometry.js";
51
51
  import "../shared-utils/three/core/LineMaterial.js";
52
52
  import "../shared-utils/three/core/Line2.js";
53
53
  import "../shared-utils/three/core/LineMaterial2.js";
54
+ import "../Sculpt/utils/unit.js";
54
55
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
55
56
  import "../shared-utils/isTouchDevice.js";
56
57
  import "../shared-utils/five/getPosition.js";
@@ -75,7 +76,7 @@ import "./utils/validatePolygon.js";
75
76
  import "../shared-utils/three/vectorIsEqual.js";
76
77
  import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
77
78
  import "../Sculpt/utils/Modules/Cursor.js";
78
- const qr = (r) => new o(r);
79
+ const vr = (r) => new o(r);
79
80
  export {
80
- qr as MeasurePlugin
81
+ vr as MeasurePlugin
81
82
  };
@@ -5,10 +5,15 @@ export declare class MeasureMesh extends IObject3D {
5
5
  readonly isMeasureMesh = true;
6
6
  points: THREE.Vector3[];
7
7
  isPolygon: boolean;
8
+ private selected;
8
9
  private line;
9
10
  private polygon;
10
11
  constructor();
11
12
  setPoints(points: THREE.Vector3[]): void;
12
- highlight(): void;
13
- unhighlight(): void;
13
+ select(): void;
14
+ unselect(): void;
15
+ hover(): void;
16
+ unhover(): void;
17
+ private highlight;
18
+ private unhighlight;
14
19
  }