@26lights/orcha 0.3.2 → 0.4.0
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 +21 -1
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +2504 -2068
- package/dist/orcha.umd.js +2 -2
- package/dist/src/components/AoActivityDetails.vue.d.ts +15 -1
- package/dist/src/components/AoActivityDetailsComments.vue.d.ts +47 -0
- package/dist/src/components/AoActivityDetailsFiles.vue.d.ts +21 -0
- package/dist/src/components/AoActivitySubtasks.vue.d.ts +43 -0
- package/dist/src/components/AoButton.vue.d.ts +0 -3
- package/dist/src/components/AoCard.vue.d.ts +29 -0
- package/dist/src/components/AoCardFeed.vue.d.ts +94 -0
- package/dist/src/components/AoCardHoriz.vue.d.ts +9 -8
- package/dist/src/components/AoCardProjectItemMilestone.vue.d.ts +32 -0
- package/dist/src/components/AoCardProjectItemPhase.vue.d.ts +38 -0
- package/dist/src/components/AoCardTemplateItem.vue.d.ts +2 -0
- package/dist/src/components/AoComment.vue.d.ts +45 -0
- package/dist/src/components/AoProgress.vue.d.ts +19 -0
- package/dist/src/components/AoProjectPhase.vue.d.ts +23 -0
- package/dist/src/components/AoRuleLine.vue.d.ts +8 -8
- package/dist/src/components/AoTemplateDetailsActivities.vue.d.ts +4 -2
- package/dist/src/components/AoTemplateDetailsMilestones.vue.d.ts +6 -4
- package/dist/src/composables/useFeedStore.d.ts +11 -6
- package/dist/src/composables/useIsEditing.d.ts +8 -0
- package/dist/src/composables/useProjectOverviewStore.d.ts +17 -0
- package/dist/src/main.d.ts +1 -1
- package/dist/src/router/routes.d.ts +7 -1
- package/dist/src/types/index.d.ts +158 -36
- package/dist/src/views/AoProjectOverviewActivityDetails.vue.d.ts +61 -0
- package/dist/src/views/AoProjectOverviewMilestoneDetails.vue.d.ts +53 -0
- package/dist/src/views/AoProjectOverviewProject.vue.d.ts +51 -0
- package/dist/src/views/AoTemplateDetails.vue.d.ts +11 -7
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Activity, type ActivityBase, type ActivityFeed, type UpdateActivityFieldPayload, type Milestone } from '../types/index';
|
|
1
|
+
import { type Activity, type ActivityBase, type ActivityFeed, type UpdateActivityFieldPayload, type Milestone, type UpdateSubtaskFieldPayload, type AddSubtaskPayload, type User, type AddFilesPayload, type RemoveFilePayload } from '../types/index';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
activity: {
|
|
4
4
|
type: import("vue").PropType<ActivityBase>;
|
|
@@ -24,9 +24,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
24
24
|
isTemplate: {
|
|
25
25
|
type: import("vue").PropType<boolean>;
|
|
26
26
|
};
|
|
27
|
+
users: {
|
|
28
|
+
type: import("vue").PropType<User[]>;
|
|
29
|
+
};
|
|
27
30
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
31
|
'update:activity': (payload: UpdateActivityFieldPayload) => void;
|
|
29
32
|
close: (args_0: void) => void;
|
|
33
|
+
addSubtask: (payload: AddSubtaskPayload) => void;
|
|
34
|
+
updateSubtask: (payload: UpdateSubtaskFieldPayload) => void;
|
|
35
|
+
addFiles: (payload: AddFilesPayload) => void;
|
|
36
|
+
removeFile: (payload: RemoveFilePayload) => void;
|
|
30
37
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
38
|
activity: {
|
|
32
39
|
type: import("vue").PropType<ActivityBase>;
|
|
@@ -52,9 +59,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
52
59
|
isTemplate: {
|
|
53
60
|
type: import("vue").PropType<boolean>;
|
|
54
61
|
};
|
|
62
|
+
users: {
|
|
63
|
+
type: import("vue").PropType<User[]>;
|
|
64
|
+
};
|
|
55
65
|
}>> & {
|
|
56
66
|
onClose?: ((args_0?: void | undefined) => any) | undefined;
|
|
67
|
+
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
57
68
|
"onUpdate:activity"?: ((payload: UpdateActivityFieldPayload) => any) | undefined;
|
|
69
|
+
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
70
|
+
onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
|
|
71
|
+
onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
|
|
58
72
|
}, {}, {}>, {
|
|
59
73
|
default?(_: {}): any;
|
|
60
74
|
}>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type Comment, type User } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
comments: {
|
|
4
|
+
type: import("vue").PropType<Comment[]>;
|
|
5
|
+
};
|
|
6
|
+
users: {
|
|
7
|
+
type: import("vue").PropType<User[]>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
newComment: {
|
|
11
|
+
type: import("vue").PropType<string>;
|
|
12
|
+
};
|
|
13
|
+
userId: {
|
|
14
|
+
type: import("vue").PropType<string>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
createComment: (v: string) => void;
|
|
19
|
+
updateComment: (payload: {
|
|
20
|
+
id: string;
|
|
21
|
+
content: string;
|
|
22
|
+
}) => void;
|
|
23
|
+
removeComment: (id: string) => void;
|
|
24
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
comments: {
|
|
26
|
+
type: import("vue").PropType<Comment[]>;
|
|
27
|
+
};
|
|
28
|
+
users: {
|
|
29
|
+
type: import("vue").PropType<User[]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
newComment: {
|
|
33
|
+
type: import("vue").PropType<string>;
|
|
34
|
+
};
|
|
35
|
+
userId: {
|
|
36
|
+
type: import("vue").PropType<string>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
}>> & {
|
|
40
|
+
onCreateComment?: ((v: string) => any) | undefined;
|
|
41
|
+
onUpdateComment?: ((payload: {
|
|
42
|
+
id: string;
|
|
43
|
+
content: string;
|
|
44
|
+
}) => any) | undefined;
|
|
45
|
+
onRemoveComment?: ((id: string) => any) | undefined;
|
|
46
|
+
}, {}, {}>;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type Attachment } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
attachments: {
|
|
4
|
+
type: import("vue").PropType<[] | Attachment[] | undefined>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
add: (value: [] | File[]) => void;
|
|
9
|
+
toggleIsDropActive: (value: boolean) => void;
|
|
10
|
+
remove: (value: Attachment) => void;
|
|
11
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
attachments: {
|
|
13
|
+
type: import("vue").PropType<[] | Attachment[] | undefined>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
}>> & {
|
|
17
|
+
onAdd?: ((value: [] | File[]) => any) | undefined;
|
|
18
|
+
onRemove?: ((value: Attachment) => any) | undefined;
|
|
19
|
+
onToggleIsDropActive?: ((value: boolean) => any) | undefined;
|
|
20
|
+
}, {}, {}>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type Subtask, type UpdateSubtaskFieldPayload, type AddSubtaskPayload } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
activityId: {
|
|
4
|
+
type: import("vue").PropType<string>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
subtasks: {
|
|
8
|
+
type: import("vue").PropType<Subtask[]>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
isCheckable: {
|
|
12
|
+
type: import("vue").PropType<boolean>;
|
|
13
|
+
};
|
|
14
|
+
assigneesOptions: {
|
|
15
|
+
type: import("vue").PropType<Record<string, string>[]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
add: (payload: AddSubtaskPayload) => void;
|
|
20
|
+
delete: (id: string) => void;
|
|
21
|
+
update: (payload: UpdateSubtaskFieldPayload) => void;
|
|
22
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
activityId: {
|
|
24
|
+
type: import("vue").PropType<string>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
subtasks: {
|
|
28
|
+
type: import("vue").PropType<Subtask[]>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
isCheckable: {
|
|
32
|
+
type: import("vue").PropType<boolean>;
|
|
33
|
+
};
|
|
34
|
+
assigneesOptions: {
|
|
35
|
+
type: import("vue").PropType<Record<string, string>[]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
}>> & {
|
|
39
|
+
onAdd?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
40
|
+
onDelete?: ((id: string) => any) | undefined;
|
|
41
|
+
onUpdate?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
|
|
42
|
+
}, {}, {}>;
|
|
43
|
+
export default _default;
|
|
@@ -10,7 +10,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
10
10
|
};
|
|
11
11
|
color: {
|
|
12
12
|
type: import("vue").PropType<ColorValues>;
|
|
13
|
-
default: () => "neutral";
|
|
14
13
|
};
|
|
15
14
|
type: {
|
|
16
15
|
type: import("vue").PropType<"button" | "submit" | "reset">;
|
|
@@ -49,7 +48,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
49
48
|
};
|
|
50
49
|
color: {
|
|
51
50
|
type: import("vue").PropType<ColorValues>;
|
|
52
|
-
default: () => "neutral";
|
|
53
51
|
};
|
|
54
52
|
type: {
|
|
55
53
|
type: import("vue").PropType<"button" | "submit" | "reset">;
|
|
@@ -80,7 +78,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
80
78
|
}>>, {
|
|
81
79
|
footer: boolean;
|
|
82
80
|
label: string | null;
|
|
83
|
-
color: ColorValues;
|
|
84
81
|
type: "button" | "submit" | "reset";
|
|
85
82
|
size: SizeValues;
|
|
86
83
|
variant: ButtonVariantValues;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
isClickable: {
|
|
3
|
+
type: import("vue").PropType<boolean>;
|
|
4
|
+
};
|
|
5
|
+
tagName: {
|
|
6
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
isClickable: {
|
|
11
|
+
type: import("vue").PropType<boolean>;
|
|
12
|
+
};
|
|
13
|
+
tagName: {
|
|
14
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
}>>, {
|
|
18
|
+
tagName: keyof HTMLElementTagNameMap;
|
|
19
|
+
}, {}>, {
|
|
20
|
+
header?(_: {}): any;
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
footer?(_: {}): any;
|
|
23
|
+
}>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { type Subtask, type UpdateActivityFieldPayload, type User } from '../types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
id: {
|
|
4
|
+
type: import("vue").PropType<string>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
name: {
|
|
8
|
+
type: import("vue").PropType<string>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
projectName: {
|
|
12
|
+
type: import("vue").PropType<string>;
|
|
13
|
+
};
|
|
14
|
+
phaseName: {
|
|
15
|
+
type: import("vue").PropType<string>;
|
|
16
|
+
};
|
|
17
|
+
milestoneName: {
|
|
18
|
+
type: import("vue").PropType<string>;
|
|
19
|
+
};
|
|
20
|
+
endDate: {
|
|
21
|
+
type: import("vue").PropType<string>;
|
|
22
|
+
};
|
|
23
|
+
isImportant: {
|
|
24
|
+
type: import("vue").PropType<boolean>;
|
|
25
|
+
};
|
|
26
|
+
users: {
|
|
27
|
+
type: import("vue").PropType<User[]>;
|
|
28
|
+
};
|
|
29
|
+
assignees: {
|
|
30
|
+
type: import("vue").PropType<string[]>;
|
|
31
|
+
};
|
|
32
|
+
comments: {
|
|
33
|
+
type: import("vue").PropType<number>;
|
|
34
|
+
};
|
|
35
|
+
attachments: {
|
|
36
|
+
type: import("vue").PropType<number>;
|
|
37
|
+
};
|
|
38
|
+
subtasks: {
|
|
39
|
+
type: import("vue").PropType<Subtask[]>;
|
|
40
|
+
};
|
|
41
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
|
+
removeAssignee: (assigneeId: string) => void;
|
|
43
|
+
updateActivity: (payload: UpdateActivityFieldPayload) => void;
|
|
44
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
|
+
id: {
|
|
46
|
+
type: import("vue").PropType<string>;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
name: {
|
|
50
|
+
type: import("vue").PropType<string>;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
projectName: {
|
|
54
|
+
type: import("vue").PropType<string>;
|
|
55
|
+
};
|
|
56
|
+
phaseName: {
|
|
57
|
+
type: import("vue").PropType<string>;
|
|
58
|
+
};
|
|
59
|
+
milestoneName: {
|
|
60
|
+
type: import("vue").PropType<string>;
|
|
61
|
+
};
|
|
62
|
+
endDate: {
|
|
63
|
+
type: import("vue").PropType<string>;
|
|
64
|
+
};
|
|
65
|
+
isImportant: {
|
|
66
|
+
type: import("vue").PropType<boolean>;
|
|
67
|
+
};
|
|
68
|
+
users: {
|
|
69
|
+
type: import("vue").PropType<User[]>;
|
|
70
|
+
};
|
|
71
|
+
assignees: {
|
|
72
|
+
type: import("vue").PropType<string[]>;
|
|
73
|
+
};
|
|
74
|
+
comments: {
|
|
75
|
+
type: import("vue").PropType<number>;
|
|
76
|
+
};
|
|
77
|
+
attachments: {
|
|
78
|
+
type: import("vue").PropType<number>;
|
|
79
|
+
};
|
|
80
|
+
subtasks: {
|
|
81
|
+
type: import("vue").PropType<Subtask[]>;
|
|
82
|
+
};
|
|
83
|
+
}>> & {
|
|
84
|
+
onRemoveAssignee?: ((assigneeId: string) => any) | undefined;
|
|
85
|
+
onUpdateActivity?: ((payload: UpdateActivityFieldPayload) => any) | undefined;
|
|
86
|
+
}, {}, {}>, {
|
|
87
|
+
secondary?(_: {}): any;
|
|
88
|
+
}>;
|
|
89
|
+
export default _default;
|
|
90
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
91
|
+
new (): {
|
|
92
|
+
$slots: S;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
@@ -5,6 +5,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
5
5
|
icon: {
|
|
6
6
|
type: import("vue").PropType<"AccountBoxSharp" | "AccountCircle" | "AccountTreeOutlineRounded" | "AccountTreeRounded" | "Add" | "AddBoxOutlineRounded" | "ArchiveOutlineRounded" | "ArrowBackRounded" | "ArrowDropDownRounded" | "ArrowForwardRounded" | "AssignmentOutlineRounded" | "AttachFileRounded" | "CalendarTodayOutlineRounded" | "ChatOutline" | "CheckBoxOutlineBlank" | "CheckBoxOutlineBlankSharp" | "CheckBoxOutlineRounded" | "CheckSmallRounded" | "ChecklistRounded" | "ChevronLeft" | "ChevronRight" | "CloseRounded" | "ContactsOutlineRounded" | "ContentCopyOutline" | "DeleteOutlineRounded" | "DragIndicator" | "EditDocumentRounded" | "EditOutline" | "ErrorOutlineRounded" | "FilterListRounded" | "FlagRounded" | "FlowsheetOutlineRounded" | "GifBox" | "GroupsOutline" | "HomeOutlineRounded" | "ImageRounded" | "Info" | "KeyboardArrowDown" | "KeyboardArrowUp" | "LogoutRounded" | "Menu" | "MoreHoriz" | "MoreTimeRounded" | "MoreVert" | "MountainFlagOutlineRounded" | "PersonAddOutlineRounded" | "PictureAsPdfRounded" | "RadioButtonChecked" | "RadioButtonCheckedOutline" | "RadioButtonUnchecked" | "RemoveRounded" | "SearchRounded" | "SelectCheckBox" | "SendRounded" | "Settings" | "SlideshowRounded" | "Target" | "TaskOutlineRounded" | "TextSnippetRounded" | "TimerOutline" | "ViewComfyAltRounded" | "ViewCompactAltRounded" | "ViewTimelineRounded" | "WarningOutlineRounded" | "WarningRounded" | "WaterfallChartRounded" | "Loading">;
|
|
7
7
|
};
|
|
8
|
+
tagName: {
|
|
9
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
8
12
|
isEditing: {
|
|
9
13
|
type: import("vue").PropType<boolean>;
|
|
10
14
|
};
|
|
@@ -14,10 +18,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
14
18
|
isActive: {
|
|
15
19
|
type: import("vue").PropType<boolean>;
|
|
16
20
|
};
|
|
17
|
-
tagName: {
|
|
18
|
-
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
21
|
isDraggable: {
|
|
22
22
|
type: import("vue").PropType<boolean>;
|
|
23
23
|
};
|
|
@@ -30,6 +30,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
30
30
|
icon: {
|
|
31
31
|
type: import("vue").PropType<"AccountBoxSharp" | "AccountCircle" | "AccountTreeOutlineRounded" | "AccountTreeRounded" | "Add" | "AddBoxOutlineRounded" | "ArchiveOutlineRounded" | "ArrowBackRounded" | "ArrowDropDownRounded" | "ArrowForwardRounded" | "AssignmentOutlineRounded" | "AttachFileRounded" | "CalendarTodayOutlineRounded" | "ChatOutline" | "CheckBoxOutlineBlank" | "CheckBoxOutlineBlankSharp" | "CheckBoxOutlineRounded" | "CheckSmallRounded" | "ChecklistRounded" | "ChevronLeft" | "ChevronRight" | "CloseRounded" | "ContactsOutlineRounded" | "ContentCopyOutline" | "DeleteOutlineRounded" | "DragIndicator" | "EditDocumentRounded" | "EditOutline" | "ErrorOutlineRounded" | "FilterListRounded" | "FlagRounded" | "FlowsheetOutlineRounded" | "GifBox" | "GroupsOutline" | "HomeOutlineRounded" | "ImageRounded" | "Info" | "KeyboardArrowDown" | "KeyboardArrowUp" | "LogoutRounded" | "Menu" | "MoreHoriz" | "MoreTimeRounded" | "MoreVert" | "MountainFlagOutlineRounded" | "PersonAddOutlineRounded" | "PictureAsPdfRounded" | "RadioButtonChecked" | "RadioButtonCheckedOutline" | "RadioButtonUnchecked" | "RemoveRounded" | "SearchRounded" | "SelectCheckBox" | "SendRounded" | "Settings" | "SlideshowRounded" | "Target" | "TaskOutlineRounded" | "TextSnippetRounded" | "TimerOutline" | "ViewComfyAltRounded" | "ViewCompactAltRounded" | "ViewTimelineRounded" | "WarningOutlineRounded" | "WarningRounded" | "WaterfallChartRounded" | "Loading">;
|
|
32
32
|
};
|
|
33
|
+
tagName: {
|
|
34
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
33
37
|
isEditing: {
|
|
34
38
|
type: import("vue").PropType<boolean>;
|
|
35
39
|
};
|
|
@@ -39,10 +43,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
39
43
|
isActive: {
|
|
40
44
|
type: import("vue").PropType<boolean>;
|
|
41
45
|
};
|
|
42
|
-
tagName: {
|
|
43
|
-
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
46
|
isDraggable: {
|
|
47
47
|
type: import("vue").PropType<boolean>;
|
|
48
48
|
};
|
|
@@ -55,6 +55,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
55
55
|
header?(_: {}): any;
|
|
56
56
|
default?(_: {}): any;
|
|
57
57
|
footer?(_: {}): any;
|
|
58
|
+
secondary?(_: {}): any;
|
|
58
59
|
}>;
|
|
59
60
|
export default _default;
|
|
60
61
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type ActivityProject } from '../types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
id: {
|
|
4
|
+
type: import("vue").PropType<string>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
name: {
|
|
8
|
+
type: import("vue").PropType<string>;
|
|
9
|
+
};
|
|
10
|
+
activities: {
|
|
11
|
+
type: import("vue").PropType<ActivityProject[]>;
|
|
12
|
+
};
|
|
13
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
id: {
|
|
15
|
+
type: import("vue").PropType<string>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
name: {
|
|
19
|
+
type: import("vue").PropType<string>;
|
|
20
|
+
};
|
|
21
|
+
activities: {
|
|
22
|
+
type: import("vue").PropType<ActivityProject[]>;
|
|
23
|
+
};
|
|
24
|
+
}>>, {}, {}>, {
|
|
25
|
+
secondary?(_: {}): any;
|
|
26
|
+
}>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { type MilestoneProject } from '../types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
id: {
|
|
4
|
+
type: import("vue").PropType<string>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
projectName: {
|
|
8
|
+
type: import("vue").PropType<string>;
|
|
9
|
+
};
|
|
10
|
+
name: {
|
|
11
|
+
type: import("vue").PropType<string>;
|
|
12
|
+
};
|
|
13
|
+
milestones: {
|
|
14
|
+
type: import("vue").PropType<MilestoneProject[]>;
|
|
15
|
+
};
|
|
16
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
id: {
|
|
18
|
+
type: import("vue").PropType<string>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
projectName: {
|
|
22
|
+
type: import("vue").PropType<string>;
|
|
23
|
+
};
|
|
24
|
+
name: {
|
|
25
|
+
type: import("vue").PropType<string>;
|
|
26
|
+
};
|
|
27
|
+
milestones: {
|
|
28
|
+
type: import("vue").PropType<MilestoneProject[]>;
|
|
29
|
+
};
|
|
30
|
+
}>>, {}, {}>, {
|
|
31
|
+
secondary?(_: {}): any;
|
|
32
|
+
}>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -13,6 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
};
|
|
14
14
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
15
|
'update:title': (payload: string) => void;
|
|
16
|
+
remove: (args_0: void) => void;
|
|
16
17
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
18
|
milestones: {
|
|
18
19
|
type: import("vue").PropType<number>;
|
|
@@ -28,5 +29,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
29
|
};
|
|
29
30
|
}>> & {
|
|
30
31
|
"onUpdate:title"?: ((payload: string) => any) | undefined;
|
|
32
|
+
onRemove?: ((args_0?: void | undefined) => any) | undefined;
|
|
31
33
|
}, {}, {}>;
|
|
32
34
|
export default _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { type User } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
user: {
|
|
4
|
+
type: import("vue").PropType<User>;
|
|
5
|
+
};
|
|
6
|
+
content: {
|
|
7
|
+
type: import("vue").PropType<string>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
createdAt: {
|
|
11
|
+
type: import("vue").PropType<string>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
editedAt: {
|
|
15
|
+
type: import("vue").PropType<string>;
|
|
16
|
+
};
|
|
17
|
+
isEditable: {
|
|
18
|
+
type: import("vue").PropType<boolean>;
|
|
19
|
+
};
|
|
20
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
edit: (value: string) => void;
|
|
22
|
+
remove: (args_0: void) => void;
|
|
23
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
user: {
|
|
25
|
+
type: import("vue").PropType<User>;
|
|
26
|
+
};
|
|
27
|
+
content: {
|
|
28
|
+
type: import("vue").PropType<string>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
createdAt: {
|
|
32
|
+
type: import("vue").PropType<string>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
editedAt: {
|
|
36
|
+
type: import("vue").PropType<string>;
|
|
37
|
+
};
|
|
38
|
+
isEditable: {
|
|
39
|
+
type: import("vue").PropType<boolean>;
|
|
40
|
+
};
|
|
41
|
+
}>> & {
|
|
42
|
+
onRemove?: ((args_0?: void | undefined) => any) | undefined;
|
|
43
|
+
onEdit?: ((value: string) => any) | undefined;
|
|
44
|
+
}, {}, {}>;
|
|
45
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type StatusValues } from '../types/styles';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
percentages: {
|
|
4
|
+
type: import("vue").PropType<number | number[]>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
status: {
|
|
8
|
+
type: import("vue").PropType<StatusValues>;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
percentages: {
|
|
12
|
+
type: import("vue").PropType<number | number[]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
status: {
|
|
16
|
+
type: import("vue").PropType<StatusValues>;
|
|
17
|
+
};
|
|
18
|
+
}>>, {}, {}>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type PhaseProject } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
phase: {
|
|
4
|
+
type: import("vue").PropType<PhaseProject>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
projectName: {
|
|
8
|
+
type: import("vue").PropType<string>;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
addMilestone: (phaseId: string) => void;
|
|
12
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
phase: {
|
|
14
|
+
type: import("vue").PropType<PhaseProject>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
projectName: {
|
|
18
|
+
type: import("vue").PropType<string>;
|
|
19
|
+
};
|
|
20
|
+
}>> & {
|
|
21
|
+
onAddMilestone?: ((phaseId: string) => any) | undefined;
|
|
22
|
+
}, {}, {}>;
|
|
23
|
+
export default _default;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { type Activity, type Milestone, type Phase, type Rule, type UpdateRulePayload } from '../types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
tagName: {
|
|
4
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
3
7
|
templateActivities: {
|
|
4
8
|
type: import("vue").PropType<Activity[]>;
|
|
5
9
|
};
|
|
6
10
|
templateMilestones: {
|
|
7
11
|
type: import("vue").PropType<Milestone[]>;
|
|
8
12
|
};
|
|
9
|
-
tagName: {
|
|
10
|
-
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
13
|
rule: {
|
|
14
14
|
type: import("vue").PropType<Rule>;
|
|
15
15
|
required: true;
|
|
@@ -21,16 +21,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
'update:rule': (payload: UpdateRulePayload) => void;
|
|
22
22
|
close: (args_0: void) => void;
|
|
23
23
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
tagName: {
|
|
25
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
24
28
|
templateActivities: {
|
|
25
29
|
type: import("vue").PropType<Activity[]>;
|
|
26
30
|
};
|
|
27
31
|
templateMilestones: {
|
|
28
32
|
type: import("vue").PropType<Milestone[]>;
|
|
29
33
|
};
|
|
30
|
-
tagName: {
|
|
31
|
-
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
34
|
rule: {
|
|
35
35
|
type: import("vue").PropType<Rule>;
|
|
36
36
|
required: true;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Milestone, type AddActivityPayload } from '../types';
|
|
2
|
-
import { type UpdateActivityPayload, type UpdateMilestonePayload } from '../types';
|
|
2
|
+
import { type UpdateActivityPayload, type UpdateMilestonePayload, type RemoveActivityPayload } from '../types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
templateId: {
|
|
5
5
|
type: import("vue").PropType<string>;
|
|
@@ -20,6 +20,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
addActivity: (payload: AddActivityPayload) => void;
|
|
21
21
|
updateActivity: (payload: UpdateActivityPayload) => void;
|
|
22
22
|
updateMilestone: (payload: UpdateMilestonePayload) => void;
|
|
23
|
+
removeActivity: (payload: RemoveActivityPayload) => void;
|
|
23
24
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
25
|
templateId: {
|
|
25
26
|
type: import("vue").PropType<string>;
|
|
@@ -37,8 +38,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
38
|
type: import("vue").PropType<string>;
|
|
38
39
|
};
|
|
39
40
|
}>> & {
|
|
40
|
-
onAddActivity?: ((payload: AddActivityPayload) => any) | undefined;
|
|
41
41
|
onUpdateActivity?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
42
|
+
onAddActivity?: ((payload: AddActivityPayload) => any) | undefined;
|
|
42
43
|
onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
|
|
44
|
+
onRemoveActivity?: ((payload: RemoveActivityPayload) => any) | undefined;
|
|
43
45
|
}, {}, {}>;
|
|
44
46
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Phase, type UpdateMilestonePayload, type
|
|
1
|
+
import { type Phase, type UpdateMilestonePayload, type UpdateItemPhasePayload, type RemoveMilestonePayload } from '../types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
templateId: {
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
@@ -16,7 +16,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
phaseId: string;
|
|
17
17
|
}) => void;
|
|
18
18
|
updateMilestone: (payload: UpdateMilestonePayload) => void;
|
|
19
|
-
updatePhase: (payload:
|
|
19
|
+
updatePhase: (payload: UpdateItemPhasePayload) => void;
|
|
20
|
+
removeMilestone: (payload: RemoveMilestonePayload) => void;
|
|
20
21
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
22
|
templateId: {
|
|
22
23
|
type: import("vue").PropType<string>;
|
|
@@ -30,10 +31,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
31
|
required: true;
|
|
31
32
|
};
|
|
32
33
|
}>> & {
|
|
33
|
-
onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
|
|
34
34
|
onAddMilestone?: ((payload: {
|
|
35
35
|
phaseId: string;
|
|
36
36
|
}) => any) | undefined;
|
|
37
|
-
|
|
37
|
+
onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
|
|
38
|
+
onUpdatePhase?: ((payload: UpdateItemPhasePayload) => any) | undefined;
|
|
39
|
+
onRemoveMilestone?: ((payload: RemoveMilestonePayload) => any) | undefined;
|
|
38
40
|
}, {}, {}>;
|
|
39
41
|
export default _default;
|