@voplus/morpho-workspace 1.1.0 → 1.2.0-dev.12

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 (635) hide show
  1. package/changelog.md +75 -0
  2. package/es/Modules.js +16 -7
  3. package/es/Modules.js.map +1 -1
  4. package/es/components/AssignPeople/index.js +7 -6
  5. package/es/components/AssignPeople/index.js.map +1 -1
  6. package/es/components/TimeLog/index.d.ts +1 -1
  7. package/es/components/TimeLog/index.js +7 -6
  8. package/es/components/TimeLog/index.js.map +1 -1
  9. package/es/controls/AssignButton/index.d.ts +9 -0
  10. package/es/controls/AssignButton/index.js +19 -0
  11. package/es/controls/AssignButton/index.js.map +1 -0
  12. package/es/controls/Corner/index.d.ts +9 -0
  13. package/es/controls/Corner/index.js +10 -0
  14. package/es/controls/Corner/index.js.map +1 -0
  15. package/es/controls/Corner/index.less +7 -0
  16. package/es/controls/InlineSearch/index.d.ts +6 -0
  17. package/es/controls/InlineSearch/index.js +42 -0
  18. package/es/controls/InlineSearch/index.js.map +1 -0
  19. package/es/controls/InlineSearch/index.less +10 -0
  20. package/es/controls/MoreOperateDropdown/index.d.ts +1 -1
  21. package/es/controls/MoreOperateDropdown/index.js +14 -13
  22. package/es/controls/MoreOperateDropdown/index.js.map +1 -1
  23. package/es/controls/StickyAddButton/index.d.ts +10 -0
  24. package/es/controls/StickyAddButton/index.js +14 -0
  25. package/es/controls/StickyAddButton/index.js.map +1 -0
  26. package/es/controls/StickyAddButton/index.less +21 -0
  27. package/es/controls/filters/AssigneeViewFilter/index.d.ts +4 -0
  28. package/es/controls/filters/AssigneeViewFilter/index.js +48 -0
  29. package/es/controls/filters/AssigneeViewFilter/index.js.map +1 -0
  30. package/es/controls/filters/AssigneeViewFilter/index.less +24 -0
  31. package/es/controls/filters/AssigneeViewFilter/state.d.ts +13 -0
  32. package/es/controls/filters/AssigneeViewFilter/state.js +44 -0
  33. package/es/controls/filters/AssigneeViewFilter/state.js.map +1 -0
  34. package/es/controls/filters/DueDateFilter/index.d.ts +3 -0
  35. package/es/controls/filters/DueDateFilter/index.js +22 -0
  36. package/es/controls/filters/DueDateFilter/index.js.map +1 -0
  37. package/es/controls/filters/DueDateFilter/state.d.ts +11 -0
  38. package/es/controls/filters/DueDateFilter/state.js +39 -0
  39. package/es/controls/filters/DueDateFilter/state.js.map +1 -0
  40. package/es/controls/filters/StartDateFilter/index.d.ts +10 -0
  41. package/es/controls/filters/StartDateFilter/index.js +25 -0
  42. package/es/controls/filters/StartDateFilter/index.js.map +1 -0
  43. package/es/controls/filters/StartDateFilter/state.d.ts +11 -0
  44. package/es/controls/filters/StartDateFilter/state.js +39 -0
  45. package/es/controls/filters/StartDateFilter/state.js.map +1 -0
  46. package/es/controls/filters/TaskStatusFilter/index.d.ts +3 -0
  47. package/es/controls/filters/TaskStatusFilter/index.js +21 -0
  48. package/es/controls/filters/TaskStatusFilter/index.js.map +1 -0
  49. package/es/controls/filters/TaskStatusFilter/state.d.ts +17 -0
  50. package/es/controls/filters/TaskStatusFilter/state.js +47 -0
  51. package/es/controls/filters/TaskStatusFilter/state.js.map +1 -0
  52. package/es/controls/filters/index.d.ts +4 -0
  53. package/es/controls/filters/index.js +5 -0
  54. package/es/controls/filters/index.js.map +1 -0
  55. package/es/data/board/BoardColumnStore.d.ts +3 -13
  56. package/es/data/board/BoardColumnStore.js +9 -26
  57. package/es/data/board/BoardColumnStore.js.map +1 -1
  58. package/es/data/board/BoardStore.d.ts +2 -12
  59. package/es/data/board/BoardStore.js +8 -25
  60. package/es/data/board/BoardStore.js.map +1 -1
  61. package/es/data/board/contexts/BoardListContextState/index.d.ts +17 -0
  62. package/es/data/board/contexts/BoardListContextState/index.js +38 -0
  63. package/es/data/board/contexts/BoardListContextState/index.js.map +1 -0
  64. package/es/data/board/hooks.d.ts +2 -2
  65. package/es/data/board/hooks.js +4 -4
  66. package/es/data/board/hooks.js.map +1 -1
  67. package/es/data/board/index.d.ts +1 -1
  68. package/es/data/board/index.js +3 -1
  69. package/es/data/board/index.js.map +1 -1
  70. package/es/data/board/interfaces.d.ts +2 -2
  71. package/es/data/board/interfaces.js +1 -0
  72. package/es/data/board/metas.d.ts +3 -1
  73. package/es/data/board/metas.js +11 -3
  74. package/es/data/board/metas.js.map +1 -1
  75. package/es/data/board/mock.js +8 -8
  76. package/es/data/board/types.js +1 -0
  77. package/es/data/calendar/CalendarStore.d.ts +47 -0
  78. package/es/data/calendar/CalendarStore.js +98 -0
  79. package/es/data/calendar/CalendarStore.js.map +1 -0
  80. package/es/data/calendar/hooks.d.ts +11 -0
  81. package/es/data/calendar/hooks.js +22 -0
  82. package/es/data/calendar/hooks.js.map +1 -0
  83. package/es/data/calendar/index.d.ts +3 -0
  84. package/es/data/calendar/index.js +4 -0
  85. package/es/data/calendar/index.js.map +1 -0
  86. package/es/data/calendar/interfaces.d.ts +11 -0
  87. package/es/data/calendar/interfaces.js +2 -0
  88. package/es/data/calendar/interfaces.js.map +1 -0
  89. package/es/data/calendar/mock.d.ts +2 -0
  90. package/es/data/calendar/mock.js +26 -0
  91. package/es/data/calendar/mock.js.map +1 -0
  92. package/es/data/meeting/AgendaStore.d.ts +2 -5
  93. package/es/data/meeting/AgendaStore.js +8 -15
  94. package/es/data/meeting/AgendaStore.js.map +1 -1
  95. package/es/data/meeting/MeetingStore.d.ts +5 -5
  96. package/es/data/meeting/MeetingStore.js +24 -11
  97. package/es/data/meeting/MeetingStore.js.map +1 -1
  98. package/es/data/meeting/hooks.d.ts +7 -4
  99. package/es/data/meeting/hooks.js +11 -6
  100. package/es/data/meeting/hooks.js.map +1 -1
  101. package/es/data/meeting/index.js +2 -0
  102. package/es/data/meeting/index.js.map +1 -1
  103. package/es/data/meeting/interfaces.d.ts +15 -1
  104. package/es/data/meeting/interfaces.js +1 -0
  105. package/es/data/meeting/metas.d.ts +11 -2
  106. package/es/data/meeting/metas.js +38 -7
  107. package/es/data/meeting/metas.js.map +1 -1
  108. package/es/data/meeting/types.d.ts +1 -1
  109. package/es/data/meeting/types.js +1 -0
  110. package/es/data/reports/useEstimatedTimeEffect.d.ts +13 -0
  111. package/es/data/reports/useEstimatedTimeEffect.js +16 -0
  112. package/es/data/reports/useEstimatedTimeEffect.js.map +1 -0
  113. package/es/data/reports/useTaskSummaryEffect.d.ts +12 -0
  114. package/es/data/reports/useTaskSummaryEffect.js +26 -0
  115. package/es/data/reports/useTaskSummaryEffect.js.map +1 -0
  116. package/es/data/task/TaskStore.d.ts +2 -12
  117. package/es/data/task/TaskStore.js +8 -25
  118. package/es/data/task/TaskStore.js.map +1 -1
  119. package/es/data/task/hooks.d.ts +3 -2
  120. package/es/data/task/hooks.js +5 -5
  121. package/es/data/task/hooks.js.map +1 -1
  122. package/es/data/task/index.js +2 -0
  123. package/es/data/task/index.js.map +1 -1
  124. package/es/data/task/interfaces.d.ts +6 -3
  125. package/es/data/task/interfaces.js +1 -0
  126. package/es/data/task/metas.d.ts +3 -1
  127. package/es/data/task/metas.js +12 -4
  128. package/es/data/task/metas.js.map +1 -1
  129. package/es/data/task/types.js +1 -0
  130. package/es/modules/board/BoardRouets.js +5 -5
  131. package/es/modules/board/components/Board/index.js +54 -54
  132. package/es/modules/board/components/Board/index.js.map +1 -1
  133. package/es/modules/board/components/Board/index.less +83 -51
  134. package/es/modules/board/components/Board/state.d.ts +25 -5
  135. package/es/modules/board/components/Board/state.js +249 -50
  136. package/es/modules/board/components/Board/state.js.map +1 -1
  137. package/es/modules/board/components/BoardColumn/index.js +26 -44
  138. package/es/modules/board/components/BoardColumn/index.js.map +1 -1
  139. package/es/modules/board/components/BoardColumn/index.less +28 -16
  140. package/es/modules/board/components/BoardColumn/state.d.ts +24 -18
  141. package/es/modules/board/components/BoardColumn/state.js +193 -66
  142. package/es/modules/board/components/BoardColumn/state.js.map +1 -1
  143. package/es/modules/board/components/BoardPropertiesView/index.d.ts +7 -0
  144. package/es/modules/board/components/BoardPropertiesView/index.js +35 -0
  145. package/es/modules/board/components/BoardPropertiesView/index.js.map +1 -0
  146. package/es/modules/board/components/BoardPropertiesView/index.less +12 -0
  147. package/es/modules/board/components/SubDocument/index.d.ts +13 -0
  148. package/es/modules/board/components/SubDocument/index.js +13 -0
  149. package/es/modules/board/components/SubDocument/index.js.map +1 -0
  150. package/es/modules/board/components/SubDocumentList/index.d.ts +6 -0
  151. package/es/modules/board/components/SubDocumentList/index.js +161 -0
  152. package/es/modules/board/components/SubDocumentList/index.js.map +1 -0
  153. package/es/modules/board/components/SubDocumentList/index.less +28 -0
  154. package/es/modules/board/components/SubDocumentList/state.d.ts +25 -0
  155. package/es/modules/board/components/SubDocumentList/state.js +68 -0
  156. package/es/modules/board/components/SubDocumentList/state.js.map +1 -0
  157. package/es/modules/board/pages/BoardViewList/index.js +25 -14
  158. package/es/modules/board/pages/BoardViewList/index.js.map +1 -1
  159. package/es/modules/board/pages/BoardViewList/state.d.ts +1 -1
  160. package/es/modules/board/pages/BoardViewList/state.js +8 -5
  161. package/es/modules/board/pages/BoardViewList/state.js.map +1 -1
  162. package/es/modules/calendar/CalendarRoutes.js +5 -5
  163. package/es/modules/calendar/CalendarRoutes.js.map +1 -1
  164. package/es/modules/calendar/components/ActionCard/index.d.ts +7 -0
  165. package/es/modules/calendar/components/ActionCard/index.js +12 -0
  166. package/es/modules/calendar/components/ActionCard/index.js.map +1 -0
  167. package/es/modules/calendar/components/CalendarEventContent/index.d.ts +7 -0
  168. package/es/modules/calendar/components/CalendarEventContent/index.js +10 -0
  169. package/es/modules/calendar/components/CalendarEventContent/index.js.map +1 -0
  170. package/es/modules/calendar/components/CalendarMenu/index.d.ts +1 -1
  171. package/es/modules/calendar/components/CalendarMenu/index.js +4 -3
  172. package/es/modules/calendar/components/CalendarMenu/index.js.map +1 -1
  173. package/es/modules/calendar/pages/CalendarMonth/index.d.ts +0 -4
  174. package/es/modules/calendar/pages/CalendarMonth/index.js +86 -165
  175. package/es/modules/calendar/pages/CalendarMonth/index.js.map +1 -1
  176. package/es/modules/calendar/pages/CalendarMonth/index.less +194 -142
  177. package/es/modules/calendar/pages/CalendarMonth/state.d.ts +10 -1
  178. package/es/modules/calendar/pages/CalendarMonth/state.js +46 -4
  179. package/es/modules/calendar/pages/CalendarMonth/state.js.map +1 -1
  180. package/es/modules/meeting/MeetingRoutes.d.ts +4 -2
  181. package/es/modules/meeting/MeetingRoutes.js +18 -18
  182. package/es/modules/meeting/MeetingRoutes.js.map +1 -1
  183. package/es/modules/meeting/components/AgendaList/AgendaHeader/index.d.ts +2 -2
  184. package/es/modules/meeting/components/AgendaList/AgendaHeader/index.js +3 -2
  185. package/es/modules/meeting/components/AgendaList/AgendaHeader/index.js.map +1 -1
  186. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.d.ts +2 -2
  187. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js +20 -31
  188. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js.map +1 -1
  189. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.d.ts +7 -7
  190. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js +94 -33
  191. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js.map +1 -1
  192. package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +57 -74
  193. package/es/modules/meeting/components/AgendaList/AgendaItem/index.js.map +1 -1
  194. package/es/modules/meeting/components/AgendaList/AgendaItem/index.less +43 -69
  195. package/es/modules/meeting/components/AgendaList/AgendaItem/state.d.ts +10 -3
  196. package/es/modules/meeting/components/AgendaList/AgendaItem/state.js +113 -17
  197. package/es/modules/meeting/components/AgendaList/AgendaItem/state.js.map +1 -1
  198. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js +14 -31
  199. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js.map +1 -1
  200. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.less +2 -2
  201. package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.d.ts +7 -0
  202. package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js +86 -5
  203. package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js.map +1 -1
  204. package/es/modules/meeting/components/AgendaList/index.js +53 -48
  205. package/es/modules/meeting/components/AgendaList/index.js.map +1 -1
  206. package/es/modules/meeting/components/AgendaList/state.d.ts +3 -21
  207. package/es/modules/meeting/components/AgendaList/state.js +22 -71
  208. package/es/modules/meeting/components/AgendaList/state.js.map +1 -1
  209. package/es/modules/meeting/components/MeetingDescription/index.d.ts +0 -1
  210. package/es/modules/meeting/components/MeetingDescription/index.js +10 -21
  211. package/es/modules/meeting/components/MeetingDescription/index.js.map +1 -1
  212. package/es/modules/meeting/components/MeetingHeader/index.d.ts +2 -4
  213. package/es/modules/meeting/components/MeetingHeader/index.js +70 -88
  214. package/es/modules/meeting/components/MeetingHeader/index.js.map +1 -1
  215. package/es/modules/meeting/components/MeetingHeader/index.less +5 -22
  216. package/es/modules/meeting/components/MeetingItem/index.d.ts +4 -1
  217. package/es/modules/meeting/components/MeetingItem/index.js +50 -30
  218. package/es/modules/meeting/components/MeetingItem/index.js.map +1 -1
  219. package/es/modules/meeting/components/MeetingItem/index.less +48 -41
  220. package/es/modules/meeting/components/MeetingItem/state.d.ts +5 -2
  221. package/es/modules/meeting/components/MeetingItem/state.js +40 -7
  222. package/es/modules/meeting/components/MeetingItem/state.js.map +1 -1
  223. package/es/modules/meeting/components/MeetingList/QuickSearch/index.d.ts +20 -0
  224. package/es/modules/meeting/components/MeetingList/QuickSearch/index.js +52 -0
  225. package/es/modules/meeting/components/MeetingList/QuickSearch/index.js.map +1 -0
  226. package/es/modules/meeting/components/MeetingList/QuickSearch/index.less +12 -0
  227. package/es/modules/meeting/components/MeetingList/index.d.ts +11 -0
  228. package/es/modules/meeting/components/MeetingList/index.js +59 -0
  229. package/es/modules/meeting/components/MeetingList/index.js.map +1 -0
  230. package/es/modules/meeting/components/MeetingPropertiesView/index.js +4 -8
  231. package/es/modules/meeting/components/MeetingPropertiesView/index.js.map +1 -1
  232. package/es/modules/meeting/components/MeetingPropertiesView/index.less +1 -1
  233. package/es/modules/meeting/components/MeetingQuickViewDialog/index.d.ts +3 -2
  234. package/es/modules/meeting/components/MeetingQuickViewDialog/index.js +11 -4
  235. package/es/modules/meeting/components/MeetingQuickViewDialog/index.js.map +1 -1
  236. package/es/modules/meeting/components/MeetingQuickViewDialog/index.less +7 -0
  237. package/es/modules/meeting/components/MeetingTaskList/index.d.ts +6 -0
  238. package/es/modules/meeting/components/MeetingTaskList/index.js +22 -0
  239. package/es/modules/meeting/components/MeetingTaskList/index.js.map +1 -0
  240. package/es/modules/meeting/components/MeetingTaskList/index.less +30 -0
  241. package/es/modules/meeting/components/MeetingsFolderProperitesView/index.d.ts +6 -0
  242. package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js +30 -0
  243. package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js.map +1 -0
  244. package/es/modules/meeting/components/MeetingsFolderProperitesView/index.less +8 -0
  245. package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.d.ts +8 -0
  246. package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js +33 -0
  247. package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js.map +1 -0
  248. package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.less +7 -0
  249. package/es/modules/meeting/components/NewMeetingForm/index.d.ts +7 -1
  250. package/es/modules/meeting/components/NewMeetingForm/index.js +72 -94
  251. package/es/modules/meeting/components/NewMeetingForm/index.js.map +1 -1
  252. package/es/modules/meeting/components/NewMeetingForm/index.less +9 -0
  253. package/es/modules/meeting/components/NewMeetingForm/state.d.ts +3 -0
  254. package/es/modules/meeting/components/NewMeetingForm/state.js +46 -13
  255. package/es/modules/meeting/components/NewMeetingForm/state.js.map +1 -1
  256. package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.d.ts +17 -0
  257. package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.js +24 -0
  258. package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.js.map +1 -0
  259. package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.less +7 -0
  260. package/es/modules/meeting/pages/MeetingListView/index.d.ts +5 -0
  261. package/es/modules/meeting/pages/MeetingListView/index.js +19 -0
  262. package/es/modules/meeting/pages/MeetingListView/index.js.map +1 -0
  263. package/es/modules/meeting/pages/MeetingPrintView/index.js +19 -18
  264. package/es/modules/meeting/pages/MeetingPrintView/index.js.map +1 -1
  265. package/es/modules/meeting/pages/MeetingTabView/index.js +16 -21
  266. package/es/modules/meeting/pages/MeetingTabView/index.js.map +1 -1
  267. package/es/modules/member/components/MemberDropdown.js +3 -2
  268. package/es/modules/member/components/MemberDropdown.js.map +1 -1
  269. package/es/modules/member/components/MemberList.js +4 -4
  270. package/es/modules/member/components/MemberList.js.map +1 -1
  271. package/es/modules/member/pages/MemberListView/index.js +29 -28
  272. package/es/modules/member/pages/MemberListView/index.js.map +1 -1
  273. package/es/modules/menus/components/Access/index.d.ts +2 -2
  274. package/es/modules/menus/components/Access/index.js +5 -4
  275. package/es/modules/menus/components/Access/index.js.map +1 -1
  276. package/es/modules/menus/components/Account/index.d.ts +2 -2
  277. package/es/modules/menus/components/Account/index.js +5 -4
  278. package/es/modules/menus/components/Account/index.js.map +1 -1
  279. package/es/modules/menus/components/AddUsers/index.js +11 -15
  280. package/es/modules/menus/components/AddUsers/index.js.map +1 -1
  281. package/es/modules/menus/components/Status/index.d.ts +2 -2
  282. package/es/modules/menus/components/Status/index.js +5 -4
  283. package/es/modules/menus/components/Status/index.js.map +1 -1
  284. package/es/modules/menus/components/UsersList/index.js +22 -21
  285. package/es/modules/menus/components/UsersList/index.js.map +1 -1
  286. package/es/modules/menus/pages/ListOptions/Company/index.d.ts +2 -2
  287. package/es/modules/menus/pages/ListOptions/Company/index.js +52 -54
  288. package/es/modules/menus/pages/ListOptions/Company/index.js.map +1 -1
  289. package/es/modules/menus/pages/ListOptions/Teams/index.js +18 -17
  290. package/es/modules/menus/pages/ListOptions/Teams/index.js.map +1 -1
  291. package/es/modules/menus/pages/ListOptions/Users/index.js +4 -3
  292. package/es/modules/menus/pages/ListOptions/Users/index.js.map +1 -1
  293. package/es/modules/menus/pages/ListOptions/index.js +16 -15
  294. package/es/modules/menus/pages/ListOptions/index.js.map +1 -1
  295. package/es/modules/tasks/TasksRoutes.d.ts +3 -1
  296. package/es/modules/tasks/TasksRoutes.js +6 -6
  297. package/es/modules/tasks/TasksRoutes.js.map +1 -1
  298. package/es/modules/tasks/components/NewTaskForm/index.js +72 -63
  299. package/es/modules/tasks/components/NewTaskForm/index.js.map +1 -1
  300. package/es/modules/tasks/components/NewTaskForm/index.less +24 -39
  301. package/es/modules/tasks/components/NewTaskForm/state.js +41 -15
  302. package/es/modules/tasks/components/NewTaskForm/state.js.map +1 -1
  303. package/es/modules/tasks/components/SubTaskList/index.d.ts +1 -0
  304. package/es/modules/tasks/components/SubTaskList/index.js +117 -61
  305. package/es/modules/tasks/components/SubTaskList/index.js.map +1 -1
  306. package/es/modules/tasks/components/SubTaskList/index.less +16 -0
  307. package/es/modules/tasks/components/SubTaskList/state.d.ts +12 -17
  308. package/es/modules/tasks/components/SubTaskList/state.js +58 -54
  309. package/es/modules/tasks/components/SubTaskList/state.js.map +1 -1
  310. package/es/modules/tasks/components/TaskDescription/index.d.ts +1 -1
  311. package/es/modules/tasks/components/TaskDescription/index.js +8 -11
  312. package/es/modules/tasks/components/TaskDescription/index.js.map +1 -1
  313. package/es/modules/tasks/components/TaskEstimatedTime/index.d.ts +12 -0
  314. package/es/modules/tasks/components/TaskEstimatedTime/index.js +74 -0
  315. package/es/modules/tasks/components/TaskEstimatedTime/index.js.map +1 -0
  316. package/es/modules/tasks/components/{TaskTimeBox → TaskEstimatedTime}/state.d.ts +18 -6
  317. package/es/modules/tasks/components/TaskEstimatedTime/state.js +159 -0
  318. package/es/modules/tasks/components/TaskEstimatedTime/state.js.map +1 -0
  319. package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js +46 -29
  320. package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js.map +1 -1
  321. package/es/modules/tasks/components/TaskItem/SubTaskItem.js +47 -41
  322. package/es/modules/tasks/components/TaskItem/SubTaskItem.js.map +1 -1
  323. package/es/modules/tasks/components/TaskItem/defaultTaskItem.less +30 -33
  324. package/es/modules/tasks/components/TaskItem/state.d.ts +19 -17
  325. package/es/modules/tasks/components/TaskItem/state.js +165 -87
  326. package/es/modules/tasks/components/TaskItem/state.js.map +1 -1
  327. package/es/modules/tasks/components/TaskItem/subTaskItem.less +48 -106
  328. package/es/modules/tasks/components/TaskPropertiesView/index.d.ts +1 -1
  329. package/es/modules/tasks/components/TaskPropertiesView/index.js +60 -16
  330. package/es/modules/tasks/components/TaskPropertiesView/index.js.map +1 -1
  331. package/es/modules/tasks/components/TaskPropertiesView/index.less +6 -0
  332. package/es/modules/tasks/components/TaskQuickViewDialog/index.d.ts +2 -2
  333. package/es/modules/tasks/components/TaskQuickViewDialog/index.js +68 -5
  334. package/es/modules/tasks/components/TaskQuickViewDialog/index.js.map +1 -1
  335. package/es/modules/tasks/components/TaskQuickViewDialog/index.less +12 -6
  336. package/es/modules/tasks/controls/TaskStatusLabel/index.d.ts +10 -0
  337. package/es/modules/tasks/controls/TaskStatusLabel/index.js +9 -0
  338. package/es/modules/tasks/controls/TaskStatusLabel/index.js.map +1 -0
  339. package/es/modules/tasks/controls/TaskStatusLabel/index.less +33 -0
  340. package/es/modules/tasks/pages/TaskList/index.d.ts +3 -1
  341. package/es/modules/tasks/pages/TaskList/index.js +56 -97
  342. package/es/modules/tasks/pages/TaskList/index.js.map +1 -1
  343. package/es/modules/tasks/pages/TaskTabView/index.js +81 -25
  344. package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -1
  345. package/es/modules/tasks/pages/TaskTabView/index.less +23 -1
  346. package/es/modules/tasks/reports/MemberEstimatedDurationCard/index.d.ts +6 -0
  347. package/es/modules/tasks/reports/MemberEstimatedDurationCard/index.js +41 -0
  348. package/es/modules/tasks/reports/MemberEstimatedDurationCard/index.js.map +1 -0
  349. package/es/modules/tasks/reports/MemberEstimatedDurationCard/index.less +21 -0
  350. package/es/modules/tasks/reports/MemberEstimatedDurationCard/state.d.ts +22 -0
  351. package/es/modules/tasks/reports/MemberEstimatedDurationCard/state.js +148 -0
  352. package/es/modules/tasks/reports/MemberEstimatedDurationCard/state.js.map +1 -0
  353. package/es/modules/tasks/reports/TaskAnalyticsDataIcon/index.d.ts +7 -0
  354. package/es/modules/tasks/reports/TaskAnalyticsDataIcon/index.js +17 -0
  355. package/es/modules/tasks/reports/TaskAnalyticsDataIcon/index.js.map +1 -0
  356. package/es/modules/tasks/reports/TaskAnalyticsDataIcon/index.less +8 -0
  357. package/es/modules/tasks/reports/TaskSummaryCard/index.d.ts +17 -0
  358. package/es/modules/tasks/reports/TaskSummaryCard/index.js +67 -0
  359. package/es/modules/tasks/reports/TaskSummaryCard/index.js.map +1 -0
  360. package/es/modules/tasks/reports/TaskSummaryCard/index.less +20 -0
  361. package/es/modules/tasks/reports/TaskSummaryCard/state.d.ts +11 -0
  362. package/es/modules/tasks/reports/TaskSummaryCard/state.js +54 -0
  363. package/es/modules/tasks/reports/TaskSummaryCard/state.js.map +1 -0
  364. package/es/modules/user/pages/Positions/index.js +19 -18
  365. package/es/modules/user/pages/Positions/index.js.map +1 -1
  366. package/es/modules/workspaces/components/Access/index.d.ts +2 -2
  367. package/es/modules/workspaces/components/Access/index.js +5 -4
  368. package/es/modules/workspaces/components/Access/index.js.map +1 -1
  369. package/es/modules/workspaces/components/Account/index.d.ts +2 -2
  370. package/es/modules/workspaces/components/Account/index.js +5 -4
  371. package/es/modules/workspaces/components/Account/index.js.map +1 -1
  372. package/es/modules/workspaces/components/AddUsers/index.js +11 -15
  373. package/es/modules/workspaces/components/AddUsers/index.js.map +1 -1
  374. package/es/modules/workspaces/components/ListHeard/index.d.ts +1 -1
  375. package/es/modules/workspaces/components/ListHeard/index.js +5 -4
  376. package/es/modules/workspaces/components/ListHeard/index.js.map +1 -1
  377. package/es/modules/workspaces/components/Status/index.d.ts +2 -2
  378. package/es/modules/workspaces/components/Status/index.js +5 -4
  379. package/es/modules/workspaces/components/Status/index.js.map +1 -1
  380. package/es/modules/workspaces/components/UsersList/index.js +22 -21
  381. package/es/modules/workspaces/components/UsersList/index.js.map +1 -1
  382. package/es/modules/workspaces/pages/BoardView/index.js +20 -18
  383. package/es/modules/workspaces/pages/BoardView/index.js.map +1 -1
  384. package/es/modules/workspaces/pages/ListView/index.js +17 -14
  385. package/es/modules/workspaces/pages/ListView/index.js.map +1 -1
  386. package/es/modules/workspaces/pages/Users/index.js +5 -4
  387. package/es/modules/workspaces/pages/Users/index.js.map +1 -1
  388. package/es/pages/Project/ProjectDefaultView/index.d.ts +3 -0
  389. package/es/pages/Project/ProjectDefaultView/index.js +65 -0
  390. package/es/pages/Project/ProjectDefaultView/index.js.map +1 -0
  391. package/es/pages/Project/ProjectDefaultView/index.less +22 -0
  392. package/es/pages/Project/data/ProjectStore.d.ts +10 -0
  393. package/es/pages/Project/data/ProjectStore.js +21 -0
  394. package/es/pages/Project/data/ProjectStore.js.map +1 -0
  395. package/es/pages/Project/data/hook.d.ts +9 -0
  396. package/es/pages/Project/data/hook.js +20 -0
  397. package/es/pages/Project/data/hook.js.map +1 -0
  398. package/es/pages/Project/data/index.d.ts +3 -0
  399. package/es/pages/Project/data/index.js +4 -0
  400. package/es/pages/Project/data/index.js.map +1 -0
  401. package/es/pages/Project/data/interfaces.d.ts +2 -0
  402. package/es/pages/Project/data/interfaces.js +2 -0
  403. package/es/pages/Project/data/interfaces.js.map +1 -0
  404. package/es/pages/Routes.d.ts +29 -0
  405. package/es/pages/Routes.js +64 -0
  406. package/es/pages/Routes.js.map +1 -0
  407. package/es/pages/Space/components/Documents/index.d.ts +6 -0
  408. package/es/pages/Space/components/Documents/index.js +41 -0
  409. package/es/pages/Space/components/Documents/index.js.map +1 -0
  410. package/es/pages/Space/components/Documents/index.less +9 -0
  411. package/es/pages/Space/components/Notes/ColorSelect/index.d.ts +10 -0
  412. package/es/pages/Space/components/Notes/ColorSelect/index.js +30 -0
  413. package/es/pages/Space/components/Notes/ColorSelect/index.js.map +1 -0
  414. package/es/pages/Space/components/Notes/ColorSelect/index.less +17 -0
  415. package/es/pages/Space/components/Notes/NewNoteDialog/index.d.ts +10 -0
  416. package/es/pages/Space/components/Notes/NewNoteDialog/index.js +41 -0
  417. package/es/pages/Space/components/Notes/NewNoteDialog/index.js.map +1 -0
  418. package/es/pages/Space/components/Notes/NewNoteDialog/index.less +63 -0
  419. package/es/pages/Space/components/Notes/TextNoteCard/index.d.ts +6 -0
  420. package/es/pages/Space/components/Notes/TextNoteCard/index.js +34 -0
  421. package/es/pages/Space/components/Notes/TextNoteCard/index.js.map +1 -0
  422. package/es/pages/Space/components/Notes/TextNoteCard/index.less +56 -0
  423. package/es/pages/Space/components/Notes/TextNoteCard/state.d.ts +6 -0
  424. package/es/pages/Space/components/Notes/TextNoteCard/state.js +35 -0
  425. package/es/pages/Space/components/Notes/TextNoteCard/state.js.map +1 -0
  426. package/es/pages/Space/components/Notes/index.d.ts +5 -0
  427. package/es/pages/Space/components/Notes/index.js +51 -0
  428. package/es/pages/Space/components/Notes/index.js.map +1 -0
  429. package/es/pages/Space/components/Projects/index.d.ts +5 -0
  430. package/es/pages/Space/components/Projects/index.js +35 -0
  431. package/es/pages/Space/components/Projects/index.js.map +1 -0
  432. package/es/pages/Space/components/Tasks/index.d.ts +7 -0
  433. package/es/pages/Space/components/Tasks/index.js +43 -0
  434. package/es/pages/Space/components/Tasks/index.js.map +1 -0
  435. package/es/pages/Space/components/Tasks/index.less +17 -0
  436. package/es/pages/Space/components/Works/index.d.ts +6 -0
  437. package/es/pages/Space/components/Works/index.js +43 -0
  438. package/es/pages/Space/components/Works/index.js.map +1 -0
  439. package/es/pages/Space/components/Works/index.less +18 -0
  440. package/es/pages/Space/pages/MySpace/index.d.ts +4 -0
  441. package/es/pages/Space/pages/MySpace/index.js +47 -0
  442. package/es/pages/Space/pages/MySpace/index.js.map +1 -0
  443. package/es/pages/Space/pages/MySpace/index.less +60 -0
  444. package/es/pages/Space/pages/MySpace/state.d.ts +12 -0
  445. package/es/pages/Space/pages/MySpace/state.js +61 -0
  446. package/es/pages/Space/pages/MySpace/state.js.map +1 -0
  447. package/es/pages/Work/components/NewWorkDialog/index.d.ts +11 -0
  448. package/es/pages/Work/components/NewWorkDialog/index.js +45 -0
  449. package/es/pages/Work/components/NewWorkDialog/index.js.map +1 -0
  450. package/es/pages/Work/components/NewWorkDialog/index.less +11 -0
  451. package/es/pages/Work/components/WorkCheckList/index.d.ts +5 -0
  452. package/es/pages/Work/components/WorkCheckList/index.js +38 -0
  453. package/es/pages/Work/components/WorkCheckList/index.js.map +1 -0
  454. package/es/pages/Work/components/WorkSummaryCards/WorkActionsCard/index.d.ts +6 -0
  455. package/es/pages/Work/components/WorkSummaryCards/WorkActionsCard/index.js +21 -0
  456. package/es/pages/Work/components/WorkSummaryCards/WorkActionsCard/index.js.map +1 -0
  457. package/es/pages/Work/components/WorkSummaryCards/WorkBlockingsCard/index.d.ts +5 -0
  458. package/es/pages/Work/components/WorkSummaryCards/WorkBlockingsCard/index.js +11 -0
  459. package/es/pages/Work/components/WorkSummaryCards/WorkBlockingsCard/index.js.map +1 -0
  460. package/es/pages/Work/components/WorkSummaryCards/WorkDueCard/index.d.ts +7 -0
  461. package/es/pages/Work/components/WorkSummaryCards/WorkDueCard/index.js +16 -0
  462. package/es/pages/Work/components/WorkSummaryCards/WorkDueCard/index.js.map +1 -0
  463. package/es/pages/Work/components/WorkSummaryCards/index.d.ts +5 -0
  464. package/es/pages/Work/components/WorkSummaryCards/index.js +69 -0
  465. package/es/pages/Work/components/WorkSummaryCards/index.js.map +1 -0
  466. package/es/pages/Work/components/WorkSummaryCards/index.less +35 -0
  467. package/es/pages/Work/components/WorkSummaryCards/state.d.ts +11 -0
  468. package/es/pages/Work/components/WorkSummaryCards/state.js +47 -0
  469. package/es/pages/Work/components/WorkSummaryCards/state.js.map +1 -0
  470. package/es/pages/Work/components/WorkTrail/index.d.ts +5 -0
  471. package/es/pages/Work/components/WorkTrail/index.js +14 -0
  472. package/es/pages/Work/components/WorkTrail/index.js.map +1 -0
  473. package/es/pages/Work/components/WorkTrail/index.less +20 -0
  474. package/es/pages/Work/data/WorkStore.d.ts +10 -0
  475. package/es/pages/Work/data/WorkStore.js +21 -0
  476. package/es/pages/Work/data/WorkStore.js.map +1 -0
  477. package/es/pages/Work/data/hook.d.ts +3 -0
  478. package/es/pages/Work/data/hook.js +10 -0
  479. package/es/pages/Work/data/hook.js.map +1 -0
  480. package/es/pages/Work/data/index.d.ts +3 -0
  481. package/es/pages/Work/data/index.js +4 -0
  482. package/es/pages/Work/data/index.js.map +1 -0
  483. package/es/pages/Work/data/interfaces.d.ts +14 -0
  484. package/es/pages/Work/data/interfaces.js +2 -0
  485. package/es/pages/Work/data/interfaces.js.map +1 -0
  486. package/es/pages/Work/pages/WorkDefaultView/index.d.ts +3 -0
  487. package/es/pages/Work/pages/WorkDefaultView/index.js +58 -0
  488. package/es/pages/Work/pages/WorkDefaultView/index.js.map +1 -0
  489. package/es/pages/Work/pages/WorkDefaultView/index.less +12 -0
  490. package/es/pages/Work/pages/WorkDefaultView/state.d.ts +5 -0
  491. package/es/pages/Work/pages/WorkDefaultView/state.js +18 -0
  492. package/es/pages/Work/pages/WorkDefaultView/state.js.map +1 -0
  493. package/es/pages/WorkType/WorkTypeCheckList/index.d.ts +5 -0
  494. package/es/pages/WorkType/WorkTypeCheckList/index.js +38 -0
  495. package/es/pages/WorkType/WorkTypeCheckList/index.js.map +1 -0
  496. package/es/pages/WorkType/WorkTypeDefaultView/index.d.ts +3 -0
  497. package/es/pages/WorkType/WorkTypeDefaultView/index.js +19 -0
  498. package/es/pages/WorkType/WorkTypeDefaultView/index.js.map +1 -0
  499. package/es/pages/WorkType/WorkTypeDetail/index.d.ts +6 -0
  500. package/es/pages/WorkType/WorkTypeDetail/index.js +88 -0
  501. package/es/pages/WorkType/WorkTypeDetail/index.js.map +1 -0
  502. package/es/pages/WorkType/WorkTypeDetail/index.less +35 -0
  503. package/es/pages/WorkType/WorkTypeDetail/state.d.ts +9 -0
  504. package/es/pages/WorkType/WorkTypeDetail/state.js +38 -0
  505. package/es/pages/WorkType/WorkTypeDetail/state.js.map +1 -0
  506. package/es/pages/WorkType/WorkTypePropertiesView/index.d.ts +5 -0
  507. package/es/pages/WorkType/WorkTypePropertiesView/index.js +32 -0
  508. package/es/pages/WorkType/WorkTypePropertiesView/index.js.map +1 -0
  509. package/es/pages/WorkType/WorkTypePropertiesView/index.less +31 -0
  510. package/es/pages/WorkType/WorkTypeSelect/index.d.ts +7 -0
  511. package/es/pages/WorkType/WorkTypeSelect/index.js +18 -0
  512. package/es/pages/WorkType/WorkTypeSelect/index.js.map +1 -0
  513. package/es/pages/WorkType/data/WorkTypeStore.d.ts +21 -0
  514. package/es/pages/WorkType/data/WorkTypeStore.js +75 -0
  515. package/es/pages/WorkType/data/WorkTypeStore.js.map +1 -0
  516. package/es/pages/WorkType/data/hook.d.ts +9 -0
  517. package/es/pages/WorkType/data/hook.js +19 -0
  518. package/es/pages/WorkType/data/hook.js.map +1 -0
  519. package/es/pages/WorkType/data/index.d.ts +4 -0
  520. package/es/pages/WorkType/data/index.js +5 -0
  521. package/es/pages/WorkType/data/index.js.map +1 -0
  522. package/es/pages/WorkType/data/interfaces.d.ts +35 -0
  523. package/es/pages/WorkType/data/interfaces.js +2 -0
  524. package/es/pages/WorkType/data/interfaces.js.map +1 -0
  525. package/es/pages/WorkType/data/types.d.ts +41 -0
  526. package/es/pages/WorkType/data/types.js +2 -0
  527. package/es/pages/WorkType/data/types.js.map +1 -0
  528. package/es/routes.js +6 -2
  529. package/es/routes.js.map +1 -1
  530. package/es/style/common.less +3 -0
  531. package/package.json +35 -37
  532. package/es/components/AssignPeople/index.less +0 -0
  533. package/es/components/AvatarList/index.d.ts +0 -19
  534. package/es/components/AvatarList/index.js +0 -124
  535. package/es/components/AvatarList/index.js.map +0 -1
  536. package/es/components/AvatarList/index.less +0 -72
  537. package/es/components/AvatarList/state.d.ts +0 -25
  538. package/es/components/AvatarList/state.js +0 -52
  539. package/es/components/AvatarList/state.js.map +0 -1
  540. package/es/components/PermissionModal/index.d.ts +0 -7
  541. package/es/components/PermissionModal/index.js +0 -18
  542. package/es/components/PermissionModal/index.js.map +0 -1
  543. package/es/components/PermissionModal/index.less +0 -7
  544. package/es/components/ToolBar/index.d.ts +0 -47
  545. package/es/components/ToolBar/index.js +0 -72
  546. package/es/components/ToolBar/index.js.map +0 -1
  547. package/es/components/ToolBar/index.less +0 -18
  548. package/es/components/ToolBar/state.d.ts +0 -9
  549. package/es/components/ToolBar/state.js +0 -23
  550. package/es/components/ToolBar/state.js.map +0 -1
  551. package/es/components/VersionsModal/index.d.ts +0 -5
  552. package/es/components/VersionsModal/index.js +0 -20
  553. package/es/components/VersionsModal/index.js.map +0 -1
  554. package/es/components/VersionsModal/index.less +0 -19
  555. package/es/components/VersionsModal/state.d.ts +0 -4
  556. package/es/components/VersionsModal/state.js +0 -12
  557. package/es/components/VersionsModal/state.js.map +0 -1
  558. package/es/controls/DocumentStatusLabel/index.d.ts +0 -14
  559. package/es/controls/DocumentStatusLabel/index.js +0 -41
  560. package/es/controls/DocumentStatusLabel/index.js.map +0 -1
  561. package/es/controls/DocumentStatusLabel/index.less +0 -45
  562. package/es/controls/FlagIcon/index.d.ts +0 -17
  563. package/es/controls/FlagIcon/index.js +0 -58
  564. package/es/controls/FlagIcon/index.js.map +0 -1
  565. package/es/controls/FlagIcon/index.less +0 -21
  566. package/es/controls/IconNumbers/index.d.ts +0 -18
  567. package/es/controls/IconNumbers/index.js +0 -31
  568. package/es/controls/IconNumbers/index.js.map +0 -1
  569. package/es/controls/IconNumbers/index.less +0 -10
  570. package/es/data/board/LinkStore.d.ts +0 -11
  571. package/es/data/board/LinkStore.js +0 -40
  572. package/es/data/board/LinkStore.js.map +0 -1
  573. package/es/modules/board/components/DocumentCard/index.d.ts +0 -10
  574. package/es/modules/board/components/DocumentCard/index.js +0 -111
  575. package/es/modules/board/components/DocumentCard/index.js.map +0 -1
  576. package/es/modules/board/components/DocumentCard/index.less +0 -116
  577. package/es/modules/board/components/DocumentCard/state.d.ts +0 -15
  578. package/es/modules/board/components/DocumentCard/state.js +0 -54
  579. package/es/modules/board/components/DocumentCard/state.js.map +0 -1
  580. package/es/modules/board/components/LinkList/index.d.ts +0 -4
  581. package/es/modules/board/components/LinkList/index.js +0 -38
  582. package/es/modules/board/components/LinkList/index.js.map +0 -1
  583. package/es/modules/board/components/LinkList/state.d.ts +0 -15
  584. package/es/modules/board/components/LinkList/state.js +0 -33
  585. package/es/modules/board/components/LinkList/state.js.map +0 -1
  586. package/es/modules/board/components/NewTaskForm/index.d.ts +0 -11
  587. package/es/modules/board/components/NewTaskForm/index.js +0 -85
  588. package/es/modules/board/components/NewTaskForm/index.js.map +0 -1
  589. package/es/modules/board/components/NewTaskForm/index.less +0 -102
  590. package/es/modules/board/components/NewTaskForm/state.d.ts +0 -25
  591. package/es/modules/board/components/NewTaskForm/state.js +0 -41
  592. package/es/modules/board/components/NewTaskForm/state.js.map +0 -1
  593. package/es/modules/board/components/TaskCard/index.d.ts +0 -4
  594. package/es/modules/board/components/TaskCard/index.js +0 -97
  595. package/es/modules/board/components/TaskCard/index.js.map +0 -1
  596. package/es/modules/board/components/TaskCard/index.less +0 -115
  597. package/es/modules/board/components/TaskCard/state.d.ts +0 -44
  598. package/es/modules/board/components/TaskCard/state.js +0 -119
  599. package/es/modules/board/components/TaskCard/state.js.map +0 -1
  600. package/es/modules/board/components/links/index.d.ts +0 -12
  601. package/es/modules/board/components/links/index.js +0 -26
  602. package/es/modules/board/components/links/index.js.map +0 -1
  603. package/es/modules/calendar/components/TaskCard/index.d.ts +0 -7
  604. package/es/modules/calendar/components/TaskCard/index.js +0 -25
  605. package/es/modules/calendar/components/TaskCard/index.js.map +0 -1
  606. package/es/modules/calendar/components/TaskCard/index.less +0 -64
  607. package/es/modules/calendar/components/TaskCard/state.d.ts +0 -16
  608. package/es/modules/calendar/components/TaskCard/state.js +0 -58
  609. package/es/modules/calendar/components/TaskCard/state.js.map +0 -1
  610. package/es/modules/calendar/pages/CalendarWeek/index.d.ts +0 -0
  611. package/es/modules/calendar/pages/CalendarWeek/index.js +0 -1
  612. package/es/modules/calendar/pages/CalendarWeek/index.js.map +0 -1
  613. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.d.ts +0 -7
  614. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.js +0 -37
  615. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.js.map +0 -1
  616. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.less +0 -57
  617. package/es/modules/meeting/pages/MeetingList/index.d.ts +0 -3
  618. package/es/modules/meeting/pages/MeetingList/index.js +0 -40
  619. package/es/modules/meeting/pages/MeetingList/index.js.map +0 -1
  620. package/es/modules/meeting/pages/MeetingList/state.d.ts +0 -14
  621. package/es/modules/meeting/pages/MeetingList/state.js +0 -44
  622. package/es/modules/meeting/pages/MeetingList/state.js.map +0 -1
  623. package/es/modules/tasks/components/TaskHeader/index.d.ts +0 -13
  624. package/es/modules/tasks/components/TaskHeader/index.js +0 -43
  625. package/es/modules/tasks/components/TaskHeader/index.js.map +0 -1
  626. package/es/modules/tasks/components/TaskHeader/index.less +0 -51
  627. package/es/modules/tasks/components/TaskTimeBox/index.d.ts +0 -16
  628. package/es/modules/tasks/components/TaskTimeBox/index.js +0 -62
  629. package/es/modules/tasks/components/TaskTimeBox/index.js.map +0 -1
  630. package/es/modules/tasks/components/TaskTimeBox/state.js +0 -76
  631. package/es/modules/tasks/components/TaskTimeBox/state.js.map +0 -1
  632. package/es/modules/tasks/pages/TaskList/state.d.ts +0 -10
  633. package/es/modules/tasks/pages/TaskList/state.js +0 -31
  634. package/es/modules/tasks/pages/TaskList/state.js.map +0 -1
  635. /package/es/modules/tasks/components/{TaskTimeBox → TaskEstimatedTime}/index.less +0 -0
