@realsee/dnalogel 3.81.26 → 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 (677) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/MeasurePluginV2/Magnifier.d.ts +1 -0
  3. package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +2 -0
  4. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +6 -2
  5. package/dist/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +1 -0
  6. package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -0
  7. package/dist/PanoMeasurePlugin/Controller/index.d.ts +2 -0
  8. package/dist/PanoMeasurePluginV2/Controller.d.ts +8 -1
  9. package/dist/PanoMeasurePluginV2/PointSelector.d.ts +2 -1
  10. package/dist/PanoMeasurePluginV2/ShortcutKeyController.d.ts +5 -0
  11. package/dist/PanoMeasurePluginV2/controllers.d.ts +28 -2
  12. package/dist/index.cjs.js +99 -99
  13. package/dist/index.js +7393 -7116
  14. package/dist/index.umd.js +96 -96
  15. package/dist/shared-utils/three/EndpointPointerGesture.d.ts +31 -0
  16. package/dist/shared-utils/three/measureDrawing.d.ts +4 -0
  17. package/docs/.nojekyll +1 -0
  18. package/docs/assets/custom.css +0 -0
  19. package/docs/assets/highlight.css +127 -0
  20. package/docs/assets/icons.js +18 -0
  21. package/docs/assets/icons.svg +1 -0
  22. package/docs/assets/main.js +60 -0
  23. package/docs/assets/navigation.js +1 -0
  24. package/docs/assets/search.js +1 -0
  25. package/docs/assets/style.css +1493 -0
  26. package/docs/classes/AnimationScriptAdapterSafetyError.html +4 -0
  27. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +59 -0
  28. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +71 -0
  29. package/docs/classes/CSS3DRender.html +100 -0
  30. package/docs/classes/DigitalHuman.html +43 -0
  31. package/docs/classes/DigitalPerformanceV2.DigitalPerformanceNameplate.html +25 -0
  32. package/docs/classes/DigitalPerformanceV2.DigitalPerformanceV2PluginController.html +178 -0
  33. package/docs/classes/DigitalPlayground.html +25 -0
  34. package/docs/classes/DigitalStateMachine.html +3 -0
  35. package/docs/classes/FireControl.html +56 -0
  36. package/docs/classes/FireScenePlayer.html +10 -0
  37. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -0
  38. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +72 -0
  39. package/docs/classes/MeasureV2.EdgeSnapCache.html +8 -0
  40. package/docs/classes/MeasureV2.MeasureControllerV2.html +81 -0
  41. package/docs/classes/MeasureV2.MeasureMagnifier.html +54 -0
  42. package/docs/classes/ModelMakerPluginInstance.html +106 -0
  43. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +52 -0
  44. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +52 -0
  45. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +53 -0
  46. package/docs/classes/ModelRoomLabelController.html +19 -0
  47. package/docs/classes/MoveController.html +45 -0
  48. package/docs/classes/Object3DHelperController.html +45 -0
  49. package/docs/classes/PaintBrush.html +15 -0
  50. package/docs/classes/PanoMeasureControllerV2.html +98 -0
  51. package/docs/classes/PanoMeasurePluginLine.html +26 -0
  52. package/docs/classes/PanoMeasurePluginModel.html +23 -0
  53. package/docs/classes/PanoMeasurePluginPoint.html +7 -0
  54. package/docs/classes/PanoMeasurePluginPolyline.html +27 -0
  55. package/docs/classes/PanoTagPluginController.html +129 -0
  56. package/docs/classes/Sculpt.html +79 -0
  57. package/docs/classes/Util.BetterTween.html +6 -0
  58. package/docs/classes/Util.FiveDomEvents.html +13 -0
  59. package/docs/classes/Util.FivePuppet.html +20 -0
  60. package/docs/classes/Util.Interval.html +11 -0
  61. package/docs/classes/Util.LegacyPointHelper.html +7 -0
  62. package/docs/classes/Util.LightTag.html +47 -0
  63. package/docs/classes/Util.LineSegments.html +4 -0
  64. package/docs/classes/Util.Magnifier.html +42 -0
  65. package/docs/classes/Util.Object3D.html +8 -0
  66. package/docs/classes/Util.PointDomHelper.html +8 -0
  67. package/docs/classes/Util.PointHelper.html +10 -0
  68. package/docs/classes/Util.PointSelector.html +71 -0
  69. package/docs/classes/Util.PointSelectorHelper.html +17 -0
  70. package/docs/classes/Util.Rectangle.html +12 -0
  71. package/docs/classes/Util.sculpt.BaseEditor.html +17 -0
  72. package/docs/classes/Util.sculpt.BoxMesh.html +48 -0
  73. package/docs/classes/Util.sculpt.BoxMeshEditor.html +18 -0
  74. package/docs/classes/Util.sculpt.CircleMesh.html +26 -0
  75. package/docs/classes/Util.sculpt.CircleMeshEditor.html +18 -0
  76. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +26 -0
  77. package/docs/classes/Util.sculpt.CylinderMesh.html +25 -0
  78. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +18 -0
  79. package/docs/classes/Util.sculpt.LineMesh.html +34 -0
  80. package/docs/classes/Util.sculpt.PointMesh.html +24 -0
  81. package/docs/classes/Util.sculpt.PolygonMesh.html +40 -0
  82. package/docs/classes/Util.sculpt.PrismMesh.html +48 -0
  83. package/docs/classes/Util.sculpt.PrismMeshEditor.html +18 -0
  84. package/docs/classes/Util.sculpt.RectangleMesh.html +41 -0
  85. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +18 -0
  86. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +44 -0
  87. package/docs/classes/WalkController.html +42 -0
  88. package/docs/enums/CameraMovementEffect.html +4 -0
  89. package/docs/enums/ContentType.html +36 -0
  90. package/docs/enums/DIRECTION.html +5 -0
  91. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +5 -0
  92. package/docs/enums/DimensionType.html +4 -0
  93. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -0
  94. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +5 -0
  95. package/docs/enums/PaintBrushTypeEnum.html +4 -0
  96. package/docs/enums/PointType.html +4 -0
  97. package/docs/enums/Rotation.html +5 -0
  98. package/docs/functions/AreaMakerPlugin.html +1 -0
  99. package/docs/functions/CSS3DRenderPlugin.html +1 -0
  100. package/docs/functions/CameraMovementPlugin.html +2 -0
  101. package/docs/functions/CruisePlugin.html +1 -0
  102. package/docs/functions/CurrentPanoImagePlugin.html +1 -0
  103. package/docs/functions/DigitalPerformancePlugin.html +1 -0
  104. package/docs/functions/DigitalPerformanceV2.DigitalPerformanceV2Plugin.html +1 -0
  105. package/docs/functions/DigitalPerformanceV2.normalizeDigitalPerformanceName.html +2 -0
  106. package/docs/functions/FloorplanGuidePlugin.html +1 -0
  107. package/docs/functions/GuideLinePlugin.html +1 -0
  108. package/docs/functions/ItemLabelPlugin.html +1 -0
  109. package/docs/functions/MapviewFloorplanPlugin.html +1 -0
  110. package/docs/functions/MeasurePlugin.html +1 -0
  111. package/docs/functions/MeasureV2.MeasurePluginV2.html +1 -0
  112. package/docs/functions/MeasureV2.collectNearbyEdges.html +5 -0
  113. package/docs/functions/MeasureV2.drawMeasureOverlay.html +3 -0
  114. package/docs/functions/MeasureV2.getWorldNormal.html +6 -0
  115. package/docs/functions/MeasureV2.validatePolygon.html +1 -0
  116. package/docs/functions/ModelChassisCompassPlugin.html +2 -0
  117. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -0
  118. package/docs/functions/ModelFloorplanPlugin.html +1 -0
  119. package/docs/functions/ModelItemLabelPlugin.html +1 -0
  120. package/docs/functions/ModelMakerPlugin.html +1 -0
  121. package/docs/functions/ModelRoomLabelPlugin.html +1 -0
  122. package/docs/functions/ModelTVVideoPlugin.html +1 -0
  123. package/docs/functions/ModelViewPlugin.html +2 -0
  124. package/docs/functions/MovePlugin.html +1 -0
  125. package/docs/functions/Object3DHelperPlugin.html +1 -0
  126. package/docs/functions/PanoCompassPlugin.html +1 -0
  127. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -0
  128. package/docs/functions/PanoDoorLabelPlugin.html +1 -0
  129. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -0
  130. package/docs/functions/PanoMeasurePlugin.html +1 -0
  131. package/docs/functions/PanoMeasurePluginV2.html +1 -0
  132. package/docs/functions/PanoRulerPlugin.html +2 -0
  133. package/docs/functions/PanoRulerProPlugin.html +2 -0
  134. package/docs/functions/PanoSpatialTagPlugin.html +2 -0
  135. package/docs/functions/PanoTagPlugin.html +1 -0
  136. package/docs/functions/PanoVideoPlugin.html +10 -0
  137. package/docs/functions/PipelinePlugin.html +1 -0
  138. package/docs/functions/SculptPlugin.html +2 -0
  139. package/docs/functions/SculptPluginForFive.html +2 -0
  140. package/docs/functions/TopviewFloorplanPlugin.html +1 -0
  141. package/docs/functions/Util.awaitNextFrame.html +1 -0
  142. package/docs/functions/Util.blink.html +13 -0
  143. package/docs/functions/Util.blinkWithPreset.html +6 -0
  144. package/docs/functions/Util.bounding.html +1 -0
  145. package/docs/functions/Util.boundingBox.html +1 -0
  146. package/docs/functions/Util.boundingSphere.html +1 -0
  147. package/docs/functions/Util.boxVertex.html +7 -0
  148. package/docs/functions/Util.boxVertexes.html +1 -0
  149. package/docs/functions/Util.checkFiveModelLoaded.html +2 -0
  150. package/docs/functions/Util.cleanup.html +3 -0
  151. package/docs/functions/Util.convexHull.html +2 -0
  152. package/docs/functions/Util.equal.html +5 -0
  153. package/docs/functions/Util.fiveModelIsLoaded.html +2 -0
  154. package/docs/functions/Util.generatePolygonGeometry.html +2 -0
  155. package/docs/functions/Util.getCoordsFromClient.html +1 -0
  156. package/docs/functions/Util.getCoordsFromElement.html +1 -0
  157. package/docs/functions/Util.getFrameTime.html +3 -0
  158. package/docs/functions/Util.getGeometryArea.html +1 -0
  159. package/docs/functions/Util.getGeometryInfo.html +1 -0
  160. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -0
  161. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -0
  162. package/docs/functions/Util.initialCSS3DRender.html +1 -0
  163. package/docs/functions/Util.inside.html +1 -0
  164. package/docs/functions/Util.isModelLike.html +1 -0
  165. package/docs/functions/Util.isNil.html +2 -0
  166. package/docs/functions/Util.isPanoramaLike.html +1 -0
  167. package/docs/functions/Util.lookObject.html +7 -0
  168. package/docs/functions/Util.lookPoint.html +5 -0
  169. package/docs/functions/Util.nextFrame.html +1 -0
  170. package/docs/functions/Util.notNil.html +2 -0
  171. package/docs/functions/Util.reblink.html +13 -0
  172. package/docs/functions/Util.replaceStaticPrefix.html +8 -0
  173. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -0
  174. package/docs/functions/Util.sculpt.createBox.html +1 -0
  175. package/docs/functions/Util.sculpt.createCircle.html +1 -0
  176. package/docs/functions/Util.sculpt.createCylinder.html +1 -0
  177. package/docs/functions/Util.sculpt.createLine.html +2 -0
  178. package/docs/functions/Util.sculpt.createPoint.html +1 -0
  179. package/docs/functions/Util.sculpt.createPolygon.html +1 -0
  180. package/docs/functions/Util.sculpt.createPrism.html +1 -0
  181. package/docs/functions/Util.sculpt.createRectangle.html +2 -0
  182. package/docs/functions/Util.sculpt.transformUnit.html +4 -0
  183. package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -0
  184. package/docs/functions/Util.tag.html +1 -0
  185. package/docs/functions/Util.triangleArea.html +2 -0
  186. package/docs/functions/Util.triangleCenter.html +2 -0
  187. package/docs/functions/Util.tweenProgress.html +1 -0
  188. package/docs/functions/Util.uuid.html +2 -0
  189. package/docs/functions/Util.waitFiveModelLoaded.html +2 -0
  190. package/docs/functions/Util.worldBounding.html +1 -0
  191. package/docs/functions/Util.worldBoundingBox.html +1 -0
  192. package/docs/functions/Util.worldBoundingSphere.html +1 -0
  193. package/docs/functions/classifyMovementTrack.html +1 -0
  194. package/docs/functions/createPolyline.html +2 -0
  195. package/docs/functions/getAreaBox3.html +2 -0
  196. package/docs/functions/getAreaVertices.html +2 -0
  197. package/docs/functions/getEffectivePointActionDuration.html +1 -0
  198. package/docs/functions/getEntryArea.html +2 -0
  199. package/docs/functions/getMovementActionDuration.html +1 -0
  200. package/docs/functions/hasMovementV2Signal.html +1 -0
  201. package/docs/functions/isConverterSafeMovementMatrix.html +1 -0
  202. package/docs/functions/pluginFlag.html +1 -0
  203. package/docs/functions/transformAnimationDetailToDigitalScript.html +3 -0
  204. package/docs/functions/transformScriptData.html +4 -0
  205. package/docs/hierarchy.html +1 -0
  206. package/docs/index.html +81 -0
  207. package/docs/interfaces/AnimationScriptAdapterOptions.html +6 -0
  208. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +4 -0
  209. package/docs/interfaces/AreaMakerPluginType.Config.html +8 -0
  210. package/docs/interfaces/AreaMakerPluginType.EventMap.html +25 -0
  211. package/docs/interfaces/AreaMakerPluginType.Params.html +4 -0
  212. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -0
  213. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +13 -0
  214. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +9 -0
  215. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -0
  216. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -0
  217. package/docs/interfaces/AreaMakerPluginType.State.html +8 -0
  218. package/docs/interfaces/BoxAnimationConfig.html +6 -0
  219. package/docs/interfaces/BoxPosition.html +8 -0
  220. package/docs/interfaces/CSS3DRenderPluginEventMap.html +9 -0
  221. package/docs/interfaces/CSS3DRenderPluginState.html +7 -0
  222. package/docs/interfaces/CameraMovementPluginExportType.html +11 -0
  223. package/docs/interfaces/ChapterLocation.html +4 -0
  224. package/docs/interfaces/ChapterTimeInfo.html +7 -0
  225. package/docs/interfaces/ContentTypeMapInterface.html +83 -0
  226. package/docs/interfaces/CruisePluginTypes.Config.html +8 -0
  227. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +8 -0
  228. package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -0
  229. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +6 -0
  230. package/docs/interfaces/CruisePluginTypes.MoveAction.html +16 -0
  231. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +19 -0
  232. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +20 -0
  233. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -0
  234. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -0
  235. package/docs/interfaces/CruisePluginTypes.PluginState.html +15 -0
  236. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +14 -0
  237. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +15 -0
  238. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +4 -0
  239. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -0
  240. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -0
  241. package/docs/interfaces/DigitalCameraKeyframe.html +4 -0
  242. package/docs/interfaces/DigitalCameraPlayer.html +4 -0
  243. package/docs/interfaces/DigitalCameraState.html +4 -0
  244. package/docs/interfaces/DigitalChapter.html +3 -0
  245. package/docs/interfaces/DigitalDataPlayer.html +4 -0
  246. package/docs/interfaces/DigitalDataState.html +4 -0
  247. package/docs/interfaces/DigitalEffectKeyframe.html +4 -0
  248. package/docs/interfaces/DigitalEffectState.html +8 -0
  249. package/docs/interfaces/DigitalItemKeyframe.html +6 -0
  250. package/docs/interfaces/DigitalItemState.html +7 -0
  251. package/docs/interfaces/DigitalModelKeyframe.html +9 -0
  252. package/docs/interfaces/DigitalModelPlayer.html +10 -0
  253. package/docs/interfaces/DigitalModelPlayerEffect.html +4 -0
  254. package/docs/interfaces/DigitalModelPlayerItem.html +6 -0
  255. package/docs/interfaces/DigitalModelState.html +8 -0
  256. package/docs/interfaces/DigitalPerformancePluginConfig.html +9 -0
  257. package/docs/interfaces/DigitalPerformanceV2.CameraState.html +13 -0
  258. package/docs/interfaces/DigitalPerformanceV2.DigitalCameraKeyframe.html +23 -0
  259. package/docs/interfaces/DigitalPerformanceV2.DigitalCameraPlayer.html +7 -0
  260. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateBinding.html +5 -0
  261. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateOptions.html +22 -0
  262. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateRenderContext.html +5 -0
  263. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceV2PluginConfig.html +15 -0
  264. package/docs/interfaces/DigitalPerformanceV2.GroupChapterTimeInfo.html +13 -0
  265. package/docs/interfaces/DigitalPerformanceV2.GroupProgress.html +18 -0
  266. package/docs/interfaces/DigitalPerformanceV2.V2Progress.html +10 -0
  267. package/docs/interfaces/DigitalScript.html +5 -0
  268. package/docs/interfaces/DigitalSubTitleKeyframe.html +7 -0
  269. package/docs/interfaces/DigitalSubTitlePlayer.html +4 -0
  270. package/docs/interfaces/DigitalSubTitleState.html +6 -0
  271. package/docs/interfaces/ExtendedAnimationConfig.html +5 -0
  272. package/docs/interfaces/FireArea.html +5 -0
  273. package/docs/interfaces/FireModel.html +9 -0
  274. package/docs/interfaces/FireSceneConfig.html +9 -0
  275. package/docs/interfaces/FireSequencePlayerOptions.html +4 -0
  276. package/docs/interfaces/FireSequenceStep.html +5 -0
  277. package/docs/interfaces/FireVector3.html +4 -0
  278. package/docs/interfaces/FloorplanBounding.html +9 -0
  279. package/docs/interfaces/FloorplanData.html +8 -0
  280. package/docs/interfaces/FloorplanEntrance.html +14 -0
  281. package/docs/interfaces/FloorplanExtraObject.html +9 -0
  282. package/docs/interfaces/FloorplanExtraObject3D.html +5 -0
  283. package/docs/interfaces/FloorplanFloorData.html +9 -0
  284. package/docs/interfaces/FloorplanImagePosition.html +4 -0
  285. package/docs/interfaces/FloorplanObserver.html +9 -0
  286. package/docs/interfaces/FloorplanOutlineItem.html +6 -0
  287. package/docs/interfaces/FloorplanPosition.html +4 -0
  288. package/docs/interfaces/FloorplanRoomItem.html +24 -0
  289. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -0
  290. package/docs/interfaces/FloorplanServerBounding.html +9 -0
  291. package/docs/interfaces/FloorplanServerComputedData.html +6 -0
  292. package/docs/interfaces/FloorplanServerData.html +5 -0
  293. package/docs/interfaces/FloorplanServerDoorItem.html +6 -0
  294. package/docs/interfaces/FloorplanServerDoorPosition.html +4 -0
  295. package/docs/interfaces/FloorplanServerEntrance.html +14 -0
  296. package/docs/interfaces/FloorplanServerFloorData.html +8 -0
  297. package/docs/interfaces/FloorplanServerImagePosition.html +4 -0
  298. package/docs/interfaces/FloorplanServerObserver.html +9 -0
  299. package/docs/interfaces/FloorplanServerOutlineItem.html +7 -0
  300. package/docs/interfaces/FloorplanServerPosition.html +4 -0
  301. package/docs/interfaces/FloorplanServerRoomItem.html +27 -0
  302. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -0
  303. package/docs/interfaces/FloorplanServerStyledFloorplan.html +3 -0
  304. package/docs/interfaces/FloorplanServerStyledImage.html +6 -0
  305. package/docs/interfaces/GlobalProgress.html +7 -0
  306. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -0
  307. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +7 -0
  308. package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -0
  309. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +5 -0
  310. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -0
  311. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -0
  312. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +32 -0
  313. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +4 -0
  314. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +5 -0
  315. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +42 -0
  316. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -0
  317. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +57 -0
  318. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -0
  319. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -0
  320. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -0
  321. package/docs/interfaces/GuideLinePluginType.Route.html +13 -0
  322. package/docs/interfaces/HelperOffset.html +4 -0
  323. package/docs/interfaces/ImagePlaneGroup.html +3 -0
  324. package/docs/interfaces/ItemLabelPluginData.html +2 -0
  325. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +7 -0
  326. package/docs/interfaces/ItemLabelPluginParametersType.html +5 -0
  327. package/docs/interfaces/LegacyScriptTransformer.html +2 -0
  328. package/docs/interfaces/MeasureV2.EdgeSnapOptions.html +19 -0
  329. package/docs/interfaces/MeasureV2.MagnifierViewport.html +20 -0
  330. package/docs/interfaces/MeasureV2.MeasureMagnifierOptions.html +28 -0
  331. package/docs/interfaces/MeasureV2.ResolvedEdgeSnapOptions.html +11 -0
  332. package/docs/interfaces/MinMax.html +3 -0
  333. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -0
  334. package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -0
  335. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -0
  336. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -0
  337. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -0
  338. package/docs/interfaces/ModelItemLabelPluginData.html +2 -0
  339. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +7 -0
  340. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -0
  341. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +17 -0
  342. package/docs/interfaces/ModelMakerPluginType.EventMap.html +18 -0
  343. package/docs/interfaces/ModelMakerPluginType.ModelMakerPluginConfig.html +19 -0
  344. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +23 -0
  345. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +11 -0
  346. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +10 -0
  347. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -0
  348. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +10 -0
  349. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +10 -0
  350. package/docs/interfaces/ModelMakerPluginType.State.html +8 -0
  351. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +11 -0
  352. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -0
  353. package/docs/interfaces/ModelTVVideoPluginData.html +5 -0
  354. package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -0
  355. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -0
  356. package/docs/interfaces/ModelViewPluginExportType.html +8 -0
  357. package/docs/interfaces/Object3DHelperState.html +4 -0
  358. package/docs/interfaces/ObjectHelperControllers.html +5 -0
  359. package/docs/interfaces/PaintBrushAction.html +14 -0
  360. package/docs/interfaces/PaintBrushConfigs.html +8 -0
  361. package/docs/interfaces/PaintBrushState.html +6 -0
  362. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +16 -0
  363. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -0
  364. package/docs/interfaces/PanoMeasureParameterType.html +21 -0
  365. package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -0
  366. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -0
  367. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -0
  368. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -0
  369. package/docs/interfaces/PanoMeasurePluginV2Data.html +2 -0
  370. package/docs/interfaces/PanoMeasurePluginV2ServerData.html +2 -0
  371. package/docs/interfaces/PanoRulerPluginExportType.html +6 -0
  372. package/docs/interfaces/PanoRulerPluginOptions.html +3 -0
  373. package/docs/interfaces/PanoRulerPluginParameterType.html +4 -0
  374. package/docs/interfaces/PanoRulerProPluginExportType.html +5 -0
  375. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -0
  376. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -0
  377. package/docs/interfaces/PanoRulerProPluginState.html +4 -0
  378. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -0
  379. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -0
  380. package/docs/interfaces/PanoSpatialTagPluginData.html +7 -0
  381. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +6 -0
  382. package/docs/interfaces/PanoSpatialTagPluginExportType.html +9 -0
  383. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +6 -0
  384. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +9 -0
  385. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +7 -0
  386. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +6 -0
  387. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -0
  388. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -0
  389. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -0
  390. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +15 -0
  391. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -0
  392. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +14 -0
  393. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +13 -0
  394. package/docs/interfaces/PlaybackController.html +4 -0
  395. package/docs/interfaces/PlaybackManager.html +2 -0
  396. package/docs/interfaces/PlaybackSession.html +5 -0
  397. package/docs/interfaces/PluginEventMap.html +16 -0
  398. package/docs/interfaces/Point.html +4 -0
  399. package/docs/interfaces/ProgressBarEvents.html +7 -0
  400. package/docs/interfaces/Room.html +5 -0
  401. package/docs/interfaces/RoomInfo.html +3 -0
  402. package/docs/interfaces/RoomLabel.html +16 -0
  403. package/docs/interfaces/RoomRules.html +1 -0
  404. package/docs/interfaces/Rooms.html +1 -0
  405. package/docs/interfaces/Scissor.html +13 -0
  406. package/docs/interfaces/SculptConfig.html +19 -0
  407. package/docs/interfaces/State.html +7 -0
  408. package/docs/interfaces/StyledFloorplan.html +3 -0
  409. package/docs/interfaces/StyledFloorplanImage.html +6 -0
  410. package/docs/interfaces/StyledFloorplanRoomLabel.html +8 -0
  411. package/docs/interfaces/TagCacheInterface.html +9 -0
  412. package/docs/interfaces/TagConfig.html +189 -0
  413. package/docs/interfaces/TagGLTFObjectGroup.html +3 -0
  414. package/docs/interfaces/TagIconAnimationConfig.html +7 -0
  415. package/docs/interfaces/TagIconUrl.html +22 -0
  416. package/docs/interfaces/TagObjectGroup.html +3 -0
  417. package/docs/interfaces/TagState.html +3 -0
  418. package/docs/interfaces/TagStyle.html +17 -0
  419. package/docs/interfaces/Tags.html +8 -0
  420. package/docs/interfaces/TemporaryState.html +2 -0
  421. package/docs/interfaces/TraceManager.html +6 -0
  422. package/docs/interfaces/TracePoint.html +3 -0
  423. package/docs/interfaces/Util.AdaptiveReadWindowOptions.html +10 -0
  424. package/docs/interfaces/Util.AnimeInstance.html +14 -0
  425. package/docs/interfaces/Util.BlinkAnimeOptions.html +21 -0
  426. package/docs/interfaces/Util.EventHandlerConfig.html +21 -0
  427. package/docs/interfaces/Util.FiveDomEvent.html +7 -0
  428. package/docs/interfaces/Util.FiveDomEventMap.html +20 -0
  429. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +4 -0
  430. package/docs/interfaces/Util.MagnifierParameter.html +22 -0
  431. package/docs/interfaces/Util.MouseGroupParameter.html +4 -0
  432. package/docs/interfaces/Util.ObjectInitialState.html +9 -0
  433. package/docs/interfaces/Util.PointIntersection.html +21 -0
  434. package/docs/interfaces/Util.PointSelectorHelperConfig.html +6 -0
  435. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +27 -0
  436. package/docs/modules/AreaMakerPluginType.html +17 -0
  437. package/docs/modules/CruisePluginTypes.html +14 -0
  438. package/docs/modules/CurrentPanoImagePluginType.html +6 -0
  439. package/docs/modules/DigitalPerformanceV2.html +22 -0
  440. package/docs/modules/GuideLineItem.html +2 -0
  441. package/docs/modules/GuideLineModeItem.html +3 -0
  442. package/docs/modules/GuideLinePluginType.html +25 -0
  443. package/docs/modules/MeasureV2.html +22 -0
  444. package/docs/modules/ModelMakerPluginType.html +22 -0
  445. package/docs/modules/PanoVideoPluginType.html +8 -0
  446. package/docs/modules/SculptData.html +9 -0
  447. package/docs/modules/SculptType.html +2 -0
  448. package/docs/modules/Util.html +92 -0
  449. package/docs/modules/Util.sculpt.html +27 -0
  450. package/docs/modules.html +390 -0
  451. package/docs/types/AddObject3DHelperConfig.html +19 -0
  452. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +7 -0
  453. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -0
  454. package/docs/types/AreaMakerPluginType.PluginData.html +2 -0
  455. package/docs/types/AreaMakerPluginType.ServerData.html +2 -0
  456. package/docs/types/ArrayPosition.html +1 -0
  457. package/docs/types/AudioAppearance.html +1 -0
  458. package/docs/types/BoxTag.html +2 -0
  459. package/docs/types/CSS3DRenderExportType.html +1 -0
  460. package/docs/types/CSS3DRenderPluginExportType.html +1 -0
  461. package/docs/types/CSS3DRenderPluginParameterType.html +1 -0
  462. package/docs/types/CanonicalMovementTrackPlan.html +1 -0
  463. package/docs/types/ClassFunctionParameters.html +1 -0
  464. package/docs/types/Color.html +1 -0
  465. package/docs/types/ContentTypeConfigKey.html +1 -0
  466. package/docs/types/ContentTypeConfigKeySplit.html +1 -0
  467. package/docs/types/ContentTypeMap.html +1 -0
  468. package/docs/types/Create3DDomContainerReturnType.html +1 -0
  469. package/docs/types/Create3DElementReturnType.html +1 -0
  470. package/docs/types/CruisePluginExportType.html +1 -0
  471. package/docs/types/CruisePluginTypes.CruiseData.html +6 -0
  472. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -0
  473. package/docs/types/CurrentPanoImagePluginExportType.html +1 -0
  474. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -0
  475. package/docs/types/DeprecatedTagProperty.html +3 -0
  476. package/docs/types/DigitalPerformancePluginExportInterface.html +1 -0
  477. package/docs/types/DigitalPerformancePluginParamsInterface.html +1 -0
  478. package/docs/types/DigitalPerformanceV2.CameraCoordinateSpace.html +7 -0
  479. package/docs/types/DigitalPerformanceV2.CameraTransition.html +7 -0
  480. package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginExportInterface.html +1 -0
  481. package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginParamsInterface.html +1 -0
  482. package/docs/types/DigitalPerformanceV2.V2ProgressListener.html +1 -0
  483. package/docs/types/Direction-1.html +1 -0
  484. package/docs/types/Direction4.html +1 -0
  485. package/docs/types/ElementRenderer.html +2 -0
  486. package/docs/types/FireModelType.html +5 -0
  487. package/docs/types/FireSequenceKind.html +3 -0
  488. package/docs/types/FireSpreadBounds.html +2 -0
  489. package/docs/types/FloorplanAffineTransform.html +1 -0
  490. package/docs/types/FloorplanGuidePluginParameterType.html +1 -0
  491. package/docs/types/FloorplanGuidePluginReturnType.html +1 -0
  492. package/docs/types/FloorplanRuleLabels.html +2 -0
  493. package/docs/types/FloorplanServerAffineTransform.html +1 -0
  494. package/docs/types/FloorplanServerRuleLabels.html +1 -0
  495. package/docs/types/GuideLinePluginExportType.html +1 -0
  496. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -0
  497. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -0
  498. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -0
  499. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -0
  500. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -0
  501. package/docs/types/GuideLinePluginType.PathItem.html +2 -0
  502. package/docs/types/GuideLinePluginType.PluginData.html +2 -0
  503. package/docs/types/GuideLinePluginType.RouteConfig.html +4 -0
  504. package/docs/types/HelperEventMap.html +1 -0
  505. package/docs/types/InternalHelperEventMap.html +1 -0
  506. package/docs/types/KeyframeType.html +1 -0
  507. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -0
  508. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -0
  509. package/docs/types/MaskPosition.html +3 -0
  510. package/docs/types/MaskTag.html +2 -0
  511. package/docs/types/MeasureInteractionState.html +2 -0
  512. package/docs/types/MeasureV2.MeasureControllerV2Interface.html +1 -0
  513. package/docs/types/MeasureV2.MeasureEndReason.html +1 -0
  514. package/docs/types/MeasureV2.MeasurePluginConfig.html +10 -0
  515. package/docs/types/MeasureV2.MeasurePluginEventMap.html +1 -0
  516. package/docs/types/MeasureV2.MeasurePluginV2Config.html +6 -0
  517. package/docs/types/MeasureV2.MeasurePluginV2ParamsInterface.html +1 -0
  518. package/docs/types/MediaData.html +2 -0
  519. package/docs/types/MediaOperations.html +1 -0
  520. package/docs/types/MediaStore.html +1 -0
  521. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -0
  522. package/docs/types/ModelFloorplanPluginParameterType.html +1 -0
  523. package/docs/types/ModelFloorplanPluginReturnType.html +1 -0
  524. package/docs/types/ModelId.html +1 -0
  525. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -0
  526. package/docs/types/ModelMakerPluginType.ItemType.html +2 -0
  527. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -0
  528. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -0
  529. package/docs/types/ModelMakerPluginType.TagOcclusionScope.html +2 -0
  530. package/docs/types/ModelMakerPluginType.TagOcclusionScopeConfig.html +2 -0
  531. package/docs/types/ModelRoomLabelPluginParameters.html +1 -0
  532. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -0
  533. package/docs/types/MoveArgs.html +2 -0
  534. package/docs/types/MoveOpts.html +2 -0
  535. package/docs/types/MovementConfig.html +1 -0
  536. package/docs/types/MovementPosition.html +1 -0
  537. package/docs/types/MovementTrackClassification.html +1 -0
  538. package/docs/types/MovementTrackConflictReason.html +1 -0
  539. package/docs/types/MovementTrackProjection.html +1 -0
  540. package/docs/types/Object3DHelperEventMap.html +1 -0
  541. package/docs/types/ObjectFit.html +1 -0
  542. package/docs/types/PaintBrushEventMap.html +1 -0
  543. package/docs/types/PanoCompassPluginData.html +1 -0
  544. package/docs/types/PanoCompassPluginExportType.html +1 -0
  545. package/docs/types/PanoCompassPluginParameterType.html +1 -0
  546. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -0
  547. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -0
  548. package/docs/types/PanoIndex.html +1 -0
  549. package/docs/types/PanoMeasurePluginEvent.html +1 -0
  550. package/docs/types/PanoMeasurePluginV2Config.html +3 -0
  551. package/docs/types/PanoMeasurePluginV2Instance.html +1 -0
  552. package/docs/types/PanoMeasureReturnType.html +1 -0
  553. package/docs/types/PanoSpatialTagPluginId.html +1 -0
  554. package/docs/types/PanoTagPluginExportInterface.html +1 -0
  555. package/docs/types/PanoTagPluginParamsInterface.html +1 -0
  556. package/docs/types/PanoVideoPluginParameterType.html +1 -0
  557. package/docs/types/PanoVideoPluginReturnType.html +1 -0
  558. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -0
  559. package/docs/types/PipelinePluginParameterType.html +1 -0
  560. package/docs/types/PipelinePluginReturnType.html +1 -0
  561. package/docs/types/PlaneTag.html +2 -0
  562. package/docs/types/Point2DTag.html +2 -0
  563. package/docs/types/Point3DTag.html +2 -0
  564. package/docs/types/PointAction.html +1 -0
  565. package/docs/types/PointTagInstance.html +1 -0
  566. package/docs/types/PolygonPosition.html +3 -0
  567. package/docs/types/PolygonTag.html +2 -0
  568. package/docs/types/Position.html +1 -0
  569. package/docs/types/PositionFrom.html +1 -0
  570. package/docs/types/ProgressListener.html +1 -0
  571. package/docs/types/RotateArgs.html +2 -0
  572. package/docs/types/RotateOpts.html +2 -0
  573. package/docs/types/RuleLabelsKey.html +1 -0
  574. package/docs/types/RuleLabelsValue.html +1 -0
  575. package/docs/types/ScaleCallback.html +1 -0
  576. package/docs/types/ScalePosition.html +3 -0
  577. package/docs/types/SculptData.BoxData.html +1 -0
  578. package/docs/types/SculptData.CircleData.html +1 -0
  579. package/docs/types/SculptData.CylinderData.html +1 -0
  580. package/docs/types/SculptData.PointData.html +1 -0
  581. package/docs/types/SculptData.PolygonData.html +1 -0
  582. package/docs/types/SculptData.PolylineData.html +1 -0
  583. package/docs/types/SculptData.PrismData.html +1 -0
  584. package/docs/types/SculptData.RectangleData.html +1 -0
  585. package/docs/types/SculptType.Theme.html +10 -0
  586. package/docs/types/StateType.html +1 -0
  587. package/docs/types/StickType.html +1 -0
  588. package/docs/types/Tag.html +17 -0
  589. package/docs/types/Tag2D.html +2 -0
  590. package/docs/types/Tag3D.html +2 -0
  591. package/docs/types/TagClickParams.html +1 -0
  592. package/docs/types/TagConfigByKey.html +1 -0
  593. package/docs/types/TagContentType.html +1 -0
  594. package/docs/types/TagContentTypeMapping.html +1 -0
  595. package/docs/types/TagDimensionType.html +1 -0
  596. package/docs/types/TagElement.html +2 -0
  597. package/docs/types/TagEvents.html +1 -0
  598. package/docs/types/TagGLTFObject.html +1 -0
  599. package/docs/types/TagHooks.html +1 -0
  600. package/docs/types/TagId.html +1 -0
  601. package/docs/types/TagInstance.html +1 -0
  602. package/docs/types/TagPlacement.html +5 -0
  603. package/docs/types/TagPointType.html +2 -0
  604. package/docs/types/TagRendererMap.html +1 -0
  605. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -0
  606. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -0
  607. package/docs/types/TrackPoint.html +1 -0
  608. package/docs/types/Util.ActionIfNoIntersection.html +1 -0
  609. package/docs/types/Util.AdherePoint.html +2 -0
  610. package/docs/types/Util.PointSelectorConfig.html +1 -0
  611. package/docs/types/Util.SupportedTarget.html +2 -0
  612. package/docs/types/Util.Target.html +2 -0
  613. package/docs/types/Util.ThreeObject.html +2 -0
  614. package/docs/types/WorkCode.html +1 -0
  615. package/docs/variables/DigitalPerformanceV2.DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH.html +1 -0
  616. package/docs/variables/FIRE_ACTION_DURATION_MS.html +2 -0
  617. package/docs/variables/FIRE_SPREAD_SPEED.html +2 -0
  618. package/docs/variables/FLOOR_TYPE_MAP.html +2 -0
  619. package/docs/variables/MODEL_SCALE_RANGE.html +2 -0
  620. package/docs/variables/MOVEMENT_OCCURRENCE_EPSILON.html +1 -0
  621. package/docs/variables/MOVEMENT_POSITION_EPSILON.html +1 -0
  622. package/docs/variables/MOVEMENT_SCHEMA_VERSION.html +1 -0
  623. package/docs/variables/MeasureV2.DEFAULT_EDGE_SNAP_OPTIONS.html +1 -0
  624. package/docs/variables/MeasureV2.OVERLAY_STYLE.html +14 -0
  625. package/docs/variables/PLUGIN.html +1 -0
  626. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -0
  627. package/docs/variables/ROOM_TYPE_MAP.html +2 -0
  628. package/docs/variables/Util.ANIME_PRESETS.html +2 -0
  629. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -0
  630. package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -0
  631. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -0
  632. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -0
  633. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -0
  634. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -0
  635. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -0
  636. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -0
  637. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -0
  638. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -0
  639. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -0
  640. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -0
  641. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -0
  642. package/docs/variables/defaultGlobalConfig.html +1 -0
  643. package/docs/variables/itemLabelPluginServerParams.html +1 -0
  644. package/docs/variables/modelItemLabelPluginServerParams.html +1 -0
  645. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -0
  646. package/libs/MeasurePlugin/Controller.js +161 -161
  647. package/libs/MeasurePlugin/index.js +6 -4
  648. package/libs/MeasurePluginV2/Controller.js +35 -43
  649. package/libs/MeasurePluginV2/Magnifier.d.ts +1 -0
  650. package/libs/MeasurePluginV2/Magnifier.js +20 -12
  651. package/libs/MeasurePluginV2/PointSelector.js +78 -78
  652. package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +2 -0
  653. package/libs/PanoMeasurePlugin/Controller/BaseController.js +4 -0
  654. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +6 -2
  655. package/libs/PanoMeasurePlugin/Controller/EditController.js +49 -42
  656. package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +1 -0
  657. package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +13 -10
  658. package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -0
  659. package/libs/PanoMeasurePlugin/Controller/WatchController.js +4 -1
  660. package/libs/PanoMeasurePlugin/Controller/index.d.ts +2 -0
  661. package/libs/PanoMeasurePlugin/Controller/index.js +33 -30
  662. package/libs/PanoMeasurePluginV2/Controller.d.ts +8 -1
  663. package/libs/PanoMeasurePluginV2/Controller.js +51 -44
  664. package/libs/PanoMeasurePluginV2/PointSelector.d.ts +2 -1
  665. package/libs/PanoMeasurePluginV2/PointSelector.js +51 -48
  666. package/libs/PanoMeasurePluginV2/ShortcutKeyController.d.ts +5 -0
  667. package/libs/PanoMeasurePluginV2/ShortcutKeyController.js +25 -0
  668. package/libs/PanoMeasurePluginV2/controllers.d.ts +28 -2
  669. package/libs/PanoMeasurePluginV2/controllers.js +217 -49
  670. package/libs/base/BasePlugin.js +1 -1
  671. package/libs/index.js +199 -196
  672. package/libs/shared-utils/logger.js +1 -1
  673. package/libs/shared-utils/three/EndpointPointerGesture.d.ts +31 -0
  674. package/libs/shared-utils/three/EndpointPointerGesture.js +74 -0
  675. package/libs/shared-utils/three/measureDrawing.d.ts +4 -0
  676. package/libs/shared-utils/three/measureDrawing.js +11 -0
  677. package/package.json +1 -1
