@realsee/dnalogel 3.36.3 → 3.36.4
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 +3 -0
- package/dist/CSS3DRenderPlugin/Controller.d.ts +1 -3
- package/dist/CruisePlugin/BaseController.d.ts +0 -3
- package/dist/GuideLinePlugin/Controller.d.ts +0 -4
- package/dist/ModelMakerPlugin/Controller.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +0 -4
- package/dist/base/BasePlugin.d.ts +6 -0
- package/dist/index.cjs.js +30 -30
- package/dist/index.js +929 -937
- package/dist/index.umd.js +29 -29
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +50 -12
- 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 +54 -11
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/MoveController.html +37 -21
- package/docs/classes/Object3DHelperController.html +58 -15
- 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 +31 -23
- 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 +37 -21
- 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 +4 -4
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
- 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 +4 -4
- 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 +5 -5
- 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 +5 -5
- 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 +4 -4
- 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 +5 -5
- 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 +6 -6
- 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 +5 -2
- package/libs/AreaMakerPlugin/index.js +5 -2
- package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -3
- package/libs/CruisePlugin/BaseController.d.ts +0 -3
- package/libs/CruisePlugin/BaseController.js +23 -30
- package/libs/CruisePlugin/Move.js +3 -3
- package/libs/CruisePlugin/Work.js +3 -3
- package/libs/CruisePlugin/index.js +3 -3
- package/libs/CurrentPanoImagePlugin/Controller.js +13 -10
- package/libs/CurrentPanoImagePlugin/index.js +6 -3
- package/libs/GuideLinePlugin/Controller.d.ts +0 -4
- package/libs/GuideLinePlugin/Controller.js +34 -41
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -3
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -3
- package/libs/GuideLinePlugin/index.js +3 -3
- package/libs/ModelMakerPlugin/Controller.d.ts +1 -0
- package/libs/ModelMakerPlugin/Controller.js +24 -18
- package/libs/ModelMakerPlugin/index.js +5 -2
- package/libs/Object3DHelperPlugin/Controller.js +13 -10
- package/libs/Object3DHelperPlugin/index.js +8 -5
- package/libs/PanoCompassPlugin/Controller.js +5 -2
- package/libs/PanoCompassPlugin/index.js +6 -3
- package/libs/PanoDoorLabelPlugin/BaseController.js +13 -10
- package/libs/PanoDoorLabelPlugin/Controller.js +5 -2
- package/libs/PanoDoorLabelPlugin/index.js +6 -3
- package/libs/PanoTagPlugin/controller/TagCache.js +19 -16
- package/libs/PanoTagPlugin/controller/TagComputer.js +3 -3
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -3
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +0 -4
- package/libs/PanoTagPlugin/controller/TagUtil.js +59 -66
- package/libs/PanoTagPlugin/controller/index.js +3 -3
- package/libs/PanoTagPlugin/index.js +3 -3
- package/libs/PanoVideoPlugin/Controller.js +44 -41
- package/libs/PanoVideoPlugin/index.js +8 -5
- package/libs/PipelinePlugin/Controller.js +33 -30
- package/libs/PipelinePlugin/index.js +6 -3
- package/libs/base/BasePlugin.d.ts +6 -0
- package/libs/base/BasePlugin.js +24 -13
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +5 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +6 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +5 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +6 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +6 -3
- package/libs/index.js +3 -3
- package/libs/shared-utils/Utils/WorkUtil.js +14 -14
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.36.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.36.4</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.36.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.36.4</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-content">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<div class="tsd-theme-toggle">
|
|
39
39
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
40
40
|
<div class="site-menu">
|
|
41
|
-
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.36.
|
|
41
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.36.4</span></a>
|
|
42
42
|
<ul class="tsd-small-nested-navigation">
|
|
43
43
|
<li><a href="../modules.html#CruisePluginController"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g></svg><span>Cruise<wbr/>Plugin<wbr/>Controller</span></a></li>
|
|
44
44
|
<li><a href="../modules.html#Magnifier"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8388608"></use></svg><span>Magnifier</span></a></li>
|
|
@@ -40,6 +40,9 @@ import { AreaMakerItem as D } from "./utils/Item.js";
|
|
|
40
40
|
import "../base/BasePlugin.js";
|
|
41
41
|
import "../shared-utils/Subscribe.js";
|
|
42
42
|
import "../shared-utils/url/absoluteUrl.js";
|
|
43
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
44
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
45
|
+
import "../shared-utils/five/transformPosition.js";
|
|
43
46
|
import "../shared-utils/positionToVector3.js";
|
|
44
47
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
45
48
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -63,7 +66,7 @@ import "../vendor/svelte/internal/index.js";
|
|
|
63
66
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
64
67
|
import "../shared-utils/math/planimetry.js";
|
|
65
68
|
import "../shared-utils/dom/resizeObserver.js";
|
|
66
|
-
class
|
|
69
|
+
class ut extends k {
|
|
67
70
|
/** AreaMakerPlugin
|
|
68
71
|
* @param `five` `<Five>` Five 实例
|
|
69
72
|
* @param `params` `<PluginType.Params> | <undefined>` 插件初始化参数
|
|
@@ -338,5 +341,5 @@ class dt extends k {
|
|
|
338
341
|
}
|
|
339
342
|
}
|
|
340
343
|
export {
|
|
341
|
-
|
|
344
|
+
ut as Controller
|
|
342
345
|
};
|
|
@@ -23,6 +23,9 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
24
24
|
import "animejs";
|
|
25
25
|
import "../shared-utils/url/absoluteUrl.js";
|
|
26
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
27
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
28
|
+
import "../shared-utils/five/transformPosition.js";
|
|
26
29
|
import "../shared-utils/equal.js";
|
|
27
30
|
import "../shared-utils/isTruelyObject.js";
|
|
28
31
|
import "./utils/Item.js";
|
|
@@ -35,7 +38,7 @@ import "../vendor/svelte/internal/index.js";
|
|
|
35
38
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
36
39
|
import "../shared-utils/math/planimetry.js";
|
|
37
40
|
import "../shared-utils/dom/resizeObserver.js";
|
|
38
|
-
const
|
|
41
|
+
const R = (r, o) => new t(r, o);
|
|
39
42
|
export {
|
|
40
|
-
|
|
43
|
+
R as AreaMakerPlugin
|
|
41
44
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import type * as BasePlugin from '../base/BasePlugin';
|
|
2
1
|
import type { Five } from '@realsee/five';
|
|
3
2
|
import { CSS3DRender } from './utils/three/CSS3DRender';
|
|
4
|
-
import type { CSS3DRenderEventMap, CSS3DRenderState } from './utils/three/CSS3DRender';
|
|
5
3
|
import type { AnyPosition } from './utils';
|
|
6
4
|
export declare const PLUGIN_NAME: string;
|
|
7
5
|
export interface Create3DDomContainerParamsType {
|
|
@@ -22,7 +20,7 @@ export interface Create3DDomContainerParamsType {
|
|
|
22
20
|
behindFiveContainer?: HTMLElement;
|
|
23
21
|
});
|
|
24
22
|
}
|
|
25
|
-
export default class Controller extends CSS3DRender
|
|
23
|
+
export default class Controller extends CSS3DRender {
|
|
26
24
|
five: Five;
|
|
27
25
|
behindFiveContainer?: Element;
|
|
28
26
|
frontFiveContainer?: Element;
|
|
@@ -8,10 +8,7 @@ import { FiveUtil } from '../shared-utils/Utils/FiveUtil';
|
|
|
8
8
|
export declare const pluginFlag: (name: string) => string;
|
|
9
9
|
export default abstract class CruiseController<PluginData, Config = unknown> extends BasePlugin.Controller<PluginState, EventMap> {
|
|
10
10
|
state: PluginState;
|
|
11
|
-
set workCode(workCode: string);
|
|
12
|
-
get workCode(): string;
|
|
13
11
|
protected fiveUtil: FiveUtil;
|
|
14
|
-
protected workUtil: import("../shared-utils/Utils/WorkUtil").WorkUtil;
|
|
15
12
|
protected data?: PluginData & {
|
|
16
13
|
id: string | number;
|
|
17
14
|
};
|
|
@@ -11,25 +11,25 @@ var p = (a, s, e) => s in a ? c(a, s, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
};
|
|
12
12
|
var d = (a, s, e) => (p(a, typeof s != "symbol" ? s + "" : s, e), e);
|
|
13
13
|
var u = (a, s, e) => new Promise((i, t) => {
|
|
14
|
-
var r = (
|
|
14
|
+
var r = (h) => {
|
|
15
15
|
try {
|
|
16
|
-
|
|
17
|
-
} catch (
|
|
18
|
-
t(
|
|
16
|
+
n(e.next(h));
|
|
17
|
+
} catch (o) {
|
|
18
|
+
t(o);
|
|
19
19
|
}
|
|
20
|
-
}, b = (
|
|
20
|
+
}, b = (h) => {
|
|
21
21
|
try {
|
|
22
|
-
|
|
23
|
-
} catch (
|
|
24
|
-
t(
|
|
22
|
+
n(e.throw(h));
|
|
23
|
+
} catch (o) {
|
|
24
|
+
t(o);
|
|
25
25
|
}
|
|
26
|
-
},
|
|
27
|
-
|
|
26
|
+
}, n = (h) => h.done ? i(h.value) : Promise.resolve(h.value).then(r, b);
|
|
27
|
+
n((e = e.apply(a, s)).next());
|
|
28
28
|
});
|
|
29
|
-
import { Controller as
|
|
30
|
-
import { equal as
|
|
31
|
-
import { objectAssignDeepExports as
|
|
32
|
-
import { FiveUtil as
|
|
29
|
+
import { Controller as y } from "../base/BasePlugin.js";
|
|
30
|
+
import { equal as L } from "../shared-utils/equal.js";
|
|
31
|
+
import { objectAssignDeepExports as C } from "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
32
|
+
import { FiveUtil as P } from "../shared-utils/Utils/FiveUtil.js";
|
|
33
33
|
import "../shared-utils/Subscribe.js";
|
|
34
34
|
import "hammerjs";
|
|
35
35
|
import "three";
|
|
@@ -52,12 +52,12 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
52
52
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
53
53
|
import "animejs";
|
|
54
54
|
import "../shared-utils/url/absoluteUrl.js";
|
|
55
|
-
import "../shared-utils/isTruelyObject.js";
|
|
56
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
57
55
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
56
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
58
57
|
import "../shared-utils/five/transformPosition.js";
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
import "../shared-utils/isTruelyObject.js";
|
|
59
|
+
const m = "CruisePlugin", l = `${m}`, ie = (a) => `${l}--${a}`;
|
|
60
|
+
class te extends y {
|
|
61
61
|
constructor(e, i) {
|
|
62
62
|
super(e, i);
|
|
63
63
|
d(this, "state", {
|
|
@@ -67,8 +67,7 @@ class te extends w {
|
|
|
67
67
|
playing: !1,
|
|
68
68
|
speed: 1
|
|
69
69
|
});
|
|
70
|
-
d(this, "fiveUtil", new
|
|
71
|
-
d(this, "workUtil", this.fiveUtil.workUtil);
|
|
70
|
+
d(this, "fiveUtil", new P(this.five));
|
|
72
71
|
d(this, "data");
|
|
73
72
|
d(this, "config");
|
|
74
73
|
d(this, "pauseDataMap", /* @__PURE__ */ new Map());
|
|
@@ -79,22 +78,16 @@ class te extends w {
|
|
|
79
78
|
});
|
|
80
79
|
d(this, "GuideLine");
|
|
81
80
|
d(this, "disposedErrorLog", () => {
|
|
82
|
-
console.error(`${
|
|
81
|
+
console.error(`${l} is disposed`);
|
|
83
82
|
});
|
|
84
83
|
d(this, "disableWarnLog", () => {
|
|
85
|
-
console.warn(`${
|
|
84
|
+
console.warn(`${l} is disabled`);
|
|
86
85
|
});
|
|
87
86
|
d(this, "disableErrorLog", () => {
|
|
88
|
-
console.error(`${
|
|
87
|
+
console.error(`${l} is disabled`);
|
|
89
88
|
});
|
|
90
89
|
this.config = i, Object.assign(window, { [`__${m}_DEBUG__`]: this });
|
|
91
90
|
}
|
|
92
|
-
set workCode(e) {
|
|
93
|
-
this.fiveUtil.workUtil.workCode = e;
|
|
94
|
-
}
|
|
95
|
-
get workCode() {
|
|
96
|
-
return this.fiveUtil.workUtil.workCode;
|
|
97
|
-
}
|
|
98
91
|
/**
|
|
99
92
|
* @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
|
|
100
93
|
*/
|
|
@@ -151,7 +144,7 @@ class te extends w {
|
|
|
151
144
|
if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
|
|
152
145
|
return this.disableErrorLog();
|
|
153
146
|
const t = g({}, this.state);
|
|
154
|
-
this.state =
|
|
147
|
+
this.state = C({}, this.state, e), e.disposed !== void 0 && e.disposed !== t.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== t.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== t.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), e.playing !== void 0 && e.playing !== t.playing && this.changePlayState(e.playing, i), e.speed !== void 0 && e.speed !== t.speed && this.changeSpeed(e.speed), L(t, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: t, userAction: (r = i == null ? void 0 : i.userAction) != null ? r : !0 });
|
|
155
148
|
}
|
|
156
149
|
/**
|
|
157
150
|
* @description Clear pause data
|
|
@@ -43,12 +43,12 @@ import M from "../GuideLinePlugin/index.js";
|
|
|
43
43
|
import "../base/BasePlugin.js";
|
|
44
44
|
import "../shared-utils/Subscribe.js";
|
|
45
45
|
import "../shared-utils/url/absoluteUrl.js";
|
|
46
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
47
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
48
|
+
import "../shared-utils/five/transformPosition.js";
|
|
46
49
|
import "../shared-utils/equal.js";
|
|
47
50
|
import "../shared-utils/isTruelyObject.js";
|
|
48
51
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
49
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
50
|
-
import "../shared-utils/Utils/WorkUtil.js";
|
|
51
|
-
import "../shared-utils/five/transformPosition.js";
|
|
52
52
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
53
53
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
54
54
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -48,6 +48,9 @@ import "../base/BasePluginWithData.js";
|
|
|
48
48
|
import "../base/BasePlugin.js";
|
|
49
49
|
import "../shared-utils/Subscribe.js";
|
|
50
50
|
import "../shared-utils/url/absoluteUrl.js";
|
|
51
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
52
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
53
|
+
import "../shared-utils/five/transformPosition.js";
|
|
51
54
|
import "../shared-utils/equal.js";
|
|
52
55
|
import "../shared-utils/isTruelyObject.js";
|
|
53
56
|
import "../GuideLinePlugin/GuideLineItem/index.js";
|
|
@@ -116,9 +119,6 @@ import "../shared-utils/five/calculateThreeMouse.js";
|
|
|
116
119
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
117
120
|
import "../shared-utils/typescript/entries.js";
|
|
118
121
|
import "../shared-utils/url/getUrl.js";
|
|
119
|
-
import "../shared-utils/five/transformPosition.js";
|
|
120
|
-
import "../shared-utils/Utils/WorkUtil.js";
|
|
121
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
122
122
|
import "../shared-utils/five/getFloorIndex.js";
|
|
123
123
|
import "../shared-utils/safeObj.js";
|
|
124
124
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
@@ -27,6 +27,9 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
27
27
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
28
28
|
import "animejs";
|
|
29
29
|
import "../shared-utils/url/absoluteUrl.js";
|
|
30
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
31
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
32
|
+
import "../shared-utils/five/transformPosition.js";
|
|
30
33
|
import "../shared-utils/equal.js";
|
|
31
34
|
import "../shared-utils/isTruelyObject.js";
|
|
32
35
|
import "../GuideLinePlugin/GuideLineItem/index.js";
|
|
@@ -83,9 +86,6 @@ import "../shared-utils/five/calculateThreeMouse.js";
|
|
|
83
86
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
84
87
|
import "../shared-utils/typescript/entries.js";
|
|
85
88
|
import "../shared-utils/url/getUrl.js";
|
|
86
|
-
import "../shared-utils/five/transformPosition.js";
|
|
87
|
-
import "../shared-utils/Utils/WorkUtil.js";
|
|
88
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
89
89
|
import "../shared-utils/five/getFloorIndex.js";
|
|
90
90
|
import "../shared-utils/safeObj.js";
|
|
91
91
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
var g = Object.defineProperty;
|
|
2
2
|
var m = Object.getOwnPropertySymbols;
|
|
3
3
|
var v = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var
|
|
4
|
+
var c = (r, o, e) => o in r ? g(r, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[o] = e, l = (r, o) => {
|
|
5
5
|
for (var e in o || (o = {}))
|
|
6
|
-
v.call(o, e) &&
|
|
6
|
+
v.call(o, e) && c(r, e, o[e]);
|
|
7
7
|
if (m)
|
|
8
8
|
for (var e of m(o))
|
|
9
|
-
b.call(o, e) &&
|
|
9
|
+
b.call(o, e) && c(r, e, o[e]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
|
-
var n = (r, o, e) => (
|
|
12
|
+
var n = (r, o, e) => (c(r, typeof o != "symbol" ? o + "" : o, e), e);
|
|
13
13
|
var f = (r, o, e) => new Promise((i, t) => {
|
|
14
14
|
var s = (d) => {
|
|
15
15
|
try {
|
|
16
16
|
u(e.next(d));
|
|
17
|
-
} catch (
|
|
18
|
-
t(
|
|
17
|
+
} catch (p) {
|
|
18
|
+
t(p);
|
|
19
19
|
}
|
|
20
20
|
}, a = (d) => {
|
|
21
21
|
try {
|
|
22
22
|
u(e.throw(d));
|
|
23
|
-
} catch (
|
|
24
|
-
t(
|
|
23
|
+
} catch (p) {
|
|
24
|
+
t(p);
|
|
25
25
|
}
|
|
26
26
|
}, u = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, a);
|
|
27
27
|
u((e = e.apply(r, o)).next());
|
|
@@ -39,6 +39,9 @@ import { equal as w } from "../shared-utils/equal.js";
|
|
|
39
39
|
import { loadTexture as P } from "../shared-utils/three/loadTexture.js";
|
|
40
40
|
import "../shared-utils/Subscribe.js";
|
|
41
41
|
import "../shared-utils/url/absoluteUrl.js";
|
|
42
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
43
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
44
|
+
import "../shared-utils/five/transformPosition.js";
|
|
42
45
|
import "../shared-utils/animationFrame/index.js";
|
|
43
46
|
import "../shared-utils/positionToVector3.js";
|
|
44
47
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -54,7 +57,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
54
57
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
55
58
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
56
59
|
import "../shared-utils/isTruelyObject.js";
|
|
57
|
-
class
|
|
60
|
+
class ee extends M {
|
|
58
61
|
constructor(e, i) {
|
|
59
62
|
super(e);
|
|
60
63
|
// ==================== public properties ====================
|
|
@@ -281,5 +284,5 @@ class N extends M {
|
|
|
281
284
|
}
|
|
282
285
|
}
|
|
283
286
|
export {
|
|
284
|
-
|
|
287
|
+
ee as CurrentPanoImagePluginController
|
|
285
288
|
};
|
|
@@ -22,13 +22,16 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
23
23
|
import "animejs";
|
|
24
24
|
import "../shared-utils/url/absoluteUrl.js";
|
|
25
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
26
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
27
|
+
import "../shared-utils/five/transformPosition.js";
|
|
25
28
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
26
29
|
import "../shared-utils/animationFrame/index.js";
|
|
27
30
|
import "../shared-utils/equal.js";
|
|
28
31
|
import "../shared-utils/isTruelyObject.js";
|
|
29
32
|
import "../shared-utils/three/loadTexture.js";
|
|
30
|
-
const
|
|
33
|
+
const H = (r, o) => new t(r, o);
|
|
31
34
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
35
|
+
H as CurrentPanoImagePlugin,
|
|
36
|
+
H as default
|
|
34
37
|
};
|
|
@@ -5,14 +5,10 @@ import type * as PluginType from './typing';
|
|
|
5
5
|
import type { Config } from '../base/BasePlugin';
|
|
6
6
|
import { GuideLineItem } from './GuideLineItem';
|
|
7
7
|
import CruisePluginController from '../CruisePlugin/Work';
|
|
8
|
-
import { WorkUtil } from '../shared-utils/Utils/WorkUtil';
|
|
9
8
|
export declare const pluginFlag: (name: string) => string;
|
|
10
9
|
export default class Controller extends BasePluginWithData.Controller<PluginState, EventMap, PluginServerData, PluginData> {
|
|
11
10
|
readonly name = "GuideLinePlugin";
|
|
12
11
|
readonly cruisePlugin: CruisePluginController;
|
|
13
|
-
set workCode(workCode: string);
|
|
14
|
-
get workCode(): string;
|
|
15
|
-
workUtils: WorkUtil;
|
|
16
12
|
/** GuideLineItem 索引 */
|
|
17
13
|
readonly itemMap: Map<string | number, GuideLineItem>;
|
|
18
14
|
get config(): Config;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var c = (s, o, t) => o in s ?
|
|
1
|
+
var C = Object.defineProperty;
|
|
2
|
+
var T = Object.getOwnPropertySymbols;
|
|
3
|
+
var M = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var c = (s, o, t) => o in s ? C(s, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[o] = t, f = (s, o) => {
|
|
5
5
|
for (var t in o || (o = {}))
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var t of
|
|
9
|
-
|
|
6
|
+
M.call(o, t) && c(s, t, o[t]);
|
|
7
|
+
if (T)
|
|
8
|
+
for (var t of T(o))
|
|
9
|
+
O.call(o, t) && c(s, t, o[t]);
|
|
10
10
|
return s;
|
|
11
11
|
};
|
|
12
12
|
var h = (s, o, t) => (c(s, typeof o != "symbol" ? o + "" : o, t), t);
|
|
@@ -26,24 +26,26 @@ var u = (s, o, t) => new Promise((i, a) => {
|
|
|
26
26
|
}, r = (p) => p.done ? i(p.value) : Promise.resolve(p.value).then(m, e);
|
|
27
27
|
r((t = t.apply(s, o)).next());
|
|
28
28
|
});
|
|
29
|
-
import { Controller as
|
|
30
|
-
import { equal as
|
|
31
|
-
import { GuideLineItem as
|
|
32
|
-
import
|
|
33
|
-
import { objectAssignDeepExports as
|
|
34
|
-
import * as
|
|
35
|
-
import { waitFiveLoaded as
|
|
36
|
-
import { WorkUtil as $ } from "../shared-utils/Utils/WorkUtil.js";
|
|
29
|
+
import { Controller as k } from "../base/BasePluginWithData.js";
|
|
30
|
+
import { equal as x } from "../shared-utils/equal.js";
|
|
31
|
+
import { GuideLineItem as N } from "./GuideLineItem/index.js";
|
|
32
|
+
import $ from "../CruisePlugin/Work.js";
|
|
33
|
+
import { objectAssignDeepExports as A } from "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
34
|
+
import * as G from "three";
|
|
35
|
+
import { waitFiveLoaded as P } from "../shared-utils/five/fiveLoaded.js";
|
|
37
36
|
import "hammerjs";
|
|
38
37
|
import "@realsee/five";
|
|
39
38
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
40
39
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
41
40
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
42
41
|
import "animejs";
|
|
43
|
-
import { uuid as
|
|
42
|
+
import { uuid as W } from "../shared-utils/uuid.js";
|
|
44
43
|
import "../base/BasePlugin.js";
|
|
45
44
|
import "../shared-utils/Subscribe.js";
|
|
46
45
|
import "../shared-utils/url/absoluteUrl.js";
|
|
46
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
47
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
48
|
+
import "../shared-utils/five/transformPosition.js";
|
|
47
49
|
import "../shared-utils/isTruelyObject.js";
|
|
48
50
|
import "./GuideLineModeItem/index.js";
|
|
49
51
|
import "../shared-utils/log.js";
|
|
@@ -110,7 +112,6 @@ import "../shared-utils/five/calculateThreeMouse.js";
|
|
|
110
112
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
111
113
|
import "../shared-utils/typescript/entries.js";
|
|
112
114
|
import "../shared-utils/url/getUrl.js";
|
|
113
|
-
import "../shared-utils/five/transformPosition.js";
|
|
114
115
|
import "../shared-utils/five/getFloorIndex.js";
|
|
115
116
|
import "../shared-utils/safeObj.js";
|
|
116
117
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
@@ -196,7 +197,6 @@ import "../shared-utils/nearlyEqual.js";
|
|
|
196
197
|
import "../CruisePlugin/Move.js";
|
|
197
198
|
import "../CruisePlugin/BaseController.js";
|
|
198
199
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
199
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
200
200
|
import "../CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
201
201
|
import "../shared-utils/vectorToCoordinate.js";
|
|
202
202
|
import "../shared-utils/formatRad.js";
|
|
@@ -205,13 +205,12 @@ import "./Controller.js";
|
|
|
205
205
|
import "../CruisePlugin/utils/coordinatesAngle.js";
|
|
206
206
|
import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
207
207
|
import "../CruisePlugin/utils/safeCall.js";
|
|
208
|
-
const b = "GuideLinePlugin", g = `${b}`,
|
|
209
|
-
class
|
|
208
|
+
const b = "GuideLinePlugin", g = `${b}`, ee = (s) => `${g}--${s}`;
|
|
209
|
+
class oe extends k {
|
|
210
210
|
constructor(t, i) {
|
|
211
211
|
super(t, i);
|
|
212
212
|
h(this, "name", b);
|
|
213
213
|
h(this, "cruisePlugin");
|
|
214
|
-
h(this, "workUtils", new $(this.five));
|
|
215
214
|
/** GuideLineItem 索引 */
|
|
216
215
|
h(this, "itemMap", /* @__PURE__ */ new Map());
|
|
217
216
|
h(this, "state", {
|
|
@@ -226,13 +225,7 @@ class me extends O {
|
|
|
226
225
|
h(this, "disposedErrorLog", () => {
|
|
227
226
|
console.error(`${g} is disposed`);
|
|
228
227
|
});
|
|
229
|
-
this._config = i != null ? i : {}, this.cruisePlugin = new
|
|
230
|
-
}
|
|
231
|
-
set workCode(t) {
|
|
232
|
-
this.workUtils.workCode = t;
|
|
233
|
-
}
|
|
234
|
-
get workCode() {
|
|
235
|
-
return this.workUtils.workCode;
|
|
228
|
+
this._config = i != null ? i : {}, this.cruisePlugin = new $(t), Object.assign(window, { [`__${b}_DEBUG__`]: this });
|
|
236
229
|
}
|
|
237
230
|
get config() {
|
|
238
231
|
return this._config;
|
|
@@ -242,21 +235,21 @@ class me extends O {
|
|
|
242
235
|
}
|
|
243
236
|
load(t, i, a = !0) {
|
|
244
237
|
return u(this, null, function* () {
|
|
245
|
-
var v,
|
|
238
|
+
var v, I, w, E, y, D, L;
|
|
246
239
|
const m = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, e = yield this.formatData(t);
|
|
247
240
|
this.hooks.emit("dataChange", e, m), this.data = e;
|
|
248
241
|
const r = e.config, n = {
|
|
249
242
|
panorama_style: {
|
|
250
243
|
visible: !!(!e.lines && e.routes),
|
|
251
244
|
unit_length: (v = r == null ? void 0 : r.unitHeight) != null ? v : 0.4,
|
|
252
|
-
width: (
|
|
253
|
-
texture: { url: (
|
|
245
|
+
width: (I = r == null ? void 0 : r.unitWidth) != null ? I : 0.6,
|
|
246
|
+
texture: { url: (w = r == null ? void 0 : r.arrowTextureUrl) != null ? w : this.staticPrefix + "/release/web/arrow-white.5c2c79a5.png" }
|
|
254
247
|
}
|
|
255
248
|
}, d = (y = (E = e.routes) == null ? void 0 : E.map((l) => {
|
|
256
|
-
var
|
|
257
|
-
return
|
|
258
|
-
})) != null ? y : [],
|
|
259
|
-
yield
|
|
249
|
+
var _;
|
|
250
|
+
return A({}, n, { id: (_ = l.id) != null ? _ : W(), pano_group: l.panoIndexList });
|
|
251
|
+
})) != null ? y : [], S = (L = (D = e.lines) == null ? void 0 : D.map((l) => A({}, n, l))) != null ? L : [], V = [...d, ...S];
|
|
252
|
+
yield P(this.five), this.clear(), V.forEach((l) => {
|
|
260
253
|
this.addGuideLineItem(l);
|
|
261
254
|
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: a }), this.hooks.emit("dataLoaded", e), console.debug(`${g} loaded`, e);
|
|
262
255
|
});
|
|
@@ -295,13 +288,13 @@ class me extends O {
|
|
|
295
288
|
if (this.disposed)
|
|
296
289
|
return this.disposedErrorLog();
|
|
297
290
|
const a = f({}, this.state);
|
|
298
|
-
this.state = f(f({}, this.state), t), t.visible !== void 0 && t.visible !== a.visible && this.handleVisible(t.visible, i == null ? void 0 : i.userAction), t.enabled !== void 0 && t.enabled !== a.enabled && this.handleEnable(t.enabled, i == null ? void 0 : i.userAction),
|
|
291
|
+
this.state = f(f({}, this.state), t), t.visible !== void 0 && t.visible !== a.visible && this.handleVisible(t.visible, i == null ? void 0 : i.userAction), t.enabled !== void 0 && t.enabled !== a.enabled && this.handleEnable(t.enabled, i == null ? void 0 : i.userAction), x(a, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: a, userAction: (m = i == null ? void 0 : i.userAction) != null ? m : !0 }), this.five.needsRender = !0);
|
|
299
292
|
}
|
|
300
293
|
/** 添加一个 GuideLineItem */
|
|
301
294
|
addGuideLineItem(t) {
|
|
302
295
|
const i = t.render_id || t.id, a = this.itemMap.get(i);
|
|
303
296
|
a && this.removeGuideLineItem(a);
|
|
304
|
-
const m = new
|
|
297
|
+
const m = new N({ five: this.five, id: i, plugin: this });
|
|
305
298
|
return this.itemMap.set(i, m), t && m.setData(t), this.heightOffset += 1e-4, m.modelItem.setHeightOffset(this.heightOffset), m.panoramaItem.setHeightOffset(this.heightOffset), m;
|
|
306
299
|
}
|
|
307
300
|
/** 获取 Plugin 内的 GuideLineItem */
|
|
@@ -319,7 +312,7 @@ class me extends O {
|
|
|
319
312
|
return Array.isArray(e) && e.every((r) => typeof r == "number");
|
|
320
313
|
}
|
|
321
314
|
function a(e, r) {
|
|
322
|
-
return new
|
|
315
|
+
return new G.Vector3().fromArray(e).distanceTo(new G.Vector3().fromArray(r)) < 0.01;
|
|
323
316
|
}
|
|
324
317
|
function m(e) {
|
|
325
318
|
var p;
|
|
@@ -353,6 +346,6 @@ class me extends O {
|
|
|
353
346
|
}
|
|
354
347
|
}
|
|
355
348
|
export {
|
|
356
|
-
|
|
357
|
-
|
|
349
|
+
oe as default,
|
|
350
|
+
ee as pluginFlag
|
|
358
351
|
};
|
|
@@ -60,6 +60,9 @@ import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
|
60
60
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
61
61
|
import "../base/BasePlugin.js";
|
|
62
62
|
import "../shared-utils/url/absoluteUrl.js";
|
|
63
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
64
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
65
|
+
import "../shared-utils/five/transformPosition.js";
|
|
63
66
|
import "../vendor/svelte/store/index.js";
|
|
64
67
|
import "../vendor/svelte/internal/index.js";
|
|
65
68
|
import "../shared-utils/device.js";
|
|
@@ -79,9 +82,6 @@ import "../shared-utils/five/calculateThreeMouse.js";
|
|
|
79
82
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
80
83
|
import "../shared-utils/typescript/entries.js";
|
|
81
84
|
import "../shared-utils/url/getUrl.js";
|
|
82
|
-
import "../shared-utils/five/transformPosition.js";
|
|
83
|
-
import "../shared-utils/Utils/WorkUtil.js";
|
|
84
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
85
85
|
import "../shared-utils/five/getFloorIndex.js";
|
|
86
86
|
import "../shared-utils/safeObj.js";
|
|
87
87
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
@@ -292,7 +292,7 @@ class H {
|
|
|
292
292
|
return this.logError("setPathByPanoGroup: work is not ready");
|
|
293
293
|
const s = I(e);
|
|
294
294
|
if (this._panoGroup = s, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
|
|
295
|
-
const o = t.skipPanoGroup ? s.map((a) => this.plugin.
|
|
295
|
+
const o = t.skipPanoGroup ? s.map((a) => this.plugin.workUtil.getObserverStandingPosition(a)).filter(w) : null;
|
|
296
296
|
this.skippedPositions = o;
|
|
297
297
|
}
|
|
298
298
|
const r = this.getPathFromPanoGroup(s, this.five.work, t);
|
|
@@ -443,7 +443,7 @@ class H {
|
|
|
443
443
|
const e = this.curvePoints.length, t = this.curvePath.getLength(), s = e - 1, r = t / s, o = (u = this.curvePath.getLengths(s)) != null ? u : [], a = [];
|
|
444
444
|
let h = 0;
|
|
445
445
|
for (let g = 0; g < e; g++) {
|
|
446
|
-
const m = this.curvePoints[g], f = this.plugin.
|
|
446
|
+
const m = this.curvePoints[g], f = this.plugin.workUtil.getObserverStandingPosition(h);
|
|
447
447
|
if (!f)
|
|
448
448
|
break;
|
|
449
449
|
f.clone().setY(0).distanceTo(m.clone().setY(0)) < r && (a.push(o[g]), h += 1);
|
|
@@ -487,7 +487,7 @@ class H {
|
|
|
487
487
|
return [];
|
|
488
488
|
const r = e.map((o) => {
|
|
489
489
|
var a;
|
|
490
|
-
return (a = this.plugin.
|
|
490
|
+
return (a = this.plugin.workUtil.getObserverStandingPosition(o)) == null ? void 0 : a.toArray();
|
|
491
491
|
}).filter(w);
|
|
492
492
|
return [d({ type: "CatmullRomCurve3", points: r }, s)];
|
|
493
493
|
}
|
|
@@ -57,6 +57,9 @@ import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
|
57
57
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
58
58
|
import "../base/BasePlugin.js";
|
|
59
59
|
import "../shared-utils/url/absoluteUrl.js";
|
|
60
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
61
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
62
|
+
import "../shared-utils/five/transformPosition.js";
|
|
60
63
|
import "../vendor/svelte/store/index.js";
|
|
61
64
|
import "../vendor/svelte/internal/index.js";
|
|
62
65
|
import "../shared-utils/device.js";
|
|
@@ -76,9 +79,6 @@ import "../shared-utils/five/calculateThreeMouse.js";
|
|
|
76
79
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
77
80
|
import "../shared-utils/typescript/entries.js";
|
|
78
81
|
import "../shared-utils/url/getUrl.js";
|
|
79
|
-
import "../shared-utils/five/transformPosition.js";
|
|
80
|
-
import "../shared-utils/Utils/WorkUtil.js";
|
|
81
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
82
82
|
import "../shared-utils/five/getFloorIndex.js";
|
|
83
83
|
import "../shared-utils/safeObj.js";
|
|
84
84
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
@@ -25,6 +25,9 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
25
25
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
26
26
|
import "animejs";
|
|
27
27
|
import "../shared-utils/url/absoluteUrl.js";
|
|
28
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
29
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
30
|
+
import "../shared-utils/five/transformPosition.js";
|
|
28
31
|
import "../shared-utils/equal.js";
|
|
29
32
|
import "../shared-utils/isTruelyObject.js";
|
|
30
33
|
import "../CruisePlugin/Work.js";
|
|
@@ -40,9 +43,6 @@ import "../shared-utils/formatRad.js";
|
|
|
40
43
|
import "../CruisePlugin/BaseController.js";
|
|
41
44
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
42
45
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
43
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
44
|
-
import "../shared-utils/Utils/WorkUtil.js";
|
|
45
|
-
import "../shared-utils/five/transformPosition.js";
|
|
46
46
|
import "../shared-utils/isNil.js";
|
|
47
47
|
import "../shared-utils/log.js";
|
|
48
48
|
import "./utils/createLineGeometry.js";
|