@tak-ps/cloudtak 12.124.1 → 12.126.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.
@@ -12,9 +12,9 @@ type __VLS_ModelProps = {
12
12
  'editing': EditingBasemap;
13
13
  };
14
14
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
15
- declare var __VLS_69: {};
15
+ declare var __VLS_77: {};
16
16
  type __VLS_Slots = {} & {
17
- advanced?: (props: typeof __VLS_69) => any;
17
+ advanced?: (props: typeof __VLS_77) => any;
18
18
  };
19
19
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
20
  "change-type": () => any;
@@ -42,12 +42,12 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
42
42
  onClose?: ((...args: any[]) => any) | undefined;
43
43
  }>, {
44
44
  feats: Feature[];
45
+ action: string;
45
46
  assets: {
46
47
  type: "profile";
47
48
  id: string;
48
49
  name: string;
49
50
  }[];
50
- action: string;
51
51
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
52
52
  declare const _default: typeof __VLS_export;
53
53
  export default _default;
@@ -2,9 +2,9 @@ import type { Basemap } from '../../../types.ts';
2
2
  type __VLS_Props = {
3
3
  basemap: Basemap;
4
4
  };
5
- declare var __VLS_36: {};
5
+ declare var __VLS_42: {};
6
6
  type __VLS_Slots = {} & {
7
- actions?: (props: typeof __VLS_36) => any;
7
+ actions?: (props: typeof __VLS_42) => any;
8
8
  };
9
9
  declare const __VLS_base: 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>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -11,12 +11,12 @@ interface Props {
11
11
  allowDuplicates?: boolean;
12
12
  addTagOnBlur?: boolean;
13
13
  }
14
- declare var __VLS_1: {
14
+ declare var __VLS_7: {
15
15
  name: string;
16
16
  index: number;
17
17
  };
18
18
  type __VLS_Slots = {} & {
19
- item?: (props: typeof __VLS_1) => any;
19
+ item?: (props: typeof __VLS_7) => any;
20
20
  };
21
21
  declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
22
  "update:modelValue": (value: string[]) => any;
@@ -37,8 +37,13 @@ export declare const useMapStore: import("pinia").StoreDefinition<"cloudtak", {
37
37
  zoom: string;
38
38
  location: LocationState;
39
39
  locationAccuracy: number | undefined;
40
+ gpsCoordinates: {
41
+ lat: number;
42
+ lng: number;
43
+ } | null;
40
44
  distanceUnit: string;
41
45
  coordFormat: string;
46
+ defaultPointType: string;
42
47
  manualLocationMode: boolean;
43
48
  isMobileDetected: boolean;
44
49
  gpsWatchId: number | null;
@@ -23,6 +23,7 @@ export default class DrawTool {
23
23
  private draw;
24
24
  editing: COT | null;
25
25
  mode: DrawToolMode;
26
+ _changeCount: number;
26
27
  route: {
27
28
  graph: Routing;
28
29
  finder: TerraRoute & {
@@ -46,6 +47,7 @@ export default class DrawTool {
46
47
  snappingOptions: string[];
47
48
  get snappingLayer(): string;
48
49
  set snappingLayer(layer: string);
50
+ get canFinish(): boolean;
49
51
  constructor(mapStore: ReturnType<typeof useMapStore>);
50
52
  populateSnappingLayers(): Promise<void>;
51
53
  updateGraph(opts?: {
@@ -53,6 +55,7 @@ export default class DrawTool {
53
55
  }): Promise<void>;
54
56
  removeNetwork(): Promise<void>;
55
57
  start(mode: DrawToolMode): Promise<void>;
58
+ finish(): Promise<void>;
56
59
  stop(refresh?: boolean): Promise<void>;
57
60
  edit(cot: COT): Promise<void>;
58
61
  getFeature(id: GeoJSONFeatureId): terraDraw.GeoJSONStoreFeatures<terraDraw.GeoJSONStoreGeometries> | undefined;
@@ -182,4 +182,5 @@ export type AdminLayerUpdateList = {
182
182
  export type Config = paths["/api/config"]["get"]["responses"]["200"]["content"]["application/json"];
183
183
  export type ConfigLogin = paths["/api/config/login"]["get"]["responses"]["200"]["content"]["application/json"];
184
184
  export type ConfigMap = paths["/api/config/map"]["get"]["responses"]["200"]["content"]["application/json"];
185
- export type ConfigGroups = paths["/api/config/group"]["get"]["responses"]["200"]["content"]["application/json"];
185
+ export type PasskeyList = paths['/api/login/passkey']['get']['responses']['200']['content']['application/json'];
186
+ export type Passkey = PasskeyList['items'][0];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/cloudtak",
3
3
  "type": "module",
4
- "version": "12.124.1",
4
+ "version": "12.126.0",
5
5
  "types": "dist/types/plugin.d.ts",
6
6
  "files": [
7
7
  "dist/types"
@@ -112,4 +112,4 @@
112
112
  "> 1%",
113
113
  "last 2 versions"
114
114
  ]
115
- }
115
+ }