@@ -1,28 +1,28 @@
1
1
  var x = Object.defineProperty, j = Object.defineProperties;
2
2
  var G = Object.getOwnPropertyDescriptors;
3
- var D = Object.getOwnPropertySymbols;
3
+ var E = Object.getOwnPropertySymbols;
4
4
  var B = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
5
- var w = (d, a, e) => a in d ? x(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, k = (d, a) => {
5
+ var w = (p, a, e) => a in p ? x(p, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[a] = e, k = (p, a) => {
6
6
  for (var e in a || (a = {}))
7
- B.call(a, e) && w(d, e, a[e]);
8
- if (D)
9
- for (var e of D(a))
10
- O.call(a, e) && w(d, e, a[e]);
11
- return d;
12
- }, M = (d, a) => j(d, G(a));
13
- var o = (d, a, e) => (w(d, typeof a != "symbol" ? a + "" : a, e), e);
7
+ B.call(a, e) && w(p, e, a[e]);
8
+ if (E)
9
+ for (var e of E(a))
10
+ O.call(a, e) && w(p, e, a[e]);
11
+ return p;
12
+ }, I = (p, a) => j(p, G(a));
13
+ var o = (p, a, e) => (w(p, typeof a != "symbol" ? a + "" : a, e), e);
14
14
  import $ from "../Model/line.js";
15
- import I from "../Model/point.js";
15
+ import R from "../Model/point.js";
16
16
  import { throttle as q } from "../../shared-utils/throttle.js";
17
17
  import z from "./BaseController.js";
18
- import { Polyline as E } from "../Model/polyline.js";
19
- import R from "../Model/area.js";
20
- import { isIntersecting as H } from "../utils/isIntersecting.js";
18
+ import { Polyline as T } from "../Model/polyline.js";
19
+ import D from "../Model/area.js";
20
+ import { isIntersecting as b } from "../utils/isIntersecting.js";
21
21
  import { PointSelector as F } from "../../shared-utils/three/PointSelector/index.js";
22
22
  import N from "../Modules/DeleteDom/index.js";
23
23
  import * as f from "three";
24
- import { Vector2 as T } from "three";
25
- import b from "../utils/isNDCPointInScreen.js";
24
+ import { Vector2 as M } from "three";
25
+ import H from "../utils/isNDCPointInScreen.js";
26
26
  import { closestPointOnLine as _ } from "../utils/math.js";
27
27
  import { getFiveModel as Q } from "../../shared-utils/five/getFiveModel.js";
28
28
  import "../../shared-utils/tag.js";
@@ -136,7 +136,7 @@ class Wt extends z {
136
136
  this.lastPoint = null, this.hasAppendDashed = !1, this.dashed.remove(), this.five.needsRender = !0, this.hook.emit("revoke", { isEmpty: !0 });
137
137
  return;
138
138
  } else
139
- this.lastPoint = new I(this.area.points[this.area.points.length - 1]), this.updateDashed();
139
+ this.lastPoint = new R(this.area.points[this.area.points.length - 1]), this.updateDashed();
140
140
  this.five.needsRender = !0;
141
141
  }
142
142
  });
