@realsee/dnalogel 2.21.0-dev.0 → 2.21.0-dev.11

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 (485) hide show
  1. package/components/index.js +329 -329
  2. package/dist/CSS3DRenderPlugin/Controller.d.ts +4 -1
  3. package/dist/GuideLinePlugin/Controller.d.ts +5 -3
  4. package/dist/GuideLinePlugin/GuideLineItem.d.ts +1 -1
  5. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +17 -0
  6. package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +7 -0
  7. package/dist/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +1 -0
  8. package/dist/PanoMeasurePlugin/Components/Common/Switcher0.svelte.d.ts +1 -0
  9. package/dist/PanoMeasurePlugin/Components/Common/icons/index.d.ts +4 -0
  10. package/dist/PanoMeasurePlugin/Components/Controller0.svelte.d.ts +1 -0
  11. package/dist/PanoMeasurePlugin/Components/Tip.svelte.d.ts +1 -0
  12. package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +2 -0
  13. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +17 -18
  14. package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
  15. package/dist/PanoMeasurePlugin/Controller/index.d.ts +6 -3
  16. package/dist/PanoMeasurePlugin/Model/area.d.ts +13 -1
  17. package/dist/PanoMeasurePlugin/Model/index.d.ts +1 -0
  18. package/dist/PanoMeasurePlugin/Model/line.d.ts +3 -0
  19. package/dist/PanoMeasurePlugin/Model/polygon.d.ts +4 -0
  20. package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
  21. package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +16 -12
  22. package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +9 -3
  23. package/dist/PanoMeasurePlugin/Modules/UIController/style.d.ts +0 -8
  24. package/dist/PanoMeasurePlugin/typings/data.d.ts +8 -2
  25. package/dist/PanoMeasurePlugin/typings/event.type.d.ts +8 -1
  26. package/dist/PanoMeasurePlugin/utils/dom/base.d.ts +4 -0
  27. package/dist/PanoMeasurePlugin/utils/geometryUtil.d.ts +1 -1
  28. package/dist/PanoMeasurePlugin/utils/ndc2Screen.d.ts +2 -1
  29. package/dist/PanoTagPlugin/controller/index.d.ts +2 -1
  30. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
  31. package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -1
  32. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -4
  33. package/dist/base/BasePlugin.d.ts +4 -1
  34. package/dist/components/PaintBrush/style.d.ts +1 -1
  35. package/dist/index.cjs.js +72 -68
  36. package/dist/index.js +8323 -7015
  37. package/dist/index.umd.js +65 -61
  38. package/dist/shared-utils/absoluteUrl.d.ts +5 -0
  39. package/dist/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.d.ts +1 -1
  40. package/dist/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.d.ts +1 -1
  41. package/dist/shared-utils/index.d.ts +1 -1
  42. package/dist/shared-utils/isTouchDevice.d.ts +1 -0
  43. package/dist/shared-utils/three/Magnifier.d.ts +2 -0
  44. package/dist/shared-utils/three/PointSelector.d.ts +92 -0
  45. package/dist/shared-utils/three/PointSelectorHelper.d.ts +41 -0
  46. package/dist/shared-utils/three/index.d.ts +1 -1
  47. package/dist/typings/typings.d.ts +4 -0
  48. package/docs/assets/search.js +1 -1
  49. package/docs/classes/CSS3DRender.html +34 -33
  50. package/docs/classes/CruisePluginController.html +48 -45
  51. package/docs/classes/GuideLineItem.GuideLineItem.html +23 -22
  52. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +90 -34
  53. package/docs/classes/Magnifier.html +23 -22
  54. package/docs/classes/ModelRoomLabelController.html +14 -13
  55. package/docs/classes/Object3DHelperController.html +47 -44
  56. package/docs/classes/PaintBrush.html +18 -17
  57. package/docs/classes/PanoMeasurePluginLine.html +48 -27
  58. package/docs/classes/PanoMeasurePluginModel.html +44 -28
  59. package/docs/classes/PanoMeasurePluginPoint.html +17 -16
  60. package/docs/classes/PanoMeasurePluginPolyline.html +30 -29
  61. package/docs/classes/PanoTagPluginController.html +73 -70
  62. package/docs/classes/Util.BetterTween.html +12 -11
  63. package/docs/classes/Util.Interval.html +15 -14
  64. package/docs/classes/Util.Magnifier.html +42 -21
  65. package/docs/classes/Util.PointDomHelper.html +14 -13
  66. package/docs/classes/Util.PointHelper.html +14 -13
  67. package/docs/classes/{Util.FivePointSelector.html → Util.PointSelectorHelper.html} +70 -30
  68. package/docs/classes/Util.Rectangle.html +16 -15
  69. package/docs/enums/CameraMovementEffect.html +10 -9
  70. package/docs/enums/ContentType.html +23 -22
  71. package/docs/enums/DIRECTION.html +12 -11
  72. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +12 -11
  73. package/docs/enums/DimensionType.html +10 -9
  74. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +11 -10
  75. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +12 -11
  76. package/docs/enums/PaintBrushTypeEnum.html +11 -10
  77. package/docs/enums/PointType.html +10 -9
  78. package/docs/enums/Rotation.html +11 -10
  79. package/docs/functions/CSS3DRenderPlugin.html +7 -6
  80. package/docs/functions/CameraMovementPlugin.html +7 -6
  81. package/docs/functions/CruisePlugin.html +7 -6
  82. package/docs/functions/GuideLinePlugin.html +8 -7
  83. package/docs/functions/ItemLabelPlugin.html +7 -6
  84. package/docs/functions/MapviewFloorplanPlugin.html +7 -6
  85. package/docs/functions/ModelChassisCompassPlugin.html +7 -6
  86. package/docs/functions/ModelEntryDoorGuidePlugin.html +7 -6
  87. package/docs/functions/ModelFloorplanPlugin.html +7 -6
  88. package/docs/functions/ModelItemLabelPlugin.html +7 -6
  89. package/docs/functions/ModelRoomLabelPlugin.html +7 -6
  90. package/docs/functions/ModelTVVideoPlugin.html +7 -6
  91. package/docs/functions/ModelViewPlugin.html +7 -6
  92. package/docs/functions/Object3DHelperPlugin.html +7 -6
  93. package/docs/functions/PanoCompassPlugin.html +7 -6
  94. package/docs/functions/PanoCursorRaycasterPlugin.html +7 -6
  95. package/docs/functions/PanoDoorLabelPlugin.html +7 -6
  96. package/docs/functions/PanoFloorplanRadarPlugin.html +7 -6
  97. package/docs/functions/PanoMeasurePlugin.html +7 -6
  98. package/docs/functions/PanoRulerPlugin.html +7 -6
  99. package/docs/functions/PanoRulerProPlugin.html +7 -6
  100. package/docs/functions/PanoSpatialTagPlugin.html +7 -6
  101. package/docs/functions/PanoTagPlugin.html +7 -6
  102. package/docs/functions/PanoVideoPlugin.html +7 -6
  103. package/docs/functions/TopviewFloorplanPlugin.html +7 -6
  104. package/docs/{types/PartialObjectDeep.html → functions/Util.absoluteUrl.html} +151 -141
  105. package/docs/functions/Util.getCoordsFromClient.html +8 -7
  106. package/docs/functions/Util.getCoordsFromElement.html +8 -7
  107. package/docs/functions/Util.getFrameTime.html +8 -7
  108. package/docs/functions/Util.getIntersectFromRelativePosition.html +8 -7
  109. package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -7
  110. package/docs/functions/Util.isAbsoluteURL.html +8 -7
  111. package/docs/functions/Util.isModelLike.html +8 -7
  112. package/docs/functions/Util.isNil.html +8 -7
  113. package/docs/functions/Util.isPanoramaLike.html +8 -7
  114. package/docs/functions/Util.nextFrame.html +8 -7
  115. package/docs/functions/Util.notNil.html +8 -7
  116. package/docs/functions/Util.requestAnimationFrameInterval.html +8 -7
  117. package/docs/functions/Util.tweenProgress.html +8 -7
  118. package/docs/functions/Util.uuid.html +8 -7
  119. package/docs/functions/pluginFlag.html +8 -7
  120. package/docs/index.html +8 -7
  121. package/docs/interfaces/AddTagConfig.html +9 -8
  122. package/docs/interfaces/CSS3DRenderPluginEventMap.html +14 -13
  123. package/docs/interfaces/CSS3DRenderPluginState.html +11 -10
  124. package/docs/interfaces/CameraMovementPluginExportType.html +10 -9
  125. package/docs/interfaces/CruisePluginTypes.Config.html +11 -10
  126. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +15 -14
  127. package/docs/interfaces/CruisePluginTypes.EventMap.html +23 -22
  128. package/docs/interfaces/CruisePluginTypes.MoveAction.html +15 -14
  129. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +17 -16
  130. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +17 -16
  131. package/docs/interfaces/CruisePluginTypes.PluginData.html +12 -11
  132. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +10 -9
  133. package/docs/interfaces/CruisePluginTypes.PluginState.html +14 -13
  134. package/docs/interfaces/EventMap.html +18 -17
  135. package/docs/interfaces/FloorplanBounding.html +11 -10
  136. package/docs/interfaces/FloorplanData.html +13 -12
  137. package/docs/interfaces/FloorplanEntrance.html +14 -13
  138. package/docs/interfaces/FloorplanExtraObject.html +13 -12
  139. package/docs/interfaces/FloorplanExtraObject3D.html +11 -10
  140. package/docs/interfaces/FloorplanFloorData.html +12 -11
  141. package/docs/interfaces/FloorplanImagePosition.html +10 -9
  142. package/docs/interfaces/FloorplanObserver.html +12 -11
  143. package/docs/interfaces/FloorplanOutlineItem.html +12 -11
  144. package/docs/interfaces/FloorplanPosition.html +10 -9
  145. package/docs/interfaces/FloorplanRoomItem.html +16 -15
  146. package/docs/interfaces/FloorplanRoomLabelItem.html +10 -9
  147. package/docs/interfaces/FloorplanServerBounding.html +11 -10
  148. package/docs/interfaces/FloorplanServerComputedData.html +13 -12
  149. package/docs/interfaces/FloorplanServerData.html +10 -9
  150. package/docs/interfaces/FloorplanServerDoorItem.html +13 -12
  151. package/docs/interfaces/FloorplanServerDoorPosition.html +11 -10
  152. package/docs/interfaces/FloorplanServerEntrance.html +14 -13
  153. package/docs/interfaces/FloorplanServerFloorData.html +12 -11
  154. package/docs/interfaces/FloorplanServerImagePosition.html +10 -9
  155. package/docs/interfaces/FloorplanServerObserver.html +12 -11
  156. package/docs/interfaces/FloorplanServerOutlineItem.html +12 -11
  157. package/docs/interfaces/FloorplanServerPosition.html +10 -9
  158. package/docs/interfaces/FloorplanServerRoomItem.html +17 -16
  159. package/docs/interfaces/FloorplanServerRoomLabelItem.html +10 -9
  160. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +11 -10
  161. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +13 -12
  162. package/docs/interfaces/GuideLinePluginType.EventMap.html +16 -15
  163. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +11 -10
  164. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +9 -8
  165. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -15
  166. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +11 -10
  167. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +21 -20
  168. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +10 -9
  169. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +21 -20
  170. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +8 -7
  171. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +10 -9
  172. package/docs/interfaces/GuideLinePluginType.PluginState.html +11 -10
  173. package/docs/interfaces/GuideLinePluginType.Route.html +14 -13
  174. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +12 -11
  175. package/docs/interfaces/HelperOffset.html +11 -10
  176. package/docs/interfaces/ImagePlaneGroup.html +9 -8
  177. package/docs/interfaces/ItemLabelPluginData.html +9 -8
  178. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +14 -13
  179. package/docs/interfaces/ItemLabelPluginParametersType.html +12 -11
  180. package/docs/interfaces/MinMax.html +10 -9
  181. package/docs/interfaces/ModelChassisCompassPluginData.html +10 -9
  182. package/docs/interfaces/ModelChassisCompassPluginExportType.html +11 -10
  183. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +10 -9
  184. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +11 -10
  185. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +11 -10
  186. package/docs/interfaces/ModelItemLabelPluginData.html +9 -8
  187. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +14 -13
  188. package/docs/interfaces/ModelItemLabelPluginParametersType.html +10 -9
  189. package/docs/interfaces/ModelRoomLabelPluginData.html +9 -8
  190. package/docs/interfaces/ModelTVVideoPluginData.html +12 -11
  191. package/docs/interfaces/ModelTVVideoPluginExportType.html +11 -10
  192. package/docs/interfaces/ModelTVVideoPluginParameterType.html +9 -8
  193. package/docs/interfaces/ModelViewPluginExportType.html +14 -13
  194. package/docs/interfaces/Object3DHelperState.html +11 -10
  195. package/docs/interfaces/ObjectHelperControllers.html +12 -11
  196. package/docs/interfaces/PaintBrushAction.html +15 -14
  197. package/docs/interfaces/PaintBrushConfigs.html +15 -14
  198. package/docs/interfaces/PaintBrushState.html +13 -12
  199. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +13 -12
  200. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +8 -7
  201. package/docs/interfaces/PanoMeasureParameterType.html +18 -17
  202. package/docs/interfaces/PanoMeasurePluginLineJson.html +11 -10
  203. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +10 -9
  204. package/docs/interfaces/PanoMeasurePluginPointJson.html +10 -9
  205. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +11 -10
  206. package/docs/interfaces/PanoRulerPluginExportType.html +13 -12
  207. package/docs/interfaces/PanoRulerPluginOptions.html +10 -9
  208. package/docs/interfaces/PanoRulerPluginParameterType.html +11 -10
  209. package/docs/interfaces/PanoRulerProPluginExportType.html +12 -11
  210. package/docs/interfaces/PanoRulerProPluginOptions.html +10 -9
  211. package/docs/interfaces/PanoRulerProPluginParameterType.html +10 -9
  212. package/docs/interfaces/PanoRulerProPluginState.html +11 -10
  213. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +8 -7
  214. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +8 -7
  215. package/docs/interfaces/PanoSpatialTagPluginData.html +14 -13
  216. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +13 -12
  217. package/docs/interfaces/PanoSpatialTagPluginExportType.html +16 -15
  218. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +13 -12
  219. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +16 -15
  220. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +14 -13
  221. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +13 -12
  222. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +9 -8
  223. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +11 -10
  224. package/docs/interfaces/PanoVideoPluginType.PluginData.html +9 -8
  225. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +12 -11
  226. package/docs/interfaces/PanoVideoPluginType.PluginState.html +9 -8
  227. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +11 -10
  228. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +13 -12
  229. package/docs/interfaces/Point.html +11 -10
  230. package/docs/interfaces/Room.html +12 -11
  231. package/docs/interfaces/RoomInfo.html +10 -9
  232. package/docs/interfaces/RoomLabel.html +17 -16
  233. package/docs/interfaces/RoomRules.html +8 -7
  234. package/docs/interfaces/Rooms.html +8 -7
  235. package/docs/interfaces/Scissor.html +12 -11
  236. package/docs/interfaces/State.html +11 -10
  237. package/docs/interfaces/TagCacheInterface.html +15 -14
  238. package/docs/interfaces/TagConfig.html +17 -16
  239. package/docs/interfaces/TagGLTFObjectGroup.html +9 -8
  240. package/docs/interfaces/TagIconUrl.html +15 -14
  241. package/docs/interfaces/TagObjectGroup.html +9 -8
  242. package/docs/interfaces/TagStyle.html +9 -8
  243. package/docs/interfaces/Tags.html +12 -11
  244. package/docs/interfaces/TemporaryState.html +9 -8
  245. package/docs/interfaces/Util.MagnifierParameter.html +14 -13
  246. package/docs/interfaces/Util.MouseGroupParameter.html +11 -10
  247. package/docs/interfaces/Util.PointIntersection.html +407 -0
  248. package/docs/modules/CruisePluginTypes.html +8 -7
  249. package/docs/modules/GuideLineItem.html +8 -7
  250. package/docs/modules/GuideLineModeItem.html +8 -7
  251. package/docs/modules/GuideLinePluginType.html +8 -7
  252. package/docs/modules/PanoVideoPluginType.html +8 -7
  253. package/docs/modules/Util.html +11 -8
  254. package/docs/modules.html +7 -7
  255. package/docs/types/ArrayPosition.html +8 -7
  256. package/docs/types/AudioAppearance.html +8 -7
  257. package/docs/types/AudioTagTypeConfigKey.html +8 -7
  258. package/docs/types/CSS3DRenderExportType.html +8 -7
  259. package/docs/types/CSS3DRenderPluginExportType.html +8 -7
  260. package/docs/types/CSS3DRenderPluginParameterType.html +8 -7
  261. package/docs/types/ClassFunctionParameters.html +8 -7
  262. package/docs/types/Color.html +8 -7
  263. package/docs/types/ContentTypeConfigKey.html +8 -7
  264. package/docs/types/ContentTypeConfigKeySplit.html +8 -7
  265. package/docs/types/ContentTypeMap.html +8 -7
  266. package/docs/types/Create3DDomContainerReturnType.html +8 -7
  267. package/docs/types/Create3DElementReturnType.html +8 -7
  268. package/docs/types/CruisePluginExportType.html +8 -7
  269. package/docs/types/CruisePluginTypes.CruiseData.html +8 -7
  270. package/docs/types/CruisePluginTypes.MoveEffect.html +8 -7
  271. package/docs/types/DeprecatedMediaPlaneProperty.html +8 -7
  272. package/docs/types/DeprecatedTagProperty.html +8 -7
  273. package/docs/types/Direction-1.html +8 -7
  274. package/docs/types/Direction4.html +8 -7
  275. package/docs/types/ElementRenderer.html +8 -7
  276. package/docs/types/FloorplanRuleLabels.html +8 -7
  277. package/docs/types/FloorplanServerRuleLabels.html +8 -7
  278. package/docs/types/GuideLinePluginExportType.html +8 -7
  279. package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -7
  280. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +8 -7
  281. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +8 -7
  282. package/docs/types/GuideLinePluginType.GuideLineStyle.html +8 -7
  283. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +8 -7
  284. package/docs/types/GuideLinePluginType.PathItem.html +8 -7
  285. package/docs/types/GuideLinePluginType.PluginData.html +8 -7
  286. package/docs/types/HelperEventMap.html +8 -7
  287. package/docs/types/LoadTagConfig.html +8 -7
  288. package/docs/types/MapviewFloorplanPluginParameterType.html +8 -7
  289. package/docs/types/MapviewFloorplanPluginReturnType.html +8 -7
  290. package/docs/types/MediaData.html +8 -7
  291. package/docs/types/MediaStore.html +8 -7
  292. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +8 -7
  293. package/docs/types/ModelFloorplanPluginParameterType.html +8 -7
  294. package/docs/types/ModelFloorplanPluginReturnType.html +8 -7
  295. package/docs/types/ModelRoomLabelPluginParameters.html +8 -7
  296. package/docs/types/ModelRoomLabelPluginReturnType.html +8 -7
  297. package/docs/types/MoveArgs.html +8 -7
  298. package/docs/types/MoveOpts.html +8 -7
  299. package/docs/types/Object3DHelperEventMap.html +8 -7
  300. package/docs/types/ObjectFit.html +8 -7
  301. package/docs/types/PaintBrushEventMap.html +8 -7
  302. package/docs/types/PanoCompassPluginData.html +8 -7
  303. package/docs/types/PanoCompassPluginExportType.html +8 -7
  304. package/docs/types/PanoCompassPluginParameterType.html +8 -7
  305. package/docs/types/PanoFloorplanRadarPluginParameterType.html +8 -7
  306. package/docs/types/PanoFloorplanRadarPluginReturnType.html +8 -7
  307. package/docs/types/PanoIndex.html +8 -7
  308. package/docs/types/PanoMeasurePluginEvent.html +8 -7
  309. package/docs/types/PanoMeasureReturnType.html +8 -7
  310. package/docs/types/PanoSpatialTagPluginId.html +8 -7
  311. package/docs/types/PanoTagPluginExportInterface.html +8 -7
  312. package/docs/types/PanoTagPluginParamsInterface.html +8 -7
  313. package/docs/types/PanoVideoPluginParameterType.html +8 -7
  314. package/docs/types/PanoVideoPluginReturnType.html +8 -7
  315. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +8 -7
  316. package/docs/types/PlaneTag.html +8 -7
  317. package/docs/types/Point2DTag.html +8 -7
  318. package/docs/types/Point3DTag.html +8 -7
  319. package/docs/types/PointTag.html +8 -7
  320. package/docs/types/PointTagInstance.html +8 -7
  321. package/docs/types/Position.html +8 -7
  322. package/docs/types/RotateArgs.html +8 -7
  323. package/docs/types/RotateOpts.html +8 -7
  324. package/docs/types/RuleLabelsKey.html +8 -7
  325. package/docs/types/RuleLabelsValue.html +8 -7
  326. package/docs/types/StickType.html +8 -7
  327. package/docs/types/Tag.html +8 -7
  328. package/docs/types/Tag2D.html +8 -7
  329. package/docs/types/Tag3D.html +8 -7
  330. package/docs/types/TagContentType.html +8 -7
  331. package/docs/types/TagDimensionType.html +8 -7
  332. package/docs/types/TagElement.html +8 -7
  333. package/docs/types/TagEvents.html +8 -7
  334. package/docs/types/TagGLTFObject.html +8 -7
  335. package/docs/types/TagHooks.html +8 -7
  336. package/docs/types/TagId.html +8 -7
  337. package/docs/types/TagInstance.html +8 -7
  338. package/docs/types/TagPointType.html +8 -7
  339. package/docs/types/TagRendererMap.html +8 -7
  340. package/docs/types/TopviewFloorplanPluginParameterType.html +8 -7
  341. package/docs/types/TopviewFloorplanPluginReturnType.html +8 -7
  342. package/docs/types/WorkCode.html +8 -7
  343. package/docs/variables/FLOOR_TYPE_MAP.html +8 -7
  344. package/docs/variables/PLUGIN.html +8 -7
  345. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +8 -7
  346. package/docs/variables/ROOM_TYPE_MAP.html +8 -7
  347. package/docs/variables/itemLabelPluginServerParams.html +8 -7
  348. package/docs/variables/modelItemLabelPluginServerParams.html +8 -7
  349. package/docs/variables/modelRoomLabelPluginServerParams.html +8 -7
  350. package/libs/CSS3DRenderPlugin/Controller.d.ts +4 -1
  351. package/libs/CSS3DRenderPlugin/Controller.js +31 -28
  352. package/libs/CSS3DRenderPlugin/index.js +1 -1
  353. package/libs/CruisePlugin/Controller.js +1 -1
  354. package/libs/CruisePlugin/index.js +1 -1
  355. package/libs/GuideLinePlugin/Components/Tag.js +137 -44
  356. package/libs/GuideLinePlugin/Controller.d.ts +5 -3
  357. package/libs/GuideLinePlugin/Controller.js +49 -45
  358. package/libs/GuideLinePlugin/GuideLineItem/index.js +1 -1
  359. package/libs/GuideLinePlugin/GuideLineItem.d.ts +1 -1
  360. package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
  361. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +150 -113
  362. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +17 -0
  363. package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
  364. package/libs/GuideLinePlugin/index.js +1 -1
  365. package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +7 -0
  366. package/libs/GuideLinePlugin/utils/createLineGeometry.js +19 -17
  367. package/libs/ItemLabelPlugin/ItemLabelItem.js +82 -82
  368. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +77 -77
  369. package/libs/ModelTVVideoPlugin/Plugin.js +30 -29
  370. package/libs/ModelTVVideoPlugin/index.js +4 -3
  371. package/libs/Object3DHelperPlugin/Controller.js +1 -1
  372. package/libs/Object3DHelperPlugin/index.js +1 -1
  373. package/libs/PanoCompassPlugin/Controller.js +20 -20
  374. package/libs/PanoCompassPlugin/index.js +1 -1
  375. package/libs/PanoDoorLabelPlugin/BaseController.js +1 -1
  376. package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
  377. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +60 -60
  378. package/libs/PanoDoorLabelPlugin/index.js +1 -1
  379. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +76 -40
  380. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +42 -0
  381. package/libs/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +1 -0
  382. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +113 -117
  383. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +71 -71
  384. package/libs/PanoMeasurePlugin/Components/Common/icons/index.d.ts +4 -0
  385. package/libs/PanoMeasurePlugin/Components/Common/icons/index.js +7 -0
  386. package/libs/PanoMeasurePlugin/Components/Controller0.js +188 -65
  387. package/libs/PanoMeasurePlugin/Components/Controller1.js +355 -108
  388. package/libs/PanoMeasurePlugin/Components/Tip.js +154 -0
  389. package/libs/PanoMeasurePlugin/Components/Tip.svelte.d.ts +1 -0
  390. package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +2 -0
  391. package/libs/PanoMeasurePlugin/Controller/BaseController.js +7 -6
  392. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +17 -18
  393. package/libs/PanoMeasurePlugin/Controller/EditController.js +237 -126
  394. package/libs/PanoMeasurePlugin/Controller/MixedController.js +5 -5
  395. package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +1 -1
  396. package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
  397. package/libs/PanoMeasurePlugin/Controller/WatchController.js +15 -14
  398. package/libs/PanoMeasurePlugin/Controller/index.d.ts +6 -3
  399. package/libs/PanoMeasurePlugin/Controller/index.js +107 -91
  400. package/libs/PanoMeasurePlugin/Model/area.d.ts +13 -1
  401. package/libs/PanoMeasurePlugin/Model/area.js +56 -37
  402. package/libs/PanoMeasurePlugin/Model/index.d.ts +1 -0
  403. package/libs/PanoMeasurePlugin/Model/index.js +47 -39
  404. package/libs/PanoMeasurePlugin/Model/line.d.ts +3 -0
  405. package/libs/PanoMeasurePlugin/Model/line.js +27 -20
  406. package/libs/PanoMeasurePlugin/Model/point.js +17 -12
  407. package/libs/PanoMeasurePlugin/Model/polygon.d.ts +4 -0
  408. package/libs/PanoMeasurePlugin/Model/polygon.js +21 -15
  409. package/libs/PanoMeasurePlugin/Model/polyline.js +6 -6
  410. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
  411. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +34 -24
  412. package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +16 -12
  413. package/libs/PanoMeasurePlugin/Modules/GuideController.js +67 -40
  414. package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +9 -3
  415. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +120 -43
  416. package/libs/PanoMeasurePlugin/Modules/UIController/style.d.ts +0 -8
  417. package/libs/PanoMeasurePlugin/Modules/UIController/style.js +16 -24
  418. package/libs/PanoMeasurePlugin/index.js +57 -37
  419. package/libs/PanoMeasurePlugin/typings/data.d.ts +8 -2
  420. package/libs/PanoMeasurePlugin/typings/event.type.d.ts +8 -1
  421. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +36 -15
  422. package/libs/PanoMeasurePlugin/utils/dom/base.d.ts +4 -0
  423. package/libs/PanoMeasurePlugin/utils/dom/base.js +37 -31
  424. package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +38 -23
  425. package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +3 -3
  426. package/libs/PanoMeasurePlugin/utils/geometryUtil.d.ts +1 -1
  427. package/libs/PanoMeasurePlugin/utils/geometryUtil.js +15 -13
  428. package/libs/PanoMeasurePlugin/utils/ndc2Screen.d.ts +2 -1
  429. package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
  430. package/libs/PanoSpatialTagPlugin/index.js +1 -1
  431. package/libs/PanoTagPlugin/controller/TagCache.js +1 -1
  432. package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
  433. package/libs/PanoTagPlugin/controller/TagRender.js +2 -2
  434. package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
  435. package/libs/PanoTagPlugin/controller/index.d.ts +2 -1
  436. package/libs/PanoTagPlugin/controller/index.js +1 -1
  437. package/libs/PanoTagPlugin/index.js +1 -1
  438. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
  439. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -1
  440. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -4
  441. package/libs/PanoVideoPlugin/Controller.js +1 -1
  442. package/libs/PanoVideoPlugin/index.js +1 -1
  443. package/libs/base/BasePlugin.d.ts +4 -1
  444. package/libs/base/BasePlugin.js +14 -11
  445. package/libs/components/PaintBrush/style.d.ts +1 -1
  446. package/libs/components/PaintBrush/style.js +4 -4
  447. package/libs/floorplan/Components/RoomHighlight/Room.js +54 -54
  448. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +8 -8
  449. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
  450. package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
  451. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
  452. package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
  453. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +30 -28
  454. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
  455. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
  456. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
  457. package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
  458. package/libs/index.js +130 -123
  459. package/libs/shared-utils/absoluteUrl.d.ts +5 -0
  460. package/libs/shared-utils/absoluteUrl.js +10 -0
  461. package/libs/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.d.ts +1 -1
  462. package/libs/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.d.ts +1 -1
  463. package/libs/shared-utils/index.d.ts +1 -1
  464. package/libs/shared-utils/index.js +21 -20
  465. package/libs/shared-utils/isTouchDevice.d.ts +1 -0
  466. package/libs/shared-utils/isTouchDevice.js +4 -0
  467. package/libs/shared-utils/logger.js +1 -1
  468. package/libs/shared-utils/three/Magnifier.d.ts +2 -0
  469. package/libs/shared-utils/three/Magnifier.js +11 -5
  470. package/libs/shared-utils/three/PointSelector.d.ts +92 -0
  471. package/libs/shared-utils/three/PointSelector.js +187 -0
  472. package/libs/shared-utils/three/PointSelectorHelper.d.ts +41 -0
  473. package/libs/shared-utils/three/PointSelectorHelper.js +50 -0
  474. package/libs/shared-utils/three/index.d.ts +1 -1
  475. package/libs/typings/typings.d.ts +4 -0
  476. package/libs/vendor/svelte/internal/index.js +392 -345
  477. package/package.json +1 -1
  478. package/dist/shared-utils/isAbsoluteURL.d.ts +0 -1
  479. package/dist/shared-utils/three/FivePointSelector.d.ts +0 -36
  480. package/libs/shared-utils/isAbsoluteURL.d.ts +0 -1
  481. package/libs/shared-utils/isAbsoluteURL.js +0 -6
  482. package/libs/shared-utils/three/FivePointSelector.d.ts +0 -36
  483. package/libs/shared-utils/three/FivePointSelector.js +0 -49
  484. /package/libs/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.js +0 -0
  485. /package/libs/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.js +0 -0