@@ -1,97 +1,181 @@
1
1
  import { __decorate } from "tslib";
2
- import { action, computed, observable, toJS } from "mobx";
3
- import { FileStore } from "@voplus/morpho-document/es/data/FileStore/FileContext";
4
- import { isEqual } from "lodash-es";
2
+ import { action, computed, makeObservable, observable, runInAction, toJS } from "mobx";
3
+ import { clone, isEqual } from "lodash-es";
5
4
  import { message } from "@voplus/antd";
6
5
  export class State {
7
- constructor(taskStore) {
8
- this.taskStore = taskStore;
9
- this.ids = [];
10
- this.members = [];
11
- this.name = "";
6
+ constructor(id, taskStore) {
7
+ Object.defineProperty(this, "id", {
8
+ enumerable: true,
9
+ configurable: true,
10
+ writable: true,
11
+ value: id
12
+ });
13
+ Object.defineProperty(this, "taskStore", {
14
+ enumerable: true,
15
+ configurable: true,
16
+ writable: true,
17
+ value: taskStore
18
+ });
19
+ /** Detail of task */
20
+ Object.defineProperty(this, "task", {
21
+ enumerable: true,
22
+ configurable: true,
23
+ writable: true,
24
+ value: void 0
25
+ });
26
+ /** id of member of task of list */
27
+ Object.defineProperty(this, "ids", {
28
+ enumerable: true,
29
+ configurable: true,
30
+ writable: true,
31
+ value: []
32
+ });
33
+ /** members of task */
34
+ Object.defineProperty(this, "members", {
35
+ enumerable: true,
36
+ configurable: true,
37
+ writable: true,
38
+ value: []
39
+ });
40
+ /** name of task */
41
+ Object.defineProperty(this, "name", {
42
+ enumerable: true,
43
+ configurable: true,
44
+ writable: true,
45
+ value: ""
46
+ });
12
47
  /** Schedule of task */
13
- this.schedule = [];
48
+ Object.defineProperty(this, "schedule", {
49
+ enumerable: true,
50
+ configurable: true,
51
+ writable: true,
52
+ value: []
53
+ });
14
54
  /** EstimatedHours of task */
15
- this.estimatedHours = 0;
55
+ Object.defineProperty(this, "estimatedHours", {
56
+ enumerable: true,
57
+ configurable: true,
58
+ writable: true,
59
+ value: 0
60
+ });
16
61
  /** Edit model of task */
17
- this.editable = false;
62
+ Object.defineProperty(this, "editable", {
63
+ enumerable: true,
64
+ configurable: true,
65
+ writable: true,
66
+ value: false
67
+ });
18
68
  /** loading of save */
19
- this.loading = false;
20
- this.visibleQuickView = false;
21
- this.modalType = "";
69
+ Object.defineProperty(this, "loading", {
70
+ enumerable: true,
71
+ configurable: true,
72
+ writable: true,
73
+ value: false
74
+ });
75
+ Object.defineProperty(this, "modalType", {
76
+ enumerable: true,
77
+ configurable: true,
78
+ writable: true,
79
+ value: ""
80
+ });
22
81
  /** MouseOver of sub task */
23
- this.isHover = false;
24
- this.reload = false;
25
- /** Start edit date of task */
26
- this.open = false;
27
- this.store = new FileStore();
28
- this.startEdit = () => {
29
- this.name = this.task.name;
30
- this.ids = [...(this.task.members || [])].map(({ id }) => id);
31
- this.isHover = false;
32
- this.editable = !this.editable;
33
- };
34
- this.startEditDate = () => {
35
- this.open = true;
36
- this.editable = true;
37
- };
38
- this.save = async () => {
39
- const params = { Name: this.name, MemberIds: this.ids };
40
- // if (this.estimatedHours) params = { ...params, EstimatedHours: this.estimatedHours };
41
- // if (this.schedule[0])
42
- // params = { ...params, StartDate: this.schedule[0], DueDate: this.schedule[1] };
43
- this.loading = true;
44
- await this.taskStore.edit(this.task.id, params);
45
- this.loading = false;
46
- // }
47
- this.editable = false;
48
- };
49
- /** task edit */
50
- this.onEdit = async (option) => {
51
- await this.taskStore.edit(this.task.id, option);
52
- };
82
+ Object.defineProperty(this, "isHover", {
83
+ enumerable: true,
84
+ configurable: true,
85
+ writable: true,
86
+ value: false
87
+ });
88
+ Object.defineProperty(this, "startEdit", {
89
+ enumerable: true,
90
+ configurable: true,
91
+ writable: true,
92
+ value: () => {
93
+ this.name = this.task.name;
94
+ this.ids = [...(this.task.members || [])].map(({ id }) => id);
95
+ this.isHover = false;
96
+ this.editable = !this.editable;
97
+ }
98
+ });
99
+ Object.defineProperty(this, "save", {
100
+ enumerable: true,
101
+ configurable: true,
102
+ writable: true,
103
+ value: async () => {
104
+ const params = { Name: this.name, MemberIds: this.ids };
105
+ // if (this.estimatedHours) params = { ...params, EstimatedHours: this.estimatedHours };
106
+ // if (this.schedule[0])
107
+ // params = { ...params, StartDate: this.schedule[0], DueDate: this.schedule[1] };
108
+ this.loading = true;
109
+ await this.taskStore.edit(this.task.id, { data: params, error: "message" });
110
+ this.loading = false;
111
+ this.editable = false;
112
+ }
113
+ });
53
114
  /** task delete */
54
- this.onDelete = async () => {
55
- await this.taskStore.delete([this.task.id], { DeleteChilds: true });
56
- };
57
- this.onMove = () => {
58
- this.store.onMove([this.task.id]);
59
- };
60
- /** */
61
- this.onPaste = () => {
62
- if (this.store.moveIds.some((id) => id === this.task.id))
63
- message.warn("Cannot move to itself");
64
- this.store.onPaste(() => {
65
- this.taskStore.move(this.store.moveIds, this.task.id);
66
- });
67
- // state.reload = true;
68
- };
115
+ Object.defineProperty(this, "onDelete", {
116
+ enumerable: true,
117
+ configurable: true,
118
+ writable: true,
119
+ value: async () => {
120
+ await this.taskStore.delete([this.task.id], { DeleteChilds: true });
121
+ }
122
+ });
123
+ Object.defineProperty(this, "onChange", {
124
+ enumerable: true,
125
+ configurable: true,
126
+ writable: true,
127
+ value: async (ids, members) => {
128
+ if (!this.editable) {
129
+ await this.taskStore.edit(this.id, { data: { MemberIds: ids }, error: "message" });
130
+ runInAction(() => (this.members = this.taskMembers));
131
+ }
132
+ else {
133
+ this.ids = ids;
134
+ this.members = members;
135
+ }
136
+ }
137
+ });
138
+ makeObservable(this);
139
+ }
140
+ update(task) {
141
+ this.task = task;
142
+ }
143
+ undo() {
144
+ this.editable = false;
145
+ this.members = this.taskMembers;
69
146
  }
70
- get inheritedMembers() {
71
- return (this.task.inheritedMembers || [])
72
- .filter(item => !this.task.members.some(member => member.id === item.id))
73
- .map(item => ({
147
+ async onEdit(TaskStatus) {
148
+ const status = clone(this.task.taskStatus);
149
+ this.task.taskStatus = TaskStatus;
150
+ await this.taskStore.edit(this.id, {
151
+ data: { TaskStatus },
152
+ error: (error) => {
153
+ message.error(error.message);
154
+ this.task.taskStatus = status;
155
+ },
156
+ });
157
+ }
158
+ get childMembers() {
159
+ return (this.task.childMembers || [])
160
+ .filter((item) => !this.task.members.some((member) => member.id === item.id))
161
+ .map((item) => ({
74
162
  ...item,
75
- disabled: true
163
+ disabled: true,
76
164
  }));
77
165
  }
78
- get readonly() {
79
- return this.task.status === "Readonly";
166
+ get taskMembers() {
167
+ return [...(this.task.members || []), ...(this.childMembers || [])];
80
168
  }
81
169
  get hasChanges() {
82
170
  if (!this.name)
83
171
  return;
84
- const ids = toJS([...(this.task.members || []), ...this.inheritedMembers].map(({ id }) => id));
172
+ const ids = toJS([...(this.task.members || []), ...this.childMembers].map(({ id }) => id));
85
173
  const { name, startDate, dueDate, estimatedHours } = this.task;
86
174
  const originalData = { name, ids };
87
175
  const modifiedData = {
88
176
  name: this.name.trim(),
89
- ids: this.ids
90
- // startDate: toJS(this.schedule)[0],
91
- // dueDate: toJS(this.schedule)[1],
92
- // estimatedHours: this.estimatedHours || estimatedHours
177
+ ids: this.ids,
93
178
  };
94
- // console.log(originalData, modifiedData, isEqual(originalData, modifiedData), "4444");
95
179
  return !isEqual(originalData, modifiedData);
96
180
  }
97
181
  }
@@ -119,9 +203,6 @@ __decorate([
119
203
  __decorate([
120
204
  observable
121
205
  ], State.prototype, "loading", void 0);
122
- __decorate([
123
- observable
124
- ], State.prototype, "visibleQuickView", void 0);
125
206
  __decorate([
126
207
  observable
127
208
  ], State.prototype, "modalType", void 0);
@@ -129,35 +210,32 @@ __decorate([
129
210
  observable
130
211
  ], State.prototype, "isHover", void 0);
131
212
  __decorate([
132
- observable
133
- ], State.prototype, "reload", void 0);
134
- __decorate([
135
- observable
136
- ], State.prototype, "open", void 0);
213
+ action
214
+ ], State.prototype, "update", null);
137
215
  __decorate([
138
216
  action
139
217
  ], State.prototype, "startEdit", void 0);
140
218
  __decorate([
141
219
  action
142
- ], State.prototype, "startEditDate", void 0);
220
+ ], State.prototype, "save", void 0);
143
221
  __decorate([
144
222
  action
145
- ], State.prototype, "save", void 0);
223
+ ], State.prototype, "onDelete", void 0);
146
224
  __decorate([
147
225
  action
148
- ], State.prototype, "onEdit", void 0);
226
+ ], State.prototype, "undo", null);
149
227
  __decorate([
150
228
  action
151
- ], State.prototype, "onDelete", void 0);
229
+ ], State.prototype, "onChange", void 0);
152
230
  __decorate([
153
231
  action
154
- ], State.prototype, "onMove", void 0);
232
+ ], State.prototype, "onEdit", null);
155
233
  __decorate([
156
234
  computed
157
- ], State.prototype, "inheritedMembers", null);
235
+ ], State.prototype, "childMembers", null);
158
236
  __decorate([
159
237
  computed
160
- ], State.prototype, "readonly", null);
238
+ ], State.prototype, "taskMembers", null);
161
239
  __decorate([
162
240
  computed
163
241
  ], State.prototype, "hasChanges", null);
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskItem/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE1D,OAAO,EAAE,SAAS,EAAE,MAAM,uDAAuD,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAYvC,MAAM,OAAO,KAAK;IAsBjB,YAA2B,SAAoB;QAApB,cAAS,GAAT,SAAS,CAAW;QAnB5B,QAAG,GAAa,EAAE,CAAC;QACnB,YAAO,GAAU,EAAE,CAAC;QACpB,SAAI,GAAG,EAAE,CAAC;QAC7B,uBAAuB;QACJ,aAAQ,GAAU,EAAE,CAAC;QACxC,6BAA6B;QACV,mBAAc,GAAG,CAAC,CAAC;QACtC,0BAA0B;QACP,aAAQ,GAAG,KAAK,CAAC;QACpC,uBAAuB;QACJ,YAAO,GAAG,KAAK,CAAC;QAChB,qBAAgB,GAAG,KAAK,CAAC;QACzB,cAAS,GAAG,EAAE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AAU;mCAAqB;AAOhC;IADC,MAAM;wCAML;AAGF;IADC,MAAM;4CAIL;AAGF;IADC,MAAM;mCAWL;AAGF;IADC,MAAM;qCAGL;AAGF;IADC,MAAM;uCAGL;AAGF;IAFC,MAAM;qCAIL;AAYF;IADC,QAAQ;6CAQR;AAGD;IADC,QAAQ;qCAGR;AAGD;IADC,QAAQ;uCAeR"}
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskItem/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACvF,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAK3C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAcvC,MAAM,OAAO,KAAK;IAqBjB,YAA2B,EAAU,EAAU,SAAoB;;;;;mBAAxC;;;;;;mBAAoB;;QApB/C,qBAAqB;QACT;;;;;WAAmB;QAC/B,mCAAmC;QACvB;;;;mBAAuB,EAAE;WAAC;QACtC,sBAAsB;QACV;;;;mBAAwB,EAAE;WAAC;QACvC,mBAAmB;QACP;;;;mBAAc,EAAE;WAAC;QAC7B,uBAAuB;QACX;;;;mBAAyB,EAAE;WAAC;QACxC,6BAA6B;QACjB;;;;mBAAwB,CAAC;WAAC;QACtC,0BAA0B;QACd;;;;mBAAkB,KAAK;WAAC;QACpC,uBAAuB;QACX;;;;mBAAiB,KAAK;WAAC;QACvB;;;;mBAAmB,EAAE;WAAC;QAClC,6BAA6B;QACjB;;;;mBAAiB,KAAK;WAAC;QAYnC;;;;mBAAmB,GAAG,EAAE;gBACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;gBAC3B,IAAI,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,EAAE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GF;IADC,MAAM;mCAUL;AAIF;IADC,MAAM;uCAGL;AAIF;IAFC,MAAM;iCAKN;AAED;IADC,MAAM;uCASL;AAGF;IAFC,MAAM;mCAYN;AAGD;IADC,QAAQ;yCAQR;AAED;IADC,QAAQ;wCAGR;AAGD;IADC,QAAQ;uCAWR"}
@@ -3,125 +3,67 @@
3
3
  :global {
4
4
  .sub-task-item {
5
5
  position: relative;
6
- display: flex;
7
- // flex: 1;
8
- justify-content: space-between;
9
6
  align-items: center;
10
- padding-top: 10px;
11
- margin: 0 20px;
12
- &:last-child {
13
- padding-bottom: 10px;
14
- }
15
- &_box {
16
- flex: 1;
17
- display: flex;
18
- align-items: center;
19
- > div:first-child {
20
- flex: 1;
21
- }
22
- .multiple-checkbox {
23
- margin-right: 10px;
24
- }
25
- .task-move {
26
- display: inline-block;
27
- width: 25px;
28
- opacity: 0;
29
- font-size: 16px;
30
- color: #000;
31
- cursor: move;
32
- }
33
- .task-header {
34
- display: flex;
35
- .task-flag {
36
- width: 25px;
37
- }
38
- }
39
- .task-item-name {
40
- color: #000;
41
- font-size: 15px;
42
- font-weight: 500;
43
- z-index: 100;
44
- &.task-item-name_done {
45
- color: #a8a8a8;
46
- }
47
- }
48
- .task-file-info {
49
- display: flex;
50
- color: #444;
51
- font-size: 13px;
52
- padding-top: 5px;
53
- line-height: 24px;
54
- p {
55
- margin: 0;
56
- }
57
- & span + span {
58
- margin-left: 12px;
59
- }
60
- .svg-inline--fa {
61
- margin-right: 5px;
62
- }
63
- }
64
- .padding-left-25 {
65
- padding-left: 25px;
66
- }
67
- .tag-view,
68
- .task-time-box {
69
- position: relative;
70
- z-index: 100;
71
- .ant-tag {
72
- margin: 0 0 0 5px;
73
- padding: 0 5px;
74
- font-size: 12px;
75
- line-height: 15px;
76
- }
77
- }
7
+ padding: 10px 20px;
8
+ background: transparent;
9
+ cursor: pointer;
10
+ .tag-view {
11
+ line-height: 20px;
78
12
  .add-tag-btn {
79
13
  visibility: hidden;
80
14
  }
81
- .box {
82
- width: 30%;
15
+ }
16
+ &:hover {
17
+ .tag-view .add-tag-btn {
18
+ display: inline-block;
19
+ visibility: visible;
83
20
  }
84
- &.sub-task-item_hover:hover {
85
- cursor: pointer;
86
- &:before {
87
- position: absolute;
88
- left: 25px;
89
- right: 5px;
90
- height: 100%;
91
- content: "";
92
- opacity: 0.5;
93
- background-color: #fff;
94
- z-index: 99;
95
- }
96
- .task-item-name,
97
- .task-time-box {
98
- opacity: 0.5;
99
- }
100
- .task-move {
101
- opacity: 1;
102
- }
103
- .add-tag-btn {
104
- visibility: visible;
105
- }
21
+ }
22
+ .flag-icon {
23
+ display: inline-block;
24
+ margin: 0 2px 0 0;
25
+ width: 16px;
26
+ }
27
+ .task-move {
28
+ display: inline-block;
29
+ width: 16px;
30
+ margin-right: 8px;
31
+ opacity: 0;
32
+ font-size: 16px;
33
+ text-align: right;
34
+ cursor: move;
35
+ color: #000;
36
+ &.show {
37
+ opacity: 1;
38
+ }
39
+ }
40
+ .member-align-block {
41
+ display: block;
42
+ padding-left: 24px;
43
+ }
44
+ .sub-task-members {
45
+ width: 25%;
46
+ flex-shrink: 0;
47
+ }
48
+ .task-status-label {
49
+ opacity: 1;
50
+ transition: opacity 0.3s;
51
+ flex-shrink: 0;
52
+ margin-left: 50px;
53
+ &.hide {
54
+ opacity: 0;
106
55
  }
107
56
  }
108
57
  .hover-operate-icon {
109
58
  display: none;
110
59
  position: absolute;
111
- right: 0;
112
- z-index: 100;
60
+ right: 20px;
61
+ .ant-btn:first-child {
62
+ margin-left: 0;
63
+ }
113
64
  &.show {
114
65
  display: block;
115
66
  }
116
67
  }
117
- .hide {
118
- visibility: hidden;
119
- }
120
- }
121
- .task-date-picker {
122
- .ant-calendar-range .ant-calendar-footer-extra {
123
- float: right;
124
- // text-align: right;
125
- }
126
68
  }
127
69
  }
@@ -2,6 +2,6 @@
2
2
  import "./index.less";
3
3
  declare const TaskPropertiesView: (props: {
4
4
  id: string;
5
- default?: boolean | undefined;
5
+ default?: boolean;
6
6
  }) => JSX.Element;
7
7
  export default TaskPropertiesView;
@@ -1,28 +1,61 @@
1
1
  import "./index.less";
2
- import React, { useState } from "react";
2
+ import { Archive, Open, Reload } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
3
+ import { CommentDataIcon, DocumentDataIcon, UserQuickIcon, } from "@voplus/morpho-document/es/controls/data-icons";
4
+ import React, { useEffect, useState } from "react";
5
+ import { Skeleton, message } from "@voplus/antd";
3
6
  import { useTask, useTaskStore } from "../../../../data/task";
7
+ import AvatarList from "@voplus/morpho-document/es/components/AvatarList";
8
+ import DataIconBar from "@voplus/morpho-document/es/controls/DataIconBar";
9
+ import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEditor";
10
+ import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
4
11
  import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
5
- import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
6
- import RichTextEditor from "@voplus/morpho-ui/es/controls/RichTextEditor";
7
- import Scrollbars from "react-custom-scrollbars";
8
- import { Skeleton } from "@voplus/antd";
9
12
  import SubTaskList from "../SubTaskList";
10
- import TaskHeader from "../TaskHeader";
11
- import { faEdit } from "@fortawesome/pro-light-svg-icons";
12
- import { useObserver } from "mobx-react-lite";
13
+ import TaskAnalyticsDataIcon from "../../reports/TaskAnalyticsDataIcon";
14
+ import TaskEstimatedTime from "../TaskEstimatedTime";
15
+ import TaskStatusLabel from "../../controls/TaskStatusLabel";
16
+ import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
17
+ import { autorun } from "mobx";
18
+ import { observe } from "@voplus/morpho-ui";
19
+ import { useApplicationContext } from "@voplus/morpho-data";
13
20
  const TaskPropertiesView = (props) => {
14
21
  const id = props.id;
15
- const task = useTask(id, { reload: false, includes: "tags,task-number-reports" });
22
+ const { user } = useApplicationContext();
23
+ const task = useTask(id, { reload: false, includes: "tags" });
16
24
  const taskStore = useTaskStore();
25
+ const [taskStatus, setTaskStatus] = useState(task.taskStatus);
17
26
  const [loaded, setLoaded] = useState(true);
18
- return useObserver(() => (React.createElement("div", { className: "module-detail-view" }, loaded && (React.createElement(React.Fragment, null,
19
- React.createElement(TaskHeader, { id: id, onReload: onReload }),
27
+ useEffect(() => autorun(() => setTaskStatus(task.taskStatus)), [task.taskStatus]);
28
+ return observe(() => (React.createElement("div", { className: "module-detail-view" }, loaded && (React.createElement(React.Fragment, null,
29
+ React.createElement(DocumentHeader, { id: id, size: "h3", quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, className: "task-properties-view-header", quickDataBar: React.createElement(React.Fragment, null,
30
+ React.createElement("div", null,
31
+ React.createElement(TaskEstimatedTime, { id: id, estimatedHours: task.estimatedHours || 0, startDate: task.startDate, dueDate: task.dueDate, editable: !task.readonly, className: "margin-right-10" }),
32
+ React.createElement(DataIconBar, null,
33
+ React.createElement(DocumentDataIcon, { id: id }),
34
+ React.createElement(CommentDataIcon, { id: id }),
35
+ React.createElement(UserQuickIcon, { id: id })),
36
+ React.createElement(TaskAnalyticsDataIcon, { id: id, className: "margin-left-10" })),
37
+ React.createElement(AvatarList, { organizationId: user.info.organizationId, editable: !task.readonly, multiple: true, list: [
38
+ ...(task.members || []),
39
+ ...(task.childMembers || [])
40
+ .filter((item) => !(task.members || []).some((member) => member.id === item.id))
41
+ .map((item) => ({
42
+ ...item,
43
+ disabled: true,
44
+ })),
45
+ ], onChange: (ids) => {
46
+ taskStore.edit(id, { data: { MemberIds: ids }, error: "message" });
47
+ } })), tools: React.createElement("div", { className: "tools-bar" },
48
+ React.createElement("div", null,
49
+ React.createElement(ToolBar, { id: id, moreProps: { closeAside: true } },
50
+ React.createElement(Reload, { action: onReload }),
51
+ React.createElement(Open, { url: `/tasks/${id}` }),
52
+ React.createElement(Archive, null))),
53
+ React.createElement(TaskStatusLabel, { status: taskStatus, editable: !task.readonly, onChange: (TaskStatus) => onEdit(TaskStatus), className: "margin-top-10" })), descriptionVisible: false }),
20
54
  React.createElement(DocumentTabs, { id: id, exclude: ["Task"], details: React.createElement("div", { className: "task-properties-view" },
21
- React.createElement(Scrollbars, { autoHide: true },
22
- React.createElement("div", { className: "task-description" }, task.loading ? (React.createElement(Skeleton, { active: true })) : (React.createElement(RichTextEditor, { readOnly: task.status === "Readonly", editable: false, defaultValue: id, content: task.description || "", placeholder: task.status === "Readonly" ? ("No description") : (React.createElement("span", null,
23
- React.createElement(FAIcon, { icon: faEdit }),
24
- "Add Description")), onSave: v => taskStore.edit(task.id, { Description: v }) }))),
25
- React.createElement(SubTaskList, { parentId: id, readonly: task.status === "Readonly" }))) }))))));
55
+ task.loading ? (React.createElement("div", { className: "task-description" },
56
+ React.createElement(Skeleton, { active: true }),
57
+ " ")) : (React.createElement(DescriptionEditor, { id: id, description: task.description, readonly: task.readonly })),
58
+ React.createElement(SubTaskList, { parentId: id, readonly: task.status === "Readonly" })) }))))));
26
59
  /** reload data */
27
60
  function onReload() {
28
61
  setLoaded(false);
@@ -30,6 +63,17 @@ const TaskPropertiesView = (props) => {
30
63
  setLoaded(true);
31
64
  }, 100);
32
65
  }
