@26lights/orcha 0.42.34 → 0.42.35
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.
- package/dist/locales/en/translation.json +13 -1
- package/dist/orcha.cjs.js +48 -2
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +9304 -6791
- package/dist/orcha.umd.js +49 -3
- package/dist/src/components/ActivityChecklistTab.vue.d.ts +59 -0
- package/dist/src/components/ActivityCommentsTab.vue.d.ts +55 -0
- package/dist/src/components/ActivityDescriptionTab.vue.d.ts +39 -0
- package/dist/src/components/ActivityMetadataSidebar.vue.d.ts +89 -0
- package/dist/src/components/AoActivityDetails.vue.d.ts +21 -21
- package/dist/src/components/AoModal.vue.d.ts +3 -3
- package/dist/src/views/AoFeed.vue.d.ts +16 -16
- package/dist/src/views/AoProjectOverviewActivityDetails.vue.d.ts +2 -2
- package/dist/src/views/AoProjectOverviewProject.vue.d.ts +2 -2
- package/package.json +4 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { type Subtask, type UpdateSubtaskFieldPayload, type AddSubtaskPayload, type User } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
tasks: {
|
|
4
|
+
type: import("vue").PropType<Subtask[]>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
activityId: {
|
|
8
|
+
type: import("vue").PropType<string>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
users: {
|
|
12
|
+
type: import("vue").PropType<User[]>;
|
|
13
|
+
};
|
|
14
|
+
isCheckable: {
|
|
15
|
+
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
16
|
+
};
|
|
17
|
+
isEditable: {
|
|
18
|
+
type: import("vue").PropType<boolean>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
isTemplate: {
|
|
22
|
+
type: import("vue").PropType<boolean>;
|
|
23
|
+
};
|
|
24
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
add: (payload: AddSubtaskPayload) => void;
|
|
26
|
+
update: (payload: UpdateSubtaskFieldPayload) => void;
|
|
27
|
+
delete: (payload: {
|
|
28
|
+
id: string;
|
|
29
|
+
}) => void;
|
|
30
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
tasks: {
|
|
32
|
+
type: import("vue").PropType<Subtask[]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
activityId: {
|
|
36
|
+
type: import("vue").PropType<string>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
users: {
|
|
40
|
+
type: import("vue").PropType<User[]>;
|
|
41
|
+
};
|
|
42
|
+
isCheckable: {
|
|
43
|
+
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
44
|
+
};
|
|
45
|
+
isEditable: {
|
|
46
|
+
type: import("vue").PropType<boolean>;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
isTemplate: {
|
|
50
|
+
type: import("vue").PropType<boolean>;
|
|
51
|
+
};
|
|
52
|
+
}>> & {
|
|
53
|
+
onUpdate?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
|
|
54
|
+
onAdd?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
55
|
+
onDelete?: ((payload: {
|
|
56
|
+
id: string;
|
|
57
|
+
}) => any) | undefined;
|
|
58
|
+
}, {}, {}>;
|
|
59
|
+
export default _default;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { type Comment, type User } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
comments: {
|
|
4
|
+
type: import("vue").PropType<Comment[]>;
|
|
5
|
+
};
|
|
6
|
+
users: {
|
|
7
|
+
type: import("vue").PropType<User[]>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
userId: {
|
|
11
|
+
type: import("vue").PropType<string>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
createComment: (payload: {
|
|
16
|
+
authorId: string;
|
|
17
|
+
message: string;
|
|
18
|
+
mentionedUserIds: string[];
|
|
19
|
+
}) => void;
|
|
20
|
+
updateComment: (payload: {
|
|
21
|
+
id: string;
|
|
22
|
+
message: string;
|
|
23
|
+
mentionedUserIds: string[];
|
|
24
|
+
}) => void;
|
|
25
|
+
removeComment: (payload: {
|
|
26
|
+
id: string;
|
|
27
|
+
}) => void;
|
|
28
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
comments: {
|
|
30
|
+
type: import("vue").PropType<Comment[]>;
|
|
31
|
+
};
|
|
32
|
+
users: {
|
|
33
|
+
type: import("vue").PropType<User[]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
userId: {
|
|
37
|
+
type: import("vue").PropType<string>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
}>> & {
|
|
41
|
+
onCreateComment?: ((payload: {
|
|
42
|
+
authorId: string;
|
|
43
|
+
message: string;
|
|
44
|
+
mentionedUserIds: string[];
|
|
45
|
+
}) => any) | undefined;
|
|
46
|
+
onUpdateComment?: ((payload: {
|
|
47
|
+
id: string;
|
|
48
|
+
message: string;
|
|
49
|
+
mentionedUserIds: string[];
|
|
50
|
+
}) => any) | undefined;
|
|
51
|
+
onRemoveComment?: ((payload: {
|
|
52
|
+
id: string;
|
|
53
|
+
}) => any) | undefined;
|
|
54
|
+
}, {}, {}>;
|
|
55
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { type Attachment } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
isEditable: {
|
|
4
|
+
type: import("vue").PropType<boolean>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
attachments: {
|
|
8
|
+
type: import("vue").PropType<Attachment[]>;
|
|
9
|
+
default: () => never[];
|
|
10
|
+
};
|
|
11
|
+
description: {
|
|
12
|
+
type: import("vue").PropType<string>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
updateDescription: (value: string) => void;
|
|
17
|
+
addFiles: (files: File[]) => void;
|
|
18
|
+
removeFile: (file: Attachment) => void;
|
|
19
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
isEditable: {
|
|
21
|
+
type: import("vue").PropType<boolean>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
attachments: {
|
|
25
|
+
type: import("vue").PropType<Attachment[]>;
|
|
26
|
+
default: () => never[];
|
|
27
|
+
};
|
|
28
|
+
description: {
|
|
29
|
+
type: import("vue").PropType<string>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
}>> & {
|
|
33
|
+
onRemoveFile?: ((file: Attachment) => any) | undefined;
|
|
34
|
+
onUpdateDescription?: ((value: string) => any) | undefined;
|
|
35
|
+
onAddFiles?: ((files: File[]) => any) | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
attachments: Attachment[];
|
|
38
|
+
}, {}>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { type Activity, type ActivityStatus, type User, type ActivityType, type TimeTracking } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
activity: {
|
|
4
|
+
type: import("vue").PropType<Activity>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
users: {
|
|
8
|
+
type: import("vue").PropType<User[]>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
userId: {
|
|
12
|
+
type: import("vue").PropType<string>;
|
|
13
|
+
};
|
|
14
|
+
isOwnEditable: {
|
|
15
|
+
type: import("vue").PropType<boolean>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
isTemplate: {
|
|
19
|
+
type: import("vue").PropType<boolean>;
|
|
20
|
+
};
|
|
21
|
+
statuses: {
|
|
22
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
23
|
+
};
|
|
24
|
+
activityTypes: {
|
|
25
|
+
type: import("vue").PropType<ActivityType[]>;
|
|
26
|
+
};
|
|
27
|
+
templateActivities: {
|
|
28
|
+
type: import("vue").PropType<Activity[]>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
timeTrackingData: {
|
|
32
|
+
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
33
|
+
};
|
|
34
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
+
close: (args_0: void) => void;
|
|
36
|
+
updateStatus: (statusId: string) => void;
|
|
37
|
+
assignToMe: (args_0: void) => void;
|
|
38
|
+
assigneeSelect: (assigneeId: string) => void;
|
|
39
|
+
updateAssignee: (assigneeIds: string[]) => void;
|
|
40
|
+
updateDeadline: (deadline: string) => void;
|
|
41
|
+
updateImportant: (important: boolean) => void;
|
|
42
|
+
updateEstimation: (estimation: number) => void;
|
|
43
|
+
updateDependingOn: (ids: string[]) => void;
|
|
44
|
+
updateBlocking: (ids: string[]) => void;
|
|
45
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
+
activity: {
|
|
47
|
+
type: import("vue").PropType<Activity>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
users: {
|
|
51
|
+
type: import("vue").PropType<User[]>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
userId: {
|
|
55
|
+
type: import("vue").PropType<string>;
|
|
56
|
+
};
|
|
57
|
+
isOwnEditable: {
|
|
58
|
+
type: import("vue").PropType<boolean>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
isTemplate: {
|
|
62
|
+
type: import("vue").PropType<boolean>;
|
|
63
|
+
};
|
|
64
|
+
statuses: {
|
|
65
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
66
|
+
};
|
|
67
|
+
activityTypes: {
|
|
68
|
+
type: import("vue").PropType<ActivityType[]>;
|
|
69
|
+
};
|
|
70
|
+
templateActivities: {
|
|
71
|
+
type: import("vue").PropType<Activity[]>;
|
|
72
|
+
required: true;
|
|
73
|
+
};
|
|
74
|
+
timeTrackingData: {
|
|
75
|
+
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
76
|
+
};
|
|
77
|
+
}>> & {
|
|
78
|
+
onClose?: ((args_0?: void | undefined) => any) | undefined;
|
|
79
|
+
onUpdateStatus?: ((statusId: string) => any) | undefined;
|
|
80
|
+
onAssignToMe?: ((args_0?: void | undefined) => any) | undefined;
|
|
81
|
+
onAssigneeSelect?: ((assigneeId: string) => any) | undefined;
|
|
82
|
+
onUpdateAssignee?: ((assigneeIds: string[]) => any) | undefined;
|
|
83
|
+
onUpdateDeadline?: ((deadline: string) => any) | undefined;
|
|
84
|
+
onUpdateImportant?: ((important: boolean) => any) | undefined;
|
|
85
|
+
onUpdateEstimation?: ((estimation: number) => any) | undefined;
|
|
86
|
+
onUpdateDependingOn?: ((ids: string[]) => any) | undefined;
|
|
87
|
+
onUpdateBlocking?: ((ids: string[]) => any) | undefined;
|
|
88
|
+
}, {}, {}>;
|
|
89
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ActivityFeed, type Milestone, type UpdateSubtaskFieldPayload, type AddSubtaskPayload, type User, type AddFilesPayload, type
|
|
1
|
+
import { type ActivityFeed, type Milestone, type UpdateSubtaskFieldPayload, type AddSubtaskPayload, type User, type AddFilesPayload, type UpdateActivityPayload, type Activity, type Subtask, type ActivityStatus, type AddCommentPayload, type RemoveCommentPayload, type UpdateCommentPayload, type ActivityType, type Project, type TimeTracking } from '../types/index';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
isEditable: {
|
|
4
4
|
type: import("vue").PropType<boolean | "only-own">;
|
|
@@ -21,25 +21,28 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
21
21
|
isTemplate: {
|
|
22
22
|
type: import("vue").PropType<boolean>;
|
|
23
23
|
};
|
|
24
|
+
statuses: {
|
|
25
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
26
|
+
};
|
|
24
27
|
activityTypes: {
|
|
25
28
|
type: import("vue").PropType<ActivityType[]>;
|
|
26
29
|
};
|
|
27
|
-
milestoneId: {
|
|
28
|
-
type: import("vue").PropType<string>;
|
|
29
|
-
};
|
|
30
30
|
templateActivities: {
|
|
31
31
|
type: import("vue").PropType<(Activity | ActivityFeed<import('../types/index').ActivityFeedStatus>)[]>;
|
|
32
32
|
required: true;
|
|
33
33
|
};
|
|
34
|
+
timeTrackingData: {
|
|
35
|
+
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
36
|
+
};
|
|
37
|
+
milestoneId: {
|
|
38
|
+
type: import("vue").PropType<string>;
|
|
39
|
+
};
|
|
34
40
|
templateMilestones: {
|
|
35
41
|
type: import("vue").PropType<Milestone[]>;
|
|
36
42
|
};
|
|
37
43
|
isTaskCheckable: {
|
|
38
44
|
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
39
45
|
};
|
|
40
|
-
statuses: {
|
|
41
|
-
type: import("vue").PropType<ActivityStatus[]>;
|
|
42
|
-
};
|
|
43
46
|
attachmentEnabled: {
|
|
44
47
|
type: import("vue").PropType<boolean>;
|
|
45
48
|
required: true;
|
|
@@ -48,9 +51,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
48
51
|
type: import("vue").PropType<Project[]>;
|
|
49
52
|
default: () => never[];
|
|
50
53
|
};
|
|
51
|
-
timeTrackingData: {
|
|
52
|
-
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
53
|
-
};
|
|
54
54
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
55
55
|
'update:activity': (payload: UpdateActivityPayload) => void;
|
|
56
56
|
close: (args_0: void) => void;
|
|
@@ -87,25 +87,28 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
87
87
|
isTemplate: {
|
|
88
88
|
type: import("vue").PropType<boolean>;
|
|
89
89
|
};
|
|
90
|
+
statuses: {
|
|
91
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
92
|
+
};
|
|
90
93
|
activityTypes: {
|
|
91
94
|
type: import("vue").PropType<ActivityType[]>;
|
|
92
95
|
};
|
|
93
|
-
milestoneId: {
|
|
94
|
-
type: import("vue").PropType<string>;
|
|
95
|
-
};
|
|
96
96
|
templateActivities: {
|
|
97
97
|
type: import("vue").PropType<(Activity | ActivityFeed<import('../types/index').ActivityFeedStatus>)[]>;
|
|
98
98
|
required: true;
|
|
99
99
|
};
|
|
100
|
+
timeTrackingData: {
|
|
101
|
+
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
102
|
+
};
|
|
103
|
+
milestoneId: {
|
|
104
|
+
type: import("vue").PropType<string>;
|
|
105
|
+
};
|
|
100
106
|
templateMilestones: {
|
|
101
107
|
type: import("vue").PropType<Milestone[]>;
|
|
102
108
|
};
|
|
103
109
|
isTaskCheckable: {
|
|
104
110
|
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
105
111
|
};
|
|
106
|
-
statuses: {
|
|
107
|
-
type: import("vue").PropType<ActivityStatus[]>;
|
|
108
|
-
};
|
|
109
112
|
attachmentEnabled: {
|
|
110
113
|
type: import("vue").PropType<boolean>;
|
|
111
114
|
required: true;
|
|
@@ -114,21 +117,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
114
117
|
type: import("vue").PropType<Project[]>;
|
|
115
118
|
default: () => never[];
|
|
116
119
|
};
|
|
117
|
-
timeTrackingData: {
|
|
118
|
-
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
119
|
-
};
|
|
120
120
|
}>> & {
|
|
121
121
|
onClose?: ((args_0?: void | undefined) => any) | undefined;
|
|
122
|
+
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
123
|
+
onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
|
|
122
124
|
onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
|
|
123
125
|
onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
|
|
124
126
|
onDeleteSubtask?: ((payload: {
|
|
125
127
|
id: string;
|
|
126
128
|
}) => any) | undefined;
|
|
127
|
-
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
128
129
|
"onUpdate:activity"?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
129
130
|
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
130
131
|
onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
|
|
131
|
-
onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
|
|
132
132
|
onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
|
|
133
133
|
onToast?: ((messageKey: string, type: "success" | "error") => any) | undefined;
|
|
134
134
|
}, {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
2
|
size: {
|
|
3
|
-
type: import("vue").PropType<"sm" | "md">;
|
|
3
|
+
type: import("vue").PropType<"sm" | "md" | "lg">;
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
6
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
close: (args_0: void) => void;
|
|
8
8
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
size: {
|
|
10
|
-
type: import("vue").PropType<"sm" | "md">;
|
|
10
|
+
type: import("vue").PropType<"sm" | "md" | "lg">;
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
13
|
}>> & {
|
|
14
14
|
onClose?: ((args_0?: void | undefined) => any) | undefined;
|
|
15
15
|
}, {
|
|
16
|
-
size: "sm" | "md";
|
|
16
|
+
size: "sm" | "md" | "lg";
|
|
17
17
|
}, {}>, {
|
|
18
18
|
header?(_: {}): any;
|
|
19
19
|
default?(_: {}): any;
|
|
@@ -32,17 +32,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
32
32
|
type: import("vue").PropType<boolean>;
|
|
33
33
|
required: true;
|
|
34
34
|
};
|
|
35
|
+
statuses: {
|
|
36
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
35
39
|
activityTypes: {
|
|
36
40
|
type: import("vue").PropType<ActivityType[]>;
|
|
37
41
|
};
|
|
42
|
+
timeTrackingData: {
|
|
43
|
+
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
44
|
+
};
|
|
38
45
|
isTaskCheckable: {
|
|
39
46
|
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
40
47
|
default: undefined;
|
|
41
48
|
};
|
|
42
|
-
statuses: {
|
|
43
|
-
type: import("vue").PropType<ActivityStatus[]>;
|
|
44
|
-
required: true;
|
|
45
|
-
};
|
|
46
49
|
attachmentEnabled: {
|
|
47
50
|
type: import("vue").PropType<boolean>;
|
|
48
51
|
required: true;
|
|
@@ -51,9 +54,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
51
54
|
projects: {
|
|
52
55
|
type: import("vue").PropType<Project[]>;
|
|
53
56
|
};
|
|
54
|
-
timeTrackingData: {
|
|
55
|
-
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
56
|
-
};
|
|
57
57
|
selectedActivity: {
|
|
58
58
|
type: import("vue").PropType<Activity>;
|
|
59
59
|
};
|
|
@@ -132,17 +132,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
132
132
|
type: import("vue").PropType<boolean>;
|
|
133
133
|
required: true;
|
|
134
134
|
};
|
|
135
|
+
statuses: {
|
|
136
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
137
|
+
required: true;
|
|
138
|
+
};
|
|
135
139
|
activityTypes: {
|
|
136
140
|
type: import("vue").PropType<ActivityType[]>;
|
|
137
141
|
};
|
|
142
|
+
timeTrackingData: {
|
|
143
|
+
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
144
|
+
};
|
|
138
145
|
isTaskCheckable: {
|
|
139
146
|
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
140
147
|
default: undefined;
|
|
141
148
|
};
|
|
142
|
-
statuses: {
|
|
143
|
-
type: import("vue").PropType<ActivityStatus[]>;
|
|
144
|
-
required: true;
|
|
145
|
-
};
|
|
146
149
|
attachmentEnabled: {
|
|
147
150
|
type: import("vue").PropType<boolean>;
|
|
148
151
|
required: true;
|
|
@@ -151,9 +154,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
151
154
|
projects: {
|
|
152
155
|
type: import("vue").PropType<Project[]>;
|
|
153
156
|
};
|
|
154
|
-
timeTrackingData: {
|
|
155
|
-
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
156
|
-
};
|
|
157
157
|
selectedActivity: {
|
|
158
158
|
type: import("vue").PropType<Activity>;
|
|
159
159
|
};
|
|
@@ -180,16 +180,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
180
180
|
onUnarchiveActivity?: ((payload: {
|
|
181
181
|
id: string;
|
|
182
182
|
}) => any) | undefined;
|
|
183
|
+
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
184
|
+
onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
|
|
183
185
|
onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
|
|
184
186
|
onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
|
|
185
187
|
onDeleteSubtask?: ((payload: {
|
|
186
188
|
id: string;
|
|
187
189
|
}) => any) | undefined;
|
|
188
|
-
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
189
190
|
"onUpdate:activity"?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
190
191
|
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
191
192
|
onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
|
|
192
|
-
onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
|
|
193
193
|
onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
|
|
194
194
|
onToast?: ((message: string, type: "success" | "error") => any) | undefined;
|
|
195
195
|
onAddActivity?: ((payload: AddActivityFeedPayload) => any) | undefined;
|
|
@@ -120,16 +120,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
120
120
|
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
121
121
|
};
|
|
122
122
|
}>> & {
|
|
123
|
+
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
124
|
+
onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
|
|
123
125
|
onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
|
|
124
126
|
onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
|
|
125
127
|
onDeleteSubtask?: ((payload: {
|
|
126
128
|
id: string;
|
|
127
129
|
}) => any) | undefined;
|
|
128
|
-
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
129
130
|
"onUpdate:activity"?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
130
131
|
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
131
132
|
onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
|
|
132
|
-
onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
|
|
133
133
|
onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
|
|
134
134
|
}, {}, {}>, {
|
|
135
135
|
default?(_: {
|
|
@@ -155,16 +155,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
155
155
|
onUnarchiveActivity?: ((payload: {
|
|
156
156
|
id: string;
|
|
157
157
|
}) => any) | undefined;
|
|
158
|
+
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
159
|
+
onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
|
|
158
160
|
onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
|
|
159
161
|
onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
|
|
160
162
|
onDeleteSubtask?: ((payload: {
|
|
161
163
|
id: string;
|
|
162
164
|
}) => any) | undefined;
|
|
163
|
-
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
164
165
|
"onUpdate:activity"?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
165
166
|
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
166
167
|
onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
|
|
167
|
-
onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
|
|
168
168
|
onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
|
|
169
169
|
onAddMilestone?: ((payload: AddMilestonePayload) => any) | undefined;
|
|
170
170
|
onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "CC-BY-NC-ND-4.0",
|
|
6
6
|
"author": "26lights <dev@26lights.com> (https://www.26lights.com)",
|
|
7
|
-
"version": "0.42.
|
|
7
|
+
"version": "0.42.35",
|
|
8
8
|
"workspaces": [
|
|
9
9
|
"packages/*"
|
|
10
10
|
],
|
|
@@ -33,16 +33,19 @@
|
|
|
33
33
|
"@vueform/multiselect": "^2.6.6",
|
|
34
34
|
"@vueuse/core": "^10.8.0",
|
|
35
35
|
"date-fns": "^2.30.0",
|
|
36
|
+
"dompurify": "^3.0.6",
|
|
36
37
|
"i18next": "^23.2.8",
|
|
37
38
|
"i18next-http-backend": "^2.2.1",
|
|
38
39
|
"i18next-vue": "^2.2.1",
|
|
39
40
|
"lexorank": "^1.0.5",
|
|
41
|
+
"marked": "^9.1.0",
|
|
40
42
|
"vue-color-kit": "^1.0.6"
|
|
41
43
|
},
|
|
42
44
|
"devDependencies": {
|
|
43
45
|
"@histoire/plugin-vue": "^0.17.1",
|
|
44
46
|
"@rushstack/eslint-patch": "^1.3.3",
|
|
45
47
|
"@tsconfig/node18": "^2.0.1",
|
|
48
|
+
"@types/dompurify": "^3.0.4",
|
|
46
49
|
"@types/eslint": "^8.44.2",
|
|
47
50
|
"@types/jsdom": "^21.1.1",
|
|
48
51
|
"@types/node": "^18.16.17",
|