@tak-ps/cloudtak 13.2.0 → 13.4.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.
Files changed (51) hide show
  1. package/dist/types/src/base/capacitor.d.ts +0 -9
  2. package/dist/types/src/base/events.d.ts +1 -0
  3. package/dist/types/src/base/icon.d.ts +0 -5
  4. package/dist/types/src/base/iconset.d.ts +27 -5
  5. package/dist/types/src/base/interface.d.ts +2 -2
  6. package/dist/types/src/base/kv.d.ts +17 -0
  7. package/dist/types/src/base/overlay-class.d.ts +101 -0
  8. package/dist/types/src/base/overlay.d.ts +67 -97
  9. package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorBase.vue.d.ts +2 -2
  10. package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorFeatureServer.vue.d.ts +2 -2
  11. package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorImageServer.vue.d.ts +2 -2
  12. package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorMapServer.vue.d.ts +2 -2
  13. package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorZxy.vue.d.ts +2 -2
  14. package/dist/types/src/components/CloudTAK/Menu/Basemaps/TypeSelectorZxy_Upload.vue.d.ts +0 -1
  15. package/dist/types/src/components/CloudTAK/Menu/MenuFilesRow.vue.d.ts +4 -4
  16. package/dist/types/src/components/CloudTAK/Menu/Overlays/DeleteModal.vue.d.ts +1 -1
  17. package/dist/types/src/components/CloudTAK/Menu/Overlays/TreeCots.vue.d.ts +1 -1
  18. package/dist/types/src/components/CloudTAK/Menu/Overlays/TreeMission.vue.d.ts +1 -1
  19. package/dist/types/src/components/CloudTAK/util/CopyButton.vue.d.ts +2 -2
  20. package/dist/types/src/components/CloudTAK/util/CopyField.vue.d.ts +4 -4
  21. package/dist/types/src/components/CloudTAK/util/EmptyInfo.vue.d.ts +1 -1
  22. package/dist/types/src/components/CloudTAK/util/GenericChat.vue.d.ts +1 -1
  23. package/dist/types/src/components/CloudTAK/util/GenericSelect.vue.d.ts +1 -0
  24. package/dist/types/src/components/CloudTAK/util/IconSelectOffline.vue.d.ts +1 -1
  25. package/dist/types/src/components/CloudTAK/util/Icons.vue.d.ts +1 -1
  26. package/dist/types/src/components/CloudTAK/util/InlineExpiration.vue.d.ts +1 -1
  27. package/dist/types/src/components/CloudTAK/util/InlineGroupSelect.vue.d.ts +1 -1
  28. package/dist/types/src/components/CloudTAK/util/Keywords.vue.d.ts +1 -1
  29. package/dist/types/src/components/CloudTAK/util/TagEntry.vue.d.ts +2 -2
  30. package/dist/types/src/components/CloudTAK/util/featureCut.d.ts +3 -3
  31. package/dist/types/src/components/util/HandleForm.vue.d.ts +2 -2
  32. package/dist/types/src/components/util/Upload.vue.d.ts +4 -4
  33. package/dist/types/src/database.d.ts +8 -1
  34. package/dist/types/src/router.d.ts +1 -1
  35. package/dist/types/src/std.d.ts +10 -1
  36. package/dist/types/src/stores/device/camera.d.ts +9 -0
  37. package/dist/types/src/stores/device/file-system.d.ts +7 -0
  38. package/dist/types/src/stores/device/geolocation.d.ts +15 -0
  39. package/dist/types/src/stores/device/index.d.ts +264 -0
  40. package/dist/types/src/stores/device/notification.d.ts +15 -0
  41. package/dist/types/src/stores/device/orientation.d.ts +15 -0
  42. package/dist/types/src/stores/device/shared.d.ts +2 -0
  43. package/dist/types/src/stores/device/storage.d.ts +7 -0
  44. package/dist/types/src/stores/device/types.d.ts +23 -0
  45. package/dist/types/src/stores/device/wake-lock.d.ts +10 -0
  46. package/dist/types/src/stores/map.d.ts +1 -8
  47. package/dist/types/src/stores/modules/icons.d.ts +4 -7
  48. package/dist/types/src/workers/atlas.d.ts +0 -2
  49. package/package.json +7 -6
  50. package/dist/types/src/stores/modules/permissions.d.ts +0 -37
  51. package/dist/types/src/workers/atlas-icons.d.ts +0 -14
@@ -1,13 +1,4 @@
1
- import type { CallbackID, Position, PositionOptions } from '@capacitor/geolocation';
2
1
  export declare function isNativePlatform(): boolean;