66
+ /** task edit TaskStatus */
67
+ async function onEdit(TaskStatus) {
68
+ setTaskStatus(TaskStatus);
69
+ await taskStore.edit(id, {
70
+ data: { TaskStatus },
71
+ error: (error) => {
72
+ message.error(error.message);
73
+ setTaskStatus(task.taskStatus);
74
+ },
75
+ });
76
+ }
33
77
  };
34
78
  export default TaskPropertiesView;
35
79
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,YAAY,MAAM,oD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,cAAc,IACd,QAAQ,EAAE,IAAI,CAAC,MAAM,KAAK,UAAU,EACpC,QAAQ,EAAE,KAAK,EACf,YAAY,EAAE,EAAE,EAChB,OAAO,EAAE,IAAI,CAAC,WAAW,IAAI,EAAE,EAC/B,WAAW,EACV,IAAI,CAAC,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC,CAC5B,gBAAgB,CAChB,CAAC,CAAC,CAAC,CACH;4BACC,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,GAAI;8CAElB,CACP,EAEF,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,CAAC,EAAE,CAAC,GACvD,CACF,CACI;oBACN,oBAAC,WAAW,IAAC,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,MAAM,KAAK,UAAU,GAAI,CACvD,CACR,GAEN,CACc,CACjB,CACI,CACN,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AACF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc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AC,CAAC,CACH,oBAAC,iBAAiB,IACjB,EAAE,EAAE,EAAE,EACN,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,GACtB,CACF;gBAED,oBAAC,WAAW,IAAC,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,MAAM,KAAK,UAAU,GAAI,CAC9D,GAEN,CACc,CACjB,CACI,CACN,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;IAED,2BAA2B;IAC3B,KAAK,UAAU,MAAM,CAAC,UAAe;QACpC,aAAa,CAAC,UAAU,CAAC,CAAC;QAC1B,MAAM,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE;YACxB,IAAI,EAAE,EAAE,UAAU,EAAE;YACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE;gBACvB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;gBAC7B,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAChC,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AACF,eAAe,kBAAkB,CAAC"}
@@ -1,4 +1,10 @@
1
1
  :global {
2
+ .task-properties-view-header {
3
+ color: #444;
4
+ .tools-bar {
5
+ text-align: right;
6
+ }
7
+ }
2
8
  .task-properties-view {
3
9
  display: flex;
4
10
  flex-direction: column;