@tak-ps/cloudtak 12.105.1 → 12.105.2

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.
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -7,7 +7,11 @@ type __VLS_Props = {
7
7
  hover?: boolean;
8
8
  compact?: boolean;
9
9
  };
10
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ declare var __VLS_27: {};
11
+ type __VLS_Slots = {} & {
12
+ actions?: (props: typeof __VLS_27) => any;
13
+ };
14
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
15
  chat: (contact: {
12
16
  filterGroups: unknown;
13
17
  notes: string;
@@ -34,5 +38,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
34
38
  flyToClick: boolean;
35
39
  buttonChat: boolean;
36
40
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
41
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
37
42
  declare const _default: typeof __VLS_export;
38
43
  export default _default;
44
+ type __VLS_WithSlots<T, S> = T & {
45
+ new (): {
46
+ $slots: S;
47
+ };
48
+ };
@@ -18,6 +18,16 @@ export type TAKNotification = {
18
18
  url: string;
19
19
  created: string;
20
20
  };
21
+ export type BrowserPermissionState = PermissionState | 'unsupported' | 'unknown';
22
+ type BrowserPermissionType = 'location' | 'notification' | 'orientation' | 'storage' | 'camera' | 'wakeLock' | 'fileSystem';
23
+ type FileSystemAccessHandle = FileSystemHandle & {
24
+ queryPermission?: (descriptor?: {
25
+ mode?: 'read' | 'readwrite';
26
+ }) => Promise<PermissionState>;
27
+ requestPermission?: (descriptor?: {
28
+ mode?: 'read' | 'readwrite';
29
+ }) => Promise<PermissionState>;
30
+ };
21
31
  export declare const useMapStore: import("pinia").StoreDefinition<"cloudtak", {
22
32
  _map?: any;
23
33
  _draw?: any;
@@ -27,6 +37,8 @@ export declare const useMapStore: import("pinia").StoreDefinition<"cloudtak", {
27
37
  _boundOnOffline?: () => void;
28
38
  _boundOnDeviceOrientation?: (event: DeviceOrientationEvent) => void;
29
39
  _boundOnVisibilityChange?: () => Promise<void>;
40
+ _wakeLockSentinel?: WakeLockSentinel | null;
41
+ _fileSystemHandle?: FileSystemAccessHandle | null;
30
42
  db: DatabaseType;
31
43
  channel: BroadcastChannel;
32
44
  toImport: Feature[];
@@ -43,8 +55,13 @@ export declare const useMapStore: import("pinia").StoreDefinition<"cloudtak", {
43
55
  y: number;
44
56
  };
45
57
  permissions: {
46
- location: boolean;
47
- notification: boolean;
58
+ location: BrowserPermissionState;
59
+ notification: BrowserPermissionState;
60
+ orientation: BrowserPermissionState;
61
+ storage: BrowserPermissionState;
62
+ camera: BrowserPermissionState;
63
+ wakeLock: BrowserPermissionState;
64
+ fileSystem: BrowserPermissionState;
48
65
  };
49
66
  _rawWorker: Worker;
50
67
  worker: Comlink.Remote<Atlas>;
@@ -84,6 +101,24 @@ export declare const useMapStore: import("pinia").StoreDefinition<"cloudtak", {
84
101
  icons: () => IconManager;
85
102
  menu: () => MenuManager;
86
103
  }, {
104
+ hasOrientationSupport: () => boolean;
105
+ hasOrientationPermissionRequest: () => boolean;
106
+ setPermissionStatus: (type: BrowserPermissionType, state: BrowserPermissionState) => void;
107
+ refreshLocationPermissionStatus: () => Promise<void>;
108
+ refreshNotificationPermissionStatus: () => Promise<void>;
109
+ refreshOrientationPermissionStatus: () => Promise<void>;
110
+ refreshStoragePermissionStatus: () => Promise<void>;
111
+ refreshCameraPermissionStatus: () => Promise<void>;
112
+ refreshWakeLockPermissionStatus: () => Promise<void>;
113
+ refreshFileSystemPermissionStatus: () => Promise<void>;
114
+ refreshPermissionStatuses: () => Promise<void>;
115
+ requestLocationPermission: () => Promise<void>;
116
+ requestNotificationPermission: () => Promise<void>;
117
+ requestOrientationPermission: () => Promise<void>;
118
+ requestStoragePermission: () => Promise<void>;
119
+ requestCameraPermission: () => Promise<void>;
120
+ requestWakeLockPermission: () => Promise<void>;
121
+ requestFileSystemPermission: () => Promise<void>;
87
122
  destroy: () => Promise<void>;
88
123
  getOverlayBeforeId: () => string | undefined;
89
124
  addOverlay: (overlay: Overlay) => void;
@@ -124,3 +159,4 @@ export declare const useMapStore: import("pinia").StoreDefinition<"cloudtak", {
124
159
  mode?: string;
125
160
  }) => Promise<void>;
126
161
  }>;
162
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/cloudtak",
3
3
  "type": "module",
4
- "version": "12.105.1",
4
+ "version": "12.105.2",
5
5
  "types": "dist/types/plugin.d.ts",
6
6
  "files": [
7
7
  "dist/types"
@@ -62,7 +62,7 @@
62
62
  "hls.js": "^1.6.5",
63
63
  "imask": "^6.0.0",
64
64
  "jsonata": "^2.0.4",
65
- "maplibre-gl": "5.19.0",
65
+ "maplibre-gl": "^5.20.2",
66
66
  "milsymbol": "^3.0.2",
67
67
  "moment": "^2.29.3",
68
68
  "openapi-fetch": "^0.17.0",
@@ -97,7 +97,7 @@
97
97
  "eslint-plugin-vue": "^10.0.0",
98
98
  "globals": "^17.3.0",
99
99
  "happy-dom": "^20.0.0",
100
- "jsdom": "^28.0.0",
100
+ "jsdom": "^29.0.0",
101
101
  "openapi-typescript": "^7.0.0",
102
102
  "sass-embedded": "^1.86.0",
103
103
  "typedoc": "^0.28.1",
@@ -111,4 +111,4 @@
111
111
  "> 1%",
112
112
  "last 2 versions"
113
113
  ]
114
- }
114
+ }