3
2
  export declare function supportsServiceWorker(): boolean;
4
- export declare function supportsLocationRequests(): boolean;
5
- export declare function resolveRuntimeUrl(url: string | URL): URL;
6
3
  export declare function openExternalUrl(url: string | URL): Promise<void>;
7
4
  export declare function openSecondaryView(url: string | URL): Promise<void>;
8
- export declare function writeClipboardText(value: string): Promise<void>;
9
- export declare function checkNativeLocationPermission(): Promise<PermissionState | 'prompt' | 'unknown'>;
10
- export declare function requestNativeLocationPermission(): Promise<PermissionState | 'prompt' | 'unknown'>;
11
- export declare function getCurrentLocation(options?: PositionOptions): Promise<Position>;
12
- export declare function watchLocation(options: PositionOptions, callback: (position: Position | null, err?: unknown) => void): Promise<CallbackID>;
13
- export declare function clearLocationWatch(id: CallbackID): Promise<void>;
@@ -1,4 +1,5 @@
1
1
  export declare enum WorkerMessageType {
2
+ Atlas_Ready = "cloudtak:atlas:ready",
2
3
  Map_FlyTo = "cloudtak:map:flyto",
3
4
  Map_FitBounds = "cloudtak:map:fitbounds",
4
5
  Map_Projection = "cloudtak:map:projection",
@@ -40,9 +40,4 @@ export default class Icon {
40
40
  token: string;
41
41
  force?: boolean;
42
42
  }): Promise<boolean>;
43
- /**
44
- * Remove an iconset and all of its icons from Dexie. Returns true when
45
- * something was actually removed.
46
- */
47
- static removeIconset(uid: string): Promise<boolean>;
48
43
  }
@@ -1,20 +1,42 @@
1
1
  import { type Observable } from 'dexie';
2
2
  import { type DBIconset } from '../database.ts';
3
+ import type { paths } from '@cloudtak/api-types';
4
+ import type { Iconset } from '../types.ts';
3
5
  import BaseInterface from './interface.ts';
4
6
  import type { BaseInterface_ListOptions, BaseInterface_FromOptions } from './interface.ts';
7
+ export type Iconset_DeleteOptions = {
8
+ localOnly?: boolean;
9
+ };
5
10
  export type Iconset_ListOptions = BaseInterface_ListOptions & {
6
- token?: string;
11
+ filter?: string;
12
+ limit?: number;
13
+ page?: number;
14
+ };
15
+ export type Iconset_Page = {
16
+ total: number;
17
+ items: DBIconset[];
7
18
  };
8
19
  export default class IconsetManager extends BaseInterface {
9
20
  static readonly listCacheKey = "iconset";
10
- static count(): Promise<number>;
11
- static liveCount(): Observable<number>;
21
+ static count(opts?: Pick<Iconset_ListOptions, 'filter'>): Promise<number>;
22
+ static liveCount(opts?: Pick<Iconset_ListOptions, 'filter'>): Observable<number>;
12
23
  /**
13
24
  * Return all locally cached iconsets ordered by name.
14
25
  */
15
26
  static list(opts?: Iconset_ListOptions): Promise<DBIconset[]>;
16
- static liveList(): Observable<DBIconset[]>;
27
+ static page(opts?: Iconset_ListOptions): Promise<Iconset_Page>;
28
+ static liveList<T extends Iconset_ListOptions & {
29
+ paged?: boolean;
30
+ } = Iconset_ListOptions>(opts?: T): Observable<T extends {
31
+ paged: true;
32
+ } ? Iconset_Page : DBIconset[]>;
17
33
  static from(uid: string, opts?: BaseInterface_FromOptions): Promise<DBIconset | undefined>;
18
34
  static liveFrom(uid: string): Observable<DBIconset | undefined>;
19
- static sync(token?: string): Promise<void>;
35
+ static get(uid: string): Promise<Iconset>;
36
+ static create(body: paths['/api/iconset']['post']['requestBody']['content']['application/json']): Promise<Iconset>;
37
+ static update(uid: string, body: paths['/api/iconset/{:iconset}']['patch']['requestBody']['content']['application/json']): Promise<void>;
38
+ static regenerate(uid: string): Promise<void>;
39
+ static download(uid: string): Promise<void>;
40
+ static sync(): Promise<void>;
41
+ static delete(uid: string, opts?: Iconset_DeleteOptions): Promise<void>;
20
42
  }
