@26lights/orcha 0.8.2 → 0.9.1
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 +2 -1
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +2249 -2155
- package/dist/orcha.umd.js +2 -2
- package/dist/src/components/AoCardProjectItemMilestone.vue.d.ts +6 -0
- package/dist/src/components/AoCardProjectItemPhase.vue.d.ts +6 -0
- package/dist/src/components/AoProjectPhase.vue.d.ts +12 -0
- package/dist/src/components/AoProjectPhases.vue.d.ts +12 -0
- package/dist/src/composables/useProjectOverviewStore.d.ts +1 -0
- package/dist/src/types/index.d.ts +3 -0
- package/dist/src/views/AoProjectOverviewMilestoneDetails.vue.d.ts +7 -1
- package/dist/src/views/AoProjectOverviewProject.vue.d.ts +18 -0
- package/package.json +1 -1
|
@@ -15,6 +15,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
15
15
|
};
|
|
16
16
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
17
|
updateMilestone: (payload: UpdateMilestonePayload) => void;
|
|
18
|
+
archiveMilestone: (payload: {
|
|
19
|
+
id: string;
|
|
20
|
+
}) => void;
|
|
18
21
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
22
|
id: {
|
|
20
23
|
type: import("vue").PropType<string>;
|
|
@@ -31,6 +34,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
31
34
|
};
|
|
32
35
|
}>> & {
|
|
33
36
|
onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
|
|
37
|
+
onArchiveMilestone?: ((payload: {
|
|
38
|
+
id: string;
|
|
39
|
+
}) => any) | undefined;
|
|
34
40
|
}, {}, {}>, {
|
|
35
41
|
secondary?(_: {}): any;
|
|
36
42
|
}>;
|
|
@@ -15,6 +15,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
15
15
|
};
|
|
16
16
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
17
|
'update:title': (v: string) => void;
|
|
18
|
+
archivePhase: (payload: {
|
|
19
|
+
id: string;
|
|
20
|
+
}) => void;
|
|
18
21
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
22
|
id: {
|
|
20
23
|
type: import("vue").PropType<string>;
|
|
@@ -31,6 +34,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
31
34
|
};
|
|
32
35
|
}>> & {
|
|
33
36
|
"onUpdate:title"?: ((v: string) => any) | undefined;
|
|
37
|
+
onArchivePhase?: ((payload: {
|
|
38
|
+
id: string;
|
|
39
|
+
}) => any) | undefined;
|
|
34
40
|
}, {}, {}>, {
|
|
35
41
|
secondary?(_: {}): any;
|
|
36
42
|
}>;
|
|
@@ -10,7 +10,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
11
|
addMilestone: (payload: AddMilestonePayload) => void;
|
|
12
12
|
updateMilestone: (payload: UpdateMilestonePayload) => void;
|
|
13
|
+
archiveMilestone: (payload: {
|
|
14
|
+
id: string;
|
|
15
|
+
}) => void;
|
|
13
16
|
updatePhase: (payload: UpdatePhasePayload) => void;
|
|
17
|
+
archivePhase: (payload: {
|
|
18
|
+
id: string;
|
|
19
|
+
}) => void;
|
|
14
20
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
21
|
phase: {
|
|
16
22
|
type: import("vue").PropType<Phase>;
|
|
@@ -21,6 +27,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
27
|
};
|
|
22
28
|
}>> & {
|
|
23
29
|
onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
|
|
30
|
+
onArchiveMilestone?: ((payload: {
|
|
31
|
+
id: string;
|
|
32
|
+
}) => any) | undefined;
|
|
33
|
+
onArchivePhase?: ((payload: {
|
|
34
|
+
id: string;
|
|
35
|
+
}) => any) | undefined;
|
|
24
36
|
onAddMilestone?: ((payload: AddMilestonePayload) => any) | undefined;
|
|
25
37
|
onUpdatePhase?: ((payload: UpdatePhasePayload) => any) | undefined;
|
|
26
38
|
}, {}, {}>;
|
|
@@ -10,7 +10,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
11
|
addMilestone: (payload: AddMilestonePayload) => void;
|
|
12
12
|
updateMilestone: (payload: UpdateMilestonePayload) => void;
|
|
13
|
+
archiveMilestone: (payload: {
|
|
14
|
+
id: string;
|
|
15
|
+
}) => void;
|
|
13
16
|
updatePhase: (payload: UpdatePhasePayload) => void;
|
|
17
|
+
archivePhase: (payload: {
|
|
18
|
+
id: string;
|
|
19
|
+
}) => void;
|
|
14
20
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
21
|
phases: {
|
|
16
22
|
type: import("vue").PropType<Phase[]>;
|
|
@@ -21,6 +27,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
27
|
};
|
|
22
28
|
}>> & {
|
|
23
29
|
onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
|
|
30
|
+
onArchiveMilestone?: ((payload: {
|
|
31
|
+
id: string;
|
|
32
|
+
}) => any) | undefined;
|
|
33
|
+
onArchivePhase?: ((payload: {
|
|
34
|
+
id: string;
|
|
35
|
+
}) => any) | undefined;
|
|
24
36
|
onAddMilestone?: ((payload: AddMilestonePayload) => any) | undefined;
|
|
25
37
|
onUpdatePhase?: ((payload: UpdatePhasePayload) => any) | undefined;
|
|
26
38
|
}, {}, {}>;
|
|
@@ -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;
|
|
@@ -61,6 +61,7 @@ export interface Activity extends ActivityBase {
|
|
|
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;
|
|
@@ -260,6 +261,8 @@ export interface UpdateActivityPayload {
|
|
|
260
261
|
dependingMilestones?: Id[];
|
|
261
262
|
type?: string;
|
|
262
263
|
rank?: string;
|
|
264
|
+
statusId?: string;
|
|
265
|
+
deadline?: string;
|
|
263
266
|
}
|
|
264
267
|
export interface AddRulePayload {
|
|
265
268
|
templateId: Id;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type User, type AddActivityPayload, type Phase, UpdateActivityPayload } from '../types';
|
|
1
|
+
import { type User, type AddActivityPayload, type Phase, type UpdateActivityPayload } from '../types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
milestoneId: {
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
@@ -26,6 +26,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
close: (e: Event) => void;
|
|
27
27
|
addActivity: (args_0: AddActivityPayload) => void;
|
|
28
28
|
updateActivity: (args_0: UpdateActivityPayload) => void;
|
|
29
|
+
archiveActivity: (payload: {
|
|
30
|
+
id: string;
|
|
31
|
+
}) => void;
|
|
29
32
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
33
|
milestoneId: {
|
|
31
34
|
type: import("vue").PropType<string>;
|
|
@@ -52,6 +55,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
55
|
}>> & {
|
|
53
56
|
onClose?: ((e: Event) => any) | undefined;
|
|
54
57
|
onUpdateActivity?: ((args_0: UpdateActivityPayload) => any) | undefined;
|
|
58
|
+
onArchiveActivity?: ((payload: {
|
|
59
|
+
id: string;
|
|
60
|
+
}) => any) | undefined;
|
|
55
61
|
onAddActivity?: ((args_0: AddActivityPayload) => any) | undefined;
|
|
56
62
|
}, {}, {}>;
|
|
57
63
|
export default _default;
|
|
@@ -23,10 +23,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
23
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
24
|
addPhase: (payload: AddPhasePayload) => void;
|
|
25
25
|
updatePhase: (payload: UpdatePhasePayload) => void;
|
|
26
|
+
archivePhase: (payload: {
|
|
27
|
+
id: string;
|
|
28
|
+
}) => void;
|
|
26
29
|
addMilestone: (payload: AddMilestonePayload) => void;
|
|
27
30
|
updateMilestone: (payload: UpdateMilestonePayload) => void;
|
|
31
|
+
archiveMilestone: (payload: {
|
|
32
|
+
id: string;
|
|
33
|
+
}) => void;
|
|
28
34
|
addActivity: (payload: AddActivityPayload) => void;
|
|
29
35
|
'update:activity': (payload: UpdateActivityPayload) => void;
|
|
36
|
+
archiveActivity: (payload: {
|
|
37
|
+
id: string;
|
|
38
|
+
}) => void;
|
|
30
39
|
addSubtask: (payload: AddSubtaskPayload) => void;
|
|
31
40
|
addFiles: (payload: AddFilesPayload) => void;
|
|
32
41
|
removeFile: (payload: RemoveFilePayload) => void;
|
|
@@ -56,6 +65,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
65
|
required: true;
|
|
57
66
|
};
|
|
58
67
|
}>> & {
|
|
68
|
+
onArchiveActivity?: ((payload: {
|
|
69
|
+
id: string;
|
|
70
|
+
}) => any) | undefined;
|
|
59
71
|
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
60
72
|
"onUpdate:activity"?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
61
73
|
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
@@ -65,6 +77,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
65
77
|
onAddActivity?: ((payload: AddActivityPayload) => any) | undefined;
|
|
66
78
|
onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
|
|
67
79
|
onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
|
|
80
|
+
onArchiveMilestone?: ((payload: {
|
|
81
|
+
id: string;
|
|
82
|
+
}) => any) | undefined;
|
|
83
|
+
onArchivePhase?: ((payload: {
|
|
84
|
+
id: string;
|
|
85
|
+
}) => any) | undefined;
|
|
68
86
|
onAddMilestone?: ((payload: AddMilestonePayload) => any) | undefined;
|
|
69
87
|
onUpdatePhase?: ((payload: UpdatePhasePayload) => any) | undefined;
|
|
70
88
|
onAddPhase?: ((payload: AddPhasePayload) => any) | undefined;
|