@tak-ps/cloudtak 13.49.0 → 13.50.0
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.
|
@@ -24,7 +24,10 @@ export declare enum WorkerMessageType {
|
|
|
24
24
|
Sync_Start = "cloudtak:sync:start",
|
|
25
25
|
Sync_Complete = "cloudtak:sync:complete",
|
|
26
26
|
Sync_Update = "cloudtak:sync:update",
|
|
27
|
-
Iconset_Change = "cloudtak:iconset:change"
|
|
27
|
+
Iconset_Change = "cloudtak:iconset:change",
|
|
28
|
+
VideoWall_Ping = "cloudtak:videowall:ping",
|
|
29
|
+
VideoWall_Pong = "cloudtak:videowall:pong",
|
|
30
|
+
VideoWall_Refresh = "cloudtak:videowall:refresh"
|
|
28
31
|
}
|
|
29
32
|
export type WorkerMessage = {
|
|
30
33
|
type: WorkerMessageType;
|
|
@@ -10,6 +10,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
10
10
|
}>, {
|
|
11
11
|
keywords: string[];
|
|
12
12
|
placeholder: string;
|
|
13
|
+
relevant: string[];
|
|
13
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
15
|
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type VideoPlayerMetadata = {
|
|
2
|
+
name: string;
|
|
3
|
+
active: boolean;
|
|
4
|
+
watchers: number;
|
|
5
|
+
source_type?: string;
|
|
6
|
+
source_model?: string;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
url?: string;
|
|
10
|
+
lease?: number;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
metadata: (metadata: VideoPlayerMetadata) => any;
|
|
14
|
+
error: (error: Error) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onMetadata?: ((metadata: VideoPlayerMetadata) => any) | undefined;
|
|
17
|
+
onError?: ((error: Error) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const VIDEO_WALL_PATH = "/video";
|
|
2
|
+
export declare const VIDEO_WALL_WINDOW = "cloudtak-video-wall";
|
|
3
|
+
/**
|
|
4
|
+
* Determine if a Video Wall tab is currently open by pinging over the BroadcastChannel
|
|
5
|
+
*/
|
|
6
|
+
export declare function isVideoWallOpen(timeout?: number): Promise<boolean>;
|
|
7
|
+
/**
|
|
8
|
+
* Notify an open Video Wall that its contents have changed, or open a new
|
|
9
|
+
* Video Wall tab if one isn't open
|
|
10
|
+
*/
|
|
11
|
+
export declare function notifyVideoWall(): Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* Register the current tab as the Video Wall - responds to pings and invokes
|
|
14
|
+
* the callback when another tab pushes a new video. Returns a cleanup function.
|
|
15
|
+
*/
|
|
16
|
+
export declare function registerVideoWall(onRefresh: () => void): () => void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tak-ps/cloudtak",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "13.
|
|
4
|
+
"version": "13.50.0",
|
|
5
5
|
"types": "dist/types/plugin.d.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/types"
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
"floating-vue": "^2.0.0-beta.17",
|
|
81
81
|
"geo-coordinates-parser": "^1.7.4",
|
|
82
82
|
"geomagnetism": "^0.2.0",
|
|
83
|
+
"grid-layout-plus": "^1.1.1",
|
|
83
84
|
"handlebars": "^4.7.9",
|
|
84
85
|
"hls.js": "^1.6.5",
|
|
85
86
|
"imask": "^6.0.0",
|