@realsee/dnalogel 3.12.5 → 3.12.6
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/PanoSpatialTagPlugin/store.d.ts +0 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +0 -1
- package/dist/index.cjs.js +65 -65
- package/dist/index.js +4711 -4880
- package/dist/index.umd.js +58 -58
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +4 -4
- 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/Magnifier.html +3 -3
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/MoveController.html +3 -3
- package/docs/classes/Object3DHelperController.html +3 -3
- package/docs/classes/PaintBrush.html +3 -3
- package/docs/classes/PanoMeasurePluginLine.html +3 -3
- package/docs/classes/PanoMeasurePluginModel.html +3 -3
- package/docs/classes/PanoMeasurePluginPoint.html +3 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
- package/docs/classes/PanoTagPluginController.html +3 -3
- package/docs/classes/Util.BetterTween.html +3 -3
- package/docs/classes/Util.Interval.html +3 -3
- package/docs/classes/Util.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 +3 -3
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +3 -3
- package/docs/enums/DIRECTION.html +3 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/PaintBrushTypeEnum.html +3 -3
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/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/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/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.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.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 +3 -3
- 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 +3 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
- 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 +3 -3
- package/docs/interfaces/FloorplanBounding.html +3 -3
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +3 -3
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +3 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +3 -3
- package/docs/interfaces/FloorplanServerComputedData.html +3 -3
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
- package/docs/interfaces/FloorplanServerEntrance.html +3 -3
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -4
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.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/ModelRoomLabelPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
- package/docs/interfaces/ModelViewPluginExportType.html +3 -3
- package/docs/interfaces/Object3DHelperState.html +3 -3
- package/docs/interfaces/ObjectHelperControllers.html +3 -3
- package/docs/interfaces/PaintBrushAction.html +3 -3
- package/docs/interfaces/PaintBrushConfigs.html +3 -3
- package/docs/interfaces/PaintBrushState.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
- package/docs/interfaces/PanoMeasureParameterType.html +3 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginState.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
- package/docs/interfaces/Point.html +3 -3
- package/docs/interfaces/Room.html +3 -3
- package/docs/interfaces/RoomInfo.html +3 -3
- package/docs/interfaces/RoomLabel.html +3 -3
- package/docs/interfaces/RoomRules.html +3 -3
- package/docs/interfaces/Rooms.html +3 -3
- package/docs/interfaces/Scissor.html +3 -3
- package/docs/interfaces/State.html +3 -3
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
- package/docs/interfaces/TagIconUrl.html +3 -3
- package/docs/interfaces/TagObjectGroup.html +3 -3
- package/docs/interfaces/TagStyle.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/interfaces/TemporaryState.html +3 -3
- package/docs/interfaces/Util.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
- package/docs/interfaces/Util.PointIntersection.html +3 -3
- package/docs/modules/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/PanoVideoPluginType.html +3 -3
- package/docs/modules/Util.html +3 -3
- package/docs/modules.html +4 -4
- 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/AudioTagTypeConfigKey.html +3 -3
- package/docs/types/CSS3DRenderExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
- package/docs/types/ClassFunctionParameters.html +3 -3
- package/docs/types/Color.html +3 -3
- package/docs/types/ContentTypeConfigKey.html +3 -3
- package/docs/types/ContentTypeConfigKeySplit.html +3 -3
- package/docs/types/ContentTypeMap.html +3 -3
- package/docs/types/Create3DDomContainerReturnType.html +3 -3
- package/docs/types/Create3DElementReturnType.html +3 -3
- package/docs/types/CruisePluginExportType.html +3 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
- package/docs/types/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/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/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/RotateArgs.html +3 -3
- package/docs/types/RotateOpts.html +3 -3
- package/docs/types/RuleLabelsKey.html +3 -3
- package/docs/types/RuleLabelsValue.html +3 -3
- package/docs/types/StickType.html +3 -3
- package/docs/types/Tag.html +3 -3
- package/docs/types/Tag2D.html +3 -3
- package/docs/types/Tag3D.html +3 -3
- package/docs/types/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 +44 -54
- package/libs/AreaMakerPlugin/index.js +3 -13
- package/libs/AreaMakerPlugin/utils/Item.js +3 -13
- package/libs/CruisePlugin/Work.js +6 -19
- package/libs/CruisePlugin/index.js +10 -23
- package/libs/GuideLinePlugin/Components/Tag.js +48 -58
- package/libs/GuideLinePlugin/Controller.js +33 -46
- package/libs/GuideLinePlugin/GuideLineItem.js +6 -19
- package/libs/GuideLinePlugin/GuideLineModeItem.js +6 -19
- package/libs/GuideLinePlugin/index.js +11 -24
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +139 -152
- package/libs/ItemLabelPlugin/ItemLabelItem.js +57 -67
- package/libs/ItemLabelPlugin/Plugin.js +26 -37
- package/libs/ItemLabelPlugin/index.js +5 -16
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +103 -116
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +35 -45
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +24 -35
- package/libs/ModelItemLabelPlugin/index.js +5 -16
- package/libs/ModelRoomLabelPlugin/Controller.js +8 -20
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +42 -52
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +61 -75
- package/libs/ModelRoomLabelPlugin/index.js +5 -17
- package/libs/PanoDoorLabelPlugin/Controller.js +62 -72
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +45 -55
- package/libs/PanoDoorLabelPlugin/index.js +4 -14
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +60 -70
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +22 -32
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +62 -75
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +97 -110
- package/libs/PanoMeasurePlugin/Components/Controller0.js +63 -74
- package/libs/PanoMeasurePlugin/Components/Controller1.js +22 -33
- package/libs/PanoMeasurePlugin/Components/Tip.js +66 -76
- package/libs/PanoMeasurePlugin/Controller/index.js +75 -86
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +16 -26
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +22 -33
- package/libs/PanoMeasurePlugin/index.js +16 -27
- package/libs/PanoRulerProPlugin/Controller.js +27 -38
- package/libs/PanoRulerProPlugin/RulerItem.js +79 -94
- package/libs/PanoRulerProPlugin/RulerItems.js +82 -95
- package/libs/PanoRulerProPlugin/index.js +4 -15
- package/libs/PanoSpatialTagPlugin/Components/origins.js +38 -51
- package/libs/PanoSpatialTagPlugin/Components/tag.js +22 -32
- package/libs/PanoSpatialTagPlugin/Plugin.js +104 -115
- package/libs/PanoSpatialTagPlugin/index.js +2 -13
- package/libs/PanoSpatialTagPlugin/store.d.ts +0 -1
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +34 -44
- package/libs/PanoTagPlugin/Components/Common/Audio.js +89 -99
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +112 -123
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +45 -55
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +49 -59
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +69 -79
- package/libs/PanoTagPlugin/Components/Common/Media.js +168 -182
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +118 -128
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +48 -58
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +24 -35
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +86 -97
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +96 -109
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +118 -128
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +49 -59
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +90 -100
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +81 -92
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +57 -68
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +35 -45
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +110 -122
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +42 -53
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +115 -130
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -66
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +52 -62
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +56 -66
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +98 -109
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +43 -54
- package/libs/PanoTagPlugin/Components/Tag/index.js +142 -155
- package/libs/PanoTagPlugin/Components/TagContainer.js +62 -77
- package/libs/PanoTagPlugin/Components/TagItem.js +47 -60
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +6 -19
- package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
- package/libs/PanoTagPlugin/controller/index.js +19 -32
- package/libs/PanoTagPlugin/index.js +15 -28
- package/libs/PanoTagPlugin/typings/controller.d.ts +0 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/components/AreaLabel/LabelItem.js +54 -59
- package/libs/floorplan/Components/BaseImage.js +39 -43
- package/libs/floorplan/Components/Camera.js +32 -41
- package/libs/floorplan/Components/Compass.js +24 -27
- package/libs/floorplan/Components/CurrentFloor.js +49 -54
- package/libs/floorplan/Components/Main.js +47 -56
- package/libs/floorplan/Components/MissingFloor.js +21 -24
- package/libs/floorplan/Components/Normalmage.js +22 -25
- package/libs/floorplan/Components/RoomHighlight/Room.js +25 -28
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +61 -69
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +47 -50
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +61 -69
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +118 -125
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +22 -25
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +40 -43
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +29 -32
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +41 -49
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +94 -102
- package/libs/floorplan/Components/SvgImage.js +27 -30
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +6 -18
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +7 -19
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +46 -58
- package/libs/floorplan/ModelFloorplanPlugin/index.js +7 -19
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +65 -77
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +83 -95
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +53 -70
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +100 -112
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +12 -24
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -16
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +21 -33
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +7 -19
- package/libs/floorplan/index.js +0 -1
- package/libs/index.js +124 -138
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/internal/index.js +749 -0
- package/libs/vendor/svelte/{src/runtime/store → store}/index.js +5 -5
- package/libs/vendor/svelte/{src/runtime/transition → transition}/index.js +1 -1
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +25 -29
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +225 -197
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +12 -16
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +59 -65
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +29 -32
- package/package.json +2 -2
- package/libs/vendor/svelte/src/runtime/internal/Component.js +0 -122
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/animations.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +0 -47
- package/libs/vendor/svelte/src/runtime/internal/dev.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +0 -2
- package/libs/vendor/svelte/src/runtime/internal/dom.js +0 -214
- package/libs/vendor/svelte/src/runtime/internal/each.js +0 -46
- package/libs/vendor/svelte/src/runtime/internal/environment.js +0 -7
- package/libs/vendor/svelte/src/runtime/internal/globals.js +0 -7
- package/libs/vendor/svelte/src/runtime/internal/index.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +0 -63
- package/libs/vendor/svelte/src/runtime/internal/loop.js +0 -21
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +0 -66
- package/libs/vendor/svelte/src/runtime/internal/spread.js +0 -26
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +0 -48
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +0 -192
- package/libs/vendor/svelte/src/runtime/internal/utils.js +0 -110
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +0 -1
- package/libs/vendor/svelte/src/shared/utils/names.js +0 -1
- package/libs/vendor/svelte/src/shared/version.js +0 -4
- /package/libs/vendor/svelte/{src/runtime/easing → easing}/index.js +0 -0
- /package/libs/vendor/svelte/{src/runtime/index.js → index.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
var b = Object.defineProperty;
|
|
2
2
|
var w = Object.getOwnPropertySymbols;
|
|
3
3
|
var T = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var p = (s,
|
|
5
|
-
for (var
|
|
6
|
-
T.call(
|
|
4
|
+
var p = (s, e, t) => e in s ? b(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, h = (s, e) => {
|
|
5
|
+
for (var t in e || (e = {}))
|
|
6
|
+
T.call(e, t) && p(s, t, e[t]);
|
|
7
7
|
if (w)
|
|
8
|
-
for (var
|
|
9
|
-
U.call(
|
|
8
|
+
for (var t of w(e))
|
|
9
|
+
U.call(e, t) && p(s, t, e[t]);
|
|
10
10
|
return s;
|
|
11
11
|
};
|
|
12
|
-
var i = (s,
|
|
12
|
+
var i = (s, e, t) => (p(s, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
13
|
import l from "./EditController.js";
|
|
14
14
|
import P from "./ViewController.js";
|
|
15
15
|
import v from "./WatchController.js";
|
|
16
|
-
import
|
|
16
|
+
import a from "./MixedController.js";
|
|
17
17
|
import { omit as k } from "../../shared-utils/filter.js";
|
|
18
18
|
import { Group as D } from "three";
|
|
19
19
|
import { Model as E } from "../Model/index.js";
|
|
@@ -98,30 +98,19 @@ import "../Modules/UIController/MainBtnController.js";
|
|
|
98
98
|
import "../Modules/UIController/mobileMainBtnController.js";
|
|
99
99
|
import "../Modules/UIController/Revoke/index.js";
|
|
100
100
|
import "../Components/Controller0.js";
|
|
101
|
-
import "../../vendor/svelte/
|
|
102
|
-
import "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
103
|
-
import "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
104
|
-
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
105
|
-
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
106
|
-
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
107
|
-
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
108
|
-
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
109
|
-
import "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
110
|
-
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
111
|
-
import "../../vendor/svelte/src/shared/version.js";
|
|
101
|
+
import "../../vendor/svelte/internal/index.js";
|
|
112
102
|
import "../Components/Common/Switcher0.js";
|
|
113
|
-
import "../../vendor/svelte/src/runtime/internal/each.js";
|
|
114
103
|
import "../Components/Common/Exit.js";
|
|
115
104
|
import "../Components/Common/icons/index.js";
|
|
116
105
|
import "../Components/Controller1.js";
|
|
117
106
|
import "../Components/Common/Switcher1.js";
|
|
118
107
|
import "../Components/Common/CircleButton.js";
|
|
119
|
-
import "../../vendor/svelte/
|
|
120
|
-
import "../../vendor/svelte/
|
|
108
|
+
import "../../vendor/svelte/transition/index.js";
|
|
109
|
+
import "../../vendor/svelte/easing/index.js";
|
|
121
110
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
122
111
|
import "../Components/Tip.js";
|
|
123
|
-
class
|
|
124
|
-
constructor(
|
|
112
|
+
class Et {
|
|
113
|
+
constructor(e, t) {
|
|
125
114
|
i(this, "hasOpen", !1);
|
|
126
115
|
i(this, "hook", new x());
|
|
127
116
|
i(this, "magnifier");
|
|
@@ -145,115 +134,115 @@ class He {
|
|
|
145
134
|
* @description 还原点位展示和默认鼠标 UI
|
|
146
135
|
*/
|
|
147
136
|
i(this, "disable", () => {
|
|
148
|
-
var
|
|
149
|
-
this.hasOpen = !1, this.container.style.opacity = "0", (
|
|
137
|
+
var e, t, r, o;
|
|
138
|
+
this.hasOpen = !1, this.container.style.opacity = "0", (e = this.controller) == null || e.dispose(), (t = this.useUIController) == null || t.hide(), (r = this.useGuideController) == null || r.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);
|
|
150
139
|
});
|
|
151
|
-
i(this, "getCurrentMode", () => this.controller instanceof l ? "Edit" : this.controller instanceof v ? "Watch" : this.controller instanceof
|
|
140
|
+
i(this, "getCurrentMode", () => this.controller instanceof l ? "Edit" : this.controller instanceof v ? "Watch" : this.controller instanceof a ? "Mixed" : this.controller instanceof P ? "View" : null);
|
|
152
141
|
/** 变更场景
|
|
153
142
|
* @description 如果从编辑场景改变到观看场景,不会自动保存,默认丢弃所有改动
|
|
154
143
|
*/
|
|
155
|
-
i(this, "changeMode", (
|
|
144
|
+
i(this, "changeMode", (e) => {
|
|
156
145
|
var o;
|
|
157
|
-
if (!this.hasOpen || this.getCurrentMode() ===
|
|
146
|
+
if (!this.hasOpen || this.getCurrentMode() === e)
|
|
158
147
|
return;
|
|
159
148
|
(o = this.controller) == null || o.dispose();
|
|
160
|
-
const
|
|
149
|
+
const t = {
|
|
161
150
|
View: P,
|
|
162
151
|
Watch: v,
|
|
163
152
|
Edit: l,
|
|
164
|
-
Mixed:
|
|
153
|
+
Mixed: a
|
|
165
154
|
};
|
|
166
|
-
if (!e
|
|
155
|
+
if (!t[e])
|
|
167
156
|
throw new Error("不存在的 Mode");
|
|
168
157
|
const r = this.createControllerParams();
|
|
169
|
-
this.controller = new e
|
|
158
|
+
this.controller = new t[e](r), this.hook.emit("modeChange", e);
|
|
170
159
|
});
|
|
171
160
|
/**
|
|
172
161
|
* @description: 切换测量的类型
|
|
173
162
|
*/
|
|
174
|
-
i(this, "changeMeasureType", (
|
|
175
|
-
this.currentMeasureType =
|
|
163
|
+
i(this, "changeMeasureType", (e) => {
|
|
164
|
+
this.currentMeasureType = e, this.hook.emit("measureTypeChange", e);
|
|
176
165
|
});
|
|
177
166
|
var n, c, u, d, f, g, M, y, C;
|
|
178
|
-
this.five =
|
|
179
|
-
const r = (y = (M =
|
|
167
|
+
this.five = e, this.params = t, this.config = k(t, ["openParams", "magnifierParams"]), this.model = new E(this.config), this.isMobile = (c = (n = t == null ? void 0 : t.openParams) == null ? void 0 : n.isMobile) != null ? c : !1, this.magnifier = new A(e, (u = t.magnifierParams) != null ? u : { width: 190, height: 190, scale: 2 }), this.allowMeasureType = Array.from(new Set((f = (d = t.editParams) == null ? void 0 : d.allowMeasureType) != null ? f : ["line"])), this.currentMeasureType = (g = this.allowMeasureType[0]) != null ? g : "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";
|
|
168
|
+
const r = (y = (M = t.editParams) == null ? void 0 : M.pointSelectorMode) != null ? y : B ? "fixed" : "cursor", o = (C = this.params.openParams) != null ? C : {};
|
|
180
169
|
if (this.params.useUIController !== !1) {
|
|
181
|
-
const
|
|
170
|
+
const m = h({
|
|
182
171
|
container: this.container,
|
|
183
172
|
openParams: o,
|
|
184
|
-
i18n:
|
|
173
|
+
i18n: t.i18n,
|
|
185
174
|
pointSelectorMode: r,
|
|
186
175
|
useNewUI: this.allowMeasureType.length > 1
|
|
187
176
|
}, I(this.params.useUIController));
|
|
188
|
-
this.useUIController = new S(this,
|
|
177
|
+
this.useUIController = new S(this, m);
|
|
189
178
|
}
|
|
190
179
|
if (this.params.useGuideController !== !1) {
|
|
191
|
-
const
|
|
180
|
+
const m = h({
|
|
192
181
|
container: this.container,
|
|
193
182
|
pointSelectorMode: r,
|
|
194
|
-
i18n:
|
|
183
|
+
i18n: t.i18n
|
|
195
184
|
}, I(this.params.useGuideController));
|
|
196
|
-
this.useGuideController = new L(this,
|
|
185
|
+
this.useGuideController = new L(this, m);
|
|
197
186
|
}
|
|
198
187
|
}
|
|
199
|
-
appendTo(
|
|
200
|
-
|
|
188
|
+
appendTo(e) {
|
|
189
|
+
e.append(this.container);
|
|
201
190
|
}
|
|
202
191
|
clear() {
|
|
203
192
|
this.model.clear();
|
|
204
193
|
}
|
|
205
194
|
dispose() {
|
|
206
|
-
var
|
|
207
|
-
this.disable(), this.clear(), (
|
|
195
|
+
var e, t;
|
|
196
|
+
this.disable(), this.clear(), (e = this.useUIController) == null || e.dispose(), (t = this.magnifier) == null || t.dispose(), this.five.needsRender = !0;
|
|
208
197
|
}
|
|
209
198
|
/** 加载数据
|
|
210
199
|
* @description 数据加载时会覆盖当前已保存的数据
|
|
211
200
|
* @description 如果当前正在编辑中,会自动退出并保存编辑
|
|
212
201
|
*/
|
|
213
|
-
load(
|
|
214
|
-
this.model.parse(
|
|
202
|
+
load(e) {
|
|
203
|
+
this.model.parse(e), this.save();
|
|
215
204
|
}
|
|
216
205
|
/** 插件功能入口
|
|
217
206
|
* @description 会隐藏鼠标的默认聚焦环
|
|
218
207
|
* @description 会隐藏当前 VR 内的点位展示
|
|
219
208
|
*/
|
|
220
|
-
enable(
|
|
221
|
-
var
|
|
222
|
-
this.hasOpen || (this.hasOpen = !0, this.five.scene.add(this.group), this.container.style.opacity = "1",
|
|
209
|
+
enable(e) {
|
|
210
|
+
var t;
|
|
211
|
+
this.hasOpen || (this.hasOpen = !0, this.five.scene.add(this.group), this.container.style.opacity = "1", e != null && e.mode ? this.changeMode(e.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (t = this.useUIController) == null || t.show(), this.shortcutKeyController = new O(this, this.five), this.hook.emit("enable", !0));
|
|
223
212
|
}
|
|
224
213
|
/** 进入编辑模式 */
|
|
225
|
-
edit(
|
|
226
|
-
|
|
227
|
-
const
|
|
228
|
-
this.changeMode(
|
|
214
|
+
edit(e) {
|
|
215
|
+
e && this.changeMeasureType(e);
|
|
216
|
+
const t = this.isMobile ? "Mixed" : "Edit";
|
|
217
|
+
this.changeMode(t);
|
|
229
218
|
}
|
|
230
219
|
/** 撤销编辑 */
|
|
231
220
|
revoke() {
|
|
232
221
|
this.controller instanceof l && this.controller.revoke();
|
|
233
222
|
}
|
|
234
|
-
removePolyline(
|
|
235
|
-
this.model.removePolyline(
|
|
223
|
+
removePolyline(e) {
|
|
224
|
+
this.model.removePolyline(e);
|
|
236
225
|
}
|
|
237
|
-
removeArea(
|
|
238
|
-
this.model.removeArea(
|
|
226
|
+
removeArea(e) {
|
|
227
|
+
this.model.removeArea(e);
|
|
239
228
|
}
|
|
240
|
-
removePolylineByID(
|
|
241
|
-
const
|
|
242
|
-
|
|
229
|
+
removePolylineByID(e) {
|
|
230
|
+
const t = this.model.getPolylineByID(e);
|
|
231
|
+
t && this.model.removePolyline(t);
|
|
243
232
|
}
|
|
244
|
-
getPolylineByID(
|
|
245
|
-
return this.model.getPolylineByID(
|
|
233
|
+
getPolylineByID(e) {
|
|
234
|
+
return this.model.getPolylineByID(e);
|
|
246
235
|
}
|
|
247
236
|
getEditedPolyline() {
|
|
248
237
|
}
|
|
249
238
|
/**
|
|
250
239
|
* 高亮当前线段
|
|
251
240
|
*/
|
|
252
|
-
highlightLine(
|
|
241
|
+
highlightLine(e) {
|
|
253
242
|
if (this.getCurrentMode() !== "Watch")
|
|
254
243
|
return !1;
|
|
255
|
-
const
|
|
256
|
-
return
|
|
244
|
+
const t = this.model.getLineByID(e);
|
|
245
|
+
return t ? (this.controller.highlightLine(t), !0) : !1;
|
|
257
246
|
}
|
|
258
247
|
clearHighlightLines() {
|
|
259
248
|
return this.getCurrentMode() !== "Watch" ? !1 : (this.controller.clearHighlightLines(), !0);
|
|
@@ -261,22 +250,22 @@ class He {
|
|
|
261
250
|
/** 保存编辑
|
|
262
251
|
* @description 以下情况可能报错
|
|
263
252
|
*/
|
|
264
|
-
save(
|
|
253
|
+
save(e) {
|
|
265
254
|
var o;
|
|
266
|
-
if (!(this.controller instanceof l) && !(this.controller instanceof
|
|
255
|
+
if (!(this.controller instanceof l) && !(this.controller instanceof a))
|
|
267
256
|
return this;
|
|
268
|
-
const
|
|
257
|
+
const t = (o = e == null ? void 0 : e.mode) != null ? o : "View", r = this.controller.model.areas;
|
|
269
258
|
return this.controller instanceof l ? this.controller.complete() : r.forEach((n) => {
|
|
270
259
|
n.showArea(), this.model.addArea(n);
|
|
271
|
-
}), this.changeMode(
|
|
260
|
+
}), this.changeMode(t), this;
|
|
272
261
|
}
|
|
273
262
|
/** Mixed 模式才有用,添加起点 */
|
|
274
263
|
addStartPoint() {
|
|
275
|
-
this.controller instanceof
|
|
264
|
+
this.controller instanceof a && this.hook.emit("willChangeState", "watching", "editing");
|
|
276
265
|
}
|
|
277
266
|
/** Mixed 模式才有用,添加终点 */
|
|
278
267
|
addEndPoint() {
|
|
279
|
-
this.controller instanceof
|
|
268
|
+
this.controller instanceof a && this.hook.emit("willChangeState", "editing", "watching");
|
|
280
269
|
}
|
|
281
270
|
/** 导出数据 */
|
|
282
271
|
toJson() {
|
|
@@ -287,24 +276,24 @@ class He {
|
|
|
287
276
|
* @description 改变插件的模式(pc端模式或移动端模式)
|
|
288
277
|
* @param isMobile true为移动端模式,false为pc端
|
|
289
278
|
*/
|
|
290
|
-
changeIsMobile(
|
|
279
|
+
changeIsMobile(e) {
|
|
291
280
|
}
|
|
292
|
-
changeConfigs(
|
|
293
|
-
var
|
|
294
|
-
Object.assign(this.config,
|
|
281
|
+
changeConfigs(e) {
|
|
282
|
+
var t, r;
|
|
283
|
+
Object.assign(this.config, e), (t = this.controller) == null || t.updateDistanceUI(), (r = this.controller) == null || r.updateAreaUI();
|
|
295
284
|
}
|
|
296
285
|
/** 设置线段的文本 */
|
|
297
|
-
setCustomText(
|
|
286
|
+
setCustomText(e, t) {
|
|
298
287
|
var o;
|
|
299
|
-
const r = this.model.getLineByID(
|
|
288
|
+
const r = this.model.getLineByID(e);
|
|
300
289
|
if (!r)
|
|
301
290
|
throw new Error("不存在的线段");
|
|
302
|
-
r.setText(
|
|
291
|
+
r.setText(t), (o = this.controller) == null || o.updateDistanceUI();
|
|
303
292
|
}
|
|
304
293
|
createControllerParams() {
|
|
305
294
|
var r, o;
|
|
306
|
-
const
|
|
307
|
-
return
|
|
295
|
+
const e = (r = this.params.openParams) != null ? r : {}, t = (o = this.params.editParams) != null ? o : {};
|
|
296
|
+
return e.isMobile = this.isMobile, {
|
|
308
297
|
five: this.five,
|
|
309
298
|
hook: this.hook,
|
|
310
299
|
group: this.group,
|
|
@@ -312,15 +301,15 @@ class He {
|
|
|
312
301
|
config: this.config,
|
|
313
302
|
magnifier: this.magnifier,
|
|
314
303
|
container: this.container,
|
|
315
|
-
openParams:
|
|
316
|
-
editParams:
|
|
304
|
+
openParams: e,
|
|
305
|
+
editParams: t,
|
|
317
306
|
magnifierParams: this.params.magnifierParams,
|
|
318
307
|
getMeasureType: () => this.currentMeasureType,
|
|
319
|
-
mouseGroup: G(
|
|
308
|
+
mouseGroup: G(h({}, e.crossHairParameter)),
|
|
320
309
|
userDistanceItemCreator: this.params.userDistanceItemCreator
|
|
321
310
|
};
|
|
322
311
|
}
|
|
323
312
|
}
|
|
324
313
|
export {
|
|
325
|
-
|
|
314
|
+
Et as default
|
|
326
315
|
};
|
|
@@ -1,22 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var o = (
|
|
4
|
-
import { objectAssignDeepExports as
|
|
1
|
+
var s = Object.defineProperty;
|
|
2
|
+
var r = (i, t, e) => t in i ? s(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
|
+
var o = (i, t, e) => (r(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
+
import { objectAssignDeepExports as p } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
5
5
|
import l from "../Components/Tip.js";
|
|
6
|
-
import "../../vendor/svelte/
|
|
7
|
-
import "../../vendor/svelte/
|
|
8
|
-
import "../../vendor/svelte/
|
|
9
|
-
|
|
10
|
-
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
11
|
-
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
12
|
-
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
13
|
-
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
14
|
-
import "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
15
|
-
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
16
|
-
import "../../vendor/svelte/src/shared/version.js";
|
|
17
|
-
import "../../vendor/svelte/src/runtime/transition/index.js";
|
|
18
|
-
import "../../vendor/svelte/src/runtime/easing/index.js";
|
|
19
|
-
const m = {
|
|
6
|
+
import "../../vendor/svelte/internal/index.js";
|
|
7
|
+
import "../../vendor/svelte/transition/index.js";
|
|
8
|
+
import "../../vendor/svelte/easing/index.js";
|
|
9
|
+
const n = {
|
|
20
10
|
line: {
|
|
21
11
|
start: "选择一个合适的位置开始测量,点击【结束】或【鼠标右键】结束测量"
|
|
22
12
|
},
|
|
@@ -24,7 +14,7 @@ const m = {
|
|
|
24
14
|
start: "选择一个合适的位置开始绘制平面",
|
|
25
15
|
close: "选择3个点后将闭合平面,点击【结束】或【鼠标右键】将自动闭合"
|
|
26
16
|
}
|
|
27
|
-
},
|
|
17
|
+
}, c = {
|
|
28
18
|
line: {
|
|
29
19
|
start: ""
|
|
30
20
|
},
|
|
@@ -33,17 +23,17 @@ const m = {
|
|
|
33
23
|
close: "选择3个点后将闭合平面,点击结束自动闭合"
|
|
34
24
|
}
|
|
35
25
|
};
|
|
36
|
-
class
|
|
37
|
-
constructor(t,
|
|
26
|
+
class D {
|
|
27
|
+
constructor(t, e) {
|
|
38
28
|
o(this, "tipSvelteDom");
|
|
39
29
|
this.tipSvelteDom = new l({
|
|
40
|
-
target:
|
|
30
|
+
target: e.container,
|
|
41
31
|
props: {
|
|
42
32
|
measureController: t,
|
|
43
|
-
tips:
|
|
44
|
-
i18n:
|
|
33
|
+
tips: p({}, e.pointSelectorMode === "fixed" ? c : n, e.tips),
|
|
34
|
+
i18n: e.i18n,
|
|
45
35
|
visible: !0,
|
|
46
|
-
tipStyle:
|
|
36
|
+
tipStyle: e.tipStyle
|
|
47
37
|
}
|
|
48
38
|
});
|
|
49
39
|
}
|
|
@@ -61,5 +51,5 @@ class j {
|
|
|
61
51
|
}
|
|
62
52
|
}
|
|
63
53
|
export {
|
|
64
|
-
|
|
54
|
+
D as GuideController
|
|
65
55
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var a = Object.defineProperty;
|
|
2
2
|
var h = (r, o, t) => o in r ? a(r, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[o] = t;
|
|
3
|
-
var
|
|
3
|
+
var e = (r, o, t) => (h(r, typeof o != "symbol" ? o + "" : o, t), t);
|
|
4
4
|
import d from "./HTML.js";
|
|
5
5
|
import u from "./mobileHTML.js";
|
|
6
6
|
import { controllerBackgroundStyle as y, operatingSpaceStyle as f, uiWrapperStyle as v, textStyle as C, exitItemStyle as E, exitIconStyle as x } from "./style.js";
|
|
@@ -9,19 +9,8 @@ import { MobileMainBtnController as g } from "./mobileMainBtnController.js";
|
|
|
9
9
|
import w from "./Revoke/index.js";
|
|
10
10
|
import _ from "../../Components/Controller0.js";
|
|
11
11
|
import b from "../../Components/Controller1.js";
|
|
12
|
-
import "../../../vendor/svelte/
|
|
13
|
-
import "../../../vendor/svelte/src/runtime/internal/dom.js";
|
|
14
|
-
import "../../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
15
|
-
import "../../../vendor/svelte/src/runtime/internal/environment.js";
|
|
16
|
-
import "../../../vendor/svelte/src/runtime/internal/loop.js";
|
|
17
|
-
import "../../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
18
|
-
import "../../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
19
|
-
import "../../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
20
|
-
import "../../../vendor/svelte/src/runtime/internal/Component.js";
|
|
21
|
-
import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
22
|
-
import "../../../vendor/svelte/src/shared/version.js";
|
|
12
|
+
import "../../../vendor/svelte/internal/index.js";
|
|
23
13
|
import "../../Components/Common/Switcher0.js";
|
|
24
|
-
import "../../../vendor/svelte/src/runtime/internal/each.js";
|
|
25
14
|
import "../../Components/Common/Exit.js";
|
|
26
15
|
import "../../Controller/EditController.js";
|
|
27
16
|
import "../../Model/line.js";
|
|
@@ -91,44 +80,44 @@ import "../../utils/math.js";
|
|
|
91
80
|
import "../../Components/Common/icons/index.js";
|
|
92
81
|
import "../../Components/Common/Switcher1.js";
|
|
93
82
|
import "../../Components/Common/CircleButton.js";
|
|
94
|
-
import "../../../vendor/svelte/
|
|
95
|
-
import "../../../vendor/svelte/
|
|
96
|
-
class
|
|
83
|
+
import "../../../vendor/svelte/transition/index.js";
|
|
84
|
+
import "../../../vendor/svelte/easing/index.js";
|
|
85
|
+
class to {
|
|
97
86
|
constructor(o, t) {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
87
|
+
e(this, "revoke");
|
|
88
|
+
e(this, "container");
|
|
89
|
+
e(this, "mainController");
|
|
90
|
+
e(this, "disposers", []);
|
|
91
|
+
e(this, "measureController");
|
|
92
|
+
e(this, "mode");
|
|
93
|
+
e(this, "svelteDom");
|
|
94
|
+
e(this, "_params");
|
|
95
|
+
e(this, "handleExit", () => {
|
|
107
96
|
const o = this.container.querySelector(".fpm__exit-icon"), t = this.container.querySelector(".fpm__exit");
|
|
108
97
|
if (!t || !o)
|
|
109
98
|
throw new Error("cannot find dom");
|
|
110
99
|
this.mode === "pc" && (Object.assign(t.style, E), Object.assign(o == null ? void 0 : o.style, x));
|
|
111
|
-
const
|
|
100
|
+
const i = () => {
|
|
112
101
|
t.style.opacity = "1";
|
|
113
102
|
}, s = () => {
|
|
114
103
|
t.style.opacity = "0.85";
|
|
115
104
|
}, n = () => {
|
|
116
105
|
this.measureController.disable();
|
|
117
106
|
};
|
|
118
|
-
return t.addEventListener("click", n), t.addEventListener("mouseenter",
|
|
119
|
-
t.removeEventListener("click", n), t.removeEventListener("mouseenter",
|
|
107
|
+
return t.addEventListener("click", n), t.addEventListener("mouseenter", i), t.addEventListener("mouseleave", s), () => {
|
|
108
|
+
t.removeEventListener("click", n), t.removeEventListener("mouseenter", i), t.removeEventListener("mouseleave", s);
|
|
120
109
|
};
|
|
121
110
|
});
|
|
122
111
|
var s, n;
|
|
123
112
|
this._params = t, this.measureController = o, this.mode = (s = t.mode) != null ? s : "pc", this.container = document.createElement("div"), this.container.innerHTML = this.mode === "mobile" ? u : d, this.container.classList.add("fpm__ui-controller", this.mode), this.container.style.background = "rgba(0, 0, 0, 0.15)";
|
|
124
|
-
const
|
|
125
|
-
if (
|
|
113
|
+
const i = (n = t.useNewUI) != null ? n : !1;
|
|
114
|
+
if (i && (t.pointSelectorMode === "cursor" ? this.svelteDom = new _({
|
|
126
115
|
target: t.container,
|
|
127
116
|
props: { measureController: this.measureController, i18n: t.i18n, showExit: t.showExit }
|
|
128
117
|
}) : t.pointSelectorMode === "fixed" && (this.svelteDom = new b({
|
|
129
118
|
target: t.container,
|
|
130
119
|
props: { measureController: this.measureController, i18n: t.i18n, showExit: t.showExit }
|
|
131
|
-
}))), !
|
|
120
|
+
}))), !i) {
|
|
132
121
|
t.container.appendChild(this.container);
|
|
133
122
|
const l = this.container.querySelectorAll(".fpm__text"), m = this.container.querySelector(".fpm_ui-bg"), p = this.container.querySelector(".fpm_operating-space");
|
|
134
123
|
Object.assign(m == null ? void 0 : m.style, y), Object.assign(p == null ? void 0 : p.style, f), Object.assign(this.container.style, v), l.forEach((c) => Object.assign(c.style, C));
|
|
@@ -143,9 +132,9 @@ class ao {
|
|
|
143
132
|
}
|
|
144
133
|
hide() {
|
|
145
134
|
var o, t;
|
|
146
|
-
return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((o = this.revoke) == null || o.dispose()), (t = this.mainController) == null || t.dispose(), this.disposers.forEach((
|
|
135
|
+
return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((o = this.revoke) == null || o.dispose()), (t = this.mainController) == null || t.dispose(), this.disposers.forEach((i) => i()), this.disposers = [], this;
|
|
147
136
|
}
|
|
148
137
|
}
|
|
149
138
|
export {
|
|
150
|
-
|
|
139
|
+
to as UIController
|
|
151
140
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import t from "./Controller/index.js";
|
|
2
|
-
import { default as
|
|
3
|
-
import { Model as
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
6
|
-
import { Polyline as
|
|
2
|
+
import { default as Yo } from "./Modules/Magnifier.js";
|
|
3
|
+
import { Model as _o } from "./Model/index.js";
|
|
4
|
+
import { default as or } from "./Model/point.js";
|
|
5
|
+
import { default as tr } from "./Model/line.js";
|
|
6
|
+
import { Polyline as mr } from "./Model/polyline.js";
|
|
7
7
|
import "./Controller/EditController.js";
|
|
8
8
|
import "../shared-utils/throttle.js";
|
|
9
9
|
import "./Controller/BaseController.js";
|
|
@@ -85,40 +85,29 @@ import "./Modules/UIController/MainBtnController.js";
|
|
|
85
85
|
import "./Modules/UIController/mobileMainBtnController.js";
|
|
86
86
|
import "./Modules/UIController/Revoke/index.js";
|
|
87
87
|
import "./Components/Controller0.js";
|
|
88
|
-
import "../vendor/svelte/
|
|
89
|
-
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
90
|
-
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
91
|
-
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
92
|
-
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
93
|
-
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
94
|
-
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
95
|
-
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
96
|
-
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
97
|
-
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
98
|
-
import "../vendor/svelte/src/shared/version.js";
|
|
88
|
+
import "../vendor/svelte/internal/index.js";
|
|
99
89
|
import "./Components/Common/Switcher0.js";
|
|
100
|
-
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
101
90
|
import "./Components/Common/Exit.js";
|
|
102
91
|
import "./Components/Common/icons/index.js";
|
|
103
92
|
import "./Components/Controller1.js";
|
|
104
93
|
import "./Components/Common/Switcher1.js";
|
|
105
94
|
import "./Components/Common/CircleButton.js";
|
|
106
|
-
import "../vendor/svelte/
|
|
107
|
-
import "../vendor/svelte/
|
|
95
|
+
import "../vendor/svelte/transition/index.js";
|
|
96
|
+
import "../vendor/svelte/easing/index.js";
|
|
108
97
|
import "./Modules/GuideController.js";
|
|
109
98
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
110
99
|
import "./Components/Tip.js";
|
|
111
100
|
import "./Controller/ShortcutKeyController.js";
|
|
112
101
|
import "../shared-utils/safeObj.js";
|
|
113
|
-
const
|
|
102
|
+
const Vo = function(o, r) {
|
|
114
103
|
return new t(o, r);
|
|
115
104
|
};
|
|
116
105
|
export {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
106
|
+
Yo as Magnifier,
|
|
107
|
+
Vo as PanoMeasurePlugin,
|
|
108
|
+
tr as PanoMeasurePluginLine,
|
|
109
|
+
_o as PanoMeasurePluginModel,
|
|
110
|
+
or as PanoMeasurePluginPoint,
|
|
111
|
+
mr as PanoMeasurePluginPolyline,
|
|
112
|
+
Vo as default
|
|
124
113
|
};
|