@26lights/orcha 0.7.24 → 0.7.26
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 +2615 -2661
- package/dist/orcha.umd.js +2 -2
- package/dist/src/composables/useGetDefaultRankAndName.d.ts +5 -0
- package/dist/src/types/index.d.ts +8 -8
- package/dist/src/views/AoFeed.vue.d.ts +38 -34
- package/package.json +1 -1
|
@@ -378,18 +378,18 @@ export type Project = {
|
|
|
378
378
|
name?: string;
|
|
379
379
|
phases?: Phase[];
|
|
380
380
|
};
|
|
381
|
-
export declare const
|
|
382
|
-
readonly project: "
|
|
383
|
-
readonly
|
|
384
|
-
readonly assignee: "
|
|
381
|
+
export declare const feedFilterTypes: {
|
|
382
|
+
readonly project: "projectId";
|
|
383
|
+
readonly type: "typeId";
|
|
384
|
+
readonly assignee: "assigneeId";
|
|
385
385
|
};
|
|
386
|
-
export type
|
|
387
|
-
export type
|
|
386
|
+
export type FeedFilterTypeKeys = keyof typeof feedFilterTypes;
|
|
387
|
+
export type FeedFilterType = (typeof feedFilterTypes)[FeedFilterTypeKeys];
|
|
388
388
|
export type UpdateFeedFilterPayload = {
|
|
389
|
-
type:
|
|
389
|
+
type: FeedFilterType;
|
|
390
390
|
values: Array<Id | string>;
|
|
391
391
|
};
|
|
392
|
-
export type
|
|
392
|
+
export type FeedFilters = Record<FeedFilterType, Id[]>;
|
|
393
393
|
export type UdpateFeedActivityData = {
|
|
394
394
|
id: Id;
|
|
395
395
|
phaseId?: Id;
|
|
@@ -1,46 +1,47 @@
|
|
|
1
|
-
import { type ChangeFeedActivitiesPayload, type Project, type
|
|
1
|
+
import { type ChangeFeedActivitiesPayload, type Project, type FeedFilters, type User, type AddSubtaskPayload, type AddFilesPayload, type RemoveFilePayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type Activity, type AddActivityFeedPayload, type UpdateActivityFeedPayload, ActivityType } from '../types';
|
|
2
2
|
import { ActivityStatus } from '../types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
|
|
5
|
-
type: import("vue").PropType<
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
statuses: {
|
|
9
|
-
type: import("vue").PropType<ActivityStatus[]>;
|
|
4
|
+
filters: {
|
|
5
|
+
type: import("vue").PropType<FeedFilters>;
|
|
10
6
|
required: true;
|
|
11
7
|
};
|
|
12
|
-
|
|
13
|
-
type: import("vue").PropType<
|
|
8
|
+
activities: {
|
|
9
|
+
type: import("vue").PropType<Activity[]>;
|
|
14
10
|
required: true;
|
|
15
11
|
};
|
|
16
|
-
|
|
17
|
-
type: import("vue").PropType<
|
|
12
|
+
users: {
|
|
13
|
+
type: import("vue").PropType<User[]>;
|
|
18
14
|
required: true;
|
|
19
15
|
};
|
|
20
16
|
activityTypes: {
|
|
21
17
|
type: import("vue").PropType<ActivityType[]>;
|
|
22
18
|
required: true;
|
|
23
19
|
};
|
|
24
|
-
users: {
|
|
25
|
-
type: import("vue").PropType<User[]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
20
|
userId: {
|
|
29
21
|
type: import("vue").PropType<string>;
|
|
30
22
|
required: true;
|
|
31
23
|
};
|
|
24
|
+
statuses: {
|
|
25
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
projects: {
|
|
29
|
+
type: import("vue").PropType<Project[]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
32
|
searchText: {
|
|
33
33
|
type: import("vue").PropType<string>;
|
|
34
|
+
default: string;
|
|
34
35
|
};
|
|
35
36
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
37
|
'change:activities': (payload: ChangeFeedActivitiesPayload) => void;
|
|
37
38
|
addActivity: (payload: AddActivityFeedPayload) => void;
|
|
38
|
-
'update:
|
|
39
|
+
'update:filters': (value: FeedFilters) => void;
|
|
39
40
|
selectActivity: (activityId: string | null) => void;
|
|
40
41
|
'update:activity': (payload: UpdateActivityFeedPayload) => void;
|
|
41
42
|
archiveActivity: (activityId: string) => void;
|
|
42
43
|
'update:searchText': (value: string) => void;
|
|
43
|
-
'clear:searchText': (
|
|
44
|
+
'clear:searchText': (event: Event) => void;
|
|
44
45
|
addSubtask: (payload: AddSubtaskPayload) => void;
|
|
45
46
|
addFiles: (payload: AddFilesPayload) => void;
|
|
46
47
|
removeFile: (payload: RemoveFilePayload) => void;
|
|
@@ -48,36 +49,37 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
49
|
updateComment: (payload: UpdateCommentPayload) => void;
|
|
49
50
|
removeComment: (payload: RemoveCommentPayload) => void;
|
|
50
51
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
-
|
|
52
|
-
type: import("vue").PropType<
|
|
53
|
-
required: true;
|
|
54
|
-
};
|
|
55
|
-
statuses: {
|
|
56
|
-
type: import("vue").PropType<ActivityStatus[]>;
|
|
52
|
+
filters: {
|
|
53
|
+
type: import("vue").PropType<FeedFilters>;
|
|
57
54
|
required: true;
|
|
58
55
|
};
|
|
59
|
-
|
|
60
|
-
type: import("vue").PropType<
|
|
56
|
+
activities: {
|
|
57
|
+
type: import("vue").PropType<Activity[]>;
|
|
61
58
|
required: true;
|
|
62
59
|
};
|
|
63
|
-
|
|
64
|
-
type: import("vue").PropType<
|
|
60
|
+
users: {
|
|
61
|
+
type: import("vue").PropType<User[]>;
|
|
65
62
|
required: true;
|
|
66
63
|
};
|
|
67
64
|
activityTypes: {
|
|
68
65
|
type: import("vue").PropType<ActivityType[]>;
|
|
69
66
|
required: true;
|
|
70
67
|
};
|
|
71
|
-
users: {
|
|
72
|
-
type: import("vue").PropType<User[]>;
|
|
73
|
-
required: true;
|
|
74
|
-
};
|
|
75
68
|
userId: {
|
|
76
69
|
type: import("vue").PropType<string>;
|
|
77
70
|
required: true;
|
|
78
71
|
};
|
|
72
|
+
statuses: {
|
|
73
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
74
|
+
required: true;
|
|
75
|
+
};
|
|
76
|
+
projects: {
|
|
77
|
+
type: import("vue").PropType<Project[]>;
|
|
78
|
+
required: true;
|
|
79
|
+
};
|
|
79
80
|
searchText: {
|
|
80
81
|
type: import("vue").PropType<string>;
|
|
82
|
+
default: string;
|
|
81
83
|
};
|
|
82
84
|
}>> & {
|
|
83
85
|
onSelectActivity?: ((activityId: string | null) => any) | undefined;
|
|
@@ -90,9 +92,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
92
|
onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
|
|
91
93
|
"onChange:activities"?: ((payload: ChangeFeedActivitiesPayload) => any) | undefined;
|
|
92
94
|
onAddActivity?: ((payload: AddActivityFeedPayload) => any) | undefined;
|
|
93
|
-
"onUpdate:
|
|
95
|
+
"onUpdate:filters"?: ((value: FeedFilters) => any) | undefined;
|
|
94
96
|
"onUpdate:searchText"?: ((value: string) => any) | undefined;
|
|
95
|
-
"onClear:searchText"?: ((
|
|
97
|
+
"onClear:searchText"?: ((event: Event) => any) | undefined;
|
|
96
98
|
onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
|
|
97
|
-
}, {
|
|
99
|
+
}, {
|
|
100
|
+
searchText: string;
|
|
101
|
+
}, {}>;
|
|
98
102
|
export default _default;
|