@realsee/dnalogel 2.21.0-dev.15 → 2.21.0-dev.16
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 +34 -34
- package/dist/index.js +599 -597
- package/dist/index.umd.js +31 -31
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/CruisePluginController.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
- package/docs/classes/Magnifier.html +3 -3
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/Object3DHelperController.html +3 -3
- package/docs/classes/PaintBrush.html +3 -3
- package/docs/classes/PanoMeasurePluginLine.html +3 -3
- package/docs/classes/PanoMeasurePluginModel.html +3 -3
- package/docs/classes/PanoMeasurePluginPoint.html +3 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
- package/docs/classes/PanoTagPluginController.html +3 -3
- package/docs/classes/Util.BetterTween.html +3 -3
- package/docs/classes/Util.Interval.html +3 -3
- package/docs/classes/Util.Magnifier.html +3 -3
- package/docs/classes/Util.PointDomHelper.html +3 -3
- package/docs/classes/Util.PointHelper.html +3 -3
- package/docs/classes/Util.PointSelectorHelper.html +3 -3
- package/docs/classes/Util.Rectangle.html +3 -3
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +3 -3
- package/docs/enums/DIRECTION.html +3 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/PaintBrushTypeEnum.html +3 -3
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- 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 +3 -3
- 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 +3 -3
- package/docs/functions/Util.getCoordsFromClient.html +3 -3
- package/docs/functions/Util.getCoordsFromElement.html +3 -3
- package/docs/functions/Util.getFrameTime.html +3 -3
- package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
- package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
- package/docs/functions/Util.isAbsoluteURL.html +3 -3
- package/docs/functions/Util.isModelLike.html +3 -3
- package/docs/functions/Util.isNil.html +3 -3
- package/docs/functions/Util.isPanoramaLike.html +3 -3
- package/docs/functions/Util.nextFrame.html +3 -3
- package/docs/functions/Util.notNil.html +3 -3
- package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
- package/docs/functions/Util.tweenProgress.html +3 -3
- package/docs/functions/Util.uuid.html +3 -3
- package/docs/functions/pluginFlag.html +3 -3
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
- package/docs/interfaces/EventMap.html +3 -3
- package/docs/interfaces/FloorplanBounding.html +3 -3
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +3 -3
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +3 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +3 -3
- package/docs/interfaces/FloorplanServerComputedData.html +3 -3
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
- package/docs/interfaces/FloorplanServerEntrance.html +3 -3
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
- package/docs/interfaces/HelperOffset.html +3 -3
- package/docs/interfaces/ImagePlaneGroup.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +3 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/MinMax.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
- package/docs/interfaces/ModelViewPluginExportType.html +3 -3
- package/docs/interfaces/Object3DHelperState.html +3 -3
- package/docs/interfaces/ObjectHelperControllers.html +3 -3
- package/docs/interfaces/PaintBrushAction.html +3 -3
- package/docs/interfaces/PaintBrushConfigs.html +3 -3
- package/docs/interfaces/PaintBrushState.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
- package/docs/interfaces/PanoMeasureParameterType.html +3 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginState.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
- package/docs/interfaces/Point.html +3 -3
- package/docs/interfaces/Room.html +3 -3
- package/docs/interfaces/RoomInfo.html +3 -3
- package/docs/interfaces/RoomLabel.html +3 -3
- package/docs/interfaces/RoomRules.html +3 -3
- package/docs/interfaces/Rooms.html +3 -3
- package/docs/interfaces/Scissor.html +3 -3
- package/docs/interfaces/State.html +3 -3
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
- package/docs/interfaces/TagIconUrl.html +3 -3
- package/docs/interfaces/TagObjectGroup.html +3 -3
- package/docs/interfaces/TagStyle.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/interfaces/TemporaryState.html +3 -3
- package/docs/interfaces/Util.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
- package/docs/interfaces/Util.PointIntersection.html +3 -3
- package/docs/modules/CruisePluginTypes.html +3 -3
- package/docs/modules/GuideLineItem.html +3 -3
- package/docs/modules/GuideLineModeItem.html +3 -3
- package/docs/modules/GuideLinePluginType.html +3 -3
- package/docs/modules/PanoVideoPluginType.html +3 -3
- package/docs/modules/Util.html +3 -3
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +3 -3
- package/docs/types/AudioAppearance.html +3 -3
- package/docs/types/AudioTagTypeConfigKey.html +3 -3
- package/docs/types/CSS3DRenderExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
- package/docs/types/ClassFunctionParameters.html +3 -3
- package/docs/types/Color.html +3 -3
- package/docs/types/ContentTypeConfigKey.html +3 -3
- package/docs/types/ContentTypeConfigKeySplit.html +3 -3
- package/docs/types/ContentTypeMap.html +3 -3
- package/docs/types/Create3DDomContainerReturnType.html +3 -3
- package/docs/types/Create3DElementReturnType.html +3 -3
- package/docs/types/CruisePluginExportType.html +3 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
- package/docs/types/DeprecatedTagProperty.html +3 -3
- package/docs/types/Direction-1.html +3 -3
- package/docs/types/Direction4.html +3 -3
- package/docs/types/ElementRenderer.html +3 -3
- package/docs/types/FloorplanRuleLabels.html +3 -3
- package/docs/types/FloorplanServerRuleLabels.html +3 -3
- package/docs/types/GuideLinePluginExportType.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
- package/docs/types/GuideLinePluginType.PathItem.html +3 -3
- package/docs/types/GuideLinePluginType.PluginData.html +3 -3
- package/docs/types/HelperEventMap.html +3 -3
- package/docs/types/LoadTagConfig.html +3 -3
- package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/MediaData.html +3 -3
- package/docs/types/MediaStore.html +3 -3
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
- package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
- package/docs/types/MoveArgs.html +3 -3
- package/docs/types/MoveOpts.html +3 -3
- package/docs/types/Object3DHelperEventMap.html +3 -3
- package/docs/types/ObjectFit.html +3 -3
- package/docs/types/PaintBrushEventMap.html +3 -3
- package/docs/types/PanoCompassPluginData.html +3 -3
- package/docs/types/PanoCompassPluginExportType.html +3 -3
- package/docs/types/PanoCompassPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
- package/docs/types/PanoIndex.html +3 -3
- package/docs/types/PanoMeasurePluginEvent.html +3 -3
- package/docs/types/PanoMeasureReturnType.html +3 -3
- package/docs/types/PanoSpatialTagPluginId.html +3 -3
- package/docs/types/PanoTagPluginExportInterface.html +3 -3
- package/docs/types/PanoTagPluginParamsInterface.html +3 -3
- package/docs/types/PanoVideoPluginParameterType.html +3 -3
- package/docs/types/PanoVideoPluginReturnType.html +3 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
- package/docs/types/PlaneTag.html +3 -3
- package/docs/types/Point2DTag.html +3 -3
- package/docs/types/Point3DTag.html +3 -3
- package/docs/types/PointTag.html +3 -3
- package/docs/types/PointTagInstance.html +3 -3
- package/docs/types/Position.html +3 -3
- package/docs/types/RotateArgs.html +3 -3
- package/docs/types/RotateOpts.html +3 -3
- package/docs/types/RuleLabelsKey.html +3 -3
- package/docs/types/RuleLabelsValue.html +3 -3
- package/docs/types/StickType.html +3 -3
- package/docs/types/Tag.html +3 -3
- package/docs/types/Tag2D.html +3 -3
- package/docs/types/Tag3D.html +3 -3
- package/docs/types/TagContentType.html +3 -3
- package/docs/types/TagDimensionType.html +3 -3
- package/docs/types/TagElement.html +3 -3
- package/docs/types/TagEvents.html +3 -3
- package/docs/types/TagGLTFObject.html +3 -3
- package/docs/types/TagHooks.html +3 -3
- package/docs/types/TagId.html +3 -3
- package/docs/types/TagInstance.html +3 -3
- package/docs/types/TagPointType.html +3 -3
- package/docs/types/TagRendererMap.html +3 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/WorkCode.html +3 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
- package/docs/variables/PLUGIN.html +3 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
- package/docs/variables/ROOM_TYPE_MAP.html +3 -3
- package/docs/variables/itemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
- package/libs/PanoMeasurePlugin/Components/Controller0.js +83 -83
- package/libs/PanoMeasurePlugin/Components/Controller1.js +103 -103
- package/libs/PanoMeasurePlugin/Components/Tip.js +63 -63
- package/libs/PanoMeasurePlugin/Controller/EditController.js +73 -71
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
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
|
|
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 C, create_component as q, attr as g, insert as D, append as p, mount_component as L, transition_in as _, transition_out as w, 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
3
|
import V from "./Common/Exit.js";
|
|
4
4
|
import X from "../Controller/EditController.js";
|
|
@@ -66,89 +66,89 @@ 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 te(
|
|
70
|
-
W(
|
|
69
|
+
function te(i) {
|
|
70
|
+
W(i, "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}');
|
|
71
71
|
}
|
|
72
|
-
function S(
|
|
72
|
+
function S(i) {
|
|
73
73
|
let t, o;
|
|
74
74
|
return t = new V({
|
|
75
75
|
props: {
|
|
76
76
|
onClick: (
|
|
77
77
|
/*measureController*/
|
|
78
|
-
|
|
78
|
+
i[0].disable
|
|
79
79
|
)
|
|
80
80
|
}
|
|
81
81
|
}), {
|
|
82
82
|
c() {
|
|
83
83
|
q(t.$$.fragment);
|
|
84
84
|
},
|
|
85
|
-
m(e,
|
|
86
|
-
L(t, e,
|
|
85
|
+
m(e, f) {
|
|
86
|
+
L(t, e, f), o = !0;
|
|
87
87
|
},
|
|
88
|
-
p(e,
|
|
89
|
-
const
|
|
90
|
-
|
|
91
|
-
1 && (
|
|
92
|
-
e[0].disable), t.$set(
|
|
88
|
+
p(e, f) {
|
|
89
|
+
const c = {};
|
|
90
|
+
f & /*measureController*/
|
|
91
|
+
1 && (c.onClick = /*measureController*/
|
|
92
|
+
e[0].disable), t.$set(c);
|
|
93
93
|
},
|
|
94
94
|
i(e) {
|
|
95
|
-
o || (
|
|
95
|
+
o || (_(t.$$.fragment, e), o = !0);
|
|
96
96
|
},
|
|
97
97
|
o(e) {
|
|
98
|
-
|
|
98
|
+
w(t.$$.fragment, e), o = !1;
|
|
99
99
|
},
|
|
100
100
|
d(e) {
|
|
101
101
|
P(t, e);
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
function A(
|
|
106
|
-
let t, o, e,
|
|
105
|
+
function A(i) {
|
|
106
|
+
let t, o, e, f, c, n, u, v, d, b;
|
|
107
107
|
return {
|
|
108
108
|
c() {
|
|
109
|
-
t = h("div"), o = h("div"), e = h("div"),
|
|
110
|
-
撤销`),
|
|
111
|
-
结束`), g(e, "class", "icon svelte-
|
|
112
|
-
|
|
109
|
+
t = h("div"), o = h("div"), e = h("div"), f = y(`
|
|
110
|
+
撤销`), c = C(), n = h("div"), u = h("div"), v = y(`
|
|
111
|
+
结束`), g(e, "class", "icon svelte-468fdd"), x(e, "background-image", `url(${$})`), g(o, "class", "button svelte-468fdd"), E(o, "forbid", !/*canRevoke*/
|
|
112
|
+
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");
|
|
113
113
|
},
|
|
114
|
-
m(
|
|
115
|
-
D(
|
|
114
|
+
m(a, r) {
|
|
115
|
+
D(a, t, r), p(t, o), p(o, e), p(o, f), p(t, c), p(t, n), p(n, u), p(n, v), d || (b = [
|
|
116
116
|
z(
|
|
117
117
|
o,
|
|
118
118
|
"click",
|
|
119
119
|
/*click_handler*/
|
|
120
|
-
|
|
120
|
+
i[6]
|
|
121
121
|
),
|
|
122
122
|
z(
|
|
123
|
-
|
|
123
|
+
n,
|
|
124
124
|
"click",
|
|
125
125
|
/*complete*/
|
|
126
|
-
|
|
126
|
+
i[5]
|
|
127
127
|
)
|
|
128
|
-
],
|
|
128
|
+
], d = !0);
|
|
129
129
|
},
|
|
130
|
-
p(
|
|
131
|
-
|
|
130
|
+
p(a, r) {
|
|
131
|
+
r & /*canRevoke*/
|
|
132
132
|
4 && E(o, "forbid", !/*canRevoke*/
|
|
133
|
-
|
|
133
|
+
a[2]);
|
|
134
134
|
},
|
|
135
|
-
d(
|
|
136
|
-
|
|
135
|
+
d(a) {
|
|
136
|
+
a && O(t), d = !1, K(b);
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
|
-
function oe(
|
|
141
|
-
let t, o, e,
|
|
140
|
+
function oe(i) {
|
|
141
|
+
let t, o, e, f, c, n, u, v, d, b, a, r = (
|
|
142
142
|
/*showExit*/
|
|
143
|
-
|
|
143
|
+
i[1] && S(i)
|
|
144
144
|
), s = (
|
|
145
145
|
/*showController*/
|
|
146
|
-
|
|
146
|
+
i[4] && A(i)
|
|
147
147
|
);
|
|
148
|
-
function M(
|
|
149
|
-
|
|
148
|
+
function M(l) {
|
|
149
|
+
i[8](l);
|
|
150
150
|
}
|
|
151
|
-
let
|
|
151
|
+
let m = {
|
|
152
152
|
options: [
|
|
153
153
|
{
|
|
154
154
|
key: "line",
|
|
@@ -163,90 +163,90 @@ function oe(r) {
|
|
|
163
163
|
],
|
|
164
164
|
onChange: (
|
|
165
165
|
/*func*/
|
|
166
|
-
|
|
166
|
+
i[7]
|
|
167
167
|
)
|
|
168
168
|
};
|
|
169
169
|
return (
|
|
170
170
|
/*setSwitcherActiveIndex*/
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
i[3] !== void 0 && (m.setIndex = /*setSwitcherActiveIndex*/
|
|
172
|
+
i[3]), d = new Q({ props: m }), j.push(() => B(d, "setIndex", M)), {
|
|
173
173
|
c() {
|
|
174
|
-
t = h("div"),
|
|
174
|
+
t = h("div"), r && r.c(), o = C(), e = h("div"), f = h("div"), c = C(), n = h("div"), s && s.c(), u = C(), v = h("div"), q(d.$$.fragment), g(f, "class", "mask svelte-468fdd"), g(v, "class", "mode-switcher svelte-468fdd"), g(n, "class", "center svelte-468fdd"), g(e, "class", "bottom svelte-468fdd"), g(t, "class", "Measure-Controller svelte-468fdd");
|
|
175
175
|
},
|
|
176
|
-
m(
|
|
177
|
-
D(
|
|
176
|
+
m(l, k) {
|
|
177
|
+
D(l, t, k), r && r.m(t, null), p(t, o), p(t, e), p(e, f), p(e, c), p(e, n), s && s.m(n, null), p(n, u), p(n, v), L(d, v, null), a = !0;
|
|
178
178
|
},
|
|
179
|
-
p(
|
|
179
|
+
p(l, [k]) {
|
|
180
180
|
/*showExit*/
|
|
181
|
-
|
|
182
|
-
2 &&
|
|
183
|
-
|
|
181
|
+
l[1] ? r ? (r.p(l, k), k & /*showExit*/
|
|
182
|
+
2 && _(r, 1)) : (r = S(l), r.c(), _(r, 1), r.m(t, o)) : r && (N(), w(r, 1, 1, () => {
|
|
183
|
+
r = null;
|
|
184
184
|
}), F()), /*showController*/
|
|
185
|
-
|
|
185
|
+
l[4] ? s ? s.p(l, k) : (s = A(l), s.c(), s.m(n, u)) : s && (s.d(1), s = null);
|
|
186
186
|
const I = {};
|
|
187
|
-
|
|
187
|
+
k & /*measureController*/
|
|
188
188
|
1 && (I.onChange = /*func*/
|
|
189
|
-
|
|
190
|
-
8 && (
|
|
191
|
-
|
|
189
|
+
l[7]), !b && k & /*setSwitcherActiveIndex*/
|
|
190
|
+
8 && (b = !0, I.setIndex = /*setSwitcherActiveIndex*/
|
|
191
|
+
l[3], G(() => b = !1)), d.$set(I);
|
|
192
192
|
},
|
|
193
|
-
i(
|
|
194
|
-
|
|
193
|
+
i(l) {
|
|
194
|
+
a || (_(r), _(d.$$.fragment, l), a = !0);
|
|
195
195
|
},
|
|
196
|
-
o(
|
|
197
|
-
|
|
196
|
+
o(l) {
|
|
197
|
+
w(r), w(d.$$.fragment, l), a = !1;
|
|
198
198
|
},
|
|
199
|
-
d(
|
|
200
|
-
|
|
199
|
+
d(l) {
|
|
200
|
+
l && O(t), r && r.d(), s && s.d(), P(d);
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
);
|
|
204
204
|
}
|
|
205
|
-
function
|
|
206
|
-
let { measureController: e } = t, { showExit:
|
|
207
|
-
function
|
|
208
|
-
|
|
205
|
+
function re(i, t, o) {
|
|
206
|
+
let { measureController: e } = t, { showExit: f = !1 } = t, c = !1, n;
|
|
207
|
+
function u(m) {
|
|
208
|
+
m === "Edit" ? o(4, a = !0) : (n(null), o(4, a = !1));
|
|
209
209
|
}
|
|
210
210
|
function v() {
|
|
211
211
|
e.controller instanceof X && e.controller.complete(), e.save({ mode: "Watch" });
|
|
212
212
|
}
|
|
213
|
-
function m
|
|
214
|
-
o(2,
|
|
213
|
+
function d(m) {
|
|
214
|
+
o(2, c = m.length > 0);
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
o(2,
|
|
216
|
+
function b() {
|
|
217
|
+
o(2, c = !1);
|
|
218
218
|
}
|
|
219
219
|
H(() => {
|
|
220
|
-
e.hook.on("modeChange",
|
|
220
|
+
e.hook.on("modeChange", u), e.hook.on("complete", b), e.hook.on("pointsChange", d);
|
|
221
221
|
}), J(() => {
|
|
222
|
-
e.hook.off("modeChange",
|
|
222
|
+
e.hook.off("modeChange", u), e.hook.off("complete", b), e.hook.off("pointsChange", d);
|
|
223
223
|
});
|
|
224
|
-
let
|
|
225
|
-
const
|
|
226
|
-
e.save().changeMode("Edit"), e.changeMeasureType(
|
|
224
|
+
let a = !1;
|
|
225
|
+
const r = () => e.revoke(), s = (m) => {
|
|
226
|
+
e.save().changeMode("Edit"), e.changeMeasureType(m);
|
|
227
227
|
};
|
|
228
|
-
function M(
|
|
229
|
-
|
|
228
|
+
function M(m) {
|
|
229
|
+
n = m, o(3, n);
|
|
230
230
|
}
|
|
231
|
-
return
|
|
232
|
-
"measureController" in
|
|
231
|
+
return i.$$set = (m) => {
|
|
232
|
+
"measureController" in m && o(0, e = m.measureController), "showExit" in m && o(1, f = m.showExit);
|
|
233
233
|
}, [
|
|
234
234
|
e,
|
|
235
|
+
f,
|
|
235
236
|
c,
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
p,
|
|
237
|
+
n,
|
|
238
|
+
a,
|
|
239
239
|
v,
|
|
240
|
-
|
|
240
|
+
r,
|
|
241
241
|
s,
|
|
242
242
|
M
|
|
243
243
|
];
|
|
244
244
|
}
|
|
245
|
-
class
|
|
245
|
+
class bt extends R {
|
|
246
246
|
constructor(t) {
|
|
247
|
-
super(), T(this, t,
|
|
247
|
+
super(), T(this, t, re, oe, U, { measureController: 0, showExit: 1 }, te);
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
250
|
export {
|
|
251
|
-
|
|
251
|
+
bt as default
|
|
252
252
|
};
|