@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,166 +1,86 @@
|
|
|
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, AddActivityPayload, UpdateActivityPayload, AddSubtaskPayload, AddFilesPayload, RemoveFilePayload, AddCommentPayload, UpdateCommentPayload, RemoveCommentPayload, AddPhasePayload, AddMilestonePayload, Id, Phase, ApplyTemplatePayload, UpdatePhasePayload, UpdateMilestonePayload, Subtask, ActivityStatus, UpdateSubtaskFieldPayload, Activity, ActivityType, SaveTemplatePayload, TimeTracking } 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
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
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
|
+
timeTrackingData?: Record<Id, TimeTracking>;
|
|
20
|
+
};
|
|
21
|
+
declare function __VLS_template(): Readonly<{
|
|
22
|
+
activityDetailsBody(props: {
|
|
23
|
+
activity: Activity;
|
|
24
|
+
}): any;
|
|
25
|
+
}> & {
|
|
26
|
+
activityDetailsBody(props: {
|
|
27
|
+
activity: Activity;
|
|
28
|
+
}): any;
|
|
29
|
+
};
|
|
30
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
|
+
archiveActivity: (payload: {
|
|
32
|
+
id: Id;
|
|
33
|
+
}) => void;
|
|
34
|
+
unarchiveActivity: (payload: {
|
|
35
|
+
id: Id;
|
|
36
|
+
}) => void;
|
|
37
|
+
deleteSubtask: (payload: {
|
|
38
|
+
id: Id;
|
|
39
|
+
}) => void;
|
|
40
|
+
removeFile: (payload: RemoveFilePayload) => void;
|
|
41
|
+
updateComment: (payload: UpdateCommentPayload) => void;
|
|
42
|
+
removeComment: (payload: RemoveCommentPayload) => void;
|
|
43
|
+
"update:activity": (payload: UpdateActivityPayload) => void;
|
|
44
|
+
addSubtask: (payload: AddSubtaskPayload) => void;
|
|
45
|
+
updateSubtask: (payload: UpdateSubtaskFieldPayload) => void;
|
|
46
|
+
addFiles: (payload: AddFilesPayload) => void;
|
|
47
|
+
addComment: (payload: AddCommentPayload) => void;
|
|
48
|
+
addMilestone: (payload: AddMilestonePayload) => void;
|
|
49
|
+
updateMilestone: (payload: UpdateMilestonePayload) => void;
|
|
58
50
|
updatePhase: (payload: UpdatePhasePayload) => void;
|
|
51
|
+
addActivity: (payload: AddActivityPayload) => void;
|
|
52
|
+
addPhase: (payload: AddPhasePayload) => void;
|
|
59
53
|
archivePhase: (payload: {
|
|
60
|
-
id:
|
|
54
|
+
id: Id;
|
|
61
55
|
}) => void;
|
|
62
56
|
unarchivePhase: (payload: {
|
|
63
|
-
id:
|
|
57
|
+
id: Id;
|
|
64
58
|
}) => void;
|
|
65
|
-
addMilestone: (payload: AddMilestonePayload) => void;
|
|
66
|
-
updateMilestone: (payload: UpdateMilestonePayload) => void;
|
|
67
59
|
archiveMilestone: (payload: {
|
|
68
|
-
id:
|
|
60
|
+
id: Id;
|
|
69
61
|
}) => void;
|
|
70
62
|
unarchiveMilestone: (payload: {
|
|
71
|
-
id:
|
|
72
|
-
}) => void;
|
|
73
|
-
addActivity: (payload: AddActivityPayload) => void;
|
|
74
|
-
'update:activity': (payload: UpdateActivityPayload) => void;
|
|
75
|
-
archiveActivity: (payload: {
|
|
76
|
-
id: string;
|
|
63
|
+
id: Id;
|
|
77
64
|
}) => void;
|
|
78
65
|
copyPhaseToTemplate: (payload: {
|
|
79
|
-
id:
|
|
66
|
+
id: Id;
|
|
80
67
|
}) => void;
|
|
81
|
-
unarchiveActivity: (payload: {
|
|
82
|
-
id: string;
|
|
83
|
-
}) => void;
|
|
84
|
-
addSubtask: (payload: AddSubtaskPayload) => void;
|
|
85
|
-
updateSubtask: (payload: UpdateSubtaskFieldPayload) => void;
|
|
86
|
-
deleteSubtask: (payload: {
|
|
87
|
-
id: string;
|
|
88
|
-
}) => void;
|
|
89
|
-
addFiles: (payload: AddFilesPayload) => void;
|
|
90
|
-
removeFile: (payload: RemoveFilePayload) => void;
|
|
91
|
-
addComment: (payload: AddCommentPayload) => void;
|
|
92
|
-
updateComment: (payload: UpdateCommentPayload) => void;
|
|
93
|
-
removeComment: (payload: RemoveCommentPayload) => void;
|
|
94
68
|
applyTemplate: (payload: ApplyTemplatePayload) => void;
|
|
95
69
|
saveTemplate: (payload: SaveTemplatePayload) => void;
|
|
96
|
-
|
|
97
|
-
}, string, import(
|
|
98
|
-
project: {
|
|
99
|
-
type: import("vue").PropType<Project>;
|
|
100
|
-
required: true;
|
|
101
|
-
};
|
|
102
|
-
phases: {
|
|
103
|
-
type: import("vue").PropType<Phase[]>;
|
|
104
|
-
required: true;
|
|
105
|
-
};
|
|
106
|
-
closedStatus: {
|
|
107
|
-
type: import("vue").PropType<ActivityStatus>;
|
|
108
|
-
required: true;
|
|
109
|
-
};
|
|
110
|
-
users: {
|
|
111
|
-
type: import("vue").PropType<User[]>;
|
|
112
|
-
required: true;
|
|
113
|
-
};
|
|
114
|
-
userId: {
|
|
115
|
-
type: import("vue").PropType<string>;
|
|
116
|
-
required: true;
|
|
117
|
-
};
|
|
118
|
-
templates: {
|
|
119
|
-
type: import("vue").PropType<{
|
|
120
|
-
id: string;
|
|
121
|
-
name: string;
|
|
122
|
-
}[]>;
|
|
123
|
-
required: true;
|
|
124
|
-
};
|
|
125
|
-
isTaskCheckable: {
|
|
126
|
-
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
127
|
-
};
|
|
128
|
-
statuses: {
|
|
129
|
-
type: import("vue").PropType<ActivityStatus[]>;
|
|
130
|
-
required: true;
|
|
131
|
-
};
|
|
132
|
-
activityTypes: {
|
|
133
|
-
type: import("vue").PropType<ActivityType[]>;
|
|
134
|
-
required: true;
|
|
135
|
-
};
|
|
136
|
-
isEditable: {
|
|
137
|
-
type: import("vue").PropType<boolean | "only-own">;
|
|
138
|
-
required: true;
|
|
139
|
-
};
|
|
140
|
-
showsArchived: {
|
|
141
|
-
type: import("vue").PropType<boolean>;
|
|
142
|
-
required: true;
|
|
143
|
-
};
|
|
144
|
-
attachmentEnabled: {
|
|
145
|
-
type: import("vue").PropType<boolean>;
|
|
146
|
-
required: true;
|
|
147
|
-
};
|
|
148
|
-
timeTrackingData: {
|
|
149
|
-
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
150
|
-
};
|
|
151
|
-
}>> & {
|
|
70
|
+
"update:showsArchived": (value: boolean) => void;
|
|
71
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
152
72
|
onArchiveActivity?: ((payload: {
|
|
153
|
-
id:
|
|
73
|
+
id: Id;
|
|
154
74
|
}) => any) | undefined;
|
|
155
75
|
onUnarchiveActivity?: ((payload: {
|
|
156
|
-
id:
|
|
76
|
+
id: Id;
|
|
157
77
|
}) => any) | undefined;
|
|
158
|
-
onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
|
|
159
|
-
onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
|
|
160
78
|
onDeleteSubtask?: ((payload: {
|
|
161
|
-
id:
|
|
79
|
+
id: Id;
|
|
162
80
|
}) => any) | undefined;
|
|
163
81
|
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
82
|
+
onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
|
|
83
|
+
onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
|
|
164
84
|
"onUpdate:activity"?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
165
85
|
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
166
86
|
onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
|
|
@@ -170,31 +90,37 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
170
90
|
onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
|
|
171
91
|
onUpdatePhase?: ((payload: UpdatePhasePayload) => any) | undefined;
|
|
172
92
|
onAddActivity?: ((payload: AddActivityPayload) => any) | undefined;
|
|
93
|
+
onAddPhase?: ((payload: AddPhasePayload) => any) | undefined;
|
|
173
94
|
onArchivePhase?: ((payload: {
|
|
174
|
-
id:
|
|
95
|
+
id: Id;
|
|
175
96
|
}) => any) | undefined;
|
|
176
97
|
onUnarchivePhase?: ((payload: {
|
|
177
|
-
id:
|
|
98
|
+
id: Id;
|
|
178
99
|
}) => any) | undefined;
|
|
179
100
|
onArchiveMilestone?: ((payload: {
|
|
180
|
-
id:
|
|
101
|
+
id: Id;
|
|
181
102
|
}) => any) | undefined;
|
|
182
103
|
onUnarchiveMilestone?: ((payload: {
|
|
183
|
-
id:
|
|
104
|
+
id: Id;
|
|
184
105
|
}) => any) | undefined;
|
|
185
|
-
onAddPhase?: ((payload: AddPhasePayload) => any) | undefined;
|
|
186
106
|
onCopyPhaseToTemplate?: ((payload: {
|
|
187
|
-
id:
|
|
107
|
+
id: Id;
|
|
188
108
|
}) => any) | undefined;
|
|
189
109
|
onApplyTemplate?: ((payload: ApplyTemplatePayload) => any) | undefined;
|
|
190
110
|
onSaveTemplate?: ((payload: SaveTemplatePayload) => any) | undefined;
|
|
191
111
|
"onUpdate:showsArchived"?: ((value: boolean) => any) | undefined;
|
|
192
|
-
}, {}, {}
|
|
193
|
-
|
|
194
|
-
activity: Activity;
|
|
195
|
-
}): any;
|
|
196
|
-
}>;
|
|
112
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
113
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
197
114
|
export default _default;
|
|
115
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
116
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
117
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
118
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
119
|
+
} : {
|
|
120
|
+
type: import('vue').PropType<T[K]>;
|
|
121
|
+
required: true;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
198
124
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
199
125
|
new (): {
|
|
200
126
|
$slots: S;
|
|
@@ -1,62 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
templateId:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
};
|
|
27
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1
|
+
import { Activity, TemplateDetails, TemplateItemType, AddItemPayload, UpdateItemPayload, AddRulePayload, RemoveRulePayload, ActivityType, AddFilesPayload, RemoveFilePayload, RemoveItemPayload, User } from '../types';
|
|
2
|
+
|
|
3
|
+
interface TemplateDetailsProps {
|
|
4
|
+
templateId: string;
|
|
5
|
+
templates?: TemplateDetails[];
|
|
6
|
+
users: User[];
|
|
7
|
+
phaseId?: string;
|
|
8
|
+
milestoneId?: string;
|
|
9
|
+
activityId?: string;
|
|
10
|
+
activityTypes?: ActivityType[];
|
|
11
|
+
}
|
|
12
|
+
declare function __VLS_template(): Readonly<{
|
|
13
|
+
activityDetailsBody(props: {
|
|
14
|
+
activity: Activity;
|
|
15
|
+
}): any;
|
|
16
|
+
}> & {
|
|
17
|
+
activityDetailsBody(props: {
|
|
18
|
+
activity: Activity;
|
|
19
|
+
}): any;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TemplateDetailsProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
removeFile: (payload: RemoveFilePayload) => void;
|
|
23
|
+
addFiles: (payload: AddFilesPayload) => void;
|
|
24
|
+
addRule: (payload: AddRulePayload) => void;
|
|
25
|
+
removeRule: (payload: RemoveRulePayload) => void;
|
|
28
26
|
addItem: (payload: AddItemPayload) => void;
|
|
29
27
|
removeItem: (payload: RemoveItemPayload<TemplateItemType>) => void;
|
|
30
28
|
updateItem: (payload: UpdateItemPayload<TemplateItemType>) => void;
|
|
31
|
-
|
|
32
|
-
removeRule: (payload: RemoveRulePayload) => void;
|
|
33
|
-
addFiles: (payload: AddFilesPayload) => void;
|
|
34
|
-
removeFile: (payload: RemoveFilePayload) => void;
|
|
35
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
-
templateId: {
|
|
37
|
-
type: import("vue").PropType<string>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
templates: {
|
|
41
|
-
type: import("vue").PropType<TemplateDetails[]>;
|
|
42
|
-
};
|
|
43
|
-
users: {
|
|
44
|
-
type: import("vue").PropType<User[]>;
|
|
45
|
-
required: true;
|
|
46
|
-
};
|
|
47
|
-
phaseId: {
|
|
48
|
-
type: import("vue").PropType<string>;
|
|
49
|
-
};
|
|
50
|
-
milestoneId: {
|
|
51
|
-
type: import("vue").PropType<string>;
|
|
52
|
-
};
|
|
53
|
-
activityId: {
|
|
54
|
-
type: import("vue").PropType<string>;
|
|
55
|
-
};
|
|
56
|
-
activityTypes: {
|
|
57
|
-
type: import("vue").PropType<ActivityType[]>;
|
|
58
|
-
};
|
|
59
|
-
}>> & {
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TemplateDetailsProps>>> & Readonly<{
|
|
60
30
|
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
61
31
|
onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
|
|
62
32
|
onAddRule?: ((payload: AddRulePayload) => any) | undefined;
|
|
@@ -64,12 +34,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
64
34
|
onAddItem?: ((payload: AddItemPayload) => any) | undefined;
|
|
65
35
|
onRemoveItem?: ((payload: RemoveItemPayload<TemplateItemType>) => any) | undefined;
|
|
66
36
|
onUpdateItem?: ((payload: UpdateItemPayload<TemplateItemType>) => any) | undefined;
|
|
67
|
-
}, {}, {}
|
|
68
|
-
|
|
69
|
-
activity: Activity;
|
|
70
|
-
}): any;
|
|
71
|
-
}>;
|
|
37
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
38
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
72
39
|
export default _default;
|
|
40
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
42
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
+
} : {
|
|
45
|
+
type: import('vue').PropType<T[K]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
73
49
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
74
50
|
new (): {
|
|
75
51
|
$slots: S;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}, {},
|
|
7
|
-
templates: {
|
|
8
|
-
type: import("vue").PropType<TemplateDetails[]>;
|
|
9
|
-
};
|
|
10
|
-
}>>, {}, {}>;
|
|
1
|
+
import { TemplateDetails } from '../types';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
templates?: TemplateDetails[];
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
7
|
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -1,21 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}, {},
|
|
1
|
+
import { TemplateDetails, UpdateItemPayload, TemplateItemType, RemoveItemPayload } from '../types';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
templates?: TemplateDetails[];
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
7
|
addTemplate: (template: Pick<TemplateDetails, "name" | "rank">) => void;
|
|
8
8
|
updateTemplates: (templates: TemplateDetails[]) => void;
|
|
9
9
|
updateItem: (item: UpdateItemPayload<TemplateItemType>) => void;
|
|
10
10
|
removeItem: (item: RemoveItemPayload<TemplateItemType>) => void;
|
|
11
|
-
}, string, import(
|
|
12
|
-
templates: {
|
|
13
|
-
type: import("vue").PropType<TemplateDetails[]>;
|
|
14
|
-
};
|
|
15
|
-
}>> & {
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
16
12
|
onRemoveItem?: ((item: RemoveItemPayload<TemplateItemType>) => any) | undefined;
|
|
17
13
|
onUpdateItem?: ((item: UpdateItemPayload<TemplateItemType>) => any) | undefined;
|
|
18
14
|
onAddTemplate?: ((template: Pick<TemplateDetails, "name" | "rank">) => any) | undefined;
|
|
19
15
|
onUpdateTemplates?: ((templates: TemplateDetails[]) => any) | undefined;
|
|
20
|
-
}, {}, {}>;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
21
17
|
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
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.42.
|
|
7
|
+
"version": "0.42.41",
|
|
8
8
|
"workspaces": [
|
|
9
9
|
"packages/*"
|
|
10
10
|
],
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"i18next-http-backend": "^2.2.1",
|
|
38
38
|
"i18next-vue": "^2.2.1",
|
|
39
39
|
"lexorank": "^1.0.5",
|
|
40
|
+
"suneditor": "^3.3.0",
|
|
40
41
|
"vue-color-kit": "^1.0.6"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|