@realsee/dnalogel 3.81.10-alpha.5 → 3.81.10
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 +7 -0
- package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +2 -1
- package/dist/index.cjs.js +50 -50
- package/dist/index.js +56 -41
- package/dist/index.umd.js +54 -54
- 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/DigitalHuman.html +2 -2
- package/docs/classes/DigitalPerformanceV2.DigitalPerformanceV2PluginController.html +2 -2
- package/docs/classes/DigitalPlayground.html +2 -2
- package/docs/classes/DigitalStateMachine.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 +2 -2
- 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/DigitalPerformancePlugin.html +1 -1
- package/docs/functions/DigitalPerformanceV2.DigitalPerformanceV2Plugin.html +1 -1
- package/docs/functions/FloorplanGuidePlugin.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/SculptPluginForFive.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.blinkWithPreset.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.cleanup.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.generatePolygonGeometry.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.getGeometryArea.html +1 -1
- package/docs/functions/Util.getGeometryInfo.html +1 -1
- 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.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.replaceStaticPrefix.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.sculpt.transformUnit.html +2 -2
- package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -1
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.triangleArea.html +2 -2
- package/docs/functions/Util.triangleCenter.html +2 -2
- 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/functions/validatePolygon.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/BoxAnimationConfig.html +2 -2
- package/docs/interfaces/BoxPosition.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/ChapterLocation.html +2 -2
- package/docs/interfaces/ChapterTimeInfo.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/DigitalCameraKeyframe.html +2 -2
- package/docs/interfaces/DigitalCameraPlayer.html +2 -2
- package/docs/interfaces/DigitalCameraState.html +2 -2
- package/docs/interfaces/DigitalChapter.html +2 -2
- package/docs/interfaces/DigitalDataPlayer.html +2 -2
- package/docs/interfaces/DigitalDataState.html +2 -2
- package/docs/interfaces/DigitalEffectKeyframe.html +2 -2
- package/docs/interfaces/DigitalEffectState.html +2 -2
- package/docs/interfaces/DigitalItemKeyframe.html +2 -2
- package/docs/interfaces/DigitalItemState.html +2 -2
- package/docs/interfaces/DigitalModelKeyframe.html +2 -2
- package/docs/interfaces/DigitalModelPlayer.html +2 -2
- package/docs/interfaces/DigitalModelPlayerEffect.html +2 -2
- package/docs/interfaces/DigitalModelPlayerItem.html +2 -2
- package/docs/interfaces/DigitalModelState.html +2 -2
- package/docs/interfaces/DigitalPerformancePluginConfig.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.CameraState.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalCameraKeyframe.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalCameraPlayer.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceV2PluginConfig.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.GroupChapterTimeInfo.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.GroupProgress.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.V2Progress.html +2 -2
- package/docs/interfaces/DigitalScript.html +2 -2
- package/docs/interfaces/DigitalSubTitleKeyframe.html +2 -2
- package/docs/interfaces/DigitalSubTitlePlayer.html +2 -2
- package/docs/interfaces/DigitalSubTitleState.html +2 -2
- package/docs/interfaces/ExtendedAnimationConfig.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/FloorplanServerStyledFloorplan.html +2 -2
- package/docs/interfaces/FloorplanServerStyledImage.html +2 -2
- package/docs/interfaces/GlobalProgress.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.ModelMakerPluginConfig.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/PlaybackController.html +2 -2
- package/docs/interfaces/PlaybackManager.html +2 -2
- package/docs/interfaces/PlaybackSession.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/ProgressBarEvents.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/SculptConfig.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/StyledFloorplan.html +2 -2
- package/docs/interfaces/StyledFloorplanImage.html +2 -2
- package/docs/interfaces/StyledFloorplanRoomLabel.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/TagIconAnimationConfig.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/TraceManager.html +2 -2
- package/docs/interfaces/TracePoint.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.ObjectInitialState.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/DigitalPerformanceV2.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/BoxTag.html +2 -2
- 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/DigitalPerformancePluginExportInterface.html +1 -1
- package/docs/types/DigitalPerformancePluginParamsInterface.html +1 -1
- package/docs/types/DigitalPerformanceV2.CameraCoordinateSpace.html +2 -2
- package/docs/types/DigitalPerformanceV2.CameraTransition.html +2 -2
- package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginExportInterface.html +1 -1
- package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginParamsInterface.html +1 -1
- package/docs/types/DigitalPerformanceV2.V2ProgressListener.html +1 -1
- 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/FloorplanAffineTransform.html +1 -1
- package/docs/types/FloorplanGuidePluginParameterType.html +1 -1
- package/docs/types/FloorplanGuidePluginReturnType.html +1 -1
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerAffineTransform.html +1 -1
- 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/KeyframeType.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MaskPosition.html +2 -2
- package/docs/types/MaskTag.html +2 -2
- package/docs/types/MeasureEndReason.html +1 -1
- package/docs/types/MeasurePluginConfig.html +2 -2
- package/docs/types/MeasurePluginEventMap.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaOperations.html +1 -1
- 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/ModelMakerPluginType.TagOcclusionScope.html +2 -2
- package/docs/types/ModelMakerPluginType.TagOcclusionScopeConfig.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/PolygonPosition.html +2 -2
- package/docs/types/PolygonTag.html +2 -2
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/ProgressListener.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/StateType.html +1 -1
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -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/Util.SupportedTarget.html +2 -2
- package/docs/types/Util.Target.html +2 -2
- package/docs/types/Util.ThreeObject.html +2 -2
- 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.ANIME_PRESETS.html +2 -2
- package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -2
- package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
- package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
- package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
- package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
- package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
- package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
- package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
- package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
- 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/CruisePlugin/Work.js +32 -30
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +43 -42
- package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +2 -1
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +130 -118
- package/libs/base/BasePlugin.js +5 -5
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.81.10
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.81.10</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/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><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"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.81.10</a></div><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"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="modelItemLabelPluginServerParams.html">modelItemLabelPluginServerParams</a></li></ul><h1>Variable modelItemLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">model<wbr/>Item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ModelItemLabelPlugin/index.ts:7</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><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><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.81.10</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
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.81.10
|
|
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.81.10</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/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><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"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.81.10</a></div><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"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul><h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ModelRoomLabelPlugin/index.ts:9</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><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><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.81.10</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -11,7 +11,7 @@ var A = (y, f, t) => f in y ? M(y, f, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return y;
|
|
12
12
|
}, x = (y, f) => U(y, O(f));
|
|
13
13
|
var w = (y, f, t) => (A(y, typeof f != "symbol" ? f + "" : f, t), t);
|
|
14
|
-
var
|
|
14
|
+
var S = (y, f, t) => new Promise((e, o) => {
|
|
15
15
|
var i = (a) => {
|
|
16
16
|
try {
|
|
17
17
|
p(t.next(a));
|
|
@@ -413,7 +413,7 @@ class Sn extends z {
|
|
|
413
413
|
* @description Load Data and State
|
|
414
414
|
*/
|
|
415
415
|
load(t, e, o) {
|
|
416
|
-
return
|
|
416
|
+
return S(this, null, function* () {
|
|
417
417
|
var m, n;
|
|
418
418
|
this.handlePause({ userAction: !1 }), this.clear();
|
|
419
419
|
const i = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, s = yield this.formatData(t);
|
|
@@ -457,7 +457,7 @@ class Sn extends z {
|
|
|
457
457
|
* @description Format data
|
|
458
458
|
*/
|
|
459
459
|
formatData(t) {
|
|
460
|
-
return
|
|
460
|
+
return S(this, null, function* () {
|
|
461
461
|
this.five.work || (yield j(this.five));
|
|
462
462
|
const e = (() => {
|
|
463
463
|
const o = t;
|
|
@@ -509,7 +509,7 @@ class Sn extends z {
|
|
|
509
509
|
*/
|
|
510
510
|
// eslint-disable-next-line complexity
|
|
511
511
|
handlePlay(t) {
|
|
512
|
-
return
|
|
512
|
+
return S(this, null, function* () {
|
|
513
513
|
var g, b, C, L, F, D, K;
|
|
514
514
|
const { data: e, state: o, privateState: i, hooks: s } = this;
|
|
515
515
|
if (i.playing || !(e != null && e.keyframes) || (e == null ? void 0 : e.keyframes.length) === 0)
|
|
@@ -528,16 +528,18 @@ class Sn extends z {
|
|
|
528
528
|
if (((C = this.data) == null ? void 0 : C.keyframes[(b = t == null ? void 0 : t.playFromIndex) != null ? b : 0]).data.effect === "Move")
|
|
529
529
|
this.privateState.audio && (this.privateState.audio.pause(), this.privateState.audio.currentTime = 0, this.privateState.audio = null);
|
|
530
530
|
else {
|
|
531
|
+
const c = (L = a == null ? void 0 : a.bind(i.audio)) != null ? L : i.audio;
|
|
532
|
+
c.muted = !1;
|
|
531
533
|
try {
|
|
532
|
-
yield
|
|
533
|
-
} catch (
|
|
534
|
+
yield c.play();
|
|
535
|
+
} catch (P) {
|
|
534
536
|
if (a != null && a.signal.aborted)
|
|
535
537
|
return;
|
|
536
|
-
if (
|
|
538
|
+
if (P.name === "AbortError") {
|
|
537
539
|
this.handlePause({ userAction: !1 });
|
|
538
540
|
return;
|
|
539
541
|
}
|
|
540
|
-
throw this.handlePause({ userAction: !1 }),
|
|
542
|
+
throw this.handlePause({ userAction: !1 }), P;
|
|
541
543
|
}
|
|
542
544
|
if (a != null && a.signal.aborted || r !== i.playId)
|
|
543
545
|
return;
|
|
@@ -546,23 +548,23 @@ class Sn extends z {
|
|
|
546
548
|
const m = e.keyframes, n = this.getPauseData();
|
|
547
549
|
(t == null ? void 0 : t.notEmitEvent) !== !0 && s.emit("play", { userAction: (F = t == null ? void 0 : t.userAction) != null ? F : !0 });
|
|
548
550
|
let d = !1;
|
|
549
|
-
const u = yield (() =>
|
|
551
|
+
const u = yield (() => S(this, null, function* () {
|
|
550
552
|
var h, c;
|
|
551
553
|
if ((t == null ? void 0 : t.playFromIndex) !== void 0)
|
|
552
554
|
return t.playFromIndex;
|
|
553
555
|
if ((t == null ? void 0 : t.playFromId) !== void 0)
|
|
554
|
-
return (h = this.data) == null ? void 0 : h.keyframes.findIndex((
|
|
556
|
+
return (h = this.data) == null ? void 0 : h.keyframes.findIndex((P) => P.id === t.playFromId);
|
|
555
557
|
if (n != null && n.id) {
|
|
556
|
-
const
|
|
558
|
+
const P = (c = this.data) == null ? void 0 : c.keyframes.find((E) => E.id === n.id);
|
|
557
559
|
if (n != null && n.fiveState && (yield this.move(n.fiveState, {
|
|
558
560
|
moveEffect: i.moveToFirstPanoEffect,
|
|
559
561
|
duration: i.moveToFirstPanoDuration
|
|
560
|
-
})),
|
|
561
|
-
if (
|
|
562
|
-
return
|
|
563
|
-
if (
|
|
562
|
+
})), P) {
|
|
563
|
+
if (P.data.effect === "Move")
|
|
564
|
+
return P.index;
|
|
565
|
+
if (P.data.effect === "Rotate") {
|
|
564
566
|
const E = n.duration !== void 0 ? n.duration * (1 - n.playedProgress) : void 0;
|
|
565
|
-
return yield this.playKeyframe(
|
|
567
|
+
return yield this.playKeyframe(P, { duration: E }), d = !0, P.index + 1;
|
|
566
568
|
}
|
|
567
569
|
}
|
|
568
570
|
}
|
|
@@ -574,8 +576,8 @@ class Sn extends z {
|
|
|
574
576
|
for (let h = u; h < m.length; h++) {
|
|
575
577
|
const c = m[h];
|
|
576
578
|
if ((D = c == null ? void 0 : c.data) != null && D.audio && !this.privateState.audioCache.has(c.data.audio.url)) {
|
|
577
|
-
const
|
|
578
|
-
|
|
579
|
+
const P = new Audio(c.data.audio.url);
|
|
580
|
+
P.preload = "auto", this.privateState.audioCache.set(c.data.audio.url, P);
|
|
579
581
|
}
|
|
580
582
|
}
|
|
581
583
|
}
|
|
@@ -602,9 +604,9 @@ class Sn extends z {
|
|
|
602
604
|
* @description: Pause and record pause state
|
|
603
605
|
*/
|
|
604
606
|
handlePause(t, e = !1) {
|
|
605
|
-
var
|
|
606
|
-
const { state: o, privateState: i, hooks: s } = this;
|
|
607
|
-
this.session = void 0, e || (
|
|
607
|
+
var a, r;
|
|
608
|
+
const { state: o, privateState: i, hooks: s } = this, p = i.playing;
|
|
609
|
+
i.playing = !1, this.session = void 0, e || (a = this.playbackController) == null || a.cancel(), i.playId = k(), o.playing = !1, p && (i.audio && i.audio.pause(), (t == null ? void 0 : t.userAction) !== !1 && this.setPauseData(), i.broke || this.forceInteruptUpdateCamera(), (t == null ? void 0 : t.notEmitEvent) !== !0 && s.emit("pause", { userAction: (r = t == null ? void 0 : t.userAction) != null ? r : !0 }));
|
|
608
610
|
}
|
|
609
611
|
/**
|
|
610
612
|
* @description: Change play speed
|
|
@@ -649,7 +651,7 @@ class Sn extends z {
|
|
|
649
651
|
* @description Play single keyframe
|
|
650
652
|
*/
|
|
651
653
|
playKeyframe(t, e) {
|
|
652
|
-
return
|
|
654
|
+
return S(this, null, function* () {
|
|
653
655
|
var i;
|
|
654
656
|
const { privateState: o } = this;
|
|
655
657
|
return ((i = this.privateState.currentPlayKeyframe) == null ? void 0 : i.keyframe.id) !== t.id && (this.privateState.currentPlayKeyframe = { keyframe: t }), o.currentPlayQueue.push(this.getPlayPromise(t, e)), this.actionPromiseQueue();
|
|
@@ -659,7 +661,7 @@ class Sn extends z {
|
|
|
659
661
|
* @description: getPlayPromise
|
|
660
662
|
*/
|
|
661
663
|
getPlayPromise(o) {
|
|
662
|
-
return
|
|
664
|
+
return S(this, arguments, function* (t, e = {}) {
|
|
663
665
|
var s;
|
|
664
666
|
const i = t.data;
|
|
665
667
|
if (e.duration = (s = e.duration) != null ? s : t.start !== void 0 && t.end !== void 0 ? t.end - t.start : void 0, !!i)
|
|
@@ -694,7 +696,7 @@ class Sn extends z {
|
|
|
694
696
|
* @description Action promise queue in sequence
|
|
695
697
|
*/
|
|
696
698
|
actionPromiseQueue() {
|
|
697
|
-
return
|
|
699
|
+
return S(this, null, function* () {
|
|
698
700
|
const { privateState: t } = this;
|
|
699
701
|
return new Promise((e, o) => {
|
|
700
702
|
if (t.currentPlayQueue.length === 0) {
|
|
@@ -714,7 +716,7 @@ class Sn extends z {
|
|
|
714
716
|
* @description Action move keyframe
|
|
715
717
|
*/
|
|
716
718
|
move(t, e) {
|
|
717
|
-
return
|
|
719
|
+
return S(this, null, function* () {
|
|
718
720
|
var p;
|
|
719
721
|
const o = this.session, i = this.privateState.playId, s = () => i === this.privateState.playId && !(o != null && o.signal.aborted);
|
|
720
722
|
return this.privateState.audio && (this.privateState.audio.pause(), this.privateState.audio.currentTime = 0, this.privateState.audio = null), t.mode && t.mode !== this.five.currentMode ? yield this.changeMode(t) : t.panoIndex !== this.five.panoIndex && (yield this.changePano(t, e)), s != null && s() && !((p = this.privateState.audio) != null && p.pause) && (this.loadAudio(t.audio), yield this.playAudio()), Promise.resolve();
|
|
@@ -724,7 +726,7 @@ class Sn extends z {
|
|
|
724
726
|
* @description Action rotate keyframe
|
|
725
727
|
*/
|
|
726
728
|
rotate(t, e) {
|
|
727
|
-
return
|
|
729
|
+
return S(this, null, function* () {
|
|
728
730
|
var p;
|
|
729
731
|
const o = this.session, i = this.privateState.playId, s = () => i === this.privateState.playId && !(o != null && o.signal.aborted);
|
|
730
732
|
if (t.audio && this.privateState.audio && (this.privateState.audio.pause(), this.privateState.audio.currentTime = 0, this.privateState.audio = null), t.mode && t.mode !== this.five.currentMode)
|
|
@@ -738,7 +740,7 @@ class Sn extends z {
|
|
|
738
740
|
* @description Update five camera
|
|
739
741
|
*/
|
|
740
742
|
updateCamera(o) {
|
|
741
|
-
return
|
|
743
|
+
return S(this, arguments, function* (t, e = {}) {
|
|
742
744
|
const { five: i, privateState: s, state: p } = this, a = (() => {
|
|
743
745
|
var g, b;
|
|
744
746
|
const u = (g = p.config) == null ? void 0 : g.speedConfig, v = (b = t.rotateSpeed) != null ? b : u == null ? void 0 : u.rotateSpeed;
|
|
@@ -820,7 +822,7 @@ class Sn extends z {
|
|
|
820
822
|
* @description: Change five pano
|
|
821
823
|
*/
|
|
822
824
|
changePano(t, e) {
|
|
823
|
-
return
|
|
825
|
+
return S(this, null, function* () {
|
|
824
826
|
const { five: o, privateState: i, state: s } = this;
|
|
825
827
|
if (typeof t.panoIndex != "number" || t.panoIndex === o.panoIndex)
|
|
826
828
|
return;
|
|
@@ -861,7 +863,7 @@ class Sn extends z {
|
|
|
861
863
|
* @description Change five mode
|
|
862
864
|
*/
|
|
863
865
|
changeMode(t, e) {
|
|
864
|
-
return
|
|
866
|
+
return S(this, null, function* () {
|
|
865
867
|
t.mode && t.mode !== this.five.currentMode && (this.privateState.modeChanging = !0, yield this.five.changeMode(t.mode, t, e), this.privateState.modeChanging = !1);
|
|
866
868
|
});
|
|
867
869
|
}
|
|
@@ -873,7 +875,7 @@ class Sn extends z {
|
|
|
873
875
|
}
|
|
874
876
|
}
|
|
875
877
|
playAudio() {
|
|
876
|
-
return
|
|
878
|
+
return S(this, null, function* () {
|
|
877
879
|
var e, o;
|
|
878
880
|
if (!this.privateState.playing || (e = this.session) != null && e.signal.aborted)
|
|
879
881
|
return;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var c = (h, l, e) => (
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var L = Object.defineProperty;
|
|
2
|
+
var w = (h, l, e) => l in h ? L(h, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[l] = e;
|
|
3
|
+
var c = (h, l, e) => (w(h, typeof l != "symbol" ? l + "" : l, e), e);
|
|
4
|
+
var A = (h, l, e) => new Promise((t, o) => {
|
|
5
|
+
var r = (i) => {
|
|
6
6
|
try {
|
|
7
|
-
u(e.next(
|
|
7
|
+
u(e.next(i));
|
|
8
8
|
} catch (d) {
|
|
9
9
|
o(d);
|
|
10
10
|
}
|
|
11
|
-
}, a = (
|
|
11
|
+
}, a = (i) => {
|
|
12
12
|
try {
|
|
13
|
-
u(e.throw(
|
|
13
|
+
u(e.throw(i));
|
|
14
14
|
} catch (d) {
|
|
15
15
|
o(d);
|
|
16
16
|
}
|
|
17
|
-
}, u = (
|
|
17
|
+
}, u = (i) => i.done ? t(i.value) : Promise.resolve(i.value).then(r, a);
|
|
18
18
|
u((e = e.apply(h, l)).next());
|
|
19
19
|
});
|
|
20
|
-
import { getAudio as
|
|
21
|
-
import { AudioDiagnostics as
|
|
22
|
-
class
|
|
20
|
+
import { getAudio as I, AudioNamespace as S } from "../../../shared-utils/audio.js";
|
|
21
|
+
import { AudioDiagnostics as E } from "./AudioDiagnostics.js";
|
|
22
|
+
class G extends Audio {
|
|
23
23
|
constructor(e, t) {
|
|
24
24
|
super();
|
|
25
25
|
c(this, "sharedAudioSrc");
|
|
@@ -47,32 +47,33 @@ class C extends Audio {
|
|
|
47
47
|
return ((e = this.audioInstance) == null ? void 0 : e.duration) || 0;
|
|
48
48
|
}
|
|
49
49
|
play(e = !1) {
|
|
50
|
-
return
|
|
51
|
-
var
|
|
50
|
+
return A(this, null, function* () {
|
|
51
|
+
var m, n, s, g, y, f;
|
|
52
52
|
if (this.tryplaying || this.disposed)
|
|
53
53
|
return;
|
|
54
|
-
const t = (
|
|
54
|
+
const t = (m = this.controller) == null ? void 0 : m.begin({ userAction: e, audible: !0 });
|
|
55
55
|
if (this.controller && !t)
|
|
56
56
|
return;
|
|
57
57
|
this.session = t;
|
|
58
|
-
const o = ++this.playGeneration,
|
|
59
|
-
this.tryplaying = !0, (!this.audioInstance || this.audioInstance.realSrc !== this.sharedAudioSrc || this.audioInstance.generation !== this.poolGeneration) && (this.audioInstance =
|
|
58
|
+
const o = ++this.playGeneration, r = () => o === this.playGeneration && !(t != null && t.signal.aborted);
|
|
59
|
+
this.tryplaying = !0, (!this.audioInstance || this.audioInstance.realSrc !== this.sharedAudioSrc || this.audioInstance.generation !== this.poolGeneration) && (this.audioInstance = I(this.sharedAudioSrc, { namespace: S.PlayAudio }), this.poolGeneration = this.audioInstance.generation);
|
|
60
60
|
const a = this.audioInstance, u = this.poolGeneration;
|
|
61
|
-
(
|
|
62
|
-
const
|
|
63
|
-
|
|
61
|
+
(n = this.eventListenerDisposer) == null || n.call(this), this.eventListenerDisposer = this.addEventListeners();
|
|
62
|
+
const i = (s = t == null ? void 0 : t.bind(a)) != null ? s : a, d = (g = this.currentTime) != null ? g : 0;
|
|
63
|
+
i.currentTime = d;
|
|
64
|
+
const p = i.currentTime !== d;
|
|
64
65
|
try {
|
|
65
|
-
if (
|
|
66
|
+
if (i.muted = !1, yield i.play(), !r() || a.generation !== u)
|
|
66
67
|
return;
|
|
67
|
-
this.sharedAudioPaused = !1;
|
|
68
|
+
p && (i.currentTime = d), this.sharedAudioPaused = !1;
|
|
68
69
|
} catch (v) {
|
|
69
|
-
if (!
|
|
70
|
+
if (!r())
|
|
70
71
|
return;
|
|
71
72
|
if (v.name === "AbortError") {
|
|
72
73
|
this.pause();
|
|
73
74
|
return;
|
|
74
75
|
}
|
|
75
|
-
throw (
|
|
76
|
+
throw (y = this.controller) == null || y.cancel(), this.stopOutput(), this.handlePlayError(v), (f = this.onerror) == null || f.call(this, v), v;
|
|
76
77
|
} finally {
|
|
77
78
|
a.generation === u && (this.tryplaying = !1);
|
|
78
79
|
}
|
|
@@ -99,37 +100,37 @@ class C extends Audio {
|
|
|
99
100
|
((e = this.audioInstance) == null ? void 0 : e.generation) === this.poolGeneration && this.audioInstance.clear(), this.audioInstance = void 0;
|
|
100
101
|
}
|
|
101
102
|
handlePlayError(e) {
|
|
102
|
-
var
|
|
103
|
+
var r, a, u, i;
|
|
103
104
|
const t = navigator.userAgent, o = this.sharedAudioSrc;
|
|
104
105
|
if (console.group("🎵 音频播放错误详情"), console.error("错误对象:", e), console.error("错误名称:", e.name), console.error("错误信息:", e.message), console.error("音频文件路径:", o), console.error("浏览器信息:", t), console.error("音频实例状态:", {
|
|
105
106
|
exists: !!this.audioInstance,
|
|
106
|
-
readyState: (
|
|
107
|
+
readyState: (r = this.audioInstance) == null ? void 0 : r.readyState,
|
|
107
108
|
networkState: (a = this.audioInstance) == null ? void 0 : a.networkState,
|
|
108
109
|
error: (u = this.audioInstance) == null ? void 0 : u.error
|
|
109
110
|
}), e.name === "NotSupportedError") {
|
|
110
111
|
if (e.message.includes("no supported source was found") && (console.error("❌ 错误原因: 无法找到支持的音频源"), console.error("💡 可能的解决方案:"), console.error(" 1. 检查音频文件路径是否正确"), console.error(" 2. 检查音频文件是否存在"), console.error(" 3. 检查音频文件格式是否被浏览器支持 (推荐: MP3, OGG, WAV)"), console.error(" 4. 检查CORS设置,确保可以跨域访问音频文件"), o)) {
|
|
111
|
-
const d = (
|
|
112
|
+
const d = (i = o.split(".").pop()) == null ? void 0 : i.toLowerCase(), p = ["mp3", "ogg", "wav", "m4a", "aac"];
|
|
112
113
|
d && !p.includes(d) && (console.error(` ⚠️ 检测到不常见的音频格式: .${d}`), console.error(` 📝 建议使用: ${p.join(", ")}`));
|
|
113
114
|
}
|
|
114
115
|
} else
|
|
115
116
|
e.name === "AbortError" ? console.error("❌ 错误原因: 音频播放被中断") : e.name === "NotAllowedError" ? console.error("❌ 错误原因: 浏览器阻止了音频播放 (通常需要用户交互)") : e.message === "The operation is not supported." ? console.error("❌ 错误原因: 音频文件可能损坏或格式有问题") : console.error("❌ 未知的音频播放错误");
|
|
116
|
-
console.groupEnd(), e.name === "NotSupportedError" && o && (console.error("💡 建议运行完整音频诊断来查找问题根源:"), console.error(`AudioDiagnostics.diagnoseAudio("${o}")`), process.env.NODE_ENV === "development" && (console.warn("🔍 自动运行音频诊断..."),
|
|
117
|
+
console.groupEnd(), e.name === "NotSupportedError" && o && (console.error("💡 建议运行完整音频诊断来查找问题根源:"), console.error(`AudioDiagnostics.diagnoseAudio("${o}")`), process.env.NODE_ENV === "development" && (console.warn("🔍 自动运行音频诊断..."), E.diagnoseAudio(o)));
|
|
117
118
|
}
|
|
118
119
|
validateAudioSource(e) {
|
|
119
|
-
var
|
|
120
|
+
var r;
|
|
120
121
|
try {
|
|
121
122
|
new URL(e, window.location.href);
|
|
122
123
|
} catch (a) {
|
|
123
|
-
console.warn("🎵 音频URL格式可能有问题:", e),
|
|
124
|
+
console.warn("🎵 音频URL格式可能有问题:", e), E.diagnoseAudio(e);
|
|
124
125
|
return;
|
|
125
126
|
}
|
|
126
|
-
const t = (
|
|
127
|
+
const t = (r = e.split(".").pop()) == null ? void 0 : r.toLowerCase(), o = ["mp3", "ogg", "wav", "m4a", "aac", "webm"];
|
|
127
128
|
t && !o.includes(t) && (console.warn("🎵 音频格式可能不被广泛支持:", t), console.warn("💡 建议使用常见格式:", o.join(", ")), console.warn('💡 运行音频诊断:AudioDiagnostics.diagnoseAudio("' + e + '")')), this.checkBrowserSupport(t);
|
|
128
129
|
}
|
|
129
130
|
checkBrowserSupport(e) {
|
|
130
131
|
if (!e)
|
|
131
132
|
return;
|
|
132
|
-
const t = document.createElement("audio"),
|
|
133
|
+
const t = document.createElement("audio"), r = {
|
|
133
134
|
mp3: "audio/mpeg",
|
|
134
135
|
ogg: "audio/ogg",
|
|
135
136
|
wav: "audio/wav",
|
|
@@ -137,14 +138,14 @@ class C extends Audio {
|
|
|
137
138
|
aac: "audio/aac",
|
|
138
139
|
webm: "audio/webm"
|
|
139
140
|
}[e];
|
|
140
|
-
if (
|
|
141
|
-
const a = t.canPlayType(
|
|
141
|
+
if (r) {
|
|
142
|
+
const a = t.canPlayType(r);
|
|
142
143
|
a === "" ? (console.warn(`🎵 当前浏览器可能不支持 ${e.toUpperCase()} 格式`), console.warn("💡 建议提供多种格式的音频文件作为备选")) : console.info(a === "maybe" ? `🎵 当前浏览器可能支持 ${e.toUpperCase()} 格式 (不确定)` : `🎵 当前浏览器支持 ${e.toUpperCase()} 格式`);
|
|
143
144
|
}
|
|
144
145
|
}
|
|
145
146
|
endedHandler(e) {
|
|
146
|
-
var t, o,
|
|
147
|
-
(t = this.session) == null || t.finish(), this.session = void 0, (o = this.onended) == null || o.call(this, e != null ? e : new Event("ended")), (
|
|
147
|
+
var t, o, r;
|
|
148
|
+
(t = this.session) == null || t.finish(), this.session = void 0, (o = this.onended) == null || o.call(this, e != null ? e : new Event("ended")), (r = this.eventListenerDisposer) == null || r.call(this), this.sharedAudioPaused = !0, this.sharedAudioCurrentTime = 0, this.clear();
|
|
148
149
|
}
|
|
149
150
|
addEventListeners() {
|
|
150
151
|
const e = this.audioInstance;
|
|
@@ -156,14 +157,14 @@ class C extends Audio {
|
|
|
156
157
|
}, o = (n) => {
|
|
157
158
|
var s;
|
|
158
159
|
e.isBlankAudio || (this.sharedAudioPaused = !1, (s = this.onplay) == null || s.call(this, n));
|
|
159
|
-
},
|
|
160
|
+
}, r = (n) => {
|
|
160
161
|
this.pause(n);
|
|
161
162
|
}, a = (n) => {
|
|
162
163
|
this.endedHandler(n);
|
|
163
164
|
}, u = (n) => {
|
|
164
165
|
var s;
|
|
165
166
|
this.sharedAudioPaused = !0, (s = this.onerror) == null || s.call(this, n);
|
|
166
|
-
},
|
|
167
|
+
}, i = (n) => {
|
|
167
168
|
var s;
|
|
168
169
|
return (s = this.oncanplay) == null ? void 0 : s.call(this, n);
|
|
169
170
|
}, d = (n) => {
|
|
@@ -176,12 +177,12 @@ class C extends Audio {
|
|
|
176
177
|
var s;
|
|
177
178
|
return (s = this.onloadedmetadata) == null ? void 0 : s.call(this, n);
|
|
178
179
|
};
|
|
179
|
-
return e.addEventListener("timeupdate", t), e.addEventListener("play", o), e.addEventListener("pause",
|
|
180
|
-
e.removeEventListener("timeupdate", t), e.removeEventListener("play", o), e.removeEventListener("pause",
|
|
180
|
+
return e.addEventListener("timeupdate", t), e.addEventListener("play", o), e.addEventListener("pause", r), e.addEventListener("ended", a), e.addEventListener("error", u), e.addEventListener("canplay", i), e.addEventListener("canplaythrough", d), e.addEventListener("loadeddata", p), e.addEventListener("loadedmetadata", m), () => {
|
|
181
|
+
e.removeEventListener("timeupdate", t), e.removeEventListener("play", o), e.removeEventListener("pause", r), e.removeEventListener("ended", a), e.removeEventListener("error", u), e.removeEventListener("canplay", i), e.removeEventListener("canplaythrough", d), e.removeEventListener("loadeddata", p), e.removeEventListener("loadedmetadata", m);
|
|
181
182
|
};
|
|
182
183
|
}
|
|
183
184
|
}
|
|
184
185
|
export {
|
|
185
|
-
|
|
186
|
-
|
|
186
|
+
E as AudioDiagnostics,
|
|
187
|
+
G as SharedAudio
|
|
187
188
|
};
|
|
@@ -82,7 +82,8 @@ declare class VideoPlane extends MediaPlane {
|
|
|
82
82
|
* @returns 播放结果。`'no-session'` 表示没拿到音频焦点(并非异常),
|
|
83
83
|
* 调用方可据此降级为静音播放;`'disposed'`/`'stale'` 表示这次调用已失效。
|
|
84
84
|
*/
|
|
85
|
-
play(muted?: boolean, userAction?: boolean): Promise<
|
|
85
|
+
play(muted?: boolean, userAction?: boolean): Promise<"disposed" | "played" | "no-session" | "stale">;
|
|
86
|
+
private startPlayback;
|
|
86
87
|
/**
|
|
87
88
|
* @description 从头播放。用于「离开可见范围后走回来」的场景:
|
|
88
89
|
* 先重置进度,再尝试有声播放;有声不可用时回退静音,避免出现「既没声音也不播放」。
|