@realsee/dnalogel 3.81.27 → 3.81.28

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 (674) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/MeasurePluginV2/Magnifier.d.ts +1 -0
  3. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +5 -2
  4. package/dist/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +1 -0
  5. package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -0
  6. package/dist/PanoMeasurePlugin/Controller/index.d.ts +2 -0
  7. package/dist/PanoMeasurePluginV2/Controller.d.ts +8 -1
  8. package/dist/PanoMeasurePluginV2/PointSelector.d.ts +2 -1
  9. package/dist/PanoMeasurePluginV2/ShortcutKeyController.d.ts +5 -0
  10. package/dist/PanoMeasurePluginV2/controllers.d.ts +28 -2
  11. package/dist/index.cjs.js +99 -99
  12. package/dist/index.js +7383 -7113
  13. package/dist/index.umd.js +96 -96
  14. package/dist/shared-utils/three/EndpointPointerGesture.d.ts +31 -0
  15. package/dist/shared-utils/three/measureDrawing.d.ts +4 -0
  16. package/docs/.nojekyll +1 -0
  17. package/docs/assets/custom.css +0 -0
  18. package/docs/assets/highlight.css +127 -0
  19. package/docs/assets/icons.js +18 -0
  20. package/docs/assets/icons.svg +1 -0
  21. package/docs/assets/main.js +60 -0
  22. package/docs/assets/navigation.js +1 -0
  23. package/docs/assets/search.js +1 -0
  24. package/docs/assets/style.css +1493 -0
  25. package/docs/classes/AnimationScriptAdapterSafetyError.html +4 -0
  26. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +59 -0
  27. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +71 -0
  28. package/docs/classes/CSS3DRender.html +100 -0
  29. package/docs/classes/DigitalHuman.html +43 -0
  30. package/docs/classes/DigitalPerformanceV2.DigitalPerformanceNameplate.html +25 -0
  31. package/docs/classes/DigitalPerformanceV2.DigitalPerformanceV2PluginController.html +178 -0
  32. package/docs/classes/DigitalPlayground.html +25 -0
  33. package/docs/classes/DigitalStateMachine.html +3 -0
  34. package/docs/classes/FireControl.html +56 -0
  35. package/docs/classes/FireScenePlayer.html +10 -0
  36. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -0
  37. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +72 -0
  38. package/docs/classes/MeasureV2.EdgeSnapCache.html +8 -0
  39. package/docs/classes/MeasureV2.MeasureControllerV2.html +81 -0
  40. package/docs/classes/MeasureV2.MeasureMagnifier.html +54 -0
  41. package/docs/classes/ModelMakerPluginInstance.html +106 -0
  42. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +52 -0
  43. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +52 -0
  44. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +53 -0
  45. package/docs/classes/ModelRoomLabelController.html +19 -0
  46. package/docs/classes/MoveController.html +45 -0
  47. package/docs/classes/Object3DHelperController.html +45 -0
  48. package/docs/classes/PaintBrush.html +15 -0
  49. package/docs/classes/PanoMeasureControllerV2.html +98 -0
  50. package/docs/classes/PanoMeasurePluginLine.html +26 -0
  51. package/docs/classes/PanoMeasurePluginModel.html +23 -0
  52. package/docs/classes/PanoMeasurePluginPoint.html +7 -0
  53. package/docs/classes/PanoMeasurePluginPolyline.html +27 -0
  54. package/docs/classes/PanoTagPluginController.html +129 -0
  55. package/docs/classes/Sculpt.html +79 -0
  56. package/docs/classes/Util.BetterTween.html +6 -0
  57. package/docs/classes/Util.FiveDomEvents.html +13 -0
  58. package/docs/classes/Util.FivePuppet.html +20 -0
  59. package/docs/classes/Util.Interval.html +11 -0
  60. package/docs/classes/Util.LegacyPointHelper.html +7 -0
  61. package/docs/classes/Util.LightTag.html +47 -0
  62. package/docs/classes/Util.LineSegments.html +4 -0
  63. package/docs/classes/Util.Magnifier.html +42 -0
  64. package/docs/classes/Util.Object3D.html +8 -0
  65. package/docs/classes/Util.PointDomHelper.html +8 -0
  66. package/docs/classes/Util.PointHelper.html +10 -0
  67. package/docs/classes/Util.PointSelector.html +71 -0
  68. package/docs/classes/Util.PointSelectorHelper.html +17 -0
  69. package/docs/classes/Util.Rectangle.html +12 -0
  70. package/docs/classes/Util.sculpt.BaseEditor.html +17 -0
  71. package/docs/classes/Util.sculpt.BoxMesh.html +48 -0
  72. package/docs/classes/Util.sculpt.BoxMeshEditor.html +18 -0
  73. package/docs/classes/Util.sculpt.CircleMesh.html +26 -0
  74. package/docs/classes/Util.sculpt.CircleMeshEditor.html +18 -0
  75. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +26 -0
  76. package/docs/classes/Util.sculpt.CylinderMesh.html +25 -0
  77. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +18 -0
  78. package/docs/classes/Util.sculpt.LineMesh.html +34 -0
  79. package/docs/classes/Util.sculpt.PointMesh.html +24 -0
  80. package/docs/classes/Util.sculpt.PolygonMesh.html +40 -0
  81. package/docs/classes/Util.sculpt.PrismMesh.html +48 -0
  82. package/docs/classes/Util.sculpt.PrismMeshEditor.html +18 -0
  83. package/docs/classes/Util.sculpt.RectangleMesh.html +41 -0
  84. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +18 -0
  85. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +44 -0
  86. package/docs/classes/WalkController.html +42 -0
  87. package/docs/enums/CameraMovementEffect.html +4 -0
  88. package/docs/enums/ContentType.html +36 -0
  89. package/docs/enums/DIRECTION.html +5 -0
  90. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +5 -0
  91. package/docs/enums/DimensionType.html +4 -0
  92. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -0
  93. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +5 -0
  94. package/docs/enums/PaintBrushTypeEnum.html +4 -0
  95. package/docs/enums/PointType.html +4 -0
  96. package/docs/enums/Rotation.html +5 -0
  97. package/docs/functions/AreaMakerPlugin.html +1 -0
  98. package/docs/functions/CSS3DRenderPlugin.html +1 -0
  99. package/docs/functions/CameraMovementPlugin.html +2 -0
  100. package/docs/functions/CruisePlugin.html +1 -0
  101. package/docs/functions/CurrentPanoImagePlugin.html +1 -0
  102. package/docs/functions/DigitalPerformancePlugin.html +1 -0
  103. package/docs/functions/DigitalPerformanceV2.DigitalPerformanceV2Plugin.html +1 -0
  104. package/docs/functions/DigitalPerformanceV2.normalizeDigitalPerformanceName.html +2 -0
  105. package/docs/functions/FloorplanGuidePlugin.html +1 -0
  106. package/docs/functions/GuideLinePlugin.html +1 -0
  107. package/docs/functions/ItemLabelPlugin.html +1 -0
  108. package/docs/functions/MapviewFloorplanPlugin.html +1 -0
  109. package/docs/functions/MeasurePlugin.html +1 -0
  110. package/docs/functions/MeasureV2.MeasurePluginV2.html +1 -0
  111. package/docs/functions/MeasureV2.collectNearbyEdges.html +5 -0
  112. package/docs/functions/MeasureV2.drawMeasureOverlay.html +3 -0
  113. package/docs/functions/MeasureV2.getWorldNormal.html +6 -0
  114. package/docs/functions/MeasureV2.validatePolygon.html +1 -0
  115. package/docs/functions/ModelChassisCompassPlugin.html +2 -0
  116. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -0
  117. package/docs/functions/ModelFloorplanPlugin.html +1 -0
  118. package/docs/functions/ModelItemLabelPlugin.html +1 -0
  119. package/docs/functions/ModelMakerPlugin.html +1 -0
  120. package/docs/functions/ModelRoomLabelPlugin.html +1 -0
  121. package/docs/functions/ModelTVVideoPlugin.html +1 -0
  122. package/docs/functions/ModelViewPlugin.html +2 -0
  123. package/docs/functions/MovePlugin.html +1 -0
  124. package/docs/functions/Object3DHelperPlugin.html +1 -0
  125. package/docs/functions/PanoCompassPlugin.html +1 -0
  126. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -0
  127. package/docs/functions/PanoDoorLabelPlugin.html +1 -0
  128. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -0
  129. package/docs/functions/PanoMeasurePlugin.html +1 -0
  130. package/docs/functions/PanoMeasurePluginV2.html +1 -0
  131. package/docs/functions/PanoRulerPlugin.html +2 -0
  132. package/docs/functions/PanoRulerProPlugin.html +2 -0
  133. package/docs/functions/PanoSpatialTagPlugin.html +2 -0
  134. package/docs/functions/PanoTagPlugin.html +1 -0
  135. package/docs/functions/PanoVideoPlugin.html +10 -0
  136. package/docs/functions/PipelinePlugin.html +1 -0
  137. package/docs/functions/SculptPlugin.html +2 -0
  138. package/docs/functions/SculptPluginForFive.html +2 -0
  139. package/docs/functions/TopviewFloorplanPlugin.html +1 -0
  140. package/docs/functions/Util.awaitNextFrame.html +1 -0
  141. package/docs/functions/Util.blink.html +13 -0
  142. package/docs/functions/Util.blinkWithPreset.html +6 -0
  143. package/docs/functions/Util.bounding.html +1 -0
  144. package/docs/functions/Util.boundingBox.html +1 -0
  145. package/docs/functions/Util.boundingSphere.html +1 -0
  146. package/docs/functions/Util.boxVertex.html +7 -0
  147. package/docs/functions/Util.boxVertexes.html +1 -0
  148. package/docs/functions/Util.checkFiveModelLoaded.html +2 -0
  149. package/docs/functions/Util.cleanup.html +3 -0
  150. package/docs/functions/Util.convexHull.html +2 -0
  151. package/docs/functions/Util.equal.html +5 -0
  152. package/docs/functions/Util.fiveModelIsLoaded.html +2 -0
  153. package/docs/functions/Util.generatePolygonGeometry.html +2 -0
  154. package/docs/functions/Util.getCoordsFromClient.html +1 -0
  155. package/docs/functions/Util.getCoordsFromElement.html +1 -0
  156. package/docs/functions/Util.getFrameTime.html +3 -0
  157. package/docs/functions/Util.getGeometryArea.html +1 -0
  158. package/docs/functions/Util.getGeometryInfo.html +1 -0
  159. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -0
  160. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -0
  161. package/docs/functions/Util.initialCSS3DRender.html +1 -0
  162. package/docs/functions/Util.inside.html +1 -0
  163. package/docs/functions/Util.isModelLike.html +1 -0
  164. package/docs/functions/Util.isNil.html +2 -0
  165. package/docs/functions/Util.isPanoramaLike.html +1 -0
  166. package/docs/functions/Util.lookObject.html +7 -0
  167. package/docs/functions/Util.lookPoint.html +5 -0
  168. package/docs/functions/Util.nextFrame.html +1 -0
  169. package/docs/functions/Util.notNil.html +2 -0
  170. package/docs/functions/Util.reblink.html +13 -0
  171. package/docs/functions/Util.replaceStaticPrefix.html +8 -0
  172. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -0
  173. package/docs/functions/Util.sculpt.createBox.html +1 -0
  174. package/docs/functions/Util.sculpt.createCircle.html +1 -0
  175. package/docs/functions/Util.sculpt.createCylinder.html +1 -0
  176. package/docs/functions/Util.sculpt.createLine.html +2 -0
  177. package/docs/functions/Util.sculpt.createPoint.html +1 -0
  178. package/docs/functions/Util.sculpt.createPolygon.html +1 -0
  179. package/docs/functions/Util.sculpt.createPrism.html +1 -0
  180. package/docs/functions/Util.sculpt.createRectangle.html +2 -0
  181. package/docs/functions/Util.sculpt.transformUnit.html +4 -0
  182. package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -0
  183. package/docs/functions/Util.tag.html +1 -0
  184. package/docs/functions/Util.triangleArea.html +2 -0
  185. package/docs/functions/Util.triangleCenter.html +2 -0
  186. package/docs/functions/Util.tweenProgress.html +1 -0
  187. package/docs/functions/Util.uuid.html +2 -0
  188. package/docs/functions/Util.waitFiveModelLoaded.html +2 -0
  189. package/docs/functions/Util.worldBounding.html +1 -0
  190. package/docs/functions/Util.worldBoundingBox.html +1 -0
  191. package/docs/functions/Util.worldBoundingSphere.html +1 -0
  192. package/docs/functions/classifyMovementTrack.html +1 -0
  193. package/docs/functions/createPolyline.html +2 -0
  194. package/docs/functions/getAreaBox3.html +2 -0
  195. package/docs/functions/getAreaVertices.html +2 -0
  196. package/docs/functions/getEffectivePointActionDuration.html +1 -0
  197. package/docs/functions/getEntryArea.html +2 -0
  198. package/docs/functions/getMovementActionDuration.html +1 -0
  199. package/docs/functions/hasMovementV2Signal.html +1 -0
  200. package/docs/functions/isConverterSafeMovementMatrix.html +1 -0
  201. package/docs/functions/pluginFlag.html +1 -0
  202. package/docs/functions/transformAnimationDetailToDigitalScript.html +3 -0
  203. package/docs/functions/transformScriptData.html +4 -0
  204. package/docs/hierarchy.html +1 -0
  205. package/docs/index.html +81 -0
  206. package/docs/interfaces/AnimationScriptAdapterOptions.html +6 -0
  207. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +4 -0
  208. package/docs/interfaces/AreaMakerPluginType.Config.html +8 -0
  209. package/docs/interfaces/AreaMakerPluginType.EventMap.html +25 -0
  210. package/docs/interfaces/AreaMakerPluginType.Params.html +4 -0
  211. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -0
  212. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +13 -0
  213. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +9 -0
  214. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -0
  215. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -0
  216. package/docs/interfaces/AreaMakerPluginType.State.html +8 -0
  217. package/docs/interfaces/BoxAnimationConfig.html +6 -0
  218. package/docs/interfaces/BoxPosition.html +8 -0
  219. package/docs/interfaces/CSS3DRenderPluginEventMap.html +9 -0
  220. package/docs/interfaces/CSS3DRenderPluginState.html +7 -0
  221. package/docs/interfaces/CameraMovementPluginExportType.html +11 -0
  222. package/docs/interfaces/ChapterLocation.html +4 -0
  223. package/docs/interfaces/ChapterTimeInfo.html +7 -0
  224. package/docs/interfaces/ContentTypeMapInterface.html +83 -0
  225. package/docs/interfaces/CruisePluginTypes.Config.html +8 -0
  226. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +8 -0
  227. package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -0
  228. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +6 -0
  229. package/docs/interfaces/CruisePluginTypes.MoveAction.html +16 -0
  230. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +19 -0
  231. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +20 -0
  232. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -0
  233. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -0
  234. package/docs/interfaces/CruisePluginTypes.PluginState.html +15 -0
  235. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +14 -0
  236. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +15 -0
  237. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +4 -0
  238. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -0
  239. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -0
  240. package/docs/interfaces/DigitalCameraKeyframe.html +4 -0
  241. package/docs/interfaces/DigitalCameraPlayer.html +4 -0
  242. package/docs/interfaces/DigitalCameraState.html +4 -0
  243. package/docs/interfaces/DigitalChapter.html +3 -0
  244. package/docs/interfaces/DigitalDataPlayer.html +4 -0
  245. package/docs/interfaces/DigitalDataState.html +4 -0
  246. package/docs/interfaces/DigitalEffectKeyframe.html +4 -0
  247. package/docs/interfaces/DigitalEffectState.html +8 -0
  248. package/docs/interfaces/DigitalItemKeyframe.html +6 -0
  249. package/docs/interfaces/DigitalItemState.html +7 -0
  250. package/docs/interfaces/DigitalModelKeyframe.html +9 -0
  251. package/docs/interfaces/DigitalModelPlayer.html +10 -0
  252. package/docs/interfaces/DigitalModelPlayerEffect.html +4 -0
  253. package/docs/interfaces/DigitalModelPlayerItem.html +6 -0
  254. package/docs/interfaces/DigitalModelState.html +8 -0
  255. package/docs/interfaces/DigitalPerformancePluginConfig.html +9 -0
  256. package/docs/interfaces/DigitalPerformanceV2.CameraState.html +13 -0
  257. package/docs/interfaces/DigitalPerformanceV2.DigitalCameraKeyframe.html +23 -0
  258. package/docs/interfaces/DigitalPerformanceV2.DigitalCameraPlayer.html +7 -0
  259. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateBinding.html +5 -0
  260. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateOptions.html +22 -0
  261. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateRenderContext.html +5 -0
  262. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceV2PluginConfig.html +15 -0
  263. package/docs/interfaces/DigitalPerformanceV2.GroupChapterTimeInfo.html +13 -0
  264. package/docs/interfaces/DigitalPerformanceV2.GroupProgress.html +18 -0
  265. package/docs/interfaces/DigitalPerformanceV2.V2Progress.html +10 -0
  266. package/docs/interfaces/DigitalScript.html +5 -0
  267. package/docs/interfaces/DigitalSubTitleKeyframe.html +7 -0
  268. package/docs/interfaces/DigitalSubTitlePlayer.html +4 -0
  269. package/docs/interfaces/DigitalSubTitleState.html +6 -0
  270. package/docs/interfaces/ExtendedAnimationConfig.html +5 -0
  271. package/docs/interfaces/FireArea.html +5 -0
  272. package/docs/interfaces/FireModel.html +9 -0
  273. package/docs/interfaces/FireSceneConfig.html +9 -0
  274. package/docs/interfaces/FireSequencePlayerOptions.html +4 -0
  275. package/docs/interfaces/FireSequenceStep.html +5 -0
  276. package/docs/interfaces/FireVector3.html +4 -0
  277. package/docs/interfaces/FloorplanBounding.html +9 -0
  278. package/docs/interfaces/FloorplanData.html +8 -0
  279. package/docs/interfaces/FloorplanEntrance.html +14 -0
  280. package/docs/interfaces/FloorplanExtraObject.html +9 -0
  281. package/docs/interfaces/FloorplanExtraObject3D.html +5 -0
  282. package/docs/interfaces/FloorplanFloorData.html +9 -0
  283. package/docs/interfaces/FloorplanImagePosition.html +4 -0
  284. package/docs/interfaces/FloorplanObserver.html +9 -0
  285. package/docs/interfaces/FloorplanOutlineItem.html +6 -0
  286. package/docs/interfaces/FloorplanPosition.html +4 -0
  287. package/docs/interfaces/FloorplanRoomItem.html +24 -0
  288. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -0
  289. package/docs/interfaces/FloorplanServerBounding.html +9 -0
  290. package/docs/interfaces/FloorplanServerComputedData.html +6 -0
  291. package/docs/interfaces/FloorplanServerData.html +5 -0
  292. package/docs/interfaces/FloorplanServerDoorItem.html +6 -0
  293. package/docs/interfaces/FloorplanServerDoorPosition.html +4 -0
  294. package/docs/interfaces/FloorplanServerEntrance.html +14 -0
  295. package/docs/interfaces/FloorplanServerFloorData.html +8 -0
  296. package/docs/interfaces/FloorplanServerImagePosition.html +4 -0
  297. package/docs/interfaces/FloorplanServerObserver.html +9 -0
  298. package/docs/interfaces/FloorplanServerOutlineItem.html +7 -0
  299. package/docs/interfaces/FloorplanServerPosition.html +4 -0
  300. package/docs/interfaces/FloorplanServerRoomItem.html +27 -0
  301. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -0
  302. package/docs/interfaces/FloorplanServerStyledFloorplan.html +3 -0
  303. package/docs/interfaces/FloorplanServerStyledImage.html +6 -0
  304. package/docs/interfaces/GlobalProgress.html +7 -0
  305. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -0
  306. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +7 -0
  307. package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -0
  308. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +5 -0
  309. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -0
  310. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -0
  311. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +32 -0
  312. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +4 -0
  313. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +5 -0
  314. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +42 -0
  315. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -0
  316. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +57 -0
  317. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -0
  318. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -0
  319. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -0
  320. package/docs/interfaces/GuideLinePluginType.Route.html +13 -0
  321. package/docs/interfaces/HelperOffset.html +4 -0
  322. package/docs/interfaces/ImagePlaneGroup.html +3 -0
  323. package/docs/interfaces/ItemLabelPluginData.html +2 -0
  324. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +7 -0
  325. package/docs/interfaces/ItemLabelPluginParametersType.html +5 -0
  326. package/docs/interfaces/LegacyScriptTransformer.html +2 -0
  327. package/docs/interfaces/MeasureV2.EdgeSnapOptions.html +19 -0
  328. package/docs/interfaces/MeasureV2.MagnifierViewport.html +20 -0
  329. package/docs/interfaces/MeasureV2.MeasureMagnifierOptions.html +28 -0
  330. package/docs/interfaces/MeasureV2.ResolvedEdgeSnapOptions.html +11 -0
  331. package/docs/interfaces/MinMax.html +3 -0
  332. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -0
  333. package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -0
  334. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -0
  335. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -0
  336. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -0
  337. package/docs/interfaces/ModelItemLabelPluginData.html +2 -0
  338. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +7 -0
  339. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -0
  340. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +17 -0
  341. package/docs/interfaces/ModelMakerPluginType.EventMap.html +18 -0
  342. package/docs/interfaces/ModelMakerPluginType.ModelMakerPluginConfig.html +19 -0
  343. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +23 -0
  344. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +11 -0
  345. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +10 -0
  346. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -0
  347. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +10 -0
  348. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +10 -0
  349. package/docs/interfaces/ModelMakerPluginType.State.html +8 -0
  350. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +11 -0
  351. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -0
  352. package/docs/interfaces/ModelTVVideoPluginData.html +5 -0
  353. package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -0
  354. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -0
  355. package/docs/interfaces/ModelViewPluginExportType.html +8 -0
  356. package/docs/interfaces/Object3DHelperState.html +4 -0
  357. package/docs/interfaces/ObjectHelperControllers.html +5 -0
  358. package/docs/interfaces/PaintBrushAction.html +14 -0
  359. package/docs/interfaces/PaintBrushConfigs.html +8 -0
  360. package/docs/interfaces/PaintBrushState.html +6 -0
  361. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +16 -0
  362. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -0
  363. package/docs/interfaces/PanoMeasureParameterType.html +21 -0
  364. package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -0
  365. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -0
  366. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -0
  367. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -0
  368. package/docs/interfaces/PanoMeasurePluginV2Data.html +2 -0
  369. package/docs/interfaces/PanoMeasurePluginV2ServerData.html +2 -0
  370. package/docs/interfaces/PanoRulerPluginExportType.html +6 -0
  371. package/docs/interfaces/PanoRulerPluginOptions.html +3 -0
  372. package/docs/interfaces/PanoRulerPluginParameterType.html +4 -0
  373. package/docs/interfaces/PanoRulerProPluginExportType.html +5 -0
  374. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -0
  375. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -0
  376. package/docs/interfaces/PanoRulerProPluginState.html +4 -0
  377. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -0
  378. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -0
  379. package/docs/interfaces/PanoSpatialTagPluginData.html +7 -0
  380. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +6 -0
  381. package/docs/interfaces/PanoSpatialTagPluginExportType.html +9 -0
  382. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +6 -0
  383. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +9 -0
  384. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +7 -0
  385. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +6 -0
  386. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -0
  387. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -0
  388. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -0
  389. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +15 -0
  390. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -0
  391. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +14 -0
  392. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +13 -0
  393. package/docs/interfaces/PlaybackController.html +4 -0
  394. package/docs/interfaces/PlaybackManager.html +2 -0
  395. package/docs/interfaces/PlaybackSession.html +5 -0
  396. package/docs/interfaces/PluginEventMap.html +16 -0
  397. package/docs/interfaces/Point.html +4 -0
  398. package/docs/interfaces/ProgressBarEvents.html +7 -0
  399. package/docs/interfaces/Room.html +5 -0
  400. package/docs/interfaces/RoomInfo.html +3 -0
  401. package/docs/interfaces/RoomLabel.html +16 -0
  402. package/docs/interfaces/RoomRules.html +1 -0
  403. package/docs/interfaces/Rooms.html +1 -0
  404. package/docs/interfaces/Scissor.html +13 -0
  405. package/docs/interfaces/SculptConfig.html +19 -0
  406. package/docs/interfaces/State.html +7 -0
  407. package/docs/interfaces/StyledFloorplan.html +3 -0
  408. package/docs/interfaces/StyledFloorplanImage.html +6 -0
  409. package/docs/interfaces/StyledFloorplanRoomLabel.html +8 -0
  410. package/docs/interfaces/TagCacheInterface.html +9 -0
  411. package/docs/interfaces/TagConfig.html +189 -0
  412. package/docs/interfaces/TagGLTFObjectGroup.html +3 -0
  413. package/docs/interfaces/TagIconAnimationConfig.html +7 -0
  414. package/docs/interfaces/TagIconUrl.html +22 -0
  415. package/docs/interfaces/TagObjectGroup.html +3 -0
  416. package/docs/interfaces/TagState.html +3 -0
  417. package/docs/interfaces/TagStyle.html +17 -0
  418. package/docs/interfaces/Tags.html +8 -0
  419. package/docs/interfaces/TemporaryState.html +2 -0
  420. package/docs/interfaces/TraceManager.html +6 -0
  421. package/docs/interfaces/TracePoint.html +3 -0
  422. package/docs/interfaces/Util.AdaptiveReadWindowOptions.html +10 -0
  423. package/docs/interfaces/Util.AnimeInstance.html +14 -0
  424. package/docs/interfaces/Util.BlinkAnimeOptions.html +21 -0
  425. package/docs/interfaces/Util.EventHandlerConfig.html +21 -0
  426. package/docs/interfaces/Util.FiveDomEvent.html +7 -0
  427. package/docs/interfaces/Util.FiveDomEventMap.html +20 -0
  428. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +4 -0
  429. package/docs/interfaces/Util.MagnifierParameter.html +22 -0
  430. package/docs/interfaces/Util.MouseGroupParameter.html +4 -0
  431. package/docs/interfaces/Util.ObjectInitialState.html +9 -0
  432. package/docs/interfaces/Util.PointIntersection.html +21 -0
  433. package/docs/interfaces/Util.PointSelectorHelperConfig.html +6 -0
  434. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +27 -0
  435. package/docs/modules/AreaMakerPluginType.html +17 -0
  436. package/docs/modules/CruisePluginTypes.html +14 -0
  437. package/docs/modules/CurrentPanoImagePluginType.html +6 -0
  438. package/docs/modules/DigitalPerformanceV2.html +22 -0
  439. package/docs/modules/GuideLineItem.html +2 -0
  440. package/docs/modules/GuideLineModeItem.html +3 -0
  441. package/docs/modules/GuideLinePluginType.html +25 -0
  442. package/docs/modules/MeasureV2.html +22 -0
  443. package/docs/modules/ModelMakerPluginType.html +22 -0
  444. package/docs/modules/PanoVideoPluginType.html +8 -0
  445. package/docs/modules/SculptData.html +9 -0
  446. package/docs/modules/SculptType.html +2 -0
  447. package/docs/modules/Util.html +92 -0
  448. package/docs/modules/Util.sculpt.html +27 -0
  449. package/docs/modules.html +390 -0
  450. package/docs/types/AddObject3DHelperConfig.html +19 -0
  451. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +7 -0
  452. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -0
  453. package/docs/types/AreaMakerPluginType.PluginData.html +2 -0
  454. package/docs/types/AreaMakerPluginType.ServerData.html +2 -0
  455. package/docs/types/ArrayPosition.html +1 -0
  456. package/docs/types/AudioAppearance.html +1 -0
  457. package/docs/types/BoxTag.html +2 -0
  458. package/docs/types/CSS3DRenderExportType.html +1 -0
  459. package/docs/types/CSS3DRenderPluginExportType.html +1 -0
  460. package/docs/types/CSS3DRenderPluginParameterType.html +1 -0
  461. package/docs/types/CanonicalMovementTrackPlan.html +1 -0
  462. package/docs/types/ClassFunctionParameters.html +1 -0
  463. package/docs/types/Color.html +1 -0
  464. package/docs/types/ContentTypeConfigKey.html +1 -0
  465. package/docs/types/ContentTypeConfigKeySplit.html +1 -0
  466. package/docs/types/ContentTypeMap.html +1 -0
  467. package/docs/types/Create3DDomContainerReturnType.html +1 -0
  468. package/docs/types/Create3DElementReturnType.html +1 -0
  469. package/docs/types/CruisePluginExportType.html +1 -0
  470. package/docs/types/CruisePluginTypes.CruiseData.html +6 -0
  471. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -0
  472. package/docs/types/CurrentPanoImagePluginExportType.html +1 -0
  473. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -0
  474. package/docs/types/DeprecatedTagProperty.html +3 -0
  475. package/docs/types/DigitalPerformancePluginExportInterface.html +1 -0
  476. package/docs/types/DigitalPerformancePluginParamsInterface.html +1 -0
  477. package/docs/types/DigitalPerformanceV2.CameraCoordinateSpace.html +7 -0
  478. package/docs/types/DigitalPerformanceV2.CameraTransition.html +7 -0
  479. package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginExportInterface.html +1 -0
  480. package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginParamsInterface.html +1 -0
  481. package/docs/types/DigitalPerformanceV2.V2ProgressListener.html +1 -0
  482. package/docs/types/Direction-1.html +1 -0
  483. package/docs/types/Direction4.html +1 -0
  484. package/docs/types/ElementRenderer.html +2 -0
  485. package/docs/types/FireModelType.html +5 -0
  486. package/docs/types/FireSequenceKind.html +3 -0
  487. package/docs/types/FireSpreadBounds.html +2 -0
  488. package/docs/types/FloorplanAffineTransform.html +1 -0
  489. package/docs/types/FloorplanGuidePluginParameterType.html +1 -0
  490. package/docs/types/FloorplanGuidePluginReturnType.html +1 -0
  491. package/docs/types/FloorplanRuleLabels.html +2 -0
  492. package/docs/types/FloorplanServerAffineTransform.html +1 -0
  493. package/docs/types/FloorplanServerRuleLabels.html +1 -0
  494. package/docs/types/GuideLinePluginExportType.html +1 -0
  495. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -0
  496. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -0
  497. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -0
  498. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -0
  499. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -0
  500. package/docs/types/GuideLinePluginType.PathItem.html +2 -0
  501. package/docs/types/GuideLinePluginType.PluginData.html +2 -0
  502. package/docs/types/GuideLinePluginType.RouteConfig.html +4 -0
  503. package/docs/types/HelperEventMap.html +1 -0
  504. package/docs/types/InternalHelperEventMap.html +1 -0
  505. package/docs/types/KeyframeType.html +1 -0
  506. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -0
  507. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -0
  508. package/docs/types/MaskPosition.html +3 -0
  509. package/docs/types/MaskTag.html +2 -0
  510. package/docs/types/MeasureInteractionState.html +2 -0
  511. package/docs/types/MeasureV2.MeasureControllerV2Interface.html +1 -0
  512. package/docs/types/MeasureV2.MeasureEndReason.html +1 -0
  513. package/docs/types/MeasureV2.MeasurePluginConfig.html +10 -0
  514. package/docs/types/MeasureV2.MeasurePluginEventMap.html +1 -0
  515. package/docs/types/MeasureV2.MeasurePluginV2Config.html +6 -0
  516. package/docs/types/MeasureV2.MeasurePluginV2ParamsInterface.html +1 -0
  517. package/docs/types/MediaData.html +2 -0
  518. package/docs/types/MediaOperations.html +1 -0
  519. package/docs/types/MediaStore.html +1 -0
  520. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -0
  521. package/docs/types/ModelFloorplanPluginParameterType.html +1 -0
  522. package/docs/types/ModelFloorplanPluginReturnType.html +1 -0
  523. package/docs/types/ModelId.html +1 -0
  524. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -0
  525. package/docs/types/ModelMakerPluginType.ItemType.html +2 -0
  526. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -0
  527. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -0
  528. package/docs/types/ModelMakerPluginType.TagOcclusionScope.html +2 -0
  529. package/docs/types/ModelMakerPluginType.TagOcclusionScopeConfig.html +2 -0
  530. package/docs/types/ModelRoomLabelPluginParameters.html +1 -0
  531. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -0
  532. package/docs/types/MoveArgs.html +2 -0
  533. package/docs/types/MoveOpts.html +2 -0
  534. package/docs/types/MovementConfig.html +1 -0
  535. package/docs/types/MovementPosition.html +1 -0
  536. package/docs/types/MovementTrackClassification.html +1 -0
  537. package/docs/types/MovementTrackConflictReason.html +1 -0
  538. package/docs/types/MovementTrackProjection.html +1 -0
  539. package/docs/types/Object3DHelperEventMap.html +1 -0
  540. package/docs/types/ObjectFit.html +1 -0
  541. package/docs/types/PaintBrushEventMap.html +1 -0
  542. package/docs/types/PanoCompassPluginData.html +1 -0
  543. package/docs/types/PanoCompassPluginExportType.html +1 -0
  544. package/docs/types/PanoCompassPluginParameterType.html +1 -0
  545. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -0
  546. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -0
  547. package/docs/types/PanoIndex.html +1 -0
  548. package/docs/types/PanoMeasurePluginEvent.html +1 -0
  549. package/docs/types/PanoMeasurePluginV2Config.html +3 -0
  550. package/docs/types/PanoMeasurePluginV2Instance.html +1 -0
  551. package/docs/types/PanoMeasureReturnType.html +1 -0
  552. package/docs/types/PanoSpatialTagPluginId.html +1 -0
  553. package/docs/types/PanoTagPluginExportInterface.html +1 -0
  554. package/docs/types/PanoTagPluginParamsInterface.html +1 -0
  555. package/docs/types/PanoVideoPluginParameterType.html +1 -0
  556. package/docs/types/PanoVideoPluginReturnType.html +1 -0
  557. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -0
  558. package/docs/types/PipelinePluginParameterType.html +1 -0
  559. package/docs/types/PipelinePluginReturnType.html +1 -0
  560. package/docs/types/PlaneTag.html +2 -0
  561. package/docs/types/Point2DTag.html +2 -0
  562. package/docs/types/Point3DTag.html +2 -0
  563. package/docs/types/PointAction.html +1 -0
  564. package/docs/types/PointTagInstance.html +1 -0
  565. package/docs/types/PolygonPosition.html +3 -0
  566. package/docs/types/PolygonTag.html +2 -0
  567. package/docs/types/Position.html +1 -0
  568. package/docs/types/PositionFrom.html +1 -0
  569. package/docs/types/ProgressListener.html +1 -0
  570. package/docs/types/RotateArgs.html +2 -0
  571. package/docs/types/RotateOpts.html +2 -0
  572. package/docs/types/RuleLabelsKey.html +1 -0
  573. package/docs/types/RuleLabelsValue.html +1 -0
  574. package/docs/types/ScaleCallback.html +1 -0
  575. package/docs/types/ScalePosition.html +3 -0
  576. package/docs/types/SculptData.BoxData.html +1 -0
  577. package/docs/types/SculptData.CircleData.html +1 -0
  578. package/docs/types/SculptData.CylinderData.html +1 -0
  579. package/docs/types/SculptData.PointData.html +1 -0
  580. package/docs/types/SculptData.PolygonData.html +1 -0
  581. package/docs/types/SculptData.PolylineData.html +1 -0
  582. package/docs/types/SculptData.PrismData.html +1 -0
  583. package/docs/types/SculptData.RectangleData.html +1 -0
  584. package/docs/types/SculptType.Theme.html +10 -0
  585. package/docs/types/StateType.html +1 -0
  586. package/docs/types/StickType.html +1 -0
  587. package/docs/types/Tag.html +17 -0
  588. package/docs/types/Tag2D.html +2 -0
  589. package/docs/types/Tag3D.html +2 -0
  590. package/docs/types/TagClickParams.html +1 -0
  591. package/docs/types/TagConfigByKey.html +1 -0
  592. package/docs/types/TagContentType.html +1 -0
  593. package/docs/types/TagContentTypeMapping.html +1 -0
  594. package/docs/types/TagDimensionType.html +1 -0
  595. package/docs/types/TagElement.html +2 -0
  596. package/docs/types/TagEvents.html +1 -0
  597. package/docs/types/TagGLTFObject.html +1 -0
  598. package/docs/types/TagHooks.html +1 -0
  599. package/docs/types/TagId.html +1 -0
  600. package/docs/types/TagInstance.html +1 -0
  601. package/docs/types/TagPlacement.html +5 -0
  602. package/docs/types/TagPointType.html +2 -0
  603. package/docs/types/TagRendererMap.html +1 -0
  604. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -0
  605. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -0
  606. package/docs/types/TrackPoint.html +1 -0
  607. package/docs/types/Util.ActionIfNoIntersection.html +1 -0
  608. package/docs/types/Util.AdherePoint.html +2 -0
  609. package/docs/types/Util.PointSelectorConfig.html +1 -0
  610. package/docs/types/Util.SupportedTarget.html +2 -0
  611. package/docs/types/Util.Target.html +2 -0
  612. package/docs/types/Util.ThreeObject.html +2 -0
  613. package/docs/types/WorkCode.html +1 -0
  614. package/docs/variables/DigitalPerformanceV2.DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH.html +1 -0
  615. package/docs/variables/FIRE_ACTION_DURATION_MS.html +2 -0
  616. package/docs/variables/FIRE_SPREAD_SPEED.html +2 -0
  617. package/docs/variables/FLOOR_TYPE_MAP.html +2 -0
  618. package/docs/variables/MODEL_SCALE_RANGE.html +2 -0
  619. package/docs/variables/MOVEMENT_OCCURRENCE_EPSILON.html +1 -0
  620. package/docs/variables/MOVEMENT_POSITION_EPSILON.html +1 -0
  621. package/docs/variables/MOVEMENT_SCHEMA_VERSION.html +1 -0
  622. package/docs/variables/MeasureV2.DEFAULT_EDGE_SNAP_OPTIONS.html +1 -0
  623. package/docs/variables/MeasureV2.OVERLAY_STYLE.html +14 -0
  624. package/docs/variables/PLUGIN.html +1 -0
  625. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -0
  626. package/docs/variables/ROOM_TYPE_MAP.html +2 -0
  627. package/docs/variables/Util.ANIME_PRESETS.html +2 -0
  628. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -0
  629. package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -0
  630. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -0
  631. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -0
  632. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -0
  633. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -0
  634. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -0
  635. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -0
  636. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -0
  637. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -0
  638. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -0
  639. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -0
  640. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -0
  641. package/docs/variables/defaultGlobalConfig.html +1 -0
  642. package/docs/variables/itemLabelPluginServerParams.html +1 -0
  643. package/docs/variables/modelItemLabelPluginServerParams.html +1 -0
  644. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -0
  645. package/libs/MeasurePlugin/Controller.js +161 -161
  646. package/libs/MeasurePlugin/index.js +6 -4
  647. package/libs/MeasurePluginV2/Controller.js +35 -43
  648. package/libs/MeasurePluginV2/Magnifier.d.ts +1 -0
  649. package/libs/MeasurePluginV2/Magnifier.js +20 -12
  650. package/libs/MeasurePluginV2/PointSelector.js +78 -78
  651. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +5 -2
  652. package/libs/PanoMeasurePlugin/Controller/EditController.js +46 -42
  653. package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +1 -0
  654. package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +13 -10
  655. package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -0
  656. package/libs/PanoMeasurePlugin/Controller/WatchController.js +4 -1
  657. package/libs/PanoMeasurePlugin/Controller/index.d.ts +2 -0
  658. package/libs/PanoMeasurePlugin/Controller/index.js +4 -1
  659. package/libs/PanoMeasurePluginV2/Controller.d.ts +8 -1
  660. package/libs/PanoMeasurePluginV2/Controller.js +51 -44
  661. package/libs/PanoMeasurePluginV2/PointSelector.d.ts +2 -1
  662. package/libs/PanoMeasurePluginV2/PointSelector.js +51 -48
  663. package/libs/PanoMeasurePluginV2/ShortcutKeyController.d.ts +5 -0
  664. package/libs/PanoMeasurePluginV2/ShortcutKeyController.js +25 -0
  665. package/libs/PanoMeasurePluginV2/controllers.d.ts +28 -2
  666. package/libs/PanoMeasurePluginV2/controllers.js +217 -49
  667. package/libs/base/BasePlugin.js +1 -1
  668. package/libs/index.js +199 -196
  669. package/libs/shared-utils/logger.js +1 -1
  670. package/libs/shared-utils/three/EndpointPointerGesture.d.ts +31 -0
  671. package/libs/shared-utils/three/EndpointPointerGesture.js +74 -0
  672. package/libs/shared-utils/three/measureDrawing.d.ts +4 -0
  673. package/libs/shared-utils/three/measureDrawing.js +11 -0
  674. package/package.json +1 -1
