@realsee/dnalogel 2.21.0-dev.7 → 2.21.0-dev.8
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/EditController.d.ts +11 -0
- package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Model/area.d.ts +8 -1
- package/dist/PanoMeasurePlugin/Model/polygon.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
- package/dist/index.cjs.js +34 -34
- package/dist/index.js +2536 -2483
- package/dist/index.umd.js +28 -28
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +26 -26
- package/docs/classes/PanoMeasurePluginModel.html +26 -26
- package/docs/classes/PanoMeasurePluginPoint.html +13 -13
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +46 -46
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.PointSelectorHelper.html +16 -16
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +14 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +12 -12
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/interfaces/Util.PointIntersection.html +7 -7
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PartialObjectDeep.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +131 -64
- package/libs/PanoMeasurePlugin/Components/Controller1.js +120 -115
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +11 -0
- package/libs/PanoMeasurePlugin/Controller/EditController.js +166 -129
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +13 -12
- package/libs/PanoMeasurePlugin/Controller/index.js +2 -2
- package/libs/PanoMeasurePlugin/Model/area.d.ts +8 -1
- package/libs/PanoMeasurePlugin/Model/area.js +21 -14
- package/libs/PanoMeasurePlugin/Model/polygon.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Model/polygon.js +16 -14
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +34 -24
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +14 -8
- package/libs/PanoMeasurePlugin/index.js +3 -3
- package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +3 -3
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +3 -3
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector.js +7 -7
- package/libs/shared-utils/three/PointSelectorHelper.js +7 -7
- package/package.json +1 -1
|
@@ -1,130 +1,197 @@
|
|
|
1
|
-
import { SvelteComponent as q, init as A, safe_not_equal as D, append_styles as T, binding_callbacks as W, bind as j, element as
|
|
1
|
+
import { SvelteComponent as q, init as A, safe_not_equal as D, append_styles as T, binding_callbacks as W, bind as j, element as d, create_component as C, space as _, attr as u, insert as E, mount_component as w, append as c, add_flush_callback as B, transition_in as k, transition_out as M, detach as S, destroy_component as $, onMount as F, onDestroy as G, listen as x, noop as H, run_all as J } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import K from "./Common/Switcher0.js";
|
|
3
3
|
import L from "./Common/Exit.js";
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
import N from "../Controller/EditController.js";
|
|
5
|
+
import "../Model/line.js";
|
|
6
|
+
import "../../shared-utils/uuid.js";
|
|
7
|
+
import "../utils/line.js";
|
|
8
|
+
import "@realsee/five/line";
|
|
9
|
+
import "../utils/constants.js";
|
|
10
|
+
import "three";
|
|
11
|
+
import "@realsee/five";
|
|
12
|
+
import "../utils/dom/distanceItem.js";
|
|
13
|
+
import "../utils/dom/base.js";
|
|
14
|
+
import "../utils/isNDCPointInScreen.js";
|
|
15
|
+
import "../Model/point.js";
|
|
16
|
+
import "../../shared-utils/removeArrayItem.js";
|
|
17
|
+
import "../../shared-utils/throttle.js";
|
|
18
|
+
import "../Controller/BaseController.js";
|
|
19
|
+
import "../utils/ironbox.js";
|
|
20
|
+
import "../Model/polyline.js";
|
|
21
|
+
import "../Model/area.js";
|
|
22
|
+
import "../Model/polygon.js";
|
|
23
|
+
import "../../shared-utils/three/IObject3D.js";
|
|
24
|
+
import "../utils/generatePolygonGeometry.js";
|
|
25
|
+
import "earcut";
|
|
26
|
+
import "../utils/dom/areaDom.js";
|
|
27
|
+
import "../utils/geometryUtil.js";
|
|
28
|
+
import "../../shared-utils/three/centerPoint.js";
|
|
29
|
+
import "../utils/isIntersecting.js";
|
|
30
|
+
import "../../shared-utils/three/PointSelector.js";
|
|
31
|
+
import "../../shared-utils/three/PointSelectorHelper.js";
|
|
32
|
+
import "../../shared-utils/three/Magnifier.js";
|
|
33
|
+
import "hammerjs";
|
|
34
|
+
import "../../shared-utils/three/getIntersect.js";
|
|
35
|
+
import "../../shared-utils/three/PointHelper.js";
|
|
36
|
+
import "../../shared-utils/three/Assets/index.js";
|
|
37
|
+
import "../../shared-utils/three/PointDomHelper.js";
|
|
38
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
39
|
+
import "../Modules/rangePiece/html.js";
|
|
40
|
+
import "../../CSS3DRenderPlugin/index.js";
|
|
41
|
+
import "../../CSS3DRenderPlugin/Controller.js";
|
|
42
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
43
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
44
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
45
|
+
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
46
|
+
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
47
|
+
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
48
|
+
import "../../shared-utils/Subscribe.js";
|
|
49
|
+
import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
50
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
51
|
+
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
52
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
53
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
54
|
+
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
55
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
56
|
+
import "../../shared-utils/absoluteUrl.js";
|
|
57
|
+
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
58
|
+
import "../../shared-utils/animationFrame/index.js";
|
|
59
|
+
import "../../shared-utils/isTouchDevice.js";
|
|
60
|
+
import "../../shared-utils/getIntersectionFromEvent.js";
|
|
61
|
+
import "../../shared-utils/getPointFromHammerEvent.js";
|
|
62
|
+
import "../Modules/DeleteDom/index.js";
|
|
63
|
+
import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
64
|
+
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
65
|
+
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
66
|
+
import "../utils/findAssociatedLines.js";
|
|
67
|
+
import "../utils/math.js";
|
|
68
|
+
function O(n) {
|
|
69
|
+
T(n, "svelte-y31iee", ".Measure-Controller.svelte-y31iee.svelte-y31iee{pointer-events:none}.Measure-Controller.svelte-y31iee .mode-switcher.svelte-y31iee{margin-top:2.25rem}.Measure-Controller.svelte-y31iee .bottom.svelte-y31iee{position:absolute;width:100%;bottom:2.5rem}.Measure-Controller.svelte-y31iee .bottom .center.svelte-y31iee{display:flex;flex-direction:column;align-items:center}.Measure-Controller.svelte-y31iee .buttons.svelte-y31iee{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-y31iee .buttons .button.svelte-y31iee{font-size:0.875rem;padding:0rem 1rem}");
|
|
6
70
|
}
|
|
7
|
-
function I(
|
|
8
|
-
let t,
|
|
71
|
+
function I(n) {
|
|
72
|
+
let t, o, r, l, s, a;
|
|
9
73
|
return {
|
|
10
74
|
c() {
|
|
11
|
-
t =
|
|
75
|
+
t = d("div"), o = d("div"), o.textContent = "撤销", r = _(), l = d("div"), l.textContent = "结束", u(o, "class", "button svelte-y31iee"), u(l, "class", "button svelte-y31iee"), u(t, "class", "buttons svelte-y31iee");
|
|
12
76
|
},
|
|
13
|
-
m(
|
|
14
|
-
E(
|
|
77
|
+
m(m, p) {
|
|
78
|
+
E(m, t, p), c(t, o), c(t, r), c(t, l), s || (a = [
|
|
15
79
|
x(
|
|
16
|
-
|
|
80
|
+
o,
|
|
17
81
|
"click",
|
|
18
82
|
/*click_handler*/
|
|
19
|
-
|
|
83
|
+
n[4]
|
|
20
84
|
),
|
|
21
85
|
x(
|
|
22
|
-
|
|
86
|
+
l,
|
|
23
87
|
"click",
|
|
24
|
-
/*
|
|
25
|
-
|
|
88
|
+
/*complete*/
|
|
89
|
+
n[3]
|
|
26
90
|
)
|
|
27
|
-
],
|
|
91
|
+
], s = !0);
|
|
28
92
|
},
|
|
29
93
|
p: H,
|
|
30
|
-
d(
|
|
31
|
-
|
|
94
|
+
d(m) {
|
|
95
|
+
m && S(t), s = !1, J(a);
|
|
32
96
|
}
|
|
33
97
|
};
|
|
34
98
|
}
|
|
35
|
-
function
|
|
36
|
-
let t,
|
|
37
|
-
|
|
99
|
+
function P(n) {
|
|
100
|
+
let t, o, r, l, s, a, m, p, h, f;
|
|
101
|
+
o = new L({
|
|
38
102
|
props: {
|
|
39
103
|
onClick: (
|
|
40
104
|
/*measureController*/
|
|
41
|
-
|
|
105
|
+
n[0].disable
|
|
42
106
|
)
|
|
43
107
|
}
|
|
44
108
|
});
|
|
45
109
|
let e = (
|
|
46
110
|
/*showController*/
|
|
47
|
-
|
|
111
|
+
n[2] && I(n)
|
|
48
112
|
);
|
|
49
|
-
function z(
|
|
50
|
-
|
|
113
|
+
function z(i) {
|
|
114
|
+
n[6](i);
|
|
51
115
|
}
|
|
52
116
|
let b = {
|
|
53
117
|
options: [{ key: "line", value: "测距离" }, { key: "area", value: "测面积" }],
|
|
54
118
|
onChange: (
|
|
55
119
|
/*func*/
|
|
56
|
-
|
|
120
|
+
n[5]
|
|
57
121
|
)
|
|
58
122
|
};
|
|
59
123
|
return (
|
|
60
124
|
/*setSwitcherActiveIndex*/
|
|
61
|
-
|
|
62
|
-
|
|
125
|
+
n[1] !== void 0 && (b.setIndex = /*setSwitcherActiveIndex*/
|
|
126
|
+
n[1]), p = new K({ props: b }), W.push(() => j(p, "setIndex", z)), {
|
|
63
127
|
c() {
|
|
64
|
-
t =
|
|
128
|
+
t = d("div"), C(o.$$.fragment), r = _(), l = d("div"), s = d("div"), e && e.c(), a = _(), m = d("div"), C(p.$$.fragment), u(m, "class", "mode-switcher svelte-y31iee"), u(s, "class", "center svelte-y31iee"), u(l, "class", "bottom svelte-y31iee"), u(t, "class", "Measure-Controller svelte-y31iee");
|
|
65
129
|
},
|
|
66
|
-
m(
|
|
67
|
-
E(
|
|
130
|
+
m(i, v) {
|
|
131
|
+
E(i, t, v), w(o, t, null), c(t, r), c(t, l), c(l, s), e && e.m(s, null), c(s, a), c(s, m), w(p, m, null), f = !0;
|
|
68
132
|
},
|
|
69
|
-
p(
|
|
133
|
+
p(i, [v]) {
|
|
70
134
|
const y = {};
|
|
71
|
-
|
|
135
|
+
v & /*measureController*/
|
|
72
136
|
1 && (y.onClick = /*measureController*/
|
|
73
|
-
|
|
74
|
-
|
|
137
|
+
i[0].disable), o.$set(y), /*showController*/
|
|
138
|
+
i[2] ? e ? e.p(i, v) : (e = I(i), e.c(), e.m(s, a)) : e && (e.d(1), e = null);
|
|
75
139
|
const g = {};
|
|
76
|
-
|
|
140
|
+
v & /*measureController*/
|
|
77
141
|
1 && (g.onChange = /*func*/
|
|
78
|
-
|
|
79
|
-
2 && (
|
|
80
|
-
|
|
142
|
+
i[5]), !h && v & /*setSwitcherActiveIndex*/
|
|
143
|
+
2 && (h = !0, g.setIndex = /*setSwitcherActiveIndex*/
|
|
144
|
+
i[1], B(() => h = !1)), p.$set(g);
|
|
81
145
|
},
|
|
82
|
-
i(
|
|
83
|
-
|
|
146
|
+
i(i) {
|
|
147
|
+
f || (k(o.$$.fragment, i), k(p.$$.fragment, i), f = !0);
|
|
84
148
|
},
|
|
85
|
-
o(
|
|
86
|
-
M(
|
|
149
|
+
o(i) {
|
|
150
|
+
M(o.$$.fragment, i), M(p.$$.fragment, i), f = !1;
|
|
87
151
|
},
|
|
88
|
-
d(
|
|
89
|
-
|
|
152
|
+
d(i) {
|
|
153
|
+
i && S(t), $(o), e && e.d(), $(p);
|
|
90
154
|
}
|
|
91
155
|
}
|
|
92
156
|
);
|
|
93
157
|
}
|
|
94
|
-
function
|
|
95
|
-
let { measureController:
|
|
96
|
-
function
|
|
97
|
-
e === "Edit" ?
|
|
158
|
+
function Q(n, t, o) {
|
|
159
|
+
let { measureController: r } = t, l;
|
|
160
|
+
function s(e) {
|
|
161
|
+
e === "Edit" ? o(2, m = !0) : (l(null), o(2, m = !1));
|
|
162
|
+
}
|
|
163
|
+
function a() {
|
|
164
|
+
r.controller instanceof N && r.controller.complete(), r.save({ mode: "Watch" });
|
|
98
165
|
}
|
|
99
166
|
F(() => {
|
|
100
|
-
|
|
167
|
+
r.hook.on("modeChange", s);
|
|
101
168
|
}), G(() => {
|
|
102
|
-
|
|
169
|
+
r.hook.off("modeChange", s);
|
|
103
170
|
});
|
|
104
|
-
let
|
|
105
|
-
const
|
|
106
|
-
|
|
171
|
+
let m = !1;
|
|
172
|
+
const p = () => r.revoke(), h = (e) => {
|
|
173
|
+
r.save().changeMode("Edit"), r.changeMeasureType(e);
|
|
107
174
|
};
|
|
108
|
-
function
|
|
109
|
-
|
|
175
|
+
function f(e) {
|
|
176
|
+
l = e, o(1, l);
|
|
110
177
|
}
|
|
111
|
-
return
|
|
112
|
-
"measureController" in e &&
|
|
178
|
+
return n.$$set = (e) => {
|
|
179
|
+
"measureController" in e && o(0, r = e.measureController);
|
|
113
180
|
}, [
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
d,
|
|
181
|
+
r,
|
|
182
|
+
l,
|
|
183
|
+
m,
|
|
118
184
|
a,
|
|
119
185
|
p,
|
|
120
|
-
|
|
186
|
+
h,
|
|
187
|
+
f
|
|
121
188
|
];
|
|
122
189
|
}
|
|
123
|
-
class
|
|
190
|
+
class st extends q {
|
|
124
191
|
constructor(t) {
|
|
125
|
-
super(), A(this, t,
|
|
192
|
+
super(), A(this, t, Q, P, D, { measureController: 0 }, O);
|
|
126
193
|
}
|
|
127
194
|
}
|
|
128
195
|
export {
|
|
129
|
-
|
|
196
|
+
st as default
|
|
130
197
|
};
|