@26lights/orcha 0.42.44 → 0.42.46

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