@26lights/orcha 0.42.44 → 0.42.45

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 (140) hide show
  1. package/dist/orcha.cjs.js +2 -229
  2. package/dist/orcha.css +1 -1
  3. package/dist/orcha.es.js +7379 -27319
  4. package/dist/orcha.umd.js +3 -230
  5. package/dist/src/components/AoActivityDetails.vue.d.ts +137 -50
  6. package/dist/src/components/AoActivityDetailsComments.vue.d.ts +47 -43
  7. package/dist/src/components/AoActivityDetailsFiles.vue.d.ts +23 -25
  8. package/dist/src/components/AoActivityTasks.vue.d.ts +49 -25
  9. package/dist/src/components/AoAddTemplateModal.vue.d.ts +26 -20
  10. package/dist/src/components/AoAvatar.vue.d.ts +45 -37
  11. package/dist/src/components/AoBadge.vue.d.ts +10 -13
  12. package/dist/src/components/AoButton.vue.d.ts +82 -57
  13. package/dist/src/components/AoButtonCard.vue.d.ts +69 -54
  14. package/dist/src/components/AoButtonCheck.vue.d.ts +23 -21
  15. package/dist/src/components/AoCard.vue.d.ts +41 -44
  16. package/dist/src/components/AoCardFeed.vue.d.ts +126 -39
  17. package/dist/src/components/AoCardHoriz.vue.d.ts +60 -33
  18. package/dist/src/components/AoCardProjectItemMilestone.vue.d.ts +106 -39
  19. package/dist/src/components/AoCardProjectItemPhase.vue.d.ts +82 -42
  20. package/dist/src/components/AoCardTemplate.vue.d.ts +54 -23
  21. package/dist/src/components/AoCardTemplateItem.vue.d.ts +33 -16
  22. package/dist/src/components/AoCardTemplateItemActivity.vue.d.ts +17 -19
  23. package/dist/src/components/AoCardTemplateItemMilestone.vue.d.ts +11 -18
  24. package/dist/src/components/AoCardTemplateItemPhase.vue.d.ts +25 -20
  25. package/dist/src/components/AoCheckboxField.vue.d.ts +45 -42
  26. package/dist/src/components/AoColHeader.vue.d.ts +16 -13
  27. package/dist/src/components/AoColorPicker.vue.d.ts +16 -22
  28. package/dist/src/components/AoComment.vue.d.ts +51 -19
  29. package/dist/src/components/AoCondensedCardProjectItemPhase.vue.d.ts +82 -42
  30. package/dist/src/components/AoField.vue.d.ts +24 -33
  31. package/dist/src/components/AoIcon.vue.d.ts +21 -29
  32. package/dist/src/components/AoInputField.vue.d.ts +61 -50
  33. package/dist/src/components/AoListKanban.vue.d.ts +116 -23
  34. package/dist/src/components/AoModal.vue.d.ts +18 -28
  35. package/dist/src/components/AoMultiselect.vue.d.ts +15 -18
  36. package/dist/src/components/AoPageHeader.vue.d.ts +14 -15
  37. package/dist/src/components/AoProgress.vue.d.ts +23 -16
  38. package/dist/src/components/AoProjectPhase.vue.d.ts +66 -35
  39. package/dist/src/components/AoProjectPhases.vue.d.ts +68 -37
  40. package/dist/src/components/AoRuleLine.vue.d.ts +45 -31
  41. package/dist/src/components/AoSaveTemplateModal.vue.d.ts +14 -17
  42. package/dist/src/components/AoSearchField.vue.d.ts +32 -34
  43. package/dist/src/components/AoTabBar.vue.d.ts +6 -6
  44. package/dist/src/components/AoTag.vue.d.ts +50 -23
  45. package/dist/src/components/AoTemplateDetailsActivities.vue.d.ts +38 -21
  46. package/dist/src/components/AoTemplateDetailsMilestones.vue.d.ts +28 -19
  47. package/dist/src/components/AoTemplateRules.vue.d.ts +43 -18
  48. package/dist/src/components/AoTitle.vue.d.ts +51 -40
  49. package/dist/src/components/icons/AccountBoxSharp.vue.d.ts +1 -1
  50. package/dist/src/components/icons/AccountCircle.vue.d.ts +1 -1
  51. package/dist/src/components/icons/AccountTreeOutlineRounded.vue.d.ts +1 -1
  52. package/dist/src/components/icons/AccountTreeRounded.vue.d.ts +1 -1
  53. package/dist/src/components/icons/Add.vue.d.ts +1 -1
  54. package/dist/src/components/icons/AddBoxOutlineRounded.vue.d.ts +1 -1
  55. package/dist/src/components/icons/ArchiveOutlineRounded.vue.d.ts +1 -1
  56. package/dist/src/components/icons/ArrowBackRounded.vue.d.ts +1 -1
  57. package/dist/src/components/icons/ArrowDropDownRounded.vue.d.ts +1 -1
  58. package/dist/src/components/icons/ArrowForwardRounded.vue.d.ts +1 -1
  59. package/dist/src/components/icons/AssignmentOutlineRounded.vue.d.ts +1 -1
  60. package/dist/src/components/icons/AttachFileRounded.vue.d.ts +1 -1
  61. package/dist/src/components/icons/CalendarTodayOutlineRounded.vue.d.ts +1 -1
  62. package/dist/src/components/icons/CancelRounded.vue.d.ts +1 -1
  63. package/dist/src/components/icons/ChatOutline.vue.d.ts +1 -1
  64. package/dist/src/components/icons/CheckBoxOutlineBlank.vue.d.ts +1 -1
  65. package/dist/src/components/icons/CheckBoxOutlineBlankSharp.vue.d.ts +1 -1
  66. package/dist/src/components/icons/CheckBoxOutlineRounded.vue.d.ts +1 -1
  67. package/dist/src/components/icons/CheckSmallRounded.vue.d.ts +1 -1
  68. package/dist/src/components/icons/ChecklistRounded.vue.d.ts +1 -1
  69. package/dist/src/components/icons/ChevronLeft.vue.d.ts +1 -1
  70. package/dist/src/components/icons/ChevronRight.vue.d.ts +1 -1
  71. package/dist/src/components/icons/CloseRounded.vue.d.ts +1 -1
  72. package/dist/src/components/icons/ContactsOutlineRounded.vue.d.ts +1 -1
  73. package/dist/src/components/icons/ContentCopyOutline.vue.d.ts +1 -1
  74. package/dist/src/components/icons/DeleteOutlineRounded.vue.d.ts +1 -1
  75. package/dist/src/components/icons/DragIndicator.vue.d.ts +1 -1
  76. package/dist/src/components/icons/EditDocumentRounded.vue.d.ts +1 -1
  77. package/dist/src/components/icons/EditOutline.vue.d.ts +1 -1
  78. package/dist/src/components/icons/ErrorOutlineRounded.vue.d.ts +1 -1
  79. package/dist/src/components/icons/FilterListRounded.vue.d.ts +1 -1
  80. package/dist/src/components/icons/FlagRounded.vue.d.ts +1 -1
  81. package/dist/src/components/icons/FlowsheetOutlineRounded.vue.d.ts +1 -1
  82. package/dist/src/components/icons/GifBox.vue.d.ts +1 -1
  83. package/dist/src/components/icons/GroupsOutline.vue.d.ts +1 -1
  84. package/dist/src/components/icons/HomeOutlineRounded.vue.d.ts +1 -1
  85. package/dist/src/components/icons/ImageRounded.vue.d.ts +1 -1
  86. package/dist/src/components/icons/Info.vue.d.ts +1 -1
  87. package/dist/src/components/icons/KeyboardArrowDown.vue.d.ts +1 -1
  88. package/dist/src/components/icons/KeyboardArrowUp.vue.d.ts +1 -1
  89. package/dist/src/components/icons/Loading.vue.d.ts +1 -1
  90. package/dist/src/components/icons/Lock.vue.d.ts +1 -1
  91. package/dist/src/components/icons/LogoutRounded.vue.d.ts +1 -1
  92. package/dist/src/components/icons/Menu.vue.d.ts +1 -1
  93. package/dist/src/components/icons/MoreHoriz.vue.d.ts +1 -1
  94. package/dist/src/components/icons/MoreTimeRounded.vue.d.ts +1 -1
  95. package/dist/src/components/icons/MoreVert.vue.d.ts +1 -1
  96. package/dist/src/components/icons/MountainFlagOutlineRounded.vue.d.ts +1 -1
  97. package/dist/src/components/icons/PersonAddOutlineRounded.vue.d.ts +1 -1
  98. package/dist/src/components/icons/PictureAsPdfRounded.vue.d.ts +1 -1
  99. package/dist/src/components/icons/RadioButtonChecked.vue.d.ts +1 -1
  100. package/dist/src/components/icons/RadioButtonCheckedOutline.vue.d.ts +1 -1
  101. package/dist/src/components/icons/RadioButtonUnchecked.vue.d.ts +1 -1
  102. package/dist/src/components/icons/RemoveRounded.vue.d.ts +1 -1
  103. package/dist/src/components/icons/SearchRounded.vue.d.ts +1 -1
  104. package/dist/src/components/icons/SelectCheckBox.vue.d.ts +1 -1
  105. package/dist/src/components/icons/SendRounded.vue.d.ts +1 -1
  106. package/dist/src/components/icons/Settings.vue.d.ts +1 -1
  107. package/dist/src/components/icons/SlideshowRounded.vue.d.ts +1 -1
  108. package/dist/src/components/icons/Target.vue.d.ts +1 -1
  109. package/dist/src/components/icons/TaskOutlineRounded.vue.d.ts +1 -1
  110. package/dist/src/components/icons/TextSnippetRounded.vue.d.ts +1 -1
  111. package/dist/src/components/icons/TimerOutline.vue.d.ts +1 -1
  112. package/dist/src/components/icons/ViewComfyAltRounded.vue.d.ts +1 -1
  113. package/dist/src/components/icons/ViewCompactAltRounded.vue.d.ts +1 -1
  114. package/dist/src/components/icons/ViewTimelineRounded.vue.d.ts +1 -1
  115. package/dist/src/components/icons/WarningOutlineRounded.vue.d.ts +1 -1
  116. package/dist/src/components/icons/WarningRounded.vue.d.ts +1 -1
  117. package/dist/src/components/icons/WaterfallChartRounded.vue.d.ts +1 -1
  118. package/dist/src/composables/useDetachedOptions.d.ts +1 -2
  119. package/dist/src/composables/useGetDefaultRankAndName.d.ts +1 -2
  120. package/dist/src/composables/useIsEditing.d.ts +3 -4
  121. package/dist/src/composables/useSearchField.d.ts +1 -1
  122. package/dist/src/composables/useSelectAddedElement.d.ts +1 -2
  123. package/dist/src/helpers.d.ts +6 -13
  124. package/dist/src/i18n/i18next.d.ts +2 -3
  125. package/dist/src/main.d.ts +0 -1
  126. package/dist/src/router/routes.d.ts +1 -2
  127. package/dist/src/types/components.d.ts +2 -3
  128. package/dist/src/types/styles.d.ts +1 -1
  129. package/dist/src/types/utils.d.ts +1 -2
  130. package/dist/src/views/AoFeed.vue.d.ts +162 -72
  131. package/dist/src/views/AoMapping.vue.d.ts +118 -49
  132. package/dist/src/views/AoProjectOverviewActivityDetails.vue.d.ts +125 -43
  133. package/dist/src/views/AoProjectOverviewMilestoneDetails.vue.d.ts +71 -31
  134. package/dist/src/views/AoProjectOverviewProject.vue.d.ts +153 -79
  135. package/dist/src/views/AoTemplateDetails.vue.d.ts +61 -37
  136. package/dist/src/views/AoTemplates.vue.d.ts +10 -15
  137. package/dist/src/views/AoTemplatesList.vue.d.ts +12 -17
  138. package/package.json +1 -2
  139. package/dist/src/components/AoRichTextContent.vue.d.ts +0 -37
  140. package/dist/src/components/AoRichTextEditor.vue.d.ts +0 -45
