@tak-ps/cloudtak 13.106.0 → 13.107.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.
@@ -0,0 +1,11 @@
1
+ import type { CoreEntityAssignmentInput } from '../../../types.ts';
2
+ type __VLS_ModelProps = {
3
+ modelValue: CoreEntityAssignmentInput;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ "update:modelValue": (value: CoreEntityAssignmentInput) => any;
7
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
8
+ "onUpdate:modelValue"?: ((value: CoreEntityAssignmentInput) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ /** Core Event to list Assignments for */
3
+ event: string;
4
+ edit?: boolean;
5
+ };
6
+ 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>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -1,20 +1,17 @@
1
1
  type __VLS_Props = {
2
- label: string;
3
- modelValue: string | null;
2
+ started: string;
3
+ /** An Event without an ended time is open ended */
4
+ ended: string | null;
4
5
  edit?: boolean;
5
- /** The time may be cleared - an Event without an ended time is open ended */
6
- nullable?: boolean;
7
- /** Offer buttons that push the time out from the later of now & its current value */
8
- presets?: boolean;
9
6
  };
10
7
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
- "update:modelValue": (value: string | null) => any;
8
+ "update:started": (value: string) => any;
9
+ "update:ended": (value: string | null) => any;
12
10
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
- "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
11
+ "onUpdate:started"?: ((value: string) => any) | undefined;
12
+ "onUpdate:ended"?: ((value: string | null) => any) | undefined;
14
13
  }>, {
15
14
  edit: boolean;
16
- presets: boolean;
17
- nullable: boolean;
18
15
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
16
  declare const _default: typeof __VLS_export;
20
17
  export default _default;
@@ -1,17 +1,11 @@
1
1
  type __VLS_Props = {
2
2
  modelValue: string;
3
- /** Whether the Event is currently Active */
4
- active: boolean;
5
- /** Time at which the Event ends - a future time keeps the Event active until then */
6
- ended: string | null;
7
3
  edit?: boolean;
8
4
  };
9
5
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
6
  "update:modelValue": (value: string) => any;
11
- "update:active": (value: boolean) => any;
12
7
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
8
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
14
- "onUpdate:active"?: ((value: boolean) => any) | undefined;
15
9
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
10
  declare const _default: typeof __VLS_export;
17
11
  export default _default;
@@ -0,0 +1,12 @@
1
+ type __VLS_Props = {
2
+ active: boolean;
3
+ priority: string;
4
+ edit?: boolean;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
7
+ "update:active": (value: boolean) => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ "onUpdate:active"?: ((value: boolean) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
@@ -1,8 +1,7 @@
1
1
  type __VLS_Props = {
2
2
  created: string;
3
- started: string;
4
3
  updated: string;
5
- ended: string | null;
4
+ username?: string | null;
6
5
  };
7
6
  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>;
8
7
  declare const _default: typeof __VLS_export;
@@ -12,6 +12,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
12
12
  type: BooleanConstructor;
13
13
  default: boolean;
14
14
  };
15
+ inline: {
16
+ type: BooleanConstructor;
17
+ description: string;
18
+ default: boolean;
19
+ };
15
20
  truncate: {
16
21
  type: NumberConstructor;
17
22
  description: string;
@@ -42,6 +47,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
42
47
  type: BooleanConstructor;
43
48
  default: boolean;
44
49
  };
50
+ inline: {
51
+ type: BooleanConstructor;
52
+ description: string;
53
+ default: boolean;
54
+ };
45
55
  truncate: {
46
56
  type: NumberConstructor;
47
57
  description: string;
@@ -62,6 +72,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
62
72
  }>, {
63
73
  label: string;
64
74
  hover: boolean;
75
+ inline: boolean;
65
76
  edit: boolean;
66
77
  truncate: number;
67
78
  modes: unknown[];
@@ -23,6 +23,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
23
23
  type: StringConstructor;
24
24
  default: undefined;
25
25
  };
26
+ type: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
26
30
  rows: {
27
31
  type: NumberConstructor;
28
32
  default: number;
@@ -80,6 +84,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
80
84
  type: StringConstructor;
81
85
  default: undefined;
82
86
  };
87
+ type: {
88
+ type: StringConstructor;
89
+ default: string;
90
+ };
83
91
  rows: {
84
92
  type: NumberConstructor;
85
93
  default: number;
@@ -117,6 +125,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
117
125
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
118
126
  onDelete?: ((...args: any[]) => any) | undefined;
119
127
  }>, {
128
+ type: string;
120
129
  mode: string;
121
130
  size: number;
122
131
  stroke: number;
@@ -0,0 +1,6 @@
1
+ type __VLS_Props = {
2
+ count: number;
3
+ };
4
+ 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>;
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
@@ -0,0 +1,19 @@
1
+ /** PropertyFactRow - a single label/value line in a compact key-value list */
2
+ type __VLS_Props = {
3
+ label: string;
4
+ };
5
+ declare var __VLS_1: {}, __VLS_3: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_1) => any;
8
+ } & {
9
+ actions?: (props: typeof __VLS_3) => any;
10
+ };
11
+ 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>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,19 @@
1
+ type __VLS_Props = {
2
+ label: string;
3
+ count?: number;
4
+ };
5
+ declare var __VLS_6: {}, __VLS_8: {};
6
+ type __VLS_Slots = {} & {
7
+ actions?: (props: typeof __VLS_6) => any;
8
+ } & {
9
+ default?: (props: typeof __VLS_8) => any;
10
+ };
11
+ 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>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,15 @@
1
+ export type PropertyTab = {
2
+ value: string;
3
+ label: string;
4
+ };
5
+ type __VLS_Props = {
6
+ modelValue: string;
7
+ tabs: Array<PropertyTab>;
8
+ };
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
+ "update:modelValue": (value: string) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -64,6 +64,15 @@ export type CoreFormColumnList = paths["/api/board/column/{:column}/form"]["get"
64
64
  export type CoreFormColumn = CoreFormColumnList["items"][0];
65
65
  export type CoreEntityFormResponseList = paths["/api/core/event/{:event}/response"]["get"]["responses"]["200"]["content"]["application/json"];
66
66
  export type CoreEntityFormResponse = CoreEntityFormResponseList["items"][0];
67
+ export type CoreEntityAssignmentList = paths["/api/core/event/{:event}/assignment"]["get"]["responses"]["200"]["content"]["application/json"];
68
+ export type CoreEntityAssignment = CoreEntityAssignmentList["items"][0];
69
+ /** Editable form of an Assignment - a blank username means no Profile link */
70
+ export type CoreEntityAssignmentInput = {
71
+ name: string;
72
+ uid: string;
73
+ role: string;
74
+ remarks: string;
75
+ };
67
76
  export type Contact = paths["/api/marti/api/contacts/all"]["get"]["responses"]["200"]["content"]["application/json"][0];
68
77
  export type ContactList = paths["/api/marti/api/contacts/all"]["get"]["responses"]["200"]["content"]["application/json"];
69
78
  export type Content = paths["/api/marti/package"]["put"]["responses"]["200"]["content"]["application/json"];
@@ -0,0 +1,9 @@
1
+ /** Core Entity priorities in ascending order of urgency */
2
+ export declare const PRIORITIES: string[];
3
+ /** Badge colours & display label for a priority */
4
+ export declare function priorityBadge(priority: string): {
5
+ background: string;
6
+ border: string;
7
+ text: string;
8
+ label: string;
9
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/cloudtak",
3
3
  "type": "module",
4
- "version": "13.106.0",
4
+ "version": "13.107.0",
5
5
  "types": "dist/types/plugin.d.ts",
6
6
  "files": [
7
7
  "dist/types"