@@ -1,41 +1,43 @@
1
- var V = Object.defineProperty, U = Object.defineProperties;
2
- var A = Object.getOwnPropertyDescriptors;
3
- var F = Object.getOwnPropertySymbols;
4
- var T = Object.prototype.hasOwnProperty, z = Object.prototype.propertyIsEnumerable;
5
- var D = (y, f, e) => f in y ? V(y, f, { enumerable: !0, configurable: !0, writable: !0, value: e }) : y[f] = e, p = (y, f) => {
6
- for (var e in f || (f = {}))
7
- T.call(f, e) && D(y, e, f[e]);
8
- if (F)
9
- for (var e of F(f))
10
- z.call(f, e) && D(y, e, f[e]);
1
+ var T = Object.defineProperty, A = Object.defineProperties;
2
+ var N = Object.getOwnPropertyDescriptors;
3
+ var x = Object.getOwnPropertySymbols;
4
+ var V = Object.prototype.hasOwnProperty, z = Object.prototype.propertyIsEnumerable;
5
+ var k = (y, u, e) => u in y ? T(y, u, { enumerable: !0, configurable: !0, writable: !0, value: e }) : y[u] = e, c = (y, u) => {
6
+ for (var e in u || (u = {}))
7
+ V.call(u, e) && k(y, e, u[e]);
8
+ if (x)
9
+ for (var e of x(u))
10
+ z.call(u, e) && k(y, e, u[e]);
11
11
  return y;
12
- }, E = (y, f) => U(y, A(f));
13
- var o = (y, f, e) => (D(y, typeof f != "symbol" ? f + "" : f, e), e);
14
- import * as u from "three";
12
+ }, E = (y, u) => A(y, N(u));
13
+ var o = (y, u, e) => (k(y, typeof u != "symbol" ? u + "" : u, e), e);
14
+ import * as I from "three";
15
15
  import "../shared-utils/tag.js";
