@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,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
|
|
2
3
|
export default function useIsEditing(target: Ref<HTMLElement | null>): {
|
|
3
|
-
isEditing: Ref<boolean>;
|
|
4
|
+
isEditing: Ref<boolean, boolean>;
|
|
4
5
|
setIsEditing: (v: boolean) => void;
|
|
5
6
|
toggleIsEditing: () => void;
|
|
6
|
-
onUpdate: (cb?: (
|
|
7
|
+
onUpdate: (cb?: (v: string, e?: event) => void) => (e: Event) => Promise<void>;
|
|
7
8
|
onDiscard: (cb?: () => void) => () => Promise<void>;
|
|
8
9
|
};
|
package/dist/src/helpers.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Activity, ActivityStatus, Milestone, MilestoneStatus, Ordered, Phase, User, Id } from './types';
|
|
2
|
+
import { DraggableChangeEvent } from './types/utils';
|
|
3
|
+
import { Ref } from 'vue';
|
|
4
|
+
|
|
4
5
|
/**
|
|
5
6
|
* Formats minutes into a human-readable time format
|
|
6
7
|
* @param minutes - Time in minutes
|
|
@@ -29,16 +30,22 @@ export declare function milestoneWithStatus(milestone: Milestone, closedStatus:
|
|
|
29
30
|
export declare const getUserName: (user: User | undefined | null) => string;
|
|
30
31
|
export declare function lightenColor(color: string, alpha?: number): string;
|
|
31
32
|
export declare function useMentions(textareaRef: Ref<HTMLTextAreaElement | null | undefined>, messageModel: Ref<string>, allUsers: Ref<User[]>): {
|
|
32
|
-
showMentionList: Ref<boolean>;
|
|
33
|
+
showMentionList: Ref<boolean, boolean>;
|
|
33
34
|
mentionListPosition: Ref<{
|
|
34
35
|
top: number;
|
|
35
36
|
left: number;
|
|
37
|
+
}, {
|
|
38
|
+
top: number;
|
|
39
|
+
left: number;
|
|
40
|
+
} | {
|
|
41
|
+
top: number;
|
|
42
|
+
left: number;
|
|
36
43
|
}>;
|
|
37
|
-
filteredUsers: import(
|
|
44
|
+
filteredUsers: import('vue').ComputedRef<{
|
|
38
45
|
id: string;
|
|
39
46
|
name: string;
|
|
40
47
|
}[]>;
|
|
41
|
-
mentionQuery: Ref<string>;
|
|
48
|
+
mentionQuery: Ref<string, string>;
|
|
42
49
|
handleInput: (event: Event) => void;
|
|
43
50
|
handleKeydown: (event: KeyboardEvent) => void;
|
|
44
51
|
selectUserMention: (name: string) => void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare const useI18n: Promise<import('i18next').TFunction<"translation", undefined>>;
|
|
3
4
|
export default function (app: App): App<any>;
|
package/dist/src/main.d.ts
CHANGED
|
@@ -1,87 +1,50 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
isTaskCheckable: {
|
|
39
|
-
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
40
|
-
default: undefined;
|
|
41
|
-
};
|
|
42
|
-
statuses: {
|
|
43
|
-
type: import("vue").PropType<ActivityStatus[]>;
|
|
44
|
-
required: true;
|
|
45
|
-
};
|
|
46
|
-
attachmentEnabled: {
|
|
47
|
-
type: import("vue").PropType<boolean>;
|
|
48
|
-
required: true;
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
projects: {
|
|
52
|
-
type: import("vue").PropType<Project[]>;
|
|
53
|
-
};
|
|
54
|
-
timeTrackingData: {
|
|
55
|
-
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
56
|
-
};
|
|
57
|
-
selectedActivity: {
|
|
58
|
-
type: import("vue").PropType<Activity>;
|
|
59
|
-
};
|
|
60
|
-
initialActivityId: {
|
|
61
|
-
type: import("vue").PropType<string>;
|
|
62
|
-
};
|
|
63
|
-
initialActivitySlug: {
|
|
64
|
-
type: import("vue").PropType<string>;
|
|
65
|
-
};
|
|
66
|
-
searchText: {
|
|
67
|
-
type: import("vue").PropType<string>;
|
|
68
|
-
default: string;
|
|
69
|
-
};
|
|
70
|
-
showsOnlyNonAssigned: {
|
|
71
|
-
type: import("vue").PropType<boolean>;
|
|
72
|
-
required: true;
|
|
73
|
-
};
|
|
74
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1
|
+
import { TimeTracking, Activity, ActivityStatus, ActivityType, AddActivityFeedPayload, AddCommentPayload, AddFilesPayload, AddSubtaskPayload, ChangeFeedActivitiesPayload, FeedFilters, Id, Project, RemoveCommentPayload, RemoveFilePayload, StartTimerPayload, Subtask, UpdateActivityPayload, UpdateCommentPayload, UpdateSubtaskFieldPayload, User } from '../types';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
activities: Activity[];
|
|
5
|
+
statuses: ActivityStatus[];
|
|
6
|
+
project?: Project;
|
|
7
|
+
projects?: Project[];
|
|
8
|
+
filters: FeedFilters;
|
|
9
|
+
activityTypes?: ActivityType[];
|
|
10
|
+
users: User[];
|
|
11
|
+
userId: Id;
|
|
12
|
+
initialActivityId?: Id;
|
|
13
|
+
initialActivitySlug?: Id;
|
|
14
|
+
searchText?: string;
|
|
15
|
+
showsArchivedActivities: boolean;
|
|
16
|
+
showsOnlyImportant: boolean;
|
|
17
|
+
showsOnlyNonAssigned: boolean;
|
|
18
|
+
selectedActivity?: Activity;
|
|
19
|
+
isTaskCheckable?: (task: Subtask) => boolean;
|
|
20
|
+
isEditable: boolean | 'only-own';
|
|
21
|
+
attachmentEnabled: boolean;
|
|
22
|
+
timeTrackingData?: Record<Id, TimeTracking>;
|
|
23
|
+
}
|
|
24
|
+
declare function __VLS_template(): Readonly<{
|
|
25
|
+
activityDetailsBody(props: {
|
|
26
|
+
activity: Activity;
|
|
27
|
+
}): any;
|
|
28
|
+
}> & {
|
|
29
|
+
activityDetailsBody(props: {
|
|
30
|
+
activity: Activity;
|
|
31
|
+
}): any;
|
|
32
|
+
};
|
|
33
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
34
|
+
searchText: string;
|
|
35
|
+
isTaskCheckable: undefined;
|
|
36
|
+
attachmentEnabled: boolean;
|
|
37
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
75
38
|
"change:activities": (payload: ChangeFeedActivitiesPayload) => void;
|
|
76
39
|
addActivity: (payload: AddActivityFeedPayload) => void;
|
|
77
40
|
"update:filters": (value: FeedFilters) => void;
|
|
78
41
|
selectActivity: (activityId: string | null, activitySlug: string | null) => void;
|
|
79
42
|
"update:activity": (payload: UpdateActivityPayload) => void;
|
|
80
43
|
archiveActivity: (payload: {
|
|
81
|
-
id:
|
|
44
|
+
id: Id;
|
|
82
45
|
}) => void;
|
|
83
46
|
unarchiveActivity: (payload: {
|
|
84
|
-
id:
|
|
47
|
+
id: Id;
|
|
85
48
|
}) => void;
|
|
86
49
|
"update:searchText": (value: string) => void;
|
|
87
50
|
"clear:searchText": (event: Event) => void;
|
|
@@ -91,107 +54,40 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
91
54
|
addSubtask: (payload: AddSubtaskPayload) => void;
|
|
92
55
|
updateSubtask: (payload: UpdateSubtaskFieldPayload) => void;
|
|
93
56
|
deleteSubtask: (payload: {
|
|
94
|
-
id:
|
|
57
|
+
id: Id;
|
|
95
58
|
}) => void;
|
|
96
59
|
addFiles: (payload: AddFilesPayload) => void;
|
|
97
60
|
removeFile: (payload: RemoveFilePayload) => void;
|
|
98
61
|
addComment: (payload: AddCommentPayload) => void;
|
|
99
62
|
updateComment: (payload: UpdateCommentPayload) => void;
|
|
100
63
|
removeComment: (payload: RemoveCommentPayload) => void;
|
|
101
|
-
toast: (message: string, type: "
|
|
64
|
+
toast: (message: string, type: "error" | "success") => void;
|
|
102
65
|
startTimer: (payload: StartTimerPayload) => void;
|
|
103
|
-
}, string, import(
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
activities: {
|
|
109
|
-
type: import("vue").PropType<Activity[]>;
|
|
110
|
-
required: true;
|
|
111
|
-
};
|
|
112
|
-
project: {
|
|
113
|
-
type: import("vue").PropType<Project>;
|
|
114
|
-
};
|
|
115
|
-
isEditable: {
|
|
116
|
-
type: import("vue").PropType<boolean | "only-own">;
|
|
117
|
-
required: true;
|
|
118
|
-
};
|
|
119
|
-
users: {
|
|
120
|
-
type: import("vue").PropType<User[]>;
|
|
121
|
-
required: true;
|
|
122
|
-
};
|
|
123
|
-
userId: {
|
|
124
|
-
type: import("vue").PropType<string>;
|
|
125
|
-
required: true;
|
|
126
|
-
};
|
|
127
|
-
showsArchivedActivities: {
|
|
128
|
-
type: import("vue").PropType<boolean>;
|
|
129
|
-
required: true;
|
|
130
|
-
};
|
|
131
|
-
showsOnlyImportant: {
|
|
132
|
-
type: import("vue").PropType<boolean>;
|
|
133
|
-
required: true;
|
|
134
|
-
};
|
|
135
|
-
activityTypes: {
|
|
136
|
-
type: import("vue").PropType<ActivityType[]>;
|
|
137
|
-
};
|
|
138
|
-
isTaskCheckable: {
|
|
139
|
-
type: import("vue").PropType<(task: Subtask) => boolean>;
|
|
140
|
-
default: undefined;
|
|
141
|
-
};
|
|
142
|
-
statuses: {
|
|
143
|
-
type: import("vue").PropType<ActivityStatus[]>;
|
|
144
|
-
required: true;
|
|
145
|
-
};
|
|
146
|
-
attachmentEnabled: {
|
|
147
|
-
type: import("vue").PropType<boolean>;
|
|
148
|
-
required: true;
|
|
149
|
-
default: boolean;
|
|
150
|
-
};
|
|
151
|
-
projects: {
|
|
152
|
-
type: import("vue").PropType<Project[]>;
|
|
153
|
-
};
|
|
154
|
-
timeTrackingData: {
|
|
155
|
-
type: import("vue").PropType<Record<string, TimeTracking>>;
|
|
156
|
-
};
|
|
157
|
-
selectedActivity: {
|
|
158
|
-
type: import("vue").PropType<Activity>;
|
|
159
|
-
};
|
|
160
|
-
initialActivityId: {
|
|
161
|
-
type: import("vue").PropType<string>;
|
|
162
|
-
};
|
|
163
|
-
initialActivitySlug: {
|
|
164
|
-
type: import("vue").PropType<string>;
|
|
165
|
-
};
|
|
166
|
-
searchText: {
|
|
167
|
-
type: import("vue").PropType<string>;
|
|
168
|
-
default: string;
|
|
169
|
-
};
|
|
170
|
-
showsOnlyNonAssigned: {
|
|
171
|
-
type: import("vue").PropType<boolean>;
|
|
172
|
-
required: true;
|
|
173
|
-
};
|
|
174
|
-
}>> & {
|
|
66
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
67
|
+
searchText: string;
|
|
68
|
+
isTaskCheckable: undefined;
|
|
69
|
+
attachmentEnabled: boolean;
|
|
70
|
+
}>>> & Readonly<{
|
|
175
71
|
onStartTimer?: ((payload: StartTimerPayload) => any) | undefined;
|
|
176
72
|
onSelectActivity?: ((activityId: string | null, activitySlug: string | null) => any) | undefined;
|
|
177
73
|
onArchiveActivity?: ((payload: {
|
|
178
|
-
id:
|
|
74
|
+
id: Id;
|
|
179
75
|
}) => any) | undefined;
|
|
180
76
|
onUnarchiveActivity?: ((payload: {
|
|
181
|
-
id:
|
|
77
|
+
id: Id;
|
|
182
78
|
}) => any) | undefined;
|
|
183
|
-
onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
|
|
184
|
-
onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
|
|
185
79
|
onDeleteSubtask?: ((payload: {
|
|
186
|
-
id:
|
|
80
|
+
id: Id;
|
|
187
81
|
}) => any) | undefined;
|
|
188
82
|
onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
|
|
83
|
+
onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
|
|
84
|
+
onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
|
|
189
85
|
"onUpdate:activity"?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
190
86
|
onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
|
|
191
87
|
onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
|
|
192
88
|
onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
|
|
193
89
|
onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
|
|
194
|
-
onToast?: ((message: string, type: "
|
|
90
|
+
onToast?: ((message: string, type: "error" | "success") => any) | undefined;
|
|
195
91
|
onAddActivity?: ((payload: AddActivityFeedPayload) => any) | undefined;
|
|
196
92
|
"onChange:activities"?: ((payload: ChangeFeedActivitiesPayload) => any) | undefined;
|
|
197
93
|
"onUpdate:filters"?: ((value: FeedFilters) => any) | undefined;
|
|
@@ -200,16 +96,30 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
200
96
|
"onUpdate:showsArchivedActivities"?: ((value: boolean) => any) | undefined;
|
|
201
97
|
"onUpdate:showsOnlyImportant"?: ((value: boolean) => any) | undefined;
|
|
202
98
|
"onUpdate:showsOnlyNonAssigned"?: ((value: boolean) => any) | undefined;
|
|
203
|
-
}
|
|
99
|
+
}>, {
|
|
204
100
|
isTaskCheckable: (task: Subtask) => boolean;
|
|
205
101
|
attachmentEnabled: boolean;
|
|
206
102
|
searchText: string;
|
|
207
|
-
}, {}
|
|
208
|
-
|
|
209
|
-
activity: Activity;
|
|
210
|
-
}): any;
|
|
211
|
-
}>;
|
|
103
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
104
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
212
105
|
export default _default;
|
|
106
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
107
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
108
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
109
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
110
|
+
} : {
|
|
111
|
+
type: import('vue').PropType<T[K]>;
|
|
112
|
+
required: true;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
type __VLS_WithDefaults<P, D> = {
|
|
116
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
117
|
+
default: D[K];
|
|
118
|
+
}> : P[K];
|
|
119
|
+
};
|
|
120
|
+
type __VLS_Prettify<T> = {
|
|
121
|
+
[K in keyof T]: T[K];
|
|
122
|
+
} & {};
|
|
213
123
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
214
124
|
new (): {
|
|
215
125
|
$slots: S;
|