@tak-ps/cloudtak 13.109.3 → 13.110.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.
|
@@ -35,6 +35,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
35
35
|
type: BooleanConstructor;
|
|
36
36
|
default: boolean;
|
|
37
37
|
};
|
|
38
|
+
detail: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
38
42
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
43
|
delete: (...args: any[]) => void;
|
|
40
44
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -74,6 +78,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
74
78
|
type: BooleanConstructor;
|
|
75
79
|
default: boolean;
|
|
76
80
|
};
|
|
81
|
+
detail: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
77
85
|
}>> & Readonly<{
|
|
78
86
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
79
87
|
}>, {
|
|
@@ -85,6 +93,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
85
93
|
gripHandle: boolean;
|
|
86
94
|
infoButton: boolean;
|
|
87
95
|
visibilityToggle: boolean;
|
|
96
|
+
detail: string;
|
|
88
97
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
89
98
|
declare const _default: typeof __VLS_export;
|
|
90
99
|
export default _default;
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Rewrite remote
|
|
3
|
-
*
|
|
2
|
+
* Rewrite a remote image URL to load through the CloudTAK image proxy so it
|
|
3
|
+
* is permitted by the Content-Security-Policy - same-origin URLs pass through
|
|
4
|
+
*/
|
|
5
|
+
export declare function proxyImageUrl(src: string, token?: string | null): string | null;
|
|
6
|
+
/**
|
|
7
|
+
* Whether a CoT link points at an image, by declared mime type or URL extension
|
|
8
|
+
*/
|
|
9
|
+
export declare function isImageLink(link: {
|
|
10
|
+
url?: string;
|
|
11
|
+
mime?: string;
|
|
12
|
+
}): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Rewrite remote <img> sources in an HTML fragment through the image proxy
|
|
4
15
|
*/
|
|
5
16
|
export declare function proxyHtmlImages(html: string, token?: string | null): string;
|
|
6
17
|
/**
|
|
@@ -80,6 +80,13 @@ export default class AtlasDatabase {
|
|
|
80
80
|
limit?: number;
|
|
81
81
|
mission?: boolean;
|
|
82
82
|
}): Promise<Set<COT>>;
|
|
83
|
+
/**
|
|
84
|
+
* Find CoTs whose callsign or remarks contain the query, callsign matches first
|
|
85
|
+
*/
|
|
86
|
+
search(query: string, opts?: {
|
|
87
|
+
limit?: number;
|
|
88
|
+
mission?: boolean;
|
|
89
|
+
}): Promise<Set<COT>>;
|
|
83
90
|
paths(store?: Map<string, COT>): Promise<Array<NestedArray>>;
|
|
84
91
|
/**
|
|
85
92
|
* Return CoTs touching a given polygon
|