@@ -1,27 +1,27 @@
1
- import { SvelteComponent as A, init as I, safe_not_equal as W, append_styles as q, element as m, space as x, attr as _, set_style as g, insert as k, append as p, noop as C, detach as y, destroy_each as T, text as j, toggle_class as B, listen as D, set_data as E, binding_callbacks as K } from "../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as A, init as I, safe_not_equal as W, append_styles as q, element as k, space as w, attr as p, set_style as g, insert as S, append as d, noop as C, detach as y, destroy_each as T, text as Y, toggle_class as B, listen as D, set_data as E, binding_callbacks as K } from "../../../vendor/svelte/internal/index.js";
2
2
  function F(e) {
3
- q(e, "svelte-1d02spx", ".Switcher.svelte-1d02spx.svelte-1d02spx{pointer-events:all;position:relative;margin-bottom:1.5rem;box-sizing:border-box;width:-moz-max-content;width:max-content}.Switcher.svelte-1d02spx .svelte-1d02spx{transition-duration:300ms;transition-timing-function:ease-out}.Switcher.svelte-1d02spx .content.svelte-1d02spx{transition-property:opacity}.Switcher.svelte-1d02spx .highlight.svelte-1d02spx{transition-property:width}.Switcher.svelte-1d02spx .Switcher-buttons.svelte-1d02spx{transition-property:transform}.Switcher.svelte-1d02spx .Switcher-buttons.svelte-1d02spx{position:absolute;top:50%;left:0;transform:translate(0, -50%);width:-moz-max-content;width:max-content}.Switcher.svelte-1d02spx .Switcher-buttons .button.svelte-1d02spx{display:inline-block}.Switcher.svelte-1d02spx .highlight.svelte-1d02spx{height:2rem;background:rgba(0, 0, 0, 0.3);border-radius:624.9375rem}.Switcher.svelte-1d02spx .content.svelte-1d02spx{padding:0 0.75rem}");
3
+ q(e, "svelte-1mfj5mk", '.Switcher.svelte-1mfj5mk.svelte-1mfj5mk{pointer-events:all;position:relative;margin-bottom:1.5rem;box-sizing:border-box;width:-moz-max-content;width:max-content}.Switcher.svelte-1mfj5mk .svelte-1mfj5mk{transition-duration:300ms;transition-timing-function:ease-out}.Switcher.svelte-1mfj5mk .content.svelte-1mfj5mk{transition-property:opacity}.Switcher.svelte-1mfj5mk .highlight.svelte-1mfj5mk{transition-property:width}.Switcher.svelte-1mfj5mk .Switcher-buttons.svelte-1mfj5mk{transition-property:transform}.Switcher.svelte-1mfj5mk .Switcher-buttons.svelte-1mfj5mk{position:absolute;top:50%;left:0;transform:translate(0, -50%);width:-moz-max-content;width:max-content}.Switcher.svelte-1mfj5mk .Switcher-buttons .button.svelte-1mfj5mk{display:inline-block;margin:0 0.5625rem}.Switcher.svelte-1mfj5mk .highlight.svelte-1mfj5mk{height:2rem;background:rgba(0, 0, 0, 0.3);border-radius:624.9375rem}.Switcher.svelte-1mfj5mk .content.svelte-1mfj5mk{position:relative;padding:0 0.75rem}.Switcher.svelte-1mfj5mk .button:not(.active) .content.svelte-1mfj5mk::before{content:"";position:absolute;top:50%;left:10%;width:80%;transform:translateY(-50%);height:0;box-shadow:0 0 0.9375rem 0.3125rem rgba(0, 0, 0, 0.3)}');
4
4
  }
