@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.
- package/dist/PanoMeasurePlugin/Components/Common/icons/index.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +11 -0
- package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Model/area.d.ts +8 -1
- package/dist/PanoMeasurePlugin/Model/line.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Model/polygon.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +4 -0
- package/dist/index.cjs.js +54 -52
- package/dist/index.js +5119 -4997
- package/dist/index.umd.js +47 -45
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +26 -26
- package/docs/classes/PanoMeasurePluginModel.html +26 -26
- package/docs/classes/PanoMeasurePluginPoint.html +13 -13
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +46 -46
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.PointSelectorHelper.html +16 -16
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +14 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +12 -12
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/interfaces/Util.PointIntersection.html +7 -7
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PartialObjectDeep.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +106 -110
- package/libs/PanoMeasurePlugin/Components/Common/icons/index.d.ts +4 -0
- package/libs/PanoMeasurePlugin/Components/Common/icons/index.js +7 -0
- package/libs/PanoMeasurePlugin/Components/Controller0.js +189 -79
- package/libs/PanoMeasurePlugin/Components/Controller1.js +214 -180
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +11 -0
- package/libs/PanoMeasurePlugin/Controller/EditController.js +174 -137
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +13 -12
- package/libs/PanoMeasurePlugin/Controller/index.js +5 -4
- package/libs/PanoMeasurePlugin/Model/area.d.ts +8 -1
- package/libs/PanoMeasurePlugin/Model/area.js +21 -14
- package/libs/PanoMeasurePlugin/Model/line.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Model/line.js +23 -22
- package/libs/PanoMeasurePlugin/Model/polygon.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Model/polygon.js +16 -14
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +34 -24
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +4 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +45 -38
- package/libs/PanoMeasurePlugin/index.js +17 -16
- package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +3 -3
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +112 -111
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector.js +7 -7
- package/libs/shared-utils/three/PointSelectorHelper.js +7 -7
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { fade as
|
|
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
|
|
67
|
-
|
|
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
|
|
70
|
-
let
|
|
71
|
-
return t = new
|
|
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
|
-
|
|
124
|
+
t = w("div"), x(o.$$.fragment), M(t, "class", "mode-switcher svelte-n2tx97");
|
|
86
125
|
},
|
|
87
|
-
m(l,
|
|
88
|
-
|
|
126
|
+
m(l, n) {
|
|
127
|
+
j(l, t, n), L(o, t, null), s = !0;
|
|
89
128
|
},
|
|
90
|
-
p(l,
|
|
129
|
+
p(l, n) {
|
|
91
130
|
r = l;
|
|
92
|
-
const
|
|
93
|
-
|
|
94
|
-
1 && (
|
|
95
|
-
r[0].currentMeasureType),
|
|
96
|
-
1 && (
|
|
97
|
-
r[0].changeMeasureType),
|
|
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
|
-
|
|
101
|
-
|
|
102
|
-
}),
|
|
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
|
-
|
|
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 &&
|
|
147
|
+
l && q(t), R(o), l && e && e.end();
|
|
109
148
|
}
|
|
110
149
|
};
|
|
111
150
|
}
|
|
112
|
-
function
|
|
113
|
-
let
|
|
151
|
+
function J(r) {
|
|
152
|
+
let t, o, e, s, l;
|
|
114
153
|
return {
|
|
115
154
|
c() {
|
|
116
|
-
|
|
117
|
-
|
|
155
|
+
t = w("div"), t.textContent = "撤销", M(t, "class", "button svelte-n2tx97"), K(
|
|
156
|
+
t,
|
|
118
157
|
"forbid",
|
|
119
158
|
/*buttonState*/
|
|
120
|
-
r[
|
|
159
|
+
r[2] === "start"
|
|
121
160
|
);
|
|
122
161
|
},
|
|
123
|
-
m(
|
|
124
|
-
|
|
125
|
-
|
|
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
|
-
),
|
|
168
|
+
), s = !0);
|
|
130
169
|
},
|
|
131
|
-
p(
|
|
132
|
-
r =
|
|
133
|
-
|
|
134
|
-
|
|
170
|
+
p(n, d) {
|
|
171
|
+
r = n, (!e || d & /*buttonState*/
|
|
172
|
+
4) && K(
|
|
173
|
+
t,
|
|
135
174
|
"forbid",
|
|
136
175
|
/*buttonState*/
|
|
137
|
-
r[
|
|
176
|
+
r[2] === "start"
|
|
138
177
|
);
|
|
139
178
|
},
|
|
140
|
-
i(
|
|
141
|
-
e || (
|
|
142
|
-
e && (
|
|
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(
|
|
146
|
-
|
|
184
|
+
o(n) {
|
|
185
|
+
n && (o || (o = E(t, S, { duration: A }, !1)), o.run(0)), e = !1;
|
|
147
186
|
},
|
|
148
|
-
d(
|
|
149
|
-
|
|
187
|
+
d(n) {
|
|
188
|
+
n && q(t), n && o && o.end(), s = !1, l();
|
|
150
189
|
}
|
|
151
190
|
};
|
|
152
191
|
}
|
|
153
|
-
function
|
|
154
|
-
let
|
|
192
|
+
function N(r) {
|
|
193
|
+
let t, o, e, s, l;
|
|
155
194
|
return {
|
|
156
195
|
c() {
|
|
157
|
-
|
|
196
|
+
t = w("div"), t.textContent = "结束", M(t, "class", "button svelte-n2tx97");
|
|
158
197
|
},
|
|
159
|
-
m(
|
|
160
|
-
|
|
161
|
-
|
|
198
|
+
m(n, d) {
|
|
199
|
+
j(n, t, d), e = !0, s || (l = O(
|
|
200
|
+
t,
|
|
162
201
|
"click",
|
|
163
202
|
/*complete*/
|
|
164
|
-
r[
|
|
165
|
-
),
|
|
203
|
+
r[11]
|
|
204
|
+
), s = !0);
|
|
166
205
|
},
|
|
167
|
-
p(
|
|
168
|
-
r =
|
|
206
|
+
p(n, d) {
|
|
207
|
+
r = n;
|
|
169
208
|
},
|
|
170
|
-
i(
|
|
171
|
-
e || (
|
|
172
|
-
e && (
|
|
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(
|
|
176
|
-
|
|
214
|
+
o(n) {
|
|
215
|
+
n && (o || (o = E(t, S, { duration: A }, !1)), o.run(0)), e = !1;
|
|
177
216
|
},
|
|
178
|
-
d(
|
|
179
|
-
|
|
217
|
+
d(n) {
|
|
218
|
+
n && q(t), n && o && o.end(), s = !1, l();
|
|
180
219
|
}
|
|
181
220
|
};
|
|
182
221
|
}
|
|
183
|
-
function
|
|
184
|
-
let
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
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[
|
|
197
|
-
),
|
|
229
|
+
r[2] === "start" && I(r)
|
|
230
|
+
), f = (
|
|
198
231
|
/*showButton*/
|
|
199
|
-
r[
|
|
232
|
+
r[4] && J(r)
|
|
200
233
|
);
|
|
201
|
-
|
|
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[
|
|
242
|
+
r[3] === "area" ? (
|
|
210
243
|
/*buttonAreaTextMap*/
|
|
211
|
-
r[
|
|
244
|
+
r[6][
|
|
212
245
|
/*buttonState*/
|
|
213
|
-
r[
|
|
246
|
+
r[2]
|
|
214
247
|
]
|
|
215
248
|
) : (
|
|
216
249
|
/*buttonLineTextMap*/
|
|
217
|
-
r[
|
|
250
|
+
r[7][
|
|
218
251
|
/*buttonState*/
|
|
219
|
-
r[
|
|
252
|
+
r[2]
|
|
220
253
|
]
|
|
221
254
|
)
|
|
222
255
|
),
|
|
223
256
|
color: (
|
|
224
257
|
/*buttonColorMap*/
|
|
225
|
-
r[
|
|
258
|
+
r[8][
|
|
226
259
|
/*buttonState*/
|
|
227
|
-
r[
|
|
260
|
+
r[2]
|
|
228
261
|
]
|
|
229
262
|
)
|
|
230
263
|
}
|
|
231
264
|
});
|
|
232
|
-
let
|
|
265
|
+
let a = (
|
|
233
266
|
/*showButton*/
|
|
234
|
-
r[
|
|
267
|
+
r[4] && N(r)
|
|
235
268
|
);
|
|
236
269
|
return {
|
|
237
270
|
c() {
|
|
238
|
-
|
|
239
|
-
r[
|
|
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(
|
|
242
|
-
|
|
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(
|
|
245
|
-
|
|
246
|
-
u & /*
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
4
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
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
|
-
|
|
299
|
+
i[6][
|
|
266
300
|
/*buttonState*/
|
|
267
|
-
|
|
301
|
+
i[2]
|
|
268
302
|
]
|
|
269
303
|
) : (
|
|
270
304
|
/*buttonLineTextMap*/
|
|
271
|
-
|
|
305
|
+
i[7][
|
|
272
306
|
/*buttonState*/
|
|
273
|
-
|
|
307
|
+
i[2]
|
|
274
308
|
]
|
|
275
|
-
)),
|
|
276
|
-
|
|
277
|
-
|
|
309
|
+
)), p & /*buttonState*/
|
|
310
|
+
4 && (T.color = /*buttonColorMap*/
|
|
311
|
+
i[8][
|
|
278
312
|
/*buttonState*/
|
|
279
|
-
|
|
280
|
-
]),
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
}),
|
|
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(
|
|
289
|
-
|
|
322
|
+
i(i) {
|
|
323
|
+
_ || (h(u), h(m), h(f), h(v.$$.fragment, i), h(a), _ = !0);
|
|
290
324
|
},
|
|
291
|
-
o(
|
|
292
|
-
|
|
325
|
+
o(i) {
|
|
326
|
+
b(u), b(m), b(f), b(v.$$.fragment, i), b(a), _ = !1;
|
|
293
327
|
},
|
|
294
|
-
d(
|
|
295
|
-
|
|
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
|
|
300
|
-
function
|
|
301
|
-
let { measureController: e } =
|
|
302
|
-
const
|
|
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
|
|
308
|
-
const
|
|
309
|
-
|
|
310
|
-
},
|
|
311
|
-
e.controller instanceof
|
|
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
|
-
|
|
320
|
-
},
|
|
321
|
-
|
|
322
|
-
},
|
|
323
|
-
|
|
324
|
-
},
|
|
325
|
-
|
|
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
|
-
|
|
328
|
-
e.hook.on("revoke",
|
|
329
|
-
}),
|
|
330
|
-
e.hook.off("measureTypeChange",
|
|
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
|
|
333
|
-
|
|
366
|
+
const Q = () => e.revoke(), U = () => {
|
|
367
|
+
c === "start" ? P() : c === "add" ? _() : c === "end" && m();
|
|
334
368
|
};
|
|
335
|
-
return r.$$set = (
|
|
336
|
-
"measureController" in
|
|
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,
|
|
339
|
-
|
|
372
|
+
r.$$.dirty & /*currentMeasureType, buttonState*/
|
|
373
|
+
12 && o(4, g = v === "area" && c !== "start");
|
|
340
374
|
}, [
|
|
341
375
|
e,
|
|
342
|
-
|
|
343
|
-
|
|
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
|
-
|
|
348
|
-
|
|
349
|
-
g,
|
|
350
|
-
s,
|
|
351
|
-
p,
|
|
352
|
-
f,
|
|
353
|
-
a,
|
|
354
|
-
O,
|
|
355
|
-
Q
|
|
388
|
+
Q,
|
|
389
|
+
U
|
|
356
390
|
];
|
|
357
391
|
}
|
|
358
|
-
class
|
|
359
|
-
constructor(
|
|
360
|
-
super(),
|
|
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
|
-
|
|
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
|
}
|