@@ -1,59 +1,146 @@
1
- import { ActivityFeed, Milestone, Id, User, Activity, Subtask, ActivityStatus, ActivityType, Project, TimeTracking } from '../types/index';
2
-
3
- interface Props {
4
- activity: Activity;
5
- activityTypes?: ActivityType[];
6
- breadcrumbs?: string;
7
- milestoneId?: string;
8
- templateActivities: Array<Activity | ActivityFeed>;
9
- templateMilestones?: Milestone[];
10
- isTemplate?: boolean;
11
- users: User[];
12
- userId?: string;
13
- isTaskCheckable?: (task: Subtask) => boolean;
14
- statuses?: ActivityStatus[];
15
- isEditable: boolean | 'only-own';
16
- attachmentEnabled: boolean;
17
- projects?: Project[];
18
- timeTrackingData?: Record<Id, TimeTracking>;
19
- }
20
- declare function __VLS_template(): Readonly<{
21
- header(): any;
22
- default(props: {
23
- activity: Activity;
24
- }): any;
25
- footer(): any;
26
- }> & {
1
+ import { type ActivityFeed, type Milestone, type UpdateSubtaskFieldPayload, type AddSubtaskPayload, type User, type AddFilesPayload, type RemoveFilePayload, type UpdateActivityPayload, type Activity, type Subtask, type ActivityStatus, type AddCommentPayload, type RemoveCommentPayload, type UpdateCommentPayload, type ActivityType, type Project, type TimeTracking } from '../types/index';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ isEditable: {
4
+ type: import("vue").PropType<boolean | "only-own">;
5
+ required: true;
6
+ };
7
+ breadcrumbs: {
8
+ type: import("vue").PropType<string>;
9
+ };
10
+ users: {
11
+ type: import("vue").PropType<User[]>;
12
+ required: true;
13
+ };
14
+ userId: {
15
+ type: import("vue").PropType<string>;
16
+ };
17
+ activity: {
18
+ type: import("vue").PropType<Activity>;
19
+ required: true;
20
+ };
21
+ isTemplate: {
22
+ type: import("vue").PropType<boolean>;
23
+ };
24
+ activityTypes: {
25
+ type: import("vue").PropType<ActivityType[]>;
26
+ };
27
+ milestoneId: {
28
+ type: import("vue").PropType<string>;
29
+ };
30
+ templateActivities: {
31
+ type: import("vue").PropType<(Activity | ActivityFeed<import('../types/index').ActivityFeedStatus>)[]>;
32
+ required: true;
33
+ };
34
+ templateMilestones: {
35
+ type: import("vue").PropType<Milestone[]>;
36
+ };
37
+ isTaskCheckable: {
38
+ type: import("vue").PropType<(task: Subtask) => boolean>;
39
+ };
40
+ statuses: {
41
+ type: import("vue").PropType<ActivityStatus[]>;
42
+ };
43
+ attachmentEnabled: {
44
+ type: import("vue").PropType<boolean>;
45
+ required: true;
46
+ };
47
+ projects: {
48
+ type: import("vue").PropType<Project[]>;
49
+ default: () => never[];
50
+ };
51
+ timeTrackingData: {
52
+ type: import("vue").PropType<Record<string, TimeTracking>>;
53
+ };
54
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
55
+ 'update:activity': (payload: UpdateActivityPayload) => void;
56
+ close: (args_0: void) => void;
57
+ addSubtask: (payload: AddSubtaskPayload) => void;
58
+ updateSubtask: (payload: UpdateSubtaskFieldPayload) => void;
59
+ deleteSubtask: (payload: {
60
+ id: string;
61
+ }) => void;
62
+ addFiles: (payload: AddFilesPayload) => void;
63
+ removeFile: (payload: RemoveFilePayload) => void;
64
+ addComment: (payload: AddCommentPayload) => void;
65
+ updateComment: (payload: UpdateCommentPayload) => void;
66
+ removeComment: (payload: RemoveCommentPayload) => void;
67
+ toast: (messageKey: string, type: "success" | "error") => void;
68
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
69
+ isEditable: {
70
+ type: import("vue").PropType<boolean | "only-own">;
71
+ required: true;
72
+ };
73
+ breadcrumbs: {
74
+ type: import("vue").PropType<string>;
75
+ };
76
+ users: {
77
+ type: import("vue").PropType<User[]>;
78
+ required: true;
79
+ };
80
+ userId: {
81
+ type: import("vue").PropType<string>;
82
+ };
83
+ activity: {
84
+ type: import("vue").PropType<Activity>;
85
+ required: true;
86
+ };
87
+ isTemplate: {
88
+ type: import("vue").PropType<boolean>;
89
+ };
90
+ activityTypes: {
91
+ type: import("vue").PropType<ActivityType[]>;
92
+ };
93
+ milestoneId: {
94
+ type: import("vue").PropType<string>;
95
+ };
96
+ templateActivities: {
97
+ type: import("vue").PropType<(Activity | ActivityFeed<import('../types/index').ActivityFeedStatus>)[]>;
98
+ required: true;
99
+ };
100
+ templateMilestones: {
101
+ type: import("vue").PropType<Milestone[]>;
102
+ };
103
+ isTaskCheckable: {
104
+ type: import("vue").PropType<(task: Subtask) => boolean>;
105
+ };
106
+ statuses: {
107
+ type: import("vue").PropType<ActivityStatus[]>;
108
+ };
109
+ attachmentEnabled: {
110
+ type: import("vue").PropType<boolean>;
111
+ required: true;
112
+ };
113
+ projects: {
114
+ type: import("vue").PropType<Project[]>;
115
+ default: () => never[];
116
+ };
117
+ timeTrackingData: {
118
+ type: import("vue").PropType<Record<string, TimeTracking>>;
119
+ };
120
+ }>> & {
121
+ onClose?: ((args_0?: void | undefined) => any) | undefined;
122
+ onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
123
+ onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
124
+ onDeleteSubtask?: ((payload: {
125
+ id: string;
126
+ }) => any) | undefined;
127
+ onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
128
+ "onUpdate:activity"?: ((payload: UpdateActivityPayload) => any) | undefined;
129
+ onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
130
+ onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
131
+ onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
132
+ onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
133
+ onToast?: ((messageKey: string, type: "success" | "error") => any) | undefined;
134
+ }, {
135
+ projects: Project[];
136
+ }, {}>, {
27
137
  header(): any;
28
138
  default(props: {
29
139
  activity: Activity;
30
140
  }): any;
31
141
  footer(): any;
32
- };
33
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
34
- projects: () => never[];
35
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, import('vue').PublicProps, any, {
36
- projects: Project[];
37
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
38
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
142
+ }>;
39
143
  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
