@26lights/orcha 0.7.35 → 0.7.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 +4 -4
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +749 -747
- package/dist/orcha.umd.js +2 -2
- package/dist/src/components/AoActivityDetailsComments.vue.d.ts +8 -8
- package/dist/src/components/{AoActivitySubtasks.vue.d.ts → AoActivityTasks.vue.d.ts} +2 -2
- package/dist/src/components/AoCardFeed.vue.d.ts +10 -16
- package/dist/src/components/AoCardTemplateItem.vue.d.ts +2 -2
- package/dist/src/components/AoCardTemplateItemActivity.vue.d.ts +2 -2
- package/dist/src/types/index.d.ts +15 -14
- package/dist/src/views/AoProjectOverviewMilestoneDetails.vue.d.ts +19 -17
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { type Comment, type User } from '../types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
users: {
|
|
4
|
-
type: import("vue").PropType<User[]>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
3
|
comments: {
|
|
8
4
|
type: import("vue").PropType<Comment[]>;
|
|
9
5
|
default: () => never[];
|
|
10
6
|
};
|
|
7
|
+
users: {
|
|
8
|
+
type: import("vue").PropType<User[]>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
11
|
newComment: {
|
|
12
12
|
type: import("vue").PropType<string>;
|
|
13
13
|
};
|
|
@@ -28,14 +28,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
id: string;
|
|
29
29
|
}) => void;
|
|
30
30
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
-
users: {
|
|
32
|
-
type: import("vue").PropType<User[]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
31
|
comments: {
|
|
36
32
|
type: import("vue").PropType<Comment[]>;
|
|
37
33
|
default: () => never[];
|
|
38
34
|
};
|
|
35
|
+
users: {
|
|
36
|
+
type: import("vue").PropType<User[]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
39
|
newComment: {
|
|
40
40
|
type: import("vue").PropType<string>;
|
|
41
41
|
};
|
|
@@ -4,7 +4,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
tasks: {
|
|
8
8
|
type: import("vue").PropType<Subtask[]>;
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
type: import("vue").PropType<string>;
|
|
26
26
|
required: true;
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
tasks: {
|
|
29
29
|
type: import("vue").PropType<Subtask[]>;
|
|
30
30
|
required: true;
|
|
31
31
|
};
|
|
@@ -17,17 +17,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
17
17
|
milestoneName: {
|
|
18
18
|
type: import("vue").PropType<string>;
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
deadline: {
|
|
21
21
|
type: import("vue").PropType<string>;
|
|
22
22
|
};
|
|
23
|
-
|
|
23
|
+
important: {
|
|
24
24
|
type: import("vue").PropType<boolean>;
|
|
25
25
|
};
|
|
26
|
-
|
|
27
|
-
type: import("vue").PropType<User
|
|
28
|
-
};
|
|
29
|
-
assignees: {
|
|
30
|
-
type: import("vue").PropType<string[]>;
|
|
26
|
+
assignee: {
|
|
27
|
+
type: import("vue").PropType<User>;
|
|
31
28
|
};
|
|
32
29
|
comments: {
|
|
33
30
|
type: import("vue").PropType<number>;
|
|
@@ -35,7 +32,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
35
32
|
attachments: {
|
|
36
33
|
type: import("vue").PropType<number>;
|
|
37
34
|
};
|
|
38
|
-
|
|
35
|
+
tasks: {
|
|
39
36
|
type: import("vue").PropType<Subtask[]>;
|
|
40
37
|
};
|
|
41
38
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -59,17 +56,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
59
56
|
milestoneName: {
|
|
60
57
|
type: import("vue").PropType<string>;
|
|
61
58
|
};
|
|
62
|
-
|
|
59
|
+
deadline: {
|
|
63
60
|
type: import("vue").PropType<string>;
|
|
64
61
|
};
|
|
65
|
-
|
|
62
|
+
important: {
|
|
66
63
|
type: import("vue").PropType<boolean>;
|
|
67
64
|
};
|
|
68
|
-
|
|
69
|
-
type: import("vue").PropType<User
|
|
70
|
-
};
|
|
71
|
-
assignees: {
|
|
72
|
-
type: import("vue").PropType<string[]>;
|
|
65
|
+
assignee: {
|
|
66
|
+
type: import("vue").PropType<User>;
|
|
73
67
|
};
|
|
74
68
|
comments: {
|
|
75
69
|
type: import("vue").PropType<number>;
|
|
@@ -77,7 +71,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
77
71
|
attachments: {
|
|
78
72
|
type: import("vue").PropType<number>;
|
|
79
73
|
};
|
|
80
|
-
|
|
74
|
+
tasks: {
|
|
81
75
|
type: import("vue").PropType<Subtask[]>;
|
|
82
76
|
};
|
|
83
77
|
}>> & {
|
|
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
activities: {
|
|
6
6
|
type: import("vue").PropType<number>;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
tasks: {
|
|
9
9
|
type: import("vue").PropType<number>;
|
|
10
10
|
};
|
|
11
11
|
rules: {
|
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
activities: {
|
|
22
22
|
type: import("vue").PropType<number>;
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
tasks: {
|
|
25
25
|
type: import("vue").PropType<number>;
|
|
26
26
|
};
|
|
27
27
|
rules: {
|
|
@@ -3,14 +3,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
3
3
|
name: {
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
tasks: {
|
|
7
7
|
type: import("vue").PropType<Subtask[]>;
|
|
8
8
|
};
|
|
9
9
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
10
|
name: {
|
|
11
11
|
type: import("vue").PropType<string>;
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
tasks: {
|
|
14
14
|
type: import("vue").PropType<Subtask[]>;
|
|
15
15
|
};
|
|
16
16
|
}>>, {}, {}>, {
|
|
@@ -84,7 +84,7 @@ export interface ActivityProject extends ActivityBase {
|
|
|
84
84
|
projectName?: string;
|
|
85
85
|
milestoneId: Id;
|
|
86
86
|
phaseId: Id;
|
|
87
|
-
|
|
87
|
+
deadline?: string;
|
|
88
88
|
comments?: Comment[];
|
|
89
89
|
attachments?: Attachment[];
|
|
90
90
|
status?: ActivityStatus;
|
|
@@ -94,8 +94,8 @@ export interface ActivityFeed<K extends ActivityFeedStatus = ActivityFeedStatus>
|
|
|
94
94
|
milestoneId?: Id;
|
|
95
95
|
phaseId?: Id;
|
|
96
96
|
projectName?: string;
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
deadline?: string;
|
|
98
|
+
assignee?: Id;
|
|
99
99
|
comments?: Comment[];
|
|
100
100
|
attachments?: Attachment[];
|
|
101
101
|
feedStatus: (typeof activityFeedStatus)[K];
|
|
@@ -161,7 +161,7 @@ export interface Rule {
|
|
|
161
161
|
subItemId?: Id;
|
|
162
162
|
comparator?: RuleComparator;
|
|
163
163
|
trigger?: RuleTriggerTypes;
|
|
164
|
-
|
|
164
|
+
deadline?: string;
|
|
165
165
|
startDate?: string;
|
|
166
166
|
duration?: number;
|
|
167
167
|
durationUnit?: RuleDurationUnits;
|
|
@@ -177,7 +177,7 @@ export declare const templateItemType: {
|
|
|
177
177
|
readonly PHASES: "phases";
|
|
178
178
|
readonly MILESTONES: "milestones";
|
|
179
179
|
readonly ACTIVITIES: "activities";
|
|
180
|
-
readonly
|
|
180
|
+
readonly TASKS: "tasks";
|
|
181
181
|
};
|
|
182
182
|
export declare enum TemplateItemTypeEnum {
|
|
183
183
|
PHASES = "phases",
|
|
@@ -215,6 +215,7 @@ export interface AddActivityPayload {
|
|
|
215
215
|
milestoneId: Id;
|
|
216
216
|
name: string;
|
|
217
217
|
rank: Id;
|
|
218
|
+
projectId?: Id;
|
|
218
219
|
}
|
|
219
220
|
export interface UpdateMilestonePayload {
|
|
220
221
|
id: Id;
|
|
@@ -270,10 +271,10 @@ export interface UpdateActivityPayload {
|
|
|
270
271
|
id: Id;
|
|
271
272
|
name?: string;
|
|
272
273
|
rules?: Rule[];
|
|
273
|
-
|
|
274
|
+
tasks?: Subtask[];
|
|
274
275
|
description?: string;
|
|
275
276
|
estimation?: number;
|
|
276
|
-
|
|
277
|
+
important?: boolean;
|
|
277
278
|
dependingOn?: Id[];
|
|
278
279
|
blocking?: Id[];
|
|
279
280
|
dependingMilestones?: Id[];
|
|
@@ -287,14 +288,14 @@ export interface UpdateActivityFieldPayload {
|
|
|
287
288
|
tasks?: Subtask[];
|
|
288
289
|
description?: string;
|
|
289
290
|
estimation?: number;
|
|
290
|
-
|
|
291
|
+
important?: boolean;
|
|
291
292
|
dependingOn?: Id[];
|
|
292
293
|
blocking?: Id[];
|
|
293
294
|
dependingMilestones?: Id[];
|
|
294
295
|
type?: string;
|
|
295
296
|
status?: ActivityStatus;
|
|
296
|
-
|
|
297
|
-
|
|
297
|
+
deadline?: string;
|
|
298
|
+
assignee?: Id;
|
|
298
299
|
attachments?: Attachment[];
|
|
299
300
|
}
|
|
300
301
|
export interface AddRulePayload {
|
|
@@ -385,10 +386,10 @@ export type UdpateFeedActivityData = {
|
|
|
385
386
|
rank: number;
|
|
386
387
|
name?: string;
|
|
387
388
|
rules?: Rule[];
|
|
388
|
-
|
|
389
|
+
tasks?: Subtask[];
|
|
389
390
|
description?: string;
|
|
390
391
|
estimation?: number;
|
|
391
|
-
|
|
392
|
+
important?: boolean;
|
|
392
393
|
dependingOn?: Id[];
|
|
393
394
|
blocking?: Id[];
|
|
394
395
|
dependingMilestones?: Id[];
|
|
@@ -408,10 +409,10 @@ export type UdpateProjectActivityData = {
|
|
|
408
409
|
rank: string;
|
|
409
410
|
name?: string;
|
|
410
411
|
rules?: Rule[];
|
|
411
|
-
|
|
412
|
+
tasks?: Subtask[];
|
|
412
413
|
description?: string;
|
|
413
414
|
estimation?: number;
|
|
414
|
-
|
|
415
|
+
important?: boolean;
|
|
415
416
|
dependingOn?: Id[];
|
|
416
417
|
blocking?: Id[];
|
|
417
418
|
dependingMilestones?: Id[];
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type User, type AddActivityPayload, type Phase } from '../types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
phaseId: {
|
|
4
|
-
type: import("vue").PropType<string>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
3
|
milestoneId: {
|
|
8
4
|
type: import("vue").PropType<string>;
|
|
9
5
|
required: true;
|
|
@@ -12,23 +8,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
8
|
type: import("vue").PropType<User[]>;
|
|
13
9
|
required: true;
|
|
14
10
|
};
|
|
15
|
-
milestones: {
|
|
16
|
-
type: import("vue").PropType<Milestone[]>;
|
|
17
|
-
};
|
|
18
11
|
projectName: {
|
|
19
12
|
type: import("vue").PropType<string>;
|
|
20
13
|
};
|
|
21
|
-
|
|
14
|
+
projectId: {
|
|
22
15
|
type: import("vue").PropType<string>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
phases: {
|
|
19
|
+
type: import("vue").PropType<Phase[]>;
|
|
23
20
|
};
|
|
24
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
-
close: (e: Event) => void;
|
|
26
|
-
addActivity: (args_0: AddActivityPayload) => void;
|
|
27
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
21
|
phaseId: {
|
|
29
22
|
type: import("vue").PropType<string>;
|
|
30
23
|
required: true;
|
|
31
24
|
};
|
|
25
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
+
close: (e: Event) => void;
|
|
27
|
+
addActivity: (args_0: AddActivityPayload) => void;
|
|
28
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
29
|
milestoneId: {
|
|
33
30
|
type: import("vue").PropType<string>;
|
|
34
31
|
required: true;
|
|
@@ -37,14 +34,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
34
|
type: import("vue").PropType<User[]>;
|
|
38
35
|
required: true;
|
|
39
36
|
};
|
|
40
|
-
milestones: {
|
|
41
|
-
type: import("vue").PropType<Milestone[]>;
|
|
42
|
-
};
|
|
43
37
|
projectName: {
|
|
44
38
|
type: import("vue").PropType<string>;
|
|
45
39
|
};
|
|
46
|
-
|
|
40
|
+
projectId: {
|
|
47
41
|
type: import("vue").PropType<string>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
phases: {
|
|
45
|
+
type: import("vue").PropType<Phase[]>;
|
|
46
|
+
};
|
|
47
|
+
phaseId: {
|
|
48
|
+
type: import("vue").PropType<string>;
|
|
49
|
+
required: true;
|
|
48
50
|
};
|
|
49
51
|
}>> & {
|
|
50
52
|
onClose?: ((e: Event) => any) | undefined;
|