@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,28 +1,77 @@
1
- import { ActivityStatus, AddActivityPayload, Id, Phase, StartTimerPayload, UpdateActivityPayload, UpdateMilestonePayload, User, TimeTracking } from '../types';
2
-
3
- type Props = {
4
- milestoneId: string;
5
- users: User[];
6
- projectId: string;
7
- phases?: Phase[];
8
- phaseId: string;
9
- isEditable?: boolean;
10
- closedStatus: ActivityStatus;
11
- timeTrackingData?: Record<Id, TimeTracking>;
12
- };
13
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ import { type ActivityStatus, type AddActivityPayload, type Id, type Phase, type StartTimerPayload, type UpdateActivityPayload, type UpdateMilestonePayload, type User, type TimeTracking } from '../types';
2
+ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ milestoneId: {
4
+ type: import("vue").PropType<string>;
5
+ required: true;
6
+ };
7
+ users: {
8
+ type: import("vue").PropType<User[]>;
9
+ required: true;
10
+ };
11
+ projectId: {
12
+ type: import("vue").PropType<string>;
13
+ required: true;
14
+ };
15
+ phases: {
16
+ type: import("vue").PropType<Phase[]>;
17
+ };
18
+ phaseId: {
19
+ type: import("vue").PropType<string>;
20
+ required: true;
21
+ };
22
+ isEditable: {
23
+ type: import("vue").PropType<boolean>;
24
+ };
25
+ closedStatus: {
26
+ type: import("vue").PropType<ActivityStatus>;
27
+ required: true;
28
+ };
29
+ timeTrackingData: {
30
+ type: import("vue").PropType<Record<string, TimeTracking>>;
31
+ };
32
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
33
  close: (e: Event) => void;
34
+ addActivity: (args_0: AddActivityPayload) => void;
35
+ updateMilestone: (args_0: UpdateMilestonePayload) => void;
15
36
  updateActivity: (args_0: UpdateActivityPayload) => void;
16
- startTimer: (payload: StartTimerPayload) => void;
17
37
  archiveActivity: (payload: {
18
38
  id: Id;
19
39
  }) => void;
20
40
  unarchiveActivity: (payload: {
21
41
  id: Id;
22
42
  }) => void;
23
- updateMilestone: (args_0: UpdateMilestonePayload) => void;
24
- addActivity: (args_0: AddActivityPayload) => void;
25
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
43
+ startTimer: (payload: StartTimerPayload) => void;
44
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
45
+ milestoneId: {
46
+ type: import("vue").PropType<string>;
47
+ required: true;
48
+ };
49
+ users: {
50
+ type: import("vue").PropType<User[]>;
51
+ required: true;
52
+ };
53
+ projectId: {
54
+ type: import("vue").PropType<string>;
55
+ required: true;
56
+ };
57
+ phases: {
58
+ type: import("vue").PropType<Phase[]>;
59
+ };
60
+ phaseId: {
61
+ type: import("vue").PropType<string>;
62
+ required: true;
63
+ };
64
+ isEditable: {
65
+ type: import("vue").PropType<boolean>;
66
+ };
67
+ closedStatus: {
68
+ type: import("vue").PropType<ActivityStatus>;
69
+ required: true;
70
+ };
71
+ timeTrackingData: {
72
+ type: import("vue").PropType<Record<string, TimeTracking>>;
73
+ };
74
+ }>> & Readonly<{
26
75
  onClose?: ((e: Event) => any) | undefined;
27
76
  onUpdateActivity?: ((args_0: UpdateActivityPayload) => any) | undefined;
28
77
  onStartTimer?: ((payload: StartTimerPayload) => any) | undefined;
@@ -34,14 +83,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
34
83
  }) => any) | undefined;
35
84
  onUpdateMilestone?: ((args_0: UpdateMilestonePayload) => any) | undefined;
36
85
  onAddActivity?: ((args_0: AddActivityPayload) => any) | undefined;
