@lazycatcloud/lzc-video-player 0.0.56 → 0.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{browser-ponyfill.1b2aa0e8.js → browser-ponyfill.bf17b779.js} +1 -1
- package/dist/{lzc-video-player.751316ed.js → lzc-video-player.e1d23e3d.js} +52 -36
- package/dist/lzc-video-player.js +2 -2
- package/dist/src/model.d.ts +1 -1
- package/dist/src/stores/playlist.d.ts +19 -4
- package/package.json +1 -1
package/dist/src/model.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import type { VideoInfo } from '../model';
|
|
|
3
3
|
export declare const useHistoryInfo: () => import("pinia").Store<"historyInfo", {
|
|
4
4
|
collection: RemoteDB<VideoInfo>;
|
|
5
5
|
infos: VideoInfo[];
|
|
6
|
+
ready: Promise<void>;
|
|
6
7
|
}, {
|
|
7
8
|
getHistoryInfo(state: {
|
|
8
9
|
collection: {
|
|
@@ -29,7 +30,7 @@ export declare const useHistoryInfo: () => import("pinia").Store<"historyInfo",
|
|
|
29
30
|
currentTime: number;
|
|
30
31
|
invalid: boolean;
|
|
31
32
|
updateTime: number | undefined;
|
|
32
|
-
fromNetdisk: boolean
|
|
33
|
+
fromNetdisk: boolean;
|
|
33
34
|
path: string | undefined;
|
|
34
35
|
subtitles: {
|
|
35
36
|
name: string;
|
|
@@ -41,9 +42,16 @@ export declare const useHistoryInfo: () => import("pinia").Store<"historyInfo",
|
|
|
41
42
|
}[] | undefined;
|
|
42
43
|
_id: string;
|
|
43
44
|
}[];
|
|
45
|
+
ready: {
|
|
46
|
+
then: <TResult1 = void, TResult2 = never>(onfulfilled?: ((value: void) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
|
|
47
|
+
catch: <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined) => Promise<void | TResult>;
|
|
48
|
+
finally: (onfinally?: (() => void) | null | undefined) => Promise<void>;
|
|
49
|
+
readonly [Symbol.toStringTag]: string;
|
|
50
|
+
};
|
|
44
51
|
} & import("pinia").PiniaCustomStateProperties<{
|
|
45
52
|
collection: RemoteDB<VideoInfo>;
|
|
46
53
|
infos: VideoInfo[];
|
|
54
|
+
ready: Promise<void>;
|
|
47
55
|
}>): (sourceUrl: string) => {
|
|
48
56
|
sourceUrl: string;
|
|
49
57
|
name: string;
|
|
@@ -51,7 +59,7 @@ export declare const useHistoryInfo: () => import("pinia").Store<"historyInfo",
|
|
|
51
59
|
currentTime: number;
|
|
52
60
|
invalid: boolean;
|
|
53
61
|
updateTime: number | undefined;
|
|
54
|
-
fromNetdisk: boolean
|
|
62
|
+
fromNetdisk: boolean;
|
|
55
63
|
path: string | undefined;
|
|
56
64
|
subtitles: {
|
|
57
65
|
name: string;
|
|
@@ -88,7 +96,7 @@ export declare const useHistoryInfo: () => import("pinia").Store<"historyInfo",
|
|
|
88
96
|
currentTime: number;
|
|
89
97
|
invalid: boolean;
|
|
90
98
|
updateTime: number | undefined;
|
|
91
|
-
fromNetdisk: boolean
|
|
99
|
+
fromNetdisk: boolean;
|
|
92
100
|
path: string | undefined;
|
|
93
101
|
subtitles: {
|
|
94
102
|
name: string;
|
|
@@ -100,9 +108,16 @@ export declare const useHistoryInfo: () => import("pinia").Store<"historyInfo",
|
|
|
100
108
|
}[] | undefined;
|
|
101
109
|
_id: string;
|
|
102
110
|
}[];
|
|
111
|
+
ready: {
|
|
112
|
+
then: <TResult1 = void, TResult2 = never>(onfulfilled?: ((value: void) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
|
|
113
|
+
catch: <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined) => Promise<void | TResult>;
|
|
114
|
+
finally: (onfinally?: (() => void) | null | undefined) => Promise<void>;
|
|
115
|
+
readonly [Symbol.toStringTag]: string;
|
|
116
|
+
};
|
|
103
117
|
} & import("pinia").PiniaCustomStateProperties<{
|
|
104
118
|
collection: RemoteDB<VideoInfo>;
|
|
105
119
|
infos: VideoInfo[];
|
|
120
|
+
ready: Promise<void>;
|
|
106
121
|
}>): (path: string) => {
|
|
107
122
|
sourceUrl: string;
|
|
108
123
|
name: string;
|
|
@@ -110,7 +125,7 @@ export declare const useHistoryInfo: () => import("pinia").Store<"historyInfo",
|
|
|
110
125
|
currentTime: number;
|
|
111
126
|
invalid: boolean;
|
|
112
127
|
updateTime: number | undefined;
|
|
113
|
-
fromNetdisk: boolean
|
|
128
|
+
fromNetdisk: boolean;
|
|
114
129
|
path: string | undefined;
|
|
115
130
|
subtitles: {
|
|
116
131
|
name: string;
|