16
16
  import "../vendor/hammerjs/hammer.js";
17
- import { Subscribe as O } from "../shared-utils/Subscribe.js";
18
- import { PointSelector as N } from "../shared-utils/three/PointSelector/index.js";
19
- import { getObjectVisible as G } from "../shared-utils/three/getObjectVisible.js";
17
+ import { Subscribe as W } from "../shared-utils/Subscribe.js";
18
+ import { PointSelector as G } from "../shared-utils/three/PointSelector/index.js";
19
+ import { getObjectVisible as X } from "../shared-utils/three/getObjectVisible.js";
20
20
  import "../shared-utils/three/CSS3DRenderer/index.js";
21
21
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
22
- import { LineMesh as k } from "../Sculpt/Meshes/Line.js";
22
+ import { LineMesh as F } from "../Sculpt/Meshes/Line.js";
23
23
  import "../shared-utils/three/core/Sphere.js";
24
24
  import "../shared-utils/three/blink.js";
25
25
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
26
26
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
27
27
  import "../vendor/earcut/src/earcut.js";
28
- import { FiveDomEvents as W } from "../shared-utils/five/FiveDomEvents.js";
28
+ import { FiveDomEvents as Y } from "../shared-utils/five/FiveDomEvents.js";
29
29
  import "../shared-utils/five/FivePuppet.js";
