@tak-ps/cloudtak 13.50.0 → 13.52.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,5 @@
1
1
  import type { ProfileOverlay, ProfileOverlay_Create } from '../types.ts';
2
- import type { LayerSpecification } from 'maplibre-gl';
2
+ import type { LayerSpecification, MapLayerMouseEvent } from 'maplibre-gl';
3
3
  import { type DBOverlay } from '../database.ts';
4
4
  export default class Overlay {
5
5
  _destroyed: boolean;
@@ -9,6 +9,11 @@ export default class Overlay {
9
9
  id: string;
10
10
  type: string;
11
11
  }>;
12
+ _hoverListeners: Array<{
13
+ type: 'mouseenter' | 'mousemove' | 'mouseleave';
14
+ layerIds: string[];
15
+ handler: (e: MapLayerMouseEvent) => void;
16
+ }>;
12
17
  _error?: Error;
13
18
  _loaded: boolean;
14
19
  loading: boolean;
@@ -61,6 +66,7 @@ export default class Overlay {
61
66
  hasBounds(): boolean;
62
67
  zoomTo(): Promise<void>;
63
68
  addLayers(before?: string): Promise<void>;
69
+ removeHoverListeners(): void;
64
70
  init(opts?: {
65
71
  clickable?: Array<{
66
72
  id: string;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Default point creation types.
3
+ *
4
+ * Points are created as 2525E Land Unit SIDCs where possible - u-d-p (Custom
5
+ * Point) & b-m-p-s-m (Spotted) have no 2525E equivalent and remain
6
+ * traditional CoT types.
7
+ */
8
+ /** Basic CoT Atom point types previously used by creation UIs mapped to their 2525E SIDC */
9
+ export declare const LegacyPointTypes: Record<string, string>;
10
+ /**
11
+ * Normalize a stored default point type - mapping basic CoT Atom types
12
+ * previously stored by the creation UIs to their 2525E SIDC equivalent
13
+ */
14
+ export declare function normalizePointType(type?: string | null): string;
@@ -1,9 +1,5 @@
1
1
  type __VLS_Props = {
2
2
  mode: string;
3
- mouseCoord: {
4
- lat: number;
5
- lng: number;
6
- } | null;
7
3
  };
8
4
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
5
  "set-location": (...args: any[]) => void;
@@ -1,9 +1,3 @@
1
- type __VLS_Props = {
2
- coord: {
3
- lat: number;
4
- lng: number;
5
- } | null;
6
- };
7
- 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>;
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>;
8
2
  declare const _default: typeof __VLS_export;
9
3
  export default _default;
@@ -7,11 +7,11 @@ type __VLS_Props = {
7
7
  hover?: boolean;
8
8
  compact?: boolean;
9
9
  };
10
- declare var __VLS_27: {}, __VLS_29: {};
10
+ declare var __VLS_33: {}, __VLS_35: {};
11
11
  type __VLS_Slots = {} & {
12
- actions?: (props: typeof __VLS_27) => any;
12
+ actions?: (props: typeof __VLS_33) => any;
13
13
  } & {
14
- expanded?: (props: typeof __VLS_29) => any;
14
+ expanded?: (props: typeof __VLS_35) => any;
15
15
  };
16
16
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
17
  chat: (contact: {
@@ -3,6 +3,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
3
3
  type: (NumberConstructor | StringConstructor)[];
4
4
  required: true;
5
5
  };
6
+ title: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
6
10
  size: {
7
11
  type: NumberConstructor;
8
12
  default: number;
@@ -16,6 +20,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
16
20
  type: (NumberConstructor | StringConstructor)[];
17
21
  required: true;
18
22
  };
23
+ title: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
19
27
  size: {
20
28
  type: NumberConstructor;
21
29
  default: number;
@@ -27,6 +35,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
27
35
  }>> & Readonly<{}>, {
28
36
  stroke: number;
29
37
  size: number;
38
+ title: string;
30
39
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
31
40
  declare const _default: typeof __VLS_export;
32
41
  export default _default;
@@ -11,6 +11,8 @@ export type APIList<T> = {
11
11
  };
12
12
  export type COTTypeList = paths["/api/type/cot"]["get"]["responses"]["200"]["content"]["application/json"];
13
13
  export type COTType = paths["/api/type/cot/{:type}"]["get"]["responses"]["200"]["content"]["application/json"];
14
+ export type COT2525EList = paths["/api/type/2525e"]["get"]["responses"]["200"]["content"]["application/json"];
15
+ export type COT2525EType = COT2525EList["items"][number];
14
16
  export type Search = paths["/api/search"]["get"]["responses"]["200"]["content"]["application/json"];
15
17
  export type SearchSuggest = paths["/api/search/suggest"]["get"]["responses"]["200"]["content"]["application/json"];
16
18
  export type SearchForward = paths["/api/search/forward"]["get"]["responses"]["200"]["content"]["application/json"];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/cloudtak",
3
3
  "type": "module",
4
- "version": "13.50.0",
4
+ "version": "13.52.0",
5
5
  "types": "dist/types/plugin.d.ts",
6
6
  "files": [
7
7
  "dist/types"
@@ -50,9 +50,9 @@
50
50
  "@simplewebauthn/browser": "^13.3.0",
51
51
  "@tabler/core": "^1.4.0",
52
52
  "@tabler/icons-vue": "^3.0.0",
53
- "@tak-ps/node-cot": "^14.45.0",
53
+ "@tak-ps/node-cot": "^14.47.0",
54
54
  "@tak-ps/node-p12": "^1.0.3",
55
- "@tak-ps/vue-tabler": "^4.29.3",
55
+ "@tak-ps/vue-tabler": "^5.1.0",
56
56
  "@turf/area": "^7.2.0",
57
57
  "@turf/bbox": "^7.1.0",
58
58
  "@turf/boolean-point-in-polygon": "^7.3.1",
@@ -77,7 +77,6 @@
77
77
  "dexie": "^4.2.1",
78
78
  "dropzone": "^6.0.0-beta.2",
79
79
  "firebase": "^12.13.0",
80
- "floating-vue": "^2.0.0-beta.17",
81
80
  "geo-coordinates-parser": "^1.7.4",
82
81
  "geomagnetism": "^0.2.0",
83
82
  "grid-layout-plus": "^1.1.1",
@@ -85,7 +84,7 @@
85
84
  "hls.js": "^1.6.5",
86
85
  "imask": "^6.0.0",
87
86
  "jsonata": "^2.0.4",
88
- "maplibre-gl": "v6.0.0-22",
87
+ "maplibre-gl": "^6.0.0",
89
88
  "milsymbol": "^3.0.2",
90
89
  "openapi-fetch": "^0.17.0",
91
90
  "phone": "^3.1.59",
@@ -101,7 +100,6 @@
101
100
  "vue": "^3.2.31",
102
101
  "vue-component-type-helpers": "^3.0.7",
103
102
  "vue-eslint-parser": "^10.4.1",
104
- "vue-mention": "^2.0.0-alpha.3",
105
103
  "vue-router": "^5.0.0",
106
104
  "yaml": "^2.8.2"
107
105
  },