@realsee/dnalogel 2.21.0-dev.7 → 2.21.0-dev.9

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 (342) hide show
  1. package/dist/PanoMeasurePlugin/Components/Common/icons/index.d.ts +4 -0
  2. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +11 -0
  3. package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
  4. package/dist/PanoMeasurePlugin/Model/area.d.ts +8 -1
  5. package/dist/PanoMeasurePlugin/Model/line.d.ts +1 -0
  6. package/dist/PanoMeasurePlugin/Model/polygon.d.ts +1 -0
  7. package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
  8. package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +4 -0
  9. package/dist/index.cjs.js +54 -52
  10. package/dist/index.js +5119 -4997
  11. package/dist/index.umd.js +47 -45
  12. package/docs/classes/CSS3DRender.html +30 -30
  13. package/docs/classes/CruisePluginController.html +25 -25
  14. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  15. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  16. package/docs/classes/Magnifier.html +19 -19
  17. package/docs/classes/ModelRoomLabelController.html +10 -10
  18. package/docs/classes/Object3DHelperController.html +24 -24
  19. package/docs/classes/PaintBrush.html +14 -14
  20. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  21. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  22. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  23. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  24. package/docs/classes/PanoTagPluginController.html +46 -46
  25. package/docs/classes/Util.BetterTween.html +8 -8
  26. package/docs/classes/Util.Interval.html +11 -11
  27. package/docs/classes/Util.Magnifier.html +17 -17
  28. package/docs/classes/Util.PointDomHelper.html +10 -10
  29. package/docs/classes/Util.PointHelper.html +10 -10
  30. package/docs/classes/Util.PointSelectorHelper.html +16 -16
  31. package/docs/classes/Util.Rectangle.html +12 -12
  32. package/docs/enums/CameraMovementEffect.html +6 -6
  33. package/docs/enums/ContentType.html +19 -19
  34. package/docs/enums/DIRECTION.html +8 -8
  35. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  36. package/docs/enums/DimensionType.html +6 -6
  37. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  38. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  39. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  40. package/docs/enums/PointType.html +6 -6
  41. package/docs/enums/Rotation.html +7 -7
  42. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  43. package/docs/functions/CameraMovementPlugin.html +3 -3
  44. package/docs/functions/CruisePlugin.html +3 -3
  45. package/docs/functions/GuideLinePlugin.html +4 -4
  46. package/docs/functions/ItemLabelPlugin.html +3 -3
  47. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  48. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  49. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  50. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  51. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  52. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  53. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  54. package/docs/functions/ModelViewPlugin.html +3 -3
  55. package/docs/functions/Object3DHelperPlugin.html +3 -3
  56. package/docs/functions/PanoCompassPlugin.html +3 -3
  57. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  58. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  59. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  60. package/docs/functions/PanoMeasurePlugin.html +3 -3
  61. package/docs/functions/PanoRulerPlugin.html +3 -3
  62. package/docs/functions/PanoRulerProPlugin.html +3 -3
  63. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  64. package/docs/functions/PanoTagPlugin.html +3 -3
  65. package/docs/functions/PanoVideoPlugin.html +3 -3
  66. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  67. package/docs/functions/Util.absoluteUrl.html +4 -4
  68. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  69. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  70. package/docs/functions/Util.getFrameTime.html +4 -4
  71. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  72. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  73. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  74. package/docs/functions/Util.isModelLike.html +4 -4
  75. package/docs/functions/Util.isNil.html +4 -4
  76. package/docs/functions/Util.isPanoramaLike.html +4 -4
  77. package/docs/functions/Util.nextFrame.html +4 -4
  78. package/docs/functions/Util.notNil.html +4 -4
  79. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  80. package/docs/functions/Util.tweenProgress.html +4 -4
  81. package/docs/functions/Util.uuid.html +4 -4
  82. package/docs/functions/pluginFlag.html +4 -4
  83. package/docs/index.html +4 -4
  84. package/docs/interfaces/AddTagConfig.html +5 -5
  85. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  86. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  87. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  88. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  89. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  90. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  91. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  92. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  93. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  94. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  95. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  96. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  97. package/docs/interfaces/EventMap.html +14 -14
  98. package/docs/interfaces/FloorplanBounding.html +7 -7
  99. package/docs/interfaces/FloorplanData.html +9 -9
  100. package/docs/interfaces/FloorplanEntrance.html +10 -10
  101. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  102. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  103. package/docs/interfaces/FloorplanFloorData.html +8 -8
  104. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  105. package/docs/interfaces/FloorplanObserver.html +8 -8
  106. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  107. package/docs/interfaces/FloorplanPosition.html +6 -6
  108. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  109. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  110. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  111. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  112. package/docs/interfaces/FloorplanServerData.html +6 -6
  113. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  114. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  115. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  116. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  117. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  118. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  119. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  120. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  121. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  122. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  123. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  124. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  125. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  126. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  127. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  128. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  129. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  130. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  131. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  132. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  133. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  134. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  135. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  136. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  137. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  138. package/docs/interfaces/HelperOffset.html +7 -7
  139. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  140. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  141. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  142. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  143. package/docs/interfaces/MinMax.html +6 -6
  144. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  145. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  146. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  147. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  148. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  149. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  150. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  151. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  152. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  153. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  154. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  155. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  156. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  157. package/docs/interfaces/Object3DHelperState.html +7 -7
  158. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  159. package/docs/interfaces/PaintBrushAction.html +11 -11
  160. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  161. package/docs/interfaces/PaintBrushState.html +9 -9
  162. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  163. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  164. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  165. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  166. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  167. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  168. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  169. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  170. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  171. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  172. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  173. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  174. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  175. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  176. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  177. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  178. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  179. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  180. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  181. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  182. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  183. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  184. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  185. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  186. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  187. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  188. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  189. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  190. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  191. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  192. package/docs/interfaces/Point.html +7 -7
  193. package/docs/interfaces/Room.html +8 -8
  194. package/docs/interfaces/RoomInfo.html +6 -6
  195. package/docs/interfaces/RoomLabel.html +13 -13
  196. package/docs/interfaces/RoomRules.html +4 -4
  197. package/docs/interfaces/Rooms.html +4 -4
  198. package/docs/interfaces/Scissor.html +8 -8
  199. package/docs/interfaces/State.html +7 -7
  200. package/docs/interfaces/TagCacheInterface.html +11 -11
  201. package/docs/interfaces/TagConfig.html +12 -12
  202. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  203. package/docs/interfaces/TagIconUrl.html +11 -11
  204. package/docs/interfaces/TagObjectGroup.html +5 -5
  205. package/docs/interfaces/TagStyle.html +5 -5
  206. package/docs/interfaces/Tags.html +8 -8
  207. package/docs/interfaces/TemporaryState.html +5 -5
  208. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  209. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  210. package/docs/interfaces/Util.PointIntersection.html +7 -7
  211. package/docs/modules/CruisePluginTypes.html +4 -4
  212. package/docs/modules/GuideLineItem.html +4 -4
  213. package/docs/modules/GuideLineModeItem.html +4 -4
  214. package/docs/modules/GuideLinePluginType.html +4 -4
  215. package/docs/modules/PanoVideoPluginType.html +4 -4
  216. package/docs/modules/Util.html +4 -4
  217. package/docs/modules.html +4 -4
  218. package/docs/types/ArrayPosition.html +4 -4
  219. package/docs/types/AudioAppearance.html +4 -4
  220. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  221. package/docs/types/CSS3DRenderExportType.html +4 -4
  222. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  223. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  224. package/docs/types/ClassFunctionParameters.html +4 -4
  225. package/docs/types/Color.html +4 -4
  226. package/docs/types/ContentTypeConfigKey.html +4 -4
  227. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  228. package/docs/types/ContentTypeMap.html +4 -4
  229. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  230. package/docs/types/Create3DElementReturnType.html +4 -4
  231. package/docs/types/CruisePluginExportType.html +4 -4
  232. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  233. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  234. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  235. package/docs/types/DeprecatedTagProperty.html +4 -4
  236. package/docs/types/Direction-1.html +4 -4
  237. package/docs/types/Direction4.html +4 -4
  238. package/docs/types/ElementRenderer.html +4 -4
  239. package/docs/types/FloorplanRuleLabels.html +4 -4
  240. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  241. package/docs/types/GuideLinePluginExportType.html +4 -4
  242. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  243. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  244. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  245. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  246. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  247. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  248. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  249. package/docs/types/HelperEventMap.html +4 -4
  250. package/docs/types/LoadTagConfig.html +4 -4
  251. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  252. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  253. package/docs/types/MediaData.html +4 -4
  254. package/docs/types/MediaStore.html +4 -4
  255. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  256. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  257. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  258. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  259. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  260. package/docs/types/MoveArgs.html +4 -4
  261. package/docs/types/MoveOpts.html +4 -4
  262. package/docs/types/Object3DHelperEventMap.html +4 -4
  263. package/docs/types/ObjectFit.html +4 -4
  264. package/docs/types/PaintBrushEventMap.html +4 -4
  265. package/docs/types/PanoCompassPluginData.html +4 -4
  266. package/docs/types/PanoCompassPluginExportType.html +4 -4
  267. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  268. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  269. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  270. package/docs/types/PanoIndex.html +4 -4
  271. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  272. package/docs/types/PanoMeasureReturnType.html +4 -4
  273. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  274. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  275. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  276. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  277. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  278. package/docs/types/PartialObjectDeep.html +4 -4
  279. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  280. package/docs/types/PlaneTag.html +4 -4
  281. package/docs/types/Point2DTag.html +4 -4
  282. package/docs/types/Point3DTag.html +4 -4
  283. package/docs/types/PointTag.html +4 -4
  284. package/docs/types/PointTagInstance.html +4 -4
  285. package/docs/types/Position.html +4 -4
  286. package/docs/types/RotateArgs.html +4 -4
  287. package/docs/types/RotateOpts.html +4 -4
  288. package/docs/types/RuleLabelsKey.html +4 -4
  289. package/docs/types/RuleLabelsValue.html +4 -4
  290. package/docs/types/StickType.html +4 -4
  291. package/docs/types/Tag.html +4 -4
  292. package/docs/types/Tag2D.html +4 -4
  293. package/docs/types/Tag3D.html +4 -4
  294. package/docs/types/TagContentType.html +4 -4
  295. package/docs/types/TagDimensionType.html +4 -4
  296. package/docs/types/TagElement.html +4 -4
  297. package/docs/types/TagEvents.html +4 -4
  298. package/docs/types/TagGLTFObject.html +4 -4
  299. package/docs/types/TagHooks.html +4 -4
  300. package/docs/types/TagId.html +4 -4
  301. package/docs/types/TagInstance.html +4 -4
  302. package/docs/types/TagPointType.html +4 -4
  303. package/docs/types/TagRendererMap.html +4 -4
  304. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  305. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  306. package/docs/types/WorkCode.html +4 -4
  307. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  308. package/docs/variables/PLUGIN.html +4 -4
  309. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  310. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  311. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  312. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  313. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  314. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +106 -110
  315. package/libs/PanoMeasurePlugin/Components/Common/icons/index.d.ts +4 -0
  316. package/libs/PanoMeasurePlugin/Components/Common/icons/index.js +7 -0
  317. package/libs/PanoMeasurePlugin/Components/Controller0.js +189 -79
  318. package/libs/PanoMeasurePlugin/Components/Controller1.js +214 -180
  319. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +11 -0
  320. package/libs/PanoMeasurePlugin/Controller/EditController.js +174 -137
  321. package/libs/PanoMeasurePlugin/Controller/MixedController.js +5 -5
  322. package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
  323. package/libs/PanoMeasurePlugin/Controller/WatchController.js +13 -12
  324. package/libs/PanoMeasurePlugin/Controller/index.js +5 -4
  325. package/libs/PanoMeasurePlugin/Model/area.d.ts +8 -1
  326. package/libs/PanoMeasurePlugin/Model/area.js +21 -14
  327. package/libs/PanoMeasurePlugin/Model/line.d.ts +1 -0
  328. package/libs/PanoMeasurePlugin/Model/line.js +23 -22
  329. package/libs/PanoMeasurePlugin/Model/polygon.d.ts +1 -0
  330. package/libs/PanoMeasurePlugin/Model/polygon.js +16 -14
  331. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
  332. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +34 -24
  333. package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +4 -0
  334. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +45 -38
  335. package/libs/PanoMeasurePlugin/index.js +17 -16
  336. package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +3 -3
  337. package/libs/base/BasePlugin.js +1 -1
  338. package/libs/index.js +112 -111
  339. package/libs/shared-utils/logger.js +1 -1
  340. package/libs/shared-utils/three/PointSelector.js +7 -7
  341. package/libs/shared-utils/three/PointSelectorHelper.js +7 -7
  342. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
