@26lights/orcha 0.9.0 → 0.9.2
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 -1
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +3451 -3422
- package/dist/orcha.umd.js +2 -2
- package/dist/src/components/AoActivityDetails.vue.d.ts +9 -3
- package/dist/src/components/AoMultiselect.d.ts +6 -0
- package/dist/src/components/AoProjectPhase.vue.d.ts +0 -6
- package/dist/src/components/AoProjectPhases.vue.d.ts +3 -7
- package/dist/src/composables/useProjectOverviewStore.d.ts +6 -5
- package/dist/src/types/index.d.ts +11 -4
- package/dist/src/views/AoFeed.vue.d.ts +8 -8
- package/dist/src/views/AoProjectOverviewActivityDetails.vue.d.ts +15 -1
- package/dist/src/views/AoProjectOverviewMilestoneDetails.vue.d.ts +0 -6
- package/dist/src/views/AoProjectOverviewProject.vue.d.ts +15 -1
- package/package.json +10 -10
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type ActivityFeed, type Milestone, type UpdateSubtaskFieldPayload, type AddSubtaskPayload, type User, type AddFilesPayload, type RemoveFilePayload, type UpdateActivityPayload, type Activity, type Subtask, type ActivityStatus } from '../types/index';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
activity: {
|
|
4
|
-
type: import("vue").PropType<
|
|
4
|
+
type: import("vue").PropType<Activity>;
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
7
|
activityTypes: {
|
|
@@ -30,6 +30,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
30
30
|
isTaskCheckable: {
|
|
31
31
|
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
32
32
|
};
|
|
33
|
+
statuses: {
|
|
34
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
35
|
+
};
|
|
33
36
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
37
|
'update:activity': (payload: UpdateActivityPayload) => void;
|
|
35
38
|
close: (args_0: void) => void;
|
|
@@ -42,7 +45,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
42
45
|
removeFile: (payload: RemoveFilePayload) => void;
|
|
43
46
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
47
|
activity: {
|
|
45
|
-
type: import("vue").PropType<
|
|
48
|
+
type: import("vue").PropType<Activity>;
|
|
46
49
|
required: true;
|
|
47
50
|
};
|
|
48
51
|
activityTypes: {
|
|
@@ -71,6 +74,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
71
74
|
isTaskCheckable: {
|
|
72
75
|
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
73
76
|
};
|
|
77
|
+
statuses: {
|
|
78
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
79
|
+
};
|
|
74
80
|
}>> & {
|
|
75
81
|
onClose?: ((args_0?: void | undefined) => any) | undefined;
|
|
76
82
|
onDeleteSubtask?: ((payload: {
|
|
@@ -4,9 +4,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4
4
|
type: import("vue").PropType<Phase>;
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
|
-
projectName: {
|
|
8
|
-
type: import("vue").PropType<string>;
|
|
9
|
-
};
|
|
10
7
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
8
|
addMilestone: (payload: AddMilestonePayload) => void;
|
|
12
9
|
updateMilestone: (payload: UpdateMilestonePayload) => void;
|
|
@@ -22,9 +19,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
19
|
type: import("vue").PropType<Phase>;
|
|
23
20
|
required: true;
|
|
24
21
|
};
|
|
25
|
-
projectName: {
|
|
26
|
-
type: import("vue").PropType<string>;
|
|
27
|
-
};
|
|
28
22
|
}>> & {
|
|
29
23
|
onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
|
|
30
24
|
onArchiveMilestone?: ((payload: {
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import { AddMilestonePayload, Phase, UpdateMilestonePayload, UpdatePhasePayload } from '../types';
|
|
1
|
+
import { AddMilestonePayload, AddPhasePayload, Phase, UpdateMilestonePayload, UpdatePhasePayload } from '../types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
phases: {
|
|
4
4
|
type: import("vue").PropType<Phase[]>;
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
|
-
projectName: {
|
|
8
|
-
type: import("vue").PropType<string>;
|
|
9
|
-
};
|
|
10
7
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
8
|
addMilestone: (payload: AddMilestonePayload) => void;
|
|
12
9
|
updateMilestone: (payload: UpdateMilestonePayload) => void;
|
|
13
10
|
archiveMilestone: (payload: {
|
|
14
11
|
id: string;
|
|
15
12
|
}) => void;
|
|
13
|
+
addPhase: (payload: AddPhasePayload) => void;
|
|
16
14
|
updatePhase: (payload: UpdatePhasePayload) => void;
|
|
17
15
|
archivePhase: (payload: {
|
|
18
16
|
id: string;
|
|
@@ -22,9 +20,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
20
|
type: import("vue").PropType<Phase[]>;
|
|
23
21
|
required: true;
|
|
24
22
|
};
|
|
25
|
-
projectName: {
|
|
26
|
-
type: import("vue").PropType<string>;
|
|
27
|
-
};
|
|
28
23
|
}>> & {
|
|
29
24
|
onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
|
|
30
25
|
onArchiveMilestone?: ((payload: {
|
|
@@ -35,5 +30,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
30
|
}) => any) | undefined;
|
|
36
31
|
onAddMilestone?: ((payload: AddMilestonePayload) => any) | undefined;
|
|
37
32
|
onUpdatePhase?: ((payload: UpdatePhasePayload) => any) | undefined;
|
|
33
|
+
onAddPhase?: ((payload: AddPhasePayload) => any) | undefined;
|
|
38
34
|
}, {}, {}>;
|
|
39
35
|
export default _default;
|
|
@@ -27,11 +27,11 @@ export default function useProjectOverviewStore(): {
|
|
|
27
27
|
lastName?: string | undefined;
|
|
28
28
|
picture?: string | undefined;
|
|
29
29
|
} | undefined;
|
|
30
|
-
status
|
|
30
|
+
status?: {
|
|
31
31
|
name: string;
|
|
32
32
|
__typename: string;
|
|
33
33
|
id: string;
|
|
34
|
-
};
|
|
34
|
+
} | undefined;
|
|
35
35
|
deadline?: string | undefined;
|
|
36
36
|
project?: {
|
|
37
37
|
id: string;
|
|
@@ -53,6 +53,7 @@ export default function useProjectOverviewStore(): {
|
|
|
53
53
|
}[] | undefined;
|
|
54
54
|
duration?: number | undefined;
|
|
55
55
|
durationType?: import('../types').DurationTypes | undefined;
|
|
56
|
+
active: boolean;
|
|
56
57
|
name: string;
|
|
57
58
|
description?: string | undefined;
|
|
58
59
|
estimation?: number | undefined;
|
|
@@ -67,12 +68,12 @@ export default function useProjectOverviewStore(): {
|
|
|
67
68
|
blocking?: string[] | undefined;
|
|
68
69
|
attachments?: {
|
|
69
70
|
createdAt: string;
|
|
71
|
+
id: string;
|
|
70
72
|
name: string;
|
|
71
73
|
size: number;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
+
encoding: string;
|
|
75
|
+
mimeType: string;
|
|
74
76
|
url: string;
|
|
75
|
-
id: string;
|
|
76
77
|
__typename: string;
|
|
77
78
|
}[] | undefined;
|
|
78
79
|
tasks?: {
|
|
@@ -55,17 +55,20 @@ export type DurationTypesKeys = keyof typeof durationTypes;
|
|
|
55
55
|
export type DurationTypes = (typeof durationTypes)[DurationTypesKeys];
|
|
56
56
|
export interface Activity extends ActivityBase {
|
|
57
57
|
assignee?: User;
|
|
58
|
-
status
|
|
58
|
+
status?: ActivityStatus;
|
|
59
59
|
deadline?: string;
|
|
60
60
|
project?: Project;
|
|
61
61
|
comments?: Comment[];
|
|
62
62
|
duration?: number;
|
|
63
63
|
durationType?: DurationTypes;
|
|
64
|
+
active: boolean;
|
|
64
65
|
}
|
|
65
66
|
export interface AddActivityFeedPayload {
|
|
66
67
|
name: string;
|
|
67
68
|
rank: string;
|
|
68
69
|
statusId: string;
|
|
70
|
+
assigneeId?: Id;
|
|
71
|
+
projectId?: Id;
|
|
69
72
|
}
|
|
70
73
|
export interface ActivityFeed<K extends ActivityFeedStatus = ActivityFeedStatus> extends ActivityBase {
|
|
71
74
|
projectId: Id;
|
|
@@ -92,12 +95,12 @@ export interface Comment extends Entity {
|
|
|
92
95
|
updatedAt?: string;
|
|
93
96
|
}
|
|
94
97
|
export interface FileLike extends Entity {
|
|
98
|
+
id: Id;
|
|
95
99
|
name: string;
|
|
96
100
|
size: number;
|
|
97
|
-
|
|
98
|
-
|
|
101
|
+
encoding: string;
|
|
102
|
+
mimeType: string;
|
|
99
103
|
url: string;
|
|
100
|
-
id: Id;
|
|
101
104
|
}
|
|
102
105
|
export interface Attachment extends FileLike {
|
|
103
106
|
createdAt: string;
|
|
@@ -260,6 +263,10 @@ export interface UpdateActivityPayload {
|
|
|
260
263
|
dependingMilestones?: Id[];
|
|
261
264
|
type?: string;
|
|
262
265
|
rank?: string;
|
|
266
|
+
statusId?: string;
|
|
267
|
+
deadline?: string;
|
|
268
|
+
typeId?: Id;
|
|
269
|
+
assigneeId?: Id;
|
|
263
270
|
}
|
|
264
271
|
export interface AddRulePayload {
|
|
265
272
|
templateId: Id;
|
|
@@ -24,14 +24,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
isTaskCheckable: {
|
|
25
25
|
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
26
26
|
};
|
|
27
|
-
userId: {
|
|
28
|
-
type: import("vue").PropType<string>;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
27
|
statuses: {
|
|
32
28
|
type: import("vue").PropType<ActivityStatus[]>;
|
|
33
29
|
required: true;
|
|
34
30
|
};
|
|
31
|
+
userId: {
|
|
32
|
+
type: import("vue").PropType<string>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
35
|
projects: {
|
|
36
36
|
type: import("vue").PropType<Project[]>;
|
|
37
37
|
required: true;
|
|
@@ -86,14 +86,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
86
86
|
isTaskCheckable: {
|
|
87
87
|
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
88
88
|
};
|
|
89
|
-
userId: {
|
|
90
|
-
type: import("vue").PropType<string>;
|
|
91
|
-
required: true;
|
|
92
|
-
};
|
|
93
89
|
statuses: {
|
|
94
90
|
type: import("vue").PropType<ActivityStatus[]>;
|
|
95
91
|
required: true;
|
|
96
92
|
};
|
|
93
|
+
userId: {
|
|
94
|
+
type: import("vue").PropType<string>;
|
|
95
|
+
required: true;
|
|
96
|
+
};
|
|
97
97
|
projects: {
|
|
98
98
|
type: import("vue").PropType<Project[]>;
|
|
99
99
|
required: true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Activity, type UpdateActivityPayload, type AddSubtaskPayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload } from '../types';
|
|
1
|
+
import { type Activity, type UpdateActivityPayload, type AddSubtaskPayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type Subtask, type ActivityStatus } from '../types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
phaseId: {
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
@@ -22,6 +22,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
assigneesOptions: {
|
|
23
23
|
type: import("vue").PropType<Record<string, string>>;
|
|
24
24
|
};
|
|
25
|
+
isTaskCheckable: {
|
|
26
|
+
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
27
|
+
};
|
|
28
|
+
statuses: {
|
|
29
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
25
32
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
33
|
'update:activity': (payload: UpdateActivityPayload) => void;
|
|
27
34
|
addSubtask: (payload: AddSubtaskPayload) => void;
|
|
@@ -51,6 +58,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
58
|
assigneesOptions: {
|
|
52
59
|
type: import("vue").PropType<Record<string, string>>;
|
|
53
60
|
};
|
|
61
|
+
isTaskCheckable: {
|
|
62
|
+
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
63
|
+
};
|
|
64
|
+
statuses: {
|
|
65
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
66
|
+
required: true;
|
|
67
|
+
};
|
|
54
68
|
}>> & {
|
|
55
69
|
"onUpdate:activity"?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
56
70
|
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
@@ -8,9 +8,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
type: import("vue").PropType<User[]>;
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
11
|
-
projectName: {
|
|
12
|
-
type: import("vue").PropType<string>;
|
|
13
|
-
};
|
|
14
11
|
projectId: {
|
|
15
12
|
type: import("vue").PropType<string>;
|
|
16
13
|
required: true;
|
|
@@ -38,9 +35,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
35
|
type: import("vue").PropType<User[]>;
|
|
39
36
|
required: true;
|
|
40
37
|
};
|
|
41
|
-
projectName: {
|
|
42
|
-
type: import("vue").PropType<string>;
|
|
43
|
-
};
|
|
44
38
|
projectId: {
|
|
45
39
|
type: import("vue").PropType<string>;
|
|
46
40
|
required: true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Project, type User, type AddActivityPayload, type UpdateActivityPayload, type AddSubtaskPayload, type AddFilesPayload, type RemoveFilePayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type AddPhasePayload, type AddMilestonePayload, type Phase, type ApplyTemplatePayload, type TemplateDetails, type UpdatePhasePayload, type UpdateMilestonePayload } from '../types';
|
|
1
|
+
import { type Project, type User, type AddActivityPayload, type UpdateActivityPayload, type AddSubtaskPayload, type AddFilesPayload, type RemoveFilePayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type AddPhasePayload, type AddMilestonePayload, type Phase, type ApplyTemplatePayload, type TemplateDetails, type UpdatePhasePayload, type UpdateMilestonePayload, type Subtask, type ActivityStatus } from '../types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
project: {
|
|
4
4
|
type: import("vue").PropType<Project>;
|
|
@@ -20,6 +20,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
type: import("vue").PropType<TemplateDetails[]>;
|
|
21
21
|
required: true;
|
|
22
22
|
};
|
|
23
|
+
isTaskCheckable: {
|
|
24
|
+
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
25
|
+
};
|
|
26
|
+
statuses: {
|
|
27
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
23
30
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
31
|
addPhase: (payload: AddPhasePayload) => void;
|
|
25
32
|
updatePhase: (payload: UpdatePhasePayload) => void;
|
|
@@ -64,6 +71,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
71
|
type: import("vue").PropType<TemplateDetails[]>;
|
|
65
72
|
required: true;
|
|
66
73
|
};
|
|
74
|
+
isTaskCheckable: {
|
|
75
|
+
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
76
|
+
};
|
|
77
|
+
statuses: {
|
|
78
|
+
type: import("vue").PropType<ActivityStatus[]>;
|
|
79
|
+
required: true;
|
|
80
|
+
};
|
|
67
81
|
}>> & {
|
|
68
82
|
onArchiveActivity?: ((payload: {
|
|
69
83
|
id: string;
|
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.9.
|
|
7
|
+
"version": "0.9.2",
|
|
8
8
|
"workspaces": [
|
|
9
9
|
"packages/*"
|
|
10
10
|
],
|
|
@@ -36,24 +36,24 @@
|
|
|
36
36
|
"lexorank": "^1.0.5"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@histoire/plugin-vue": "^0.
|
|
40
|
-
"@rushstack/eslint-patch": "^1.
|
|
39
|
+
"@histoire/plugin-vue": "^0.17.1",
|
|
40
|
+
"@rushstack/eslint-patch": "^1.3.3",
|
|
41
41
|
"@tsconfig/node18": "^2.0.1",
|
|
42
|
-
"@types/eslint": "^8",
|
|
42
|
+
"@types/eslint": "^8.44.2",
|
|
43
43
|
"@types/jsdom": "^21.1.1",
|
|
44
44
|
"@types/node": "^18.16.17",
|
|
45
|
-
"@types/prettier": "^
|
|
45
|
+
"@types/prettier": "^3.0.0",
|
|
46
46
|
"@vitejs/plugin-vue": "^4.2.3",
|
|
47
|
-
"@vue/eslint-config-prettier": "^
|
|
47
|
+
"@vue/eslint-config-prettier": "^8.0.0",
|
|
48
48
|
"@vue/eslint-config-typescript": "^11.0.3",
|
|
49
49
|
"@vue/test-utils": "^2.3.2",
|
|
50
50
|
"@vue/tsconfig": "^0.4.0",
|
|
51
|
-
"eslint": "^8.
|
|
52
|
-
"eslint-plugin-vue": "^9.
|
|
53
|
-
"histoire": "^0.
|
|
51
|
+
"eslint": "^8.49.0",
|
|
52
|
+
"eslint-plugin-vue": "^9.17.0",
|
|
53
|
+
"histoire": "^0.17.0",
|
|
54
54
|
"jsdom": "^22.1.0",
|
|
55
55
|
"npm-run-all": "^4.1.5",
|
|
56
|
-
"prettier": "^
|
|
56
|
+
"prettier": "^3.0.3",
|
|
57
57
|
"serve": "^14.2.0",
|
|
58
58
|
"typescript": "^5.1.3",
|
|
59
59
|
"vite": "^4.3.9",
|