@tak-ps/cloudtak 13.59.0 → 13.60.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.
@@ -1,5 +1,6 @@
1
1
  export declare function isNativePlatform(): boolean;
2
2
  export declare function isAndroidPlatform(): boolean;
3
+ export declare function isIOSPlatform(): boolean;
3
4
  export declare function supportsServiceWorker(): boolean;
4
5
  /**
5
6
  * Subscribe to foreground/background transitions. On native we use Capacitor's
@@ -119,7 +119,18 @@ export declare const useMapStore: import("pinia").StoreDefinition<"cloudtak", {
119
119
  * Trigger a rerender of the underlying GeoJSON Features
120
120
  */
121
121
  refresh: () => Promise<void>;
122
+ /**
123
+ * Repaint dirty subscribed Missions whose Mission_Change_Feature
124
+ * render was lost or failed - loadMission clears the flag when it
125
+ * paints, so this only touches missions the event path missed
126
+ */
127
+ sweepDirtyMissions: () => Promise<void>;
122
128
  updateCOT: () => Promise<void>;
129
+ /**
130
+ * Repaint a Mission overlay's source from locally stored features -
131
+ * no network or Active Mission side effects, safe for the dirty sweep
132
+ */
133
+ renderMission: (guid: string, sub?: Subscription) => Promise<boolean>;
123
134
  /**
124
135
  * Given a mission Guid, attempt to refresh the Map Layer, loading the mission if it isn't already loaded
125
136
  * @returns {boolean} True if successful, false if not
@@ -59,9 +59,6 @@ export default class AtlasDatabase {
59
59
  limit?: number;
60
60
  mission?: boolean;
61
61
  }): Promise<Set<COT>>;
62
- filterDelete(filter: string, opts?: {
63
- mission?: boolean;
64
- }): Promise<void>;
65
62
  paths(store?: Map<string, COT>): Promise<Array<NestedArray>>;
66
63
  /**
67
64
  * Return CoTs touching a given polygon
@@ -174,10 +171,6 @@ export default class AtlasDatabase {
174
171
  * Returns if the CoT is present in the store given the ID
175
172
  */
176
173
  has(id: string): boolean;
177
- groups(store?: Map<string, COT>): Array<string>;
178
174
  pathFeatures(path?: string, store?: Map<string, COT>): Set<COT>;
179
- markers(store?: Map<string, COT>): Array<string>;
180
- markerFeatures(marker: string, store?: Map<string, COT>): Set<COT>;
181
- contacts(group?: string, store?: Map<string, COT>): Set<COT>;
182
175
  }
183
176
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/cloudtak",
3
3
  "type": "module",
4
- "version": "13.59.0",
4
+ "version": "13.60.0",
5
5
  "types": "dist/types/plugin.d.ts",
6
6
  "files": [
7
7
  "dist/types"
@@ -1,39 +0,0 @@
1
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- label: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- size: {
7
- type: NumberConstructor;
8
- default: number;
9
- };
10
- displaytype: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
- close: (...args: any[]) => void;
16
- delete: (...args: any[]) => void;
17
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
- label: {
19
- type: StringConstructor;
20
- default: string;
21
- };
22
- size: {
23
- type: NumberConstructor;
24
- default: number;
25
- };
26
- displaytype: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- }>> & Readonly<{
31
- onClose?: ((...args: any[]) => any) | undefined;
32
- onDelete?: ((...args: any[]) => any) | undefined;
33
- }>, {
34
- size: number;
35
- label: string;
36
- displaytype: string;
37
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
- declare const _default: typeof __VLS_export;
39
- export default _default;
@@ -1,7 +0,0 @@
1
- import type Overlay from '../../../../base/overlay-class.ts';
2
- type __VLS_Props = {
3
- element: Overlay;
4
- };
5
- 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>;
6
- declare const _default: typeof __VLS_export;
7
- export default _default;