@realsee/vreo 2.3.9 → 2.3.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/lib/Player/Controller.d.ts +2 -2
- package/lib/Player/hooks.d.ts +3 -3
- package/lib/Player/modules/keyframes/PanoTag/index.d.ts +1 -1
- package/lib/shared-utils/animationFrame/index.d.ts +2 -1
- package/lib/shared-utils/getMediaInfo.d.ts +1 -1
- package/package.json +1 -1
- package/stylesheets/default.css +0 -1
|
@@ -51,7 +51,7 @@ export declare class Controller extends Subscribe<VreoKeyframeEvent> {
|
|
|
51
51
|
get ready(): boolean;
|
|
52
52
|
get currentTime(): number;
|
|
53
53
|
get currentKeyframes(): VreoKeyframe[];
|
|
54
|
-
get mediaInstance(): HTMLVideoElement | HTMLAudioElement | import("../shared-utils/AudioLike").AudioLike
|
|
54
|
+
get mediaInstance(): HTMLVideoElement | HTMLAudioElement | import("../shared-utils/AudioLike").AudioLike;
|
|
55
55
|
/**
|
|
56
56
|
* 逐帧任务
|
|
57
57
|
*/
|
|
@@ -60,5 +60,5 @@ export declare class Controller extends Subscribe<VreoKeyframeEvent> {
|
|
|
60
60
|
clear(): void;
|
|
61
61
|
dispose(): void;
|
|
62
62
|
}
|
|
63
|
-
declare const ControllerContext: React.Context<Controller
|
|
63
|
+
declare const ControllerContext: React.Context<Controller>;
|
|
64
64
|
export { ControllerContext };
|
package/lib/Player/hooks.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Vector3 } from 'three';
|
|
2
|
-
export declare function useController():
|
|
3
|
-
export declare function useFiveInstance():
|
|
4
|
-
export declare function useFiveProject2d(): (vector: Vector3) =>
|
|
2
|
+
export declare function useController(): any;
|
|
3
|
+
export declare function useFiveInstance(): any;
|
|
4
|
+
export declare function useFiveProject2d(): (vector: Vector3) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function PanoTag():
|
|
1
|
+
export declare function PanoTag(): any;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
declare const _requestAnimationFrame: (((callback: FrameRequestCallback) => number) & typeof requestAnimationFrame) | ((fn: FrameRequestCallback) => NodeJS.Timeout);
|
|
2
3
|
export default _requestAnimationFrame;
|
|
3
4
|
export declare function nextFrame(fn: FrameRequestCallback, delay?: number): void;
|
|
4
5
|
/**
|
|
@@ -5,5 +5,5 @@ export default function getMediaInfo(fileUrl: string): Promise<{
|
|
|
5
5
|
}>;
|
|
6
6
|
export declare function getMediaType(url?: string): "audio" | "video" | "image" | "unknown";
|
|
7
7
|
export declare function getMediaTypeByExpandedName(fileExpandedName?: string | null): "audio" | "video" | "image" | "unknown";
|
|
8
|
-
export declare function getMediaTypeByUrl(fileUrl?: string | null): "audio" | "video" | "image" | "unknown"
|
|
8
|
+
export declare function getMediaTypeByUrl(fileUrl?: string | null): "audio" | "video" | "image" | "unknown";
|
|
9
9
|
export declare function getFileName(fileUrl?: string): string;
|
package/package.json
CHANGED