- };
49
- type __VLS_WithDefaults<P, D> = {
50
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
51
- default: D[K];
52
- }> : P[K];
53
- };
54
- type __VLS_Prettify<T> = {
55
- [K in keyof T]: T[K];
56
- } & {};
57
144
  type __VLS_WithTemplateSlots<T, S> = T & {
58
145
  new (): {
59
146
  $slots: S;
@@ -1,64 +1,68 @@
1
- import { Comment, Id, User } from '../types';
2
-
3
- type Props = {
4
- comments?: Comment[];
5
- users: User[];
6
- newComment?: string;
7
- userId: Id;
8
- };
9
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
10
- comments: () => never[];
11
- newComment: string;
12
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ import { type Comment, type User } from '../types';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ comments: {
4
+ type: import("vue").PropType<Comment[]>;
5
+ default: () => never[];
6
+ };
7
+ users: {
8
+ type: import("vue").PropType<User[]>;
9
+ required: true;
10
+ };
11
+ userId: {
12
+ type: import("vue").PropType<string>;
13
+ required: true;
14
+ };
15
+ newComment: {
16
+ type: import("vue").PropType<string>;
17
+ default: string;
18
+ };
19
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
20
  createComment: (payload: {
14
21
  authorId: string;
15
22
  message: string;
16
- mentionedUserIds: Id[];
23
+ mentionedUserIds: string[];
17
24
  }) => void;
18
25
  updateComment: (payload: {
19
- id: Id;
26
+ id: string;
20
27
  message: string;
21
- mentionedUserIds: Id[];
28
+ mentionedUserIds: string[];
22
29
  }) => void;
23
30
  removeComment: (payload: {
24
- id: Id;
31
+ id: string;
25
32
  }) => void;
26
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
27
- comments: () => never[];
28
- newComment: string;
29
- }>>> & Readonly<{
33
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
34
+ comments: {
35
+ type: import("vue").PropType<Comment[]>;
36
+ default: () => never[];
37
+ };
38
+ users: {
39
+ type: import("vue").PropType<User[]>;
40
+ required: true;
41
+ };
42
+ userId: {
43
+ type: import("vue").PropType<string>;
44
+ required: true;
45
+ };
46
+ newComment: {
47
+ type: import("vue").PropType<string>;
48
+ default: string;
49
+ };
50
+ }>> & {
30
51
  onCreateComment?: ((payload: {
31
52
  authorId: string;
32
53
  message: string;
33
- mentionedUserIds: Id[];
54
+ mentionedUserIds: string[];
34
55
  }) => any) | undefined;
35
56
  onUpdateComment?: ((payload: {
36
- id: Id;
57
+ id: string;
37
58
  message: string;
38
- mentionedUserIds: Id[];
59
+ mentionedUserIds: string[];
39
60
  }) => any) | undefined;
40
61
  onRemoveComment?: ((payload: {
41
- id: Id;
62
+ id: string;
42
63
  }) => any) | undefined;
43
- }>, {
64
+ }, {
44
65
  comments: Comment[];
45
66
  newComment: string;
46
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
67
+ }, {}>;
47
68
  export default _default;
48
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
49
- type __VLS_TypePropsToRuntimeProps<T> = {
50
- [K in keyof T]-?: {} extends Pick<T, K> ? {
51
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
52
- } : {
53
- type: import('vue').PropType<T[K]>;
54
- required: true;
55
- };
56
- };
57
- type __VLS_WithDefaults<P, D> = {
58
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
59
- default: D[K];
60
- }> : P[K];
61
- };
62
- type __VLS_Prettify<T> = {
63
- [K in keyof T]: T[K];
64
- } & {};
@@ -1,34 +1,32 @@
1
- import { Attachment } from '../types';
2
-
3
- declare function __VLS_template(): {
4
- default?(_: {}): any;
5
- };
6
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- attachments: Attachment[] | [] | undefined;
8
- isEditable?: boolean;
9
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ import { type Attachment } from '../types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ attachments: {
4
+ type: import("vue").PropType<[] | Attachment[] | undefined>;
5
+ required: true;
6
+ };
7
+ isEditable: {
8
+ type: import("vue").PropType<boolean>;
9
+ };
10
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
11
  add: (value: [] | File[]) => void;