@@ -189,7 +189,7 @@ class Wt extends z {
189
189
  })();
190
190
  if (!e)
191
191
  return;
192
- const t = new I(e), i = this.lastPoint;
192
+ const t = new R(e), i = this.lastPoint;
193
193
  if (i != null && i.position && t.position.equals(i == null ? void 0 : i.position))
194
194
  return;
195
195
  this.lastPoint = t;
@@ -198,16 +198,16 @@ class Wt extends z {
198
198
  return [];
199
199
  const { intersection: h, pointSelectorInstance: L } = s, g = L.pointSelectorHelper.pointHelper, m = new f.Vector3(0, 0, 1).applyQuaternion(g.quaternion);
200
200
  if (m.x > 0.9999 || m.y > 0.9999 || m.z > 0.9999 || m.x < -0.9999 || m.y < -0.9999 || m.z < -0.9999) {
201
- const S = h.point, P = this.lastPoint.position.clone().sub(S);
201
+ const A = h.point, v = this.lastPoint.position.clone().sub(A);
202
202
  L.pointSelectorHelper.updateWithIntersect(h, { emitEvent: !1 });
203
203
  const r = new f.Line3(
204
- g.localToWorld(new f.Vector3(1, 0, 0)).add(P),
205
- g.localToWorld(new f.Vector3(-1, 0, 0)).add(P)
206
- ), p = new f.Line3(
207
- g.localToWorld(new f.Vector3(0, 1, 0)).add(P),
208
- g.localToWorld(new f.Vector3(0, -1, 0)).add(P)
209
- ), A = r.closestPointToPoint(S, !1, new f.Vector3()), v = p.closestPointToPoint(S, !1, new f.Vector3());
210
- return [A, v];
204
+ g.localToWorld(new f.Vector3(1, 0, 0)).add(v),
205
+ g.localToWorld(new f.Vector3(-1, 0, 0)).add(v)
206
+ ), d = new f.Line3(
207
+ g.localToWorld(new f.Vector3(0, 1, 0)).add(v),
208
+ g.localToWorld(new f.Vector3(0, -1, 0)).add(v)
209
+ ), S = r.closestPointToPoint(A, !1, new f.Vector3()), P = d.closestPointToPoint(A, !1, new f.Vector3());
210
+ return [S, P];
211
211
  }
