@tak-ps/cloudtak 13.10.0 → 13.10.1

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.
@@ -16,7 +16,6 @@ export default class GroupManager {
16
16
  direction?: string;
17
17
  }): Observable<GroupChannel[]>;
18
18
  static list(opts?: {
19
- token?: string;
20
19
  active?: boolean;
21
20
  direction?: string;
22
21
  }): Promise<GroupChannel[]>;
@@ -28,6 +27,6 @@ export default class GroupManager {
28
27
  * Put one or more GroupChannels into the database.
29
28
  */
30
29
  static put(channels: GroupChannel[] | GroupChannel): Promise<void>;
31
- static sync(token?: string): Promise<GroupChannel[]>;
32
- static update(channels: GroupChannel[], token?: string): Promise<GroupChannel[]>;
30
+ static sync(): Promise<GroupChannel[]>;
31
+ static update(channels: GroupChannel[]): Promise<GroupChannel[]>;
33
32
  }
@@ -9,12 +9,11 @@ export default class ProfileConfig<K extends keyof Profile = keyof Profile> {
9
9
  subscribed(): boolean;
10
10
  destroy(): void;
11
11
  static get<K extends keyof Profile>(key: K): Promise<ProfileConfig<K> | undefined>;
12
- static fetch(token?: string): Promise<Profile>;
12
+ static fetch(): Promise<Profile>;
13
13
  commit(value: Profile[K]): Promise<void>;
14
14
  static delete(key: string): Promise<void>;
15
15
  static sync(opts?: {
16
16
  refresh?: boolean;
17
- token?: string;
18
17
  }): Promise<void>;
19
18
  static saveAll(profile: Profile): Promise<void>;
20
19
  }
@@ -25,7 +25,7 @@ export default class SubscriptionLog {
25
25
  keywords?: Array<string>;
26
26
  }): Promise<MissionLog>;
27
27
  update(logid: string, body: {
28
- dtg?: string;
28
+ dtg: string;
29
29
  content: string;
30
30
  contentHashes?: Array<string>;
31
31
  keywords?: Array<string>;
@@ -1,10 +1,10 @@
1
1
  import type { Component, PropType } from 'vue';
2
2
  type LayoutVariant = 'list' | 'tiles';
3
- declare var __VLS_11: {}, __VLS_18: {};
3
+ declare var __VLS_10: {}, __VLS_17: {};
4
4
  type __VLS_Slots = {} & {
5
- prefix?: (props: typeof __VLS_11) => any;
5
+ prefix?: (props: typeof __VLS_10) => any;
6
6
  } & {
7
- default?: (props: typeof __VLS_18) => any;
7
+ default?: (props: typeof __VLS_17) => any;
8
8
  };
9
9
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
10
10
  icon: {
@@ -20,8 +20,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
20
20
  default: boolean;
21
21
  };
22
22
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
- "update:modelValue": (...args: any[]) => void;
24
23
  submit: (...args: any[]) => void;
24
+ "update:modelValue": (...args: any[]) => void;
25
25
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
26
26
  label: {
27
27
  type: StringConstructor;
@@ -44,8 +44,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
44
44
  default: boolean;
45
45
  };
46
46
  }>> & Readonly<{
47
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
48
47
  onSubmit?: ((...args: any[]) => any) | undefined;
48
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
49
49
  }>, {
50
50
  label: string;
51
51
  hover: boolean;
@@ -5,16 +5,16 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
5
5
  default: number;
6
6
  };
7
7
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- close: (...args: any[]) => void;
9
8
  click: (...args: any[]) => void;
9
+ close: (...args: any[]) => void;
10
10
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
11
  size: {
12
12
  type: NumberConstructor;
13
13
  default: number;
14
14
  };
15
15
  }>> & Readonly<{
16
- onClose?: ((...args: any[]) => any) | undefined;
17
16
  onClick?: ((...args: any[]) => any) | undefined;
17
+ onClose?: ((...args: any[]) => any) | undefined;
18
18
  }>, {
19
19
  size: number;
20
20
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -27,8 +27,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
27
27
  description: string;
28
28
  };
29
29
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
- "update:modelValue": (...args: any[]) => void;
31
30
  submit: (...args: any[]) => void;
31
+ "update:modelValue": (...args: any[]) => void;
32
32
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
33
  label: {
34
34
  type: StringConstructor;
@@ -57,8 +57,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
57
57
  description: string;
58
58
  };
59
59
  }>> & Readonly<{
60
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
61
60
  onSubmit?: ((...args: any[]) => any) | undefined;
61
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
62
62
  }>, {
63
63
  label: string;
64
64
  hover: boolean;
@@ -1,6 +1,6 @@
1
- declare var __VLS_25: {};
1
+ declare var __VLS_23: {};
2
2
  type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_25) => any;
3
+ default?: (props: typeof __VLS_23) => any;
4
4
  };
5
5
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
6
  mode: {
@@ -48,8 +48,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
48
48
  default: number;
49
49
  };
50
50
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
51
- "update:modelValue": (...args: any[]) => void;
52
51
  submit: (...args: any[]) => void;
52
+ "update:modelValue": (...args: any[]) => void;
53
53
  delete: (...args: any[]) => void;
54
54
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
55
55
  mode: {
@@ -97,8 +97,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
97
97
  default: number;
98
98
  };