11
12
  toggleIsDropActive: (value: boolean) => void;
12
13
  remove: (value: Attachment) => void;
13
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
14
- attachments: Attachment[] | [] | undefined;
15
- isEditable?: boolean;
16
- }>>> & Readonly<{
17
- onRemove?: ((value: Attachment) => any) | undefined;
14
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
+ attachments: {
16
+ type: import("vue").PropType<[] | Attachment[] | undefined>;
17
+ required: true;
18
+ };
19
+ isEditable: {
20
+ type: import("vue").PropType<boolean>;
21
+ };
22
+ }>> & {
18
23
  onAdd?: ((value: [] | File[]) => any) | undefined;
24
+ onRemove?: ((value: Attachment) => any) | undefined;
19
25
  onToggleIsDropActive?: ((value: boolean) => any) | undefined;
20
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
21
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
26
+ }, {}, {}>, {
27
+ default?(_: {}): any;
28
+ }>;
22
29
  export default _default;
23
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
- type __VLS_TypePropsToRuntimeProps<T> = {
25
- [K in keyof T]-?: {} extends Pick<T, K> ? {
26
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
- } : {
28
- type: import('vue').PropType<T[K]>;
29
- required: true;
30
- };
31
- };
32
30
  type __VLS_WithTemplateSlots<T, S> = T & {
33
31
  new (): {
34
32
  $slots: S;
@@ -1,33 +1,57 @@
1
- import { Id, Subtask, UpdateSubtaskFieldPayload, AddSubtaskPayload, User } from '../types';
2
-
3
- type Props = {
4
- activityId: Id;
5
- tasks: Subtask[];
6
- isCheckable?: (task: Subtask) => boolean;
7
- users?: User[];
8
- isEditable?: boolean;
9
- isTemplate?: boolean;
10
- };
11
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ import { type Subtask, type UpdateSubtaskFieldPayload, type AddSubtaskPayload, type User } from '../types';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ activityId: {
4
+ type: import("vue").PropType<string>;
5
+ required: true;
6
+ };
7
+ tasks: {
8
+ type: import("vue").PropType<Subtask[]>;
9
+ required: true;
10
+ };
11
+ isCheckable: {
12
+ type: import("vue").PropType<(task: Subtask) => boolean>;
13
+ };
14
+ users: {
15
+ type: import("vue").PropType<User[]>;
16
+ };
17
+ isEditable: {
18
+ type: import("vue").PropType<boolean>;
19
+ };
20
+ isTemplate: {
21
+ type: import("vue").PropType<boolean>;
22
+ };
23
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
24
  add: (payload: AddSubtaskPayload) => void;
13
25
  delete: (payload: {
14
- id: Id;
26
+ id: string;
15
27
  }) => void;
16
28
  update: (payload: UpdateSubtaskFieldPayload) => void;
17
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
29
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
+ activityId: {
31
+ type: import("vue").PropType<string>;
32
+ required: true;
33
+ };
34
+ tasks: {
35
+ type: import("vue").PropType<Subtask[]>;
36
+ required: true;
37
+ };
38
+ isCheckable: {
39
+ type: import("vue").PropType<(task: Subtask) => boolean>;
40
+ };
41
+ users: {
42
+ type: import("vue").PropType<User[]>;
43
+ };
44
+ isEditable: {
45
+ type: import("vue").PropType<boolean>;
46
+ };
47
+ isTemplate: {
48
+ type: import("vue").PropType<boolean>;
49
+ };
50
+ }>> & {
51
+ onUpdate?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
18
52
  onAdd?: ((payload: AddSubtaskPayload) => any) | undefined;
19
53
  onDelete?: ((payload: {
20
- id: Id;
54
+ id: string;
21
55
  }) => any) | undefined;
22
- onUpdate?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
23
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
56
+ }, {}, {}>;
24
57
  export default _default;
25
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
- type __VLS_TypePropsToRuntimeProps<T> = {
27
- [K in keyof T]-?: {} extends Pick<T, K> ? {
28
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
- } : {
30
- type: import('vue').PropType<T[K]>;
31
- required: true;
32
- };
33
- };
@@ -1,24 +1,30 @@
1
- import { Id } from '../types';
2
-
3
- type Props = {
4
- projectId: Id;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ projectId: {
3
+ type: import("vue").PropType<string>;
4
+ required: true;
5
+ };
5
6
  templates: {
6
- id: Id;
7
- name: string;
8
- }[];
9
- };
10
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ type: import("vue").PropType<{
8
+ id: string;
9
+ name: string;
10
+ }[]>;
11
+ required: true;
12
+ };
13
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
14
  apply: (templateId: string, projectId: string) => void;
