@tak-ps/cloudtak 13.107.3 → 13.108.1
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/Property/PropertyAttachments.vue.d.ts +3 -0
- package/dist/types/src/components/CloudTAK/Property/PropertyBattery.vue.d.ts +11 -1
- package/dist/types/src/components/CloudTAK/Property/PropertyBearing.vue.d.ts +9 -0
- package/dist/types/src/components/CloudTAK/Property/PropertyRemarks.vue.d.ts +18 -0
- package/dist/types/src/components/CloudTAK/Property/PropertySpeed.vue.d.ts +18 -0
- package/dist/types/src/components/CloudTAK/util/CopyField.vue.d.ts +2 -2
- package/dist/types/src/components/CloudTAK/util/KeyValueRow.vue.d.ts +18 -0
- package/dist/types/src/components/CloudTAK/util/LineLength.vue.d.ts +7 -21
- package/dist/types/src/components/CloudTAK/util/MenuDropdownItem.vue.d.ts +25 -0
- package/dist/types/src/components/CloudTAK/util/PolygonArea.vue.d.ts +7 -21
- package/dist/types/src/components/CloudTAK/util/PropertyMeasureRow.vue.d.ts +31 -0
- package/dist/types/src/components/CloudTAK/util/PropertyStatusStrip.vue.d.ts +13 -0
- package/dist/types/src/components/CloudTAK/util/TimesFooter.vue.d.ts +12 -0
- package/dist/types/src/components/CloudTAK/util/UnitSwitcher.vue.d.ts +22 -0
- package/dist/types/src/components/util/Upload.vue.d.ts +3 -0
- package/package.json +2 -2
|
@@ -2,6 +2,8 @@ import Subscription from '../../../base/subscription.ts';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
modelValue: string[];
|
|
4
4
|
subscription?: Subscription | null;
|
|
5
|
+
/** Whether new attachments may be added - machine generated CoTs are read only */
|
|
6
|
+
edit?: boolean;
|
|
5
7
|
};
|
|
6
8
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
9
|
"update:modelValue": (value: string[]) => any;
|
|
@@ -9,6 +11,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
9
11
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
10
12
|
}>, {
|
|
11
13
|
subscription: Subscription | null;
|
|
14
|
+
edit: boolean;
|
|
12
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
16
|
declare const _default: typeof __VLS_export;
|
|
14
17
|
export default _default;
|
|
@@ -3,11 +3,21 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3
3
|
type: NumberConstructor;
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
|
+
size: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
6
10
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
11
|
battery: {
|
|
8
12
|
type: NumberConstructor;
|
|
9
13
|
required: true;
|
|
10
14
|
};
|
|
11
|
-
|
|
15
|
+
size: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
size: number;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
22
|
declare const _default: typeof __VLS_export;
|
|
13
23
|
export default _default;
|
|
@@ -21,6 +21,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
21
21
|
type: BooleanConstructor;
|
|
22
22
|
default: boolean;
|
|
23
23
|
};
|
|
24
|
+
inline: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
24
28
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
29
|
"update:modelValue": (...args: any[]) => void;
|
|
26
30
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -46,11 +50,16 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
46
50
|
type: BooleanConstructor;
|
|
47
51
|
default: boolean;
|
|
48
52
|
};
|
|
53
|
+
inline: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
49
57
|
}>> & Readonly<{
|
|
50
58
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
51
59
|
}>, {
|
|
52
60
|
label: string;
|
|
53
61
|
hover: boolean;
|
|
62
|
+
inline: boolean;
|
|
54
63
|
edit: boolean;
|
|
55
64
|
unit: string;
|
|
56
65
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue: string;
|
|
3
|
+
label?: string;
|
|
4
|
+
/** Rendered in place of modelValue; copy still uses modelValue */
|
|
5
|
+
display?: string;
|
|
6
|
+
edit?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
|
+
submit: (value: string) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
label: string;
|
|
14
|
+
display: string;
|
|
15
|
+
edit: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
label: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
2
6
|
speed: {
|
|
3
7
|
type: NumberConstructor;
|
|
4
8
|
required: true;
|
|
@@ -7,7 +11,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
7
11
|
type: StringConstructor;
|
|
8
12
|
default: string;
|
|
9
13
|
};
|
|
14
|
+
inline: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
10
18
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
label: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
11
23
|
speed: {
|
|
12
24
|
type: NumberConstructor;
|
|
13
25
|
required: true;
|
|
@@ -16,7 +28,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
16
28
|
type: StringConstructor;
|
|
17
29
|
default: string;
|
|
18
30
|
};
|
|
31
|
+
inline: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
19
35
|
}>> & Readonly<{}>, {
|
|
36
|
+
label: string;
|
|
37
|
+
inline: boolean;
|
|
20
38
|
unit: string;
|
|
21
39
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
40
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare var
|
|
1
|
+
declare var __VLS_38: {};
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof
|
|
3
|
+
default?: (props: typeof __VLS_38) => any;
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
6
|
mode: {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** KeyValueRow - one entry of a free-form key/value list */
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
name: string;
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_1: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
actions?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: 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>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -1,24 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
unit: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
-
cot: {
|
|
13
|
-
type: typeof COT;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
unit: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
}>> & Readonly<{}>, {
|
|
1
|
+
import type { Geometry } from 'geojson';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
geometry: Geometry;
|
|
4
|
+
unit?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
7
|
unit: string;
|
|
22
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
9
|
declare const _default: typeof __VLS_export;
|
|
24
10
|
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label: string;
|
|
3
|
+
danger?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_1: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
icon?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
+
click: () => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onClick?: (() => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
danger: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -1,24 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
unit: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
-
cot: {
|
|
13
|
-
type: typeof COT;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
unit: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
}>> & Readonly<{}>, {
|
|
1
|
+
import type { Geometry } from 'geojson';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
geometry: Geometry;
|
|
4
|
+
unit?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
7
|
unit: string;
|
|
22
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
9
|
declare const _default: typeof __VLS_export;
|
|
24
10
|
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type UnitOption } from './UnitSwitcher.vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
label: string;
|
|
4
|
+
modelValue: string | number;
|
|
5
|
+
/** Rendered in place of modelValue; copy and edit still use modelValue */
|
|
6
|
+
display?: string;
|
|
7
|
+
unit: string;
|
|
8
|
+
units: Array<UnitOption>;
|
|
9
|
+
edit?: boolean;
|
|
10
|
+
hover?: boolean;
|
|
11
|
+
/** Render only the field - the caller provides the row & label */
|
|
12
|
+
inline?: boolean;
|
|
13
|
+
validate?: (text: string | number) => false | string;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
|
+
submit: (value: string | number) => any;
|
|
17
|
+
"update:modelValue": (value: string | number) => any;
|
|
18
|
+
"update:unit": (value: string) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
onSubmit?: ((value: string | number) => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
22
|
+
"onUpdate:unit"?: ((value: string) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
display: string;
|
|
25
|
+
hover: boolean;
|
|
26
|
+
inline: boolean;
|
|
27
|
+
validate: (text: string | number) => false | string;
|
|
28
|
+
edit: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type TimesFooterEntry = {
|
|
2
|
+
label: string;
|
|
3
|
+
time: string;
|
|
4
|
+
/** Trailing text, ie the author of a "Created" entry */
|
|
5
|
+
suffix?: string;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
entries: Array<TimesFooterEntry>;
|
|
9
|
+
};
|
|
10
|
+
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>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UnitSwitcher - the row of unit tabs under a measurement field. Lives below
|
|
3
|
+
* the value rather than beside it so a long value is never truncated
|
|
4
|
+
*/
|
|
5
|
+
export type UnitOption = {
|
|
6
|
+
value: string;
|
|
7
|
+
/** Short label shown in the tab, ie "ft" */
|
|
8
|
+
label: string;
|
|
9
|
+
/** Long name shown on hover, ie "Feet" */
|
|
10
|
+
title?: string;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_Props = {
|
|
13
|
+
modelValue: string;
|
|
14
|
+
options: Array<UnitOption>;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
17
|
+
"update:modelValue": (value: string) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
@@ -8,6 +8,8 @@ interface Props {
|
|
|
8
8
|
label?: string;
|
|
9
9
|
mimetype?: string;
|
|
10
10
|
sizeWarning?: boolean;
|
|
11
|
+
/** Open the file picker as soon as the component mounts instead of showing the Upload button */
|
|
12
|
+
immediate?: boolean;
|
|
11
13
|
}
|
|
12
14
|
/**
|
|
13
15
|
* Resets the component state and file input.
|
|
@@ -39,6 +41,7 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {
|
|
|
39
41
|
headers: Record<string, string>;
|
|
40
42
|
label: string;
|
|
41
43
|
format: "formdata" | "raw";
|
|
44
|
+
immediate: boolean;
|
|
42
45
|
autoupload: boolean;
|
|
43
46
|
mimetype: string;
|
|
44
47
|
sizeWarning: 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.108.1",
|
|
5
5
|
"types": "dist/types/plugin.d.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/types"
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@tabler/icons-vue": "^3.0.0",
|
|
57
57
|
"@tak-ps/node-cot": "^14.47.0",
|
|
58
58
|
"@tak-ps/node-p12": "^1.0.3",
|
|
59
|
-
"@tak-ps/vue-tabler": "^5.
|
|
59
|
+
"@tak-ps/vue-tabler": "^5.9.0",
|
|
60
60
|
"@turf/area": "^7.2.0",
|
|
61
61
|
"@turf/bbox": "^7.1.0",
|
|
62
62
|
"@turf/boolean-point-in-polygon": "^7.3.1",
|