99
99
  }>> & Readonly<{
100
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
101
100
  onSubmit?: ((...args: any[]) => any) | undefined;
101
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
102
102
  onDelete?: ((...args: any[]) => any) | undefined;
103
103
  }>, {
104
104
  stroke: number;
@@ -16,8 +16,8 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, i
16
16
  }>, {
17
17
  description: string;
18
18
  label: string;
19
- required: boolean;
20
19
  disabled: boolean;
20
+ required: boolean;
21
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
23
  declare const _default: typeof __VLS_export;
@@ -24,18 +24,18 @@ type __VLS_Props = {
24
24
  savingLabel?: string;
25
25
  };
26
26
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
+ cancel: () => any;
27
28
  "update:modelValue": (value: string) => any;
28
29
  clear: () => any;
29
30
  edit: () => any;
30
31
  save: (value: string) => any;
31
- cancel: () => any;
32
32
  displayClick: () => any;
33
33
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
34
+ onCancel?: (() => any) | undefined;
34
35
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
35
36
  onClear?: (() => any) | undefined;
36
37
  onEdit?: (() => any) | undefined;
37
38
  onSave?: ((value: string) => any) | undefined;
38
- onCancel?: (() => any) | undefined;
39
39
  onDisplayClick?: (() => any) | undefined;
40
40
  }>, {
41
41
  value: string | null;
@@ -26,15 +26,15 @@ type __VLS_Props = {
26
26
  badgeTextColor?: string;
27
27
  };
28
28
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ cancel: () => any;
29
30
  "update:modelValue": (value: string[]) => any;
30
31
  edit: () => any;
31
32
  save: (value: string[]) => any;
32
- cancel: () => any;
33
33
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
34
+ onCancel?: (() => any) | undefined;
34
35
  "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
35
36
  onEdit?: (() => any) | undefined;
36
37
  onSave?: ((value: string[]) => any) | undefined;
37
- onCancel?: (() => any) | undefined;
38
38
  }>, {
39
39
  direction: string;
40
40
  active: boolean;
@@ -20,15 +20,15 @@ type __VLS_Props = {
20
20
  savingLabel?: string;
21
21
  };
22
22
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ cancel: () => any;
23
24
  "update:modelValue": (value: string[]) => any;
24
25
  edit: () => any;
25
26
  save: (value: string[]) => any;
26
- cancel: () => any;
27
27
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
28
+ onCancel?: (() => any) | undefined;
28
29
  "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
29
30
  onEdit?: (() => any) | undefined;
30
31
  onSave?: ((value: string[]) => any) | undefined;
31
- onCancel?: (() => any) | undefined;
32
32
  }>, {
33
33
  label: string;
34
34
  placeholder: string;
@@ -71,13 +71,13 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
71
71
  default: boolean;
72
72
  };
73
73
  }>> & Readonly<{}>, {
74
+ scroll: boolean;
74
75
  loading: boolean;
75
76
  border: boolean;
76
77
  zindex: number;
77
78
  back: boolean;
78
79
  none: boolean;
79
80
  standalone: boolean;
80
- scroll: boolean;
81
81
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
82
82
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
83
83
  declare const _default: typeof __VLS_export;
@@ -31,8 +31,8 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, i
31
31
  "onOn-focus"?: ((event: FocusEvent) => any) | undefined;
32
32
  "onOn-blur"?: ((event: KeyboardEvent | FocusEvent) => any) | undefined;
33
33
  }>, {
34
- modelValue: string[];
35
34
  disabled: boolean;
35
+ modelValue: string[];
36
36
  placeholder: string;
37
37
  limit: number;
38
38
  validate: ValidateProp;
@@ -2,11 +2,11 @@ type __VLS_Props = {
2
2
  modelValue: Array<number>;
3
3
  };
4
4
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
- submit: (channels: number[]) => any;
6
5
  close: () => any;
6
+ submit: (channels: number[]) => any;
7
7
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
- onSubmit?: ((channels: number[]) => any) | undefined;
9
8
  onClose?: (() => any) | undefined;
9
+ onSubmit?: ((channels: number[]) => any) | undefined;
10
10
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  export default _default;
@@ -20,8 +20,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
20
20
  description: string;
21
21
  schema: SchemaNode;
22
22
  label: string;
23
- modelValue: string | number;
24
23
  disabled: boolean;
24
+ modelValue: string | number;
25
25
  rows: number | string;
26
26
  placeholder: string;
27
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -20,6 +20,11 @@ export declare class GeolocationPermission {
20
20
  private static backgroundLocationToPosition;
21
21
  stopWatch(): Promise<void>;
22
22
  startWatch(onLocation: (position: Position) => void): Promise<void>;
23
+ /**
24
+ * Briefly starts and removes a background watcher solely to trigger
25
+ * iOS's "Always Allow" location permission upgrade dialog in the foreground.
26
+ */
27
+ private requestBackgroundPermission;
23
28
  private startForegroundWatch;
24
29
  private startBackgroundWatch;
25
30
  private setupVisibilityListener;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/cloudtak",
3
3
  "type": "module",
4
- "version": "13.10.0",
4
+ "version": "13.10.1",
5
5
  "types": "dist/types/plugin.d.ts",
6
6
  "files": [
7
7
  "dist/types"
@@ -45,7 +45,7 @@
45
45
  "@tabler/icons-vue": "^3.0.0",
46
46
  "@tak-ps/node-cot": "^14.20.0",
47
47
  "@tak-ps/node-p12": "^1.0.3",
48
- "@tak-ps/vue-tabler": "^4.20.0",
48
+ "@tak-ps/vue-tabler": "^4.26.1",
49
49
  "@turf/area": "^7.2.0",
50
50
  "@turf/bbox": "^7.1.0",
51
51
  "@turf/boolean-point-in-polygon": "^7.3.1",
@@ -124,4 +124,4 @@
124
124
  "> 1%",
125
125
  "last 2 versions"
126
126
  ]
127
- }
127
+ }