12
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
13
- onApply?: ((templateId: string, projectId: string) => any) | undefined;
14
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
- export default _default;
16
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
- type __VLS_TypePropsToRuntimeProps<T> = {
18
- [K in keyof T]-?: {} extends Pick<T, K> ? {
19
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
- } : {
21
- type: import('vue').PropType<T[K]>;
15
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
+ projectId: {
17
+ type: import("vue").PropType<string>;
22
18
  required: true;
23
19
  };
24
- };
20
+ templates: {
21
+ type: import("vue").PropType<{
22
+ id: string;
23
+ name: string;
24
+ }[]>;
25
+ required: true;
26
+ };
27
+ }>> & {
28
+ onApply?: ((templateId: string, projectId: string) => any) | undefined;
29
+ }, {}, {}>;
30
+ export default _default;
@@ -1,41 +1,49 @@
1
- import { SizeValues, ColorValues } from '../types/styles';
2
-
3
- interface Props {
4
- userName: string;
5
- avatarUrl?: string;
6
- isClosable?: boolean;
7
- size?: SizeValues;
8
- color?: ColorValues;
9
- }
10
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
11
- size: "md";
12
- color: string;
13
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ import { type SizeValues } from '../types/styles';
2
+ import { type ColorValues } from '../types/styles';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ color: {
5
+ type: import("vue").PropType<ColorValues>;
6
+ default: string;
7
+ };
8
+ size: {
9
+ type: import("vue").PropType<SizeValues>;
10
+ default: "md";
11
+ };
12
+ userName: {
13
+ type: import("vue").PropType<string>;
14
+ required: true;
15
+ };
16
+ avatarUrl: {
17
+ type: import("vue").PropType<string>;
18
+ };
19
+ isClosable: {
20
+ type: import("vue").PropType<boolean>;
21
+ };
22
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
23
  close: (event: Event) => void;
