@26lights/orcha 0.42.39 → 0.42.41
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 +1026 -2
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +38906 -7394
- package/dist/orcha.umd.js +1027 -3
- package/dist/src/components/AoActivityDetails.vue.d.ts +50 -137
- package/dist/src/components/AoActivityDetailsComments.vue.d.ts +43 -47
- package/dist/src/components/AoActivityDetailsFiles.vue.d.ts +25 -23
- package/dist/src/components/AoActivityTasks.vue.d.ts +25 -49
- package/dist/src/components/AoAddTemplateModal.vue.d.ts +20 -26
- package/dist/src/components/AoAvatar.vue.d.ts +37 -45
- package/dist/src/components/AoBadge.vue.d.ts +13 -10
- package/dist/src/components/AoButton.vue.d.ts +57 -82
- package/dist/src/components/AoButtonCard.vue.d.ts +54 -69
- package/dist/src/components/AoButtonCheck.vue.d.ts +21 -23
- package/dist/src/components/AoCard.vue.d.ts +44 -41
- package/dist/src/components/AoCardFeed.vue.d.ts +39 -126
- package/dist/src/components/AoCardHoriz.vue.d.ts +33 -60
- package/dist/src/components/AoCardProjectItemMilestone.vue.d.ts +39 -106
- package/dist/src/components/AoCardProjectItemPhase.vue.d.ts +42 -82
- package/dist/src/components/AoCardTemplate.vue.d.ts +23 -54
- package/dist/src/components/AoCardTemplateItem.vue.d.ts +16 -33
- package/dist/src/components/AoCardTemplateItemActivity.vue.d.ts +19 -17
- package/dist/src/components/AoCardTemplateItemMilestone.vue.d.ts +18 -11
- package/dist/src/components/AoCardTemplateItemPhase.vue.d.ts +20 -25
- package/dist/src/components/AoCheckboxField.vue.d.ts +42 -45
- package/dist/src/components/AoColHeader.vue.d.ts +13 -16
- package/dist/src/components/AoColorPicker.vue.d.ts +22 -16
- package/dist/src/components/AoComment.vue.d.ts +19 -51
- package/dist/src/components/AoCondensedCardProjectItemPhase.vue.d.ts +42 -82
- package/dist/src/components/AoField.vue.d.ts +33 -24
- package/dist/src/components/AoIcon.vue.d.ts +29 -21
- package/dist/src/components/AoInputField.vue.d.ts +50 -61
- package/dist/src/components/AoListKanban.vue.d.ts +23 -116
- package/dist/src/components/AoModal.vue.d.ts +28 -18
- package/dist/src/components/AoMultiselect.vue.d.ts +18 -15
- package/dist/src/components/AoPageHeader.vue.d.ts +15 -14
- package/dist/src/components/AoProgress.vue.d.ts +16 -23
- package/dist/src/components/AoProjectPhase.vue.d.ts +35 -66
- package/dist/src/components/AoProjectPhases.vue.d.ts +37 -68
- package/dist/src/components/AoRichTextEditor.vue.d.ts +45 -0
- package/dist/src/components/AoRuleLine.vue.d.ts +31 -45
- package/dist/src/components/AoSaveTemplateModal.vue.d.ts +17 -14
- package/dist/src/components/AoSearchField.vue.d.ts +34 -32
- package/dist/src/components/AoTabBar.vue.d.ts +6 -6
- package/dist/src/components/AoTag.vue.d.ts +23 -50
- package/dist/src/components/AoTemplateDetailsActivities.vue.d.ts +21 -38
- package/dist/src/components/AoTemplateDetailsMilestones.vue.d.ts +19 -28
- package/dist/src/components/AoTemplateRules.vue.d.ts +18 -43
- package/dist/src/components/AoTitle.vue.d.ts +40 -51
- package/dist/src/components/icons/AccountBoxSharp.vue.d.ts +1 -1
- package/dist/src/components/icons/AccountCircle.vue.d.ts +1 -1
- package/dist/src/components/icons/AccountTreeOutlineRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/AccountTreeRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/Add.vue.d.ts +1 -1
- package/dist/src/components/icons/AddBoxOutlineRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/ArchiveOutlineRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/ArrowBackRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/ArrowDropDownRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/ArrowForwardRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/AssignmentOutlineRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/AttachFileRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/CalendarTodayOutlineRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/CancelRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/ChatOutline.vue.d.ts +1 -1
- package/dist/src/components/icons/CheckBoxOutlineBlank.vue.d.ts +1 -1
- package/dist/src/components/icons/CheckBoxOutlineBlankSharp.vue.d.ts +1 -1
- package/dist/src/components/icons/CheckBoxOutlineRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/CheckSmallRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/ChecklistRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/ChevronLeft.vue.d.ts +1 -1
- package/dist/src/components/icons/ChevronRight.vue.d.ts +1 -1
- package/dist/src/components/icons/CloseRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/ContactsOutlineRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/ContentCopyOutline.vue.d.ts +1 -1
- package/dist/src/components/icons/DeleteOutlineRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/DragIndicator.vue.d.ts +1 -1
- package/dist/src/components/icons/EditDocumentRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/EditOutline.vue.d.ts +1 -1
- package/dist/src/components/icons/ErrorOutlineRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/FilterListRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/FlagRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/FlowsheetOutlineRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/GifBox.vue.d.ts +1 -1
- package/dist/src/components/icons/GroupsOutline.vue.d.ts +1 -1
- package/dist/src/components/icons/HomeOutlineRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/ImageRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/Info.vue.d.ts +1 -1
- package/dist/src/components/icons/KeyboardArrowDown.vue.d.ts +1 -1
- package/dist/src/components/icons/KeyboardArrowUp.vue.d.ts +1 -1
- package/dist/src/components/icons/Loading.vue.d.ts +1 -1
- package/dist/src/components/icons/Lock.vue.d.ts +1 -1
- package/dist/src/components/icons/LogoutRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/Menu.vue.d.ts +1 -1
- package/dist/src/components/icons/MoreHoriz.vue.d.ts +1 -1
- package/dist/src/components/icons/MoreTimeRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/MoreVert.vue.d.ts +1 -1
- package/dist/src/components/icons/MountainFlagOutlineRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/PersonAddOutlineRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/PictureAsPdfRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/RadioButtonChecked.vue.d.ts +1 -1
- package/dist/src/components/icons/RadioButtonCheckedOutline.vue.d.ts +1 -1
- package/dist/src/components/icons/RadioButtonUnchecked.vue.d.ts +1 -1
- package/dist/src/components/icons/RemoveRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/SearchRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/SelectCheckBox.vue.d.ts +1 -1
- package/dist/src/components/icons/SendRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/Settings.vue.d.ts +1 -1
- package/dist/src/components/icons/SlideshowRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/Target.vue.d.ts +1 -1
- package/dist/src/components/icons/TaskOutlineRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/TextSnippetRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/TimerOutline.vue.d.ts +1 -1
- package/dist/src/components/icons/ViewComfyAltRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/ViewCompactAltRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/ViewTimelineRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/WarningOutlineRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/WarningRounded.vue.d.ts +1 -1
- package/dist/src/components/icons/WaterfallChartRounded.vue.d.ts +1 -1
- package/dist/src/composables/useDetachedOptions.d.ts +2 -1
- package/dist/src/composables/useGetDefaultRankAndName.d.ts +2 -1
- package/dist/src/composables/useIsEditing.d.ts +4 -3
- package/dist/src/composables/useSearchField.d.ts +1 -1
- package/dist/src/composables/useSelectAddedElement.d.ts +2 -1
- package/dist/src/helpers.d.ts +13 -6
- package/dist/src/i18n/i18next.d.ts +3 -2
- package/dist/src/main.d.ts +1 -0
- package/dist/src/router/routes.d.ts +2 -1
- package/dist/src/types/components.d.ts +3 -2
- package/dist/src/types/styles.d.ts +1 -1
- package/dist/src/types/utils.d.ts +2 -1
- package/dist/src/views/AoFeed.vue.d.ts +72 -162
- package/dist/src/views/AoMapping.vue.d.ts +49 -118
- package/dist/src/views/AoProjectOverviewActivityDetails.vue.d.ts +43 -125
- package/dist/src/views/AoProjectOverviewMilestoneDetails.vue.d.ts +31 -71
- package/dist/src/views/AoProjectOverviewProject.vue.d.ts +79 -153
- package/dist/src/views/AoTemplateDetails.vue.d.ts +37 -61
- package/dist/src/views/AoTemplates.vue.d.ts +15 -10
- package/dist/src/views/AoTemplatesList.vue.d.ts +17 -12
- package/package.json +2 -1
|
@@ -1,142 +1,73 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
closedStatus: {
|
|
12
|
-
type: import("vue").PropType<ActivityStatus>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
users: {
|
|
16
|
-
type: import("vue").PropType<User[]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
userId: {
|
|
20
|
-
type: import("vue").PropType<string>;
|
|
21
|
-
required: true;
|
|
22
|
-
};
|
|
1
|
+
import { Project, User, AddPhasePayload, Id, Phase, ApplyTemplatePayload, UpdatePhasePayload, Subtask, ActivityStatus, Activity, ActivityType, SaveTemplatePayload } from '../types';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
project: Project;
|
|
5
|
+
phases: Phase[];
|
|
6
|
+
closedStatus: ActivityStatus;
|
|
7
|
+
users: User[];
|
|
8
|
+
userId: Id;
|
|
23
9
|
templates: {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
};
|
|
45
|
-
showsArchived: {
|
|
46
|
-
type: import("vue").PropType<boolean>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
attachmentEnabled: {
|
|
50
|
-
type: import("vue").PropType<boolean>;
|
|
51
|
-
required: true;
|
|
52
|
-
};
|
|
53
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
|
-
addPhase: (payload: AddPhasePayload) => void;
|
|
10
|
+
id: Id;
|
|
11
|
+
name: string;
|
|
12
|
+
}[];
|
|
13
|
+
isTaskCheckable?: (task: Subtask) => boolean;
|
|
14
|
+
statuses: ActivityStatus[];
|
|
15
|
+
activityTypes: ActivityType[];
|
|
16
|
+
isEditable: boolean | 'only-own';
|
|
17
|
+
showsArchived: boolean;
|
|
18
|
+
attachmentEnabled: boolean;
|
|
19
|
+
};
|
|
20
|
+
declare function __VLS_template(): Readonly<{
|
|
21
|
+
activityDetailsBody(props: {
|
|
22
|
+
activity: Activity;
|
|
23
|
+
}): any;
|
|
24
|
+
}> & {
|
|
25
|
+
activityDetailsBody(props: {
|
|
26
|
+
activity: Activity;
|
|
27
|
+
}): any;
|
|
28
|
+
};
|
|
29
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
55
30
|
updatePhase: (payload: UpdatePhasePayload) => void;
|
|
31
|
+
addPhase: (payload: AddPhasePayload) => void;
|
|
56
32
|
archivePhase: (payload: {
|
|
57
|
-
id:
|
|
33
|
+
id: Id;
|
|
58
34
|
}) => void;
|
|
59
35
|
unarchivePhase: (payload: {
|
|
60
|
-
id:
|
|
36
|
+
id: Id;
|
|
61
37
|
}) => void;
|
|
62
38
|
copyPhaseToTemplate: (payload: {
|
|
63
|
-
id:
|
|
39
|
+
id: Id;
|
|
64
40
|
}) => void;
|
|
65
41
|
applyTemplate: (payload: ApplyTemplatePayload) => void;
|
|
66
42
|
saveTemplate: (payload: SaveTemplatePayload) => void;
|
|
67
|
-
|
|
68
|
-
}, string, import(
|
|
69
|
-
project: {
|
|
70
|
-
type: import("vue").PropType<Project>;
|
|
71
|
-
required: true;
|
|
72
|
-
};
|
|
73
|
-
phases: {
|
|
74
|
-
type: import("vue").PropType<Phase[]>;
|
|
75
|
-
required: true;
|
|
76
|
-
};
|
|
77
|
-
closedStatus: {
|
|
78
|
-
type: import("vue").PropType<ActivityStatus>;
|
|
79
|
-
required: true;
|
|
80
|
-
};
|
|
81
|
-
users: {
|
|
82
|
-
type: import("vue").PropType<User[]>;
|
|
83
|
-
required: true;
|
|
84
|
-
};
|
|
85
|
-
userId: {
|
|
86
|
-
type: import("vue").PropType<string>;
|
|
87
|
-
required: true;
|
|
88
|
-
};
|
|
89
|
-
templates: {
|
|
90
|
-
type: import("vue").PropType<{
|
|
91
|
-
id: string;
|
|
92
|
-
name: string;
|
|
93
|
-
}[]>;
|
|
94
|
-
required: true;
|
|
95
|
-
};
|
|
96
|
-
isTaskCheckable: {
|
|
97
|
-
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
98
|
-
};
|
|
99
|
-
statuses: {
|
|
100
|
-
type: import("vue").PropType<ActivityStatus[]>;
|
|
101
|
-
required: true;
|
|
102
|
-
};
|
|
103
|
-
activityTypes: {
|
|
104
|
-
type: import("vue").PropType<ActivityType[]>;
|
|
105
|
-
required: true;
|
|
106
|
-
};
|
|
107
|
-
isEditable: {
|
|
108
|
-
type: import("vue").PropType<boolean | "only-own">;
|
|
109
|
-
required: true;
|
|
110
|
-
};
|
|
111
|
-
showsArchived: {
|
|
112
|
-
type: import("vue").PropType<boolean>;
|
|
113
|
-
required: true;
|
|
114
|
-
};
|
|
115
|
-
attachmentEnabled: {
|
|
116
|
-
type: import("vue").PropType<boolean>;
|
|
117
|
-
required: true;
|
|
118
|
-
};
|
|
119
|
-
}>> & {
|
|
43
|
+
"update:showsArchived": (value: boolean) => void;
|
|
44
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
120
45
|
onUpdatePhase?: ((payload: UpdatePhasePayload) => any) | undefined;
|
|
46
|
+
onAddPhase?: ((payload: AddPhasePayload) => any) | undefined;
|
|
121
47
|
onArchivePhase?: ((payload: {
|
|
122
|
-
id:
|
|
48
|
+
id: Id;
|
|
123
49
|
}) => any) | undefined;
|
|
124
50
|
onUnarchivePhase?: ((payload: {
|
|
125
|
-
id:
|
|
51
|
+
id: Id;
|
|
126
52
|
}) => any) | undefined;
|
|
127
|
-
onAddPhase?: ((payload: AddPhasePayload) => any) | undefined;
|
|
128
53
|
onCopyPhaseToTemplate?: ((payload: {
|
|
129
|
-
id:
|
|
54
|
+
id: Id;
|
|
130
55
|
}) => any) | undefined;
|
|
131
56
|
onApplyTemplate?: ((payload: ApplyTemplatePayload) => any) | undefined;
|
|
132
57
|
onSaveTemplate?: ((payload: SaveTemplatePayload) => any) | undefined;
|
|
133
58
|
"onUpdate:showsArchived"?: ((value: boolean) => any) | undefined;
|
|
134
|
-
}, {}, {}
|
|
135
|
-
|
|
136
|
-
activity: Activity;
|
|
137
|
-
}): any;
|
|
138
|
-
}>;
|
|
59
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
60
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
139
61
|
export default _default;
|
|
62
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
63
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
64
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
65
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
66
|
+
} : {
|
|
67
|
+
type: import('vue').PropType<T[K]>;
|
|
68
|
+
required: true;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
140
71
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
141
72
|
new (): {
|
|
142
73
|
$slots: S;
|
|
@@ -1,142 +1,60 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
24
|
-
};
|
|
25
|
-
statuses: {
|
|
26
|
-
type: import("vue").PropType<ActivityStatus[]>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
phases: {
|
|
30
|
-
type: import("vue").PropType<Phase[]>;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
users: {
|
|
34
|
-
type: import("vue").PropType<User[]>;
|
|
35
|
-
required: true;
|
|
36
|
-
};
|
|
37
|
-
project: {
|
|
38
|
-
type: import("vue").PropType<Project>;
|
|
39
|
-
required: true;
|
|
40
|
-
};
|
|
41
|
-
userId: {
|
|
42
|
-
type: import("vue").PropType<string>;
|
|
43
|
-
required: true;
|
|
44
|
-
};
|
|
45
|
-
isEditable: {
|
|
46
|
-
type: import("vue").PropType<boolean>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
attachmentEnabled: {
|
|
50
|
-
type: import("vue").PropType<boolean>;
|
|
51
|
-
required: true;
|
|
52
|
-
};
|
|
53
|
-
timeTrackingData: {
|
|
54
|
-
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
55
|
-
};
|
|
56
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
57
|
-
'update:activity': (payload: UpdateActivityPayload) => void;
|
|
58
|
-
addSubtask: (payload: AddSubtaskPayload) => void;
|
|
59
|
-
updateSubtask: (payload: UpdateSubtaskFieldPayload) => void;
|
|
1
|
+
import { Activity, Id, UpdateActivityPayload, AddSubtaskPayload, AddCommentPayload, UpdateCommentPayload, RemoveCommentPayload, Subtask, ActivityStatus, Phase, User, ActivityType, UpdateSubtaskFieldPayload, AddFilesPayload, RemoveFilePayload, Project, TimeTracking } from '../types';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
phaseId: Id;
|
|
5
|
+
milestoneId: Id;
|
|
6
|
+
activityId: Id;
|
|
7
|
+
activityTypes?: ActivityType[];
|
|
8
|
+
activities: Activity[];
|
|
9
|
+
isTaskCheckable?: (task: Subtask) => boolean;
|
|
10
|
+
statuses: ActivityStatus[];
|
|
11
|
+
phases: Phase[];
|
|
12
|
+
users: User[];
|
|
13
|
+
project: Project;
|
|
14
|
+
userId: Id;
|
|
15
|
+
isEditable: boolean;
|
|
16
|
+
attachmentEnabled: boolean;
|
|
17
|
+
timeTrackingData?: Record<Id, TimeTracking>;
|
|
18
|
+
};
|
|
19
|
+
declare function __VLS_template(): {
|
|
20
|
+
default?(_: any): any;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
60
23
|
deleteSubtask: (payload: {
|
|
61
|
-
id:
|
|
24
|
+
id: Id;
|
|
62
25
|
}) => void;
|
|
63
|
-
addFiles: (payload: AddFilesPayload) => void;
|
|
64
26
|
removeFile: (payload: RemoveFilePayload) => void;
|
|
65
|
-
addComment: (payload: AddCommentPayload) => void;
|
|
66
27
|
updateComment: (payload: UpdateCommentPayload) => void;
|
|
67
28
|
removeComment: (payload: RemoveCommentPayload) => void;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
type: import("vue").PropType<string>;
|
|
75
|
-
required: true;
|
|
76
|
-
};
|
|
77
|
-
activityId: {
|
|
78
|
-
type: import("vue").PropType<string>;
|
|
79
|
-
required: true;
|
|
80
|
-
};
|
|
81
|
-
activityTypes: {
|
|
82
|
-
type: import("vue").PropType<ActivityType[]>;
|
|
83
|
-
};
|
|
84
|
-
activities: {
|
|
85
|
-
type: import("vue").PropType<Activity[]>;
|
|
86
|
-
required: true;
|
|
87
|
-
};
|
|
88
|
-
isTaskCheckable: {
|
|
89
|
-
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
90
|
-
};
|
|
91
|
-
statuses: {
|
|
92
|
-
type: import("vue").PropType<ActivityStatus[]>;
|
|
93
|
-
required: true;
|
|
94
|
-
};
|
|
95
|
-
phases: {
|
|
96
|
-
type: import("vue").PropType<Phase[]>;
|
|
97
|
-
required: true;
|
|
98
|
-
};
|
|
99
|
-
users: {
|
|
100
|
-
type: import("vue").PropType<User[]>;
|
|
101
|
-
required: true;
|
|
102
|
-
};
|
|
103
|
-
project: {
|
|
104
|
-
type: import("vue").PropType<Project>;
|
|
105
|
-
required: true;
|
|
106
|
-
};
|
|
107
|
-
userId: {
|
|
108
|
-
type: import("vue").PropType<string>;
|
|
109
|
-
required: true;
|
|
110
|
-
};
|
|
111
|
-
isEditable: {
|
|
112
|
-
type: import("vue").PropType<boolean>;
|
|
113
|
-
required: true;
|
|
114
|
-
};
|
|
115
|
-
attachmentEnabled: {
|
|
116
|
-
type: import("vue").PropType<boolean>;
|
|
117
|
-
required: true;
|
|
118
|
-
};
|
|
119
|
-
timeTrackingData: {
|
|
120
|
-
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
121
|
-
};
|
|
122
|
-
}>> & {
|
|
123
|
-
onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
|
|
124
|
-
onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
|
|
29
|
+
"update:activity": (payload: UpdateActivityPayload) => void;
|
|
30
|
+
addSubtask: (payload: AddSubtaskPayload) => void;
|
|
31
|
+
updateSubtask: (payload: UpdateSubtaskFieldPayload) => void;
|
|
32
|
+
addFiles: (payload: AddFilesPayload) => void;
|
|
33
|
+
addComment: (payload: AddCommentPayload) => void;
|
|
34
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
125
35
|
onDeleteSubtask?: ((payload: {
|
|
126
|
-
id:
|
|
36
|
+
id: Id;
|
|
127
37
|
}) => any) | undefined;
|
|
128
38
|
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
39
|
+
onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
|
|
40
|
+
onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
|
|
129
41
|
"onUpdate:activity"?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
130
42
|
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
131
43
|
onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
|
|
132
44
|
onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
|
|
133
45
|
onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
|
|
134
|
-
}, {}, {}
|
|
135
|
-
|
|
136
|
-
activity: Activity;
|
|
137
|
-
}): any;
|
|
138
|
-
}>;
|
|
46
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
139
48
|
export default _default;
|
|
49
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
50
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
51
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
52
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
53
|
+
} : {
|
|
54
|
+
type: import('vue').PropType<T[K]>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
140
58
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
141
59
|
new (): {
|
|
142
60
|
$slots: S;
|
|
@@ -1,87 +1,47 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
};
|
|
15
|
-
phases: {
|
|
16
|
-
type: import("vue").PropType<Phase[]>;
|
|
17
|
-
};
|
|
18
|
-
phaseId: {
|
|
19
|
-
type: import("vue").PropType<string>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
isEditable: {
|
|
23
|
-
type: import("vue").PropType<boolean>;
|
|
24
|
-
};
|
|
25
|
-
closedStatus: {
|
|
26
|
-
type: import("vue").PropType<ActivityStatus>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
timeTrackingData: {
|
|
30
|
-
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
31
|
-
};
|
|
32
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1
|
+
import { ActivityStatus, AddActivityPayload, Id, Phase, StartTimerPayload, UpdateActivityPayload, UpdateMilestonePayload, User, TimeTracking } from '../types';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
milestoneId: string;
|
|
5
|
+
users: User[];
|
|
6
|
+
projectId: string;
|
|
7
|
+
phases?: Phase[];
|
|
8
|
+
phaseId: string;
|
|
9
|
+
isEditable?: boolean;
|
|
10
|
+
closedStatus: ActivityStatus;
|
|
11
|
+
timeTrackingData?: Record<Id, TimeTracking>;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
14
|
close: (e: Event) => void;
|
|
34
|
-
addActivity: (args_0: AddActivityPayload) => void;
|
|
35
|
-
updateMilestone: (args_0: UpdateMilestonePayload) => void;
|
|
36
15
|
updateActivity: (args_0: UpdateActivityPayload) => void;
|
|
16
|
+
startTimer: (payload: StartTimerPayload) => void;
|
|
37
17
|
archiveActivity: (payload: {
|
|
38
|
-
id:
|
|
18
|
+
id: Id;
|
|
39
19
|
}) => void;
|
|
40
20
|
unarchiveActivity: (payload: {
|
|
41
|
-
id:
|
|
21
|
+
id: Id;
|
|
42
22
|
}) => void;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
type: import("vue").PropType<string>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
users: {
|
|
50
|
-
type: import("vue").PropType<User[]>;
|
|
51
|
-
required: true;
|
|
52
|
-
};
|
|
53
|
-
projectId: {
|
|
54
|
-
type: import("vue").PropType<string>;
|
|
55
|
-
required: true;
|
|
56
|
-
};
|
|
57
|
-
phases: {
|
|
58
|
-
type: import("vue").PropType<Phase[]>;
|
|
59
|
-
};
|
|
60
|
-
phaseId: {
|
|
61
|
-
type: import("vue").PropType<string>;
|
|
62
|
-
required: true;
|
|
63
|
-
};
|
|
64
|
-
isEditable: {
|
|
65
|
-
type: import("vue").PropType<boolean>;
|
|
66
|
-
};
|
|
67
|
-
closedStatus: {
|
|
68
|
-
type: import("vue").PropType<ActivityStatus>;
|
|
69
|
-
required: true;
|
|
70
|
-
};
|
|
71
|
-
timeTrackingData: {
|
|
72
|
-
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
73
|
-
};
|
|
74
|
-
}>> & {
|
|
23
|
+
updateMilestone: (args_0: UpdateMilestonePayload) => void;
|
|
24
|
+
addActivity: (args_0: AddActivityPayload) => void;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
75
26
|
onClose?: ((e: Event) => any) | undefined;
|
|
76
27
|
onUpdateActivity?: ((args_0: UpdateActivityPayload) => any) | undefined;
|
|
77
28
|
onStartTimer?: ((payload: StartTimerPayload) => any) | undefined;
|
|
78
29
|
onArchiveActivity?: ((payload: {
|
|
79
|
-
id:
|
|
30
|
+
id: Id;
|
|
80
31
|
}) => any) | undefined;
|
|
81
32
|
onUnarchiveActivity?: ((payload: {
|
|
82
|
-
id:
|
|
33
|
+
id: Id;
|
|
83
34
|
}) => any) | undefined;
|
|
84
35
|
onUpdateMilestone?: ((args_0: UpdateMilestonePayload) => any) | undefined;
|
|
85
36
|
onAddActivity?: ((args_0: AddActivityPayload) => any) | undefined;
|
|
86
|
-
}, {}, {}>;
|
|
37
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
87
38
|
export default _default;
|
|
39
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
41
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
+
} : {
|
|
44
|
+
type: import('vue').PropType<T[K]>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
};
|