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