@tak-ps/cloudtak 13.49.0 → 13.51.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.
- package/dist/types/src/base/events.d.ts +4 -1
- package/dist/types/src/base/overlay-class.d.ts +7 -1
- package/dist/types/src/base/utils/point-type.d.ts +14 -0
- package/dist/types/src/components/CloudTAK/BottomBar/BottomBar.vue.d.ts +0 -4
- package/dist/types/src/components/CloudTAK/BottomBar/BottomBarCoordinates.vue.d.ts +1 -7
- package/dist/types/src/components/CloudTAK/util/Contact.vue.d.ts +3 -3
- package/dist/types/src/components/CloudTAK/util/CopyButton.vue.d.ts +9 -0
- package/dist/types/src/components/CloudTAK/util/Keywords.vue.d.ts +1 -0
- package/dist/types/src/components/util/VideoPlayer.vue.d.ts +20 -0
- package/dist/types/src/lib/video-wall.d.ts +16 -0
- package/dist/types/src/types.d.ts +2 -0
- package/package.json +5 -6
|
@@ -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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ProfileOverlay, ProfileOverlay_Create } from '../types.ts';
|
|
2
|
-
import type { LayerSpecification } from 'maplibre-gl';
|
|
2
|
+
import type { LayerSpecification, MapLayerMouseEvent } from 'maplibre-gl';
|
|
3
3
|
import { type DBOverlay } from '../database.ts';
|
|
4
4
|
export default class Overlay {
|
|
5
5
|
_destroyed: boolean;
|
|
@@ -9,6 +9,11 @@ export default class Overlay {
|
|
|
9
9
|
id: string;
|
|
10
10
|
type: string;
|
|
11
11
|
}>;
|
|
12
|
+
_hoverListeners: Array<{
|
|
13
|
+
type: 'mouseenter' | 'mousemove' | 'mouseleave';
|
|
14
|
+
layerIds: string[];
|
|
15
|
+
handler: (e: MapLayerMouseEvent) => void;
|
|
16
|
+
}>;
|
|
12
17
|
_error?: Error;
|
|
13
18
|
_loaded: boolean;
|
|
14
19
|
loading: boolean;
|
|
@@ -61,6 +66,7 @@ export default class Overlay {
|
|
|
61
66
|
hasBounds(): boolean;
|
|
62
67
|
zoomTo(): Promise<void>;
|
|
63
68
|
addLayers(before?: string): Promise<void>;
|
|
69
|
+
removeHoverListeners(): void;
|
|
64
70
|
init(opts?: {
|
|
65
71
|
clickable?: Array<{
|
|
66
72
|
id: string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Default point creation types.
|
|
3
|
+
*
|
|
4
|
+
* Points are created as 2525E Land Unit SIDCs where possible - u-d-p (Custom
|
|
5
|
+
* Point) & b-m-p-s-m (Spotted) have no 2525E equivalent and remain
|
|
6
|
+
* traditional CoT types.
|
|
7
|
+
*/
|
|
8
|
+
/** Basic CoT Atom point types previously used by creation UIs mapped to their 2525E SIDC */
|
|
9
|
+
export declare const LegacyPointTypes: Record<string, string>;
|
|
10
|
+
/**
|
|
11
|
+
* Normalize a stored default point type - mapping basic CoT Atom types
|
|
12
|
+
* previously stored by the creation UIs to their 2525E SIDC equivalent
|
|
13
|
+
*/
|
|
14
|
+
export declare function normalizePointType(type?: string | null): string;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
mode: string;
|
|
3
|
-
mouseCoord: {
|
|
4
|
-
lat: number;
|
|
5
|
-
lng: number;
|
|
6
|
-
} | null;
|
|
7
3
|
};
|
|
8
4
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
5
|
"set-location": (...args: any[]) => void;
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
coord: {
|
|
3
|
-
lat: number;
|
|
4
|
-
lng: number;
|
|
5
|
-
} | null;
|
|
6
|
-
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
2
|
declare const _default: typeof __VLS_export;
|
|
9
3
|
export default _default;
|
|
@@ -7,11 +7,11 @@ type __VLS_Props = {
|
|
|
7
7
|
hover?: boolean;
|
|
8
8
|
compact?: boolean;
|
|
9
9
|
};
|
|
10
|
-
declare var
|
|
10
|
+
declare var __VLS_33: {}, __VLS_35: {};
|
|
11
11
|
type __VLS_Slots = {} & {
|
|
12
|
-
actions?: (props: typeof
|
|
12
|
+
actions?: (props: typeof __VLS_33) => any;
|
|
13
13
|
} & {
|
|
14
|
-
expanded?: (props: typeof
|
|
14
|
+
expanded?: (props: typeof __VLS_35) => any;
|
|
15
15
|
};
|
|
16
16
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
17
|
chat: (contact: {
|
|
@@ -3,6 +3,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
|
+
title: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
6
10
|
size: {
|
|
7
11
|
type: NumberConstructor;
|
|
8
12
|
default: number;
|
|
@@ -16,6 +20,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
16
20
|
type: (NumberConstructor | StringConstructor)[];
|
|
17
21
|
required: true;
|
|
18
22
|
};
|
|
23
|
+
title: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
19
27
|
size: {
|
|
20
28
|
type: NumberConstructor;
|
|
21
29
|
default: number;
|
|
@@ -27,6 +35,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
27
35
|
}>> & Readonly<{}>, {
|
|
28
36
|
stroke: number;
|
|
29
37
|
size: number;
|
|
38
|
+
title: string;
|
|
30
39
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
31
40
|
declare const _default: typeof __VLS_export;
|
|
32
41
|
export default _default;
|
|
@@ -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;
|
|
@@ -11,6 +11,8 @@ export type APIList<T> = {
|
|
|
11
11
|
};
|
|
12
12
|
export type COTTypeList = paths["/api/type/cot"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
13
13
|
export type COTType = paths["/api/type/cot/{:type}"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
14
|
+
export type COT2525EList = paths["/api/type/2525e"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
15
|
+
export type COT2525EType = COT2525EList["items"][number];
|
|
14
16
|
export type Search = paths["/api/search"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
15
17
|
export type SearchSuggest = paths["/api/search/suggest"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
16
18
|
export type SearchForward = paths["/api/search/forward"]["get"]["responses"]["200"]["content"]["application/json"];
|
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.51.0",
|
|
5
5
|
"types": "dist/types/plugin.d.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/types"
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"@simplewebauthn/browser": "^13.3.0",
|
|
51
51
|
"@tabler/core": "^1.4.0",
|
|
52
52
|
"@tabler/icons-vue": "^3.0.0",
|
|
53
|
-
"@tak-ps/node-cot": "^14.
|
|
53
|
+
"@tak-ps/node-cot": "^14.47.0",
|
|
54
54
|
"@tak-ps/node-p12": "^1.0.3",
|
|
55
|
-
"@tak-ps/vue-tabler": "^
|
|
55
|
+
"@tak-ps/vue-tabler": "^5.1.0",
|
|
56
56
|
"@turf/area": "^7.2.0",
|
|
57
57
|
"@turf/bbox": "^7.1.0",
|
|
58
58
|
"@turf/boolean-point-in-polygon": "^7.3.1",
|
|
@@ -77,14 +77,14 @@
|
|
|
77
77
|
"dexie": "^4.2.1",
|
|
78
78
|
"dropzone": "^6.0.0-beta.2",
|
|
79
79
|
"firebase": "^12.13.0",
|
|
80
|
-
"floating-vue": "^2.0.0-beta.17",
|
|
81
80
|
"geo-coordinates-parser": "^1.7.4",
|
|
82
81
|
"geomagnetism": "^0.2.0",
|
|
82
|
+
"grid-layout-plus": "^1.1.1",
|
|
83
83
|
"handlebars": "^4.7.9",
|
|
84
84
|
"hls.js": "^1.6.5",
|
|
85
85
|
"imask": "^6.0.0",
|
|
86
86
|
"jsonata": "^2.0.4",
|
|
87
|
-
"maplibre-gl": "
|
|
87
|
+
"maplibre-gl": "^6.0.0",
|
|
88
88
|
"milsymbol": "^3.0.2",
|
|
89
89
|
"openapi-fetch": "^0.17.0",
|
|
90
90
|
"phone": "^3.1.59",
|
|
@@ -100,7 +100,6 @@
|
|
|
100
100
|
"vue": "^3.2.31",
|
|
101
101
|
"vue-component-type-helpers": "^3.0.7",
|
|
102
102
|
"vue-eslint-parser": "^10.4.1",
|
|
103
|
-
"vue-mention": "^2.0.0-alpha.3",
|
|
104
103
|
"vue-router": "^5.0.0",
|
|
105
104
|
"yaml": "^2.8.2"
|
|
106
105
|
},
|