@realsee/dnalogel 3.66.0-alpha.13 → 3.66.0-alpha.14
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 +4 -0
- package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +9 -0
- package/dist/PanoTagPlugin/controller/index.d.ts +18 -0
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -0
- package/dist/index.cjs.js +59 -59
- package/dist/index.js +8571 -8440
- package/dist/index.umd.js +51 -51
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +39 -29
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LegacyPointHelper.html +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointDomHelper.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/MeasurePlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +2 -2
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagState.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/SculptType.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MeasurePluginConfig.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/SculptType.Theme.html +2 -2
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +3 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPlacement.html +2 -2
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.animeMap.html +1 -1
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +428 -351
- package/libs/PanoTagPlugin/Components/TagItem.js +247 -239
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +9 -0
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +75 -62
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +1 -1
- package/libs/PanoTagPlugin/controller/index.d.ts +18 -0
- package/libs/PanoTagPlugin/controller/index.js +162 -134
- package/libs/PanoTagPlugin/tag.config.js +5 -0
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -91,6 +91,7 @@ export declare abstract class BaseTag<C extends TagContentType = TagContentType,
|
|
|
91
91
|
entryFromModel?: boolean;
|
|
92
92
|
get sharedCache(): Cache;
|
|
93
93
|
_updating: boolean;
|
|
94
|
+
hoverEnabled: boolean;
|
|
94
95
|
constructor(plugin: PanoTagPluginController, tagData: TagData);
|
|
95
96
|
/**
|
|
96
97
|
* @description 使 state.visible 生效,但是只是加入渲染队列。等下次渲染时再真正生效
|
|
@@ -238,4 +239,12 @@ export declare abstract class BaseTag<C extends TagContentType = TagContentType,
|
|
|
238
239
|
destroy(): void;
|
|
239
240
|
showPopover(): void;
|
|
240
241
|
hidePopover(): void;
|
|
242
|
+
/**
|
|
243
|
+
* 设置 hover 启用状态
|
|
244
|
+
*/
|
|
245
|
+
setHoverEnabled(enabled: boolean): void;
|
|
246
|
+
/**
|
|
247
|
+
* 获取 hover 启用状态
|
|
248
|
+
*/
|
|
249
|
+
getHoverEnabled(): boolean;
|
|
241
250
|
}
|
|
@@ -19,7 +19,7 @@ var A = (c, e) => {
|
|
|
19
19
|
e.indexOf(t) < 0 && j.call(c, t) && (i[t] = c[t]);
|
|
20
20
|
return i;
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var a = (c, e, i) => (M(c, typeof e != "symbol" ? e + "" : e, i), i);
|
|
23
23
|
var P = (c, e, i) => new Promise((t, r) => {
|
|
24
24
|
var s = (n) => {
|
|
25
25
|
try {
|
|
@@ -47,17 +47,17 @@ import "../../../shared-utils/three/PointSelector/index.js";
|
|
|
47
47
|
import { centerPoint as ie } from "../../../shared-utils/three/centerPoint.js";
|
|
48
48
|
import "../../../shared-utils/three/CSS3DRenderer/index.js";
|
|
49
49
|
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
50
|
-
import { anyPositionToVector3 as
|
|
50
|
+
import { anyPositionToVector3 as E } from "../../../shared-utils/positionToVector3.js";
|
|
51
51
|
import { toArray as te } from "../../../shared-utils/util.js";
|
|
52
52
|
import "@realsee/five/line";
|
|
53
|
-
import { isNil as
|
|
53
|
+
import { isNil as O, notNil as R } from "../../../shared-utils/isNil.js";
|
|
54
54
|
import "../../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
55
55
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
56
56
|
import { blink as se, reblink as ne } from "../../../shared-utils/three/blink.js";
|
|
57
57
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
58
58
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
59
59
|
import { vectorToCoordinates as oe } from "../../../shared-utils/vectorToCoordinate.js";
|
|
60
|
-
import { transformPosition as
|
|
60
|
+
import { transformPosition as L } from "../../../shared-utils/five/transformPosition.js";
|
|
61
61
|
import { lookPoint as re } from "../../../shared-utils/five/lookPoint.js";
|
|
62
62
|
import { uuid as le } from "../../../shared-utils/uuid.js";
|
|
63
63
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
@@ -122,36 +122,37 @@ import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
122
122
|
import "../../../shared-utils/formatRad.js";
|
|
123
123
|
class Ji {
|
|
124
124
|
constructor(e, i) {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
125
|
+
a(this, "plugin");
|
|
126
|
+
a(this, "id");
|
|
127
|
+
a(this, "contentType");
|
|
128
|
+
a(this, "stickType");
|
|
129
|
+
a(this, "enabled");
|
|
130
|
+
a(this, "config");
|
|
131
|
+
a(this, "data");
|
|
132
|
+
a(this, "state");
|
|
133
|
+
a(this, "temporaryState", { visible: !0 });
|
|
134
|
+
a(this, "originPosition");
|
|
135
|
+
a(this, "position");
|
|
136
|
+
a(this, "fiveState");
|
|
137
|
+
a(this, "model");
|
|
138
|
+
a(this, "matrix");
|
|
139
|
+
a(this, "screenPosition");
|
|
140
|
+
a(this, "normal");
|
|
141
|
+
a(this, "mediaPlane");
|
|
142
|
+
a(this, "hooks");
|
|
143
|
+
a(this, "zIndex");
|
|
144
|
+
a(this, "play");
|
|
145
|
+
a(this, "pause");
|
|
146
|
+
a(this, "tag3DContentSvelte");
|
|
147
|
+
a(this, "dom");
|
|
148
|
+
a(this, "contentDom");
|
|
149
|
+
a(this, "initialConfig");
|
|
150
|
+
a(this, "computedConfig");
|
|
151
|
+
a(this, "cache");
|
|
152
|
+
a(this, "entryFromModel");
|
|
153
|
+
a(this, "_updating", !1);
|
|
154
|
+
a(this, "hoverEnabled", !0);
|
|
155
|
+
a(this, "ready", () => {
|
|
155
156
|
const { promise: e, resolve: i } = ce();
|
|
156
157
|
if (!this._updating)
|
|
157
158
|
i();
|
|
@@ -176,16 +177,16 @@ class Ji {
|
|
|
176
177
|
visible: void 0,
|
|
177
178
|
unfolded: !this.can("fold")
|
|
178
179
|
}, o.initialState), this.originPosition = i.position, i.originPosition = this.originPosition, this.position = (() => {
|
|
179
|
-
const
|
|
180
|
-
if (!
|
|
180
|
+
const f = i.originPosition;
|
|
181
|
+
if (!f)
|
|
181
182
|
return;
|
|
182
183
|
const g = e.workUtil.transform;
|
|
183
|
-
return Array.isArray(
|
|
184
|
+
return Array.isArray(f) && f.length === 4 ? f.map(E).map((p) => L(p, g).toArray()) : L(E(f), g).toArray();
|
|
184
185
|
})(), this.matrix = i.matrix ? (() => {
|
|
185
|
-
const
|
|
186
|
-
return
|
|
187
|
-
})() : i.matrix, this.initialConfig = s, this.computedConfig = l, this.stickType = t, this.config = i.config, this.fiveState = i.fiveState, this.normal = i.normal, this.cache = new de(), this.hooks = new Y(), Object.keys(i).forEach((
|
|
188
|
-
this[
|
|
186
|
+
const f = new B.Matrix4().fromArray(i.matrix);
|
|
187
|
+
return f.premultiply(e.workUtil.transform), f.elements;
|
|
188
|
+
})() : i.matrix, this.initialConfig = s, this.computedConfig = l, this.stickType = t, this.config = i.config, this.fiveState = i.fiveState, this.normal = i.normal, this.cache = new de(), this.hooks = new Y(), Object.keys(i).forEach((f) => {
|
|
189
|
+
this[f] === void 0 && i[f] !== void 0 && (this[f] = i[f]);
|
|
189
190
|
});
|
|
190
191
|
}
|
|
191
192
|
get visible() {
|
|
@@ -234,7 +235,7 @@ class Ji {
|
|
|
234
235
|
const t = (r = e == null ? void 0 : e.targetMode) != null ? r : this.five.state.mode;
|
|
235
236
|
if (t === "Panorama") {
|
|
236
237
|
const s = i == null ? void 0 : i.panoIndex;
|
|
237
|
-
if (
|
|
238
|
+
if (O(s))
|
|
238
239
|
return this;
|
|
239
240
|
const l = this.workUtil.getObserverPosition(s), o = this.centerPosition.clone().sub(l).normalize();
|
|
240
241
|
this.five.setState(m({
|
|
@@ -260,22 +261,22 @@ class Ji {
|
|
|
260
261
|
u();
|
|
261
262
|
return;
|
|
262
263
|
}
|
|
263
|
-
const
|
|
264
|
-
(this.dom || this.contentDom) && (u(), clearInterval(
|
|
264
|
+
const f = setInterval(() => {
|
|
265
|
+
(this.dom || this.contentDom) && (u(), clearInterval(f));
|
|
265
266
|
}, 16.7);
|
|
266
267
|
})) : this.stickType === "Model" && !((d = this.model) != null && d.object) ? yield (h = this.model) == null ? void 0 : h.promise : this.stickType === "Plane" && (yield new Promise((u) => P(this, null, function* () {
|
|
267
268
|
if (this.mediaPlane) {
|
|
268
269
|
u();
|
|
269
270
|
return;
|
|
270
271
|
}
|
|
271
|
-
const
|
|
272
|
-
this.mediaPlane && (u(), clearInterval(
|
|
272
|
+
const f = setInterval(() => {
|
|
273
|
+
this.mediaPlane && (u(), clearInterval(f));
|
|
273
274
|
}, 16.7);
|
|
274
275
|
}))), this.dom && (this.dom.style.visibility = "hidden"), this.contentDom && (this.contentDom.style.visibility = "hidden"));
|
|
275
276
|
const s = (() => {
|
|
276
|
-
var
|
|
277
|
+
var f, g, p;
|
|
277
278
|
const u = [];
|
|
278
|
-
return u.push(this.dom), u.push((g = (
|
|
279
|
+
return u.push(this.dom), u.push((g = (f = this.tag3DContentSvelte) == null ? void 0 : f.css3DInstance) == null ? void 0 : g.container), u.push((p = this.model) == null ? void 0 : p.object), u.push(this.mediaPlane), u.filter(Boolean);
|
|
279
280
|
})();
|
|
280
281
|
if (!s.length) {
|
|
281
282
|
console.warn("tagDom is empty");
|
|
@@ -394,7 +395,7 @@ class Ji {
|
|
|
394
395
|
return !1;
|
|
395
396
|
const i = m(m({}, this.five.getCurrentState()), e);
|
|
396
397
|
let t = this.cache.getVisible(this, i);
|
|
397
|
-
return
|
|
398
|
+
return O(t) && (t = this.computeVisible(i).value, this.cache.setVisible(this, i, t)), t;
|
|
398
399
|
}
|
|
399
400
|
getUnfoldedByPanoIndex(e) {
|
|
400
401
|
if (!this.currentVisible)
|
|
@@ -457,7 +458,7 @@ class Ji {
|
|
|
457
458
|
computeVisible(e) {
|
|
458
459
|
const i = m(m({}, this.five.getCurrentState()), e), { panoIndex: t, mode: r } = i, s = [];
|
|
459
460
|
return (() => {
|
|
460
|
-
var d, u,
|
|
461
|
+
var d, u, f, g;
|
|
461
462
|
const n = (d = this.getConfig().visibleConfig) != null ? d : {};
|
|
462
463
|
if (typeof n == "function")
|
|
463
464
|
return {
|
|
@@ -489,7 +490,7 @@ class Ji {
|
|
|
489
490
|
return {
|
|
490
491
|
value: !1,
|
|
491
492
|
checkedList: s,
|
|
492
|
-
reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(
|
|
493
|
+
reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(f = this.fiveState) == null ? void 0 : f.panoIndex}`
|
|
493
494
|
};
|
|
494
495
|
}
|
|
495
496
|
if (n.visibleDistance !== void 0 && (s.push("visibleDistance"), n.visibleDistance !== "unLimited")) {
|
|
@@ -547,7 +548,7 @@ class Ji {
|
|
|
547
548
|
if ((() => {
|
|
548
549
|
var l;
|
|
549
550
|
const s = t();
|
|
550
|
-
if (
|
|
551
|
+
if (R((l = this.fiveState) == null ? void 0 : l.panoIndex) && e.entryFromModel) {
|
|
551
552
|
if (x(i) && s ? this.entryFromModel = !1 : this.entryFromModel = !0, x(i))
|
|
552
553
|
return !0;
|
|
553
554
|
} else
|
|
@@ -570,13 +571,13 @@ class Ji {
|
|
|
570
571
|
const s = te(
|
|
571
572
|
(() => {
|
|
572
573
|
var g;
|
|
573
|
-
const
|
|
574
|
-
return
|
|
574
|
+
const f = (g = i.checkPoints) != null ? g : "center";
|
|
575
|
+
return f === "center" ? z(this) : f === "corner" ? $(this) : Array.isArray(f) ? f : [];
|
|
575
576
|
})()
|
|
576
577
|
);
|
|
577
578
|
let l = 0, o = 0;
|
|
578
|
-
for (const
|
|
579
|
-
const g = new B.Vector3().subVectors(
|
|
579
|
+
for (const f of s) {
|
|
580
|
+
const g = new B.Vector3().subVectors(f, r).normalize();
|
|
580
581
|
let p;
|
|
581
582
|
S.set(r, g);
|
|
582
583
|
const [v] = this.fiveUtil.model.intersectRaycaster(S);
|
|
@@ -584,15 +585,15 @@ class Ji {
|
|
|
584
585
|
const b = (() => {
|
|
585
586
|
if (!V(this))
|
|
586
587
|
return;
|
|
587
|
-
const
|
|
588
|
+
const q = this.plugin.tags.filter(V).map((Z) => {
|
|
588
589
|
var F;
|
|
589
590
|
return (F = Z.model) == null ? void 0 : F.object;
|
|
590
|
-
}).filter(
|
|
591
|
+
}).filter(R), [X] = S.intersectObjects(q, !0);
|
|
591
592
|
return X;
|
|
592
|
-
})(), _ = r.distanceTo(
|
|
593
|
-
p = Math.min(p != null ? p : 1 / 0, (h = b == null ? void 0 : b.distance) != null ? h : 1 / 0), p +
|
|
594
|
-
const
|
|
595
|
-
if (l >=
|
|
593
|
+
})(), _ = r.distanceTo(f), H = (d = i.distanceAccuracy) != null ? d : 0.01;
|
|
594
|
+
p = Math.min(p != null ? p : 1 / 0, (h = b == null ? void 0 : b.distance) != null ? h : 1 / 0), p + H >= _ ? l++ : o++;
|
|
595
|
+
const W = (u = i.needPassed) != null ? u : 1;
|
|
596
|
+
if (l >= W)
|
|
596
597
|
return { value: !0 };
|
|
597
598
|
}
|
|
598
599
|
return o === 0 ? { value: !0 } : {
|
|
@@ -730,6 +731,18 @@ class Ji {
|
|
|
730
731
|
var e;
|
|
731
732
|
(e = this.config.popoverConfig) != null && e.enabled && (this.state.popoverVisible = !1, this.hooks.emit("hidePopover"));
|
|
732
733
|
}
|
|
734
|
+
/**
|
|
735
|
+
* 设置 hover 启用状态
|
|
736
|
+
*/
|
|
737
|
+
setHoverEnabled(e) {
|
|
738
|
+
this.hoverEnabled = e;
|
|
739
|
+
}
|
|
740
|
+
/**
|
|
741
|
+
* 获取 hover 启用状态
|
|
742
|
+
*/
|
|
743
|
+
getHoverEnabled() {
|
|
744
|
+
return this.hoverEnabled;
|
|
745
|
+
}
|
|
733
746
|
}
|
|
734
747
|
export {
|
|
735
748
|
Ji as BaseTag
|
|
@@ -149,7 +149,7 @@ class Gt extends g {
|
|
|
149
149
|
if (!this.currentConfig.simulate3D)
|
|
150
150
|
return 1;
|
|
151
151
|
const u = 2 * Math.tan(0.5 * this.five.camera.fov / 180 * Math.PI), f = this.getDistance(void 0, 1);
|
|
152
|
-
return Math.max(Math.min(1 - u * f / 40, 1), 0.
|
|
152
|
+
return Math.max(Math.min(1 - u * f / 40, 1), 0.7);
|
|
153
153
|
})(), d = this.five.renderer.getSize(y);
|
|
154
154
|
this.screenPosition = {
|
|
155
155
|
leftPx: (r.x + 1) / 2 * d.x,
|
|
@@ -14,6 +14,8 @@ declare class PanoTagPluginController extends TagRender {
|
|
|
14
14
|
/** debug */
|
|
15
15
|
private debug;
|
|
16
16
|
private debugUtil;
|
|
17
|
+
/** 全局 hover 启用状态,默认 true */
|
|
18
|
+
globalHoverEnabled: boolean;
|
|
17
19
|
constructor(five: Five, params?: {
|
|
18
20
|
config?: Pick<Tags, 'contentTypeConfig' | 'globalConfig'>;
|
|
19
21
|
debug?: boolean;
|
|
@@ -142,6 +144,22 @@ declare class PanoTagPluginController extends TagRender {
|
|
|
142
144
|
*/
|
|
143
145
|
private addEventListener;
|
|
144
146
|
render: () => void;
|
|
147
|
+
/**
|
|
148
|
+
* @description 设置标签 hover 启用状态
|
|
149
|
+
*/
|
|
150
|
+
setTagHoverEnabled(id: TagId, enabled: boolean): void;
|
|
151
|
+
/**
|
|
152
|
+
* @description 获取标签 hover 启用状态
|
|
153
|
+
*/
|
|
154
|
+
getTagHoverEnabled(id: TagId): boolean | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* 设置全局 hover 启用状态
|
|
157
|
+
*/
|
|
158
|
+
setGlobalHoverEnabled(enabled: boolean): void;
|
|
159
|
+
/**
|
|
160
|
+
* 获取全局 hover 启用状态
|
|
161
|
+
*/
|
|
162
|
+
getGlobalHoverEnabled(): boolean;
|
|
145
163
|
}
|
|
146
164
|
export default PanoTagPluginController;
|
|
147
165
|
export { PanoTagPluginController };
|