- import { SvelteComponent as U, init as V, safe_not_equal as W, append_styles as X, element as _, create_component as q, space as E, attr as k, toggle_class as $, insert as B, mount_component as z, append as b, transition_in as c, transition_out as h, check_outros as K, detach as D, destroy_component as L, onMount as Y, onDestroy as Z, add_render_callback as R, create_bidirectional_transition as S, listen as J, group_outros as j } from "../../vendor/svelte/internal/index.js";
2
- import x from "./Common/Switcher1.js";
3
- import ee from "./Common/CircleButton.js";
4
- import F from "../Controller/EditController.js";
5
- import te from "./Common/Exit.js";
6
- import { fade as A } from "../../vendor/svelte/transition/index.js";
1
+ import { SvelteComponent as V, init as W, safe_not_equal as X, append_styles as Y, element as w, space as z, create_component as x, attr as M, toggle_class as K, insert as j, append as C, mount_component as L, transition_in as h, transition_out as b, check_outros as B, detach as q, destroy_component as R, onMount as Z, onDestroy as $, add_render_callback as F, create_bidirectional_transition as E, listen as O, group_outros as D } from "../../vendor/svelte/internal/index.js";
2
+ import ee from "./Common/Switcher1.js";
3
+ import te from "./Common/CircleButton.js";
4
+ import G from "../Controller/EditController.js";
5
+ import oe from "./Common/Exit.js";
6
+ import { fade as S } from "../../vendor/svelte/transition/index.js";
7
7
  import "../Modules/UIController/mobileHTML.js";
