@realsee/dnalogel 2.23.0 → 2.23.1-dev.0
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/Modules/GuideController.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
- package/dist/index.cjs.js +43 -47
- package/dist/index.js +2957 -2853
- package/dist/index.umd.js +35 -39
- 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 +163 -118
- package/libs/PanoMeasurePlugin/Components/Controller1.js +236 -184
- package/libs/PanoMeasurePlugin/Components/Tip.js +78 -77
- package/libs/PanoMeasurePlugin/Controller/index.js +15 -10
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +1 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +20 -20
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { safe_not_equal as
|
|
2
|
-
import { append_styles as
|
|
3
|
-
import { transition_in as
|
|
4
|
-
import { binding_callbacks as
|
|
5
|
-
import { onMount as
|
|
6
|
-
import { SvelteComponent as
|
|
1
|
+
import { safe_not_equal as j, run_all as x } from "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as B, element as h, space as C, attr as g, insert as P, append as s, detach as R, text as y, set_style as E, toggle_class as z, listen as S, set_data as A } from "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { transition_in as w, transition_out as I, check_outros as F, group_outros as G } from "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
4
|
+
import { binding_callbacks as H, add_flush_callback as J } from "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
5
|
+
import { onMount as K, onDestroy as N } from "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
6
|
+
import { SvelteComponent as Q, init as V, bind as X, create_component as T, mount_component as U, destroy_component as W } from "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
7
7
|
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { IconLine as
|
|
8
|
+
import Y from "./Common/Switcher0.js";
|
|
9
|
+
import Z from "./Common/Exit.js";
|
|
10
|
+
import $ from "../Controller/EditController.js";
|
|
11
|
+
import { IconLine as q, IconArea as D, IconUndo as ee, IconOk as te } from "./Common/icons/index.js";
|
|
12
12
|
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
13
13
|
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
14
14
|
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
@@ -77,187 +77,232 @@ import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
|
77
77
|
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
78
78
|
import "../utils/findAssociatedLines.js";
|
|
79
79
|
import "../utils/math.js";
|
|
80
|
-
function
|
|
81
|
-
|
|
80
|
+
function oe(n) {
|
|
81
|
+
B(n, "svelte-468fdd", '*.forbid.svelte-468fdd.svelte-468fdd{pointer-events:none !important;opacity:0.5}.Measure-Controller.svelte-468fdd.svelte-468fdd{pointer-events:none;position:relative;width:100%;height:100%;z-index:2}.Measure-Controller.svelte-468fdd .mode-switcher.svelte-468fdd{margin-top:2.25rem}.Measure-Controller.svelte-468fdd .bottom.svelte-468fdd{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-468fdd .bottom .mask.svelte-468fdd{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-468fdd .bottom .center.svelte-468fdd{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-468fdd .buttons.svelte-468fdd{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-468fdd .buttons .button.svelte-468fdd{cursor:pointer;display:flex;align-items:center;position:relative;font-size:0.875rem;padding:0rem 1rem}.Measure-Controller.svelte-468fdd .buttons .button .icon.svelte-468fdd{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin-right:0.25rem}.Measure-Controller.svelte-468fdd .buttons .button.svelte-468fdd::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-468fdd .buttons .button.svelte-468fdd:last-child::after{display:none}');
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
let
|
|
85
|
-
return
|
|
83
|
+
function L(n) {
|
|
84
|
+
let o, r;
|
|
85
|
+
return o = new Z({
|
|
86
86
|
props: {
|
|
87
87
|
onClick: (
|
|
88
88
|
/*measureController*/
|
|
89
|
-
|
|
89
|
+
n[0].disable
|
|
90
90
|
)
|
|
91
91
|
}
|
|
92
92
|
}), {
|
|
93
93
|
c() {
|
|
94
|
-
|
|
94
|
+
T(o.$$.fragment);
|
|
95
95
|
},
|
|
96
|
-
m(
|
|
97
|
-
|
|
96
|
+
m(t, f) {
|
|
97
|
+
U(o, t, f), r = !0;
|
|
98
98
|
},
|
|
99
|
-
p(
|
|
100
|
-
const
|
|
99
|
+
p(t, f) {
|
|
100
|
+
const p = {};
|
|
101
101
|
f & /*measureController*/
|
|
102
|
-
1 && (
|
|
103
|
-
|
|
102
|
+
1 && (p.onClick = /*measureController*/
|
|
103
|
+
t[0].disable), o.$set(p);
|
|
104
104
|
},
|
|
105
|
-
i(
|
|
106
|
-
|
|
105
|
+
i(t) {
|
|
106
|
+
r || (w(o.$$.fragment, t), r = !0);
|
|
107
107
|
},
|
|
108
|
-
o(
|
|
109
|
-
|
|
108
|
+
o(t) {
|
|
109
|
+
I(o.$$.fragment, t), r = !1;
|
|
110
110
|
},
|
|
111
|
-
d(
|
|
112
|
-
|
|
111
|
+
d(t) {
|
|
112
|
+
W(o, t);
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
|
-
function
|
|
117
|
-
let
|
|
116
|
+
function O(n) {
|
|
117
|
+
let o, r, t, f, p = (
|
|
118
|
+
/*i18n*/
|
|
119
|
+
n[2]("撤销") + ""
|
|
120
|
+
), m, v, d, a, b, c = (
|
|
121
|
+
/*i18n*/
|
|
122
|
+
n[2]("结束") + ""
|
|
123
|
+
), i, l, _;
|
|
118
124
|
return {
|
|
119
125
|
c() {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
结束`), g(e, "class", "icon svelte-468fdd"), x(e, "background-image", `url(${$})`), g(o, "class", "button svelte-468fdd"), E(o, "forbid", !/*canRevoke*/
|
|
123
|
-
i[2]), g(u, "class", "icon svelte-468fdd"), x(u, "background-image", `url(${ee})`), g(n, "class", "button svelte-468fdd"), g(t, "class", "buttons svelte-468fdd");
|
|
126
|
+
o = h("div"), r = h("div"), t = h("div"), f = C(), m = y(p), v = C(), d = h("div"), a = h("div"), b = C(), i = y(c), g(t, "class", "icon svelte-468fdd"), E(t, "background-image", `url(${ee})`), g(r, "class", "button svelte-468fdd"), z(r, "forbid", !/*canRevoke*/
|
|
127
|
+
n[3]), g(a, "class", "icon svelte-468fdd"), E(a, "background-image", `url(${te})`), g(d, "class", "button svelte-468fdd"), g(o, "class", "buttons svelte-468fdd");
|
|
124
128
|
},
|
|
125
|
-
m(
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
+
m(u, e) {
|
|
130
|
+
P(u, o, e), s(o, r), s(r, t), s(r, f), s(r, m), s(o, v), s(o, d), s(d, a), s(d, b), s(d, i), l || (_ = [
|
|
131
|
+
S(
|
|
132
|
+
r,
|
|
129
133
|
"click",
|
|
130
134
|
/*click_handler*/
|
|
131
|
-
|
|
135
|
+
n[7]
|
|
132
136
|
),
|
|
133
|
-
|
|
134
|
-
|
|
137
|
+
S(
|
|
138
|
+
d,
|
|
135
139
|
"click",
|
|
136
140
|
/*complete*/
|
|
137
|
-
|
|
141
|
+
n[6]
|
|
138
142
|
)
|
|
139
|
-
],
|
|
143
|
+
], l = !0);
|
|
140
144
|
},
|
|
141
|
-
p(
|
|
142
|
-
|
|
143
|
-
4 &&
|
|
144
|
-
|
|
145
|
+
p(u, e) {
|
|
146
|
+
e & /*i18n*/
|
|
147
|
+
4 && p !== (p = /*i18n*/
|
|
148
|
+
u[2]("撤销") + "") && A(m, p), e & /*canRevoke*/
|
|
149
|
+
8 && z(r, "forbid", !/*canRevoke*/
|
|
150
|
+
u[3]), e & /*i18n*/
|
|
151
|
+
4 && c !== (c = /*i18n*/
|
|
152
|
+
u[2]("结束") + "") && A(i, c);
|
|
145
153
|
},
|
|
146
|
-
d(
|
|
147
|
-
|
|
154
|
+
d(u) {
|
|
155
|
+
u && R(o), l = !1, x(_);
|
|
148
156
|
}
|
|
149
157
|
};
|
|
150
158
|
}
|
|
151
|
-
function
|
|
152
|
-
let
|
|
159
|
+
function re(n) {
|
|
160
|
+
let o, r, t, f, p, m, v, d, a, b, c, i = (
|
|
153
161
|
/*showExit*/
|
|
154
|
-
|
|
155
|
-
),
|
|
162
|
+
n[1] && L(n)
|
|
163
|
+
), l = (
|
|
156
164
|
/*showController*/
|
|
157
|
-
|
|
165
|
+
n[5] && O(n)
|
|
158
166
|
);
|
|
159
|
-
function
|
|
160
|
-
|
|
167
|
+
function _(e) {
|
|
168
|
+
n[9](e);
|
|
161
169
|
}
|
|
162
|
-
let
|
|
170
|
+
let u = {
|
|
163
171
|
options: [
|
|
164
172
|
{
|
|
165
173
|
key: "line",
|
|
166
|
-
value:
|
|
167
|
-
|
|
174
|
+
value: (
|
|
175
|
+
/*i18n*/
|
|
176
|
+
n[2]("测距离")
|
|
177
|
+
),
|
|
178
|
+
icon: q
|
|
168
179
|
},
|
|
169
180
|
{
|
|
170
181
|
key: "area",
|
|
171
|
-
value:
|
|
172
|
-
|
|
182
|
+
value: (
|
|
183
|
+
/*i18n*/
|
|
184
|
+
n[2]("测面积")
|
|
185
|
+
),
|
|
186
|
+
icon: D
|
|
173
187
|
}
|
|
174
188
|
],
|
|
175
189
|
onChange: (
|
|
176
190
|
/*func*/
|
|
177
|
-
|
|
191
|
+
n[8]
|
|
178
192
|
)
|
|
179
193
|
};
|
|
180
194
|
return (
|
|
181
195
|
/*setSwitcherActiveIndex*/
|
|
182
|
-
|
|
183
|
-
|
|
196
|
+
n[4] !== void 0 && (u.setIndex = /*setSwitcherActiveIndex*/
|
|
197
|
+
n[4]), a = new Y({ props: u }), H.push(() => X(a, "setIndex", _)), {
|
|
184
198
|
c() {
|
|
185
|
-
|
|
199
|
+
o = h("div"), i && i.c(), r = C(), t = h("div"), f = h("div"), p = C(), m = h("div"), l && l.c(), v = C(), d = h("div"), T(a.$$.fragment), g(f, "class", "mask svelte-468fdd"), g(d, "class", "mode-switcher svelte-468fdd"), g(m, "class", "center svelte-468fdd"), g(t, "class", "bottom svelte-468fdd"), g(o, "class", "Measure-Controller svelte-468fdd");
|
|
186
200
|
},
|
|
187
|
-
m(
|
|
188
|
-
|
|
201
|
+
m(e, k) {
|
|
202
|
+
P(e, o, k), i && i.m(o, null), s(o, r), s(o, t), s(t, f), s(t, p), s(t, m), l && l.m(m, null), s(m, v), s(m, d), U(a, d, null), c = !0;
|
|
189
203
|
},
|
|
190
|
-
p(
|
|
204
|
+
p(e, [k]) {
|
|
191
205
|
/*showExit*/
|
|
192
|
-
|
|
193
|
-
2 &&
|
|
194
|
-
|
|
195
|
-
}),
|
|
196
|
-
|
|
197
|
-
const
|
|
198
|
-
k & /*
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
206
|
+
e[1] ? i ? (i.p(e, k), k & /*showExit*/
|
|
207
|
+
2 && w(i, 1)) : (i = L(e), i.c(), w(i, 1), i.m(o, r)) : i && (G(), I(i, 1, 1, () => {
|
|
208
|
+
i = null;
|
|
209
|
+
}), F()), /*showController*/
|
|
210
|
+
e[5] ? l ? l.p(e, k) : (l = O(e), l.c(), l.m(m, v)) : l && (l.d(1), l = null);
|
|
211
|
+
const M = {};
|
|
212
|
+
k & /*i18n*/
|
|
213
|
+
4 && (M.options = [
|
|
214
|
+
{
|
|
215
|
+
key: "line",
|
|
216
|
+
value: (
|
|
217
|
+
/*i18n*/
|
|
218
|
+
e[2]("测距离")
|
|
219
|
+
),
|
|
220
|
+
icon: q
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
key: "area",
|
|
224
|
+
value: (
|
|
225
|
+
/*i18n*/
|
|
226
|
+
e[2]("测面积")
|
|
227
|
+
),
|
|
228
|
+
icon: D
|
|
229
|
+
}
|
|
230
|
+
]), k & /*measureController*/
|
|
231
|
+
1 && (M.onChange = /*func*/
|
|
232
|
+
e[8]), !b && k & /*setSwitcherActiveIndex*/
|
|
233
|
+
16 && (b = !0, M.setIndex = /*setSwitcherActiveIndex*/
|
|
234
|
+
e[4], J(() => b = !1)), a.$set(M);
|
|
203
235
|
},
|
|
204
|
-
i(
|
|
205
|
-
|
|
236
|
+
i(e) {
|
|
237
|
+
c || (w(i), w(a.$$.fragment, e), c = !0);
|
|
206
238
|
},
|
|
207
|
-
o(
|
|
208
|
-
|
|
239
|
+
o(e) {
|
|
240
|
+
I(i), I(a.$$.fragment, e), c = !1;
|
|
209
241
|
},
|
|
210
|
-
d(
|
|
211
|
-
|
|
242
|
+
d(e) {
|
|
243
|
+
e && R(o), i && i.d(), l && l.d(), W(a);
|
|
212
244
|
}
|
|
213
245
|
}
|
|
214
246
|
);
|
|
215
247
|
}
|
|
216
|
-
function
|
|
217
|
-
let { measureController:
|
|
218
|
-
function
|
|
219
|
-
|
|
248
|
+
function ie(n, o, r) {
|
|
249
|
+
let { measureController: t } = o, { showExit: f = !1 } = o, { i18n: p = (e) => e } = o, m = !1, v;
|
|
250
|
+
function d(e) {
|
|
251
|
+
e === "Edit" ? r(5, i = !0) : (v(null), r(5, i = !1));
|
|
220
252
|
}
|
|
221
|
-
function
|
|
222
|
-
|
|
253
|
+
function a() {
|
|
254
|
+
t.controller instanceof $ && t.controller.complete(), t.save({ mode: "Watch" });
|
|
223
255
|
}
|
|
224
|
-
function
|
|
225
|
-
|
|
256
|
+
function b(e) {
|
|
257
|
+
r(3, m = e.length > 0);
|
|
226
258
|
}
|
|
227
|
-
function
|
|
228
|
-
|
|
259
|
+
function c() {
|
|
260
|
+
r(3, m = !1);
|
|
229
261
|
}
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
}),
|
|
233
|
-
|
|
262
|
+
K(() => {
|
|
263
|
+
t.hook.on("modeChange", d), t.hook.on("complete", c), t.hook.on("pointsChange", b);
|
|
264
|
+
}), N(() => {
|
|
265
|
+
t.hook.off("modeChange", d), t.hook.off("complete", c), t.hook.off("pointsChange", b);
|
|
234
266
|
});
|
|
235
|
-
let
|
|
236
|
-
const
|
|
237
|
-
|
|
267
|
+
let i = !1;
|
|
268
|
+
const l = () => t.revoke(), _ = (e) => {
|
|
269
|
+
t.save().changeMode("Edit"), t.changeMeasureType(e);
|
|
238
270
|
};
|
|
239
|
-
function
|
|
240
|
-
|
|
271
|
+
function u(e) {
|
|
272
|
+
v = e, r(4, v);
|
|
241
273
|
}
|
|
242
|
-
return
|
|
243
|
-
"measureController" in
|
|
274
|
+
return n.$$set = (e) => {
|
|
275
|
+
"measureController" in e && r(0, t = e.measureController), "showExit" in e && r(1, f = e.showExit), "i18n" in e && r(2, p = e.i18n);
|
|
244
276
|
}, [
|
|
245
|
-
|
|
277
|
+
t,
|
|
246
278
|
f,
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
a,
|
|
279
|
+
p,
|
|
280
|
+
m,
|
|
250
281
|
v,
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
282
|
+
i,
|
|
283
|
+
a,
|
|
284
|
+
l,
|
|
285
|
+
_,
|
|
286
|
+
u
|
|
254
287
|
];
|
|
255
288
|
}
|
|
256
|
-
class
|
|
257
|
-
constructor(
|
|
258
|
-
super(),
|
|
289
|
+
class qt extends Q {
|
|
290
|
+
constructor(o) {
|
|
291
|
+
super(), V(
|
|
292
|
+
this,
|
|
293
|
+
o,
|
|
294
|
+
ie,
|
|
295
|
+
re,
|
|
296
|
+
j,
|
|
297
|
+
{
|
|
298
|
+
measureController: 0,
|
|
299
|
+
showExit: 1,
|
|
300
|
+
i18n: 2
|
|
301
|
+
},
|
|
302
|
+
oe
|
|
303
|
+
);
|
|
259
304
|
}
|
|
260
305
|
}
|
|
261
306
|
export {
|
|
262
|
-
|
|
307
|
+
qt as default
|
|
263
308
|
};
|