30
- import { isMeasureMesh as w, MeasureMesh as x } from "./utils/MeasureMesh.js";
31
- import { PointMesh as H } from "../Sculpt/Meshes/Point.js";
32
- import { LineWithDotsMesh as X } from "../Sculpt/Meshes/LineWithDots.js";
30
+ import { isMeasureMesh as R, MeasureMesh as H } from "./utils/MeasureMesh.js";
31
+ import { PointMesh as B } from "../Sculpt/Meshes/Point.js";
32
+ import { LineWithDotsMesh as j } from "../Sculpt/Meshes/LineWithDots.js";
33
33
  import { hotkeys as m } from "../vendor/hotkeys-js/dist/hotkeys.esm.js";
34
- import { PolygonMesh as Y } from "../Sculpt/Meshes/Polygon.js";
35
- import { validatePolygon as j } from "./utils/validatePolygon.js";
36
- import { IObject3D as $ } from "../shared-utils/three/IObject3D.js";
37
- import { Cursor as K } from "../Sculpt/utils/Modules/Cursor.js";
38
- import { THREERaycaster as q } from "../shared-utils/three/core/Raycaster.js";
34
+ import { PolygonMesh as $ } from "../Sculpt/Meshes/Polygon.js";
35
+ import { validatePolygon as K } from "./utils/validatePolygon.js";
36
+ import { IObject3D as q } from "../shared-utils/three/IObject3D.js";
37
+ import { Cursor as J } from "../Sculpt/utils/Modules/Cursor.js";
38
+ import { THREERaycaster as Q } from "../shared-utils/three/core/Raycaster.js";
39
+ import { getMeasureAxes as Z, getMeasureCorner as U } from "../shared-utils/three/measureDrawing.js";
40
+ import { ENDPOINT_TOUCH_RADIUS as ee, ENDPOINT_MOUSE_RADIUS as te, ENDPOINT_HOLD_MS as ne, ENDPOINT_HOLD_MOVE as ie } from "../shared-utils/three/EndpointPointerGesture.js";
39
41
  import "../shared-utils/positionToVector3.js";
