@tak-ps/cloudtak 13.61.0 → 13.63.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.
@@ -10,6 +10,27 @@ export declare enum OriginMode {
10
10
  MISSION = "Mission"
11
11
  }
12
12
  export declare const RENDERED_PROPERTIES: string[];
13
+ /**
14
+ * MIL-STD symbols render from an icon id of the form `2525<Variant>:<SIDC>` - a
15
+ * key into the Icon Manager's generated symbols
16
+ *
17
+ * It is a CloudTAK rendering detail, not TAK data: no client can resolve one as
18
+ * an Iconset path, and an unresolvable `usericon` detail takes precedence over
19
+ * (and so suppresses) the 2525 symbol the receiving client would otherwise
20
+ * render from the SIDC. It is therefore never stored on a Feature - see
21
+ * {@link renderedIcon}
22
+ */
23
+ export declare const MILSYM_ICON: RegExp;
24
+ /**
25
+ * The icon id a Feature renders with, on the map and in list views alike
26
+ *
27
+ * `properties.icon` holds only an icon the user picked or a TAK client sent, so
28
+ * it wins. Everything else is derived here rather than stored: a MIL-STD symbol
29
+ * is a pure function of the Feature's SIDC, and persisting the derived key both
30
+ * staled it against later type edits and leaked it onto the wire as a junk
31
+ * `usericon` iconsetpath
32
+ */
33
+ export declare function renderedIcon(properties: Feature["properties"]): string | undefined;
13
34
  export default class COT {
14
35
  id: string;
15
36
  instance: string;
@@ -1,3 +1,10 @@
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>;
1
+ type __VLS_Props = {
2
+ eventId?: string;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
5
+ close: () => any;
6
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
7
+ onClose?: (() => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
2
9
  declare const _default: typeof __VLS_export;
3
10
  export default _default;
@@ -1,12 +1,41 @@
1
+ import type { CoreEventBoardSummary } from '../../../types.ts';
1
2
  type __VLS_Props = {
2
3
  /** TAK Server Channel bitpositions the Event is shared with */
3
4
  modelValue: Array<number>;
5
+ /** Boards of the Event's Channels & the Column the Event sits in on each */
6
+ boards?: Array<CoreEventBoardSummary>;
4
7
  edit?: boolean;
5
8
  };
6
9
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
7
10
  "update:modelValue": (value: number[]) => any;
11
+ nominate: (board: {
12
+ id: string;
13
+ name: string;
14
+ channel: number;
15
+ column: null | string;
16
+ columns: {
17
+ id: string;
18
+ name: string;
19
+ color: string;
20
+ type: "nominated" | "custom";
21
+ position: number;
22
+ }[];
23
+ }) => any;
8
24
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
25
  "onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
26
+ onNominate?: ((board: {
27
+ id: string;
28
+ name: string;
29
+ channel: number;
30
+ column: null | string;
31
+ columns: {
32
+ id: string;
33
+ name: string;
34
+ color: string;
35
+ type: "nominated" | "custom";
36
+ position: number;
37
+ }[];
38
+ }) => any) | undefined;
10
39
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
40
  declare const _default: typeof __VLS_export;
12
41
  export default _default;
@@ -1,3 +1,5 @@
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
1
3
  declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
4
  feature: {
3
5
  type: ObjectConstructor;
@@ -19,5 +21,3 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
19
21
  }>> & Readonly<{}>, {
20
22
  size: number;
21
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
22
- declare const _default: typeof __VLS_export;
23
- export default _default;
@@ -30,10 +30,20 @@ export type User = paths["/api/user/{:username}"]["get"]["responses"]["200"]["co
30
30
  export type UserList = paths["/api/user"]["get"]["responses"]["200"]["content"]["application/json"];
31
31
  export type ErrorReport = paths["/api/error/{:errorid}"]["get"]["responses"]["200"]["content"]["application/json"];
32
32
  export type ErrorReportList = paths["/api/error"]["get"]["responses"]["200"]["content"]["application/json"];
33
+ export type CoreDevice = paths["/api/core/device/{:device}"]["get"]["responses"]["200"]["content"]["application/json"];
34
+ export type CoreDeviceList = paths["/api/core/device"]["get"]["responses"]["200"]["content"]["application/json"];
33
35
  export type CoreEvent = paths["/api/core/event/{:event}"]["get"]["responses"]["200"]["content"]["application/json"];
34
36
  export type CoreEventList = paths["/api/core/event"]["get"]["responses"]["200"]["content"]["application/json"];
35
37
  export type CoreEventLink = CoreEvent["links"][0];
36
38
  export type CoreEventStyle = CoreEvent["style"];
39
+ export type CoreEventBoardSummary = CoreEvent["boards"][0];
40
+ export type CoreEventBoardColumnSummary = CoreEventBoardSummary["columns"][0];
41
+ export type CoreEventBoardList = paths["/api/board"]["get"]["responses"]["200"]["content"]["application/json"];
42
+ export type CoreEventBoard = CoreEventBoardList["items"][0];
43
+ export type CoreEventBoardColumnList = paths["/api/board/column"]["get"]["responses"]["200"]["content"]["application/json"];
44
+ export type CoreEventBoardColumn = CoreEventBoardColumnList["items"][0];
45
+ export type CoreEventBoardEventList = paths["/api/board/event"]["get"]["responses"]["200"]["content"]["application/json"];
46
+ export type CoreEventBoardEvent = CoreEventBoardEventList["items"][0];
37
47
  export type Contact = paths["/api/marti/api/contacts/all"]["get"]["responses"]["200"]["content"]["application/json"][0];
38
48
  export type ContactList = paths["/api/marti/api/contacts/all"]["get"]["responses"]["200"]["content"]["application/json"];
39
49
  export type Content = paths["/api/marti/package"]["put"]["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.61.0",
4
+ "version": "13.63.0",
5
5
  "types": "dist/types/plugin.d.ts",
6
6
  "files": [
7
7
  "dist/types"