@realsee/dnalogel 3.36.6 → 3.36.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/CHANGELOG.md +6 -0
- package/dist/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/dist/Object3DHelperPlugin/FiveControllerWrapper.d.ts +2 -1
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +5 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +6 -3
- package/dist/PanoMeasurePlugin/Model/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +2 -1
- package/dist/base/BasePlugin.d.ts +2 -1
- package/dist/index.cjs.js +38 -38
- package/dist/index.js +2144 -2136
- package/dist/index.umd.js +38 -38
- package/dist/shared-utils/three/Magnifier.d.ts +1 -1
- package/dist/shared-utils/three/PointSelectorHelper.d.ts +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +13 -13
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
- package/docs/classes/ModelMakerPluginInstance.html +14 -14
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/MoveController.html +14 -14
- package/docs/classes/Object3DHelperController.html +14 -14
- 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 +13 -13
- package/docs/classes/Sculpt.html +3 -3
- package/docs/classes/Util.BetterTween.html +3 -3
- package/docs/classes/Util.Interval.html +3 -3
- package/docs/classes/Util.LineSegments.html +3 -3
- package/docs/classes/Util.Magnifier.html +3 -3
- package/docs/classes/Util.Object3D.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/classes/WalkController.html +14 -14
- 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/AreaMakerPlugin.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/CurrentPanoImagePlugin.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/ModelMakerPlugin.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/MovePlugin.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/PipelinePlugin.html +3 -3
- package/docs/functions/SculptPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +3 -3
- package/docs/functions/Util.blink.html +3 -3
- package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
- package/docs/functions/Util.equal.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.reblink.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/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +3 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +5 -5
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +5 -5
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.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/CurrentPanoImagePluginType.Config.html +5 -5
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +5 -5
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
- package/docs/interfaces/EventMap.html +5 -5
- 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 +5 -5
- 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.GuideLineMeshStyle.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/ModelMakerPluginType.EventMap.html +5 -5
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.State.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 +12 -12
- 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 +5 -5
- 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.BlinkAnimeOptions.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/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +3 -3
- package/docs/modules/CruisePluginTypes.html +3 -3
- package/docs/modules/CurrentPanoImagePluginType.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/ModelMakerPluginType.html +3 -3
- package/docs/modules/PanoVideoPluginType.html +3 -3
- package/docs/modules/SculptData.html +3 -3
- package/docs/modules/Util.html +3 -3
- package/docs/modules.html +4 -4
- package/docs/types/AddObject3DHelperConfig.html +3 -3
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
- package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
- package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
- package/docs/types/ArrayPosition.html +3 -3
- package/docs/types/AudioAppearance.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/CurrentPanoImagePluginExportType.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/InternalHelperEventMap.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/ModelId.html +3 -3
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
- package/docs/types/ModelMakerPluginType.ItemType.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/PipelinePluginParameterType.html +3 -3
- package/docs/types/PipelinePluginReturnType.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/PositionFrom.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/ScaleCallback.html +3 -3
- package/docs/types/ScalePosition.html +3 -3
- package/docs/types/SculptData.BoxData.html +3 -3
- package/docs/types/SculptData.CircleData.html +3 -3
- package/docs/types/SculptData.CylinderData.html +3 -3
- package/docs/types/SculptData.PointData.html +3 -3
- package/docs/types/SculptData.PolygonData.html +3 -3
- package/docs/types/SculptData.PolylineData.html +3 -3
- package/docs/types/SculptData.PrismData.html +3 -3
- package/docs/types/SculptData.RectangleData.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/TagConfigByKey.html +3 -3
- package/docs/types/TagContentType.html +3 -3
- package/docs/types/TagContentTypeMapping.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/defaultGlobalConfig.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/AreaMakerPlugin/Controller.js +2 -3
- package/libs/AreaMakerPlugin/index.js +2 -3
- package/libs/AreaMakerPlugin/utils/Item.js +14 -15
- package/libs/CSS3DRenderPlugin/Controller.js +2 -3
- package/libs/CSS3DRenderPlugin/index.js +5 -6
- package/libs/CruisePlugin/BaseController.js +4 -5
- package/libs/CruisePlugin/Move.js +1 -1
- package/libs/CruisePlugin/Work.js +1 -1
- package/libs/CruisePlugin/index.js +1 -1
- package/libs/CurrentPanoImagePlugin/Controller.js +10 -11
- package/libs/CurrentPanoImagePlugin/index.js +3 -4
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/GuideLineItem/index.js +8 -8
- package/libs/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.js +2 -2
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +2 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/ModelMakerPlugin/Controller.js +2 -3
- package/libs/ModelMakerPlugin/index.js +2 -3
- package/libs/ModelTVVideoPlugin/Plugin.js +3 -4
- package/libs/ModelTVVideoPlugin/index.js +2 -3
- package/libs/Object3DHelperPlugin/Controller.js +3 -4
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +2 -1
- package/libs/Object3DHelperPlugin/index.js +5 -6
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +5 -1
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +7 -6
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +4 -3
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +6 -3
- package/libs/PanoMeasurePlugin/Controller/index.js +57 -50
- package/libs/PanoMeasurePlugin/Model/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/index.js +7 -6
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -2
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +2 -1
- package/libs/PanoMeasurePlugin/index.js +18 -14
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +2 -3
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +21 -21
- package/libs/PanoRulerPlugin/Plugin.js +159 -155
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +2 -3
- package/libs/PanoTagPlugin/Components/Tag/index.js +2 -3
- package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
- package/libs/PanoTagPlugin/Components/TagItem.js +2 -3
- package/libs/PanoTagPlugin/controller/TagCache.js +2 -3
- package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
- package/libs/PanoVideoPlugin/Controller.js +2 -3
- package/libs/PanoVideoPlugin/VideoMeshController.js +2 -3
- package/libs/PanoVideoPlugin/index.js +5 -6
- package/libs/PipelinePlugin/Controller.js +22 -23
- package/libs/PipelinePlugin/index.js +3 -4
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +2 -3
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +2 -3
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +0 -1
- package/libs/Sculpt/Meshes/Box.js +2 -3
- package/libs/Sculpt/Meshes/Cylinder.js +2 -3
- package/libs/Sculpt/Meshes/Line.js +2 -3
- package/libs/Sculpt/Meshes/LineWithDots.js +2 -3
- package/libs/Sculpt/Meshes/Point.js +2 -3
- package/libs/Sculpt/Meshes/Polyline.js +4 -5
- package/libs/Sculpt/Meshes/Prism.js +10 -11
- package/libs/Sculpt/Meshes/Rectangle.js +2 -3
- package/libs/Sculpt/Objects/Polyline/Editor.js +10 -11
- package/libs/Sculpt/index.js +13 -14
- package/libs/Sculpt/utils/three/ColoredMesh.js +6 -7
- package/libs/base/BasePlugin.d.ts +2 -1
- package/libs/base/BasePlugin.js +3 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +2 -3
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +3 -4
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +2 -3
- package/libs/floorplan/ModelFloorplanPlugin/index.js +3 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +2 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +3 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +2 -3
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +3 -4
- package/libs/floorplan/index.js +0 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.js +13 -13
- package/libs/shared-utils/three/Magnifier.d.ts +1 -1
- package/libs/shared-utils/three/Magnifier.js +1 -1
- package/libs/shared-utils/three/PointDomHelper.js +2 -3
- package/libs/shared-utils/three/PointSelectorHelper.d.ts +1 -1
- package/libs/shared-utils/three/PointSelectorHelper.js +6 -6
- package/libs/shared-utils/three/index.js +0 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./GuideLineModeItem/index.js";
|
|
2
2
|
import "../shared-utils/log.js";
|
|
3
3
|
import "../shared-utils/to.js";
|
|
4
|
-
import "@realsee/five";
|
|
5
4
|
import "../shared-utils/five/changeMode.js";
|
|
6
5
|
import "../CruisePlugin/Move.js";
|
|
7
6
|
import "../CruisePlugin/Work.js";
|
|
7
|
+
import "../shared-utils/Subscribe.js";
|
|
8
8
|
import { GuideLineItem as ho } from "./GuideLineItem/index.js";
|
|
9
9
|
import "three";
|
|
10
10
|
import "./utils/createLineGeometry.js";
|
|
@@ -26,7 +26,6 @@ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
|
26
26
|
import "../shared-utils/util.js";
|
|
27
27
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
28
28
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
29
|
-
import "../shared-utils/Subscribe.js";
|
|
30
29
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
31
30
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
32
31
|
import "../shared-utils/three/centerPoint.js";
|
|
@@ -40,6 +39,7 @@ import "../shared-utils/animationFrame/BetterTween.js";
|
|
|
40
39
|
import "../shared-utils/animationFrame/index.js";
|
|
41
40
|
import "../shared-utils/three/loadTexture.js";
|
|
42
41
|
import "../PanoTagPlugin/controller/index.js";
|
|
42
|
+
import "@realsee/five";
|
|
43
43
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
44
44
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
45
45
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
@@ -16,7 +16,6 @@ import { logWarning as L, logError as S } from "../../shared-utils/log.js";
|
|
|
16
16
|
import { createLineGeometry as O } from "../utils/createLineGeometry.js";
|
|
17
17
|
import { isPanoramaLike as _, isModelLike as M } from "../../shared-utils/five/mode.js";
|
|
18
18
|
import "hammerjs";
|
|
19
|
-
import "@realsee/five";
|
|
20
19
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
21
20
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
22
21
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -495,11 +494,11 @@ class H {
|
|
|
495
494
|
function b(l) {
|
|
496
495
|
return l.contentType === "Custom";
|
|
497
496
|
}
|
|
498
|
-
const
|
|
497
|
+
const ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
499
498
|
__proto__: null,
|
|
500
499
|
GuideLineModeItem: H
|
|
501
500
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
502
501
|
export {
|
|
503
502
|
H as GuideLineModeItem,
|
|
504
|
-
|
|
503
|
+
ae as GuideLineModeItem$1
|
|
505
504
|
};
|
|
@@ -3,7 +3,6 @@ import "../shared-utils/log.js";
|
|
|
3
3
|
import "./utils/createLineGeometry.js";
|
|
4
4
|
import "../shared-utils/five/mode.js";
|
|
5
5
|
import "hammerjs";
|
|
6
|
-
import "@realsee/five";
|
|
7
6
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
8
7
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
9
8
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -38,6 +37,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
38
37
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
39
38
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
40
39
|
import "../shared-utils/animationFrame/index.js";
|
|
40
|
+
import "@realsee/five";
|
|
41
41
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
42
42
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
43
43
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
@@ -6,7 +6,6 @@ import "../base/BasePlugin.js";
|
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
7
7
|
import "hammerjs";
|
|
8
8
|
import "three";
|
|
9
|
-
import "@realsee/five";
|
|
10
9
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
11
10
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
12
11
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -58,6 +57,7 @@ import "../shared-utils/animationFrame/BetterTween.js";
|
|
|
58
57
|
import "../shared-utils/animationFrame/index.js";
|
|
59
58
|
import "../shared-utils/three/loadTexture.js";
|
|
60
59
|
import "../PanoTagPlugin/controller/index.js";
|
|
60
|
+
import "@realsee/five";
|
|
61
61
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
62
62
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
63
63
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
@@ -24,7 +24,6 @@ import { PrismMesh as R } from "../Sculpt/Meshes/Prism.js";
|
|
|
24
24
|
import { anyPositionToVector3 as I } from "../shared-utils/positionToVector3.js";
|
|
25
25
|
import { PolygonWithEdgeMesh as A } from "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
26
26
|
import "hammerjs";
|
|
27
|
-
import "@realsee/five";
|
|
28
27
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
29
28
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
30
29
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -78,7 +77,7 @@ import "../shared-utils/tag.js";
|
|
|
78
77
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
79
78
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
80
79
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
81
|
-
class
|
|
80
|
+
class Se extends C {
|
|
82
81
|
constructor(e, o) {
|
|
83
82
|
super(e);
|
|
84
83
|
s(this, "state");
|
|
@@ -210,5 +209,5 @@ class Ue extends C {
|
|
|
210
209
|
}
|
|
211
210
|
}
|
|
212
211
|
export {
|
|
213
|
-
|
|
212
|
+
Se as Controller
|
|
214
213
|
};
|
|
@@ -4,7 +4,6 @@ import "../base/BasePlugin.js";
|
|
|
4
4
|
import "../shared-utils/Subscribe.js";
|
|
5
5
|
import "hammerjs";
|
|
6
6
|
import "three";
|
|
7
|
-
import "@realsee/five";
|
|
8
7
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
9
8
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
10
9
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -60,7 +59,7 @@ import "../vendor/svelte/internal/index.js";
|
|
|
60
59
|
import "../components/AreaLabel/LabelItem.js";
|
|
61
60
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
62
61
|
import "./item/prismItem.js";
|
|
63
|
-
const
|
|
62
|
+
const Mo = (...o) => new r(...o);
|
|
64
63
|
export {
|
|
65
|
-
|
|
64
|
+
Mo as ModelMakerPlugin
|
|
66
65
|
};
|
|
@@ -37,12 +37,11 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
37
37
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
38
38
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
39
39
|
import "hammerjs";
|
|
40
|
-
import "@realsee/five";
|
|
41
40
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
42
41
|
import "animejs";
|
|
43
42
|
import "../shared-utils/url/absoluteUrl.js";
|
|
44
43
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
45
|
-
const
|
|
44
|
+
const de = (s, { videoElement: g }) => {
|
|
46
45
|
const e = {
|
|
47
46
|
videoMeshes: [],
|
|
48
47
|
videoTextureEnabled: !1,
|
|
@@ -185,6 +184,6 @@ const ce = (s, { videoElement: g }) => {
|
|
|
185
184
|
}), { enable: h, disable: m, load: L, dispose: V, state: e, css3DRenderPlugin: f };
|
|
186
185
|
};
|
|
187
186
|
export {
|
|
188
|
-
|
|
189
|
-
|
|
187
|
+
de as ModelTVVideoPlugin,
|
|
188
|
+
de as default
|
|
190
189
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelTVVideoPlugin as r } from "./Plugin.js";
|
|
2
|
-
import { DIRECTION as
|
|
2
|
+
import { DIRECTION as j } from "./typings.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import "./utils/parseData.js";
|
|
5
5
|
import "../CSS3DRenderPlugin/index.js";
|
|
@@ -21,14 +21,13 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
23
23
|
import "hammerjs";
|
|
24
|
-
import "@realsee/five";
|
|
25
24
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
26
25
|
import "animejs";
|
|
27
26
|
import "../shared-utils/url/absoluteUrl.js";
|
|
28
27
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
29
28
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
30
29
|
export {
|
|
31
|
-
|
|
30
|
+
j as DIRECTION,
|
|
32
31
|
r as ModelTVVideoPlugin,
|
|
33
32
|
r as default
|
|
34
33
|
};
|
|
@@ -26,7 +26,6 @@ var g = (l, o, e) => new Promise((t, r) => {
|
|
|
26
26
|
}, b = (m) => m.done ? t(m.value) : Promise.resolve(m.value).then(s, h);
|
|
27
27
|
b((e = e.apply(l, o)).next());
|
|
28
28
|
});
|
|
29
|
-
import { Subscribe as R } from "@realsee/five";
|
|
30
29
|
import { Controller as L } from "../base/BasePlugin.js";
|
|
31
30
|
import "three";
|
|
32
31
|
import { MoveHelper as _ } from "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
@@ -44,7 +43,7 @@ import { BoundingBoxController as J } from "../shared-utils/Object3DHelper/Contr
|
|
|
44
43
|
import { ScaleHelper as K } from "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
45
44
|
import { ScaleController as Q } from "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
46
45
|
import { waitFiveModelLoaded as T } from "../shared-utils/five/fiveModelLoad.js";
|
|
47
|
-
import "../shared-utils/Subscribe.js";
|
|
46
|
+
import { Subscribe as R } from "../shared-utils/Subscribe.js";
|
|
48
47
|
import "hammerjs";
|
|
49
48
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
50
49
|
import "animejs";
|
|
@@ -93,7 +92,7 @@ const w = "Object3DHelperPlugin", D = w, X = () => {
|
|
|
93
92
|
}, Z = () => {
|
|
94
93
|
console.error(`${D} is disabled`);
|
|
95
94
|
};
|
|
96
|
-
class
|
|
95
|
+
class lr extends L {
|
|
97
96
|
constructor(e) {
|
|
98
97
|
super(e);
|
|
99
98
|
f(this, "name", w);
|
|
@@ -265,6 +264,6 @@ class pr extends L {
|
|
|
265
264
|
}
|
|
266
265
|
}
|
|
267
266
|
export {
|
|
268
|
-
|
|
267
|
+
lr as Object3DHelperController,
|
|
269
268
|
D as PLUGIN
|
|
270
269
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @description: 将手势操作绑定到controller上
|
|
3
3
|
*/
|
|
4
|
-
import type { Five
|
|
4
|
+
import type { Five } from '@realsee/five';
|
|
5
5
|
import type { BaseController } from '../shared-utils/Object3DHelper/Base/BaseController';
|
|
6
6
|
import type * as THREE from 'three';
|
|
7
|
+
import type { Subscribe } from '../shared-utils/Subscribe';
|
|
7
8
|
declare class ControllerWrapper<HelperControllerInterface extends new (...params: ConstructorParameters<typeof BaseController<any>>) => any> {
|
|
8
9
|
helperController?: InstanceType<HelperControllerInterface>;
|
|
9
10
|
private five;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Object3DHelperController as o } from "./Controller.js";
|
|
2
|
-
import { PLUGIN as
|
|
3
|
-
import "@realsee/five";
|
|
2
|
+
import { PLUGIN as ar } from "./Controller.js";
|
|
4
3
|
import "../base/BasePlugin.js";
|
|
5
4
|
import "../shared-utils/Subscribe.js";
|
|
6
5
|
import "hammerjs";
|
|
@@ -60,10 +59,10 @@ import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
|
60
59
|
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
61
60
|
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
62
61
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
63
|
-
const
|
|
62
|
+
const nr = (r) => new o(r);
|
|
64
63
|
export {
|
|
65
64
|
o as Object3DHelperController,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
nr as Object3DHelperPlugin,
|
|
66
|
+
ar as PLUGIN,
|
|
67
|
+
nr as default
|
|
69
68
|
};
|
|
@@ -3,10 +3,12 @@ import type { Model } from '../Model';
|
|
|
3
3
|
import type { Config } from '../typings';
|
|
4
4
|
import type { PanoMeasurePluginEvent } from '../typings/event.type';
|
|
5
5
|
import type { UserDistanceItem } from '../utils/dom/distanceItem';
|
|
6
|
-
import type { Five, Intersection, IntersectMeshInterface
|
|
6
|
+
import type { Five, Intersection, IntersectMeshInterface } from '@realsee/five';
|
|
7
|
+
import type { Subscribe } from '../../shared-utils/Subscribe';
|
|
7
8
|
import type { OpenParameter, EditParameter, MeasureType } from '../typings/data';
|
|
8
9
|
import Line from '../Model/line';
|
|
9
10
|
import type { Magnifier } from '../../shared-utils';
|
|
11
|
+
import type { WorkUtil } from '../../shared-utils/Utils/WorkUtil';
|
|
10
12
|
export interface ControllerParams {
|
|
11
13
|
five: Five;
|
|
12
14
|
group: Group;
|
|
@@ -14,6 +16,7 @@ export interface ControllerParams {
|
|
|
14
16
|
config: Config;
|
|
15
17
|
mouseGroup: Group;
|
|
16
18
|
container: Element;
|
|
19
|
+
workUtil: WorkUtil;
|
|
17
20
|
magnifier: Magnifier;
|
|
18
21
|
openParams: OpenParameter;
|
|
19
22
|
editParams: EditParameter;
|
|
@@ -38,6 +41,7 @@ export default class BaseController {
|
|
|
38
41
|
protected hook: ControllerParams['hook'];
|
|
39
42
|
protected magnifier: ControllerParams['magnifier'];
|
|
40
43
|
protected userDistanceItemCreator: ControllerParams['userDistanceItemCreator'];
|
|
44
|
+
protected workUtil: WorkUtil;
|
|
41
45
|
protected get currentMeasureType(): MeasureType;
|
|
42
46
|
private getMeasureType;
|
|
43
47
|
constructor(params: ControllerParams);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var m = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var t = (s, e, i) => (
|
|
4
|
-
import { Color as
|
|
2
|
+
var l = (s, e, i) => e in s ? m(s, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : s[e] = i;
|
|
3
|
+
var t = (s, e, i) => (l(s, typeof e != "symbol" ? e + "" : e, i), i);
|
|
4
|
+
import { Color as u } from "three";
|
|
5
5
|
import h from "../Model/line.js";
|
|
6
6
|
import r from "../Model/point.js";
|
|
7
7
|
import { preventDefault as a } from "../utils/ironbox.js";
|
|
@@ -15,7 +15,7 @@ import "../utils/dom/distanceItem.js";
|
|
|
15
15
|
import "../utils/dom/base.js";
|
|
16
16
|
import "../utils/isNDCPointInScreen.js";
|
|
17
17
|
import "../../shared-utils/three/centerPoint.js";
|
|
18
|
-
class
|
|
18
|
+
class C {
|
|
19
19
|
constructor(e) {
|
|
20
20
|
t(this, "model");
|
|
21
21
|
t(this, "five");
|
|
@@ -32,6 +32,7 @@ class k {
|
|
|
32
32
|
t(this, "hook");
|
|
33
33
|
t(this, "magnifier");
|
|
34
34
|
t(this, "userDistanceItemCreator");
|
|
35
|
+
t(this, "workUtil");
|
|
35
36
|
t(this, "getMeasureType");
|
|
36
37
|
t(this, "updateDistanceUI", () => {
|
|
37
38
|
this.dashed.distanceItem.update(this.five), this.model.getAllLines().forEach((e) => e.distanceItem.update(this.five));
|
|
@@ -44,7 +45,7 @@ class k {
|
|
|
44
45
|
});
|
|
45
46
|
});
|
|
46
47
|
var n, o;
|
|
47
|
-
this.five = e.five, this.hook = e.hook, this.model = e.model, this.getMeasureType = e.getMeasureType, this.config = e.config, this.magnifierParams = e.magnifierParams, this.editParams = e.editParams, this.magnifier = e.magnifier, this.container = e.container, this.isMobile = (o = (n = e.openParams) == null ? void 0 : n.isMobile) != null ? o : !1, this.userDistanceItemCreator = e.userDistanceItemCreator, this.group = e.group, this.mouseGroup = e.mouseGroup, this.dashed = new h(new r([0, 0, 0]), new r([0, 0, 0]), this.model), this.dashed.distanceItem.setCanSelect(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine", this.perpendicularDashed = new h(new r([0, 0, 0]), new r([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new
|
|
48
|
+
this.five = e.five, this.hook = e.hook, this.model = e.model, this.getMeasureType = e.getMeasureType, this.config = e.config, this.magnifierParams = e.magnifierParams, this.editParams = e.editParams, this.magnifier = e.magnifier, this.container = e.container, this.isMobile = (o = (n = e.openParams) == null ? void 0 : n.isMobile) != null ? o : !1, this.workUtil = e.workUtil, this.userDistanceItemCreator = e.userDistanceItemCreator, this.group = e.group, this.mouseGroup = e.mouseGroup, this.dashed = new h(new r([0, 0, 0]), new r([0, 0, 0]), this.model), this.dashed.distanceItem.setCanSelect(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine", this.perpendicularDashed = new h(new r([0, 0, 0]), new r([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new u(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
|
|
48
49
|
const i = this.five.getElement();
|
|
49
50
|
i && (i.addEventListener("touchstart", a), i.addEventListener("contextmenu", a));
|
|
50
51
|
}
|
|
@@ -72,5 +73,5 @@ class k {
|
|
|
72
73
|
}
|
|
73
74
|
}
|
|
74
75
|
export {
|
|
75
|
-
|
|
76
|
+
C as default
|
|
76
77
|
};
|
|
@@ -10,12 +10,13 @@ import v from "../utils/isNDCPointInScreen.js";
|
|
|
10
10
|
import { closestPointOnLine as G } from "../utils/math.js";
|
|
11
11
|
import { Polyline as L } from "../Model/polyline.js";
|
|
12
12
|
import W from "../Modules/rangePiece/index.js";
|
|
13
|
-
import "
|
|
13
|
+
import "../../shared-utils/Subscribe.js";
|
|
14
14
|
import "../../shared-utils/uuid.js";
|
|
15
15
|
import "../utils/line.js";
|
|
16
16
|
import "../../shared-utils/five/FiveLine.js";
|
|
17
17
|
import "@realsee/five/line";
|
|
18
18
|
import "../utils/constants.js";
|
|
19
|
+
import "@realsee/five";
|
|
19
20
|
import "../utils/dom/distanceItem.js";
|
|
20
21
|
import "../utils/dom/base.js";
|
|
21
22
|
import "../../shared-utils/three/centerPoint.js";
|
|
@@ -30,7 +31,7 @@ import "../../shared-utils/animationFrame/index.js";
|
|
|
30
31
|
import "../../shared-utils/noop.js";
|
|
31
32
|
import "../utils/mouseGroup.js";
|
|
32
33
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
33
|
-
class
|
|
34
|
+
class le extends T {
|
|
34
35
|
constructor(e) {
|
|
35
36
|
super(e);
|
|
36
37
|
t(this, "state", "watching");
|
|
@@ -144,5 +145,5 @@ class ae extends T {
|
|
|
144
145
|
}
|
|
145
146
|
}
|
|
146
147
|
export {
|
|
147
|
-
|
|
148
|
+
le as default
|
|
148
149
|
};
|
|
@@ -7,12 +7,14 @@ import EditController from './EditController';
|
|
|
7
7
|
import ViewController from './ViewController';
|
|
8
8
|
import WatchController from './WatchController';
|
|
9
9
|
import MixedController from './MixedController';
|
|
10
|
-
import
|
|
10
|
+
import type { Subscribe } from '../../shared-utils/Subscribe';
|
|
11
|
+
import type { Five } from '@realsee/five';
|
|
11
12
|
import { type UIControllerParams } from '../Modules/UIController';
|
|
12
13
|
import { type GuideControllerParams } from '../Modules/GuideController';
|
|
13
14
|
import { Magnifier } from '../../shared-utils';
|
|
14
15
|
import type { MagnifierParameter } from '../../shared-utils';
|
|
15
16
|
import type Area from '../Model/area';
|
|
17
|
+
import * as BasePlugin from '../../base/BasePlugin';
|
|
16
18
|
export type Mode = 'Watch' | 'Edit' | 'Mixed' | 'View';
|
|
17
19
|
export interface PanoMeasureParameterType extends Partial<Config> {
|
|
18
20
|
editParams?: EditParameter;
|
|
@@ -22,8 +24,10 @@ export interface PanoMeasureParameterType extends Partial<Config> {
|
|
|
22
24
|
useGuideController?: boolean | GuideControllerParams;
|
|
23
25
|
userDistanceItemCreator?: () => UserDistanceItem;
|
|
24
26
|
}
|
|
25
|
-
export default class MeasureController {
|
|
27
|
+
export default class MeasureController extends BasePlugin.Controller<BasePlugin.State, BasePlugin.EventMap<BasePlugin.State> & PanoMeasurePluginEvent> {
|
|
28
|
+
state: BasePlugin.State;
|
|
26
29
|
hasOpen: boolean;
|
|
30
|
+
/** @deprecated use hooks instead */
|
|
27
31
|
hook: Subscribe<PanoMeasurePluginEvent>;
|
|
28
32
|
magnifier: Magnifier;
|
|
29
33
|
controller: WatchController | EditController | MixedController | ViewController | null;
|
|
@@ -31,7 +35,6 @@ export default class MeasureController {
|
|
|
31
35
|
allowMeasureType: Array<MeasureType>;
|
|
32
36
|
/** 当前的测量类型 */
|
|
33
37
|
currentMeasureType: MeasureType | null;
|
|
34
|
-
private five;
|
|
35
38
|
private model;
|
|
36
39
|
private group;
|
|
37
40
|
private config;
|
|
@@ -1,40 +1,41 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var k = Object.defineProperty;
|
|
2
|
+
var P = Object.getOwnPropertySymbols;
|
|
3
3
|
var T = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var
|
|
5
|
-
for (var
|
|
6
|
-
T.call(
|
|
7
|
-
if (
|
|
8
|
-
for (var
|
|
9
|
-
U.call(
|
|
10
|
-
return
|
|
4
|
+
var c = (n, s, t) => s in n ? k(n, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[s] = t, m = (n, s) => {
|
|
5
|
+
for (var t in s || (s = {}))
|
|
6
|
+
T.call(s, t) && c(n, t, s[t]);
|
|
7
|
+
if (P)
|
|
8
|
+
for (var t of P(s))
|
|
9
|
+
U.call(s, t) && c(n, t, s[t]);
|
|
10
|
+
return n;
|
|
11
11
|
};
|
|
12
|
-
var r = (s, t
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { omit as
|
|
12
|
+
var r = (n, s, t) => (c(n, typeof s != "symbol" ? s + "" : s, t), t);
|
|
13
|
+
import h from "./EditController.js";
|
|
14
|
+
import v from "./ViewController.js";
|
|
15
|
+
import b from "./WatchController.js";
|
|
16
|
+
import a from "./MixedController.js";
|
|
17
|
+
import { omit as x } from "../../shared-utils/filter.js";
|
|
18
18
|
import { Group as D } from "three";
|
|
19
19
|
import { Model as E } from "../Model/index.js";
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { Magnifier as A } from "../../shared-utils/three/Magnifier.js";
|
|
20
|
+
import { getMouseGroup as G } from "../utils/mouseGroup.js";
|
|
21
|
+
import { UIController as L } from "../Modules/UIController/index.js";
|
|
22
|
+
import { GuideController as O } from "../Modules/GuideController.js";
|
|
23
|
+
import { ShortcutKeyController as S } from "./ShortcutKeyController.js";
|
|
24
|
+
import { safeObj as I } from "../../shared-utils/safeObj.js";
|
|
25
|
+
import { Magnifier as W } from "../../shared-utils/three/Magnifier.js";
|
|
27
26
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
28
27
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
29
28
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
30
29
|
import "animejs";
|
|
31
|
-
import { isTouchDevice as
|
|
30
|
+
import { isTouchDevice as A } from "../../shared-utils/isTouchDevice.js";
|
|
31
|
+
import { Controller as B } from "../../base/BasePlugin.js";
|
|
32
32
|
import "../Model/line.js";
|
|
33
33
|
import "../../shared-utils/uuid.js";
|
|
34
34
|
import "../utils/line.js";
|
|
35
35
|
import "../../shared-utils/five/FiveLine.js";
|
|
36
36
|
import "@realsee/five/line";
|
|
37
37
|
import "../utils/constants.js";
|
|
38
|
+
import "@realsee/five";
|
|
38
39
|
import "../utils/dom/distanceItem.js";
|
|
39
40
|
import "../utils/dom/base.js";
|
|
40
41
|
import "../utils/isNDCPointInScreen.js";
|
|
@@ -113,17 +114,23 @@ import "../../vendor/svelte/transition/index.js";
|
|
|
113
114
|
import "../../vendor/svelte/easing/index.js";
|
|
114
115
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
115
116
|
import "../Components/Tip.js";
|
|
116
|
-
|
|
117
|
+
import "../../shared-utils/Utils/WorkUtil.js";
|
|
118
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
119
|
+
import "../../shared-utils/five/transformPosition.js";
|
|
120
|
+
class Ve extends B {
|
|
117
121
|
constructor(t, e) {
|
|
122
|
+
var l, u, d, f, g, y, M, C, w;
|
|
123
|
+
super(t);
|
|
124
|
+
r(this, "state", { enabled: !0 });
|
|
118
125
|
r(this, "hasOpen", !1);
|
|
119
|
-
|
|
126
|
+
/** @deprecated use hooks instead */
|
|
127
|
+
r(this, "hook");
|
|
120
128
|
r(this, "magnifier");
|
|
121
129
|
r(this, "controller", null);
|
|
122
130
|
/** 允许的测量类型 */
|
|
123
131
|
r(this, "allowMeasureType");
|
|
124
132
|
/** 当前的测量类型 */
|
|
125
133
|
r(this, "currentMeasureType");
|
|
126
|
-
r(this, "five");
|
|
127
134
|
r(this, "model");
|
|
128
135
|
r(this, "group");
|
|
129
136
|
r(this, "config");
|
|
@@ -139,9 +146,9 @@ class Le {
|
|
|
139
146
|
*/
|
|
140
147
|
r(this, "disable", () => {
|
|
141
148
|
var t, e, i, o;
|
|
142
|
-
this.hasOpen = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (t = this.controller) == null || t.dispose(), (e = this.useUIController) == null || e.hide(), (i = this.useGuideController) == null || i.hide(), (o = this.shortcutKeyController) == null || o.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
|
|
149
|
+
this.hasOpen = !1, this.state.enabled = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (t = this.controller) == null || t.dispose(), (e = this.useUIController) == null || e.hide(), (i = this.useGuideController) == null || i.hide(), (o = this.shortcutKeyController) == null || o.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
|
|
143
150
|
});
|
|
144
|
-
r(this, "getCurrentMode", () => this.controller instanceof
|
|
151
|
+
r(this, "getCurrentMode", () => this.controller instanceof h ? "Edit" : this.controller instanceof b ? "Watch" : this.controller instanceof a ? "Mixed" : this.controller instanceof v ? "View" : null);
|
|
145
152
|
/** 变更场景
|
|
146
153
|
* @description 如果从编辑场景改变到观看场景,不会自动保存,默认丢弃所有改动
|
|
147
154
|
*/
|
|
@@ -151,10 +158,10 @@ class Le {
|
|
|
151
158
|
return;
|
|
152
159
|
(o = this.controller) == null || o.dispose();
|
|
153
160
|
const e = {
|
|
154
|
-
View:
|
|
155
|
-
Watch:
|
|
156
|
-
Edit:
|
|
157
|
-
Mixed:
|
|
161
|
+
View: v,
|
|
162
|
+
Watch: b,
|
|
163
|
+
Edit: h,
|
|
164
|
+
Mixed: a
|
|
158
165
|
};
|
|
159
166
|
if (!e[t])
|
|
160
167
|
throw new Error("不存在的 Mode");
|
|
@@ -167,26 +174,25 @@ class Le {
|
|
|
167
174
|
r(this, "changeMeasureType", (t) => {
|
|
168
175
|
this.currentMeasureType = t, this.hook.emit("measureTypeChange", t);
|
|
169
176
|
});
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
const i = (M = (y = e.editParams) == null ? void 0 : y.pointSelectorMode) != null ? M : B ? "fixed" : "cursor", o = (C = this.params.openParams) != null ? C : {};
|
|
177
|
+
this.five = t, this.hook = this.hooks, this.params = e, this.config = x(e, ["openParams", "magnifierParams"]), this.model = new E(this.config), this.isMobile = (u = (l = e == null ? void 0 : e.openParams) == null ? void 0 : l.isMobile) != null ? u : !1, this.magnifier = new W(t, (d = e.magnifierParams) != null ? d : { width: 190, height: 190, scale: 2 }), this.allowMeasureType = Array.from(new Set((g = (f = e.editParams) == null ? void 0 : f.allowMeasureType) != null ? g : ["line"])), this.currentMeasureType = (y = this.allowMeasureType[0]) != null ? y : "line", this.group = new D(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0";
|
|
178
|
+
const i = (C = (M = e.editParams) == null ? void 0 : M.pointSelectorMode) != null ? C : A ? "fixed" : "cursor", o = (w = this.params.openParams) != null ? w : {};
|
|
173
179
|
if (this.params.useUIController !== !1) {
|
|
174
|
-
const
|
|
180
|
+
const p = m({
|
|
175
181
|
container: this.container,
|
|
176
182
|
openParams: o,
|
|
177
183
|
i18n: e.i18n,
|
|
178
184
|
pointSelectorMode: i,
|
|
179
185
|
useNewUI: this.allowMeasureType.length > 1
|
|
180
|
-
},
|
|
181
|
-
this.useUIController = new
|
|
186
|
+
}, I(this.params.useUIController));
|
|
187
|
+
this.useUIController = new L(this, p);
|
|
182
188
|
}
|
|
183
189
|
if (this.params.useGuideController !== !1) {
|
|
184
|
-
const
|
|
190
|
+
const p = m({
|
|
185
191
|
container: this.container,
|
|
186
192
|
pointSelectorMode: i,
|
|
187
193
|
i18n: e.i18n
|
|
188
|
-
},
|
|
189
|
-
this.useGuideController = new
|
|
194
|
+
}, I(this.params.useGuideController));
|
|
195
|
+
this.useGuideController = new O(this, p);
|
|
190
196
|
}
|
|
191
197
|
}
|
|
192
198
|
appendTo(t) {
|
|
@@ -212,7 +218,7 @@ class Le {
|
|
|
212
218
|
*/
|
|
213
219
|
enable(t) {
|
|
214
220
|
var e, i;
|
|
215
|
-
this.hasOpen || (this.hasOpen = !0, this.five.scene.add(this.group), this.container.style.visibility = "visible", this.container.style.opacity = "1", t != null && t.mode ? this.changeMode(t.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (e = this.useUIController) == null || e.show(), (i = this.useGuideController) == null || i.show(), this.shortcutKeyController = new
|
|
221
|
+
this.hasOpen || (this.state.enabled = !0, this.hasOpen = !0, this.group.matrix.copy(this.workUtil.transform), this.group.matrix.decompose(this.group.position, this.group.quaternion, this.group.scale), this.group.updateMatrixWorld(), this.five.scene.add(this.group), this.container.style.visibility = "visible", this.container.style.opacity = "1", t != null && t.mode ? this.changeMode(t.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (e = this.useUIController) == null || e.show(), (i = this.useGuideController) == null || i.show(), this.shortcutKeyController = new S(this, this.five), this.hook.emit("enable", !0));
|
|
216
222
|
}
|
|
217
223
|
/** 进入编辑模式 */
|
|
218
224
|
edit(t) {
|
|
@@ -222,7 +228,7 @@ class Le {
|
|
|
222
228
|
}
|
|
223
229
|
/** 撤销编辑 */
|
|
224
230
|
revoke() {
|
|
225
|
-
this.controller instanceof
|
|
231
|
+
this.controller instanceof h && this.controller.revoke();
|
|
226
232
|
}
|
|
227
233
|
removePolyline(t) {
|
|
228
234
|
this.model.removePolyline(t);
|
|
@@ -256,20 +262,20 @@ class Le {
|
|
|
256
262
|
*/
|
|
257
263
|
save(t) {
|
|
258
264
|
var o;
|
|
259
|
-
if (!(this.controller instanceof
|
|
265
|
+
if (!(this.controller instanceof h) && !(this.controller instanceof a))
|
|
260
266
|
return this;
|
|
261
267
|
const e = (o = t == null ? void 0 : t.mode) != null ? o : "View", i = this.controller.model.areas;
|
|
262
|
-
return this.controller instanceof
|
|
263
|
-
|
|
268
|
+
return this.controller instanceof h ? this.controller.complete() : i.forEach((l) => {
|
|
269
|
+
l.showArea(), this.model.addArea(l);
|
|
264
270
|
}), this.changeMode(e), this;
|
|
265
271
|
}
|
|
266
272
|
/** Mixed 模式才有用,添加起点 */
|
|
267
273
|
addStartPoint() {
|
|
268
|
-
this.controller instanceof
|
|
274
|
+
this.controller instanceof a && this.hook.emit("willChangeState", "watching", "editing");
|
|
269
275
|
}
|
|
270
276
|
/** Mixed 模式才有用,添加终点 */
|
|
271
277
|
addEndPoint() {
|
|
272
|
-
this.controller instanceof
|
|
278
|
+
this.controller instanceof a && this.hook.emit("willChangeState", "editing", "watching");
|
|
273
279
|
}
|
|
274
280
|
/** 导出数据 */
|
|
275
281
|
toJson() {
|
|
@@ -305,15 +311,16 @@ class Le {
|
|
|
305
311
|
config: this.config,
|
|
306
312
|
magnifier: this.magnifier,
|
|
307
313
|
container: this.container,
|
|
314
|
+
workUtil: this.workUtil,
|
|
308
315
|
openParams: t,
|
|
309
316
|
editParams: e,
|
|
310
317
|
magnifierParams: this.params.magnifierParams,
|
|
311
318
|
getMeasureType: () => this.currentMeasureType,
|
|
312
|
-
mouseGroup:
|
|
319
|
+
mouseGroup: G(m({}, t.crossHairParameter)),
|
|
313
320
|
userDistanceItemCreator: this.params.userDistanceItemCreator
|
|
314
321
|
};
|
|
315
322
|
}
|
|
316
323
|
}
|
|
317
324
|
export {
|
|
318
|
-
|
|
325
|
+
Ve as default
|
|
319
326
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { Subscribe } from '../../shared-utils/Subscribe';
|
|
1
2
|
import type { Config } from '../typings';
|
|
2
3
|
import type { MeasurePluginData } from '../typings/data';
|
|
3
4
|
import type Area from './area';
|
|
4
5
|
import type Line from './line';
|
|
5
6
|
import { Polyline } from './polyline';
|
|
6
|
-
import { Subscribe } from '@realsee/five';
|
|
7
7
|
type IModelEvent = {
|
|
8
8
|
/** 新增线条
|
|
9
9
|
* @param line 被创建的线条
|