@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,59 +1,148 @@
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 Id, 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 __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
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
+ }>, {}, {}, {}, {}, 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: Id;
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: "error" | "success") => void;
68
+ }, string, import("vue").PublicProps, 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
+ }>> & Readonly<{
121
+ onClose?: ((args_0?: void | undefined) => any) | undefined;
122
+ onDeleteSubtask?: ((payload: {
123
+ id: Id;
124
+ }) => any) | undefined;
125
+ onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
126
+ onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
127
+ onRemoveComment?: ((payload: RemoveCommentPayload) => 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: "error" | "success") => any) | undefined;
134
+ }>, {
135
+ projects: Project[];
136
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
137
+ declare function __VLS_template(): {
27
138
  header(): any;
28
139
  default(props: {
29
140
  activity: Activity;
30
141
  }): any;
31
142
  footer(): any;
32
143
  };
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>>;
144
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_publicComponent, ReturnType<typeof __VLS_template>>;
39
145
  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
146
  type __VLS_WithTemplateSlots<T, S> = T & {
58
147
  new (): {
59
148
  $slots: S;
@@ -1,15 +1,22 @@
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 Id, type User } from '../types';
2
+ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
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
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
20
  createComment: (payload: {
14
21
  authorId: string;
15
22
  message: string;
@@ -23,10 +30,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
23
30
  removeComment: (payload: {
24
31
  id: Id;
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").PublicProps, 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
+ }>> & Readonly<{
30
51
  onCreateComment?: ((payload: {
31
52
  authorId: string;
32
53
  message: string;
@@ -43,22 +64,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
43
64
  }>, {
44
65
  comments: Comment[];
45
66
  newComment: string;
46
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
67
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
68
+ declare const _default: typeof __VLS_publicComponent;
47
69
  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,34 @@
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 __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ attachments: {
4
+ type: import("vue").PropType<[] | Attachment[] | undefined>;
5
+ required: true;
6
+ };
7
+ isEditable: {
8
+ type: import("vue").PropType<boolean>;
9
+ };
10
+ }>, {}, {}, {}, {}, 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<{
14
+ }, string, import("vue").PublicProps, 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
+ }>> & Readonly<{
17
23
  onRemove?: ((value: Attachment) => any) | undefined;
18
24
  onAdd?: ((value: [] | File[]) => 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>>;
22
- 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
- };
26
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
27
+ declare function __VLS_template(): {
28
+ default?(_: {}): any;
31
29
  };
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_publicComponent, ReturnType<typeof __VLS_template>>;
31
+ export default _default;
32
32
  type __VLS_WithTemplateSlots<T, S> = T & {
33
33
  new (): {
34
34
  $slots: S;
@@ -1,33 +1,58 @@
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 Id, type Subtask, type UpdateSubtaskFieldPayload, type AddSubtaskPayload, type User } from '../types';
2
+ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
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
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
24
  add: (payload: AddSubtaskPayload) => void;
13
25
  delete: (payload: {
14
26
  id: Id;
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").PublicProps, 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
+ }>> & Readonly<{
18
51
  onAdd?: ((payload: AddSubtaskPayload) => any) | undefined;
19
52
  onDelete?: ((payload: {
20
53
  id: Id;
21
54
  }) => any) | undefined;
22
55
  onUpdate?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
23
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
56
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
57
+ declare const _default: typeof __VLS_publicComponent;
24
58
  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,32 @@
1
- import { Id } from '../types';
2
-
3
- type Props = {
4
- projectId: Id;
1
+ import { type Id } from '../types';
2
+ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ projectId: {
4
+ type: import("vue").PropType<string>;
5
+ required: true;
6
+ };
5
7
  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, {
8
+ type: import("vue").PropType<{
9
+ id: Id;
10
+ name: string;
11
+ }[]>;
12
+ required: true;
13
+ };
14
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
15
  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]>;
16
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
+ projectId: {
18
+ type: import("vue").PropType<string>;
22
19
  required: true;
23
20
  };
24
- };
21
+ templates: {
22
+ type: import("vue").PropType<{
23
+ id: Id;
24
+ name: string;
25
+ }[]>;
26
+ required: true;
27
+ };
28
+ }>> & Readonly<{
29
+ onApply?: ((templateId: string, projectId: string) => any) | undefined;
30
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
31
+ declare const _default: typeof __VLS_publicComponent;
32
+ export default _default;
@@ -1,41 +1,50 @@
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 __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
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
+ }>, {}, {}, {}, {}, 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").PublicProps, 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
+ }>> & Readonly<{
19
44
  onClose?: ((event: Event) => any) | undefined;
20
45
  }>, {
21
- size: SizeValues;
22
46
  color: ColorValues;
23
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
47
+ size: SizeValues;
48
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
49
+ declare const _default: typeof __VLS_publicComponent;
24
50
  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,13 @@
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 __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ color: {
3
+ type: import("vue").PropType<string>;
4
+ required: true;
5
+ };
6
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
+ color: {
8
+ type: import("vue").PropType<string>;
13
9
  required: true;
14
10
  };
15
- };
11
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: typeof __VLS_publicComponent;
13
+ export default _default;