@tak-ps/cloudtak 13.88.3 → 13.91.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/components/CloudTAK/Menu/Mission/MissionInfo.vue.d.ts +2 -2
- package/dist/types/src/components/CloudTAK/util/CopyField.vue.d.ts +12 -3
- package/dist/types/src/components/CloudTAK/util/CreateCoreEvent.vue.d.ts +36 -36
- package/dist/types/src/components/CloudTAK/util/ShareToMission.vue.d.ts +1 -1
- package/dist/types/src/types.d.ts +3 -0
- package/dist/types/src/utils/text-markdown.d.ts +8 -0
- package/package.json +2 -2
|
@@ -3,9 +3,9 @@ type __VLS_Props = {
|
|
|
3
3
|
subscription: Subscription;
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
|
|
6
|
+
subscribed: (...args: any[]) => void;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
-
|
|
8
|
+
onSubscribed?: ((...args: any[]) => any) | undefined;
|
|
9
9
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const _default: typeof __VLS_export;
|
|
11
11
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare var
|
|
1
|
+
declare var __VLS_46: {};
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof
|
|
3
|
+
default?: (props: typeof __VLS_46) => any;
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
6
|
mode: {
|
|
@@ -15,6 +15,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
15
15
|
type: (NumberConstructor | StringConstructor)[];
|
|
16
16
|
required: true;
|
|
17
17
|
};
|
|
18
|
+
markdown: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
18
22
|
display: {
|
|
19
23
|
type: StringConstructor;
|
|
20
24
|
default: undefined;
|
|
@@ -68,6 +72,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
68
72
|
type: (NumberConstructor | StringConstructor)[];
|
|
69
73
|
required: true;
|
|
70
74
|
};
|
|
75
|
+
markdown: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
71
79
|
display: {
|
|
72
80
|
type: StringConstructor;
|
|
73
81
|
default: undefined;
|
|
@@ -116,9 +124,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
116
124
|
display: string;
|
|
117
125
|
rows: number;
|
|
118
126
|
hover: boolean;
|
|
127
|
+
markdown: boolean;
|
|
128
|
+
validate: Function;
|
|
119
129
|
edit: boolean;
|
|
120
130
|
minheight: number;
|
|
121
|
-
validate: Function;
|
|
122
131
|
deletable: boolean;
|
|
123
132
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
124
133
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -7,38 +7,38 @@ type __VLS_Props = {
|
|
|
7
7
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
8
8
|
close: () => any;
|
|
9
9
|
create: (event: {
|
|
10
|
+
name: string;
|
|
11
|
+
type: string;
|
|
12
|
+
priority: "none" | "low" | "medium" | "high" | "critical";
|
|
13
|
+
location: string;
|
|
14
|
+
remarks: string;
|
|
15
|
+
active: boolean;
|
|
16
|
+
external_id: string;
|
|
17
|
+
editable: boolean;
|
|
18
|
+
channels: number[];
|
|
19
|
+
style: {
|
|
20
|
+
icon?: string;
|
|
21
|
+
"marker-color"?: string;
|
|
22
|
+
"marker-opacity"?: number;
|
|
23
|
+
};
|
|
24
|
+
links: {
|
|
25
|
+
name: string;
|
|
26
|
+
url: string;
|
|
27
|
+
}[];
|
|
10
28
|
id: string;
|
|
11
29
|
mission_guid: null | string;
|
|
12
30
|
created: string;
|
|
13
31
|
updated: string;
|
|
14
|
-
active: boolean;
|
|
15
32
|
ended: null | string;
|
|
16
33
|
username: null | string;
|
|
17
34
|
connection: null | number;
|
|
18
|
-
priority: "none" | "low" | "medium" | "high" | "critical";
|
|
19
|
-
type: string;
|
|
20
|
-
name: string;
|
|
21
|
-
external_id: string;
|
|
22
|
-
editable: boolean;
|
|
23
|
-
location: string;
|
|
24
|
-
remarks: string;
|
|
25
35
|
metadata: {
|
|
26
36
|
[key: string]: unknown;
|
|
27
37
|
};
|
|
28
|
-
links: {
|
|
29
|
-
name: string;
|
|
30
|
-
url: string;
|
|
31
|
-
}[];
|
|
32
|
-
style: {
|
|
33
|
-
icon?: string;
|
|
34
|
-
"marker-color"?: string;
|
|
35
|
-
"marker-opacity"?: number;
|
|
36
|
-
};
|
|
37
38
|
geometry: {
|
|
38
39
|
type: "Point";
|
|
39
40
|
coordinates: [number, number];
|
|
40
41
|
};
|
|
41
|
-
channels: number[];
|
|
42
42
|
boards: {
|
|
43
43
|
id: string;
|
|
44
44
|
name: string;
|
|
@@ -56,38 +56,38 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
56
56
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
57
57
|
onClose?: (() => any) | undefined;
|
|
58
58
|
onCreate?: ((event: {
|
|
59
|
+
name: string;
|
|
60
|
+
type: string;
|
|
61
|
+
priority: "none" | "low" | "medium" | "high" | "critical";
|
|
62
|
+
location: string;
|
|
63
|
+
remarks: string;
|
|
64
|
+
active: boolean;
|
|
65
|
+
external_id: string;
|
|
66
|
+
editable: boolean;
|
|
67
|
+
channels: number[];
|
|
68
|
+
style: {
|
|
69
|
+
icon?: string;
|
|
70
|
+
"marker-color"?: string;
|
|
71
|
+
"marker-opacity"?: number;
|
|
72
|
+
};
|
|
73
|
+
links: {
|
|
74
|
+
name: string;
|
|
75
|
+
url: string;
|
|
76
|
+
}[];
|
|
59
77
|
id: string;
|
|
60
78
|
mission_guid: null | string;
|
|
61
79
|
created: string;
|
|
62
80
|
updated: string;
|
|
63
|
-
active: boolean;
|
|
64
81
|
ended: null | string;
|
|
65
82
|
username: null | string;
|
|
66
83
|
connection: null | number;
|
|
67
|
-
priority: "none" | "low" | "medium" | "high" | "critical";
|
|
68
|
-
type: string;
|
|
69
|
-
name: string;
|
|
70
|
-
external_id: string;
|
|
71
|
-
editable: boolean;
|
|
72
|
-
location: string;
|
|
73
|
-
remarks: string;
|
|
74
84
|
metadata: {
|
|
75
85
|
[key: string]: unknown;
|
|
76
86
|
};
|
|
77
|
-
links: {
|
|
78
|
-
name: string;
|
|
79
|
-
url: string;
|
|
80
|
-
}[];
|
|
81
|
-
style: {
|
|
82
|
-
icon?: string;
|
|
83
|
-
"marker-color"?: string;
|
|
84
|
-
"marker-opacity"?: number;
|
|
85
|
-
};
|
|
86
87
|
geometry: {
|
|
87
88
|
type: "Point";
|
|
88
89
|
coordinates: [number, number];
|
|
89
90
|
};
|
|
90
|
-
channels: number[];
|
|
91
91
|
boards: {
|
|
92
92
|
id: string;
|
|
93
93
|
name: string;
|
|
@@ -41,13 +41,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
41
41
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
onDone?: ((...args: any[]) => any) | undefined;
|
|
43
43
|
}>, {
|
|
44
|
+
action: string;
|
|
44
45
|
assets: {
|
|
45
46
|
type: "profile";
|
|
46
47
|
id: string;
|
|
47
48
|
name: string;
|
|
48
49
|
}[];
|
|
49
50
|
feats: Feature[];
|
|
50
|
-
action: string;
|
|
51
51
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
52
52
|
declare const _default: typeof __VLS_export;
|
|
53
53
|
export default _default;
|
|
@@ -199,6 +199,9 @@ export type ETLLayerTask = paths["/api/connection/{:connectionid}/layer/{:layeri
|
|
|
199
199
|
export type ETLLayerTaskCapabilities = paths["/api/connection/{:connectionid}/layer/{:layerid}/task/capabilities"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
200
200
|
export type ETLLayerIncoming = paths["/api/connection/{:connectionid}/layer/{:layerid}/incoming"]["post"]["responses"]["200"]["content"]["application/json"];
|
|
201
201
|
export type ETLLayerOutgoing = paths["/api/connection/{:connectionid}/layer/{:layerid}/outgoing"]["post"]["responses"]["200"]["content"]["application/json"];
|
|
202
|
+
export type ETLLayerMapping = paths["/api/connection/{:connectionid}/layer/{:layerid}/incoming/mapping/{:mappingid}"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
203
|
+
export type CoreSchemaList = paths["/api/core/schema"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
204
|
+
export type CoreSchema = paths["/api/core/schema/{:id}"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
202
205
|
export type ETLData = paths["/api/connection/{:connectionid}/data/{:dataid}"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
203
206
|
export type VideoService = paths["/api/video/service"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
204
207
|
export type InjectorList = paths["/api/server/injector"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prepare free text - CoT Remarks, CoreEvent Remarks, Mission Logs etc. - to be rendered as Markdown
|
|
3
|
+
*
|
|
4
|
+
* Line structure is left intact so block level Markdown such as tables, lists
|
|
5
|
+
* & headings render. Single line breaks are expected to be preserved by the
|
|
6
|
+
* renderer via `white-space: pre-wrap` on paragraphs
|
|
7
|
+
*/
|
|
8
|
+
export declare function textToMarkdown(text: string | number | undefined | null): string;
|
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.91.0",
|
|
5
5
|
"types": "dist/types/plugin.d.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/types"
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@tabler/icons-vue": "^3.0.0",
|
|
56
56
|
"@tak-ps/node-cot": "^14.47.0",
|
|
57
57
|
"@tak-ps/node-p12": "^1.0.3",
|
|
58
|
-
"@tak-ps/vue-tabler": "^5.
|
|
58
|
+
"@tak-ps/vue-tabler": "^5.7.0",
|
|
59
59
|
"@turf/area": "^7.2.0",
|
|
60
60
|
"@turf/bbox": "^7.1.0",
|
|
61
61
|
"@turf/boolean-point-in-polygon": "^7.3.1",
|