8
8
  import "../Model/line.js";
9
9
  import "../../shared-utils/uuid.js";
@@ -62,13 +62,52 @@ import "../../shared-utils/animationFrame/index.js";
62
62
  import "../../shared-utils/isTouchDevice.js";
63
63
  import "../../shared-utils/getIntersectionFromEvent.js";
64
64
  import "../../shared-utils/getPointFromHammerEvent.js";
65
+ import "../Modules/DeleteDom/index.js";
66
+ import "../Modules/DeleteDom/_Assets/delete.svg.js";
67
+ import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
68
+ import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
69
+ import "../utils/findAssociatedLines.js";
70
+ import "../utils/math.js";
65
71
  import "../../vendor/svelte/easing/index.js";
66
- function oe(r) {
67
- X(r, "svelte-oflaon", "*.forbid.svelte-oflaon.svelte-oflaon{pointer-events:none;opacity:0.5}.Measure-Controller.svelte-oflaon.svelte-oflaon{pointer-events:none;color:white}.Measure-Controller.svelte-oflaon .mode-switcher.svelte-oflaon{margin-top:2.25rem}.Measure-Controller.svelte-oflaon .bottom.svelte-oflaon{position:absolute;width:100%;bottom:2.5rem}.Measure-Controller.svelte-oflaon .bottom .center.svelte-oflaon{display:flex;flex-direction:column;align-items:center}.Measure-Controller.svelte-oflaon .controller.svelte-oflaon{pointer-events:all;display:flex;align-items:center}.Measure-Controller.svelte-oflaon .controller .button.svelte-oflaon{cursor:pointer;display:flex;align-items:center;justify-content:center;height:2.5rem;padding-left:1rem;padding-right:1rem;border-radius:624.9375rem;font-size:0.875rem;background-color:rgba(0, 0, 0, 0.2)}.Measure-Controller.svelte-oflaon .controller .main-button.svelte-oflaon{margin-left:1.75rem;margin-right:1.75rem}");
72
+ function re(r) {
73
+ Y(r, "svelte-n2tx97", "*.forbid.svelte-n2tx97.svelte-n2tx97{pointer-events:none;opacity:0.5}.Measure-Controller.svelte-n2tx97.svelte-n2tx97{pointer-events:none;color:white}.Measure-Controller.svelte-n2tx97 .mode-switcher.svelte-n2tx97{margin-top:2.25rem}.Measure-Controller.svelte-n2tx97 .bottom.svelte-n2tx97{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-n2tx97 .bottom .mask.svelte-n2tx97{position:absolute;bottom:0;width:100%;height:12.5rem;background-size:100%;background-image:linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3))}.Measure-Controller.svelte-n2tx97 .bottom .center.svelte-n2tx97{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-n2tx97 .controller.svelte-n2tx97{pointer-events:all;display:flex;align-items:center}.Measure-Controller.svelte-n2tx97 .controller .button.svelte-n2tx97{cursor:pointer;display:flex;align-items:center;justify-content:center;height:2.5rem;padding-left:1rem;padding-right:1rem;border-radius:624.9375rem;font-size:0.875rem;background-color:rgba(0, 0, 0, 0.2)}.Measure-Controller.svelte-n2tx97 .controller .main-button.svelte-n2tx97{margin-left:1.75rem;margin-right:1.75rem;font-size:0.875rem;font-weight:bold}");
68
74
  }
69
- function G(r) {
70
- let o, t, e, m;
71
- return t = new x({
75
+ function H(r) {
76
+ let t, o;
77
+ return t = new oe({
78
+ props: {
79
+ onClick: (
80
+ /*measureController*/
81
+ r[0].disable
82
+ )
83
+ }
84
+ }), {
85
+ c() {
86
+ x(t.$$.fragment);
87
+ },
88
+ m(e, s) {
89
+ L(t, e, s), o = !0;
90
+ },
91
+ p(e, s) {
92
+ const l = {};
93
+ s & /*measureController*/
94
+ 1 && (l.onClick = /*measureController*/
95
+ e[0].disable), t.$set(l);
96
+ },
97
+ i(e) {
98
+ o || (h(t.$$.fragment, e), o = !0);
99
+ },
100
+ o(e) {
101
+ b(t.$$.fragment, e), o = !1;
102
+ },
103
+ d(e) {
104
+ R(t, e);
105
+ }
106
+ };
107
+ }
108
+ function I(r) {
109
+ let t, o, e, s;
110
+ return o = new ee({
72
111
  props: {
73
112
  options: [{ key: "line", value: "测距离" }, { key: "area", value: "测面积" }],
74
113
  defaultKey: (
@@ -82,123 +121,117 @@ function G(r) {
82
121
  }
83
122
  }), {
84
123
  c() {
85
- o = _("div"), q(t.$$.fragment), k(o, "class", "mode-switcher svelte-oflaon");
124
+ t = w("div"), x(o.$$.fragment), M(t, "class", "mode-switcher svelte-n2tx97");
86
125
  },
87
- m(l, i) {
88
- B(l, o, i), z(t, o, null), m = !0;
126
+ m(l, n) {
127
+ j(l, t, n), L(o, t, null), s = !0;
89
128
  },
90
- p(l, i) {
129
+ p(l, n) {
91
130
  r = l;
92
- const a = {};
93
- i & /*measureController*/
94
- 1 && (a.defaultKey = /*measureController*/
95
- r[0].currentMeasureType), i & /*measureController*/
96
- 1 && (a.onChange = /*measureController*/
97
- r[0].changeMeasureType), t.$set(a);
131
+ const d = {};
132
+ n & /*measureController*/
133
+ 1 && (d.defaultKey = /*measureController*/
134
+ r[0].currentMeasureType), n & /*measureController*/
135
+ 1 && (d.onChange = /*measureController*/
136
+ r[0].changeMeasureType), o.$set(d);
98
137
  },
99
138
  i(l) {
100
- m || (c(t.$$.fragment, l), l && R(() => {
101
- m && (e || (e = S(o, A, { duration: P }, !0)), e.run(1));
102
- }), m = !0);
139
+ s || (h(o.$$.fragment, l), l && F(() => {
140
+ s && (e || (e = E(t, S, { duration: A }, !0)), e.run(1));
141
+ }), s = !0);
103
142
  },
104
143
  o(l) {
105
- h(t.$$.fragment, l), l && (e || (e = S(o, A, { duration: P }, !1)), e.run(0)), m = !1;
144
+ b(o.$$.fragment, l), l && (e || (e = E(t, S, { duration: A }, !1)), e.run(0)), s = !1;
106
145
  },
107
146
  d(l) {
108
- l && D(o), L(t), l && e && e.end();
147
+ l && q(t), R(o), l && e && e.end();
109
148
  }
110
149
  };
111
150
  }
112
- function H(r) {
113
- let o, t, e, m, l;
151
+ function J(r) {
152
+ let t, o, e, s, l;
114
153
  return {
115
154
  c() {
116
- o = _("div"), o.textContent = "撤销", k(o, "class", "button svelte-oflaon"), $(
117
- o,
155
+ t = w("div"), t.textContent = "撤销", M(t, "class", "button svelte-n2tx97"), K(
156
+ t,
118
157
  "forbid",
119
158
  /*buttonState*/
120
- r[4] === "start"
159
+ r[2] === "start"
121
160
  );
122
161
  },
123
- m(i, a) {
124
- B(i, o, a), e = !0, m || (l = J(
125
- o,
162
+ m(n, d) {
163
+ j(n, t, d), e = !0, s || (l = O(
164
+ t,
126
165
  "click",
127
166
  /*click_handler*/
128
167
  r[13]
129
- ), m = !0);
168
+ ), s = !0);
130
169
  },
131
- p(i, a) {
132
- r = i, (!e || a & /*buttonState*/
133
- 16) && $(
134
- o,
170
+ p(n, d) {
171
+ r = n, (!e || d & /*buttonState*/
172
+ 4) && K(
173
+ t,
135
174
  "forbid",
136
175
  /*buttonState*/
137
- r[4] === "start"
176
+ r[2] === "start"
138
177
  );
139
178
  },
140
- i(i) {
141
- e || (i && R(() => {
142
- e && (t || (t = S(o, A, { duration: P }, !0)), t.run(1));
179
+ i(n) {
180
+ e || (n && F(() => {
181
+ e && (o || (o = E(t, S, { duration: A }, !0)), o.run(1));
143
182
  }), e = !0);
144
183
  },
145
- o(i) {
146
- i && (t || (t = S(o, A, { duration: P }, !1)), t.run(0)), e = !1;
184
+ o(n) {
185
+ n && (o || (o = E(t, S, { duration: A }, !1)), o.run(0)), e = !1;
147
186
  },
148
- d(i) {
149
- i && D(o), i && t && t.end(), m = !1, l();
187
+ d(n) {
188
+ n && q(t), n && o && o.end(), s = !1, l();
150
189
  }
151
190
  };
152
191
  }
153
- function I(r) {
154
- let o, t, e, m, l;
192
+ function N(r) {
193
+ let t, o, e, s, l;
155
194
  return {
156
195
  c() {
157
- o = _("div"), o.textContent = "结束", k(o, "class", "button svelte-oflaon");
196
+ t = w("div"), t.textContent = "结束", M(t, "class", "button svelte-n2tx97");
158
197
  },
159
- m(i, a) {
160
- B(i, o, a), e = !0, m || (l = J(
161
- o,
198
+ m(n, d) {
199
+ j(n, t, d), e = !0, s || (l = O(
200
+ t,
162
201
  "click",
163
202
  /*complete*/
164
- r[10]
165
- ), m = !0);
203
+ r[11]
204
+ ), s = !0);
166
205
  },
167
- p(i, a) {
168
- r = i;
206
+ p(n, d) {
207
+ r = n;
169
208
  },
170
- i(i) {
171
- e || (i && R(() => {
172
- e && (t || (t = S(o, A, { duration: P }, !0)), t.run(1));
209
+ i(n) {
210
+ e || (n && F(() => {
211
+ e && (o || (o = E(t, S, { duration: A }, !0)), o.run(1));
173
212
  }), e = !0);
174
213
  },
175
- o(i) {
176
- i && (t || (t = S(o, A, { duration: P }, !1)), t.run(0)), e = !1;
214
+ o(n) {
215
+ n && (o || (o = E(t, S, { duration: A }, !1)), o.run(0)), e = !1;
177
216
  },
178
- d(i) {
179
- i && D(o), i && t && t.end(), m = !1, l();
217
+ d(n) {
218
+ n && q(t), n && o && o.end(), s = !1, l();
180
219
  }
181
220
  };
182
221
  }
183
- function re(r) {
184
- let o, t, e, m, l, i, a, y, v, d, T, g;
185
- t = new te({
186
- props: {
187
- onClick: (
188
- /*measureController*/
189
- r[0].disable
190
- )
191
- }
192
- });
193
- let s = (
222
+ function ne(r) {
223
+ let t, o, e, s, l, n, d, g, y, c, v, P, _, u = (
224
+ /*showExit*/
225
+ r[1] && H(r)
226
+ ), m = (
194
227
  /*measureController*/
195
228
  r[0].allowMeasureType.length >= 2 && /*buttonState*/
196
- r[4] === "start" && G(r)
197
- ), p = (
229
+ r[2] === "start" && I(r)
230
+ ), f = (
198
231
  /*showButton*/
199
- r[2] && H(r)
232
+ r[4] && J(r)
200
233
  );
201
- d = new ee({
234
+ v = new te({
202
235
  props: {
203
236
  onClick: (
204
237
  /*func*/
@@ -206,160 +239,161 @@ function re(r) {
206
239
  ),
207
240
  text: (
208
241
  /*currentMeasureType*/
209
- r[1] === "area" ? (
242
+ r[3] === "area" ? (
210
243
  /*buttonAreaTextMap*/
211
- r[5][
244
+ r[6][
212
245
  /*buttonState*/
213
- r[4]
246
+ r[2]
214
247
  ]
215
248
  ) : (
216
249
  /*buttonLineTextMap*/
217
- r[6][
250
+ r[7][
218
251
  /*buttonState*/
219
- r[4]
252
+ r[2]
220
253
  ]
221
254
  )
222
255
  ),
223
256
  color: (
224
257
  /*buttonColorMap*/
225
- r[7][
258
+ r[8][
226
259
  /*buttonState*/
227
- r[4]
260
+ r[2]
228
261
  ]
229
262
  )
230
263
  }
231
264
  });
232
- let f = (
265
+ let a = (
233
266
  /*showButton*/
234
- r[2] && I(r)
267
+ r[4] && N(r)
235
268
  );
236
269
  return {
237
270
  c() {
238
- o = _("div"), q(t.$$.fragment), e = E(), m = _("div"), l = _("div"), s && s.c(), i = E(), a = _("div"), p && p.c(), y = E(), v = _("div"), q(d.$$.fragment), T = E(), f && f.c(), k(v, "class", "main-button svelte-oflaon"), $(v, "forbid", !/*allowAddPoint*/
239
- r[3]), k(a, "class", "controller svelte-oflaon"), k(l, "class", "center svelte-oflaon"), k(m, "class", "bottom svelte-oflaon"), k(o, "class", "Measure-Controller svelte-oflaon");
271
+ t = w("div"), u && u.c(), o = z(), e = w("div"), s = w("div"), l = z(), n = w("div"), m && m.c(), d = z(), g = w("div"), f && f.c(), y = z(), c = w("div"), x(v.$$.fragment), P = z(), a && a.c(), M(s, "class", "mask svelte-n2tx97"), M(c, "class", "main-button svelte-n2tx97"), K(c, "forbid", !/*allowAddPoint*/
272
+ r[5]), M(g, "class", "controller svelte-n2tx97"), M(n, "class", "center svelte-n2tx97"), M(e, "class", "bottom svelte-n2tx97"), M(t, "class", "Measure-Controller svelte-n2tx97");
240
273
  },
241
- m(n, u) {
242
- B(n, o, u), z(t, o, null), b(o, e), b(o, m), b(m, l), s && s.m(l, null), b(l, i), b(l, a), p && p.m(a, null), b(a, y), b(a, v), z(d, v, null), b(a, T), f && f.m(a, null), g = !0;
274
+ m(i, p) {
275
+ j(i, t, p), u && u.m(t, null), C(t, o), C(t, e), C(e, s), C(e, l), C(e, n), m && m.m(n, null), C(n, d), C(n, g), f && f.m(g, null), C(g, y), C(g, c), L(v, c, null), C(g, P), a && a.m(g, null), _ = !0;
243
276
  },
244
- p(n, [u]) {
245
- const M = {};
246
- u & /*measureController*/
247
- 1 && (M.onClick = /*measureController*/
248
- n[0].disable), t.$set(M), /*measureController*/
249
- n[0].allowMeasureType.length >= 2 && /*buttonState*/
250
- n[4] === "start" ? s ? (s.p(n, u), u & /*measureController, buttonState*/
251
- 17 && c(s, 1)) : (s = G(n), s.c(), c(s, 1), s.m(l, i)) : s && (j(), h(s, 1, 1, () => {
252
- s = null;
253
- }), K()), /*showButton*/
254
- n[2] ? p ? (p.p(n, u), u & /*showButton*/
255
- 4 && c(p, 1)) : (p = H(n), p.c(), c(p, 1), p.m(a, y)) : p && (j(), h(p, 1, 1, () => {
256
- p = null;
257
- }), K());
258
- const w = {};
259
- u & /*buttonState*/
260
- 16 && (w.onClick = /*func*/
261
- n[14]), u & /*currentMeasureType, buttonState*/
262
- 18 && (w.text = /*currentMeasureType*/
263
- n[1] === "area" ? (
277
+ p(i, [p]) {
278
+ /*showExit*/
279
+ i[1] ? u ? (u.p(i, p), p & /*showExit*/
280
+ 2 && h(u, 1)) : (u = H(i), u.c(), h(u, 1), u.m(t, o)) : u && (D(), b(u, 1, 1, () => {
281
+ u = null;
282
+ }), B()), /*measureController*/
283
+ i[0].allowMeasureType.length >= 2 && /*buttonState*/
284
+ i[2] === "start" ? m ? (m.p(i, p), p & /*measureController, buttonState*/
285
+ 5 && h(m, 1)) : (m = I(i), m.c(), h(m, 1), m.m(n, d)) : m && (D(), b(m, 1, 1, () => {
286
+ m = null;
287
+ }), B()), /*showButton*/
288
+ i[4] ? f ? (f.p(i, p), p & /*showButton*/
289
+ 16 && h(f, 1)) : (f = J(i), f.c(), h(f, 1), f.m(g, y)) : f && (D(), b(f, 1, 1, () => {
290
+ f = null;
291
+ }), B());
292
+ const T = {};
293
+ p & /*buttonState*/
294
+ 4 && (T.onClick = /*func*/
295
+ i[14]), p & /*currentMeasureType, buttonState*/
296
+ 12 && (T.text = /*currentMeasureType*/
297
+ i[3] === "area" ? (
264
298
  /*buttonAreaTextMap*/
265
- n[5][
299
+ i[6][
266
300
  /*buttonState*/
267
- n[4]
301
+ i[2]
268
302
  ]
269
303
  ) : (
270
304
  /*buttonLineTextMap*/
271
- n[6][
305
+ i[7][
272
306
  /*buttonState*/
273
- n[4]
307
+ i[2]
274
308
  ]
275
- )), u & /*buttonState*/
276
- 16 && (w.color = /*buttonColorMap*/
277
- n[7][
309
+ )), p & /*buttonState*/
310
+ 4 && (T.color = /*buttonColorMap*/
311
+ i[8][
278
312
  /*buttonState*/
279
- n[4]
280
- ]), d.$set(w), (!g || u & /*allowAddPoint*/
281
- 8) && $(v, "forbid", !/*allowAddPoint*/
282
- n[3]), /*showButton*/
283
- n[2] ? f ? (f.p(n, u), u & /*showButton*/
284
- 4 && c(f, 1)) : (f = I(n), f.c(), c(f, 1), f.m(a, null)) : f && (j(), h(f, 1, 1, () => {
285
- f = null;
286
- }), K());
313
+ i[2]
314
+ ]), v.$set(T), (!_ || p & /*allowAddPoint*/
315
+ 32) && K(c, "forbid", !/*allowAddPoint*/
316
+ i[5]), /*showButton*/
317
+ i[4] ? a ? (a.p(i, p), p & /*showButton*/
318
+ 16 && h(a, 1)) : (a = N(i), a.c(), h(a, 1), a.m(g, null)) : a && (D(), b(a, 1, 1, () => {
319
+ a = null;
320
+ }), B());
287
321
  },
288
- i(n) {
289
- g || (c(t.$$.fragment, n), c(s), c(p), c(d.$$.fragment, n), c(f), g = !0);
322
+ i(i) {
323
+ _ || (h(u), h(m), h(f), h(v.$$.fragment, i), h(a), _ = !0);
290
324
  },
291
- o(n) {
292
- h(t.$$.fragment, n), h(s), h(p), h(d.$$.fragment, n), h(f), g = !1;
325
+ o(i) {
326
+ b(u), b(m), b(f), b(v.$$.fragment, i), b(a), _ = !1;
293
327
  },
294
- d(n) {
295
- n && D(o), L(t), s && s.d(), p && p.d(), L(d), f && f.d();
328
+ d(i) {
329
+ i && q(t), u && u.d(), m && m.d(), f && f.d(), R(v), a && a.d();
296
330
  }
297
331
  };
298
332
  }
299
- const P = 100;
300
- function ne(r, o, t) {
301
- let { measureController: e } = o;
302
- const m = { start: "开始", add: "添加", end: "结束" }, l = { start: "开始", add: "添加", end: "完成" }, i = {
333
+ const A = 100;
334
+ function ie(r, t, o) {
335
+ let { measureController: e } = t, { showExit: s = !1 } = t;
336
+ const l = { start: "开始", add: "添加", end: "结束" }, n = { start: "开始", add: "添加", end: "完成" }, d = {
303
337
  start: "white",
304
338
  add: "white",
305
339
  end: "blue"
306
340
  };
307
- let a = !1, y = !1, v = !0, d = "start", T = e.currentMeasureType;
308
- const g = () => {
309
- t(12, a = !0), e.getCurrentMode() !== "Edit" ? e.changeMode("Edit") : (t(4, d = "add"), s());
310
- }, s = () => {
311
- e.controller instanceof F && e.controller.selectPoint();
312
- }, p = () => {
313
- e.controller instanceof F && e.controller.complete();
314
- }, f = () => {
315
- s(), M("allow");
316
- }, n = () => {
317
- t(4, d = "end");
341
+ let g = !1, y = !0, c = "start", v = e.currentMeasureType;
342
+ const P = () => {
343
+ e.getCurrentMode() !== "Edit" ? e.changeMode("Edit") : (o(2, c = "add"), _());
344
+ }, _ = () => {
345
+ e.controller instanceof G && e.controller.selectPoint();
318
346
  }, u = () => {
319
- t(4, d = "start"), M("allow");
320
- }, M = (C) => {
321
- t(3, v = C === "allow");
322
- }, w = (C) => {
323
- t(1, T = C);
324
- }, N = (C) => {
325
- C.isEmpty && t(4, d = "start");
347
+ e.controller instanceof G && e.controller.complete();
348
+ }, m = () => {
349
+ _(), i("allow");
350
+ }, f = () => {
351
+ o(2, c = "end");
352
+ }, a = () => {
353
+ o(2, c = "start"), i("allow");
354
+ }, i = (k) => {
355
+ o(5, y = k === "allow");
356
+ }, p = (k) => {
357
+ o(3, v = k);
358
+ }, T = (k) => {
359
+ k.isEmpty && o(2, c = "start");
326
360
  };
327
- Y(() => {
328
- e.hook.on("revoke", N), e.hook.on("measureTypeChange", w), e.hook.on("modeChange", u), e.hook.on("allowAddPointStateChange", M), e.hook.on("readyComplete", n), e.hook.on("complete", u);
329
- }), Z(() => {
330
- e.hook.off("measureTypeChange", w), e.hook.off("modeChange", u), e.hook.off("allowAddPointStateChange", M), e.hook.off("readyComplete", n), e.hook.off("complete", u);
361
+ Z(() => {
362
+ e.hook.on("revoke", T), e.hook.on("measureTypeChange", p), e.hook.on("modeChange", a), e.hook.on("allowAddPointStateChange", i), e.hook.on("readyComplete", f), e.hook.on("complete", a);
363
+ }), $(() => {
364
+ e.hook.off("measureTypeChange", p), e.hook.off("modeChange", a), e.hook.off("allowAddPointStateChange", i), e.hook.off("readyComplete", f), e.hook.off("complete", a);
331
365
  });
332
- const O = () => e.revoke(), Q = () => {
333
- d === "start" ? g() : d === "add" ? s() : d === "end" && f();
366
+ const Q = () => e.revoke(), U = () => {
367
+ c === "start" ? P() : c === "add" ? _() : c === "end" && m();
334
368
  };
335
- return r.$$set = (C) => {
336
- "measureController" in C && t(0, e = C.measureController);
369
+ return r.$$set = (k) => {
370
+ "measureController" in k && o(0, e = k.measureController), "showExit" in k && o(1, s = k.showExit);
337
371
  }, r.$$.update = () => {
338
- r.$$.dirty & /*currentMeasureType, isStarted*/
339
- 4098 && t(2, y = T === "area" && a);
372
+ r.$$.dirty & /*currentMeasureType, buttonState*/
373
+ 12 && o(4, g = v === "area" && c !== "start");
340
374
  }, [
341
375
  e,
342
- T,
343
- y,
376
+ s,
377
+ c,
344
378
  v,
379
+ g,
380
+ y,
381
+ l,
382
+ n,
345
383
  d,
384
+ P,
385
+ _,
386
+ u,
346
387
  m,
347
- l,
348
- i,
349
- g,
350
- s,
351
- p,
352
- f,
353
- a,
354
- O,
355
- Q
388
+ Q,
389
+ U
356
390
  ];
357
391
  }
358
- class ht extends U {
359
- constructor(o) {
360
- super(), V(this, o, ne, re, W, { measureController: 0 }, oe);
392
+ class Mt extends V {
393
+ constructor(t) {
394
+ super(), W(this, t, ie, ne, X, { measureController: 0, showExit: 1 }, re);
361
395
  }
362
396
  }
363
397
  export {
364
- ht as default
398
+ Mt as default
365
399
  };
@@ -12,6 +12,7 @@ export default class EditController extends BaseController {
12
12
  /** 上一个端点位置 */
13
13
  private lastPoint;
14
14
  private pointSelector;
15
+ private deleteDom;
15
16
  /** 根据 intersection 更新放大镜和吸附点 */
16
17
  private onIntersectionUpdate;
17
18
  constructor(params: ControllerParams);
@@ -42,4 +43,14 @@ export default class EditController extends BaseController {
42
43
  private onCameraUpdate;
43
44
  /** 更新虚线 */
44
45
  private updateDashed;
46
+ private wantsTapGesture;
47
+ private chooseLine;
48
+ private chooseArea;
49
+ private highlightArea;
50
+ private unHighlightArea;
51
+ private highlightLines;
52
+ private unHighlightLines;
53
+ private highlightLine;
54
+ private deleteArea;
55
+ private deleteLine;
45
56
  }