@@ -54,14 +54,14 @@ export default class BaseInterface {
54
54
  /**
55
55
  * Generates a new item, attempt to save it via the API and save it to the database
56
56
  */
57
- static generate(): Promise<unknown>;
57
+ static generate(data: unknown): Promise<unknown>;
58
58
  /**
59
59
  * Updates an item in the database by its unique identifier and attempts to update it via the API
60
60
  *
61
61
  * @param id - The unique identifier of the item to update
62
62
  * @param data - The data to update the item with
63
63
  */
64
- static update(): Promise<void>;
64
+ static update(id: string, data: unknown): Promise<void>;
65
65
  /**
66
66
  * Deletes an item from the database by its unique identifier and attempts to delete it via the API
67
67
  *
@@ -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
+ }
@@ -0,0 +1,101 @@
1
+ import type { ProfileOverlay, ProfileOverlay_Create } from '../types.ts';
2
+ import type { LayerSpecification } from 'maplibre-gl';
3
+ /**
4
+ * @class
5
+ */
6
+ export default class Overlay {
7
+ _destroyed: boolean;
8
+ _internal: boolean;
9
+ _timer: ReturnType<typeof setInterval> | null;
10
+ _clickable: Array<{
11
+ id: string;
12
+ type: string;
13
+ }>;
14
+ _error?: Error;
15
+ _loaded: boolean;
16
+ loading: boolean;
17
+ id: number;
18
+ name: string;
19
+ active: boolean;
20
+ username?: string;
21
+ frequency: number | null;
22
+ iconset: string | null;
23
+ created: string;
24
+ updated: string;
25
+ pos: number;
26
+ type: string;
27
+ opacity: number;
28
+ visible: boolean;
29
+ mode: string;
30
+ mode_id: string | null;
31
+ encoding: 'mapbox' | 'terrarium' | null;
32
+ actions: ProfileOverlay["actions"];
33
+ url?: string;
34
+ styles: Array<LayerSpecification>;
35
+ token: string | null;
36
+ static create(body: ProfileOverlay | ProfileOverlay_Create, opts?: {
37
+ internal?: boolean;
38
+ skipSave?: boolean;
39
+ clickable?: Array<{
40
+ id: string;
41
+ type: string;
42
+ }>;
43
+ before?: string;
44
+ skipLayers?: boolean;
45
+ }): Promise<Overlay>;
46
+ static internal(body: {
47
+ id: number;
48
+ type: string;
49
+ name: string;
50
+ styles?: Array<LayerSpecification>;
51
+ clickable?: Array<{
52
+ id: string;
53
+ type: string;
54
+ }>;
55
+ }): Promise<Overlay>;
56
+ static load(id: number): Promise<Overlay>;
57
+ constructor(overlay: ProfileOverlay & {
58
+ encoding?: 'mapbox' | 'terrarium' | null;
59
+ }, opts?: {
60
+ internal?: boolean;
61
+ });
62
+ healthy(): boolean;
63
+ hasBounds(): boolean;
64
+ zoomTo(): Promise<void>;
65
+ addLayers(before?: string): Promise<void>;
66
+ init(opts?: {
67
+ clickable?: Array<{
68
+ id: string;
69
+ type: string;
70
+ }>;
71
+ before?: string;
72
+ skipLayers?: boolean;
73
+ }): Promise<void>;
74
+ remove(): void;
75
+ moveBefore(overlay?: Overlay): void;
76
+ replace(overlay: {
77
+ name?: string;
78
+ active?: boolean;
79
+ username?: string;
80
+ actions?: ProfileOverlay["actions"];
81
+ type?: string;
82
+ opacity?: number;
83
+ visible?: boolean;
84
+ mode?: string;
85
+ mode_id?: string;
86
+ encoding?: 'mapbox' | 'terrarium' | null;
87
+ url?: string;
88
+ token?: string;
89
+ styles?: Array<LayerSpecification>;
90
+ }, opts?: {
91
+ before?: string;
92
+ }): Promise<void>;
93
+ delete(): Promise<void>;
94
+ update(body: {
95
+ pos?: number;
96
+ visible?: boolean;
97
+ opacity?: number;
98
+ encoding?: 'mapbox' | 'terrarium' | null;
99
+ }): Promise<void>;
100
+ save(): Promise<void>;
101
+ }
@@ -1,100 +1,70 @@
1
- import type { ProfileOverlay, ProfileOverlay_Create } from '../types.ts';
2
- import type { LayerSpecification } from 'maplibre-gl';
3
- /**
4
- * @class
5
- */
6
- export default class Overlay {
7
- _destroyed: boolean;
8
- _internal: boolean;
9
- _timer: ReturnType<typeof setInterval> | null;
10
- _clickable: Array<{
11
- id: string;
1
+ import { type Observable } from 'dexie';
2
+ import { type DBOverlay } from '../database.ts';
3
+ import type { paths } from '@cloudtak/api-types';
4
+ import type { ProfileOverlay } from '../types.ts';
5
+ import BaseInterface from './interface.ts';
6
+ import Overlay from './overlay-class.ts';
7
+ import type { BaseInterface_ListOptions, BaseInterface_FromOptions } from './interface.ts';
8
+ export type Overlay_DeleteOptions = {
9
+ localOnly?: boolean;
10
+ };
11
+ export type Overlay_ListOptions = BaseInterface_ListOptions & {
12
+ active?: boolean;
13
+ filter?: string;
14
+ limit?: number;
15
+ localFirst?: boolean;
16
+ mode?: string;
17
+ modeId?: string | null;
18
+ page?: number;
19
+ visible?: boolean;
20
+ };
21
+ export type Overlay_Page = {
22
+ total: number;
23
+ items: DBOverlay[];
24
+ };
25
+ export type Overlay_CreateLoadedOptions = NonNullable<Parameters<typeof Overlay.create>[1]> & {
26
+ position?: 'default' | 'prepend';
27
+ };
28
+ export default class OverlayManager extends BaseInterface {
29
+ static readonly listCacheKey = "overlay";
30
+ static readonly loaded: Overlay[];
31
+ static listLoaded(): Overlay[];
32
+ static clearLoaded(): void;
33
+ static loadedFrom(id: string | number): Overlay | undefined;
34
+ static loadedByName(name: string): Overlay | undefined;
35
+ static loadedByMode(mode: string, modeId: string): Overlay | undefined;
36
+ static loadedBeforeId(): string | undefined;
37
+ static addLoaded(overlay: Overlay): void;
38
+ static prependLoaded(overlay: Overlay): void;
39
+ static appendLoaded(...overlays: Overlay[]): void;
40
+ static createLoaded(body: Parameters<typeof Overlay.create>[0], opts?: Overlay_CreateLoadedOptions): Promise<Overlay>;
41
+ static reorderLoaded(orderedIds: number[], movedId: string | number): Promise<void>;
42
+ static deleteLoaded(idOrOverlay: string | number | Overlay): Promise<void>;
43
+ static loadedBasemapIds(mode?: string): Set<string>;
44
+ static loadedProfileUrls(): Set<string>;
45
+ static queryableOverlayNames(): string[];
46
+ static clickableLayerMap(): Map<string, {
12
47
  type: string;
48
+ id: string;
13
49
  }>;
14
- _error?: Error;
15
- _loaded: boolean;
16
- loading: boolean;
17
- id: number;
18
- name: string;
19
- active: boolean;
20
- username?: string;
21
- frequency: number | null;
22
- iconset: string | null;
23
- created: string;
24
- updated: string;
25
- pos: number;
26
- type: string;
27
- opacity: number;
28
- visible: boolean;
29
- mode: string;
30
- mode_id: string | null;
31
- encoding: 'mapbox' | 'terrarium' | null;
32
- actions: ProfileOverlay["actions"];
33
- url?: string;
34
- styles: Array<LayerSpecification>;
35
- token: string | null;
36
- static create(body: ProfileOverlay | ProfileOverlay_Create, opts?: {
37
- internal?: boolean;
38
- skipSave?: boolean;
39
- clickable?: Array<{
40
- id: string;
41
- type: string;
42
- }>;
43
- before?: string;
44
- skipLayers?: boolean;
45
- }): Promise<Overlay>;
46
- static internal(body: {
47
- id: number;
48
- type: string;
49
- name: string;
50
- styles?: Array<LayerSpecification>;
51
- clickable?: Array<{
52
- id: string;
53
- type: string;
54
- }>;
55
- }): Promise<Overlay>;
56
- static load(id: number): Promise<Overlay>;
57
- constructor(overlay: ProfileOverlay & {
58
- encoding?: 'mapbox' | 'terrarium' | null;
59
- }, opts?: {
60
- internal?: boolean;
61
- });
62
- healthy(): boolean;
63
- hasBounds(): boolean;
64
- zoomTo(): Promise<void>;
65
- addLayers(before?: string): Promise<void>;
66
- init(opts?: {
67
- clickable?: Array<{
68
- id: string;
69
- type: string;
70
- }>;
71
- before?: string;
72
- skipLayers?: boolean;
73
- }): Promise<void>;
74
- remove(): void;
75
- replace(overlay: {
76
- name?: string;
77
- active?: boolean;
78
- username?: string;
79
- actions?: ProfileOverlay["actions"];
80
- type?: string;
81
- opacity?: number;
82
- visible?: boolean;
83
- mode?: string;
84
- mode_id?: string;
85
- encoding?: 'mapbox' | 'terrarium' | null;
86
- url?: string;
87
- token?: string;
88
- styles?: Array<LayerSpecification>;
89
- }, opts?: {
90
- before?: string;
91
- }): Promise<void>;
92
- delete(): Promise<void>;
93
- update(body: {
94
- pos?: number;
95
- visible?: boolean;
96
- opacity?: number;
97
- encoding?: 'mapbox' | 'terrarium' | null;
98
- }): Promise<void>;
99
- save(): Promise<void>;
50
+ static missionOverlays(): Overlay[];
51
+ static visibleBasemaps(): Overlay[];
52
+ static count(opts?: Omit<Overlay_ListOptions, 'limit' | 'page' | 'sync'>): Promise<number>;
53
+ static liveCount(opts?: Omit<Overlay_ListOptions, 'limit' | 'page' | 'sync'>): Observable<number>;
54
+ static list(opts?: Overlay_ListOptions): Promise<DBOverlay[]>;
55
+ static page(opts?: Overlay_ListOptions): Promise<Overlay_Page>;
56
+ static liveList<T extends Overlay_ListOptions & {
57
+ paged?: boolean;
58
+ } = Overlay_ListOptions>(opts?: T): Observable<T extends {
59
+ paged: true;
60
+ } ? Overlay_Page : DBOverlay[]>;
61
+ static from(id: string, opts?: BaseInterface_FromOptions): Promise<DBOverlay | undefined>;
62
+ static liveFrom(id: string): Observable<DBOverlay | undefined>;
63
+ static get(id: string | number): Promise<ProfileOverlay>;
64
+ static create(body: paths['/api/profile/overlay']['post']['requestBody']['content']['application/json']): Promise<ProfileOverlay>;
65
+ static update(id: string, body: paths['/api/profile/overlay/{:overlay}']['patch']['requestBody']['content']['application/json']): Promise<void>;
66
+ static sync(): Promise<void>;
67
+ static delete(id: string, opts?: Overlay_DeleteOptions): Promise<void>;
68
+ private static query;
69
+ private static overlayId;
100
70
  }
@@ -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: "user" | "server") => any;
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: "user" | "server") => any) | undefined;
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: "user" | "server") => any;
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: "user" | "server") => any) | undefined;
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: "user" | "server") => any;
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: "user" | "server") => any) | undefined;
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: "user" | "server") => any;
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: "user" | "server") => any) | undefined;
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: "user" | "server") => any;
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: "user" | "server") => any) | undefined;
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
- delete: (asset: {
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
- download: (asset: {
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
- onDelete?: ((asset: {
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
- onDownload?: ((asset: {
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,4 +1,4 @@
1
- import type Overlay from '../../../../base/overlay.ts';
1
+ import type Overlay from '../../../../base/overlay-class.ts';
2
2
  type __VLS_Props = {
3
3
  element: Overlay;
4
4
  };
@@ -1,4 +1,4 @@
1
- import Overlay from '../../../../base/overlay.ts';
1
+ import Overlay from '../../../../base/overlay-class.ts';
2
2
  type __VLS_Props = {
3
3
  overlay: Overlay;
4
4
  };
@@ -1,6 +1,6 @@
1
1
  declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  text: {
3
- type: (StringConstructor | NumberConstructor)[];
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: (StringConstructor | NumberConstructor)[];
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: (StringConstructor | NumberConstructor)[];
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: (StringConstructor | NumberConstructor)[];
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;
105
+ mode: string;
107
106
  size: number;
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;
@@ -5,6 +5,7 @@ declare const __VLS_export: <T extends SelectableItem>(__VLS_props: NonNullable<
5
5
  props: import("vue").PublicProps & __VLS_PrettifyLocal<{
6
6
  disabled?: boolean;
7
7
  hover?: boolean;
8
+ stickyControls?: boolean;
8
9
  items: T[];
9
10
  }> & (typeof globalThis extends {
10
11
  __VLS_PROPS_FALLBACK: infer P;
@@ -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;