@realsee/dnalogel 2.21.0-dev.13 → 2.21.0-dev.15
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/Controller/index.d.ts +1 -0
- package/dist/index.cjs.js +29 -29
- package/dist/index.js +1792 -1790
- package/dist/index.umd.js +32 -32
- 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 +19 -19
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.PointSelectorHelper.html +15 -15
- 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/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 +116 -116
- package/libs/PanoMeasurePlugin/Components/Controller0.js +101 -89
- package/libs/PanoMeasurePlugin/Components/Controller1.js +167 -178
- package/libs/PanoMeasurePlugin/Components/Tip.js +56 -82
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +9 -9
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +11 -11
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Controller/index.js +15 -12
- package/libs/PanoMeasurePlugin/Model/area.js +1 -1
- package/libs/PanoMeasurePlugin/Model/index.js +3 -2
- package/libs/PanoMeasurePlugin/Model/line.js +1 -0
- package/libs/PanoMeasurePlugin/Model/polyline.js +3 -2
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +14 -38
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
- package/libs/PanoMeasurePlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +21 -20
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/Magnifier.js +4 -4
- package/libs/shared-utils/three/PointSelector.js +14 -14
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
1
|
+
import { SvelteComponent as R, init as T, safe_not_equal as U, append_styles as W, binding_callbacks as j, bind as B, element as h, space as _, create_component as q, attr as g, insert as D, append as f, mount_component as L, transition_in as k, transition_out as C, check_outros as F, add_flush_callback as G, detach as O, destroy_component as P, onMount as H, onDestroy as J, text as y, set_style as x, toggle_class as E, listen as z, run_all as K, group_outros as N } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import Q from "./Common/Switcher0.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { IconLine as
|
|
3
|
+
import V from "./Common/Exit.js";
|
|
4
|
+
import X from "../Controller/EditController.js";
|
|
5
|
+
import { IconLine as Y, IconArea as Z, IconUndo as $, IconOk as ee } from "./Common/icons/index.js";
|
|
6
6
|
import "../Model/line.js";
|
|
7
7
|
import "../../shared-utils/uuid.js";
|
|
8
8
|
import "../utils/line.js";
|
|
@@ -13,6 +13,7 @@ import "@realsee/five";
|
|
|
13
13
|
import "../utils/dom/distanceItem.js";
|
|
14
14
|
import "../utils/dom/base.js";
|
|
15
15
|
import "../utils/isNDCPointInScreen.js";
|
|
16
|
+
import "../../shared-utils/three/centerPoint.js";
|
|
16
17
|
import "../Model/point.js";
|
|
17
18
|
import "../../shared-utils/removeArrayItem.js";
|
|
18
19
|
import "../../shared-utils/throttle.js";
|
|
@@ -26,7 +27,6 @@ import "../utils/generatePolygonGeometry.js";
|
|
|
26
27
|
import "earcut";
|
|
27
28
|
import "../utils/dom/areaDom.js";
|
|
28
29
|
import "../utils/geometryUtil.js";
|
|
29
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
30
30
|
import "../utils/isIntersecting.js";
|
|
31
31
|
import "../../shared-utils/three/PointSelector.js";
|
|
32
32
|
import "../../shared-utils/three/PointSelectorHelper.js";
|
|
@@ -67,11 +67,11 @@ import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
|
67
67
|
import "../utils/findAssociatedLines.js";
|
|
68
68
|
import "../utils/math.js";
|
|
69
69
|
function te(r) {
|
|
70
|
-
W(r, "svelte-
|
|
70
|
+
W(r, "svelte-1ilw9f8", '*.forbid.svelte-1ilw9f8.svelte-1ilw9f8{pointer-events:none !important;opacity:0.5}.Measure-Controller.svelte-1ilw9f8.svelte-1ilw9f8{pointer-events:none;position:relative;width:100%;height:100%;z-index:1}.Measure-Controller.svelte-1ilw9f8 .mode-switcher.svelte-1ilw9f8{margin-top:2.25rem}.Measure-Controller.svelte-1ilw9f8 .bottom.svelte-1ilw9f8{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-1ilw9f8 .bottom .mask.svelte-1ilw9f8{position:absolute;bottom:0;width:100%;height:11.5rem;background-size:100%;background-image:linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3))}.Measure-Controller.svelte-1ilw9f8 .bottom .center.svelte-1ilw9f8{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-1ilw9f8 .buttons.svelte-1ilw9f8{pointer-events:all;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-1ilw9f8 .buttons .button.svelte-1ilw9f8{cursor:pointer;display:flex;align-items:center;position:relative;font-size:0.875rem;padding:0rem 1rem}.Measure-Controller.svelte-1ilw9f8 .buttons .button .icon.svelte-1ilw9f8{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin-right:0.25rem}.Measure-Controller.svelte-1ilw9f8 .buttons .button.svelte-1ilw9f8::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-1ilw9f8 .buttons .button.svelte-1ilw9f8:last-child::after{display:none}');
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
let
|
|
74
|
-
return
|
|
72
|
+
function S(r) {
|
|
73
|
+
let t, o;
|
|
74
|
+
return t = new V({
|
|
75
75
|
props: {
|
|
76
76
|
onClick: (
|
|
77
77
|
/*measureController*/
|
|
@@ -80,161 +80,173 @@ function E(r) {
|
|
|
80
80
|
}
|
|
81
81
|
}), {
|
|
82
82
|
c() {
|
|
83
|
-
|
|
83
|
+
q(t.$$.fragment);
|
|
84
84
|
},
|
|
85
|
-
m(e,
|
|
86
|
-
|
|
85
|
+
m(e, c) {
|
|
86
|
+
L(t, e, c), o = !0;
|
|
87
87
|
},
|
|
88
|
-
p(e,
|
|
89
|
-
const
|
|
90
|
-
|
|
91
|
-
1 && (
|
|
92
|
-
e[0].disable),
|
|
88
|
+
p(e, c) {
|
|
89
|
+
const u = {};
|
|
90
|
+
c & /*measureController*/
|
|
91
|
+
1 && (u.onClick = /*measureController*/
|
|
92
|
+
e[0].disable), t.$set(u);
|
|
93
93
|
},
|
|
94
94
|
i(e) {
|
|
95
|
-
|
|
95
|
+
o || (k(t.$$.fragment, e), o = !0);
|
|
96
96
|
},
|
|
97
97
|
o(e) {
|
|
98
|
-
C(
|
|
98
|
+
C(t.$$.fragment, e), o = !1;
|
|
99
99
|
},
|
|
100
100
|
d(e) {
|
|
101
|
-
|
|
101
|
+
P(t, e);
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
function
|
|
106
|
-
let
|
|
105
|
+
function A(r) {
|
|
106
|
+
let t, o, e, c, u, l, d, v, m, w;
|
|
107
107
|
return {
|
|
108
108
|
c() {
|
|
109
|
-
|
|
110
|
-
撤销`),
|
|
111
|
-
结束`), g(e, "class", "icon svelte-
|
|
109
|
+
t = h("div"), o = h("div"), e = h("div"), c = y(`
|
|
110
|
+
撤销`), u = _(), l = h("div"), d = h("div"), v = y(`
|
|
111
|
+
结束`), g(e, "class", "icon svelte-1ilw9f8"), x(e, "background-image", `url(${$})`), g(o, "class", "button svelte-1ilw9f8"), E(o, "forbid", !/*canRevoke*/
|
|
112
|
+
r[2]), g(d, "class", "icon svelte-1ilw9f8"), x(d, "background-image", `url(${ee})`), g(l, "class", "button svelte-1ilw9f8"), g(t, "class", "buttons svelte-1ilw9f8");
|
|
112
113
|
},
|
|
113
|
-
m(
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
m(p, i) {
|
|
115
|
+
D(p, t, i), f(t, o), f(o, e), f(o, c), f(t, u), f(t, l), f(l, d), f(l, v), m || (w = [
|
|
116
|
+
z(
|
|
117
|
+
o,
|
|
117
118
|
"click",
|
|
118
119
|
/*click_handler*/
|
|
119
|
-
r[
|
|
120
|
+
r[6]
|
|
120
121
|
),
|
|
121
|
-
|
|
122
|
-
|
|
122
|
+
z(
|
|
123
|
+
l,
|
|
123
124
|
"click",
|
|
124
125
|
/*complete*/
|
|
125
|
-
r[
|
|
126
|
+
r[5]
|
|
126
127
|
)
|
|
127
|
-
],
|
|
128
|
+
], m = !0);
|
|
129
|
+
},
|
|
130
|
+
p(p, i) {
|
|
131
|
+
i & /*canRevoke*/
|
|
132
|
+
4 && E(o, "forbid", !/*canRevoke*/
|
|
133
|
+
p[2]);
|
|
128
134
|
},
|
|
129
|
-
p
|
|
130
|
-
|
|
131
|
-
v && q(o), s = !1, N(b);
|
|
135
|
+
d(p) {
|
|
136
|
+
p && O(t), m = !1, K(w);
|
|
132
137
|
}
|
|
133
138
|
};
|
|
134
139
|
}
|
|
135
140
|
function oe(r) {
|
|
136
|
-
let
|
|
141
|
+
let t, o, e, c, u, l, d, v, m, w, p, i = (
|
|
137
142
|
/*showExit*/
|
|
138
|
-
r[1] &&
|
|
139
|
-
),
|
|
143
|
+
r[1] && S(r)
|
|
144
|
+
), s = (
|
|
140
145
|
/*showController*/
|
|
141
|
-
r[
|
|
146
|
+
r[4] && A(r)
|
|
142
147
|
);
|
|
143
|
-
function
|
|
144
|
-
r[
|
|
148
|
+
function M(n) {
|
|
149
|
+
r[8](n);
|
|
145
150
|
}
|
|
146
|
-
let
|
|
151
|
+
let a = {
|
|
147
152
|
options: [
|
|
148
153
|
{
|
|
149
154
|
key: "line",
|
|
150
155
|
value: "测距离",
|
|
151
|
-
icon:
|
|
156
|
+
icon: Y
|
|
152
157
|
},
|
|
153
158
|
{
|
|
154
159
|
key: "area",
|
|
155
160
|
value: "测面积",
|
|
156
|
-
icon:
|
|
161
|
+
icon: Z
|
|
157
162
|
}
|
|
158
163
|
],
|
|
159
164
|
onChange: (
|
|
160
165
|
/*func*/
|
|
161
|
-
r[
|
|
166
|
+
r[7]
|
|
162
167
|
)
|
|
163
168
|
};
|
|
164
169
|
return (
|
|
165
170
|
/*setSwitcherActiveIndex*/
|
|
166
|
-
r[
|
|
167
|
-
r[
|
|
171
|
+
r[3] !== void 0 && (a.setIndex = /*setSwitcherActiveIndex*/
|
|
172
|
+
r[3]), m = new Q({ props: a }), j.push(() => B(m, "setIndex", M)), {
|
|
168
173
|
c() {
|
|
169
|
-
|
|
174
|
+
t = h("div"), i && i.c(), o = _(), e = h("div"), c = h("div"), u = _(), l = h("div"), s && s.c(), d = _(), v = h("div"), q(m.$$.fragment), g(c, "class", "mask svelte-1ilw9f8"), g(v, "class", "mode-switcher svelte-1ilw9f8"), g(l, "class", "center svelte-1ilw9f8"), g(e, "class", "bottom svelte-1ilw9f8"), g(t, "class", "Measure-Controller svelte-1ilw9f8");
|
|
170
175
|
},
|
|
171
|
-
m(n,
|
|
172
|
-
|
|
176
|
+
m(n, b) {
|
|
177
|
+
D(n, t, b), i && i.m(t, null), f(t, o), f(t, e), f(e, c), f(e, u), f(e, l), s && s.m(l, null), f(l, d), f(l, v), L(m, v, null), p = !0;
|
|
173
178
|
},
|
|
174
|
-
p(n, [
|
|
179
|
+
p(n, [b]) {
|
|
175
180
|
/*showExit*/
|
|
176
|
-
n[1] ?
|
|
177
|
-
2 &&
|
|
178
|
-
|
|
181
|
+
n[1] ? i ? (i.p(n, b), b & /*showExit*/
|
|
182
|
+
2 && k(i, 1)) : (i = S(n), i.c(), k(i, 1), i.m(t, o)) : i && (N(), C(i, 1, 1, () => {
|
|
183
|
+
i = null;
|
|
179
184
|
}), F()), /*showController*/
|
|
180
|
-
n[
|
|
181
|
-
const
|
|
182
|
-
|
|
183
|
-
1 && (
|
|
184
|
-
n[
|
|
185
|
-
|
|
186
|
-
n[
|
|
185
|
+
n[4] ? s ? s.p(n, b) : (s = A(n), s.c(), s.m(l, d)) : s && (s.d(1), s = null);
|
|
186
|
+
const I = {};
|
|
187
|
+
b & /*measureController*/
|
|
188
|
+
1 && (I.onChange = /*func*/
|
|
189
|
+
n[7]), !w && b & /*setSwitcherActiveIndex*/
|
|
190
|
+
8 && (w = !0, I.setIndex = /*setSwitcherActiveIndex*/
|
|
191
|
+
n[3], G(() => w = !1)), m.$set(I);
|
|
187
192
|
},
|
|
188
193
|
i(n) {
|
|
189
|
-
|
|
194
|
+
p || (k(i), k(m.$$.fragment, n), p = !0);
|
|
190
195
|
},
|
|
191
196
|
o(n) {
|
|
192
|
-
C(
|
|
197
|
+
C(i), C(m.$$.fragment, n), p = !1;
|
|
193
198
|
},
|
|
194
199
|
d(n) {
|
|
195
|
-
n &&
|
|
200
|
+
n && O(t), i && i.d(), s && s.d(), P(m);
|
|
196
201
|
}
|
|
197
202
|
}
|
|
198
203
|
);
|
|
199
204
|
}
|
|
200
|
-
function
|
|
201
|
-
let { measureController: e } =
|
|
202
|
-
function
|
|
203
|
-
|
|
205
|
+
function ie(r, t, o) {
|
|
206
|
+
let { measureController: e } = t, { showExit: c = !1 } = t, u = !1, l;
|
|
207
|
+
function d(a) {
|
|
208
|
+
a === "Edit" ? o(4, p = !0) : (l(null), o(4, p = !1));
|
|
209
|
+
}
|
|
210
|
+
function v() {
|
|
211
|
+
e.controller instanceof X && e.controller.complete(), e.save({ mode: "Watch" });
|
|
204
212
|
}
|
|
205
|
-
function
|
|
206
|
-
|
|
213
|
+
function m(a) {
|
|
214
|
+
o(2, u = a.length > 0);
|
|
215
|
+
}
|
|
216
|
+
function w() {
|
|
217
|
+
o(2, u = !1);
|
|
207
218
|
}
|
|
208
219
|
H(() => {
|
|
209
|
-
e.hook.on("modeChange",
|
|
220
|
+
e.hook.on("modeChange", d), e.hook.on("complete", w), e.hook.on("pointsChange", m);
|
|
210
221
|
}), J(() => {
|
|
211
|
-
e.hook.off("modeChange",
|
|
222
|
+
e.hook.off("modeChange", d), e.hook.off("complete", w), e.hook.off("pointsChange", m);
|
|
212
223
|
});
|
|
213
|
-
let
|
|
214
|
-
const
|
|
215
|
-
e.save().changeMode("Edit"), e.changeMeasureType(
|
|
224
|
+
let p = !1;
|
|
225
|
+
const i = () => e.revoke(), s = (a) => {
|
|
226
|
+
e.save().changeMode("Edit"), e.changeMeasureType(a);
|
|
216
227
|
};
|
|
217
|
-
function
|
|
218
|
-
|
|
228
|
+
function M(a) {
|
|
229
|
+
l = a, o(3, l);
|
|
219
230
|
}
|
|
220
|
-
return r.$$set = (
|
|
221
|
-
"measureController" in
|
|
231
|
+
return r.$$set = (a) => {
|
|
232
|
+
"measureController" in a && o(0, e = a.measureController), "showExit" in a && o(1, c = a.showExit);
|
|
222
233
|
}, [
|
|
223
234
|
e,
|
|
224
|
-
p,
|
|
225
235
|
c,
|
|
226
236
|
u,
|
|
227
|
-
|
|
237
|
+
l,
|
|
238
|
+
p,
|
|
239
|
+
v,
|
|
240
|
+
i,
|
|
228
241
|
s,
|
|
229
|
-
|
|
230
|
-
v
|
|
242
|
+
M
|
|
231
243
|
];
|
|
232
244
|
}
|
|
233
|
-
class
|
|
234
|
-
constructor(
|
|
235
|
-
super(), T(this,
|
|
245
|
+
class wt extends R {
|
|
246
|
+
constructor(t) {
|
|
247
|
+
super(), T(this, t, ie, oe, U, { measureController: 0, showExit: 1 }, te);
|
|
236
248
|
}
|
|
237
249
|
}
|
|
238
250
|
export {
|
|
239
|
-
|
|
251
|
+
wt as default
|
|
240
252
|
};
|