212
212
  return [];
213
213
  };
@@ -260,7 +260,7 @@ class Wt extends z {
260
260
  this.perpendicularDashed.setPoints(s, h), this.perpendicularDashed.show();
261
261
  } else
262
262
  this.perpendicularDashed.hide();
263
- const l = this.area.polyline.lines.map((s) => ({ start: s.points[0].position, end: s.points[1].position })), c = H({ start: e, end: t }, l), u = H({ start: t, end: this.area.points[0] }, l);
263
+ const l = this.area.polyline.lines.map((s) => ({ start: s.points[0].position, end: s.points[1].position })), c = b({ start: e, end: t }, l), u = b({ start: t, end: this.area.points[0] }, l);
264
264
  if (c || u)
265
265
  this.area.hideArea(), this.hook.emit("allowAddPointStateChange", "forbid");
266
266
  else {
@@ -275,33 +275,33 @@ class Wt extends z {
275
275
  // ====================================================================================================================================
276
276
  // 下面一堆高亮相关
277
277
  o(this, "wantsTapGesture", (e) => {
278
- var S, P;
278
+ var A, v;
279
279
  if (this.editParams.pointSelectorMode === "cursor" || this.lastPoint)
280
280
  return !1;
281
- const t = this.model.areas.map((r) => e.intersectObject(r.polygon, !0)[0]).sort((r, p) => r.distance - p.distance), i = (P = (S = t[0]) == null ? void 0 : S.object) == null ? void 0 : P.parent;
281
+ const t = this.model.areas.map((r) => e.intersectObject(r.polygon, !0)[0]).sort((r, d) => r.distance - d.distance), i = (v = (A = t[0]) == null ? void 0 : A.object) == null ? void 0 : v.parent;
282
282
  if (i != null && i.isPolygonMesh) {
283
- const r = this.model.areas.find((p) => p.polygon === i);
283
+ const r = this.model.areas.find((d) => d.polygon === i);
284
284
  if (r) {
285
- const { x: p, y: A } = t[0].point.clone().project(this.five.camera), v = `${(p + 1) / 2 * 100}%`, C = `${(-A + 1) / 2 * 100}%`;
286
- return this.chooseArea(r, { left: v, top: C }), !1;
285
+ const { x: d, y: S } = t[0].point.clone().project(this.five.camera), P = `${(d + 1) / 2 * 100}%`, C = `${(-S + 1) / 2 * 100}%`;
286
+ return this.chooseArea(r, { left: P, top: C }), !1;
287
287
  }
288
288
  }
289
289
  const [n] = Q(this.five).intersectRaycaster(e);
290
290
  if (!n)
291
291
  return;
292
- const l = this.five.camera, c = n.point.clone().project(l), u = this.container.clientWidth, y = this.container.clientHeight, s = new T(c.x * u, c.y * y), h = this.model.getAllLines().map((r) => {
293
- const [p, A] = r.points, v = p.position.clone().project(l), C = A.position.clone().project(l);
294
- if (!b(v) && !b(C))
292
+ const l = this.five.camera, c = n.point.clone().project(l), u = this.container.clientWidth, y = this.container.clientHeight, s = new M(c.x * u, c.y * y), h = this.model.getAllLines().map((r) => {
293
+ const [d, S] = r.points, P = d.position.clone().project(l), C = S.position.clone().project(l);
294
+ if (!H(P) && !H(C))
295
295
  return null;
296
- const V = new T(v.x * u, v.y * y), W = new T(C.x * u, C.y * y);
296
+ const V = new M(P.x * u, P.y * y), W = new M(C.x * u, C.y * y);
297
297
  return { id: r.id, points: [V, W] };
298
298
  }).filter((r) => !!r);
299
299
  if (h.length === 0)
300
300
  return;
301
301
  const g = h.map((r) => {
302
- const p = _(s, r.points);
303
- return { id: r.id, distance: p.distanceTo(s) };
304
- }).sort((r, p) => r.distance - p.distance)[0];
302
+ const d = _(s, r.points);
303
+ return { id: r.id, distance: d.distanceTo(s) };
304
+ }).sort((r, d) => r.distance - d.distance)[0];
305
305
  if (g.distance > 20)
306
306
  return;
307
307
  const m = this.model.getAllLines().find(({ id: r }) => r === g.id);
@@ -335,7 +335,7 @@ class Wt extends z {
335
335
  const i = t.type === "area", n = Array.isArray(t) && ((l = t[0]) == null ? void 0 : l.type) === "line";
336
336
  i && this.unHighlightArea(t), n && this.unHighlightLines(t);
337
337
  }
338
- }).appendTo(this.container), this.pointSelector = this.createPointSelector(e), this.pointSelector.enable(), this.polyline = new E({ model: this.model }), this.area = new R(void 0, {
338
+ }).appendTo(this.container), this.pointSelector = this.createPointSelector(e), this.pointSelector.enable(), this.polyline = new T({ model: this.model }), this.area = new D(void 0, {
339
339
  five: this.five,
340
340
  model: this.model,
341
341
  meshContainer: this.group,
@@ -348,12 +348,19 @@ class Wt extends z {
348
348
  });
349
349
  }), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsMoveToPano", this.wantsMoveToPano), this.five.on("wantsChangeMode", U), this.pointSelector.on("intersectionUpdate", this.onIntersectionUpdate), this.pointSelector.on("intersectionUpdate", this.checkMouseLeave), this.pointSelector.on("select", this.onSelect), this.pointSelector.on("wantsSelect", this.onWantsSelect), this.polyline.hook.on("lineAdded", this.onLineChanged), this.polyline.hook.on("lineRemoved", this.onLineChanged), this.five.helperVisible = !1, this.hook.emit("anchorChange", null), this.hook.emit("editedDashedLineChange", null), this.five.refresh();
350
350
  }