40
42
  import "../shared-utils/five/vector3ToScreen.js";
41
43
  import "../shared-utils/five/getFiveModel.js";
@@ -97,7 +99,7 @@ import "../shared-utils/three/geometryUtil.js";
97
99
  import "../shared-utils/three/vectorIsEqual.js";
98
100
  import "../Sculpt/utils/Modules/DeleteButtonBgBorder.js";
99
101
  import "../Sculpt/utils/Modules/DeleteIconSVG.js";
100
- class Ct extends O {
102
+ class Tt extends W {
101
103
  constructor(e, t) {
102
104
  super();
103
105
  o(this, "name", "MeasurePlugin");
@@ -151,105 +153,107 @@ class Ct extends O {
151
153
  */
152
154
  o(this, "unselectAllMeasureMeshes", () => {
153
155
  this.group.children.forEach((e) => {
154
- w(e) && e.unselect();
156
+ R(e) && e.unselect();
155
157
  });
156
158
  });
157
159
  /**
158
160
  * @description 开始测量
159
161
  */
160
162
  o(this, "measure", () => {
161
- var _;
163
+ var v;
162
164
  if (this.currentMeasureMesh)
163
165
  return;
164
- (_ = this.cleanupPendingPress) == null || _.call(this), this.repositioningState && this.cancelRepositioning(), this.listener.addMeasureListener(), m.unbind("delete, backspace", this.deleteSelectedMesh), this.unselectAllMeasureMeshes(), this.cursor.removeDeleteButton();
165
- let e = new x({
166
+ (v = this.cleanupPendingPress) == null || v.call(this), this.repositioningState && this.cancelRepositioning(), this.listener.addMeasureListener(), m.unbind("delete, backspace", this.deleteSelectedMesh), this.unselectAllMeasureMeshes(), this.cursor.removeDeleteButton();
167
+ let e = new H({
166
168
  lineStyle: this.lineStyle,
167
169
  polygonStyle: this.polygonStyle
168
170
  });
169
171
  this.currentMeasureMesh = e, e.line.setStyle({ cssStyle: "pointer-events: none;" }), this.pointSelector.actionIfNoIntersection = "disable", this.updateSelectAdsorbedHelper();
170
- const t = new H({ occlusionMode: "depthTest", occlusionVisibility: !0 }), n = new X(E(p({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), i = new Y(this.polygonStyle), r = new k(E(p({}, this.lineStyle), {
172
+ const t = new B({ occlusionMode: "depthTest", occlusionVisibility: !0 }), n = new j(E(c({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), i = new $(this.polygonStyle), r = new F(E(c({}, this.lineStyle), {
171
173
  lineOpacity: 0.5,
172
174
  lineColor: 3407837,
173
175
  dashed: !0,
174
176
  cssStyle: "pointer-events: none; opacity: 0.5;"
175
- })), a = new k(E(p({}, this.lineStyle), {
177
+ })), h = new F(E(c({}, this.lineStyle), {
176
178
  lineOpacity: 0.5,
177
179
  lineColor: 3407837,
178
180
  dashed: !0,
179
181
  cssStyle: "pointer-events: none; opacity: 0.5;"
180
- })), l = new H({ occlusionMode: "depthTest", occlusionVisibility: !0, color: 3407837, opacity: 0.5 });
181
- let s = null, d = !1, v = !1;
182
- const g = (h) => {
183
- h.key === "Shift" && (v = !0);
184
- }, M = (h) => {
185
- h.key === "Shift" && (v = !1);
186
- }, P = () => {
187
- t.removeFromParent(), n.removeFromParent(), i.removeFromParent(), r.removeFromParent(), a.removeFromParent(), l.removeFromParent();
182
+ })), l = new B({ occlusionMode: "depthTest", occlusionVisibility: !0, color: 3407837, opacity: 0.5 });
183
+ let s = null, d = !1, g = !1;
184
+ const f = (a) => {
185
+ a.key === "Shift" && (g = !0);
186
+ }, M = (a) => {
187
+ a.key === "Shift" && (g = !1);
188
+ }, _ = () => {
189
+ g = !1;
190
+ }, S = () => {
191
+ t.removeFromParent(), n.removeFromParent(), i.removeFromParent(), r.removeFromParent(), h.removeFromParent(), l.removeFromParent();
188
192
  };
189
- this.group.add(e), document.addEventListener("keydown", g), document.addEventListener("keyup", M);
190
- const b = (h) => {
191
- if (!h) {
192
- P(), s = null, d = !1;
193
+ this.group.add(e), document.addEventListener("keydown", f), document.addEventListener("keyup", M), window.addEventListener("blur", _);
194
+ const b = (a) => {
195
+ if (!a) {
196
+ S(), s = null, d = !1;
193
197
  return;
194
198
  }
195
- if (e.points.length === 0 && (this.pointSelector.actionIfNoIntersection = "disable", this.group.addIfNotExists(t), t.position.copy(h.point), s = null, d = !1), e.points.length >= 1)
196
- if (this.pointSelector.actionIfNoIntersection = "virtualPoint", t.removeFromParent(), this.group.addIfNotExists(n), n.setStyle(E(p({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), n.setPoints([e.points.at(-1), h.point]), h.isAdsorbed)
197
- r.removeFromParent(), a.removeFromParent(), l.removeFromParent(), s = null, d = !1;
199
+ if (e.points.length === 0 && (this.pointSelector.actionIfNoIntersection = "disable", this.group.addIfNotExists(t), t.position.copy(a.point), s = null, d = !1), e.points.length >= 1)
200
+ if (this.pointSelector.actionIfNoIntersection = "virtualPoint", t.removeFromParent(), this.group.addIfNotExists(n), n.setStyle(E(c({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), n.setPoints([e.points.at(-1), a.point]), a.isAdsorbed)
201
+ r.removeFromParent(), h.removeFromParent(), l.removeFromParent(), s = null, d = !1;
198
202
  else {
199
- const c = e.points.at(-1);
200
- if (Math.abs(h.point.y - c.y) > 0.2) {
201
- const S = new u.Vector3(h.point.x, c.y, h.point.z);
202
- r.setStyle(E(p({}, this.lineStyle), {
203
+ const p = e.points.at(-1);
204
+ if (Math.abs(a.point.y - p.y) > 0.2) {
205
+ const P = U(p, a.point);
206
+ r.setStyle(E(c({}, this.lineStyle), {
203
207
  lineOpacity: 0.5,
204
208
  lineColor: 3407837,
205
209
  dashed: !0,
206
210
  cssStyle: "pointer-events: none; opacity: 0.5;"
207
- })), a.setStyle(E(p({}, this.lineStyle), {
211
+ })), h.setStyle(E(c({}, this.lineStyle), {
208
212
  lineOpacity: 0.5,
209
213
  lineColor: 3407837,
210
214
  dashed: !0,
211
215
  cssStyle: "pointer-events: none; opacity: 0.5;"
212
- })), r.setPoints([c, S]), a.setPoints([S, h.point]), l.position.copy(S), s = S.clone(), d = !0;
216
+ })), r.setPoints([p, P]), h.setPoints([P, a.point]), l.position.copy(P), s = P.clone(), d = !0;
213
217
  } else {
214
- let S = new u.Vector3();
215
- Math.abs(h.point.x - c.x) < Math.abs(h.point.z - c.z) ? S = new u.Vector3(h.point.x, c.y, c.z) : S = new u.Vector3(c.x, c.y, h.point.z), r.setStyle(E(p({}, this.lineStyle), {
218
+ const P = U(p, a.point);
219
+ r.setStyle(E(c({}, this.lineStyle), {
216
220
  lineOpacity: 0.5,
217
221
  lineColor: 3407837,
218
222
  dashed: !0,
219
223
  cssStyle: "pointer-events: none; opacity: 0.5;"
220
- })), a.setStyle(E(p({}, this.lineStyle), {
224
+ })), h.setStyle(E(c({}, this.lineStyle), {
221
225
  lineOpacity: 0.5,
222
226
  lineColor: 3407837,
223
227
  dashed: !0,
224
228
  cssStyle: "pointer-events: none; opacity: 0.5;"
225
- })), r.setPoints([c, S]), a.setPoints([S, h.point]), l.position.copy(S), s = S.clone(), d = !0;
229
+ })), r.setPoints([p, P]), h.setPoints([P, a.point]), l.position.copy(P), s = P.clone(), d = !0;
226
230
  }
227
- this.group.addIfNotExists(r, a, l);
231
+ this.group.addIfNotExists(r, h, l);
228
232
  }
229
233
  if (e.points.length >= 2) {
230
- const c = [...e.points, h.point];
231
- j(c) ? (i.setStyle(p({}, this.polygonStyle)), i.setPoints(c), this.group.addIfNotExists(i)) : i.removeFromParent();
234
+ const p = [...e.points, a.point];
235
+ K(p) ? (i.setStyle(c({}, this.polygonStyle)), i.setPoints(p), this.group.addIfNotExists(i)) : i.removeFromParent();
232
236
  }
233
- }, L = (h) => {
234
- if (!h)
237
+ }, L = (a) => {
238
+ if (!a)
235
239
  return;
236
- let c = h.point;
237
- v && d && s && e.points.length >= 1 && (c = s.clone()), P(), e.setPoints([...e.points, c]), this.updateSelectAdsorbedHelper(), this.publishInteraction("drawing"), e.isPolygon && (this.currentEndReason = "polygon", this.pointSelector.disable());
238
- }, R = () => {
239
- var h, c;
240
- e == null || e.setPoints(e.points.slice(0, -1)), P(), (c = (h = this.pointSelector.pointSelectorHelper) == null ? void 0 : h.magnifier) == null || c.render(), this.updateSelectAdsorbedHelper(), this.publishInteraction("drawing"), this.five.needsRender = !0;
241
- }, I = (h) => {
240
+ let p = a.point;
241
+ g && d && s && e.points.length >= 1 && (p = s.clone()), S(), e.setPoints([...e.points, p]), this.updateSelectAdsorbedHelper(), this.publishInteraction("drawing"), e.isPolygon && (this.currentEndReason = "polygon", this.pointSelector.disable());
242
+ }, w = () => {
243
+ var a, p;
244
+ e == null || e.setPoints(e.points.slice(0, -1)), S(), (p = (a = this.pointSelector.pointSelectorHelper) == null ? void 0 : a.magnifier) == null || p.render(), this.updateSelectAdsorbedHelper(), this.publishInteraction("drawing"), this.five.needsRender = !0;
245
+ }, C = (a) => {
242
246
  if (this.currentMeasureMesh !== e)
243
247
  return;
244
- e.line.setStyle({ cssStyle: "pointer-events: auto;" }), e.__five_pano_index = this.five.panoIndex, this.addMeshEventListeners(e), P();
245
- const c = new x({ lineStyle: this.lineStyle, polygonStyle: this.polygonStyle });
246
- c.line.setStyle({ cssStyle: "pointer-events: none;" }), c.setPoints([h.clone()]), this.group.add(c), e = c, this.currentMeasureMesh = c, this.pointSelector.actionIfNoIntersection = "virtualPoint", this.updateSelectAdsorbedHelper(), this.five.needsRender = !0;
247
- }, C = () => {
248
- this.continueMeasureFrom = void 0, this.pointSelector.off("intersectionUpdate", b), this.pointSelector.off("select", L), this.pointSelector.off("disable", C), this.off("undo", R), document.removeEventListener("keydown", g), document.removeEventListener("keyup", M), e.line.setStyle({ cssStyle: "pointer-events: auto;" }), P();
249
- let h = this.currentEndReason, c = !0;
250
- h === "escape" ? (e.removeFromParent(), c = !1) : e.points.length < 2 ? (e.removeFromParent(), h = "points_insufficient", c = !1) : this.addMeshEventListeners(e), e.__five_pano_index = this.five.panoIndex, this.currentMeasureMesh = null, this.listener.removeMeasureListener(), m("delete, backspace", this.deleteSelectedMesh), this.publishInteraction("idle"), this.emit("measureEnd", h, c ? e.points : []), this.currentEndReason = "enter";
248
+ e.line.setStyle({ cssStyle: "pointer-events: auto;" }), e.__five_pano_index = this.five.panoIndex, this.addMeshEventListeners(e), S();
249
+ const p = new H({ lineStyle: this.lineStyle, polygonStyle: this.polygonStyle });
250
+ p.line.setStyle({ cssStyle: "pointer-events: none;" }), p.setPoints([a.clone()]), this.group.add(p), e = p, this.currentMeasureMesh = p, this.pointSelector.actionIfNoIntersection = "virtualPoint", this.updateSelectAdsorbedHelper(), this.five.needsRender = !0;
251
+ }, D = () => {
252
+ this.continueMeasureFrom = void 0, this.pointSelector.off("intersectionUpdate", b), this.pointSelector.off("select", L), this.pointSelector.off("disable", D), this.off("undo", w), document.removeEventListener("keydown", f), document.removeEventListener("keyup", M), window.removeEventListener("blur", _), e.line.setStyle({ cssStyle: "pointer-events: auto;" }), S();
253
+ let a = this.currentEndReason, p = !0;
254
+ a === "escape" ? (e.removeFromParent(), p = !1) : e.points.length < 2 ? (e.removeFromParent(), a = "points_insufficient", p = !1) : this.addMeshEventListeners(e), e.__five_pano_index = this.five.panoIndex, this.currentMeasureMesh = null, this.listener.removeMeasureListener(), m("delete, backspace", this.deleteSelectedMesh), this.publishInteraction("idle"), this.emit("measureEnd", a, p ? e.points : []), this.currentEndReason = "enter";
251
255
  };
252
- this.continueMeasureFrom = I, this.on("undo", R), this.pointSelector.on("intersectionUpdate", b), this.pointSelector.on("select", L), this.pointSelector.on("disable", C), this.pointSelector.enable(), this.publishInteraction("drawing");
256
+ this.continueMeasureFrom = C, this.on("undo", w), this.pointSelector.on("intersectionUpdate", b), this.pointSelector.on("select", L), this.pointSelector.on("disable", D), this.pointSelector.enable(), this.publishInteraction("drawing");
253
257
  });
254
258
  /**
255
259
  * @description 结束测量
@@ -287,13 +291,13 @@ class Ct extends O {
287
291
  */
288
292
  o(this, "setLengthEnable", (e) => {
289
293
  this.lineStyle.lengthEnable = e, this.polygonStyle.lengthEnable = e, this.group.children.forEach((t) => {
290
- w(t) && (t.changeConfig({
291
- lineStyle: p({}, this.lineStyle),
292
- polygonStyle: p({}, this.polygonStyle)
294
+ R(t) && (t.changeConfig({
295
+ lineStyle: c({}, this.lineStyle),
296
+ polygonStyle: c({}, this.polygonStyle)
293
297
  }), this.addMeshEventListeners(t));
294
298
  }), this.currentMeasureMesh && this.currentMeasureMesh.changeConfig({
295
- lineStyle: p({}, this.lineStyle),
296
- polygonStyle: p({}, this.polygonStyle)
299
+ lineStyle: c({}, this.lineStyle),
300
+ polygonStyle: c({}, this.polygonStyle)
297
301
  }), this.five.needsRender = !0;
298
302
  });
299
303
  /**
@@ -304,16 +308,16 @@ class Ct extends O {
304
308
  if (this._config && (this._config.unit = e), this.lineStyle.lengthUnit = e, this.polygonStyle.lengthUnit = e, this.group.children.forEach((t) => {
305
309
  try {
306
310
  t.changeConfig({
307
- lineStyle: p({}, this.lineStyle),
308
- polygonStyle: p({}, this.polygonStyle)
311
+ lineStyle: c({}, this.lineStyle),
312
+ polygonStyle: c({}, this.polygonStyle)
309
313
  }), this.addMeshEventListeners(t);
310
314
  } catch (n) {
311
315
  }
312
316
  }), this.currentMeasureMesh)
313
317
  try {
314
318
  this.currentMeasureMesh.changeConfig({
315
- lineStyle: p({}, this.lineStyle),
316
- polygonStyle: p({}, this.polygonStyle)
319
+ lineStyle: c({}, this.lineStyle),
320
+ polygonStyle: c({}, this.polygonStyle)
317
321
  });
318
322
  } catch (t) {
319
323
  }
@@ -328,16 +332,16 @@ class Ct extends O {
328
332
  if (this._config && (this._config.precision = e), this.lineStyle.precision = e, this.group.children.forEach((t) => {
329
333
  try {
330
334
  t.changeConfig({
331
- lineStyle: p({}, this.lineStyle),
332
- polygonStyle: p({}, this.polygonStyle)
335
+ lineStyle: c({}, this.lineStyle),
336
+ polygonStyle: c({}, this.polygonStyle)
333
337
  }), this.addMeshEventListeners(t);
334
338
  } catch (n) {
335
339
  }
336
340
  }), this.currentMeasureMesh)
337
341
  try {
338
342
  this.currentMeasureMesh.changeConfig({
339
- lineStyle: p({}, this.lineStyle),
340
- polygonStyle: p({}, this.polygonStyle)
343
+ lineStyle: c({}, this.lineStyle),
344
+ polygonStyle: c({}, this.polygonStyle)
341
345
  });
342
346
  } catch (t) {
343
347
  }
@@ -367,7 +371,7 @@ class Ct extends O {
367
371
  */
368
372
  o(this, "clear", () => {
369
373
  var e;
370
- (e = this.cleanupPendingPress) == null || e.call(this), this.cancelRepositioning(), this.currentMeasureMesh = null, this.pointSelector.disable(), this.group.children.filter(w).forEach(this.removeMeshEventListeners), this.group.removeChildren(), this.cursor.removeDeleteButton(), this.publishInteraction("idle");
374
+ (e = this.cleanupPendingPress) == null || e.call(this), this.cancelRepositioning(), this.currentMeasureMesh = null, this.pointSelector.disable(), this.group.children.filter(R).forEach(this.removeMeshEventListeners), this.group.removeChildren(), this.cursor.removeDeleteButton(), this.publishInteraction("idle");
371
375
  });
372
376
  o(this, "dispose", () => {
373
377
  var e, t;
@@ -381,7 +385,7 @@ class Ct extends O {
381
385
  removeClickListener: () => {
382
386
  this.group.children.forEach((e) => {
383
387
  var t, n;
384
- w(e) && ((t = e.line.doms) == null || t.forEach((i) => {
388
+ R(e) && ((t = e.line.doms) == null || t.forEach((i) => {
385
389
  i != null && i.container && (i.container.onclick = null, i.container.onmouseenter = null, i.container.onmouseleave = null);
386
390
  }), (n = e.polygon.areaDom) != null && n.container && (e.polygon.areaDom.container.onclick = null, e.polygon.areaDom.container.onmouseenter = null, e.polygon.areaDom.container.onmouseleave = null));
387
391
  }), this.fiveDomEvents.clear(), this.five.off("panoArrived", this.onMoveToPano), this.five.off("modeChange", this.onModeChange), m.unbind("delete, backspace", this.deleteSelectedMesh);
@@ -397,7 +401,7 @@ class Ct extends O {
397
401
  o(this, "onMoveToPano", (e) => {
398
402
  var i;
399
403
  (i = this.cleanupPendingPress) == null || i.call(this), this.cancelRepositioning();
400
- const t = this.group.children.filter((r) => r !== this.currentMeasureMesh && w(r)), n = new q();
404
+ const t = this.group.children.filter((r) => r !== this.currentMeasureMesh && R(r)), n = new Q();
401
405
  t.forEach((r) => {
402
406
  var l;
403
407
  if (r.unselect(), r.__five_pano_index === e) {
@@ -405,14 +409,14 @@ class Ct extends O {
405
409
  return;
406
410
  }
407
411
  ((l = r.line.points) == null ? void 0 : l.some((s) => {
408
- var L, R;
412
+ var b, L;
409
413
  const d = s.clone().sub(this.five.camera.position).normalize();
410
414
  n.set(this.five.camera.position, d);
411
- const v = (R = (L = this.five.model.intersectRaycaster(n)) == null ? void 0 : L[0]) == null ? void 0 : R.point;
412
- if (!v)
415
+ const g = (L = (b = this.five.model.intersectRaycaster(n)) == null ? void 0 : b[0]) == null ? void 0 : L.point;
416
+ if (!g)
413
417
  return !0;
414
- const g = 0.01, M = s.distanceTo(this.five.camera.position);
415
- return v.distanceTo(this.five.camera.position) + g > M;
418
+ const f = 0.01, M = s.distanceTo(this.five.camera.position);
419
+ return g.distanceTo(this.five.camera.position) + f > M;
416
420
  })) ? r.visible = !0 : r.visible = !1, this.five.needsRender = !0;
417
421
  });
418
422
  });
@@ -425,7 +429,7 @@ class Ct extends O {
425
429
  o(this, "onClick", ({ origDomEvent: e, target: t }) => {
426
430
  var s;
427
431
  const n = t;
428
- if (!w(n))
432
+ if (!R(n))
429
433
  return;
430
434
  if (n.selected) {
431
435
  n.unselect(), this.cursor.removeDeleteButton();
@@ -435,14 +439,14 @@ class Ct extends O {
435
439
  if (e && ("touches" in e && e.touches && e.touches[0] ? (i = e.touches[0].clientX, r = e.touches[0].clientY) : "clientX" in e && "clientY" in e && (i = e.clientX, r = e.clientY)), i === void 0 || r === void 0)
436
440
  return;
437
441
  this.unselectAllMeasureMeshes(), n.select();
438
- const a = () => {
442
+ const h = () => {
439
443
  this.removeMeshEventListeners(n), n.removeFromParent(), this.publishInteraction("idle"), this.cursor.removeDeleteButton(), this.five.needsRender = !0;
440
444
  }, l = ((s = this.five.getElement()) == null ? void 0 : s.parentElement) || document.body;
441
445
  this.cursor.showDeleteButton({
442
446
  clientX: i,
443
447
  clientY: r,
444
448
  container: l,
445
- onClick: a
449
+ onClick: h
446
450
  }), this.five.once("cameraUpdate", () => {
447
451
  n.unselect(), this.cursor.removeDeleteButton();
448
452
  });
@@ -487,14 +491,10 @@ class Ct extends O {
487
491
  if (this.currentMeasureMesh.points.length >= 1) {
488
492
  this.pointSelector.setAdherePoints([this.currentMeasureMesh.points[0]]);
489
493
  const e = this.currentMeasureMesh.points.at(-1);
490
- this.pointSelector.adhereLine = [
491
- new u.Line3(new u.Vector3(1, 0, 0).add(e), new u.Vector3(-1, 0, 0).add(e)),
492
- new u.Line3(new u.Vector3(0, 1, 0).add(e), new u.Vector3(0, -1, 0).add(e)),
493
- new u.Line3(new u.Vector3(0, 0, 1).add(e), new u.Vector3(0, 0, -1).add(e))
494
- ], this.pointSelector.adherePlane = [];
494
+ this.pointSelector.adhereLine = Z(e), this.pointSelector.adherePlane = [];
495
495
  }
496
496
  if (this.currentMeasureMesh.points.length >= 3) {
497
- const e = new u.Plane().setFromCoplanarPoints(
497
+ const e = new I.Plane().setFromCoplanarPoints(
498
498
  this.currentMeasureMesh.points[0],
499
499
  this.currentMeasureMesh.points[1],
500
500
  this.currentMeasureMesh.points[2]
@@ -514,16 +514,16 @@ class Ct extends O {
514
514
  if (e.button !== 0 || !e.isPrimary || this.currentMeasureMesh || this.repositioningState)
515
515
  return;
516
516
  const t = this.five.getElement().getBoundingClientRect();
517
- let n, i = e.pointerType === "touch" ? 30 : 12;
518
- for (const a of this.group.children)
519
- for (const l of a.line.pointMeshes) {
520
- if (!G(l))
517
+ let n, i = e.pointerType === "touch" ? ee : te;
518
+ for (const h of this.group.children)
519
+ for (const l of h.line.pointMeshes) {
520
+ if (!X(l))
521
521
  continue;
522
- const s = l.getWorldPosition(new u.Vector3()).project(this.five.camera);
522
+ const s = l.getWorldPosition(new I.Vector3()).project(this.five.camera);
523
523
  if (s.z < -1 || s.z > 1)
524
524
  continue;
525
- const d = t.left + (s.x + 1) * t.width / 2, v = t.top + (1 - s.y) * t.height / 2, g = Math.hypot(e.clientX - d, e.clientY - v);
526
- g <= i && (n = l, i = g);
525
+ const d = t.left + (s.x + 1) * t.width / 2, g = t.top + (1 - s.y) * t.height / 2, f = Math.hypot(e.clientX - d, e.clientY - g);
526
+ f <= i && (n = l, i = f);
527
527
  }
528
528
  n ? (r = this.endpointPressHandlers.get(n)) == null || r(e) : this.interactionResult && this.publishInteraction("idle");
529
529
  });
@@ -531,33 +531,33 @@ class Ct extends O {
531
531
  var n;
532
532
  const t = this.five.getElement();
533
533
  t !== this.endpointPointerElement && ((n = this.endpointPointerElement) == null || n.removeEventListener("pointerdown", this.onEndpointPointerDown, !0), this.endpointPointerElement = t, t == null || t.addEventListener("pointerdown", this.onEndpointPointerDown, !0)), e.line.pointMeshes.forEach((i, r) => {
534
- const a = e.isPolygon && r >= e.points.length - 1 ? 0 : r;
534
+ const h = e.isPolygon && r >= e.points.length - 1 ? 0 : r;
535
535
  let l = !1, s;
536
- const d = (g) => {
537
- var _;
538
- (_ = this.cleanupPendingPress) == null || _.call(this), l = !1;
539
- const M = { x: g.clientX, y: g.clientY };
536
+ const d = (f) => {
537
+ var D;
538
+ (D = this.cleanupPendingPress) == null || D.call(this), l = !1;
539
+ const M = { x: f.clientX, y: f.clientY };
540
540
  this.showLongPressIndicator(i, M);
541
- const P = (h) => {
542
- h.pointerId === g.pointerId && (!(h.buttons & 1) || Math.hypot(h.clientX - M.x, h.clientY - M.y) > 10) && (s == null || s());
543
- }, b = (h) => {
544
- h.pointerId === g.pointerId && (s == null || s());
545
- }, L = (h) => {
546
- h.pointerId !== g.pointerId && (s == null || s());
547
- }, R = (h) => {
548
- h.key === "Escape" && (s == null || s());
549
- }, I = () => s == null ? void 0 : s(), C = setTimeout(() => {
550
- s == null || s(!1), l = !0, this.startRepositioning(e, a, !0, M, g);
551
- }, 500);
552
- s = (h = !0) => {
553
- clearTimeout(C), document.removeEventListener("pointermove", P, !0), document.removeEventListener("pointerup", b, !0), document.removeEventListener("pointercancel", b, !0), document.removeEventListener("pointerdown", L, !0), document.removeEventListener("keydown", R), window.removeEventListener("blur", I), this.hideLongPressIndicator(), this.cleanupPendingPress === s && (this.cleanupPendingPress = void 0, h && this.publishInteraction("idle"));
554
- }, this.cleanupPendingPress = s, document.addEventListener("pointermove", P, !0), document.addEventListener("pointerup", b, !0), document.addEventListener("pointercancel", b, !0), document.addEventListener("pointerdown", L, !0), document.addEventListener("keydown", R), window.addEventListener("blur", I), this.publishInteraction("holding");
555
- }, v = (g) => {
541
+ const _ = (v) => {
542
+ v.pointerId === f.pointerId && (!(v.buttons & 1) || Math.hypot(v.clientX - M.x, v.clientY - M.y) > ie) && (s == null || s());
543
+ }, S = (v) => {
544
+ v.pointerId === f.pointerId && (s == null || s());
545
+ }, b = (v) => {
546
+ v.pointerId !== f.pointerId && (s == null || s());
547
+ }, L = (v) => {
548
+ v.key === "Escape" && (s == null || s());
549
+ }, w = () => s == null ? void 0 : s(), C = setTimeout(() => {
550
+ s == null || s(!1), l = !0, this.startRepositioning(e, h, !0, M, f);
551
+ }, ne);
552
+ s = (v = !0) => {
553
+ clearTimeout(C), document.removeEventListener("pointermove", _, !0), document.removeEventListener("pointerup", S, !0), document.removeEventListener("pointercancel", S, !0), document.removeEventListener("pointerdown", b, !0), document.removeEventListener("keydown", L), window.removeEventListener("blur", w), this.hideLongPressIndicator(), this.cleanupPendingPress === s && (this.cleanupPendingPress = void 0, v && this.publishInteraction("idle"));
554
+ }, this.cleanupPendingPress = s, document.addEventListener("pointermove", _, !0), document.addEventListener("pointerup", S, !0), document.addEventListener("pointercancel", S, !0), document.addEventListener("pointerdown", b, !0), document.addEventListener("keydown", L), window.addEventListener("blur", w), this.publishInteraction("holding");
555
+ }, g = (f) => {
556
556
  if (l)
557
- return g.stopPropagation(), l = !1, !1;
557
+ return f.stopPropagation(), l = !1, !1;
558
558
  };
559
- this.endpointPressHandlers.set(i, d), this.fiveDomEvents.addEventListener(i, "click", v), i.__longPressCleanup = () => {
560
- this.cleanupPendingPress === s && (s == null || s()), this.endpointPressHandlers.delete(i), this.fiveDomEvents.removeEventListener(i, "click", v);
559
+ this.endpointPressHandlers.set(i, d), this.fiveDomEvents.addEventListener(i, "click", g), i.__longPressCleanup = () => {
560
+ this.cleanupPendingPress === s && (s == null || s()), this.endpointPressHandlers.delete(i), this.fiveDomEvents.removeEventListener(i, "click", g);
561
561
  };
562
562
  });
563
563
  });
@@ -567,7 +567,7 @@ class Ct extends O {
567
567
  */
568
568
  o(this, "load", (e) => {
569
569
  this.clear(), e.forEach((t) => {
570
- const n = new x({
570
+ const n = new H({
571
571
  lineStyle: this.lineStyle,
572
572
  polygonStyle: this.polygonStyle
573
573
  });
@@ -582,7 +582,7 @@ class Ct extends O {
582
582
  measureMesh: e,
583
583
  pointIndex: t,
584
584
  originalOpacity: e.line.lineOpacity,
585
- originalMeshState: e.points.map((a) => a.clone()),
585
+ originalMeshState: e.points.map((h) => h.clone()),
586
586
  isDragMode: n,
587
587
  mouseDownPosition: i || void 0,
588
588
  hasMoved: !1
@@ -597,23 +597,23 @@ class Ct extends O {
597
597
  n === 0 ? t[r] = t[0].clone() : n === r && (t[0] = t[r].clone());
598
598
  }
599
599
  if (e.points = t, i && this.repositioningState) {
600
- if (k.prototype.setPoints.call(e.line, t), n !== void 0 && e.line.pointMeshes) {
600
+ if (F.prototype.setPoints.call(e.line, t), n !== void 0 && e.line.pointMeshes) {
601
601
  const r = t[n];
602
602
  if (e.isPolygon && t.length > 3) {
603
- const a = t.length - 1;
603
+ const h = t.length - 1;
604
604
  if (n === 0) {
605
- const l = e.line.pointMeshes[0], s = e.line.pointMeshes[a];
605
+ const l = e.line.pointMeshes[0], s = e.line.pointMeshes[h];
606
606
  l && l.position.copy(r), s && s.position.copy(r);
607
- } else if (n === a) {
608
- const l = e.line.pointMeshes[0], s = e.line.pointMeshes[a];
607
+ } else if (n === h) {
608
+ const l = e.line.pointMeshes[0], s = e.line.pointMeshes[h];
609
609
  l && l.position.copy(r), s && s.position.copy(r);
610
610
  } else {
611
611
  const l = e.line.pointMeshes[n];
612
612
  l && l.position.copy(r);
613
613
  }
614
614
  } else {
615
- const a = e.line.pointMeshes[n];
616
- a && a.position.copy(r);
615
+ const h = e.line.pointMeshes[n];
616
+ h && h.position.copy(r);
617
617
  }
618
618
  }
619
619
  e.isPolygon && e.polygon.setPoints(t);
@@ -691,25 +691,25 @@ class Ct extends O {
691
691
  return;
692
692
  }
693
693
  l.preventDefault();
694
- const s = t.getBoundingClientRect(), d = new u.Raycaster();
695
- d.setFromCamera(new u.Vector2(
694
+ const s = t.getBoundingClientRect(), d = new I.Raycaster();
695
+ d.setFromCamera(new I.Vector2(
696
696
  (l.clientX - s.left) / s.width * 2 - 1,
697
697
  -((l.clientY - s.top) / s.height) * 2 + 1
698
698
  ), this.five.camera);
699
- const v = this.five.model.intersectRaycaster(d)[0];
700
- this.onRepositioningMove(v ? E(p({}, v), { raycaster: d }) : {
701
- point: d.ray.at(5, new u.Vector3()),
699
+ const g = this.five.model.intersectRaycaster(d)[0];
700
+ this.onRepositioningMove(g ? E(c({}, g), { raycaster: d }) : {
701
+ point: d.ray.at(5, new I.Vector3()),
702
702
  distance: 5,
703
703
  raycaster: d,
704
704
  isVirtual: !0
705
705
  });
706
706
  }, r = (l) => {
707
707
  l.pointerId === e.pointerId && (l.type === "pointerup" ? this.confirmRepositioningOnDragEnd() : this.cancelRepositioning());
708
- }, a = (l) => {
708
+ }, h = (l) => {
709
709
  l.pointerId !== e.pointerId && this.cancelRepositioning();
710
710
  };
711
- document.addEventListener("pointermove", i, { capture: !0, passive: !1 }), document.addEventListener("pointerup", r, !0), document.addEventListener("pointercancel", r, !0), document.addEventListener("pointerdown", a, !0), n == null || n.addEventListener("lostpointercapture", this.cancelRepositioning), window.addEventListener("blur", this.cancelRepositioning), this.cleanupRepositioningListeners = () => {
712
- document.removeEventListener("pointermove", i, !0), document.removeEventListener("pointerup", r, !0), document.removeEventListener("pointercancel", r, !0), document.removeEventListener("pointerdown", a, !0), n == null || n.removeEventListener("lostpointercapture", this.cancelRepositioning), window.removeEventListener("blur", this.cancelRepositioning), n != null && n.hasPointerCapture(e.pointerId) && n.releasePointerCapture(e.pointerId);
711
+ document.addEventListener("pointermove", i, { capture: !0, passive: !1 }), document.addEventListener("pointerup", r, !0), document.addEventListener("pointercancel", r, !0), document.addEventListener("pointerdown", h, !0), n == null || n.addEventListener("lostpointercapture", this.cancelRepositioning), window.addEventListener("blur", this.cancelRepositioning), this.cleanupRepositioningListeners = () => {
712
+ document.removeEventListener("pointermove", i, !0), document.removeEventListener("pointerup", r, !0), document.removeEventListener("pointercancel", r, !0), document.removeEventListener("pointerdown", h, !0), n == null || n.removeEventListener("lostpointercapture", this.cancelRepositioning), window.removeEventListener("blur", this.cancelRepositioning), n != null && n.hasPointerCapture(e.pointerId) && n.releasePointerCapture(e.pointerId);
713
713
  }, n == null || n.setPointerCapture(e.pointerId);
714
714
  });
715
715
  /**
@@ -739,7 +739,7 @@ class Ct extends O {
739
739
  if (t)
740
740
  i.style.left = `${t.x}px`, i.style.top = `${t.y}px`, i.style.transform = "translate(-50%, -50%)";
741
741
  else {
742
- const a = e.getWorldPosition(new u.Vector3()).clone().project(this.five.camera), l = n.getBoundingClientRect(), s = (a.x + 1) * l.width / 2 + l.left, d = (-a.y + 1) * l.height / 2 + l.top;
742
+ const h = e.getWorldPosition(new I.Vector3()).clone().project(this.five.camera), l = n.getBoundingClientRect(), s = (h.x + 1) * l.width / 2 + l.left, d = (-h.y + 1) * l.height / 2 + l.top;
743
743
  i.style.left = `${s}px`, i.style.top = `${d}px`, i.style.transform = "translate(-50%, -50%)";
744
744
  }
745
745
  document.body.appendChild(i), this.longPressIndicator = i;
@@ -763,7 +763,7 @@ class Ct extends O {
763
763
  });
764
764
  this.five = e;
765
765
  const n = { unit: "m", lengthEnable: !0, precision: 2 };
766
- this.config = t ? p(p({}, n), t) : n, this.group = new $(), this.group.name = "MeasureGroup", this.group.__five__ = this.five, this.five.scene.add(this.group), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), m("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
766
+ this.config = t ? c(c({}, n), t) : n, this.group = new q(), this.group.name = "MeasureGroup", this.group.__five__ = this.five, this.five.scene.add(this.group), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), m("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
767
767
  }
768
768
  get interactionState() {
769
769
  var e, t;
@@ -789,22 +789,22 @@ class Ct extends O {
789
789
  this._magnifierEnabled = e, (t = this._pointSelector) == null || t.pointSelectorHelper.setMagnifierEnabled(e);
790
790
  }
791
791
  createPointSelector() {
792
- return new N(this.five, { mode: "cursor", helper: { pointHelper: "highlight" }, skipPanorama: !0 });
792
+ return new G(this.five, { mode: "cursor", helper: { pointHelper: "highlight" }, skipPanorama: !0 });
793
793
  }
794
794
  get fiveDomEvents() {
795
- return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new W(this.five, { fiveModels: null }), this._fiveDomEvents);
795
+ return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new Y(this.five, { fiveModels: null }), this._fiveDomEvents);
796
796
  }
797
797
  get cursor() {
798
- return this._cursor ? this._cursor : (this._cursor = new K(), this._cursor);
798
+ return this._cursor ? this._cursor : (this._cursor = new J(), this._cursor);
799
799
  }
800
800
  get config() {
801
801
  return this._config;
802
802
  }
803
803
  set config(e) {
804
804
  var t, n;
805
- this._config = e, this.lineStyle.lengthUnit = e.unit, this.polygonStyle.lengthUnit = e.unit, e.lengthEnable !== void 0 && (this.lineStyle.lengthEnable = e.lengthEnable, this.polygonStyle.lengthEnable = e.lengthEnable), e.precision !== void 0 && (this.lineStyle.precision = e.precision), (n = (t = this.group) == null ? void 0 : t.children) == null || n.filter(w).forEach((i) => i.changeConfig({ lineStyle: this.lineStyle, polygonStyle: this.polygonStyle }));
805
+ this._config = e, this.lineStyle.lengthUnit = e.unit, this.polygonStyle.lengthUnit = e.unit, e.lengthEnable !== void 0 && (this.lineStyle.lengthEnable = e.lengthEnable, this.polygonStyle.lengthEnable = e.lengthEnable), e.precision !== void 0 && (this.lineStyle.precision = e.precision), (n = (t = this.group) == null ? void 0 : t.children) == null || n.filter(R).forEach((i) => i.changeConfig({ lineStyle: this.lineStyle, polygonStyle: this.polygonStyle }));
806
806
  }
807
807
  }
808
808
  export {
809
- Ct as MeasureController
809
+ Tt as MeasureController
810
810
  };
@@ -1,5 +1,5 @@
1
1
  import { MeasureController as t } from "./Controller.js";
2
- import { validatePolygon as Lo } from "./utils/validatePolygon.js";
2
+ import { validatePolygon as Oo } from "./utils/validatePolygon.js";
3
3
  import "three";
4
4
  import "../shared-utils/tag.js";
5
5
  import "../shared-utils/positionToVector3.js";
@@ -84,9 +84,11 @@ import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
84
84
  import "../Sculpt/utils/Modules/Cursor.js";
85
85
  import "../Sculpt/utils/Modules/DeleteButtonBgBorder.js";
86
86
  import "../Sculpt/utils/Modules/DeleteIconSVG.js";
87
+ import "../shared-utils/three/measureDrawing.js";
88
+ import "../shared-utils/three/EndpointPointerGesture.js";
87
89
  import "../shared-utils/three/vectorIsEqual.js";
88
- const Io = (o, r) => new t(o, r);
90
+ const Ko = (o, r) => new t(o, r);
89
91
  export {
90
- Io as MeasurePlugin,
91
- Lo as validatePolygon
92
+ Ko as MeasurePlugin,
93
+ Oo as validatePolygon
92
94
  };