@26lights/orcha 0.7.5 → 0.7.6
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/orcha.cjs.js +1 -1
- package/dist/orcha.es.js +2514 -2537
- package/dist/orcha.umd.js +2 -2
- package/dist/src/components/AoActivityDetails.vue.d.ts +5 -5
- package/dist/src/components/AoCardFeed.vue.d.ts +3 -3
- package/dist/src/components/AoCardProjectItemMilestone.vue.d.ts +7 -1
- package/dist/src/components/AoListKanban.vue.d.ts +16 -16
- package/dist/src/components/AoTemplateDetailsActivities.vue.d.ts +1 -1
- package/dist/src/composables/useFeedStore.d.ts +64 -23
- package/dist/src/views/AoFeed.vue.d.ts +10 -9
- package/dist/src/views/AoProjectOverviewMilestoneDetails.vue.d.ts +1 -1
- package/dist/src/views/AoProjectOverviewProject.vue.d.ts +1 -1
- package/package.json +1 -1
- package/dist/src/types/index.d.ts +0 -466
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type ActivityBase, type Milestone, type UpdateSubtaskFieldPayload, type AddSubtaskPayload, type User, type AddFilesPayload, type RemoveFilePayload, type UpdateActivityInput } from '../types/index';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
activity: {
|
|
4
4
|
type: import("vue").PropType<ActivityBase>;
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
15
15
|
type: import("vue").PropType<string>;
|
|
16
16
|
};
|
|
17
17
|
templateActivities: {
|
|
18
|
-
type: import("vue").PropType<
|
|
18
|
+
type: import("vue").PropType<any[]>;
|
|
19
19
|
required: true;
|
|
20
20
|
};
|
|
21
21
|
templateMilestones: {
|
|
@@ -28,7 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
28
28
|
type: import("vue").PropType<User[]>;
|
|
29
29
|
};
|
|
30
30
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
-
'update:activity': (payload:
|
|
31
|
+
'update:activity': (payload: UpdateActivityInput) => void;
|
|
32
32
|
close: (args_0: void) => void;
|
|
33
33
|
addSubtask: (payload: AddSubtaskPayload) => void;
|
|
34
34
|
updateSubtask: (payload: UpdateSubtaskFieldPayload) => void;
|
|
@@ -50,7 +50,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
50
50
|
type: import("vue").PropType<string>;
|
|
51
51
|
};
|
|
52
52
|
templateActivities: {
|
|
53
|
-
type: import("vue").PropType<
|
|
53
|
+
type: import("vue").PropType<any[]>;
|
|
54
54
|
required: true;
|
|
55
55
|
};
|
|
56
56
|
templateMilestones: {
|
|
@@ -65,7 +65,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
65
65
|
}>> & {
|
|
66
66
|
onClose?: ((args_0?: void | undefined) => any) | undefined;
|
|
67
67
|
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
68
|
-
"onUpdate:activity"?: ((payload:
|
|
68
|
+
"onUpdate:activity"?: ((payload: UpdateActivityInput) => any) | undefined;
|
|
69
69
|
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
70
70
|
onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
|
|
71
71
|
onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type UpdateActivityInput, type Subtask, type User } from '../types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
id: {
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
@@ -40,7 +40,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
40
40
|
};
|
|
41
41
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
42
|
removeAssignee: (assigneeId: string) => void;
|
|
43
|
-
updateActivity: (payload:
|
|
43
|
+
updateActivity: (payload: UpdateActivityInput) => void;
|
|
44
44
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
45
|
id: {
|
|
46
46
|
type: import("vue").PropType<string>;
|
|
@@ -82,7 +82,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
82
82
|
};
|
|
83
83
|
}>> & {
|
|
84
84
|
onRemoveAssignee?: ((assigneeId: string) => any) | undefined;
|
|
85
|
-
onUpdateActivity?: ((payload:
|
|
85
|
+
onUpdateActivity?: ((payload: UpdateActivityInput) => any) | undefined;
|
|
86
86
|
}, {}, {}>, {
|
|
87
87
|
secondary?(_: {}): any;
|
|
88
88
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ActivityProject } from '../types';
|
|
1
|
+
import { ActivityStatus, type ActivityProject } from '../types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
id: {
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
@@ -10,6 +10,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
10
10
|
activities: {
|
|
11
11
|
type: import("vue").PropType<ActivityProject[]>;
|
|
12
12
|
};
|
|
13
|
+
doneStatus: {
|
|
14
|
+
type: import("vue").PropType<ActivityStatus>;
|
|
15
|
+
};
|
|
13
16
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
17
|
id: {
|
|
15
18
|
type: import("vue").PropType<string>;
|
|
@@ -21,6 +24,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
21
24
|
activities: {
|
|
22
25
|
type: import("vue").PropType<ActivityProject[]>;
|
|
23
26
|
};
|
|
27
|
+
doneStatus: {
|
|
28
|
+
type: import("vue").PropType<ActivityStatus>;
|
|
29
|
+
};
|
|
24
30
|
}>>, {}, {}>, {
|
|
25
31
|
secondary?(_: {}): any;
|
|
26
32
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
declare const _default: <T extends
|
|
3
|
-
list:
|
|
4
|
-
status:
|
|
1
|
+
import { type UpdateActivityInput, type ChangeFeedActivitiesPayload, type Id, type ActivityStatus, type Activity, type ActivityFeedStatus } from '../types';
|
|
2
|
+
declare const _default: <T extends ActivityFeedStatus>(__VLS_props: {
|
|
3
|
+
list: Activity[];
|
|
4
|
+
status: ActivityStatus;
|
|
5
5
|
title?: string | undefined;
|
|
6
6
|
footerLabel?: string | undefined;
|
|
7
7
|
isLoading?: boolean | undefined;
|
|
@@ -9,8 +9,8 @@ declare const _default: <T extends "done" | "future" | "this_month" | "this_week
|
|
|
9
9
|
noMoreLabel?: string | undefined;
|
|
10
10
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
11
11
|
props: {
|
|
12
|
-
list:
|
|
13
|
-
status:
|
|
12
|
+
list: Activity[];
|
|
13
|
+
status: ActivityStatus;
|
|
14
14
|
title?: string | undefined;
|
|
15
15
|
footerLabel?: string | undefined;
|
|
16
16
|
isLoading?: boolean | undefined;
|
|
@@ -26,16 +26,16 @@ declare const _default: <T extends "done" | "future" | "this_month" | "this_week
|
|
|
26
26
|
emit: {
|
|
27
27
|
add: [void];
|
|
28
28
|
'update:list': [value: unknown[]];
|
|
29
|
-
'change:list': [value: ChangeFeedActivitiesPayload
|
|
29
|
+
'change:list': [value: ChangeFeedActivitiesPayload];
|
|
30
30
|
loadMore: [void];
|
|
31
31
|
selectActivity: [activityId: Id];
|
|
32
32
|
archiveActivity: [activityId: Id];
|
|
33
|
-
updateActivity: [
|
|
33
|
+
updateActivity: [input: UpdateActivityInput];
|
|
34
34
|
};
|
|
35
35
|
}, "slots" | "attrs" | "emit"> | undefined, __VLS_setup?: {
|
|
36
36
|
props: {
|
|
37
|
-
list:
|
|
38
|
-
status:
|
|
37
|
+
list: Activity[];
|
|
38
|
+
status: ActivityStatus;
|
|
39
39
|
title?: string | undefined;
|
|
40
40
|
footerLabel?: string | undefined;
|
|
41
41
|
isLoading?: boolean | undefined;
|
|
@@ -51,19 +51,19 @@ declare const _default: <T extends "done" | "future" | "this_month" | "this_week
|
|
|
51
51
|
emit: {
|
|
52
52
|
add: [void];
|
|
53
53
|
'update:list': [value: unknown[]];
|
|
54
|
-
'change:list': [value: ChangeFeedActivitiesPayload
|
|
54
|
+
'change:list': [value: ChangeFeedActivitiesPayload];
|
|
55
55
|
loadMore: [void];
|
|
56
56
|
selectActivity: [activityId: Id];
|
|
57
57
|
archiveActivity: [activityId: Id];
|
|
58
|
-
updateActivity: [
|
|
58
|
+
updateActivity: [input: UpdateActivityInput];
|
|
59
59
|
};
|
|
60
60
|
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
61
61
|
[key: string]: any;
|
|
62
62
|
}> & {
|
|
63
63
|
__ctx?: {
|
|
64
64
|
props: {
|
|
65
|
-
list:
|
|
66
|
-
status:
|
|
65
|
+
list: Activity[];
|
|
66
|
+
status: ActivityStatus;
|
|
67
67
|
title?: string | undefined;
|
|
68
68
|
footerLabel?: string | undefined;
|
|
69
69
|
isLoading?: boolean | undefined;
|
|
@@ -79,11 +79,11 @@ declare const _default: <T extends "done" | "future" | "this_month" | "this_week
|
|
|
79
79
|
emit: {
|
|
80
80
|
add: [void];
|
|
81
81
|
'update:list': [value: unknown[]];
|
|
82
|
-
'change:list': [value: ChangeFeedActivitiesPayload
|
|
82
|
+
'change:list': [value: ChangeFeedActivitiesPayload];
|
|
83
83
|
loadMore: [void];
|
|
84
84
|
selectActivity: [activityId: Id];
|
|
85
85
|
archiveActivity: [activityId: Id];
|
|
86
|
-
updateActivity: [
|
|
86
|
+
updateActivity: [input: UpdateActivityInput];
|
|
87
87
|
};
|
|
88
88
|
} | undefined;
|
|
89
89
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Milestone
|
|
1
|
+
import { type Milestone } from '../types';
|
|
2
2
|
import { type UpdateActivityPayload, type UpdateMilestonePayload, type RemoveActivityPayload } from '../types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
templateId: {
|
|
@@ -1,14 +1,40 @@
|
|
|
1
1
|
import { type MaybeRef } from 'vue';
|
|
2
|
-
import { type
|
|
2
|
+
import { type Activity, type Id } from '../types';
|
|
3
3
|
export declare function useFeedStore(): {
|
|
4
|
-
init: (activities: MaybeRef<
|
|
4
|
+
init: (activities: MaybeRef<Activity[]>) => void;
|
|
5
5
|
activities: import("vue").Ref<{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
assignee?: {
|
|
7
|
+
id: string;
|
|
8
|
+
firstName?: string | undefined;
|
|
9
|
+
lastName?: string | undefined;
|
|
10
|
+
picture?: string | undefined;
|
|
11
|
+
} | undefined;
|
|
12
|
+
status: {
|
|
13
|
+
name: string;
|
|
14
|
+
__typename: string;
|
|
15
|
+
id: string;
|
|
16
|
+
};
|
|
17
|
+
deadline: string;
|
|
18
|
+
project: {
|
|
19
|
+
id: string;
|
|
20
|
+
name?: string | undefined;
|
|
21
|
+
phases?: {
|
|
22
|
+
name?: string | undefined;
|
|
23
|
+
milestones: {
|
|
24
|
+
order: number;
|
|
25
|
+
name?: string | undefined;
|
|
26
|
+
activities: any[];
|
|
27
|
+
status?: import('../types').MilestoneStatus | undefined;
|
|
28
|
+
__typename: string;
|
|
29
|
+
id: string;
|
|
30
|
+
rank: string;
|
|
31
|
+
}[];
|
|
32
|
+
order: number;
|
|
33
|
+
__typename: string;
|
|
34
|
+
id: string;
|
|
35
|
+
rank: string;
|
|
36
|
+
}[] | undefined;
|
|
37
|
+
};
|
|
12
38
|
comments?: {
|
|
13
39
|
userId: string;
|
|
14
40
|
content: string;
|
|
@@ -17,6 +43,28 @@ export declare function useFeedStore(): {
|
|
|
17
43
|
__typename: string;
|
|
18
44
|
id: string;
|
|
19
45
|
}[] | undefined;
|
|
46
|
+
duration?: number | undefined;
|
|
47
|
+
durationType?: import('../types').DurationTypes | undefined;
|
|
48
|
+
name: string;
|
|
49
|
+
description?: string | undefined;
|
|
50
|
+
estimation?: number | undefined;
|
|
51
|
+
important?: boolean | undefined;
|
|
52
|
+
type?: {
|
|
53
|
+
name: string;
|
|
54
|
+
__typename: string;
|
|
55
|
+
id: string;
|
|
56
|
+
} | undefined;
|
|
57
|
+
milestone?: {
|
|
58
|
+
order: number;
|
|
59
|
+
name?: string | undefined;
|
|
60
|
+
activities: any[];
|
|
61
|
+
status?: import('../types').MilestoneStatus | undefined;
|
|
62
|
+
__typename: string;
|
|
63
|
+
id: string;
|
|
64
|
+
rank: string;
|
|
65
|
+
} | undefined;
|
|
66
|
+
dependingOn?: string[] | undefined;
|
|
67
|
+
blocking?: string[] | undefined;
|
|
20
68
|
attachments?: {
|
|
21
69
|
createdAt: string;
|
|
22
70
|
name: string;
|
|
@@ -27,29 +75,22 @@ export declare function useFeedStore(): {
|
|
|
27
75
|
id: string;
|
|
28
76
|
__typename: string;
|
|
29
77
|
}[] | undefined;
|
|
30
|
-
|
|
31
|
-
feedStatus: "done" | "future" | "this_month" | "this_week" | "today";
|
|
32
|
-
id: string;
|
|
33
|
-
order: number;
|
|
34
|
-
name?: string | undefined;
|
|
35
|
-
subtasks?: {
|
|
78
|
+
tasks?: {
|
|
36
79
|
name?: string | undefined;
|
|
37
|
-
status?:
|
|
80
|
+
status?: {
|
|
81
|
+
name: string;
|
|
82
|
+
__typename: string;
|
|
83
|
+
id: string;
|
|
84
|
+
} | undefined;
|
|
38
85
|
assignees?: string[] | undefined;
|
|
39
86
|
__typename: string;
|
|
40
87
|
id: string;
|
|
41
88
|
rank: string;
|
|
42
89
|
}[] | undefined;
|
|
43
|
-
description?: string | undefined;
|
|
44
|
-
estimation?: number | undefined;
|
|
45
|
-
isImportant?: boolean | undefined;
|
|
46
|
-
dependingOn?: string[] | undefined;
|
|
47
|
-
blocking?: string[] | undefined;
|
|
48
|
-
dependingMilestones?: string[] | undefined;
|
|
49
|
-
type?: string | undefined;
|
|
50
90
|
__typename: string;
|
|
91
|
+
id: string;
|
|
51
92
|
rank: string;
|
|
52
93
|
}[]>;
|
|
53
|
-
selectedActivity: import("vue").ComputedRef<
|
|
94
|
+
selectedActivity: import("vue").ComputedRef<Activity | undefined>;
|
|
54
95
|
selectActivity: (activityId: Id | null) => void;
|
|
55
96
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type ChangeFeedActivitiesPayload, type Project, type UpdateFeedFilterPayload, type FeedFiltersMap, type User, type AddSubtaskPayload, type AddFilesPayload, type RemoveFilePayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type Activity, type AddActivityInput, type UpdateActivityInput } from '../types';
|
|
2
|
+
import { ActivityStatus } from '../types';
|
|
2
3
|
declare const _default: import("vue").DefineComponent<{
|
|
3
4
|
activities: {
|
|
4
|
-
type: import("vue").PropType<
|
|
5
|
+
type: import("vue").PropType<Activity[]>;
|
|
5
6
|
required: true;
|
|
6
7
|
};
|
|
7
8
|
statuses: {
|
|
8
|
-
type: import("vue").PropType<
|
|
9
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
9
10
|
required: true;
|
|
10
11
|
};
|
|
11
12
|
projects: {
|
|
@@ -33,10 +34,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
34
|
};
|
|
34
35
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
36
|
'change:activities': (payload: ChangeFeedActivitiesPayload) => void;
|
|
36
|
-
addActivity: (payload:
|
|
37
|
+
addActivity: (payload: Partial<AddActivityInput>) => void;
|
|
37
38
|
'update:filter': (payload: UpdateFeedFilterPayload) => void;
|
|
38
39
|
selectActivity: (activityId: string | null) => void;
|
|
39
|
-
'update:activity': (payload:
|
|
40
|
+
'update:activity': (payload: UpdateActivityInput) => void;
|
|
40
41
|
archiveActivity: (activityId: string) => void;
|
|
41
42
|
'update:searchText': (value: string) => void;
|
|
42
43
|
'clear:searchText': (e: Event) => void;
|
|
@@ -48,11 +49,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
49
|
removeComment: (payload: RemoveCommentPayload) => void;
|
|
49
50
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
51
|
activities: {
|
|
51
|
-
type: import("vue").PropType<
|
|
52
|
+
type: import("vue").PropType<Activity[]>;
|
|
52
53
|
required: true;
|
|
53
54
|
};
|
|
54
55
|
statuses: {
|
|
55
|
-
type: import("vue").PropType<
|
|
56
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
56
57
|
required: true;
|
|
57
58
|
};
|
|
58
59
|
projects: {
|
|
@@ -82,13 +83,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
83
|
onSelectActivity?: ((activityId: string | null) => any) | undefined;
|
|
83
84
|
onArchiveActivity?: ((activityId: string) => any) | undefined;
|
|
84
85
|
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
85
|
-
"onUpdate:activity"?: ((payload:
|
|
86
|
+
"onUpdate:activity"?: ((payload: UpdateActivityInput) => any) | undefined;
|
|
86
87
|
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
87
88
|
onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
|
|
88
89
|
onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
|
|
89
90
|
onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
|
|
90
91
|
"onChange:activities"?: ((payload: ChangeFeedActivitiesPayload) => any) | undefined;
|
|
91
|
-
onAddActivity?: ((payload:
|
|
92
|
+
onAddActivity?: ((payload: Partial<AddActivityInput>) => any) | undefined;
|
|
92
93
|
"onUpdate:filter"?: ((payload: UpdateFeedFilterPayload) => any) | undefined;
|
|
93
94
|
"onUpdate:searchText"?: ((value: string) => any) | undefined;
|
|
94
95
|
"onClear:searchText"?: ((e: Event) => any) | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type PhaseProject, type Project, type User, type
|
|
1
|
+
import { type PhaseProject, type Project, type User, type UpdateProjectActivityPayload, type AddSubtaskPayload, type AddFilesPayload, type RemoveFilePayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload } from '../types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
project: {
|
|
4
4
|
type: import("vue").PropType<Project>;
|