15
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
16
- size: "md";
17
- color: string;
18
- }>>> & Readonly<{
24
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ color: {
26
+ type: import("vue").PropType<ColorValues>;
27
+ default: string;
28
+ };
29
+ size: {
30
+ type: import("vue").PropType<SizeValues>;
31
+ default: "md";
32
+ };
33
+ userName: {
34
+ type: import("vue").PropType<string>;
35
+ required: true;
36
+ };
37
+ avatarUrl: {
38
+ type: import("vue").PropType<string>;
39
+ };
40
+ isClosable: {
41
+ type: import("vue").PropType<boolean>;
42
+ };
43
+ }>> & {
19
44
  onClose?: ((event: Event) => any) | undefined;
20
- }>, {
21
- size: SizeValues;
45
+ }, {
22
46
  color: ColorValues;
23
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
47
+ size: SizeValues;
48
+ }, {}>;
24
49
  export default _default;
25
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
- type __VLS_TypePropsToRuntimeProps<T> = {
27
- [K in keyof T]-?: {} extends Pick<T, K> ? {
28
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
- } : {
30
- type: import('vue').PropType<T[K]>;
31
- required: true;
32
- };
33
- };
34
- type __VLS_WithDefaults<P, D> = {
35
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
36
- default: D[K];
37
- }> : P[K];
38
- };
39
- type __VLS_Prettify<T> = {
40
- [K in keyof T]: T[K];
41
- } & {};
@@ -1,15 +1,12 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
- color: string;
3
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- color: string;
5
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
- export default _default;
7
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToRuntimeProps<T> = {
9
- [K in keyof T]-?: {} extends Pick<T, K> ? {
10
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
- } : {
12
- type: import('vue').PropType<T[K]>;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ color: {
3
+ type: import("vue").PropType<string>;
4
+ required: true;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ color: {
8
+ type: import("vue").PropType<string>;
13
9
  required: true;
14
10
  };
15
- };
11
+ }>>, {}, {}>;
12
+ export default _default;