351
+ /** Drop only the unfinished drawing; keep imported and already completed rulers. */
352
+ discardCurrentDrawing() {
353
+ this.currentMeasureType === "area" ? (this.deleteArea(this.area), this.area = new D(void 0, { five: this.five, model: this.model, meshContainer: this.group, domContainer: this.container }), this.model.addArea(this.area)) : (this.polyline.hook.off("lineAdded", this.onLineChanged), this.polyline.hook.off("lineRemoved", this.onLineChanged), this.polyline.lines.forEach((e) => this.removeLine(e)), this.model.removePolyline(this.polyline), this.polyline = new T({ model: this.model }), this.model.addPolyline(this.polyline), this.polyline.hook.on("lineAdded", this.onLineChanged), this.polyline.hook.on("lineRemoved", this.onLineChanged)), this.lastPoint = null, this.pointSelector.setAdherePoints(null), this.dashed.hide(), this.perpendicularDashed.hide(), this.hook.emit("anchorChange", null), this.hook.emit("editedDashedLineChange", null), this.hook.emit("pointsChange", []), this.five.needsRender = !0;
354
+ }
351
355
  createPointSelector(e) {
352
- return new F(this.five, M(k({}, this.pointSelectorConfig), {
356
+ return new F(this.five, I(k({}, this.pointSelectorConfig), {
353
357
  mode: this.editParams.pointSelectorMode,
354
358
  helper: k({ magnifierParams: this.magnifierParams, container: this.container }, this.pointSelectorConfig.helper)
355
359
  }));
356
360
  }
361
+ setMagnifierEnabled(e) {
362
+ super.setMagnifierEnabled(e), this.pointSelector.pointSelectorHelper.setMagnifierEnabled(e);
363
+ }
357
364
  disposeMagnifier() {
358
365
  this.magnifier.dispose();
359
366
  }
@@ -369,9 +376,9 @@ class Wt extends z {
369
376
  this.onSelect();
370
377
  }
371
378
  complete() {
372
- this.hook.emit("complete"), this.currentMeasureType === "area" ? (this.area.points.length < 3 ? this.deleteArea(this.area) : (this.area.showArea(), this.area.complete(), this.area.hook.on("selected", this.chooseArea)), this.area = new R(void 0, { five: this.five, model: this.model, meshContainer: this.group, domContainer: this.container }), this.model.addArea(this.area)) : this.currentMeasureType === "line" && (this.polyline.lines.forEach((e) => {
379
+ this.hook.emit("complete"), this.currentMeasureType === "area" ? (this.area.points.length < 3 ? this.deleteArea(this.area) : (this.area.showArea(), this.area.complete(), this.area.hook.on("selected", this.chooseArea)), this.area = new D(void 0, { five: this.five, model: this.model, meshContainer: this.group, domContainer: this.container }), this.model.addArea(this.area)) : this.currentMeasureType === "line" && (this.polyline.lines.forEach((e) => {
373
380
  e.hook.on("selected", this.chooseLine), e.distanceItem.setCanSelect(!0);
374
- }), this.polyline = new E({ model: this.model }), this.model.addPolyline(this.polyline)), this.pointSelector.setAdherePoints(null), this.dashed.hide(), this.perpendicularDashed.hide(), this.lastPoint = void 0;
381
+ }), this.polyline = new T({ model: this.model }), this.model.addPolyline(this.polyline)), this.pointSelector.setAdherePoints(null), this.dashed.hide(), this.perpendicularDashed.hide(), this.lastPoint = void 0;
375
382
  }
376
383
  highlightArea(e) {
377
384
  this.highlightLines(e.polyline.lines), this.five.needsRender = !0;
@@ -8,5 +8,6 @@ export declare class ShortcutKeyController {
8
8
  dispose(): void;
9
9
  private escape;
10
10
  private onKeyDown;
11
+ protected handleKeyDown(e: KeyboardEvent): void;
11
12
  private onMouseDown;
12
13
  }
@@ -1,17 +1,12 @@
1
- var o = Object.defineProperty;
2
- var s = (r, e, t) => e in r ? o(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
- var n = (r, e, t) => (s(r, typeof e != "symbol" ? e + "" : e, t), t);
1
+ var r = Object.defineProperty;
2
+ var s = (o, e, t) => e in o ? r(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
+ var n = (o, e, t) => (s(o, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  class l {
5
5
  constructor(e, t) {
6
6
  n(this, "five");
7
7
  n(this, "measureController");
8
8
  n(this, "onKeyDown", (e) => {
9
- if (e.metaKey && e.code === "KeyS") {
10
- this.measureController.save().changeMode("Watch"), e.preventDefault();
11
- return;
12
- }
13
- if (e.code === "Escape")
14
- return this.escape();
9
+ this.handleKeyDown(e);
15
10
  });
16
11
  n(this, "onMouseDown", (e) => {
17
12
  e.button === 2 && (e.preventDefault(), this.measureController.save().changeMode("Watch"));
@@ -19,11 +14,19 @@ class l {
19
14
  this.five = t, this.measureController = e, this.five.getElement() && document.body.addEventListener("keydown", this.onKeyDown);
20
15
  }
21
16
  dispose() {
22
- this.five.getElement() && document.body.removeEventListener("keydown", this.onKeyDown);
17
+ document.body.removeEventListener("keydown", this.onKeyDown);
23
18
  }
24
19
  escape() {
25
20
  return this.measureController.getCurrentMode() === "Watch" ? this.measureController.disable() : this.measureController.save().changeMode("Watch");
26
21
  }
22
+ handleKeyDown(e) {
23
+ if (e.metaKey && e.code === "KeyS") {
24
+ this.measureController.save().changeMode("Watch"), e.preventDefault();
25
+ return;
26
+ }
27
+ if (e.code === "Escape")
28
+ return this.escape();
29
+ }
27
30
  }
28
31
  export {
29
32
  l as ShortcutKeyController
@@ -3,6 +3,7 @@ import type { Intersection } from '@realsee/five';
3
3
  import BaseController, { type ControllerParams } from './BaseController';
4
4
  import { Vector2 } from 'three';
5
5
  export default class WatchController extends BaseController {
6
+ protected get usePanEditing(): boolean;
6
7
  type: string;
7
8
  private deleteDom;
8
9
  private choose;
@@ -235,13 +235,16 @@ class ke extends U {
235
235
  });
236
236
  });
237
237
  const i = this.five.getElement();
238
- if (i) {
238
+ if (i && this.usePanEditing) {
239
239
  this.fiveElement = i;
240
240
  const e = new G(i);
241
241
  this.hammer = e, e.on("pan", this.onPan), e.on("panstart", this.onPanStart), e.on("panend", this.onPanEnd);
242
242
  }
243
243
  this.updateDistanceUI(), this.five.needsRender = !0, this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsPanGesture", this.wantsPanGesture), this.five.on("wantsChangeMode", D), this.model.hook.on("polylineRemoved", this.polylineRemoved);
244
244
  }
245
+ get usePanEditing() {
246
+ return !0;
247
+ }
245
248
  dispose() {
246
249
  var t;
247
250
  super.dispose(), this.deleteDom.dispose(), this.model.hook.off("polylineRemoved", this.polylineRemoved), this.model.getAllLines().forEach((i) => i.hook.off("selected", this.chooseLine)), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("wantsPanGesture", this.wantsPanGesture), this.five.off("wantsTapGesture", this.wantsTapGesture), this.five.off("wantsChangeMode", D), this.five.needsRender = !0, this.hook.emit("selectedChange", []), (t = this.hammer) == null || t.destroy();
@@ -13,6 +13,7 @@ import type { Subscribe } from '../../shared-utils/Subscribe';
13
13
  import type { Five } from '@realsee/five';
14
14
  import { type UIControllerParams } from '../Modules/UIController';
15
15
  import { type GuideControllerParams } from '../Modules/GuideController';
16
+ import { ShortcutKeyController } from './ShortcutKeyController';
16
17
  import { Magnifier } from '../../shared-utils';
17
18
  import type { MagnifierParameter } from '../../shared-utils';
18
19
  import type Area from '../Model/area';
@@ -125,5 +126,6 @@ export default class PanoMeasureController extends BasePlugin.Controller<BasePlu
125
126
  changeConfigs(config: Config): void;
126
127
  /** 设置线段的文本 */
127
128
  setCustomText(lineID: string, text: string): void;
129
+ protected createShortcutKeyController(): ShortcutKeyController;
128
130
  protected createControllerParams(): ControllerParams;
129
131
  }
@@ -145,7 +145,7 @@ import "../Components/Tip.js";
145
145
  import "../../shared-utils/url/defaultUrls.js";
146
146
  class fi extends F {
147
147
  constructor(t, e) {
148
- var l, a, m, h, g, y, C, M, w, P, b, v;
148
+ var l, a, h, m, g, y, C, M, w, b, P, v;
149
149
  super(t);
150
150
  o(this, "state", { enabled: !0 });
151
151
  o(this, "hasOpen", !1);
@@ -173,18 +173,18 @@ class fi extends F {
173
173
  * @description 还原点位展示和默认鼠标 UI
174
174
  */
175
175
  o(this, "disable", () => {
176
- var t, e, r, i;
177
- this.hasOpen = !1, this.state.enabled = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (t = this.controller) == null || t.dispose(), (e = this.useUIController) == null || e.hide(), (r = this.useGuideController) == null || r.hide(), (i = this.shortcutKeyController) == null || i.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
176
+ var t, e, i, r;
177
+ this.hasOpen = !1, this.state.enabled = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (t = this.controller) == null || t.dispose(), (e = this.useUIController) == null || e.hide(), (i = this.useGuideController) == null || i.hide(), (r = this.shortcutKeyController) == null || r.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
178
178
  });
179
179
  o(this, "getCurrentMode", () => this.controller instanceof c ? "Edit" : this.controller instanceof k ? "Watch" : this.controller instanceof u ? "Mixed" : this.controller instanceof U ? "View" : null);
180
180
  /** 变更场景
181
181
  * @description 如果从编辑场景改变到观看场景,不会自动保存,默认丢弃所有改动
182
182
  */
183
183
  o(this, "changeMode", (t) => {
184
- var i, l, a, m, h;
184
+ var r, l, a, h, m;
185
185
  if (!this.hasOpen || this.getCurrentMode() === t)
186
186
  return;
187
- (i = this.controller) == null || i.dispose();
187
+ (r = this.controller) == null || r.dispose();
188
188
  const e = {
189
189
  View: U,
190
190
  Watch: k,
@@ -193,8 +193,8 @@ class fi extends F {
193
193
  };
194
194
  if (!e[t])
195
195
  throw new Error("不存在的 Mode");
196
- const r = this.createControllerParams();
197
- this.controller = this.createModeController(r, e[t]), t === "View" ? ((l = this.useUIController) == null || l.hide(), (a = this.useGuideController) == null || a.hide()) : ((m = this.useUIController) == null || m.show(), (h = this.useGuideController) == null || h.show()), this.hook.emit("modeChange", t);
196
+ const i = this.createControllerParams();
197
+ this.controller = this.createModeController(i, e[t]), this.controller.setMagnifierEnabled(this.magnifierEnabled), t === "View" ? ((l = this.useUIController) == null || l.hide(), (a = this.useGuideController) == null || a.hide()) : ((h = this.useUIController) == null || h.show(), (m = this.useGuideController) == null || m.show()), this.hook.emit("modeChange", t);
198
198
  });
199
199
  /**
200
200
  * @description: 切换测量的类型
@@ -204,15 +204,15 @@ class fi extends F {
204
204
  });
205
205
  this.five = t, this.hook = this.hooks, this.params = e, this.config = O(e, ["openParams", "magnifierParams"]), this.model = new W(this.config), this.isMobile = (a = (l = e == null ? void 0 : e.openParams) == null ? void 0 : l.isMobile) != null ? a : !1, this.magnifier = this.createMagnifier(
206
206
  t,
207
- (y = (g = e.magnifierParams) != null ? g : (h = (m = e.pointSelectorConfig) == null ? void 0 : m.helper) == null ? void 0 : h.magnifierParams) != null ? y : { width: 190, height: 190, scale: 2 }
207
+ (y = (g = e.magnifierParams) != null ? g : (m = (h = e.pointSelectorConfig) == null ? void 0 : h.helper) == null ? void 0 : m.magnifierParams) != null ? y : { width: 190, height: 190, scale: 2 }
208
208
  ), this.allowMeasureType = Array.from(new Set((M = (C = e.editParams) == null ? void 0 : C.allowMeasureType) != null ? M : ["line"])), this.currentMeasureType = (w = this.allowMeasureType[0]) != null ? w : "line", this.group = new V(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.visibility = "hidden", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0", this.container.style.zIndex = "1";
209
- const r = (b = (P = e.editParams) == null ? void 0 : P.pointSelectorMode) != null ? b : j ? "fixed" : "cursor", i = (v = this.params.openParams) != null ? v : {};
209
+ const i = (P = (b = e.editParams) == null ? void 0 : b.pointSelectorMode) != null ? P : j ? "fixed" : "cursor", r = (v = this.params.openParams) != null ? v : {};
210
210
  if (this.params.useUIController !== !1) {
211
211
  const d = p({
212
212
  container: this.container,
213
- openParams: i,
213
+ openParams: r,
214
214
  i18n: e.i18n,
215
- pointSelectorMode: r,
215
+ pointSelectorMode: i,
216
216
  useNewUI: this.allowMeasureType.length > 1
217
217
  }, T(this.params.useUIController));
218
218
  this.useUIController = new B(this, d);
@@ -220,7 +220,7 @@ class fi extends F {
220
220
  if (this.params.useGuideController !== !1) {
221
221
  const d = p({
222
222
  container: this.container,
223
- pointSelectorMode: r,
223
+ pointSelectorMode: i,
224
224
  i18n: e.i18n
225
225
  }, T(this.params.useGuideController));
226
226
  this.useGuideController = new K(this, d);
@@ -234,8 +234,8 @@ class fi extends F {
234
234
  * 运行时生效,不影响选点与测量流程。
235
235
  */
236
236
  setMagnifierEnabled(t) {
237
- var e;
238
- this._magnifierEnabled = t, (e = this.magnifier) == null || e.setUserEnabled(t);
237
+ var e, i;
238
+ this._magnifierEnabled = t, (e = this.magnifier) == null || e.setUserEnabled(t), (i = this.controller) == null || i.setMagnifierEnabled(t);
239
239
  }
240
240
  createMagnifier(t, e) {
241
241
  return new _(t, e);
@@ -264,10 +264,10 @@ class fi extends F {
264
264
  load(t) {
265
265
  let e = t;
266
266
  t.list && (e = {
267
- polylines: t.list.map((i) => i.polyline).map((i) => {
267
+ polylines: t.list.map((r) => r.polyline).map((r) => {
268
268
  var l;
269
- return E(p({}, i), {
270
- visibleFiveMode: (l = i.visibleFiveMode) != null ? l : ["Panorama"]
269
+ return E(p({}, r), {
270
+ visibleFiveMode: (l = r.visibleFiveMode) != null ? l : ["Panorama"]
271
271
  });
272
272
  })
273
273
  }), this.model.parse(e), this.save();
@@ -277,8 +277,8 @@ class fi extends F {
277
277
  * @description 会隐藏当前 VR 内的点位展示
278
278
  */
279
279
  enable(t) {
280
- var e, r, i;
281
- this.hasOpen || (!this.container.parentElement && ((e = this.five.getElement()) != null && e.parentElement) && this.appendTo(this.five.getElement().parentElement), this.state.enabled = !0, this.hasOpen = !0, this.group.matrix.copy(this.workUtil.transform), this.group.matrix.decompose(this.group.position, this.group.quaternion, this.group.scale), this.group.updateMatrixWorld(), this.five.scene.add(this.group), this.container.style.visibility = "visible", this.container.style.opacity = "1", t != null && t.mode ? this.changeMode(t.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (t == null ? void 0 : t.mode) !== "View" && ((r = this.useUIController) == null || r.show(), (i = this.useGuideController) == null || i.show()), this.shortcutKeyController = new H(this, this.five), this.hook.emit("enable", !0));
280
+ var e, i, r;
281
+ this.hasOpen || (!this.container.parentElement && ((e = this.five.getElement()) != null && e.parentElement) && this.appendTo(this.five.getElement().parentElement), this.state.enabled = !0, this.hasOpen = !0, this.group.matrix.copy(this.workUtil.transform), this.group.matrix.decompose(this.group.position, this.group.quaternion, this.group.scale), this.group.updateMatrixWorld(), this.five.scene.add(this.group), this.container.style.visibility = "visible", this.container.style.opacity = "1", t != null && t.mode ? this.changeMode(t.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (t == null ? void 0 : t.mode) !== "View" && ((i = this.useUIController) == null || i.show(), (r = this.useGuideController) == null || r.show()), this.shortcutKeyController = this.createShortcutKeyController(), this.hook.emit("enable", !0));
282
282
  }
283
283
  /** 进入编辑模式 */
284
284
  edit(t) {
@@ -321,11 +321,11 @@ class fi extends F {
321
321
  * @description 以下情况可能报错
322
322
  */
323
323
  save(t) {
324
- var i;
324
+ var r;
325
325
  if (!(this.controller instanceof c) && !(this.controller instanceof u))
326
326
  return this;
327
- const e = (i = t == null ? void 0 : t.mode) != null ? i : "View", r = this.controller.model.areas;
328
- return this.controller instanceof c ? this.controller.complete() : r.forEach((l) => {
327
+ const e = (r = t == null ? void 0 : t.mode) != null ? r : "View", i = this.controller.model.areas;
328
+ return this.controller instanceof c ? this.controller.complete() : i.forEach((l) => {
329
329
  l.showArea(), this.model.addArea(l);
330
330
  }), this.changeMode(e), this;
331
331
  }
@@ -349,20 +349,23 @@ class fi extends F {
349
349
  changeIsMobile(t) {
350
350
  }
351
351
  changeConfigs(t) {
352
- var e, r;
353
- Object.assign(this.config, t), (e = this.controller) == null || e.updateDistanceUI(), (r = this.controller) == null || r.updateAreaUI();
352
+ var e, i;
353
+ Object.assign(this.config, t), (e = this.controller) == null || e.updateDistanceUI(), (i = this.controller) == null || i.updateAreaUI();
354
354
  }
355
355
  /** 设置线段的文本 */
356
356
  setCustomText(t, e) {
357
- var i;
358
- const r = this.model.getLineByID(t);
359
- if (!r)
357
+ var r;
358
+ const i = this.model.getLineByID(t);
359
+ if (!i)
360
360
  throw new Error("不存在的线段");
361
- r.setText(e), (i = this.controller) == null || i.updateDistanceUI();
361
+ i.setText(e), (r = this.controller) == null || r.updateDistanceUI();
362
+ }
363
+ createShortcutKeyController() {
364
+ return new H(this, this.five);
362
365
  }
363
366
  createControllerParams() {
364
- var r, i;
365
- const t = (r = this.params.openParams) != null ? r : {}, e = (i = this.params.editParams) != null ? i : {};
367
+ var i, r;
368
+ const t = (i = this.params.openParams) != null ? i : {}, e = (r = this.params.editParams) != null ? r : {};
366
369
  return t.isMobile = this.isMobile, {
367
370
  five: this.five,
368
371
  hook: this.hook,
@@ -9,10 +9,16 @@ import { type EdgeSnapOptions } from '../MeasurePluginV2/edgeSnap';
9
9
  import type { MagnifierParameter } from '../shared-utils';
10
10
  export type PanoMeasurePluginV2Config = PanoMeasureParameterType & {
11
11
  edgeSnap?: boolean | EdgeSnapOptions;
12
+ /** Mouse double-click measures along the starting surface normal. Enabled by default, as in MeasurePluginV2. */
13
+ quickMeasure?: boolean;
14
+ /** Keep one editable segment until finish/cancel; useful for one-ruler forms. */
15
+ singleSegment?: boolean;
12
16
  };
13
- /** Reuses panorama modes, events, models and serialization; only V2 picking changes. */
17
+ /** Keeps panorama modes, events and serialization, with shared V2 picking and quick measurement. */
14
18
  export declare class PanoMeasureControllerV2 extends PanoMeasureController {
15
19
  private readonly edgeSnapOptions;
20
+ private readonly quickMeasureEnabled;
21
+ private readonly singleSegment;
16
22
  private mobileStyle?;
17
23
  private readonly mixedSavedPolylineIDs;
18
24
  private readonly magnifierOptions;
@@ -29,6 +35,7 @@ export declare class PanoMeasureControllerV2 extends PanoMeasureController {
29
35
  removePolyline(polyline: Parameters<PanoMeasureController['removePolyline']>[0]): void;
30
36
  dispose(): void;
31
37
  protected createControllerParams(): ControllerParams;
38
+ protected createShortcutKeyController(): any;
32
39
  protected createMagnifier(five: Five, options: MagnifierParameter): PanoMagnifier;
33
40
  protected createModeController(params: ControllerParams, Controller: ModeControllerConstructor): WatchController | EditController | MixedController | import("../PanoMeasurePlugin/Controller/ViewController").default;
34
41
  }
@@ -1,48 +1,52 @@
1
1
  var U = Object.defineProperty, B = Object.defineProperties;
2
2
  var V = Object.getOwnPropertyDescriptors;
3
- var I = Object.getOwnPropertySymbols;
4
- var R = Object.prototype.hasOwnProperty, k = Object.prototype.propertyIsEnumerable;
5
- var c = (r, i, e) => i in r ? U(r, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[i] = e, n = (r, i) => {
3
+ var w = Object.getOwnPropertySymbols;
4
+ var q = Object.prototype.hasOwnProperty, R = Object.prototype.propertyIsEnumerable;
5
+ var c = (l, i, e) => i in l ? U(l, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[i] = e, n = (l, i) => {
6
6
  for (var e in i || (i = {}))
7
- R.call(i, e) && c(r, e, i[e]);
8
- if (I)
9
- for (var e of I(i))
10
- k.call(i, e) && c(r, e, i[e]);
11
- return r;
12
- }, s = (r, i) => B(r, V(i));
13
- var d = (r, i, e) => (c(r, typeof i != "symbol" ? i + "" : i, e), e);
7
+ q.call(i, e) && c(l, e, i[e]);
8
+ if (w)
9
+ for (var e of w(i))
10
+ R.call(i, e) && c(l, e, i[e]);
11
+ return l;
12
+ }, s = (l, i) => B(l, V(i));
13
+ var a = (l, i, e) => (c(l, typeof i != "symbol" ? i + "" : i, e), e);
14
14
  import W from "../PanoMeasurePlugin/Controller/index.js";
15
15
  import m from "../PanoMeasurePlugin/Controller/EditController.js";
16
- import w from "../PanoMeasurePlugin/Controller/MixedController.js";
17
- import j from "../PanoMeasurePlugin/Controller/WatchController.js";
18
- import { PanoMagnifier as D } from "./PointSelector.js";
19
- import { resolveEdgeSnapOptions as F } from "../MeasurePluginV2/edgeSnap.js";
20
- import { isTouchDevice as L } from "../shared-utils/isTouchDevice.js";
21
- import { PanoEditControllerV2 as h, PanoMixedControllerV2 as a, PanoWatchControllerV2 as O } from "./controllers.js";
22
- class Q extends W {
16
+ import D from "../PanoMeasurePlugin/Controller/MixedController.js";
17
+ import K from "../PanoMeasurePlugin/Controller/WatchController.js";
18
+ import { PanoMagnifier as O } from "./PointSelector.js";
19
+ import { resolveEdgeSnapOptions as j } from "../MeasurePluginV2/edgeSnap.js";
20
+ import { isTouchDevice as F } from "../shared-utils/isTouchDevice.js";
21
+ import { PanoEditControllerV2 as h, PanoMixedControllerV2 as d, PanoWatchControllerV2 as k } from "./controllers.js";
22
+ import { PanoShortcutKeyControllerV2 as L } from "./ShortcutKeyController.js";
23
+ class Z extends W {
23
24
  constructor(e, o = {}) {
24
- var f, p, g, u, P, y, S, C, v, b, x, E, M;
25
- const t = (p = (f = o.openParams) == null ? void 0 : f.isMobile) != null ? p : L, l = s(n({}, o), {
25
+ var f, g, p, u, P, S, y, C, v, b, E, M, x, I;
26
+ const t = (g = (f = o.openParams) == null ? void 0 : f.isMobile) != null ? g : F, r = s(n({}, o), {
26
27
  openParams: s(n({}, o.openParams), { isMobile: t }),
27
- editParams: s(n({}, o.editParams), { pointSelectorMode: (u = (g = o.editParams) == null ? void 0 : g.pointSelectorMode) != null ? u : t ? "fixed" : "cursor", autoEndConfig: t ? n({ line: 2 }, (P = o.editParams) == null ? void 0 : P.autoEndConfig) : (y = o.editParams) == null ? void 0 : y.autoEndConfig }),
28
+ editParams: s(n({}, o.editParams), { pointSelectorMode: (u = (p = o.editParams) == null ? void 0 : p.pointSelectorMode) != null ? u : t ? "fixed" : "cursor", autoEndConfig: t ? n({ line: 2 }, (P = o.editParams) == null ? void 0 : P.autoEndConfig) : (S = o.editParams) == null ? void 0 : S.autoEndConfig }),
28
29
  useUIController: t && o.useUIController !== !1 ? n({ useNewUI: !0, mode: "mobile" }, typeof o.useUIController == "object" ? o.useUIController : {}) : o.useUIController,
29
30
  pointSelectorConfig: s(n({}, o.pointSelectorConfig), {
30
- helper: s(n({}, (S = o.pointSelectorConfig) == null ? void 0 : S.helper), {
31
+ helper: s(n({}, (y = o.pointSelectorConfig) == null ? void 0 : y.helper), {
31
32
  magnifierParams: n(n(n({}, t ? { width: 150, height: 150, dragEnabled: !1, autoFixPCPosition: !1, initialPosition: { left: "12px", top: "12px" } } : {}), o.magnifierParams), (v = (C = o.pointSelectorConfig) == null ? void 0 : C.helper) == null ? void 0 : v.magnifierParams)
32
33
  })
33
34
  })
34
35
  });
35
- super(e, l);
36
- d(this, "edgeSnapOptions");
37
- d(this, "mobileStyle");
38
- d(this, "mixedSavedPolylineIDs", /* @__PURE__ */ new WeakMap());
39
- d(this, "magnifierOptions");
40
- d(this, "magnifierReady");
41
- this.edgeSnapOptions = F(o.edgeSnap), this.magnifierOptions = (M = (E = l.magnifierParams) != null ? E : (x = (b = l.pointSelectorConfig) == null ? void 0 : b.helper) == null ? void 0 : x.magnifierParams) != null ? M : { width: 190, height: 190, scale: 2 }, this.magnifierReady = !!e.renderer;
36
+ o.singleSegment && (r.editParams = s(n({}, r.editParams), { autoEndConfig: s(n({}, (b = r.editParams) == null ? void 0 : b.autoEndConfig), { line: void 0 }) }));
37
+ super(e, r);
38
+ a(this, "edgeSnapOptions");
39
+ a(this, "quickMeasureEnabled");
40
+ a(this, "singleSegment");
41
+ a(this, "mobileStyle");
42
+ a(this, "mixedSavedPolylineIDs", /* @__PURE__ */ new WeakMap());
43
+ a(this, "magnifierOptions");
44
+ a(this, "magnifierReady");
45
+ this.edgeSnapOptions = j(o.edgeSnap), this.quickMeasureEnabled = o.quickMeasure !== !1, this.singleSegment = o.singleSegment === !0, this.magnifierOptions = (I = (x = r.magnifierParams) != null ? x : (M = (E = r.pointSelectorConfig) == null ? void 0 : E.helper) == null ? void 0 : M.magnifierParams) != null ? I : { width: 190, height: 190, scale: 2 }, this.magnifierReady = !!e.renderer;
42
46
  }
43
47
  get pointSelector() {
44
48
  const e = this.controller;
45
- return e instanceof h || e instanceof a || e instanceof O ? e.selector : void 0;
49
+ return e instanceof h || e instanceof d || e instanceof k ? e.selector : void 0;
46
50
  }
47
51
  get lastEdgeSnapEdgeCount() {
48
52
  var e, o;
@@ -53,10 +57,10 @@ class Q extends W {
53
57
  }
54
58
  setEdgeSnapEnabled(e) {
55
59
  var o, t;
56
- this.edgeSnapOptions.enabled = e, (o = this.pointSelector) == null || o.resetSnap(), this.controller instanceof a ? this.controller.refreshPoint() : (t = this.pointSelector) == null || t.refresh(), this.five.needsRender = !0;
60
+ this.edgeSnapOptions.enabled = e, (o = this.pointSelector) == null || o.resetSnap(), this.controller instanceof d ? this.controller.refreshPoint() : (t = this.pointSelector) == null || t.refresh(), this.five.needsRender = !0;
57
61
  }
58
62
  clear() {
59
- const e = this.controller instanceof h ? m : this.controller instanceof a ? w : void 0;
63
+ const e = this.controller instanceof h ? m : this.controller instanceof d ? D : void 0;
60
64
  if (e) {
61
65
  const o = e === m ? "Edit" : "Mixed";
62
66
  this.controller.dispose(), super.clear(), this.controller = this.createModeController(this.createControllerParams(), e), this.hooks.emit("modeChange", o), this.resetUIController();
@@ -69,23 +73,23 @@ class Q extends W {
69
73
  }
70
74
  save(e) {
71
75
  var o;
72
- if (this.controller instanceof a) {
76
+ if (this.controller instanceof d) {
73
77
  const t = this.controller.model;
74
- for (const l of (o = this.mixedSavedPolylineIDs.get(this.controller)) != null ? o : [])
75
- t.getPolylineByID(l) || this.removePolylineByID(l);
76
- for (const l of t.polylines)
77
- this.model.getPolylineByID(l.id) || this.model.addPolyline(l);
78
- this.mixedSavedPolylineIDs.set(this.controller, new Set(t.polylines.map((l) => l.id)));
78
+ for (const r of (o = this.mixedSavedPolylineIDs.get(this.controller)) != null ? o : [])
79
+ t.getPolylineByID(r) || this.removePolylineByID(r);
80
+ for (const r of t.polylines)
81
+ this.model.getPolylineByID(r.id) || this.model.addPolyline(r);
82
+ this.mixedSavedPolylineIDs.set(this.controller, new Set(t.polylines.map((r) => r.id)));
79
83
  }
80
84
  return super.save(e);
81
85
  }
82
86
  removePolylineByID(e) {
83
87
  var t;
84
- const o = (t = this.model.getPolylineByID(e)) != null ? t : this.controller instanceof a ? this.controller.model.getPolylineByID(e) : void 0;
88
+ const o = (t = this.model.getPolylineByID(e)) != null ? t : this.controller instanceof d ? this.controller.model.getPolylineByID(e) : void 0;
85
89
  o && this.removePolyline(o);
86
90
  }
87
91
  removePolyline(e) {
88
- if (this.controller instanceof a) {
92
+ if (this.controller instanceof d) {
89
93
  const o = this.controller.model.getPolylineByID(e.id);
90
94
  o && this.controller.model.removePolyline(o);
91
95
  }
@@ -106,15 +110,18 @@ class Q extends W {
106
110
  }
107
111
  `, e.container.append(this.mobileStyle)), e;
108
112
  }
113
+ createShortcutKeyController() {
114
+ return new L(this, this.five);
115
+ }
109
116
  createMagnifier(e, o) {
110
- return new D(e, o);
117
+ return new O(e, o);
111
118
  }
112
119
  createModeController(e, o) {
113
- this.magnifierReady || (this.magnifier.dispose(), this.magnifier = new D(e.five, this.magnifierOptions), this.magnifier.setUserEnabled(this.magnifierEnabled), this.magnifierReady = !0, e = s(n({}, e), { magnifier: this.magnifier }));
114
- const t = s(n({}, e), { edgeSnapOptions: this.edgeSnapOptions });
115
- return o === m ? new h(t) : o === w ? new a(t) : o === j ? new O(t) : super.createModeController(e, o);
120
+ this.magnifierReady || (this.magnifier.dispose(), this.magnifier = new O(e.five, this.magnifierOptions), this.magnifier.setUserEnabled(this.magnifierEnabled), this.magnifierReady = !0, e = s(n({}, e), { magnifier: this.magnifier }));
121
+ const t = s(n({}, e), { edgeSnapOptions: this.edgeSnapOptions, quickMeasure: this.quickMeasureEnabled, singleSegment: this.singleSegment });
122
+ return o === m ? new h(t) : o === D ? new d(t) : o === K ? new k(t) : super.createModeController(e, o);
116
123
  }
117
124
  }
118
125
  export {
119
- Q as PanoMeasureControllerV2
126
+ Z as PanoMeasureControllerV2
120
127
  };