@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.
- package/dist/types/src/base/capacitor.d.ts +0 -9
- package/dist/types/src/base/events.d.ts +1 -0
- package/dist/types/src/base/icon.d.ts +0 -5
- package/dist/types/src/base/iconset.d.ts +27 -5
- package/dist/types/src/base/interface.d.ts +2 -2
- package/dist/types/src/base/kv.d.ts +17 -0
- package/dist/types/src/base/overlay-class.d.ts +101 -0
- package/dist/types/src/base/overlay.d.ts +67 -97
- 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/Menu/Overlays/TreeCots.vue.d.ts +1 -1
- package/dist/types/src/components/CloudTAK/Menu/Overlays/TreeMission.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/GenericSelect.vue.d.ts +1 -0
- 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/CloudTAK/util/featureCut.d.ts +3 -3
- 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 +8 -1
- package/dist/types/src/router.d.ts +1 -1
- package/dist/types/src/std.d.ts +10 -1
- package/dist/types/src/stores/device/camera.d.ts +9 -0
- package/dist/types/src/stores/device/file-system.d.ts +7 -0
- package/dist/types/src/stores/device/geolocation.d.ts +15 -0
- package/dist/types/src/stores/device/index.d.ts +264 -0
- package/dist/types/src/stores/device/notification.d.ts +15 -0
- package/dist/types/src/stores/device/orientation.d.ts +15 -0
- package/dist/types/src/stores/device/shared.d.ts +2 -0
- package/dist/types/src/stores/device/storage.d.ts +7 -0
- package/dist/types/src/stores/device/types.d.ts +23 -0
- package/dist/types/src/stores/device/wake-lock.d.ts +10 -0
- package/dist/types/src/stores/map.d.ts +1 -8
- package/dist/types/src/stores/modules/icons.d.ts +4 -7
- package/dist/types/src/workers/atlas.d.ts +0 -2
- package/package.json +7 -6
- package/dist/types/src/stores/modules/permissions.d.ts +0 -37
- package/dist/types/src/workers/atlas-icons.d.ts +0 -14
|
@@ -3,7 +3,6 @@ import * as Comlink from 'comlink';
|
|
|
3
3
|
import AtlasProfile from './atlas-profile.ts';
|
|
4
4
|
import AtlasDatabase from './atlas-database.ts';
|
|
5
5
|
import AtlasConnection from './atlas-connection.ts';
|
|
6
|
-
import AtlasIcons from './atlas-icons.ts';
|
|
7
6
|
export default class Atlas {
|
|
8
7
|
channel: BroadcastChannel;
|
|
9
8
|
token: string;
|
|
@@ -12,7 +11,6 @@ export default class Atlas {
|
|
|
12
11
|
db: AtlasDatabase & Comlink.ProxyMarked;
|
|
13
12
|
conn: AtlasConnection & Comlink.ProxyMarked;
|
|
14
13
|
profile: AtlasProfile & Comlink.ProxyMarked;
|
|
15
|
-
icons: AtlasIcons & Comlink.ProxyMarked;
|
|
16
14
|
constructor();
|
|
17
15
|
postMessage(msg: WorkerMessage): Promise<void>;
|
|
18
16
|
init(authToken: string): Promise<void>;
|
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.4.0",
|
|
5
5
|
"types": "dist/types/plugin.d.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/types"
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"url": "git+https://github.com/dfpc-coe/CloudTAK.git"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@capacitor/
|
|
32
|
+
"@capacitor-community/keep-awake": "^8.0.1",
|
|
33
|
+
"@capacitor-firebase/messaging": "^8.2.0",
|
|
33
34
|
"@capacitor/browser": "^8.0.1",
|
|
35
|
+
"@capacitor/camera": "^8.2.0",
|
|
34
36
|
"@capacitor/clipboard": "^8.0.1",
|
|
35
37
|
"@capacitor/core": "^8.3.1",
|
|
36
38
|
"@capacitor/geolocation": "^8.1.0",
|
|
37
|
-
"@capacitor/
|
|
38
|
-
"@capacitor/ios": "^8.3.1",
|
|
39
|
-
"@capacitor/keyboard": "^8.0.3",
|
|
39
|
+
"@capacitor/preferences": "^8.0.1",
|
|
40
40
|
"@capacitor/status-bar": "^8.0.2",
|
|
41
41
|
"@mapbox/tile-cover": "^3.0.2",
|
|
42
42
|
"@simplewebauthn/browser": "^13.3.0",
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"cronstrue": "^3.0.0",
|
|
69
69
|
"dexie": "^4.2.1",
|
|
70
70
|
"dropzone": "^6.0.0-beta.2",
|
|
71
|
+
"firebase": "^12.13.0",
|
|
71
72
|
"floating-vue": "^2.0.0-beta.17",
|
|
72
73
|
"geo-coordinates-parser": "^1.7.4",
|
|
73
74
|
"geomagnetism": "^0.2.0",
|
|
@@ -122,4 +123,4 @@
|
|
|
122
123
|
"> 1%",
|
|
123
124
|
"last 2 versions"
|
|
124
125
|
]
|
|
125
|
-
}
|
|
126
|
+
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export type BrowserPermissionState = PermissionState | 'unsupported' | 'unknown';
|
|
2
|
-
export type BrowserPermissionType = 'location' | 'notification' | 'orientation' | 'storage' | 'camera' | 'wakeLock' | 'fileSystem';
|
|
3
|
-
type FileSystemAccessHandle = FileSystemHandle & {
|
|
4
|
-
queryPermission?: (descriptor?: {
|
|
5
|
-
mode?: 'read' | 'readwrite';
|
|
6
|
-
}) => Promise<PermissionState>;
|
|
7
|
-
requestPermission?: (descriptor?: {
|
|
8
|
-
mode?: 'read' | 'readwrite';
|
|
9
|
-
}) => Promise<PermissionState>;
|
|
10
|
-
};
|
|
11
|
-
export declare const usePermissionStore: import("pinia").StoreDefinition<"permissions", {
|
|
12
|
-
permissions: Record<BrowserPermissionType, BrowserPermissionState>;
|
|
13
|
-
_wakeLockSentinel?: WakeLockSentinel | null;
|
|
14
|
-
_fileSystemHandle?: FileSystemAccessHandle | null;
|
|
15
|
-
}, {}, {
|
|
16
|
-
hasOrientationSupport: () => boolean;
|
|
17
|
-
hasOrientationPermissionRequest: () => boolean;
|
|
18
|
-
setPermissionStatus: (type: BrowserPermissionType, state: BrowserPermissionState) => void;
|
|
19
|
-
refreshLocationPermissionStatus: () => Promise<void>;
|
|
20
|
-
refreshNotificationPermissionStatus: () => Promise<void>;
|
|
21
|
-
refreshOrientationPermissionStatus: () => Promise<void>;
|
|
22
|
-
refreshStoragePermissionStatus: () => Promise<void>;
|
|
23
|
-
refreshCameraPermissionStatus: () => Promise<void>;
|
|
24
|
-
refreshWakeLockPermissionStatus: () => Promise<void>;
|
|
25
|
-
refreshFileSystemPermissionStatus: () => Promise<void>;
|
|
26
|
-
refreshPermissionStatuses: () => Promise<void>;
|
|
27
|
-
requestLocationPermission: (onGranted?: () => void) => Promise<void>;
|
|
28
|
-
requestNotificationPermission: () => Promise<void>;
|
|
29
|
-
requestOrientationPermission: () => Promise<void>;
|
|
30
|
-
requestStoragePermission: () => Promise<void>;
|
|
31
|
-
requestCameraPermission: () => Promise<void>;
|
|
32
|
-
requestWakeLockPermission: () => Promise<void>;
|
|
33
|
-
requestFileSystemPermission: () => Promise<void>;
|
|
34
|
-
initializePermissionSubscriptions: (onLocationGranted?: () => void) => Promise<void>;
|
|
35
|
-
releaseWakeLockSentinel: () => Promise<void>;
|
|
36
|
-
}>;
|
|
37
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type IconHydrateResult } from '../base/icon.ts';
|
|
2
|
-
import type Atlas from './atlas.ts';
|
|
3
|
-
export type { IconHydrateResult };
|
|
4
|
-
export default class AtlasIcons {
|
|
5
|
-
atlas: Atlas;
|
|
6
|
-
constructor(atlas: Atlas);
|
|
7
|
-
hydrate(opts?: {
|
|
8
|
-
force?: boolean;
|
|
9
|
-
}): Promise<IconHydrateResult>;
|
|
10
|
-
addIconset(uid: string, opts?: {
|
|
11
|
-
force?: boolean;
|
|
12
|
-
}): Promise<boolean>;
|
|
13
|
-
removeIconset(uid: string): Promise<boolean>;
|
|
14
|
-
}
|