37
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
86
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
87
+ declare const _default: typeof __VLS_publicComponent;
38
88
  export default _default;
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToRuntimeProps<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
46
- };
47
- };
@@ -1,74 +1,154 @@
1
- import { Project, User, AddActivityPayload, UpdateActivityPayload, AddSubtaskPayload, AddFilesPayload, RemoveFilePayload, AddCommentPayload, UpdateCommentPayload, RemoveCommentPayload, AddPhasePayload, AddMilestonePayload, Id, Phase, ApplyTemplatePayload, UpdatePhasePayload, UpdateMilestonePayload, Subtask, ActivityStatus, UpdateSubtaskFieldPayload, Activity, ActivityType, SaveTemplatePayload, TimeTracking } from '../types';
2
-
3
- type Props = {
4
- project: Project;
5
- phases: Phase[];
6
- closedStatus: ActivityStatus;
7
- users: User[];
8
- userId: Id;
1
+ import { type Project, type User, type AddActivityPayload, type UpdateActivityPayload, type AddSubtaskPayload, type AddFilesPayload, type RemoveFilePayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type AddPhasePayload, type AddMilestonePayload, type Id, type Phase, type ApplyTemplatePayload, type UpdatePhasePayload, type UpdateMilestonePayload, type Subtask, type ActivityStatus, type UpdateSubtaskFieldPayload, type Activity, type ActivityType, type SaveTemplatePayload, type TimeTracking } 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
- timeTrackingData?: Record<Id, TimeTracking>;
20
- };
21
- declare function __VLS_template(): Readonly<{
22
- activityDetailsBody(props: {
23
- activity: Activity;
24
- }): any;
25
- }> & {
26
- activityDetailsBody(props: {
27
- activity: Activity;
28
- }): any;
29
- };
30
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
- archiveActivity: (payload: {
32
- id: Id;
33
- }) => void;
34
- unarchiveActivity: (payload: {
35
- id: Id;
36
- }) => void;
37
- deleteSubtask: (payload: {
38
- id: Id;
39
- }) => void;
40
- removeFile: (payload: RemoveFilePayload) => void;
41
- updateComment: (payload: UpdateCommentPayload) => void;
42
- removeComment: (payload: RemoveCommentPayload) => void;
43
- "update:activity": (payload: UpdateActivityPayload) => void;
44
- addSubtask: (payload: AddSubtaskPayload) => void;
45
- updateSubtask: (payload: UpdateSubtaskFieldPayload) => void;
46
- addFiles: (payload: AddFilesPayload) => void;
47
- addComment: (payload: AddCommentPayload) => void;
48
- addMilestone: (payload: AddMilestonePayload) => void;
49
- updateMilestone: (payload: UpdateMilestonePayload) => void;
50
- updatePhase: (payload: UpdatePhasePayload) => void;
51
- addActivity: (payload: AddActivityPayload) => 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
+ timeTrackingData: {
54
+ type: import("vue").PropType<Record<string, TimeTracking>>;
55
+ };
56
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
52
57
  addPhase: (payload: AddPhasePayload) => void;
58
+ updatePhase: (payload: UpdatePhasePayload) => void;
53
59
  archivePhase: (payload: {
54
60
  id: Id;
55
61
  }) => void;
56
62
  unarchivePhase: (payload: {
57
63
  id: Id;
58
64
  }) => void;
65
+ addMilestone: (payload: AddMilestonePayload) => void;
66
+ updateMilestone: (payload: UpdateMilestonePayload) => void;
59
67
  archiveMilestone: (payload: {
60
68
  id: Id;
61
69
  }) => void;
62
70
  unarchiveMilestone: (payload: {
63
71
  id: Id;
64
72
  }) => void;
73
+ addActivity: (payload: AddActivityPayload) => void;
74
+ 'update:activity': (payload: UpdateActivityPayload) => void;
75
+ archiveActivity: (payload: {
76
+ id: Id;
77
+ }) => void;
65
78
  copyPhaseToTemplate: (payload: {
66
79
  id: Id;
67
80
  }) => void;
81
+ unarchiveActivity: (payload: {
82
+ id: Id;
83
+ }) => void;
84
+ addSubtask: (payload: AddSubtaskPayload) => void;
85
+ updateSubtask: (payload: UpdateSubtaskFieldPayload) => void;
86
+ deleteSubtask: (payload: {
87
+ id: Id;
88
+ }) => void;
89
+ addFiles: (payload: AddFilesPayload) => void;
90
+ removeFile: (payload: RemoveFilePayload) => void;
91
+ addComment: (payload: AddCommentPayload) => void;
92
+ updateComment: (payload: UpdateCommentPayload) => void;
93
+ removeComment: (payload: RemoveCommentPayload) => void;
68
94
  applyTemplate: (payload: ApplyTemplatePayload) => void;