5
5
  function z(e, t, n) {
6
- const o = e.slice();
7
- return o[13] = t[n], o[14] = t, o[15] = n, o;
6
+ const s = e.slice();
7
+ return s[13] = t[n], s[14] = t, s[15] = n, s;
8
8
  }
9
9
  function L(e) {
10
10
  let t;
11
11
  return {
12
12
  c() {
13
- t = m("span"), _(t, "class", "icon svelte-1d02spx"), g(
13
+ t = k("span"), p(t, "class", "icon svelte-1mfj5mk"), g(
14
14
  t,
15
15
  "background-image",
16
16
  /*option*/
17
17
  e[13].icon
18
18
  );
19
19
  },
20
- m(n, o) {
21
- k(n, t, o);
20
+ m(n, s) {
21
+ S(n, t, s);
22
22
  },
23
- p(n, o) {
24
- o & /*options*/
23
+ p(n, s) {
24
+ s & /*options*/
25
25
  1 && g(
26
26
  t,
27
27
  "background-image",
@@ -35,13 +35,13 @@ function L(e) {
35
35
  };
36
36
  }
37
37
  function R(e) {
38
- let t, n, o, r = (
38
+ let t, n, s, f = (
39
39
  /*option*/
40
40
  e[13].value + ""
41
- ), u, l, i = (
41
+ ), c, o, i = (
42
42
  /*index*/
43
43
  e[15]
44
- ), a, s, d = (
44
+ ), a, l, m = (
45
45
  /*option*/
46
46
  e[13].icon && L(e)
47
47
  );
@@ -52,7 +52,7 @@ function R(e) {
52
52
  /*div1_binding*/
53
53
  e[9](null, i)
54
54
  );
55
- function w() {
55
+ function _() {
56
56
  return (
57
57
  /*click_handler*/
58
58
  e[10](
@@ -65,7 +65,7 @@ function R(e) {
65
65
  }
66
66
  return {
67
67
  c() {
68
- t = m("div"), n = m("div"), d && d.c(), o = x(), u = j(r), l = x(), _(n, "class", "content svelte-1d02spx"), _(t, "class", "button svelte-1d02spx"), B(
68
+ t = k("div"), n = k("div"), m && m.c(), s = w(), c = Y(f), o = w(), p(n, "class", "content svelte-1mfj5mk"), p(t, "class", "button svelte-1mfj5mk"), B(
69
69
  t,
70
70
  "active",
71
71
  /*activeIndex*/
@@ -73,14 +73,14 @@ function R(e) {
73
73
  e[15]
74
74
  );
75
75
  },
76
- m(f, h) {
77
- k(f, t, h), p(t, n), d && d.m(n, null), p(n, o), p(n, u), p(t, l), v(), a || (s = D(t, "click", w), a = !0);
76
+ m(u, h) {
77
+ S(u, t, h), d(t, n), m && m.m(n, null), d(n, s), d(n, c), d(t, o), v(), a || (l = D(t, "click", _), a = !0);
78
78
  },
79
- p(f, h) {
80
- e = f, /*option*/
81
- e[13].icon ? d ? d.p(e, h) : (d = L(e), d.c(), d.m(n, o)) : d && (d.d(1), d = null), h & /*options*/
82
- 1 && r !== (r = /*option*/
83
- e[13].value + "") && E(u, r), i !== /*index*/
79
+ p(u, h) {
80
+ e = u, /*option*/
81
+ e[13].icon ? m ? m.p(e, h) : (m = L(e), m.c(), m.m(n, s)) : m && (m.d(1), m = null), h & /*options*/
82
+ 1 && f !== (f = /*option*/
83
+ e[13].value + "") && E(c, f), i !== /*index*/
84
84
  e[15] && (b(), i = /*index*/
85
85
  e[15], v()), h & /*activeIndex*/
86
86
  16 && B(
@@ -91,36 +91,36 @@ function R(e) {
91
91
  e[15]
92
92
  );
93
93
  },
94
- d(f) {
95
- f && y(t), d && d.d(), b(), a = !1, s();
94
+ d(u) {
95
+ u && y(t), m && m.d(), b(), a = !1, l();
96
96
  }
97
97
  };
98
98
  }
99
99
  function G(e) {
100
- let t, n, o, r, u = (
100
+ let t, n, s, f, c = (
101
101
  /*options*/
102
102
  e[0]
103
- ), l = [];
104
- for (let i = 0; i < u.length; i += 1)
105
- l[i] = R(z(e, u, i));
103
+ ), o = [];
104
+ for (let i = 0; i < c.length; i += 1)
105
+ o[i] = R(z(e, c, i));
106
106
  return {
107
107
  c() {
108
- t = m("div"), n = m("div"), o = x(), r = m("div");
109
- for (let i = 0; i < l.length; i += 1)
110
- l[i].c();
111
- _(n, "class", "highlight svelte-1d02spx"), g(
108
+ t = k("div"), n = k("div"), s = w(), f = k("div");
109
+ for (let i = 0; i < o.length; i += 1)
110
+ o[i].c();
111
+ p(n, "class", "highlight svelte-1mfj5mk"), g(
112
112
  n,
113
113
  "width",
114
114
  /*activeButtonWidth*/
115
115
  e[5] ? `${/*activeButtonWidth*/
116
116
  e[5]}px` : void 0
117
- ), _(r, "class", "Switcher-buttons svelte-1d02spx"), g(r, "transform", `translate(${/*activeButtonLeft*/
118
- e[6]}px, -50%)`), _(t, "class", "Switcher svelte-1d02spx");
117
+ ), p(f, "class", "Switcher-buttons svelte-1mfj5mk"), g(f, "transform", `translate(${/*activeButtonLeft*/
118
+ e[6]}px, -50%)`), p(t, "class", "Switcher svelte-1mfj5mk");
119
119
  },
120
120
  m(i, a) {
121
- k(i, t, a), p(t, n), p(t, o), p(t, r);
122
- for (let s = 0; s < l.length; s += 1)
123
- l[s] && l[s].m(r, null);
121
+ S(i, t, a), d(t, n), d(t, s), d(t, f);
122
+ for (let l = 0; l < o.length; l += 1)
123
+ o[l] && o[l].m(f, null);
124
124
  e[11](t);
125
125
  },
126
126
  p(i, [a]) {
@@ -133,71 +133,71 @@ function G(e) {
133
133
  i[5]}px` : void 0
134
134
  ), a & /*elementList, activeIndex, onChange, options*/
135
135
  23) {
136
- u = /*options*/
136
+ c = /*options*/
137
137
  i[0];
138
- let s;
139
- for (s = 0; s < u.length; s += 1) {
140
- const d = z(i, u, s);
141
- l[s] ? l[s].p(d, a) : (l[s] = R(d), l[s].c(), l[s].m(r, null));
138
+ let l;
139
+ for (l = 0; l < c.length; l += 1) {
140
+ const m = z(i, c, l);
141
+ o[l] ? o[l].p(m, a) : (o[l] = R(m), o[l].c(), o[l].m(f, null));
142
142
  }
143
- for (; s < l.length; s += 1)
144
- l[s].d(1);
145
- l.length = u.length;
143
+ for (; l < o.length; l += 1)
144
+ o[l].d(1);
145
+ o.length = c.length;
146
146
  }
147
147
  a & /*activeButtonLeft*/
148
- 64 && g(r, "transform", `translate(${/*activeButtonLeft*/
148
+ 64 && g(f, "transform", `translate(${/*activeButtonLeft*/
149
149
  i[6]}px, -50%)`);
150
150
  },
151
151
  i: C,
152
152
  o: C,
153
153
  d(i) {
154
- i && y(t), T(l, i), e[11](null);
154
+ i && y(t), T(o, i), e[11](null);
155
155
  }
156
156
  };
157
157
  }
158
158
  function H(e, t, n) {
159
- let o, r, { options: u } = t, { defaultKey: l = null } = t, { onChange: i } = t;
159
+ let s, f, { options: c } = t, { defaultKey: o = null } = t, { onChange: i } = t;
160
160
  const a = [];
161
- let s, d, v = 0;
161
+ let l, m, v = 0;
162
162
  function b() {
163
- if (r && s) {
164
- n(5, d = r.clientWidth);
165
- const c = v + s.getBoundingClientRect().left - r.getBoundingClientRect().left;
166
- n(6, v = c);
163
+ if (f && l) {
164
+ n(5, m = f.clientWidth);
165
+ const r = v + l.getBoundingClientRect().left - f.getBoundingClientRect().left;
166
+ n(6, v = r);
167
167
  }
168
168
  }
169
- function w(c, S) {
170
- K[c ? "unshift" : "push"](() => {
171
- a[S] = c, n(2, a);
169
+ function _(r, j) {
170
+ K[r ? "unshift" : "push"](() => {
171
+ a[j] = r, n(2, a);
172
172
  });
173
173
  }
174
- const f = (c, S) => {
175
- i(c.key), n(4, o = S);
174
+ const u = (r, j) => {
175
+ i(r.key), n(4, s = j);
176
176
  };
177
- function h(c) {
178
- K[c ? "unshift" : "push"](() => {
179
- s = c, n(3, s);
177
+ function h(r) {
178
+ K[r ? "unshift" : "push"](() => {
179
+ l = r, n(3, l);
180
180
  });
181
181
  }
182
- return e.$$set = (c) => {
183
- "options" in c && n(0, u = c.options), "defaultKey" in c && n(7, l = c.defaultKey), "onChange" in c && n(1, i = c.onChange);
182
+ return e.$$set = (r) => {
183
+ "options" in r && n(0, c = r.options), "defaultKey" in r && n(7, o = r.defaultKey), "onChange" in r && n(1, i = r.onChange);
184
184
  }, e.$$.update = () => {
185
185
  e.$$.dirty & /*defaultKey, options*/
186
- 129 && n(4, o = l ? u.findIndex((c) => c.key === l) : 0), e.$$.dirty & /*elementList, activeIndex*/
187
- 20 && n(8, r = a[o]), e.$$.dirty & /*activeButton, container*/
188
- 264 && r && s && setTimeout(() => b(), 0);
186
+ 129 && n(4, s = o ? c.findIndex((r) => r.key === o) : 0), e.$$.dirty & /*elementList, activeIndex*/
187
+ 20 && n(8, f = a[s]), e.$$.dirty & /*activeButton, container*/
188
+ 264 && f && l && setTimeout(() => b(), 0);
189
189
  }, [
190
- u,
190
+ c,
191
191
  i,
192
192
  a,
193
+ l,
193
194
  s,
194
- o,
195
- d,
195
+ m,
196
196
  v,
197
- l,
198
- r,
199
- w,
197
+ o,
200
198
  f,
199
+ _,
200
+ u,
201
201
  h
202
202
  ];
203
203
  }
@@ -0,0 +1,4 @@
1
+ export declare const IconUndo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAASKADAAQAAAABAAAASAAAAACQMUbvAAAFfUlEQVR4Ae2aSYgdRRjHMy6473FDc9GDKB68CSqIicspHhQDXgRBQTSJChEUUQ/iVdGLiHgVBAUPUXKZKIKQi3jJYaKIjLiguC9RiWb8/Sb9hfJZ9ex67zmZaeuD/1T117V9v6qu7tc969Y1awQagUagEWgEGoFGoBFoBBqBRqARGAyBpaWlm9Eu9A7aiuYGE9y0gQDjHrQPLXSp+dunbfdI1D9q1p0C4j7afLBrN1bNQY6vn3VfK9HeMbPsBDj30969mTadiJMy/lXvmhkg4Owg2rtXfcSVA5zJJQachzs4Xkol20C5uORKZVadf2pABP0oUd2J/kB/diL5h63Hs22tQZp4RrtAnyBo706/owPoaORlazoKfwmf/f2MvkLCtI6pcM2rAB35SL/nnPW+RT+gT9Tc3Ny4VUuR6WwiQB2cJ+n6NvQr+g0FHMEEpInap37J7Mf+1OdoAe1BH6JFYDkJM7XqAIAjgKfQLegn5GCFkyoAWba6D+rUmCtrL3oD7QGS4GZm1YMH0F30/hByYF4u6YoJMCks8yth++lkHr2O3gOUEze1TQJoJ71eiL5ABi+UUUgep+dWChLdLu9Tz5DOA8m9aiozkFr7kQrWE64bpJus1775ODYNn+nM9wbaLNk5nHgcbWG1n1Uq1Nc/yQq6msZfRK4KQYyzgBNpgLNO5KMNy4Qvyqc+J+UUdALqY9Z9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ADkaIPnG7kRkUM7kAeTMhjxO72R9+yqVq34soP9mjUAj0Ag0Ao1AI9AINAKNQCPQCDQCjUAj8L8j8BdMDI4sjknmbgAAAABJRU5ErkJggg==";
2
+ export declare const IconOk = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAASKADAAQAAAABAAAASAAAAACQMUbvAAAFO0lEQVR4Ae2YWYgdRRSG78SFOG6Ju4MxIRnRgCCKBlSC24P64IO4h7wI6oMPCioqAX1TfFIQRFFBETQmIioqGhDBh3GJiMSAZnABNSIuUQTFbcz4fZcup297b9+t7525wznwU11d1aervj6nurprtbAgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEMgIzM7OLkHL0STaJ8DMgRkDyDK0CX2MptEUOrMbSGPddB6VvkAwUo5Hd6OzCuP+hfr5Y2NjvxbON60uaXp2hE8CZ3+GfzJ6ABXhOLND0VoPOrF9O+k0Kn2AM85Y16M70UTJuL8taWtoWjSAgHMYM7sQ3YyWN8yysbKZ9NrdeKp1bVGsQcBxvbkUXYsOaD3d2jbabgXQ3yV9GppGPoKA43pyDboclb3G36T9rm7g0L82soAAY/S7CG9E56GybHiLduH4BuvKRhIQcIyUi5BwTmsz47dpvwftadOvafPIAQLOUmZiSl2JVjed1dzJ7Rzei74iembnTnd+NFKAgHMIU7seXYKObTPN92kXzue9wtH/yAACjkBuQecgN3tltoNGN4rTwNlb1rFd20gAAs4JTOR2dAYqe407351IOB/2C0dnlQBiAm7vZ6oYkIPKG77XUd+E1iDvU2bTND6I3qtqLH0BYvDuWP3uORHNUHeAOxlcRx+C9C01/F1MhzvQUahsj6OfT9HDaKoqODot2zvY3tIYvOuAi+W5SD++Xf5BU+h1BvklZc+G/+u4+AbkwtxunF/QRzivcl/HUJn1E0GTjMKNmtGin7+QKe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AAABAAEAAKACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAADbN2wMAAAByElEQVRoBe1ZMU4DMRC8Q7yCJjVNKCh4ARVfAPo0PCYNPeQLVLyAggIa6jQ8g2NGsiJjeUfHrdGd0K60Sm7t3R3P+hx503UhwUAwEAzMyUCvkg/DcITxa+gldAXdQ5+hu77vv/DZTKbmMheQAt4D4XkF5Stsm1aL8OQiw5aQ+Rp4zqed461kci5VgUegO22F0BnnA9W+qcVQFeCeX4qYWNQC+MIuRUwsxwIhTxu1hV4w/ib8fzN0hskXwoFYqqIqsIMHT5uafML4XhuYaGMsxqwJMRBLVcyXmLOzs/ku8ybzTDhkthZfiWUNzSuxxbP8zVEV6HjOQx8KdNw2rcEzBWP+2JLMTQwctEQuwHJakj0WMHc1ogJRAScDsYWcBLrdowJuCp0BogJOAt3uUQE3hc4AUQEngW73/10BXimhtwVNvIDLq2gxf+wjYzL2QZg7XWsPtvKLCSQ5Wq1FXsCfoK2ulsRxBT2BliLbmGoLqXYfE/EC3koYqwae8WUbU1UgWoutyoM4KyuW2kJ7y2kGu4nF01rcVnpGk9aWTrq8eVbGad5alO2+MvuIZ9XGlLnMl5hJ01HK02ixfzGNICemBAPBQDDwhwx8A43PdoQvgLfYAAAAAElFTkSuQmCC";
2
+ export {
3
+ Q as IconArea,
4
+ B as IconLine,
5
+ g as IconOk,
6
+ A as IconUndo
7
+ };
@@ -1,117 +1,240 @@
1
- import { SvelteComponent as k, init as M, safe_not_equal as I, append_styles as x, binding_callbacks as S, bind as z, element as f, space as b, create_component as E, attr as m, insert as C, append as v, mount_component as q, add_flush_callback as A, transition_in as D, transition_out as T, detach as w, destroy_component as W, onMount as $, onDestroy as j, listen as y, noop as B, run_all as F } from "../../vendor/svelte/internal/index.js";
2
- import G from "./Common/Switcher0.js";
3
- function H(i) {
4
- x(i, "svelte-y31iee", ".Measure-Controller.svelte-y31iee.svelte-y31iee{pointer-events:none}.Measure-Controller.svelte-y31iee .mode-switcher.svelte-y31iee{margin-top:2.25rem}.Measure-Controller.svelte-y31iee .bottom.svelte-y31iee{position:absolute;width:100%;bottom:2.5rem}.Measure-Controller.svelte-y31iee .bottom .center.svelte-y31iee{display:flex;flex-direction:column;align-items:center}.Measure-Controller.svelte-y31iee .buttons.svelte-y31iee{pointer-events:all;cursor:pointer;display:flex;align-items:center;height:2.5rem;background:rgba(0, 0, 0, 0.2);color:rgba(255, 255, 255, 0.85);width:-moz-max-content;width:max-content;border-radius:624.9375rem;overflow:hidden}.Measure-Controller.svelte-y31iee .buttons .button.svelte-y31iee{font-size:0.875rem;padding:0rem 1rem}");
1
+ import { SvelteComponent as D, init as L, safe_not_equal as O, append_styles as T, binding_callbacks as U, bind as W, element as f, space as k, create_component as z, attr as v, insert as S, append as u, mount_component as A, transition_in as h, transition_out as b, check_outros as j, add_flush_callback as B, detach as $, destroy_component as q, onMount as F, onDestroy as G, text as M, set_style as I, listen as x, noop as H, run_all as J, group_outros as K } from "../../vendor/svelte/internal/index.js";
2
+ import N from "./Common/Switcher0.js";
3
+ import P from "./Common/Exit.js";
4
+ import Q from "../Controller/EditController.js";
5
+ import { IconLine as R, IconArea as V, IconUndo as X, IconOk as Y } from "./Common/icons/index.js";
6
+ import "../Model/line.js";
7
+ import "../../shared-utils/uuid.js";
8
+ import "../utils/line.js";
9
+ import "@realsee/five/line";
10
+ import "../utils/constants.js";
11
+ import "three";
12
+ import "@realsee/five";
13
+ import "../utils/dom/distanceItem.js";
14
+ import "../utils/dom/base.js";
15
+ import "../utils/isNDCPointInScreen.js";
16
+ import "../Model/point.js";
17
+ import "../../shared-utils/removeArrayItem.js";
18
+ import "../../shared-utils/throttle.js";
19
+ import "../Controller/BaseController.js";
20
+ import "../utils/ironbox.js";
21
+ import "../Model/polyline.js";
22
+ import "../Model/area.js";
23
+ import "../Model/polygon.js";
24
+ import "../../shared-utils/three/IObject3D.js";
25
+ import "../utils/generatePolygonGeometry.js";
26
+ import "earcut";
27
+ import "../utils/dom/areaDom.js";
28
+ import "../utils/geometryUtil.js";
29
+ import "../../shared-utils/three/centerPoint.js";
30
+ import "../utils/isIntersecting.js";
31
+ import "../../shared-utils/three/PointSelector.js";
32
+ import "../../shared-utils/three/PointSelectorHelper.js";
33
+ import "../../shared-utils/three/Magnifier.js";
34
+ import "hammerjs";
35
+ import "../../shared-utils/three/PointHelper.js";
36
+ import "../../shared-utils/three/Assets/index.js";
37
+ import "../../shared-utils/three/PointDomHelper.js";
38
+ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
39
+ import "../Modules/rangePiece/html.js";
40
+ import "../../CSS3DRenderPlugin/index.js";
41
+ import "../../CSS3DRenderPlugin/Controller.js";
42
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
43
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
44
+ import "three/examples/jsm/renderers/CSS3DRenderer";
45
+ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
46
+ import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
47
+ import "../../CSS3DRenderPlugin/utils/even.js";
48
+ import "../../shared-utils/Subscribe.js";
49
+ import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
50
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
51
+ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
52
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
53
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
54
+ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
55
+ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
56
+ import "../../shared-utils/absoluteUrl.js";
57
+ import "../../shared-utils/animationFrame/BetterTween.js";
58
+ import "../../shared-utils/animationFrame/index.js";
59
+ import "../../shared-utils/isTouchDevice.js";
60
+ import "../../shared-utils/getIntersectionFromEvent.js";
61
+ import "../../shared-utils/getPointFromHammerEvent.js";
62
+ import "../../shared-utils/three/getIntersect.js";
63
+ import "../Modules/DeleteDom/index.js";
64
+ import "../Modules/DeleteDom/_Assets/delete.svg.js";
65
+ import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
66
+ import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
67
+ import "../utils/findAssociatedLines.js";
68
+ import "../utils/math.js";
69
+ function Z(i) {
70
+ T(i, "svelte-1g8r5nw", '.Measure-Controller.svelte-1g8r5nw.svelte-1g8r5nw{pointer-events:none}.Measure-Controller.svelte-1g8r5nw .mode-switcher.svelte-1g8r5nw{margin-top:2.25rem}.Measure-Controller.svelte-1g8r5nw .bottom.svelte-1g8r5nw{position:absolute;width:100%;bottom:2.5rem}.Measure-Controller.svelte-1g8r5nw .bottom .center.svelte-1g8r5nw{display:flex;flex-direction:column;align-items:center}.Measure-Controller.svelte-1g8r5nw .buttons.svelte-1g8r5nw{pointer-events:all;cursor:pointer;display:flex;align-items:center;height:2.5rem;background:rgba(0, 0, 0, 0.2);color:rgba(255, 255, 255, 0.85);width:-moz-max-content;width:max-content;border-radius:624.9375rem;overflow:hidden}.Measure-Controller.svelte-1g8r5nw .buttons .button.svelte-1g8r5nw{display:flex;align-items:center;position:relative;font-size:0.875rem;padding:0rem 1rem}.Measure-Controller.svelte-1g8r5nw .buttons .button .icon.svelte-1g8r5nw{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin:0 0.25rem}.Measure-Controller.svelte-1g8r5nw .buttons .button.svelte-1g8r5nw::after{content:"";position:absolute;display:block;right:-0.03125rem;height:1.5rem;width:0.0625rem;background-image:linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);background-size:100%;background-repeat:no-repeat;background-position:center}.Measure-Controller.svelte-1g8r5nw .buttons .button.svelte-1g8r5nw:last-child::after{display:none}');
5
71
  }
6
- function g(i) {
7
- let t, o, e, r, a, l;
72
+ function y(i) {
73
+ let t, o;
74
+ return t = new P({
75
+ props: {
76
+ onClick: (
77
+ /*measureController*/
78
+ i[0].disable
79
+ )
80
+ }
81
+ }), {
82
+ c() {
83
+ z(t.$$.fragment);
84
+ },
85
+ m(e, s) {
86
+ A(t, e, s), o = !0;
87
+ },
88
+ p(e, s) {
89
+ const a = {};
90
+ s & /*measureController*/
91
+ 1 && (a.onClick = /*measureController*/
92
+ e[0].disable), t.$set(a);
93
+ },
94
+ i(e) {
95
+ o || (h(t.$$.fragment, e), o = !0);
96
+ },
97
+ o(e) {
98
+ b(t.$$.fragment, e), o = !1;
99
+ },
100
+ d(e) {
101
+ q(t, e);
102
+ }
103
+ };
104
+ }
105
+ function E(i) {
106
+ let t, o, e, s, a, p, m, d, g, r;
8
107
  return {
9
108
  c() {
10
- t = f("div"), o = f("div"), o.textContent = "撤销", e = b(), r = f("div"), r.textContent = "结束", m(o, "class", "button svelte-y31iee"), m(r, "class", "button svelte-y31iee"), m(t, "class", "buttons svelte-y31iee");
109
+ t = f("div"), o = f("div"), e = f("div"), s = M(`
110
+ 撤销`), a = k(), p = f("div"), m = f("div"), d = M(`
111
+ 结束`), v(e, "class", "icon svelte-1g8r5nw"), I(e, "background-image", `url(${X})`), v(o, "class", "button svelte-1g8r5nw"), v(m, "class", "icon svelte-1g8r5nw"), I(m, "background-image", `url(${Y})`), v(p, "class", "button svelte-1g8r5nw"), v(t, "class", "buttons svelte-1g8r5nw");
11
112
  },
12
- m(d, u) {
13
- C(d, t, u), v(t, o), v(t, e), v(t, r), a || (l = [
14
- y(
113
+ m(n, c) {
114
+ S(n, t, c), u(t, o), u(o, e), u(o, s), u(t, a), u(t, p), u(p, m), u(p, d), g || (r = [
115
+ x(
15
116
  o,
16
117
  "click",
17
118
  /*click_handler*/
18
- i[3]
119
+ i[5]
19
120
  ),
20
- y(
21
- r,
121
+ x(
122
+ p,
22
123
  "click",
23
- /*click_handler_1*/
124
+ /*complete*/
24
125
  i[4]
25
126
  )
26
- ], a = !0);
127
+ ], g = !0);
27
128
  },
28
- p: B,
29
- d(d) {
30
- d && w(t), a = !1, F(l);
129
+ p: H,
130
+ d(n) {
131
+ n && $(t), g = !1, J(r);
31
132
  }
32
133
  };
33
134
  }
34
- function J(i) {
35
- let t, o, e, r, a, l, d, u, n = (
135
+ function ee(i) {
136
+ let t, o, e, s, a, p, m, d, g, r = (
137
+ /*showExit*/
138
+ i[1] && y(i)
139
+ ), n = (
36
140
  /*showController*/
37
- i[2] && g(i)
141
+ i[3] && E(i)
38
142
  );
39
- function p(s) {
40
- i[6](s);
143
+ function c(l) {
144
+ i[7](l);
41
145
  }
42
- let c = {
43
- options: [{ key: "line", value: "测距离" }, { key: "area", value: "测面积" }],
146
+ let C = {
147
+ options: [
148
+ {
149
+ key: "line",
150
+ value: "测距离",
151
+ icon: R
152
+ },
153
+ {
154
+ key: "area",
155
+ value: "测面积",
156
+ icon: V
157
+ }
158
+ ],
44
159
  onChange: (
45
160
  /*func*/
46
- i[5]
161
+ i[6]
47
162
  )
48
163
  };
49
164
  return (
50
165
  /*setSwitcherActiveIndex*/
51
- i[1] !== void 0 && (c.setIndex = /*setSwitcherActiveIndex*/
52
- i[1]), l = new G({ props: c }), S.push(() => z(l, "setIndex", p)), {
166
+ i[2] !== void 0 && (C.setIndex = /*setSwitcherActiveIndex*/
167
+ i[2]), m = new N({ props: C }), U.push(() => W(m, "setIndex", c)), {
53
168
  c() {
54
- t = f("div"), o = f("div"), e = f("div"), n && n.c(), r = b(), a = f("div"), E(l.$$.fragment), m(a, "class", "mode-switcher svelte-y31iee"), m(e, "class", "center svelte-y31iee"), m(o, "class", "bottom svelte-y31iee"), m(t, "class", "Measure-Controller svelte-y31iee");
169
+ t = f("div"), r && r.c(), o = k(), e = f("div"), s = f("div"), n && n.c(), a = k(), p = f("div"), z(m.$$.fragment), v(p, "class", "mode-switcher svelte-1g8r5nw"), v(s, "class", "center svelte-1g8r5nw"), v(e, "class", "bottom svelte-1g8r5nw"), v(t, "class", "Measure-Controller svelte-1g8r5nw");
55
170
  },
56
- m(s, h) {
57
- C(s, t, h), v(t, o), v(o, e), n && n.m(e, null), v(e, r), v(e, a), q(l, a, null), u = !0;
171
+ m(l, w) {
172
+ S(l, t, w), r && r.m(t, null), u(t, o), u(t, e), u(e, s), n && n.m(s, null), u(s, a), u(s, p), A(m, p, null), g = !0;
58
173
  },
59
- p(s, [h]) {
60
- /*showController*/
61
- s[2] ? n ? n.p(s, h) : (n = g(s), n.c(), n.m(e, r)) : n && (n.d(1), n = null);
174
+ p(l, [w]) {
175
+ /*showExit*/
176
+ l[1] ? r ? (r.p(l, w), w & /*showExit*/
177
+ 2 && h(r, 1)) : (r = y(l), r.c(), h(r, 1), r.m(t, o)) : r && (K(), b(r, 1, 1, () => {
178
+ r = null;
179
+ }), j()), /*showController*/
180
+ l[3] ? n ? n.p(l, w) : (n = E(l), n.c(), n.m(s, a)) : n && (n.d(1), n = null);
62
181
  const _ = {};
63
- h & /*measureController*/
182
+ w & /*measureController*/
64
183
  1 && (_.onChange = /*func*/
65
- s[5]), !d && h & /*setSwitcherActiveIndex*/
66
- 2 && (d = !0, _.setIndex = /*setSwitcherActiveIndex*/
67
- s[1], A(() => d = !1)), l.$set(_);
184
+ l[6]), !d && w & /*setSwitcherActiveIndex*/
185
+ 4 && (d = !0, _.setIndex = /*setSwitcherActiveIndex*/
186
+ l[2], B(() => d = !1)), m.$set(_);
68
187
  },
69
- i(s) {
70
- u || (D(l.$$.fragment, s), u = !0);
188
+ i(l) {
189
+ g || (h(r), h(m.$$.fragment, l), g = !0);
71
190
  },
72
- o(s) {
73
- T(l.$$.fragment, s), u = !1;
191
+ o(l) {
192
+ b(r), b(m.$$.fragment, l), g = !1;
74
193
  },
75
- d(s) {
76
- s && w(t), n && n.d(), W(l);
194
+ d(l) {
195
+ l && $(t), r && r.d(), n && n.d(), q(m);
77
196
  }
78
197
  }
79
198
  );
80
199
  }
81
- function K(i, t, o) {
82
- let { measureController: e } = t, r;
83
- function a(c) {
84
- c === "Edit" ? o(2, l = !0) : (r(null), o(2, l = !1));
200
+ function te(i, t, o) {
201
+ let { measureController: e } = t, { showExit: s = !1 } = t, a;
202
+ function p(c) {
203
+ c === "Edit" ? o(3, d = !0) : (a(null), o(3, d = !1));
85
204
  }
86
- $(() => {
87
- e.hook.on("modeChange", a);
88
- }), j(() => {
89
- e.hook.off("modeChange", a);
205
+ function m() {
206
+ e.controller instanceof Q && e.controller.complete(), e.save({ mode: "Watch" });
207
+ }
208
+ F(() => {
209
+ e.hook.on("modeChange", p);
210
+ }), G(() => {
211
+ e.hook.off("modeChange", p);
90
212
  });
91
- let l = !1;
92
- const d = () => e.revoke(), u = () => e.save({ mode: "Watch" }), n = (c) => {
213
+ let d = !1;
214
+ const g = () => e.revoke(), r = (c) => {
93
215
  e.save().changeMode("Edit"), e.changeMeasureType(c);
94
216
  };
95
- function p(c) {
96
- r = c, o(1, r);
217
+ function n(c) {
218
+ a = c, o(2, a);
97
219
  }
98
220
  return i.$$set = (c) => {
99
- "measureController" in c && o(0, e = c.measureController);
221
+ "measureController" in c && o(0, e = c.measureController), "showExit" in c && o(1, s = c.showExit);
100
222
  }, [
101
223
  e,
102
- r,
103
- l,
224
+ s,
225
+ a,
104
226
  d,
105
- u,
106
- n,
107
- p
227
+ m,
228
+ g,
229
+ r,
230
+ n
108
231
  ];
109
232
  }
110
- class O extends k {
233
+ class vt extends D {
111
234
  constructor(t) {
112
- super(), M(this, t, K, J, I, { measureController: 0 }, H);
235
+ super(), L(this, t, te, ee, O, { measureController: 0, showExit: 1 }, Z);
113
236
  }
114
237
  }
115
238
  export {
116
- O as default
239
+ vt as default
117
240
  };