@tak-ps/cloudtak 13.2.0 → 13.3.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/capacitor.d.ts +0 -1
- package/dist/types/src/base/events.d.ts +1 -0
- package/dist/types/src/base/kv.d.ts +17 -0
- package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorBase.vue.d.ts +2 -2
- package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorFeatureServer.vue.d.ts +2 -2
- package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorImageServer.vue.d.ts +2 -2
- package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorMapServer.vue.d.ts +2 -2
- package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorZxy.vue.d.ts +2 -2
- package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorZxy_Upload.vue.d.ts +0 -1
- package/dist/types/src/components/CloudTAK/Menu/MenuFilesRow.vue.d.ts +4 -4
- package/dist/types/src/components/CloudTAK/Menu/Overlays/DeleteModal.vue.d.ts +1 -1
- package/dist/types/src/components/CloudTAK/util/CopyButton.vue.d.ts +2 -2
- package/dist/types/src/components/CloudTAK/util/CopyField.vue.d.ts +4 -4
- package/dist/types/src/components/CloudTAK/util/EmptyInfo.vue.d.ts +1 -1
- package/dist/types/src/components/CloudTAK/util/GenericChat.vue.d.ts +1 -1
- package/dist/types/src/components/CloudTAK/util/IconSelectOffline.vue.d.ts +1 -1
- package/dist/types/src/components/CloudTAK/util/Icons.vue.d.ts +1 -1
- package/dist/types/src/components/CloudTAK/util/InlineExpiration.vue.d.ts +1 -1
- package/dist/types/src/components/CloudTAK/util/InlineGroupSelect.vue.d.ts +1 -1
- package/dist/types/src/components/CloudTAK/util/Keywords.vue.d.ts +1 -1
- package/dist/types/src/components/CloudTAK/util/TagEntry.vue.d.ts +2 -2
- package/dist/types/src/components/util/HandleForm.vue.d.ts +2 -2
- package/dist/types/src/components/util/Upload.vue.d.ts +4 -4
- package/dist/types/src/database.d.ts +5 -0
- package/dist/types/src/std.d.ts +3 -1
- package/dist/types/src/stores/map.d.ts +1 -0
- package/package.json +3 -6
|
@@ -2,7 +2,6 @@ import type { CallbackID, Position, PositionOptions } from '@capacitor/geolocati
|
|
|
2
2
|
export declare function isNativePlatform(): boolean;
|
|
3
3
|
export declare function supportsServiceWorker(): boolean;
|
|
4
4
|
export declare function supportsLocationRequests(): boolean;
|
|
5
|
-
export declare function resolveRuntimeUrl(url: string | URL): URL;
|
|
6
5
|
export declare function openExternalUrl(url: string | URL): Promise<void>;
|
|
7
6
|
export declare function openSecondaryView(url: string | URL): Promise<void>;
|
|
8
7
|
export declare function writeClipboardText(value: string): Promise<void>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type Observable } from 'dexie';
|
|
2
|
+
import { type DBKV } from '../database.ts';
|
|
3
|
+
import BaseInterface from './interface.ts';
|
|
4
|
+
export default class KV extends BaseInterface {
|
|
5
|
+
static readonly listCacheKey = "kv";
|
|
6
|
+
static count(): Promise<number>;
|
|
7
|
+
static liveCount(): Observable<number>;
|
|
8
|
+
static list(): Promise<DBKV[]>;
|
|
9
|
+
static liveList(): Observable<DBKV[]>;
|
|
10
|
+
static sync(): Promise<void>;
|
|
11
|
+
static from(key: string): Promise<DBKV | undefined>;
|
|
12
|
+
static liveFrom(key: string): Observable<DBKV | undefined>;
|
|
13
|
+
static generate(key?: string, value?: string): Promise<void>;
|
|
14
|
+
static update(key?: string, value?: string): Promise<void>;
|
|
15
|
+
static value(key: string): Promise<string | undefined>;
|
|
16
|
+
static delete(key: string): Promise<void>;
|
|
17
|
+
}
|
|
@@ -18,12 +18,12 @@ type __VLS_Slots = {} & {
|
|
|
18
18
|
};
|
|
19
19
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
20
|
"change-type": () => any;
|
|
21
|
-
"update:scope": (value: "
|
|
21
|
+
"update:scope": (value: "server" | "user") => any;
|
|
22
22
|
"update:warnSharing": (value: boolean) => any;
|
|
23
23
|
"update:editing": (value: EditingBasemap) => any;
|
|
24
24
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
25
25
|
"onChange-type"?: (() => any) | undefined;
|
|
26
|
-
"onUpdate:scope"?: ((value: "
|
|
26
|
+
"onUpdate:scope"?: ((value: "server" | "user") => any) | undefined;
|
|
27
27
|
"onUpdate:warnSharing"?: ((value: boolean) => any) | undefined;
|
|
28
28
|
"onUpdate:editing"?: ((value: EditingBasemap) => any) | undefined;
|
|
29
29
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -15,14 +15,14 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
15
15
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
16
|
fetch: () => any;
|
|
17
17
|
"change-type": () => any;
|
|
18
|
-
"update:scope": (value: "
|
|
18
|
+
"update:scope": (value: "server" | "user") => any;
|
|
19
19
|
"update:warnSharing": (value: boolean) => any;
|
|
20
20
|
"update:editing": (value: EditingBasemap) => any;
|
|
21
21
|
"update:url": (value: string) => any;
|
|
22
22
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
23
23
|
onFetch?: (() => any) | undefined;
|
|
24
24
|
"onChange-type"?: (() => any) | undefined;
|
|
25
|
-
"onUpdate:scope"?: ((value: "
|
|
25
|
+
"onUpdate:scope"?: ((value: "server" | "user") => any) | undefined;
|
|
26
26
|
"onUpdate:warnSharing"?: ((value: boolean) => any) | undefined;
|
|
27
27
|
"onUpdate:editing"?: ((value: EditingBasemap) => any) | undefined;
|
|
28
28
|
"onUpdate:url"?: ((value: string) => any) | undefined;
|
|
@@ -15,14 +15,14 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
15
15
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
16
|
fetch: () => any;
|
|
17
17
|
"change-type": () => any;
|
|
18
|
-
"update:scope": (value: "
|
|
18
|
+
"update:scope": (value: "server" | "user") => any;
|
|
19
19
|
"update:warnSharing": (value: boolean) => any;
|
|
20
20
|
"update:editing": (value: EditingBasemap) => any;
|
|
21
21
|
"update:url": (value: string) => any;
|
|
22
22
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
23
23
|
onFetch?: (() => any) | undefined;
|
|
24
24
|
"onChange-type"?: (() => any) | undefined;
|
|
25
|
-
"onUpdate:scope"?: ((value: "
|
|
25
|
+
"onUpdate:scope"?: ((value: "server" | "user") => any) | undefined;
|
|
26
26
|
"onUpdate:warnSharing"?: ((value: boolean) => any) | undefined;
|
|
27
27
|
"onUpdate:editing"?: ((value: EditingBasemap) => any) | undefined;
|
|
28
28
|
"onUpdate:url"?: ((value: string) => any) | undefined;
|
|
@@ -15,14 +15,14 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
15
15
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
16
|
fetch: () => any;
|
|
17
17
|
"change-type": () => any;
|
|
18
|
-
"update:scope": (value: "
|
|
18
|
+
"update:scope": (value: "server" | "user") => any;
|
|
19
19
|
"update:warnSharing": (value: boolean) => any;
|
|
20
20
|
"update:editing": (value: EditingBasemap) => any;
|
|
21
21
|
"update:url": (value: string) => any;
|
|
22
22
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
23
23
|
onFetch?: (() => any) | undefined;
|
|
24
24
|
"onChange-type"?: (() => any) | undefined;
|
|
25
|
-
"onUpdate:scope"?: ((value: "
|
|
25
|
+
"onUpdate:scope"?: ((value: "server" | "user") => any) | undefined;
|
|
26
26
|
"onUpdate:warnSharing"?: ((value: boolean) => any) | undefined;
|
|
27
27
|
"onUpdate:editing"?: ((value: EditingBasemap) => any) | undefined;
|
|
28
28
|
"onUpdate:url"?: ((value: string) => any) | undefined;
|
|
@@ -13,12 +13,12 @@ type __VLS_ModelProps = {
|
|
|
13
13
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
14
14
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
15
|
"change-type": () => any;
|
|
16
|
-
"update:scope": (value: "
|
|
16
|
+
"update:scope": (value: "server" | "user") => any;
|
|
17
17
|
"update:warnSharing": (value: boolean) => any;
|
|
18
18
|
"update:editing": (value: EditingBasemap) => any;
|
|
19
19
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
20
|
"onChange-type"?: (() => any) | undefined;
|
|
21
|
-
"onUpdate:scope"?: ((value: "
|
|
21
|
+
"onUpdate:scope"?: ((value: "server" | "user") => any) | undefined;
|
|
22
22
|
"onUpdate:warnSharing"?: ((value: boolean) => any) | undefined;
|
|
23
23
|
"onUpdate:editing"?: ((value: EditingBasemap) => any) | undefined;
|
|
24
24
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
uploadUrl: URL;
|
|
3
|
-
uploadHeaders: Record<string, string>;
|
|
4
3
|
};
|
|
5
4
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
5
|
done: (value: unknown) => any;
|
|
@@ -10,7 +10,7 @@ type __VLS_Props = {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
-
|
|
13
|
+
download: (asset: {
|
|
14
14
|
id: string;
|
|
15
15
|
created: string;
|
|
16
16
|
updated: string;
|
|
@@ -25,7 +25,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
25
25
|
size: number;
|
|
26
26
|
}[];
|
|
27
27
|
}) => any;
|
|
28
|
-
|
|
28
|
+
delete: (asset: {
|
|
29
29
|
id: string;
|
|
30
30
|
created: string;
|
|
31
31
|
updated: string;
|
|
@@ -134,7 +134,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
134
134
|
"rename-submit": () => any;
|
|
135
135
|
"rename-cancel": () => any;
|
|
136
136
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
137
|
-
|
|
137
|
+
onDownload?: ((asset: {
|
|
138
138
|
id: string;
|
|
139
139
|
created: string;
|
|
140
140
|
updated: string;
|
|
@@ -149,7 +149,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
149
149
|
size: number;
|
|
150
150
|
}[];
|
|
151
151
|
}) => any) | undefined;
|
|
152
|
-
|
|
152
|
+
onDelete?: ((asset: {
|
|
153
153
|
id: string;
|
|
154
154
|
created: string;
|
|
155
155
|
updated: string;
|
|
@@ -31,8 +31,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
31
31
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
32
32
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
|
-
label: string;
|
|
35
34
|
size: number;
|
|
35
|
+
label: string;
|
|
36
36
|
displaytype: string;
|
|
37
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
38
38
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
text: {
|
|
3
|
-
type: (
|
|
3
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
6
|
size: {
|
|
@@ -13,7 +13,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
13
13
|
};
|
|
14
14
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
text: {
|
|
16
|
-
type: (
|
|
16
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
17
17
|
required: true;
|
|
18
18
|
};
|
|
19
19
|
size: {
|
|
@@ -12,7 +12,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
14
|
modelValue: {
|
|
15
|
-
type: (
|
|
15
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
16
16
|
required: true;
|
|
17
17
|
};
|
|
18
18
|
rows: {
|
|
@@ -61,7 +61,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
61
61
|
default: string;
|
|
62
62
|
};
|
|
63
63
|
modelValue: {
|
|
64
|
-
type: (
|
|
64
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
65
65
|
required: true;
|
|
66
66
|
};
|
|
67
67
|
rows: {
|
|
@@ -101,10 +101,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
101
101
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
102
102
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
103
103
|
}>, {
|
|
104
|
-
label: string;
|
|
105
|
-
mode: string;
|
|
106
104
|
stroke: number;
|
|
107
105
|
size: number;
|
|
106
|
+
mode: string;
|
|
107
|
+
label: string;
|
|
108
108
|
rows: number;
|
|
109
109
|
hover: boolean;
|
|
110
110
|
edit: boolean;
|
|
@@ -17,8 +17,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
17
17
|
default: boolean;
|
|
18
18
|
};
|
|
19
19
|
}>> & Readonly<{}>, {
|
|
20
|
-
button: boolean;
|
|
21
20
|
type: string;
|
|
21
|
+
button: boolean;
|
|
22
22
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
|
24
24
|
export default _default;
|
|
@@ -27,9 +27,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
27
27
|
onSend?: ((message: string) => any) | undefined;
|
|
28
28
|
"onAt-bottom"?: ((atBottom: boolean) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
|
+
error: Error;
|
|
30
31
|
loading: boolean;
|
|
31
32
|
placeholder: string;
|
|
32
|
-
error: Error;
|
|
33
33
|
canSend: boolean;
|
|
34
34
|
canDelete: boolean;
|
|
35
35
|
multiselect: boolean;
|
|
@@ -14,9 +14,9 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, i
|
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
15
15
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
+
description: string;
|
|
17
18
|
label: string;
|
|
18
19
|
required: boolean;
|
|
19
|
-
description: string;
|
|
20
20
|
disabled: boolean;
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -25,8 +25,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
25
25
|
default: number;
|
|
26
26
|
};
|
|
27
27
|
}>> & Readonly<{}>, {
|
|
28
|
-
iconset: string;
|
|
29
28
|
labels: boolean;
|
|
29
|
+
iconset: string;
|
|
30
30
|
refreshKey: number;
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
|
@@ -38,8 +38,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
38
38
|
onCancel?: (() => any) | undefined;
|
|
39
39
|
onDisplayClick?: (() => any) | undefined;
|
|
40
40
|
}>, {
|
|
41
|
-
label: string;
|
|
42
41
|
value: string | null;
|
|
42
|
+
label: string;
|
|
43
43
|
gap: string;
|
|
44
44
|
background: string;
|
|
45
45
|
shadow: boolean;
|
|
@@ -36,9 +36,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
36
36
|
onSave?: ((value: string[]) => any) | undefined;
|
|
37
37
|
onCancel?: (() => any) | undefined;
|
|
38
38
|
}>, {
|
|
39
|
-
label: string;
|
|
40
39
|
direction: string;
|
|
41
40
|
active: boolean;
|
|
41
|
+
label: string;
|
|
42
42
|
gap: string;
|
|
43
43
|
background: string;
|
|
44
44
|
shadow: boolean;
|
|
@@ -4,8 +4,8 @@ type __VLS_Props = {
|
|
|
4
4
|
tone?: 'muted' | 'accent';
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
|
-
placeholder: string;
|
|
8
7
|
keywords: string[];
|
|
8
|
+
placeholder: string;
|
|
9
9
|
tone: "muted" | "accent";
|
|
10
10
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
@@ -23,13 +23,13 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, i
|
|
|
23
23
|
"on-limit": () => any;
|
|
24
24
|
"on-error": (error: Error) => any;
|
|
25
25
|
"on-focus": (event: FocusEvent) => any;
|
|
26
|
-
"on-blur": (event:
|
|
26
|
+
"on-blur": (event: KeyboardEvent | FocusEvent) => any;
|
|
27
27
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
28
28
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
29
29
|
"onOn-limit"?: (() => any) | undefined;
|
|
30
30
|
"onOn-error"?: ((error: Error) => any) | undefined;
|
|
31
31
|
"onOn-focus"?: ((event: FocusEvent) => any) | undefined;
|
|
32
|
-
"onOn-blur"?: ((event:
|
|
32
|
+
"onOn-blur"?: ((event: KeyboardEvent | FocusEvent) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
modelValue: string[];
|
|
35
35
|
disabled: boolean;
|
|
@@ -17,13 +17,13 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
18
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
|
-
label: string;
|
|
21
20
|
description: string;
|
|
21
|
+
schema: SchemaNode;
|
|
22
|
+
label: string;
|
|
22
23
|
modelValue: string | number;
|
|
23
24
|
disabled: boolean;
|
|
24
25
|
rows: number | string;
|
|
25
26
|
placeholder: string;
|
|
26
|
-
schema: SchemaNode;
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const _default: typeof __VLS_export;
|
|
29
29
|
export default _default;
|
|
@@ -21,24 +21,24 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {
|
|
|
21
21
|
refresh: typeof refresh;
|
|
22
22
|
upload: typeof upload;
|
|
23
23
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
24
|
-
done: (response: unknown) => any;
|
|
25
24
|
error: (response: Error) => any;
|
|
25
|
+
done: (response: unknown) => any;
|
|
26
26
|
cancel: () => any;
|
|
27
27
|
staged: (response: {
|
|
28
28
|
name: string;
|
|
29
29
|
}) => any;
|
|
30
30
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
31
|
-
onDone?: ((response: unknown) => any) | undefined;
|
|
32
31
|
onError?: ((response: Error) => any) | undefined;
|
|
32
|
+
onDone?: ((response: unknown) => any) | undefined;
|
|
33
33
|
onCancel?: (() => any) | undefined;
|
|
34
34
|
onStaged?: ((response: {
|
|
35
35
|
name: string;
|
|
36
36
|
}) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
|
-
label: string;
|
|
39
38
|
method: string;
|
|
40
|
-
format: "formdata" | "raw";
|
|
41
39
|
headers: Record<string, string>;
|
|
40
|
+
label: string;
|
|
41
|
+
format: "formdata" | "raw";
|
|
42
42
|
cancel: boolean;
|
|
43
43
|
autoupload: boolean;
|
|
44
44
|
mimetype: string;
|
|
@@ -82,6 +82,10 @@ export interface DBNotification {
|
|
|
82
82
|
read: boolean;
|
|
83
83
|
created: string;
|
|
84
84
|
}
|
|
85
|
+
export interface DBKV {
|
|
86
|
+
key: string;
|
|
87
|
+
value: string;
|
|
88
|
+
}
|
|
85
89
|
export interface DBVideo {
|
|
86
90
|
id: string;
|
|
87
91
|
created: string;
|
|
@@ -201,6 +205,7 @@ export type DatabaseType = Dexie & {
|
|
|
201
205
|
subscription_chat: EntityTable<DBSubscriptionChat, 'id'>;
|
|
202
206
|
mission_template: EntityTable<DBMissionTemplate, 'id'>;
|
|
203
207
|
mission_template_log: EntityTable<DBMissionTemplateLog, 'id'>;
|
|
208
|
+
kv: EntityTable<DBKV, 'key'>;
|
|
204
209
|
profile: EntityTable<DBProfileConfig, 'key'>;
|
|
205
210
|
config: EntityTable<DBConfig, 'key'>;
|
|
206
211
|
cache: EntityTable<DBCache, 'key'>;
|
package/dist/types/src/std.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { paths } from '@cloudtak/api-types';
|
|
2
2
|
import type { Router } from 'vue-router';
|
|
3
|
+
export declare const serverUrl: string;
|
|
3
4
|
export declare const server: import("openapi-fetch").Client<paths, `${string}/${string}`>;
|
|
5
|
+
export declare function getServer(): Promise<import("openapi-fetch").Client<paths, `${string}/${string}`>>;
|
|
4
6
|
export declare function stdurl(url: string | URL): URL;
|
|
5
7
|
/**
|
|
6
8
|
* Standardize interactions with the backend API
|
|
@@ -15,5 +17,5 @@ export declare function std(url: string | URL, opts?: {
|
|
|
15
17
|
body?: unknown;
|
|
16
18
|
method?: string;
|
|
17
19
|
}): Promise<unknown>;
|
|
18
|
-
export declare function humanSeconds(seconds: number): string;
|
|
19
20
|
export declare function stdclick($router: Router, event: MouseEvent | KeyboardEvent, path: string): void;
|
|
21
|
+
export declare function humanSeconds(seconds: number): string;
|
|
@@ -56,6 +56,7 @@ export declare const useMapStore: import("pinia").StoreDefinition<"cloudtak", {
|
|
|
56
56
|
};
|
|
57
57
|
timer: ReturnType<typeof setInterval> | null;
|
|
58
58
|
_rawWorker: Worker;
|
|
59
|
+
_workerReady: Promise<void>;
|
|
59
60
|
worker: Comlink.Remote<Atlas>;
|
|
60
61
|
mission: Subscription | undefined;
|
|
61
62
|
terrainEnabled: boolean;
|
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.3.0",
|
|
5
5
|
"types": "dist/types/plugin.d.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/types"
|
|
@@ -29,14 +29,11 @@
|
|
|
29
29
|
"url": "git+https://github.com/dfpc-coe/CloudTAK.git"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@capacitor/app": "^8.1.0",
|
|
33
32
|
"@capacitor/browser": "^8.0.1",
|
|
34
33
|
"@capacitor/clipboard": "^8.0.1",
|
|
35
34
|
"@capacitor/core": "^8.3.1",
|
|
36
35
|
"@capacitor/geolocation": "^8.1.0",
|
|
37
|
-
"@capacitor/
|
|
38
|
-
"@capacitor/ios": "^8.3.1",
|
|
39
|
-
"@capacitor/keyboard": "^8.0.3",
|
|
36
|
+
"@capacitor/preferences": "^8.0.1",
|
|
40
37
|
"@capacitor/status-bar": "^8.0.2",
|
|
41
38
|
"@mapbox/tile-cover": "^3.0.2",
|
|
42
39
|
"@simplewebauthn/browser": "^13.3.0",
|
|
@@ -122,4 +119,4 @@
|
|
|
122
119
|
"> 1%",
|
|
123
120
|
"last 2 versions"
|
|
124
121
|
]
|
|
125
|
-
}
|
|
122
|
+
}
|