69
95
  saveTemplate: (payload: SaveTemplatePayload) => void;
70
- "update:showsArchived": (value: boolean) => void;
71
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
96
+ 'update:showsArchived': (value: boolean) => void;
97
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
98
+ project: {
99
+ type: import("vue").PropType<Project>;
100
+ required: true;
101
+ };
102
+ phases: {
103
+ type: import("vue").PropType<Phase[]>;
104
+ required: true;
105
+ };
106
+ closedStatus: {
107
+ type: import("vue").PropType<ActivityStatus>;
108
+ required: true;
109
+ };
110
+ users: {
111
+ type: import("vue").PropType<User[]>;
112
+ required: true;
113
+ };
114
+ userId: {
115
+ type: import("vue").PropType<string>;
116
+ required: true;
117
+ };
118
+ templates: {
119
+ type: import("vue").PropType<{
120
+ id: Id;
121
+ name: string;
122
+ }[]>;
123
+ required: true;
124
+ };
125
+ isTaskCheckable: {
126
+ type: import("vue").PropType<(task: Subtask) => boolean>;
127
+ };
128
+ statuses: {
129
+ type: import("vue").PropType<ActivityStatus[]>;
130
+ required: true;
131
+ };
132
+ activityTypes: {
133
+ type: import("vue").PropType<ActivityType[]>;
134
+ required: true;
135
+ };
136
+ isEditable: {
137
+ type: import("vue").PropType<boolean | "only-own">;
138
+ required: true;
139
+ };
140
+ showsArchived: {
141
+ type: import("vue").PropType<boolean>;
142
+ required: true;
143
+ };
144
+ attachmentEnabled: {
145
+ type: import("vue").PropType<boolean>;
146
+ required: true;
147
+ };
148
+ timeTrackingData: {
149
+ type: import("vue").PropType<Record<string, TimeTracking>>;
150
+ };
151
+ }>> & Readonly<{
72
152
  onArchiveActivity?: ((payload: {
73
153
  id: Id;
74
154
  }) => any) | undefined;
@@ -109,18 +189,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
109
189
  onApplyTemplate?: ((payload: ApplyTemplatePayload) => any) | undefined;
110
190
  onSaveTemplate?: ((payload: SaveTemplatePayload) => any) | undefined;
111
191
  "onUpdate:showsArchived"?: ((value: boolean) => any) | undefined;
112
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
113
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
114
- export default _default;
115
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
116
- type __VLS_TypePropsToRuntimeProps<T> = {
117
- [K in keyof T]-?: {} extends Pick<T, K> ? {
118
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
119
- } : {
120
- type: import('vue').PropType<T[K]>;
121
- required: true;
122
- };
192
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
193
+ declare function __VLS_template(): {
194
+ activityDetailsBody(props: {
195
+ activity: Activity;
196
+ }): any;
123
197
  };
198
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_publicComponent, ReturnType<typeof __VLS_template>>;
199
+ export default _default;
124
200
  type __VLS_WithTemplateSlots<T, S> = T & {
125
201
  new (): {
126
202
  $slots: S;
@@ -1,51 +1,77 @@
1
- import { Activity, TemplateDetails, TemplateItemType, AddItemPayload, UpdateItemPayload, AddRulePayload, RemoveRulePayload, ActivityType, AddFilesPayload, RemoveFilePayload, RemoveItemPayload, User } from '../types';
2
-
3
- interface TemplateDetailsProps {
4
- templateId: string;
5
- templates?: TemplateDetails[];
6
- users: User[];
7
- phaseId?: string;
8
- milestoneId?: string;
9
- activityId?: string;
10
- activityTypes?: ActivityType[];
11
- }
12
- declare function __VLS_template(): Readonly<{
13
- activityDetailsBody(props: {
14
- activity: Activity;
15
- }): any;
16
- }> & {
17
- activityDetailsBody(props: {
18
- activity: Activity;
19
- }): any;
20
- };
21
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TemplateDetailsProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
- removeFile: (payload: RemoveFilePayload) => void;
23
- addFiles: (payload: AddFilesPayload) => void;
24
- addRule: (payload: AddRulePayload) => void;
25
- removeRule: (payload: RemoveRulePayload) => void;
1
+ import { type Activity, type TemplateDetails, type TemplateItemType, type AddItemPayload, type UpdateItemPayload, type AddRulePayload, type RemoveRulePayload, type ActivityType, type AddFilesPayload, type RemoveFilePayload, type RemoveItemPayload } from '../types';
2
+ import { type User } from '../types';
3
+ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ templateId: {
5
+ type: import("vue").PropType<string>;
6
+ required: true;
7
+ };
8
+ templates: {
9
+ type: import("vue").PropType<TemplateDetails[]>;
10
+ };
11
+ users: {
12
+ type: import("vue").PropType<User[]>;
13
+ required: true;
14
+ };
15
+ phaseId: {
16
+ type: import("vue").PropType<string>;
17
+ };
18
+ milestoneId: {
19
+ type: import("vue").PropType<string>;
20
+ };
21
+ activityId: {
22
+ type: import("vue").PropType<string>;
23
+ };
24
+ activityTypes: {
25
+ type: import("vue").PropType<ActivityType[]>;
26
+ };
27
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
28
  addItem: (payload: AddItemPayload) => void;
27
29
  removeItem: (payload: RemoveItemPayload<TemplateItemType>) => void;
28
30
  updateItem: (payload: UpdateItemPayload<TemplateItemType>) => void;
29
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TemplateDetailsProps>>> & Readonly<{
30
- onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
31
- onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
31
+ addRule: (payload: AddRulePayload) => void;
32
+ removeRule: (payload: RemoveRulePayload) => void;
33
+ addFiles: (payload: AddFilesPayload) => void;
34
+ removeFile: (payload: RemoveFilePayload) => void;
35
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
+ templateId: {
37
+ type: import("vue").PropType<string>;
38
+ required: true;
39
+ };
40
+ templates: {
41
+ type: import("vue").PropType<TemplateDetails[]>;
42
+ };
43
+ users: {
44
+ type: import("vue").PropType<User[]>;
45
+ required: true;
46
+ };
47
+ phaseId: {
48
+ type: import("vue").PropType<string>;
49
+ };
50
+ milestoneId: {
51
+ type: import("vue").PropType<string>;
52
+ };
53
+ activityId: {
54
+ type: import("vue").PropType<string>;
55
+ };
56
+ activityTypes: {
57
+ type: import("vue").PropType<ActivityType[]>;
58
+ };
59
+ }>> & Readonly<{
32
60
  onAddRule?: ((payload: AddRulePayload) => any) | undefined;
33
61
  onRemoveRule?: ((payload: RemoveRulePayload) => any) | undefined;
34
- onAddItem?: ((payload: AddItemPayload) => any) | undefined;
35
62
  onRemoveItem?: ((payload: RemoveItemPayload<TemplateItemType>) => any) | undefined;
63
+ onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
64
+ onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
65
+ onAddItem?: ((payload: AddItemPayload) => any) | undefined;
36
66
  onUpdateItem?: ((payload: UpdateItemPayload<TemplateItemType>) => any) | undefined;
37
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
38
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
39
- export default _default;
40
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
41
- type __VLS_TypePropsToRuntimeProps<T> = {
42
- [K in keyof T]-?: {} extends Pick<T, K> ? {
43
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
44
- } : {
45
- type: import('vue').PropType<T[K]>;
46
- required: true;
47
- };
67
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
68
+ declare function __VLS_template(): {
69
+ activityDetailsBody(props: {
70
+ activity: Activity;
71
+ }): any;
48
72
  };
73
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_publicComponent, ReturnType<typeof __VLS_template>>;
74
+ export default _default;
49
75
  type __VLS_WithTemplateSlots<T, S> = T & {
50
76
  new (): {
51
77
  $slots: S;
@@ -1,16 +1,12 @@
1
- import { TemplateDetails } from '../types';
2
-
3
- interface Props {
4
- templates?: TemplateDetails[];
5
- }
6
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
7
- export default _default;
8
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
- type __VLS_TypePropsToRuntimeProps<T> = {
10
- [K in keyof T]-?: {} extends Pick<T, K> ? {
11
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
- } : {
13
- type: import('vue').PropType<T[K]>;
14
- required: true;
1
+ import { type TemplateDetails } from '../types';
2
+ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ templates: {
4
+ type: import("vue").PropType<TemplateDetails[]>;
5
+ };
6
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
+ templates: {
8
+ type: import("vue").PropType<TemplateDetails[]>;
15
9
  };
16
- };
10
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: typeof __VLS_publicComponent;
12
+ export default _default;
@@ -1,26 +1,22 @@
1
- import { TemplateDetails, UpdateItemPayload, TemplateItemType, RemoveItemPayload } from '../types';
2
-
3
- interface Props {
4
- templates?: TemplateDetails[];
5
- }
6
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ import { type TemplateDetails, UpdateItemPayload, TemplateItemType, RemoveItemPayload } from '../types';
2
+ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ templates: {
4
+ type: import("vue").PropType<TemplateDetails[]>;
5
+ };
6
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
7
  addTemplate: (template: Pick<TemplateDetails, "name" | "rank">) => void;
8
8
  updateTemplates: (templates: TemplateDetails[]) => void;
9
9
  updateItem: (item: UpdateItemPayload<TemplateItemType>) => void;
10
10
  removeItem: (item: RemoveItemPayload<TemplateItemType>) => void;
11
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
11
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
+ templates: {
13
+ type: import("vue").PropType<TemplateDetails[]>;
14
+ };
15
+ }>> & Readonly<{
12
16
  onRemoveItem?: ((item: RemoveItemPayload<TemplateItemType>) => any) | undefined;
13
17
  onUpdateItem?: ((item: UpdateItemPayload<TemplateItemType>) => any) | undefined;
14
18
  onAddTemplate?: ((template: Pick<TemplateDetails, "name" | "rank">) => any) | undefined;
15
19
  onUpdateTemplates?: ((templates: TemplateDetails[]) => any) | undefined;
16
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
21
+ declare const _default: typeof __VLS_publicComponent;
17
22
  export default _default;
18
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
- type __VLS_TypePropsToRuntimeProps<T> = {
20
- [K in keyof T]-?: {} extends Pick<T, K> ? {
21
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
- } : {
23
- type: import('vue').PropType<T[K]>;
24
- required: true;
25
- };
26
- };
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "module",
5
5
  "license": "CC-BY-NC-ND-4.0",
6
6
  "author": "26lights <dev@26lights.com> (https://www.26lights.com)",
7
- "version": "0.42.44",
7
+ "version": "0.42.46",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],
@@ -23,7 +23,7 @@
23
23
  "start": "serve -p $PORT -c serve.json"
24
24
  },
25
25
  "peerDependencies": {
26
- "vue": "^3.3.4",
26
+ "vue": "^3.5.0",
27
27
  "vue-router": "~4.2.4",
28
28
  "vuedraggable": "~4.1.0"
29
29
  },
@@ -33,11 +33,14 @@
33
33
  "@vueform/multiselect": "^2.6.6",
34
34
  "@vueuse/core": "^10.8.0",
35
35
  "date-fns": "^2.30.0",
36
+ "dompurify": "^3.0.6",
36
37
  "i18next": "^23.2.8",
37
38
  "i18next-http-backend": "^2.2.1",
38
39
  "i18next-vue": "^2.2.1",
40
+ "lexical": "^0.49.0",
41
+ "lexical-vue": "^0.14.1",
39
42
  "lexorank": "^1.0.5",
40
- "suneditor": "^3.3.0",
43
+ "markdown-it": "^13.0.1",
41
44
  "vue-color-kit": "^1.0.6"
42
45
  },
43
46
  "devDependencies": {
@@ -64,7 +67,7 @@
64
67
  "vite": "^4.3.9",
65
68
  "vite-plugin-dts": "^3.2.0",
66
69
  "vitest": "^0.32.0",
67
- "vue": "^3.3.4",
70
+ "vue": "^3.5.0",
68
71
  "vue-router": "~4.2.4",
69
72
  "vue-tsc": "^1.6.5",
70
73
  "vuedraggable": "~4.1.0"
@@ -1,37 +0,0 @@
1
- type Props = {
2
- content?: string;
3
- };
4
- declare function __VLS_template(): {
5
- placeholder?(_: {}): any;
6
- };
7
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
- content: string;
9
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
10
- content: string;
11
- }>>> & Readonly<{}>, {
12
- content: string;
13
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
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]>;
22
- required: true;
23
- };
24
- };
25
- type __VLS_WithDefaults<P, D> = {
26
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
- default: D[K];
28
- }> : P[K];
29
- };
30
- type __VLS_Prettify<T> = {
31
- [K in keyof T]: T[K];
32
- } & {};
33
- type __VLS_WithTemplateSlots<T, S> = T & {
34
- new (): {
35
- $slots: S;
36
- };
37
- };