@26lights/orcha 0.42.35 → 0.42.37
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 +1 -13
- package/dist/orcha.cjs.js +2 -48
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +6757 -9299
- package/dist/orcha.umd.js +3 -49
- 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 +1 -4
- package/dist/src/components/ActivityChecklistTab.vue.d.ts +0 -59
- package/dist/src/components/ActivityCommentsTab.vue.d.ts +0 -55
- package/dist/src/components/ActivityDescriptionTab.vue.d.ts +0 -39
- package/dist/src/components/ActivityMetadataSidebar.vue.d.ts +0 -89
|
@@ -1,4 +1,4 @@
|
|
|
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';
|
|
1
|
+
import { type ActivityFeed, type Milestone, type UpdateSubtaskFieldPayload, type AddSubtaskPayload, type User, type AddFilesPayload, type RemoveFilePayload, 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,28 +21,25 @@ 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
|
-
};
|
|
27
24
|
activityTypes: {
|
|
28
25
|
type: import("vue").PropType<ActivityType[]>;
|
|
29
26
|
};
|
|
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
|
-
};
|
|
40
34
|
templateMilestones: {
|
|
41
35
|
type: import("vue").PropType<Milestone[]>;
|
|
42
36
|
};
|
|
43
37
|
isTaskCheckable: {
|
|
44
38
|
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
45
39
|
};
|
|
40
|
+
statuses: {
|
|
41
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
42
|
+
};
|
|
46
43
|
attachmentEnabled: {
|
|
47
44
|
type: import("vue").PropType<boolean>;
|
|
48
45
|
required: true;
|
|
@@ -51,6 +48,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
51
48
|
type: import("vue").PropType<Project[]>;
|
|
52
49
|
default: () => never[];
|
|
53
50
|
};
|
|
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,28 +87,25 @@ 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
|
-
};
|
|
93
90
|
activityTypes: {
|
|
94
91
|
type: import("vue").PropType<ActivityType[]>;
|
|
95
92
|
};
|
|
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
|
-
};
|
|
106
100
|
templateMilestones: {
|
|
107
101
|
type: import("vue").PropType<Milestone[]>;
|
|
108
102
|
};
|
|
109
103
|
isTaskCheckable: {
|
|
110
104
|
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
111
105
|
};
|
|
106
|
+
statuses: {
|
|
107
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
108
|
+
};
|
|
112
109
|
attachmentEnabled: {
|
|
113
110
|
type: import("vue").PropType<boolean>;
|
|
114
111
|
required: true;
|
|
@@ -117,18 +114,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
117
114
|
type: import("vue").PropType<Project[]>;
|
|
118
115
|
default: () => never[];
|
|
119
116
|
};
|
|
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;
|
|
124
122
|
onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
|
|
125
123
|
onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
|
|
126
124
|
onDeleteSubtask?: ((payload: {
|
|
127
125
|
id: string;
|
|
128
126
|
}) => any) | undefined;
|
|
127
|
+
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
129
128
|
"onUpdate:activity"?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
130
129
|
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
131
130
|
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">;
|
|
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">;
|
|
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";
|
|
17
17
|
}, {}>, {
|
|
18
18
|
header?(_: {}): any;
|
|
19
19
|
default?(_: {}): any;
|
|
@@ -32,20 +32,17 @@ 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
|
-
};
|
|
39
35
|
activityTypes: {
|
|
40
36
|
type: import("vue").PropType<ActivityType[]>;
|
|
41
37
|
};
|
|
42
|
-
timeTrackingData: {
|
|
43
|
-
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
44
|
-
};
|
|
45
38
|
isTaskCheckable: {
|
|
46
39
|
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
47
40
|
default: undefined;
|
|
48
41
|
};
|
|
42
|
+
statuses: {
|
|
43
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
49
46
|
attachmentEnabled: {
|
|
50
47
|
type: import("vue").PropType<boolean>;
|
|
51
48
|
required: true;
|
|
@@ -54,6 +51,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
54
51
|
projects: {
|
|
55
52
|
type: import("vue").PropType<Project[]>;
|
|
56
53
|
};
|
|
54
|
+
timeTrackingData: {
|
|
55
|
+
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
56
|
+
};
|
|
57
57
|
selectedActivity: {
|
|
58
58
|
type: import("vue").PropType<Activity>;
|
|
59
59
|
};
|
|
@@ -132,20 +132,17 @@ 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
|
-
};
|
|
139
135
|
activityTypes: {
|
|
140
136
|
type: import("vue").PropType<ActivityType[]>;
|
|
141
137
|
};
|
|
142
|
-
timeTrackingData: {
|
|
143
|
-
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
144
|
-
};
|
|
145
138
|
isTaskCheckable: {
|
|
146
139
|
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
147
140
|
default: undefined;
|
|
148
141
|
};
|
|
142
|
+
statuses: {
|
|
143
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
144
|
+
required: true;
|
|
145
|
+
};
|
|
149
146
|
attachmentEnabled: {
|
|
150
147
|
type: import("vue").PropType<boolean>;
|
|
151
148
|
required: true;
|
|
@@ -154,6 +151,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
154
151
|
projects: {
|
|
155
152
|
type: import("vue").PropType<Project[]>;
|
|
156
153
|
};
|
|
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;
|
|
185
183
|
onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
|
|
186
184
|
onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
|
|
187
185
|
onDeleteSubtask?: ((payload: {
|
|
188
186
|
id: string;
|
|
189
187
|
}) => any) | undefined;
|
|
188
|
+
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
190
189
|
"onUpdate:activity"?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
191
190
|
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
192
191
|
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;
|
|
125
123
|
onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
|
|
126
124
|
onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
|
|
127
125
|
onDeleteSubtask?: ((payload: {
|
|
128
126
|
id: string;
|
|
129
127
|
}) => any) | undefined;
|
|
128
|
+
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
130
129
|
"onUpdate:activity"?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
131
130
|
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
132
131
|
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;
|
|
160
158
|
onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
|
|
161
159
|
onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
|
|
162
160
|
onDeleteSubtask?: ((payload: {
|
|
163
161
|
id: string;
|
|
164
162
|
}) => any) | undefined;
|
|
163
|
+
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
165
164
|
"onUpdate:activity"?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
166
165
|
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
167
166
|
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.37",
|
|
8
8
|
"workspaces": [
|
|
9
9
|
"packages/*"
|
|
10
10
|
],
|
|
@@ -33,19 +33,16 @@
|
|
|
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",
|
|
37
36
|
"i18next": "^23.2.8",
|
|
38
37
|
"i18next-http-backend": "^2.2.1",
|
|
39
38
|
"i18next-vue": "^2.2.1",
|
|
40
39
|
"lexorank": "^1.0.5",
|
|
41
|
-
"marked": "^9.1.0",
|
|
42
40
|
"vue-color-kit": "^1.0.6"
|
|
43
41
|
},
|
|
44
42
|
"devDependencies": {
|
|
45
43
|
"@histoire/plugin-vue": "^0.17.1",
|
|
46
44
|
"@rushstack/eslint-patch": "^1.3.3",
|
|
47
45
|
"@tsconfig/node18": "^2.0.1",
|
|
48
|
-
"@types/dompurify": "^3.0.4",
|
|
49
46
|
"@types/eslint": "^8.44.2",
|
|
50
47
|
"@types/jsdom": "^21.1.1",
|
|
51
48
|
"@types/node": "^18.16.17",
|
|
@@ -1,59 +0,0 @@
|
|
|
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;
|
|
@@ -1,55 +0,0 @@
|
|
|
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;
|
|
@@ -1,39 +0,0 @@
|
|
|
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;
|
|
@@ -1,89 +0,0 @@
|
|
|
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;
|