@realsee/dnalogel 2.22.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/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
- package/dist/index.cjs.js +62 -66
- package/dist/index.js +5869 -5598
- package/dist/index.umd.js +55 -59
- 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 +48 -48
- 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 +8 -8
- 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/CruisePlugin/Controller.js +103 -90
- package/libs/CruisePlugin/index.js +22 -9
- package/libs/GuideLinePlugin/Components/Tag.js +58 -48
- package/libs/GuideLinePlugin/Controller.js +38 -25
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
- package/libs/GuideLinePlugin/index.js +24 -11
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
- package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
- package/libs/ItemLabelPlugin/Plugin.js +37 -26
- package/libs/ItemLabelPlugin/index.js +16 -5
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
- package/libs/ModelItemLabelPlugin/index.js +16 -5
- package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
- package/libs/ModelRoomLabelPlugin/index.js +17 -5
- package/libs/PanoDoorLabelPlugin/Controller.js +65 -55
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
- package/libs/PanoDoorLabelPlugin/index.js +14 -4
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
- package/libs/PanoMeasurePlugin/Components/Controller0.js +168 -112
- package/libs/PanoMeasurePlugin/Components/Controller1.js +244 -181
- package/libs/PanoMeasurePlugin/Components/Tip.js +83 -72
- package/libs/PanoMeasurePlugin/Controller/index.js +87 -71
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -15
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +36 -25
- package/libs/PanoMeasurePlugin/index.js +27 -16
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +91 -78
- package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
- package/libs/PanoRulerProPlugin/index.js +15 -4
- package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
- package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
- package/libs/PanoSpatialTagPlugin/Plugin.js +116 -105
- package/libs/PanoSpatialTagPlugin/index.js +13 -2
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
- package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +139 -128
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +53 -43
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
- package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +40 -30
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +88 -75
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +103 -95
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +106 -95
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +118 -103
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +131 -108
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +101 -90
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/index.js +151 -138
- package/libs/PanoTagPlugin/Components/TagContainer.js +72 -57
- package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +19 -6
- package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
- package/libs/PanoTagPlugin/controller/index.js +95 -82
- package/libs/PanoTagPlugin/index.js +26 -13
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/Components/BaseImage.js +43 -39
- package/libs/floorplan/Components/Camera.js +16 -13
- package/libs/floorplan/Components/Compass.js +27 -24
- package/libs/floorplan/Components/CurrentFloor.js +25 -20
- package/libs/floorplan/Components/Main.js +58 -49
- package/libs/floorplan/Components/Normalmage.js +25 -22
- package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
- package/libs/floorplan/Components/SvgImage.js +30 -27
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +41 -29
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +35 -23
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +52 -42
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +71 -59
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +66 -53
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +69 -57
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +67 -55
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +46 -34
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +126 -112
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
- package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
- package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
- package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
- package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
- package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
- package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
- package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
- package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
- package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
- package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
- package/libs/vendor/svelte/src/shared/version.js +4 -0
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +27 -23
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
- package/package.json +1 -1
- package/libs/vendor/svelte/internal/index.js +0 -749
- /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
- /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
|
@@ -1,12 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
1
|
+
import { safe_not_equal as ee } from "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as te, element as j, space as T, attr as w, toggle_class as D, insert as I, append as g, detach as K, text as V, set_style as W, listen as X, set_data as Y } from "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { transition_in as k, transition_out as _, check_outros as R, create_bidirectional_transition as E, group_outros as B } from "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
4
|
+
import { add_render_callback as q } from "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
5
|
+
import { onMount as oe, onDestroy as re } from "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
6
|
+
import { SvelteComponent as ie, init as le, create_component as O, mount_component as U, destroy_component as F } from "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
7
|
+
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
8
|
+
import ne from "./Common/Switcher1.js";
|
|
9
|
+
import se from "./Common/CircleButton.js";
|
|
10
|
+
import H from "../Controller/EditController.js";
|
|
11
|
+
import ae from "./Common/Exit.js";
|
|
12
|
+
import { fade as S } from "../../vendor/svelte/src/runtime/transition/index.js";
|
|
13
|
+
import { IconUndo as me, IconOk as pe } from "./Common/icons/index.js";
|
|
14
|
+
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
15
|
+
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
16
|
+
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
17
|
+
import "../../vendor/svelte/src/shared/version.js";
|
|
18
|
+
import "../../vendor/svelte/src/runtime/internal/each.js";
|
|
8
19
|
import "../Modules/UIController/mobileHTML.js";
|
|
9
|
-
import "../../vendor/svelte/easing/index.js";
|
|
20
|
+
import "../../vendor/svelte/src/runtime/easing/index.js";
|
|
10
21
|
import "../Model/line.js";
|
|
11
22
|
import "../../shared-utils/uuid.js";
|
|
12
23
|
import "../utils/line.js";
|
|
@@ -70,12 +81,12 @@ import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
|
70
81
|
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
71
82
|
import "../utils/findAssociatedLines.js";
|
|
72
83
|
import "../utils/math.js";
|
|
73
|
-
function
|
|
84
|
+
function fe(o) {
|
|
74
85
|
te(o, "svelte-ldjbp8", "*.forbid.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none !important;opacity:0.5}.Measure-Controller.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none;position:relative;width:100%;height:100%;z-index:2;color:white}.Measure-Controller.svelte-ldjbp8 .mode-switcher.svelte-ldjbp8{margin-top:2.25rem}.Measure-Controller.svelte-ldjbp8 .bottom.svelte-ldjbp8{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-ldjbp8 .bottom .mask.svelte-ldjbp8{position:absolute;bottom:0;width:100%;height:12.5rem;background-size:100%;z-index:-1;background-image:linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5))}.Measure-Controller.svelte-ldjbp8 .bottom .center.svelte-ldjbp8{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-ldjbp8 .controller.svelte-ldjbp8{pointer-events:all;display:flex;align-items:center}.Measure-Controller.svelte-ldjbp8 .controller .button.svelte-ldjbp8{cursor:pointer;display:flex;align-items:center;height:2.5rem;padding-left:1rem;padding-right:1rem;border-radius:624.9375rem;font-size:0.875rem;color:#fff;background-color:rgba(0, 0, 0, 0.2)}.Measure-Controller.svelte-ldjbp8 .controller .button .icon.svelte-ldjbp8{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin:0 0.25rem}.Measure-Controller.svelte-ldjbp8 .controller .main-button.svelte-ldjbp8{margin-left:1.75rem;margin-right:1.75rem;font-size:0.875rem;font-weight:bold}");
|
|
75
86
|
}
|
|
76
|
-
function
|
|
77
|
-
let t,
|
|
78
|
-
return t = new
|
|
87
|
+
function J(o) {
|
|
88
|
+
let t, i;
|
|
89
|
+
return t = new ae({
|
|
79
90
|
props: {
|
|
80
91
|
onClick: (
|
|
81
92
|
/*measureController*/
|
|
@@ -84,33 +95,48 @@ function G(o) {
|
|
|
84
95
|
}
|
|
85
96
|
}), {
|
|
86
97
|
c() {
|
|
87
|
-
|
|
98
|
+
O(t.$$.fragment);
|
|
88
99
|
},
|
|
89
|
-
m(e,
|
|
90
|
-
|
|
100
|
+
m(e, a) {
|
|
101
|
+
U(t, e, a), i = !0;
|
|
91
102
|
},
|
|
92
|
-
p(e,
|
|
93
|
-
const
|
|
94
|
-
|
|
95
|
-
1 && (
|
|
96
|
-
e[0].disable), t.$set(
|
|
103
|
+
p(e, a) {
|
|
104
|
+
const l = {};
|
|
105
|
+
a & /*measureController*/
|
|
106
|
+
1 && (l.onClick = /*measureController*/
|
|
107
|
+
e[0].disable), t.$set(l);
|
|
97
108
|
},
|
|
98
109
|
i(e) {
|
|
99
|
-
|
|
110
|
+
i || (k(t.$$.fragment, e), i = !0);
|
|
100
111
|
},
|
|
101
112
|
o(e) {
|
|
102
|
-
|
|
113
|
+
_(t.$$.fragment, e), i = !1;
|
|
103
114
|
},
|
|
104
115
|
d(e) {
|
|
105
|
-
|
|
116
|
+
F(t, e);
|
|
106
117
|
}
|
|
107
118
|
};
|
|
108
119
|
}
|
|
109
|
-
function
|
|
110
|
-
let t,
|
|
111
|
-
return
|
|
120
|
+
function L(o) {
|
|
121
|
+
let t, i, e, a;
|
|
122
|
+
return i = new ne({
|
|
112
123
|
props: {
|
|
113
|
-
options: [
|
|
124
|
+
options: [
|
|
125
|
+
{
|
|
126
|
+
key: "line",
|
|
127
|
+
value: (
|
|
128
|
+
/*i18n*/
|
|
129
|
+
o[2]("测距离")
|
|
130
|
+
)
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
key: "area",
|
|
134
|
+
value: (
|
|
135
|
+
/*i18n*/
|
|
136
|
+
o[2]("测面积")
|
|
137
|
+
)
|
|
138
|
+
}
|
|
139
|
+
],
|
|
114
140
|
defaultKey: (
|
|
115
141
|
/*measureController*/
|
|
116
142
|
o[0].currentMeasureType
|
|
@@ -122,274 +148,311 @@ function H(o) {
|
|
|
122
148
|
}
|
|
123
149
|
}), {
|
|
124
150
|
c() {
|
|
125
|
-
t =
|
|
151
|
+
t = j("div"), O(i.$$.fragment), w(t, "class", "mode-switcher svelte-ldjbp8");
|
|
126
152
|
},
|
|
127
|
-
m(
|
|
128
|
-
|
|
153
|
+
m(l, n) {
|
|
154
|
+
I(l, t, n), U(i, t, null), a = !0;
|
|
129
155
|
},
|
|
130
|
-
p(
|
|
131
|
-
o =
|
|
132
|
-
const
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
156
|
+
p(l, n) {
|
|
157
|
+
o = l;
|
|
158
|
+
const m = {};
|
|
159
|
+
n & /*i18n*/
|
|
160
|
+
4 && (m.options = [
|
|
161
|
+
{
|
|
162
|
+
key: "line",
|
|
163
|
+
value: (
|
|
164
|
+
/*i18n*/
|
|
165
|
+
o[2]("测距离")
|
|
166
|
+
)
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
key: "area",
|
|
170
|
+
value: (
|
|
171
|
+
/*i18n*/
|
|
172
|
+
o[2]("测面积")
|
|
173
|
+
)
|
|
174
|
+
}
|
|
175
|
+
]), n & /*measureController*/
|
|
176
|
+
1 && (m.defaultKey = /*measureController*/
|
|
177
|
+
o[0].currentMeasureType), n & /*measureController*/
|
|
178
|
+
1 && (m.onChange = /*measureController*/
|
|
179
|
+
o[0].changeMeasureType), i.$set(m);
|
|
138
180
|
},
|
|
139
|
-
i(
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}),
|
|
181
|
+
i(l) {
|
|
182
|
+
a || (k(i.$$.fragment, l), l && q(() => {
|
|
183
|
+
a && (e || (e = E(t, S, { duration: P }, !0)), e.run(1));
|
|
184
|
+
}), a = !0);
|
|
143
185
|
},
|
|
144
|
-
o(
|
|
145
|
-
|
|
186
|
+
o(l) {
|
|
187
|
+
_(i.$$.fragment, l), l && (e || (e = E(t, S, { duration: P }, !1)), e.run(0)), a = !1;
|
|
146
188
|
},
|
|
147
|
-
d(
|
|
148
|
-
|
|
189
|
+
d(l) {
|
|
190
|
+
l && K(t), F(i), l && e && e.end();
|
|
149
191
|
}
|
|
150
192
|
};
|
|
151
193
|
}
|
|
152
|
-
function
|
|
153
|
-
let t,
|
|
194
|
+
function N(o) {
|
|
195
|
+
let t, i, e, a = (
|
|
196
|
+
/*i18n*/
|
|
197
|
+
o[2]("撤销") + ""
|
|
198
|
+
), l, n, m, f, C;
|
|
154
199
|
return {
|
|
155
200
|
c() {
|
|
156
|
-
t =
|
|
157
|
-
撤销`), _(l, "class", "icon svelte-ldjbp8"), Q(l, "background-image", `url(${se})`), _(t, "class", "button svelte-ldjbp8"), R(
|
|
201
|
+
t = j("div"), i = j("div"), e = T(), l = V(a), w(i, "class", "icon svelte-ldjbp8"), W(i, "background-image", `url(${me})`), w(t, "class", "button svelte-ldjbp8"), D(
|
|
158
202
|
t,
|
|
159
203
|
"forbid",
|
|
160
204
|
/*buttonState*/
|
|
161
|
-
o[
|
|
205
|
+
o[3] === "start"
|
|
162
206
|
);
|
|
163
207
|
},
|
|
164
|
-
m(r,
|
|
165
|
-
|
|
208
|
+
m(r, c) {
|
|
209
|
+
I(r, t, c), g(t, i), g(t, e), g(t, l), m = !0, f || (C = X(
|
|
166
210
|
t,
|
|
167
211
|
"click",
|
|
168
212
|
/*click_handler*/
|
|
169
|
-
o[
|
|
170
|
-
),
|
|
213
|
+
o[13]
|
|
214
|
+
), f = !0);
|
|
171
215
|
},
|
|
172
|
-
p(r,
|
|
173
|
-
o = r, (!
|
|
174
|
-
4) &&
|
|
216
|
+
p(r, c) {
|
|
217
|
+
o = r, (!m || c & /*i18n*/
|
|
218
|
+
4) && a !== (a = /*i18n*/
|
|
219
|
+
o[2]("撤销") + "") && Y(l, a), (!m || c & /*buttonState*/
|
|
220
|
+
8) && D(
|
|
175
221
|
t,
|
|
176
222
|
"forbid",
|
|
177
223
|
/*buttonState*/
|
|
178
|
-
o[
|
|
224
|
+
o[3] === "start"
|
|
179
225
|
);
|
|
180
226
|
},
|
|
181
227
|
i(r) {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
}),
|
|
228
|
+
m || (r && q(() => {
|
|
229
|
+
m && (n || (n = E(t, S, { duration: P }, !0)), n.run(1));
|
|
230
|
+
}), m = !0);
|
|
185
231
|
},
|
|
186
232
|
o(r) {
|
|
187
|
-
r && (
|
|
233
|
+
r && (n || (n = E(t, S, { duration: P }, !1)), n.run(0)), m = !1;
|
|
188
234
|
},
|
|
189
235
|
d(r) {
|
|
190
|
-
r &&
|
|
236
|
+
r && K(t), r && n && n.end(), f = !1, C();
|
|
191
237
|
}
|
|
192
238
|
};
|
|
193
239
|
}
|
|
194
|
-
function
|
|
195
|
-
let t,
|
|
240
|
+
function Q(o) {
|
|
241
|
+
let t, i, e, a = (
|
|
242
|
+
/*i18n*/
|
|
243
|
+
o[2]("结束") + ""
|
|
244
|
+
), l, n, m, f, C;
|
|
196
245
|
return {
|
|
197
246
|
c() {
|
|
198
|
-
t =
|
|
199
|
-
结束`), _(l, "class", "icon svelte-ldjbp8"), Q(l, "background-image", `url(${ae})`), _(t, "class", "button svelte-ldjbp8");
|
|
247
|
+
t = j("div"), i = j("div"), e = T(), l = V(a), w(i, "class", "icon svelte-ldjbp8"), W(i, "background-image", `url(${pe})`), w(t, "class", "button svelte-ldjbp8");
|
|
200
248
|
},
|
|
201
|
-
m(r,
|
|
202
|
-
|
|
249
|
+
m(r, c) {
|
|
250
|
+
I(r, t, c), g(t, i), g(t, e), g(t, l), m = !0, f || (C = X(
|
|
203
251
|
t,
|
|
204
252
|
"click",
|
|
205
253
|
/*complete*/
|
|
206
|
-
o[
|
|
207
|
-
),
|
|
254
|
+
o[10]
|
|
255
|
+
), f = !0);
|
|
208
256
|
},
|
|
209
|
-
p(r,
|
|
210
|
-
o = r
|
|
257
|
+
p(r, c) {
|
|
258
|
+
o = r, (!m || c & /*i18n*/
|
|
259
|
+
4) && a !== (a = /*i18n*/
|
|
260
|
+
o[2]("结束") + "") && Y(l, a);
|
|
211
261
|
},
|
|
212
262
|
i(r) {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
}),
|
|
263
|
+
m || (r && q(() => {
|
|
264
|
+
m && (n || (n = E(t, S, { duration: P }, !0)), n.run(1));
|
|
265
|
+
}), m = !0);
|
|
216
266
|
},
|
|
217
267
|
o(r) {
|
|
218
|
-
r && (
|
|
268
|
+
r && (n || (n = E(t, S, { duration: P }, !1)), n.run(0)), m = !1;
|
|
219
269
|
},
|
|
220
270
|
d(r) {
|
|
221
|
-
r &&
|
|
271
|
+
r && K(t), r && n && n.end(), f = !1, C();
|
|
222
272
|
}
|
|
223
273
|
};
|
|
224
274
|
}
|
|
225
|
-
function
|
|
226
|
-
let t,
|
|
275
|
+
function ue(o) {
|
|
276
|
+
let t, i, e, a, l, n, m, f, C, r, c, z, M, b = (
|
|
227
277
|
/*showExit*/
|
|
228
|
-
o[1] &&
|
|
229
|
-
),
|
|
278
|
+
o[1] && J(o)
|
|
279
|
+
), p = (
|
|
230
280
|
/*measureController*/
|
|
231
281
|
o[0].allowMeasureType.length >= 2 && /*buttonState*/
|
|
232
|
-
o[
|
|
233
|
-
),
|
|
282
|
+
o[3] === "start" && L(o)
|
|
283
|
+
), u = (
|
|
234
284
|
/*showButton*/
|
|
235
|
-
o[
|
|
285
|
+
o[4] && N(o)
|
|
236
286
|
);
|
|
237
|
-
|
|
287
|
+
c = new se({
|
|
238
288
|
props: {
|
|
239
289
|
onClick: (
|
|
240
290
|
/*func*/
|
|
241
|
-
o[
|
|
291
|
+
o[14]
|
|
242
292
|
),
|
|
243
293
|
text: (
|
|
244
294
|
/*buttonTextMap*/
|
|
245
|
-
o[
|
|
295
|
+
o[6][
|
|
246
296
|
/*buttonState*/
|
|
247
|
-
o[
|
|
297
|
+
o[3]
|
|
248
298
|
]
|
|
249
299
|
),
|
|
250
300
|
color: (
|
|
251
301
|
/*buttonColorMap*/
|
|
252
|
-
o[
|
|
302
|
+
o[7][
|
|
253
303
|
/*buttonState*/
|
|
254
|
-
o[
|
|
304
|
+
o[3]
|
|
255
305
|
]
|
|
256
306
|
)
|
|
257
307
|
}
|
|
258
308
|
});
|
|
259
309
|
let d = (
|
|
260
310
|
/*showButton*/
|
|
261
|
-
o[
|
|
311
|
+
o[4] && Q(o)
|
|
262
312
|
);
|
|
263
313
|
return {
|
|
264
314
|
c() {
|
|
265
|
-
t =
|
|
266
|
-
o[
|
|
315
|
+
t = j("div"), b && b.c(), i = T(), e = j("div"), a = j("div"), l = T(), n = j("div"), p && p.c(), m = T(), f = j("div"), u && u.c(), C = T(), r = j("div"), O(c.$$.fragment), z = T(), d && d.c(), w(a, "class", "mask svelte-ldjbp8"), w(r, "class", "main-button svelte-ldjbp8"), D(r, "forbid", !/*allowAddPoint*/
|
|
316
|
+
o[5]), w(f, "class", "controller svelte-ldjbp8"), w(n, "class", "center svelte-ldjbp8"), w(e, "class", "bottom svelte-ldjbp8"), w(t, "class", "Measure-Controller svelte-ldjbp8");
|
|
267
317
|
},
|
|
268
|
-
m(s,
|
|
269
|
-
|
|
318
|
+
m(s, v) {
|
|
319
|
+
I(s, t, v), b && b.m(t, null), g(t, i), g(t, e), g(e, a), g(e, l), g(e, n), p && p.m(n, null), g(n, m), g(n, f), u && u.m(f, null), g(f, C), g(f, r), U(c, r, null), g(f, z), d && d.m(f, null), M = !0;
|
|
270
320
|
},
|
|
271
|
-
p(s, [
|
|
321
|
+
p(s, [v]) {
|
|
272
322
|
/*showExit*/
|
|
273
|
-
s[1] ?
|
|
274
|
-
2 &&
|
|
275
|
-
|
|
276
|
-
}),
|
|
323
|
+
s[1] ? b ? (b.p(s, v), v & /*showExit*/
|
|
324
|
+
2 && k(b, 1)) : (b = J(s), b.c(), k(b, 1), b.m(t, i)) : b && (B(), _(b, 1, 1, () => {
|
|
325
|
+
b = null;
|
|
326
|
+
}), R()), /*measureController*/
|
|
277
327
|
s[0].allowMeasureType.length >= 2 && /*buttonState*/
|
|
278
|
-
s[
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
}),
|
|
282
|
-
s[
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
}),
|
|
286
|
-
const
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
s[
|
|
290
|
-
|
|
291
|
-
s[5][
|
|
292
|
-
/*buttonState*/
|
|
293
|
-
s[2]
|
|
294
|
-
]), c & /*buttonState*/
|
|
295
|
-
4 && (M.color = /*buttonColorMap*/
|
|
328
|
+
s[3] === "start" ? p ? (p.p(s, v), v & /*measureController, buttonState*/
|
|
329
|
+
9 && k(p, 1)) : (p = L(s), p.c(), k(p, 1), p.m(n, m)) : p && (B(), _(p, 1, 1, () => {
|
|
330
|
+
p = null;
|
|
331
|
+
}), R()), /*showButton*/
|
|
332
|
+
s[4] ? u ? (u.p(s, v), v & /*showButton*/
|
|
333
|
+
16 && k(u, 1)) : (u = N(s), u.c(), k(u, 1), u.m(f, C)) : u && (B(), _(u, 1, 1, () => {
|
|
334
|
+
u = null;
|
|
335
|
+
}), R());
|
|
336
|
+
const y = {};
|
|
337
|
+
v & /*buttonState*/
|
|
338
|
+
8 && (y.onClick = /*func*/
|
|
339
|
+
s[14]), v & /*buttonState*/
|
|
340
|
+
8 && (y.text = /*buttonTextMap*/
|
|
296
341
|
s[6][
|
|
297
342
|
/*buttonState*/
|
|
298
|
-
s[
|
|
299
|
-
]),
|
|
300
|
-
|
|
301
|
-
s[
|
|
302
|
-
|
|
303
|
-
|
|
343
|
+
s[3]
|
|
344
|
+
]), v & /*buttonState*/
|
|
345
|
+
8 && (y.color = /*buttonColorMap*/
|
|
346
|
+
s[7][
|
|
347
|
+
/*buttonState*/
|
|
348
|
+
s[3]
|
|
349
|
+
]), c.$set(y), (!M || v & /*allowAddPoint*/
|
|
350
|
+
32) && D(r, "forbid", !/*allowAddPoint*/
|
|
351
|
+
s[5]), /*showButton*/
|
|
352
|
+
s[4] ? d ? (d.p(s, v), v & /*showButton*/
|
|
353
|
+
16 && k(d, 1)) : (d = Q(s), d.c(), k(d, 1), d.m(f, null)) : d && (B(), _(d, 1, 1, () => {
|
|
304
354
|
d = null;
|
|
305
|
-
}),
|
|
355
|
+
}), R());
|
|
306
356
|
},
|
|
307
357
|
i(s) {
|
|
308
|
-
|
|
358
|
+
M || (k(b), k(p), k(u), k(c.$$.fragment, s), k(d), M = !0);
|
|
309
359
|
},
|
|
310
360
|
o(s) {
|
|
311
|
-
|
|
361
|
+
_(b), _(p), _(u), _(c.$$.fragment, s), _(d), M = !1;
|
|
312
362
|
},
|
|
313
363
|
d(s) {
|
|
314
|
-
s &&
|
|
364
|
+
s && K(t), b && b.d(), p && p.d(), u && u.d(), F(c), d && d.d();
|
|
315
365
|
}
|
|
316
366
|
};
|
|
317
367
|
}
|
|
318
368
|
const P = 100;
|
|
319
|
-
function
|
|
320
|
-
let { measureController: e } = t, { showExit:
|
|
369
|
+
function de(o, t, i) {
|
|
370
|
+
let { measureController: e } = t, { showExit: a = !1 } = t, { i18n: l = (h) => h } = t;
|
|
321
371
|
const n = {
|
|
322
|
-
start: "开始",
|
|
323
|
-
add: "添加",
|
|
324
|
-
end: "结束",
|
|
325
|
-
complete: "完成"
|
|
326
|
-
},
|
|
372
|
+
start: l("开始"),
|
|
373
|
+
add: l("添加"),
|
|
374
|
+
end: l("结束"),
|
|
375
|
+
complete: l("完成")
|
|
376
|
+
}, m = {
|
|
327
377
|
start: "white",
|
|
328
378
|
add: "white",
|
|
329
379
|
end: "blue",
|
|
330
380
|
complete: "blue"
|
|
331
381
|
};
|
|
332
|
-
let
|
|
333
|
-
const
|
|
334
|
-
e.getCurrentMode() !== "Edit" ? e.changeMode("Edit") : (
|
|
335
|
-
},
|
|
336
|
-
e.controller instanceof
|
|
337
|
-
},
|
|
338
|
-
e.controller instanceof
|
|
339
|
-
},
|
|
340
|
-
|
|
341
|
-
},
|
|
342
|
-
|
|
343
|
-
}, f = () => {
|
|
344
|
-
a("complete");
|
|
382
|
+
let f = !1, C = !0, r = "start", c = e.currentMeasureType;
|
|
383
|
+
const z = () => {
|
|
384
|
+
e.getCurrentMode() !== "Edit" ? e.changeMode("Edit") : (p("add"), M());
|
|
385
|
+
}, M = () => {
|
|
386
|
+
e.controller instanceof H && e.controller.selectPoint();
|
|
387
|
+
}, b = () => {
|
|
388
|
+
e.controller instanceof H && e.controller.complete();
|
|
389
|
+
}, p = (h) => {
|
|
390
|
+
i(3, r = h);
|
|
391
|
+
}, u = () => {
|
|
392
|
+
M(), A("allow");
|
|
345
393
|
}, d = () => {
|
|
346
|
-
|
|
347
|
-
}, s = (
|
|
348
|
-
|
|
349
|
-
},
|
|
350
|
-
|
|
351
|
-
},
|
|
352
|
-
|
|
353
|
-
},
|
|
354
|
-
|
|
355
|
-
},
|
|
356
|
-
|
|
394
|
+
p("complete");
|
|
395
|
+
}, s = () => {
|
|
396
|
+
e.currentMeasureType === "area" && r === "complete" && p("add");
|
|
397
|
+
}, v = (h) => {
|
|
398
|
+
h.length;
|
|
399
|
+
}, y = () => {
|
|
400
|
+
p("start"), A("allow");
|
|
401
|
+
}, A = (h) => {
|
|
402
|
+
i(5, C = h === "allow");
|
|
403
|
+
}, G = (h) => {
|
|
404
|
+
i(12, c = h);
|
|
405
|
+
}, Z = (h) => {
|
|
406
|
+
h.isEmpty && p("start");
|
|
357
407
|
};
|
|
358
408
|
oe(() => {
|
|
359
|
-
e.hook.on("revoke",
|
|
409
|
+
e.hook.on("revoke", Z), e.hook.on("measureTypeChange", G), e.hook.on("modeChange", y), e.hook.on("pointsChange", v), e.hook.on("allowAddPointStateChange", A), e.hook.on("readyComplete", d), e.hook.on("notReadyComplete", s), e.hook.on("complete", y);
|
|
360
410
|
}), re(() => {
|
|
361
|
-
e.hook.off("measureTypeChange",
|
|
411
|
+
e.hook.off("measureTypeChange", G), e.hook.off("modeChange", y), e.hook.off("allowAddPointStateChange", A), e.hook.off("readyComplete", d), e.hook.off("pointsChange", v), e.hook.off("notReadyComplete", s), e.hook.off("complete", y);
|
|
362
412
|
});
|
|
363
|
-
const
|
|
364
|
-
|
|
413
|
+
const $ = () => e.revoke(), x = () => {
|
|
414
|
+
r === "start" ? z() : r === "add" ? M() : (r === "end" || r === "complete") && u();
|
|
365
415
|
};
|
|
366
|
-
return o.$$set = (
|
|
367
|
-
"measureController" in
|
|
416
|
+
return o.$$set = (h) => {
|
|
417
|
+
"measureController" in h && i(0, e = h.measureController), "showExit" in h && i(1, a = h.showExit), "i18n" in h && i(2, l = h.i18n);
|
|
368
418
|
}, o.$$.update = () => {
|
|
369
419
|
o.$$.dirty & /*currentMeasureType, buttonState*/
|
|
370
|
-
|
|
420
|
+
4104 && i(4, f = c === "area" && r !== "start");
|
|
371
421
|
}, [
|
|
372
422
|
e,
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
b,
|
|
423
|
+
a,
|
|
424
|
+
l,
|
|
376
425
|
r,
|
|
426
|
+
f,
|
|
427
|
+
C,
|
|
377
428
|
n,
|
|
378
|
-
p,
|
|
379
|
-
w,
|
|
380
|
-
y,
|
|
381
|
-
T,
|
|
382
429
|
m,
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
430
|
+
z,
|
|
431
|
+
M,
|
|
432
|
+
b,
|
|
433
|
+
u,
|
|
434
|
+
c,
|
|
435
|
+
$,
|
|
436
|
+
x
|
|
386
437
|
];
|
|
387
438
|
}
|
|
388
|
-
class
|
|
439
|
+
class Jt extends ie {
|
|
389
440
|
constructor(t) {
|
|
390
|
-
super(),
|
|
441
|
+
super(), le(
|
|
442
|
+
this,
|
|
443
|
+
t,
|
|
444
|
+
de,
|
|
445
|
+
ue,
|
|
446
|
+
ee,
|
|
447
|
+
{
|
|
448
|
+
measureController: 0,
|
|
449
|
+
showExit: 1,
|
|
450
|
+
i18n: 2
|
|
451
|
+
},
|
|
452
|
+
fe
|
|
453
|
+
);
|
|
391
454
|
}
|
|
392
455
|
}
|
|
393
456
|
export {
|
|
394
|
-
|
|
457
|
+
Jt as default
|
|
395
458
|
};
|