@tak-ps/cloudtak 12.112.0 → 12.114.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/Basemaps/EditModal.vue.d.ts +33 -3
- package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorBase.vue.d.ts +32 -0
- package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorFeatureServer.vue.d.ts +26 -0
- package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorImageServer.vue.d.ts +26 -0
- package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorMapServer.vue.d.ts +26 -0
- package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorQuadkey.vue.d.ts +21 -0
- package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorSelected.vue.d.ts +11 -0
- package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorTilejson.vue.d.ts +14 -0
- package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorUpload.vue.d.ts +13 -0
- package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorZxy.vue.d.ts +21 -0
- package/dist/types/src/components/CloudTAK/Menu/Basemaps/types.d.ts +54 -0
- package/dist/types/src/components/CloudTAK/util/PropertyLinks.vue.d.ts +3 -9
- package/dist/types/src/components/CloudTAK/util/PropertySensor.vue.d.ts +3 -14
- package/dist/types/src/components/CloudTAK/util/featureCut.d.ts +10 -0
- package/package.json +2 -2
|
@@ -1,13 +1,43 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BasemapListItem } from './types.ts';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
basemap?:
|
|
3
|
+
basemap?: BasemapListItem;
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
close: (...args: any[]) => void;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
8
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
9
9
|
}>, {
|
|
10
|
-
basemap: Partial<
|
|
10
|
+
basemap: Partial<{
|
|
11
|
+
id: number;
|
|
12
|
+
created: string;
|
|
13
|
+
updated: string;
|
|
14
|
+
name: string;
|
|
15
|
+
url: string;
|
|
16
|
+
minzoom: number;
|
|
17
|
+
maxzoom: number;
|
|
18
|
+
format: "png" | "jpeg" | "mvt";
|
|
19
|
+
type: "raster" | "raster-dem" | "vector";
|
|
20
|
+
username: null | string;
|
|
21
|
+
sharing_enabled: boolean;
|
|
22
|
+
sharing_token: null | string;
|
|
23
|
+
hidden: boolean;
|
|
24
|
+
tilesize: number;
|
|
25
|
+
attribution: null | string;
|
|
26
|
+
collection: null | string;
|
|
27
|
+
frequency: null | number;
|
|
28
|
+
scheme: "xyz";
|
|
29
|
+
overlay: boolean;
|
|
30
|
+
styles?: unknown[];
|
|
31
|
+
iconset?: null | string;
|
|
32
|
+
title?: string;
|
|
33
|
+
snapping_enabled?: boolean;
|
|
34
|
+
snapping_layer?: null | string;
|
|
35
|
+
bounds?: number[];
|
|
36
|
+
center?: number[];
|
|
37
|
+
actions: {
|
|
38
|
+
feature: ("query" | "fetch" | "create" | "update" | "delete")[];
|
|
39
|
+
};
|
|
40
|
+
}>;
|
|
11
41
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
42
|
declare const _default: typeof __VLS_export;
|
|
13
43
|
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { BasemapSourceType, EditingBasemap, VectorLayerDescriptor } from './types.ts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
basemapId?: number;
|
|
4
|
+
editing: EditingBasemap;
|
|
5
|
+
vectorLayers: VectorLayerDescriptor[];
|
|
6
|
+
errors: Record<'name' | 'url', string>;
|
|
7
|
+
type: BasemapSourceType;
|
|
8
|
+
scope: 'user' | 'server';
|
|
9
|
+
warnSharing: boolean;
|
|
10
|
+
isSystemAdmin: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare var __VLS_69: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
advanced?: (props: typeof __VLS_69) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
"change-type": () => any;
|
|
18
|
+
"update:scope": (value: "user" | "server") => any;
|
|
19
|
+
"update:warnSharing": (value: boolean) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
"onChange-type"?: (() => any) | undefined;
|
|
22
|
+
"onUpdate:scope"?: ((value: "user" | "server") => any) | undefined;
|
|
23
|
+
"onUpdate:warnSharing"?: ((value: boolean) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { EditingBasemap, VectorLayerDescriptor } from './types.ts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
basemapId?: number;
|
|
4
|
+
editing: EditingBasemap;
|
|
5
|
+
vectorLayers: VectorLayerDescriptor[];
|
|
6
|
+
errors: Record<'name' | 'url', string>;
|
|
7
|
+
scope: 'user' | 'server';
|
|
8
|
+
warnSharing: boolean;
|
|
9
|
+
isSystemAdmin: boolean;
|
|
10
|
+
url: string;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
fetch: () => any;
|
|
14
|
+
"change-type": () => any;
|
|
15
|
+
"update:scope": (value: "user" | "server") => any;
|
|
16
|
+
"update:warnSharing": (value: boolean) => any;
|
|
17
|
+
"update:url": (value: string) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onFetch?: (() => any) | undefined;
|
|
20
|
+
"onChange-type"?: (() => any) | undefined;
|
|
21
|
+
"onUpdate:scope"?: ((value: "user" | "server") => any) | undefined;
|
|
22
|
+
"onUpdate:warnSharing"?: ((value: boolean) => any) | undefined;
|
|
23
|
+
"onUpdate:url"?: ((value: string) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { EditingBasemap, VectorLayerDescriptor } from './types.ts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
basemapId?: number;
|
|
4
|
+
editing: EditingBasemap;
|
|
5
|
+
vectorLayers: VectorLayerDescriptor[];
|
|
6
|
+
errors: Record<'name' | 'url', string>;
|
|
7
|
+
scope: 'user' | 'server';
|
|
8
|
+
warnSharing: boolean;
|
|
9
|
+
isSystemAdmin: boolean;
|
|
10
|
+
url: string;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
fetch: () => any;
|
|
14
|
+
"change-type": () => any;
|
|
15
|
+
"update:scope": (value: "user" | "server") => any;
|
|
16
|
+
"update:warnSharing": (value: boolean) => any;
|
|
17
|
+
"update:url": (value: string) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onFetch?: (() => any) | undefined;
|
|
20
|
+
"onChange-type"?: (() => any) | undefined;
|
|
21
|
+
"onUpdate:scope"?: ((value: "user" | "server") => any) | undefined;
|
|
22
|
+
"onUpdate:warnSharing"?: ((value: boolean) => any) | undefined;
|
|
23
|
+
"onUpdate:url"?: ((value: string) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { EditingBasemap, VectorLayerDescriptor } from './types.ts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
basemapId?: number;
|
|
4
|
+
editing: EditingBasemap;
|
|
5
|
+
vectorLayers: VectorLayerDescriptor[];
|
|
6
|
+
errors: Record<'name' | 'url', string>;
|
|
7
|
+
scope: 'user' | 'server';
|
|
8
|
+
warnSharing: boolean;
|
|
9
|
+
isSystemAdmin: boolean;
|
|
10
|
+
url: string;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
fetch: () => any;
|
|
14
|
+
"change-type": () => any;
|
|
15
|
+
"update:scope": (value: "user" | "server") => any;
|
|
16
|
+
"update:warnSharing": (value: boolean) => any;
|
|
17
|
+
"update:url": (value: string) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onFetch?: (() => any) | undefined;
|
|
20
|
+
"onChange-type"?: (() => any) | undefined;
|
|
21
|
+
"onUpdate:scope"?: ((value: "user" | "server") => any) | undefined;
|
|
22
|
+
"onUpdate:warnSharing"?: ((value: boolean) => any) | undefined;
|
|
23
|
+
"onUpdate:url"?: ((value: string) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { EditingBasemap, VectorLayerDescriptor } from './types.ts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
basemapId?: number;
|
|
4
|
+
editing: EditingBasemap;
|
|
5
|
+
vectorLayers: VectorLayerDescriptor[];
|
|
6
|
+
errors: Record<'name' | 'url', string>;
|
|
7
|
+
scope: 'user' | 'server';
|
|
8
|
+
warnSharing: boolean;
|
|
9
|
+
isSystemAdmin: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"change-type": () => any;
|
|
13
|
+
"update:scope": (value: "user" | "server") => any;
|
|
14
|
+
"update:warnSharing": (value: boolean) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
"onChange-type"?: (() => any) | undefined;
|
|
17
|
+
"onUpdate:scope"?: ((value: "user" | "server") => any) | undefined;
|
|
18
|
+
"onUpdate:warnSharing"?: ((value: boolean) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { BasemapSourceType } from './types.ts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
type: BasemapSourceType;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"change-type": () => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
"onChange-type"?: (() => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
url: string;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
fetch: () => any;
|
|
6
|
+
"change-type": () => any;
|
|
7
|
+
"update:url": (value: string) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onFetch?: (() => any) | undefined;
|
|
10
|
+
"onChange-type"?: (() => any) | undefined;
|
|
11
|
+
"onUpdate:url"?: ((value: string) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
uploadUrl: URL;
|
|
3
|
+
uploadHeaders: Record<string, string>;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
done: (value: unknown) => any;
|
|
7
|
+
"change-type": () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onDone?: ((value: unknown) => any) | undefined;
|
|
10
|
+
"onChange-type"?: (() => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { EditingBasemap, VectorLayerDescriptor } from './types.ts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
basemapId?: number;
|
|
4
|
+
editing: EditingBasemap;
|
|
5
|
+
vectorLayers: VectorLayerDescriptor[];
|
|
6
|
+
errors: Record<'name' | 'url', string>;
|
|
7
|
+
scope: 'user' | 'server';
|
|
8
|
+
warnSharing: boolean;
|
|
9
|
+
isSystemAdmin: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"change-type": () => any;
|
|
13
|
+
"update:scope": (value: "user" | "server") => any;
|
|
14
|
+
"update:warnSharing": (value: boolean) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
"onChange-type"?: (() => any) | undefined;
|
|
17
|
+
"onUpdate:scope"?: ((value: "user" | "server") => any) | undefined;
|
|
18
|
+
"onUpdate:warnSharing"?: ((value: boolean) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { Basemap, BasemapList } from '../../../../types.ts';
|
|
2
|
+
import type { paths } from '@cloudtak/api-types';
|
|
3
|
+
export interface BasemapImportRequest {
|
|
4
|
+
type: BasemapSourceType;
|
|
5
|
+
url: string;
|
|
6
|
+
auth?: {
|
|
7
|
+
username?: string;
|
|
8
|
+
password?: string;
|
|
9
|
+
referer?: string;
|
|
10
|
+
expiration?: number;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface EditingBasemap {
|
|
14
|
+
name: string;
|
|
15
|
+
url: string;
|
|
16
|
+
type: 'raster' | 'raster-dem' | 'vector';
|
|
17
|
+
minzoom: number;
|
|
18
|
+
maxzoom: number;
|
|
19
|
+
tilesize: number;
|
|
20
|
+
attribution: string;
|
|
21
|
+
sharing_enabled: boolean;
|
|
22
|
+
format: 'png' | 'jpeg' | 'mvt';
|
|
23
|
+
bounds: number[];
|
|
24
|
+
center: number[];
|
|
25
|
+
collection: string;
|
|
26
|
+
title: string;
|
|
27
|
+
}
|
|
28
|
+
export interface VectorLayerFieldMap {
|
|
29
|
+
[key: string]: unknown;
|
|
30
|
+
}
|
|
31
|
+
export interface VectorLayerDescriptor {
|
|
32
|
+
id?: string;
|
|
33
|
+
fields?: VectorLayerFieldMap;
|
|
34
|
+
}
|
|
35
|
+
export type BasemapImport = paths['/api/basemap']['put']['responses']['200']['content']['application/json'] & {
|
|
36
|
+
vector_layers?: VectorLayerDescriptor[];
|
|
37
|
+
};
|
|
38
|
+
export type BasemapSourceType = 'zxy' | 'quadkey' | 'imageserver' | 'mapserver' | 'featureserver' | 'tilejson' | 'upload';
|
|
39
|
+
export declare const BasemapTypeConfig: Record<BasemapSourceType, {
|
|
40
|
+
label: string;
|
|
41
|
+
description: string;
|
|
42
|
+
icon: object;
|
|
43
|
+
urlLabel: string;
|
|
44
|
+
urlDescription: string;
|
|
45
|
+
urlPlaceholder: string;
|
|
46
|
+
urlTokens: Array<{
|
|
47
|
+
value: string;
|
|
48
|
+
tooltip: string;
|
|
49
|
+
}>;
|
|
50
|
+
defaults: Pick<EditingBasemap, 'type' | 'format' | 'minzoom' | 'maxzoom' | 'tilesize'>;
|
|
51
|
+
}>;
|
|
52
|
+
export declare function inferBasemapType(url?: string | null): BasemapSourceType | null;
|
|
53
|
+
export declare function normalizeEditing(data: Basemap | BasemapImport): EditingBasemap;
|
|
54
|
+
export type BasemapListItem = Partial<BasemapList['items'][0]>;
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
+
import type COT from '../../../base/cot';
|
|
1
2
|
type __VLS_Props = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
url?: string;
|
|
5
|
-
relation?: string;
|
|
6
|
-
type?: string;
|
|
7
|
-
uid?: string;
|
|
8
|
-
callsign?: string;
|
|
9
|
-
production_time?: string;
|
|
10
|
-
}>;
|
|
3
|
+
cot: COT;
|
|
4
|
+
edit?: boolean;
|
|
11
5
|
};
|
|
12
6
|
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>;
|
|
13
7
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,18 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
type?: string;
|
|
3
|
-
model?: string;
|
|
4
|
-
range?: number;
|
|
5
|
-
azimuth?: number;
|
|
6
|
-
fov?: number;
|
|
7
|
-
[key: string]: unknown;
|
|
8
|
-
}
|
|
1
|
+
import type COT from '../../../base/cot';
|
|
9
2
|
interface Props {
|
|
10
|
-
|
|
3
|
+
cot: COT;
|
|
11
4
|
}
|
|
12
|
-
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
-
"update:modelValue": (value: Sensor) => any;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
15
|
-
"onUpdate:modelValue"?: ((value: Sensor) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
6
|
declare const _default: typeof __VLS_export;
|
|
18
7
|
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Feature } from 'geojson';
|
|
2
|
+
import type { MapGeoJSONFeature } from 'maplibre-gl';
|
|
3
|
+
import type { useMapStore } from '../../../stores/map.ts';
|
|
4
|
+
import type Overlay from '../../../base/overlay.ts';
|
|
5
|
+
type FeatureLike = Feature | MapGeoJSONFeature;
|
|
6
|
+
type MapStore = ReturnType<typeof useMapStore>;
|
|
7
|
+
export declare function getFeatureOverlay(mapStore: MapStore, feature?: FeatureLike): Overlay | null;
|
|
8
|
+
export declare function canCutOverlayFeature(mapStore: MapStore, feature?: FeatureLike): boolean;
|
|
9
|
+
export declare function cutOverlayFeature(mapStore: MapStore, feature?: FeatureLike): Promise<void>;
|
|
10
|
+
export {};
|
package/package.json
CHANGED