@voplus/morpho-workspace 1.0.0-mobx01 → 1.1.0-dev002

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 (616) hide show
  1. package/changelog.md +0 -65
  2. package/es/Modules.js +7 -16
  3. package/es/Modules.js.map +1 -1
  4. package/es/components/AssignPeople/index.js +6 -7
  5. package/es/components/AssignPeople/index.js.map +1 -1
  6. package/es/components/AssignPeople/index.less +0 -0
  7. package/es/components/AvatarList/index.d.ts +19 -0
  8. package/es/components/AvatarList/index.js +124 -0
  9. package/es/components/AvatarList/index.js.map +1 -0
  10. package/es/components/AvatarList/index.less +72 -0
  11. package/es/components/AvatarList/state.d.ts +25 -0
  12. package/es/components/AvatarList/state.js +52 -0
  13. package/es/components/AvatarList/state.js.map +1 -0
  14. package/es/components/PermissionModal/index.d.ts +7 -0
  15. package/es/components/PermissionModal/index.js +18 -0
  16. package/es/components/PermissionModal/index.js.map +1 -0
  17. package/es/components/PermissionModal/index.less +7 -0
  18. package/es/components/TimeLog/index.d.ts +1 -1
  19. package/es/components/TimeLog/index.js +6 -7
  20. package/es/components/TimeLog/index.js.map +1 -1
  21. package/es/components/ToolBar/index.d.ts +47 -0
  22. package/es/components/ToolBar/index.js +72 -0
  23. package/es/components/ToolBar/index.js.map +1 -0
  24. package/es/components/ToolBar/index.less +18 -0
  25. package/es/components/ToolBar/state.d.ts +9 -0
  26. package/es/components/ToolBar/state.js +23 -0
  27. package/es/components/ToolBar/state.js.map +1 -0
  28. package/es/controls/DocumentStatusLabel/index.d.ts +14 -0
  29. package/es/controls/DocumentStatusLabel/index.js +41 -0
  30. package/es/controls/DocumentStatusLabel/index.js.map +1 -0
  31. package/es/controls/DocumentStatusLabel/index.less +45 -0
  32. package/es/controls/FlagIcon/index.d.ts +17 -0
  33. package/es/controls/FlagIcon/index.js +58 -0
  34. package/es/controls/FlagIcon/index.js.map +1 -0
  35. package/es/controls/FlagIcon/index.less +21 -0
  36. package/es/controls/IconNumbers/index.d.ts +18 -0
  37. package/es/controls/IconNumbers/index.js +31 -0
  38. package/es/controls/IconNumbers/index.js.map +1 -0
  39. package/es/controls/IconNumbers/index.less +10 -0
  40. package/es/controls/MoreOperateDropdown/index.d.ts +1 -1
  41. package/es/controls/MoreOperateDropdown/index.js +13 -14
  42. package/es/controls/MoreOperateDropdown/index.js.map +1 -1
  43. package/es/data/board/BoardColumnStore.d.ts +13 -3
  44. package/es/data/board/BoardColumnStore.js +26 -9
  45. package/es/data/board/BoardColumnStore.js.map +1 -1
  46. package/es/data/board/BoardStore.d.ts +12 -2
  47. package/es/data/board/BoardStore.js +25 -8
  48. package/es/data/board/BoardStore.js.map +1 -1
  49. package/es/data/board/LinkStore.d.ts +11 -0
  50. package/es/data/board/LinkStore.js +40 -0
  51. package/es/data/board/LinkStore.js.map +1 -0
  52. package/es/data/board/hooks.d.ts +2 -2
  53. package/es/data/board/hooks.js +4 -4
  54. package/es/data/board/hooks.js.map +1 -1
  55. package/es/data/board/index.d.ts +1 -1
  56. package/es/data/board/index.js +1 -3
  57. package/es/data/board/index.js.map +1 -1
  58. package/es/data/board/interfaces.d.ts +2 -2
  59. package/es/data/board/interfaces.js +0 -1
  60. package/es/data/board/metas.d.ts +1 -3
  61. package/es/data/board/metas.js +3 -11
  62. package/es/data/board/metas.js.map +1 -1
  63. package/es/data/board/mock.js +29 -8
  64. package/es/data/board/mock.js.map +1 -1
  65. package/es/data/board/types.js +0 -1
  66. package/es/data/meeting/AgendaStore.d.ts +5 -2
  67. package/es/data/meeting/AgendaStore.js +15 -8
  68. package/es/data/meeting/AgendaStore.js.map +1 -1
  69. package/es/data/meeting/MeetingStore.d.ts +5 -5
  70. package/es/data/meeting/MeetingStore.js +11 -24
  71. package/es/data/meeting/MeetingStore.js.map +1 -1
  72. package/es/data/meeting/hooks.d.ts +4 -7
  73. package/es/data/meeting/hooks.js +6 -11
  74. package/es/data/meeting/hooks.js.map +1 -1
  75. package/es/data/meeting/index.js +0 -2
  76. package/es/data/meeting/index.js.map +1 -1
  77. package/es/data/meeting/interfaces.d.ts +1 -15
  78. package/es/data/meeting/interfaces.js +0 -1
  79. package/es/data/meeting/metas.d.ts +2 -11
  80. package/es/data/meeting/metas.js +7 -38
  81. package/es/data/meeting/metas.js.map +1 -1
  82. package/es/data/meeting/types.d.ts +1 -1
  83. package/es/data/meeting/types.js +0 -1
  84. package/es/data/task/TaskStore.d.ts +12 -2
  85. package/es/data/task/TaskStore.js +25 -8
  86. package/es/data/task/TaskStore.js.map +1 -1
  87. package/es/data/task/hooks.d.ts +2 -3
  88. package/es/data/task/hooks.js +5 -5
  89. package/es/data/task/hooks.js.map +1 -1
  90. package/es/data/task/index.js +0 -2
  91. package/es/data/task/index.js.map +1 -1
  92. package/es/data/task/interfaces.d.ts +2 -4
  93. package/es/data/task/interfaces.js +0 -1
  94. package/es/data/task/metas.d.ts +1 -3
  95. package/es/data/task/metas.js +4 -12
  96. package/es/data/task/metas.js.map +1 -1
  97. package/es/data/task/types.js +0 -1
  98. package/es/modules/board/BoardRouets.js +5 -5
  99. package/es/modules/board/components/Board/index.js +48 -48
  100. package/es/modules/board/components/Board/index.js.map +1 -1
  101. package/es/modules/board/components/Board/index.less +51 -83
  102. package/es/modules/board/components/Board/state.d.ts +5 -25
  103. package/es/modules/board/components/Board/state.js +50 -249
  104. package/es/modules/board/components/Board/state.js.map +1 -1
  105. package/es/modules/board/components/BoardColumn/index.js +43 -27
  106. package/es/modules/board/components/BoardColumn/index.js.map +1 -1
  107. package/es/modules/board/components/BoardColumn/index.less +16 -26
  108. package/es/modules/board/components/BoardColumn/state.d.ts +18 -26
  109. package/es/modules/board/components/BoardColumn/state.js +65 -202
  110. package/es/modules/board/components/BoardColumn/state.js.map +1 -1
  111. package/es/modules/board/components/DocumentCard/index.d.ts +10 -0
  112. package/es/modules/board/components/DocumentCard/index.js +111 -0
  113. package/es/modules/board/components/DocumentCard/index.js.map +1 -0
  114. package/es/modules/board/components/DocumentCard/index.less +116 -0
  115. package/es/modules/board/components/DocumentCard/state.d.ts +15 -0
  116. package/es/modules/board/components/DocumentCard/state.js +54 -0
  117. package/es/modules/board/components/DocumentCard/state.js.map +1 -0
  118. package/es/modules/board/components/LinkList/index.d.ts +4 -0
  119. package/es/modules/board/components/LinkList/index.js +38 -0
  120. package/es/modules/board/components/LinkList/index.js.map +1 -0
  121. package/es/modules/board/components/LinkList/state.d.ts +15 -0
  122. package/es/modules/board/components/LinkList/state.js +33 -0
  123. package/es/modules/board/components/LinkList/state.js.map +1 -0
  124. package/es/modules/board/components/NewTaskForm/index.d.ts +11 -0
  125. package/es/modules/board/components/NewTaskForm/index.js +85 -0
  126. package/es/modules/board/components/NewTaskForm/index.js.map +1 -0
  127. package/es/modules/board/components/NewTaskForm/index.less +102 -0
  128. package/es/modules/board/components/NewTaskForm/state.d.ts +25 -0
  129. package/es/modules/board/components/NewTaskForm/state.js +41 -0
  130. package/es/modules/board/components/NewTaskForm/state.js.map +1 -0
  131. package/es/modules/board/components/TaskCard/index.d.ts +4 -0
  132. package/es/modules/board/components/TaskCard/index.js +97 -0
  133. package/es/modules/board/components/TaskCard/index.js.map +1 -0
  134. package/es/modules/board/components/TaskCard/index.less +115 -0
  135. package/es/modules/board/components/TaskCard/state.d.ts +44 -0
  136. package/es/modules/board/components/TaskCard/state.js +119 -0
  137. package/es/modules/board/components/TaskCard/state.js.map +1 -0
  138. package/es/modules/board/components/links/index.d.ts +12 -0
  139. package/es/modules/board/components/links/index.js +26 -0
  140. package/es/modules/board/components/links/index.js.map +1 -0
  141. package/es/modules/board/pages/BoardViewList/index.js +14 -25
  142. package/es/modules/board/pages/BoardViewList/index.js.map +1 -1
  143. package/es/modules/board/pages/BoardViewList/state.d.ts +1 -1
  144. package/es/modules/board/pages/BoardViewList/state.js +5 -8
  145. package/es/modules/board/pages/BoardViewList/state.js.map +1 -1
  146. package/es/modules/calendar/CalendarRoutes.js +5 -5
  147. package/es/modules/calendar/CalendarRoutes.js.map +1 -1
  148. package/es/modules/calendar/components/CalendarMenu/index.d.ts +1 -1
  149. package/es/modules/calendar/components/CalendarMenu/index.js +3 -4
  150. package/es/modules/calendar/components/CalendarMenu/index.js.map +1 -1
  151. package/es/modules/calendar/components/TaskCard/index.d.ts +7 -0
  152. package/es/modules/calendar/components/TaskCard/index.js +25 -0
  153. package/es/modules/calendar/components/TaskCard/index.js.map +1 -0
  154. package/es/modules/calendar/components/TaskCard/index.less +64 -0
  155. package/es/modules/calendar/components/TaskCard/state.d.ts +16 -0
  156. package/es/modules/calendar/components/TaskCard/state.js +58 -0
  157. package/es/modules/calendar/components/TaskCard/state.js.map +1 -0
  158. package/es/modules/calendar/pages/CalendarMonth/index.d.ts +4 -0
  159. package/es/modules/calendar/pages/CalendarMonth/index.js +165 -86
  160. package/es/modules/calendar/pages/CalendarMonth/index.js.map +1 -1
  161. package/es/modules/calendar/pages/CalendarMonth/index.less +142 -194
  162. package/es/modules/calendar/pages/CalendarMonth/state.d.ts +1 -10
  163. package/es/modules/calendar/pages/CalendarMonth/state.js +4 -46
  164. package/es/modules/calendar/pages/CalendarMonth/state.js.map +1 -1
  165. package/es/modules/calendar/pages/CalendarWeek/index.d.ts +0 -0
  166. package/es/modules/calendar/pages/CalendarWeek/index.js +1 -0
  167. package/es/modules/calendar/pages/CalendarWeek/index.js.map +1 -0
  168. package/es/modules/meeting/MeetingRoutes.d.ts +2 -4
  169. package/es/modules/meeting/MeetingRoutes.js +17 -17
  170. package/es/modules/meeting/MeetingRoutes.js.map +1 -1
  171. package/es/modules/meeting/components/AgendaList/AgendaHeader/index.d.ts +2 -2
  172. package/es/modules/meeting/components/AgendaList/AgendaHeader/index.js +2 -3
  173. package/es/modules/meeting/components/AgendaList/AgendaHeader/index.js.map +1 -1
  174. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.d.ts +7 -0
  175. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.js +37 -0
  176. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.js.map +1 -0
  177. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.less +57 -0
  178. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js +23 -20
  179. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js.map +1 -1
  180. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.d.ts +5 -7
  181. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js +31 -97
  182. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js.map +1 -1
  183. package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +76 -38
  184. package/es/modules/meeting/components/AgendaList/AgendaItem/index.js.map +1 -1
  185. package/es/modules/meeting/components/AgendaList/AgendaItem/index.less +69 -35
  186. package/es/modules/meeting/components/AgendaList/AgendaItem/state.d.ts +2 -3
  187. package/es/modules/meeting/components/AgendaList/AgendaItem/state.js +16 -72
  188. package/es/modules/meeting/components/AgendaList/AgendaItem/state.js.map +1 -1
  189. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js +31 -14
  190. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js.map +1 -1
  191. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.less +2 -2
  192. package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.d.ts +0 -7
  193. package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js +5 -84
  194. package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js.map +1 -1
  195. package/es/modules/meeting/components/AgendaList/index.js +48 -52
  196. package/es/modules/meeting/components/AgendaList/index.js.map +1 -1
  197. package/es/modules/meeting/components/AgendaList/state.d.ts +21 -3
  198. package/es/modules/meeting/components/AgendaList/state.js +71 -22
  199. package/es/modules/meeting/components/AgendaList/state.js.map +1 -1
  200. package/es/modules/meeting/components/MeetingDescription/index.d.ts +1 -0
  201. package/es/modules/meeting/components/MeetingDescription/index.js +21 -10
  202. package/es/modules/meeting/components/MeetingDescription/index.js.map +1 -1
  203. package/es/modules/meeting/components/MeetingHeader/index.d.ts +4 -2
  204. package/es/modules/meeting/components/MeetingHeader/index.js +87 -69
  205. package/es/modules/meeting/components/MeetingHeader/index.js.map +1 -1
  206. package/es/modules/meeting/components/MeetingHeader/index.less +22 -5
  207. package/es/modules/meeting/components/MeetingItem/index.d.ts +1 -4
  208. package/es/modules/meeting/components/MeetingItem/index.js +30 -50
  209. package/es/modules/meeting/components/MeetingItem/index.js.map +1 -1
  210. package/es/modules/meeting/components/MeetingItem/index.less +41 -48
  211. package/es/modules/meeting/components/MeetingItem/state.d.ts +2 -5
  212. package/es/modules/meeting/components/MeetingItem/state.js +7 -40
  213. package/es/modules/meeting/components/MeetingItem/state.js.map +1 -1
  214. package/es/modules/meeting/components/MeetingPropertiesView/index.js +8 -4
  215. package/es/modules/meeting/components/MeetingPropertiesView/index.js.map +1 -1
  216. package/es/modules/meeting/components/MeetingPropertiesView/index.less +1 -1
  217. package/es/modules/meeting/components/MeetingQuickViewDialog/index.d.ts +2 -3
  218. package/es/modules/meeting/components/MeetingQuickViewDialog/index.js +4 -11
  219. package/es/modules/meeting/components/MeetingQuickViewDialog/index.js.map +1 -1
  220. package/es/modules/meeting/components/MeetingQuickViewDialog/index.less +0 -7
  221. package/es/modules/meeting/components/NewMeetingForm/index.d.ts +1 -7
  222. package/es/modules/meeting/components/NewMeetingForm/index.js +90 -66
  223. package/es/modules/meeting/components/NewMeetingForm/index.js.map +1 -1
  224. package/es/modules/meeting/components/NewMeetingForm/index.less +0 -9
  225. package/es/modules/meeting/components/NewMeetingForm/state.d.ts +0 -3
  226. package/es/modules/meeting/components/NewMeetingForm/state.js +13 -46
  227. package/es/modules/meeting/components/NewMeetingForm/state.js.map +1 -1
  228. package/es/modules/meeting/pages/MeetingList/index.d.ts +3 -0
  229. package/es/modules/meeting/pages/MeetingList/index.js +40 -0
  230. package/es/modules/meeting/pages/MeetingList/index.js.map +1 -0
  231. package/es/modules/meeting/pages/MeetingList/state.d.ts +14 -0
  232. package/es/modules/meeting/pages/MeetingList/state.js +44 -0
  233. package/es/modules/meeting/pages/MeetingList/state.js.map +1 -0
  234. package/es/modules/meeting/pages/MeetingPrintView/index.js +18 -19
  235. package/es/modules/meeting/pages/MeetingPrintView/index.js.map +1 -1
  236. package/es/modules/meeting/pages/MeetingTabView/index.js +21 -16
  237. package/es/modules/meeting/pages/MeetingTabView/index.js.map +1 -1
  238. package/es/modules/member/components/MemberDropdown.js +2 -3
  239. package/es/modules/member/components/MemberDropdown.js.map +1 -1
  240. package/es/modules/member/components/MemberList.js +4 -4
  241. package/es/modules/member/components/MemberList.js.map +1 -1
  242. package/es/modules/member/pages/MemberListView/index.js +28 -29
  243. package/es/modules/member/pages/MemberListView/index.js.map +1 -1
  244. package/es/modules/menus/components/Access/index.d.ts +2 -2
  245. package/es/modules/menus/components/Access/index.js +4 -5
  246. package/es/modules/menus/components/Access/index.js.map +1 -1
  247. package/es/modules/menus/components/Account/index.d.ts +2 -2
  248. package/es/modules/menus/components/Account/index.js +4 -5
  249. package/es/modules/menus/components/Account/index.js.map +1 -1
  250. package/es/modules/menus/components/AddUsers/index.js +15 -11
  251. package/es/modules/menus/components/AddUsers/index.js.map +1 -1
  252. package/es/modules/menus/components/Status/index.d.ts +2 -2
  253. package/es/modules/menus/components/Status/index.js +4 -5
  254. package/es/modules/menus/components/Status/index.js.map +1 -1
  255. package/es/modules/menus/components/UsersList/index.js +21 -22
  256. package/es/modules/menus/components/UsersList/index.js.map +1 -1
  257. package/es/modules/menus/pages/ListOptions/Company/index.d.ts +2 -2
  258. package/es/modules/menus/pages/ListOptions/Company/index.js +54 -52
  259. package/es/modules/menus/pages/ListOptions/Company/index.js.map +1 -1
  260. package/es/modules/menus/pages/ListOptions/Teams/index.js +15 -18
  261. package/es/modules/menus/pages/ListOptions/Teams/index.js.map +1 -1
  262. package/es/modules/menus/pages/ListOptions/Users/index.js +3 -4
  263. package/es/modules/menus/pages/ListOptions/Users/index.js.map +1 -1
  264. package/es/modules/menus/pages/ListOptions/index.js +15 -16
  265. package/es/modules/menus/pages/ListOptions/index.js.map +1 -1
  266. package/es/modules/tasks/TasksRoutes.d.ts +1 -3
  267. package/es/modules/tasks/TasksRoutes.js +6 -6
  268. package/es/modules/tasks/TasksRoutes.js.map +1 -1
  269. package/es/modules/tasks/components/NewTaskForm/index.js +60 -64
  270. package/es/modules/tasks/components/NewTaskForm/index.js.map +1 -1
  271. package/es/modules/tasks/components/NewTaskForm/index.less +39 -24
  272. package/es/modules/tasks/components/NewTaskForm/state.js +15 -41
  273. package/es/modules/tasks/components/NewTaskForm/state.js.map +1 -1
  274. package/es/modules/tasks/components/SubTaskList/index.d.ts +0 -1
  275. package/es/modules/tasks/components/SubTaskList/index.js +61 -113
  276. package/es/modules/tasks/components/SubTaskList/index.js.map +1 -1
  277. package/es/modules/tasks/components/SubTaskList/index.less +0 -16
  278. package/es/modules/tasks/components/SubTaskList/state.d.ts +17 -12
  279. package/es/modules/tasks/components/SubTaskList/state.js +54 -58
  280. package/es/modules/tasks/components/SubTaskList/state.js.map +1 -1
  281. package/es/modules/tasks/components/TaskDescription/index.d.ts +1 -1
  282. package/es/modules/tasks/components/TaskDescription/index.js +11 -8
  283. package/es/modules/tasks/components/TaskDescription/index.js.map +1 -1
  284. package/es/modules/tasks/components/TaskHeader/index.d.ts +13 -0
  285. package/es/modules/tasks/components/TaskHeader/index.js +43 -0
  286. package/es/modules/tasks/components/TaskHeader/index.js.map +1 -0
  287. package/es/modules/tasks/components/TaskHeader/index.less +51 -0
  288. package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js +29 -47
  289. package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js.map +1 -1
  290. package/es/modules/tasks/components/TaskItem/SubTaskItem.js +41 -47
  291. package/es/modules/tasks/components/TaskItem/SubTaskItem.js.map +1 -1
  292. package/es/modules/tasks/components/TaskItem/defaultTaskItem.less +33 -30
  293. package/es/modules/tasks/components/TaskItem/state.d.ts +17 -20
  294. package/es/modules/tasks/components/TaskItem/state.js +88 -160
  295. package/es/modules/tasks/components/TaskItem/state.js.map +1 -1
  296. package/es/modules/tasks/components/TaskItem/subTaskItem.less +106 -48
  297. package/es/modules/tasks/components/TaskPropertiesView/index.d.ts +1 -1
  298. package/es/modules/tasks/components/TaskPropertiesView/index.js +16 -61
  299. package/es/modules/tasks/components/TaskPropertiesView/index.js.map +1 -1
  300. package/es/modules/tasks/components/TaskPropertiesView/index.less +0 -6
  301. package/es/modules/tasks/components/TaskQuickViewDialog/index.d.ts +2 -2
  302. package/es/modules/tasks/components/TaskQuickViewDialog/index.js +5 -68
  303. package/es/modules/tasks/components/TaskQuickViewDialog/index.js.map +1 -1
  304. package/es/modules/tasks/components/TaskQuickViewDialog/index.less +6 -12
  305. package/es/modules/tasks/components/TaskTimeBox/index.d.ts +16 -0
  306. package/es/modules/tasks/components/TaskTimeBox/index.js +62 -0
  307. package/es/modules/tasks/components/TaskTimeBox/index.js.map +1 -0
  308. package/es/modules/tasks/components/{TaskEstimatedTime → TaskTimeBox}/state.d.ts +6 -18
  309. package/es/modules/tasks/components/TaskTimeBox/state.js +76 -0
  310. package/es/modules/tasks/components/TaskTimeBox/state.js.map +1 -0
  311. package/es/modules/tasks/pages/TaskList/index.d.ts +1 -3
  312. package/es/modules/tasks/pages/TaskList/index.js +97 -55
  313. package/es/modules/tasks/pages/TaskList/index.js.map +1 -1
  314. package/es/modules/tasks/pages/TaskList/state.d.ts +10 -0
  315. package/es/modules/tasks/pages/TaskList/state.js +31 -0
  316. package/es/modules/tasks/pages/TaskList/state.js.map +1 -0
  317. package/es/modules/tasks/pages/TaskTabView/index.js +25 -82
  318. package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -1
  319. package/es/modules/tasks/pages/TaskTabView/index.less +0 -22
  320. package/es/modules/user/pages/Positions/index.js +18 -19
  321. package/es/modules/user/pages/Positions/index.js.map +1 -1
  322. package/es/modules/workspaces/components/Access/index.d.ts +2 -2
  323. package/es/modules/workspaces/components/Access/index.js +4 -5
  324. package/es/modules/workspaces/components/Access/index.js.map +1 -1
  325. package/es/modules/workspaces/components/Account/index.d.ts +2 -2
  326. package/es/modules/workspaces/components/Account/index.js +4 -5
  327. package/es/modules/workspaces/components/Account/index.js.map +1 -1
  328. package/es/modules/workspaces/components/AddUsers/index.js +15 -11
  329. package/es/modules/workspaces/components/AddUsers/index.js.map +1 -1
  330. package/es/modules/workspaces/components/ListHeard/index.d.ts +1 -1
  331. package/es/modules/workspaces/components/ListHeard/index.js +4 -5
  332. package/es/modules/workspaces/components/ListHeard/index.js.map +1 -1
  333. package/es/modules/workspaces/components/Status/index.d.ts +2 -2
  334. package/es/modules/workspaces/components/Status/index.js +4 -5
  335. package/es/modules/workspaces/components/Status/index.js.map +1 -1
  336. package/es/modules/workspaces/components/UsersList/index.js +21 -22
  337. package/es/modules/workspaces/components/UsersList/index.js.map +1 -1
  338. package/es/modules/workspaces/pages/BoardView/index.js +17 -20
  339. package/es/modules/workspaces/pages/BoardView/index.js.map +1 -1
  340. package/es/modules/workspaces/pages/ListView/index.js +14 -17
  341. package/es/modules/workspaces/pages/ListView/index.js.map +1 -1
  342. package/es/modules/workspaces/pages/Users/index.js +4 -5
  343. package/es/modules/workspaces/pages/Users/index.js.map +1 -1
  344. package/es/routes.js +2 -6
  345. package/es/routes.js.map +1 -1
  346. package/es/style/common.less +0 -3
  347. package/package.json +33 -27
  348. package/es/controls/AssignButton/index.d.ts +0 -9
  349. package/es/controls/AssignButton/index.js +0 -19
  350. package/es/controls/AssignButton/index.js.map +0 -1
  351. package/es/controls/Corner/index.d.ts +0 -9
  352. package/es/controls/Corner/index.js +0 -10
  353. package/es/controls/Corner/index.js.map +0 -1
  354. package/es/controls/Corner/index.less +0 -7
  355. package/es/controls/StickyAddButton/index.d.ts +0 -10
  356. package/es/controls/StickyAddButton/index.js +0 -14
  357. package/es/controls/StickyAddButton/index.js.map +0 -1
  358. package/es/controls/StickyAddButton/index.less +0 -21
  359. package/es/controls/filters/AssigneeViewFilter/index.d.ts +0 -4
  360. package/es/controls/filters/AssigneeViewFilter/index.js +0 -48
  361. package/es/controls/filters/AssigneeViewFilter/index.js.map +0 -1
  362. package/es/controls/filters/AssigneeViewFilter/index.less +0 -24
  363. package/es/controls/filters/AssigneeViewFilter/state.d.ts +0 -13
  364. package/es/controls/filters/AssigneeViewFilter/state.js +0 -44
  365. package/es/controls/filters/AssigneeViewFilter/state.js.map +0 -1
  366. package/es/controls/filters/DueDateFilter/index.d.ts +0 -3
  367. package/es/controls/filters/DueDateFilter/index.js +0 -22
  368. package/es/controls/filters/DueDateFilter/index.js.map +0 -1
  369. package/es/controls/filters/DueDateFilter/state.d.ts +0 -11
  370. package/es/controls/filters/DueDateFilter/state.js +0 -39
  371. package/es/controls/filters/DueDateFilter/state.js.map +0 -1
  372. package/es/controls/filters/StartDateFilter/index.d.ts +0 -10
  373. package/es/controls/filters/StartDateFilter/index.js +0 -25
  374. package/es/controls/filters/StartDateFilter/index.js.map +0 -1
  375. package/es/controls/filters/StartDateFilter/state.d.ts +0 -11
  376. package/es/controls/filters/StartDateFilter/state.js +0 -39
  377. package/es/controls/filters/StartDateFilter/state.js.map +0 -1
  378. package/es/controls/filters/TaskStatusFilter/index.d.ts +0 -3
  379. package/es/controls/filters/TaskStatusFilter/index.js +0 -21
  380. package/es/controls/filters/TaskStatusFilter/index.js.map +0 -1
  381. package/es/controls/filters/TaskStatusFilter/state.d.ts +0 -17
  382. package/es/controls/filters/TaskStatusFilter/state.js +0 -47
  383. package/es/controls/filters/TaskStatusFilter/state.js.map +0 -1
  384. package/es/controls/filters/index.d.ts +0 -4
  385. package/es/controls/filters/index.js +0 -5
  386. package/es/controls/filters/index.js.map +0 -1
  387. package/es/data/board/contexts/BoardListContextState/index.d.ts +0 -17
  388. package/es/data/board/contexts/BoardListContextState/index.js +0 -38
  389. package/es/data/board/contexts/BoardListContextState/index.js.map +0 -1
  390. package/es/data/calendar/CalendarStore.d.ts +0 -47
  391. package/es/data/calendar/CalendarStore.js +0 -98
  392. package/es/data/calendar/CalendarStore.js.map +0 -1
  393. package/es/data/calendar/hooks.d.ts +0 -11
  394. package/es/data/calendar/hooks.js +0 -22
  395. package/es/data/calendar/hooks.js.map +0 -1
  396. package/es/data/calendar/index.d.ts +0 -3
  397. package/es/data/calendar/index.js +0 -4
  398. package/es/data/calendar/index.js.map +0 -1
  399. package/es/data/calendar/interfaces.d.ts +0 -11
  400. package/es/data/calendar/interfaces.js +0 -2
  401. package/es/data/calendar/interfaces.js.map +0 -1
  402. package/es/data/calendar/mock.d.ts +0 -2
  403. package/es/data/calendar/mock.js +0 -26
  404. package/es/data/calendar/mock.js.map +0 -1
  405. package/es/data/reports/useEstimatedTimeEffect.d.ts +0 -13
  406. package/es/data/reports/useEstimatedTimeEffect.js +0 -16
  407. package/es/data/reports/useEstimatedTimeEffect.js.map +0 -1
  408. package/es/data/reports/useTaskSummaryEffect.d.ts +0 -12
  409. package/es/data/reports/useTaskSummaryEffect.js +0 -26
  410. package/es/data/reports/useTaskSummaryEffect.js.map +0 -1
  411. package/es/modules/board/components/BoardPropertiesView/index.d.ts +0 -7
  412. package/es/modules/board/components/BoardPropertiesView/index.js +0 -35
  413. package/es/modules/board/components/BoardPropertiesView/index.js.map +0 -1
  414. package/es/modules/board/components/BoardPropertiesView/index.less +0 -12
  415. package/es/modules/board/components/SubDocument/index.d.ts +0 -13
  416. package/es/modules/board/components/SubDocument/index.js +0 -13
  417. package/es/modules/board/components/SubDocument/index.js.map +0 -1
  418. package/es/modules/board/components/SubDocumentList/index.d.ts +0 -6
  419. package/es/modules/board/components/SubDocumentList/index.js +0 -161
  420. package/es/modules/board/components/SubDocumentList/index.js.map +0 -1
  421. package/es/modules/board/components/SubDocumentList/index.less +0 -28
  422. package/es/modules/board/components/SubDocumentList/state.d.ts +0 -25
  423. package/es/modules/board/components/SubDocumentList/state.js +0 -68
  424. package/es/modules/board/components/SubDocumentList/state.js.map +0 -1
  425. package/es/modules/calendar/components/ActionCard/index.d.ts +0 -7
  426. package/es/modules/calendar/components/ActionCard/index.js +0 -12
  427. package/es/modules/calendar/components/ActionCard/index.js.map +0 -1
  428. package/es/modules/calendar/components/CalendarEventContent/index.d.ts +0 -7
  429. package/es/modules/calendar/components/CalendarEventContent/index.js +0 -10
  430. package/es/modules/calendar/components/CalendarEventContent/index.js.map +0 -1
  431. package/es/modules/meeting/components/MeetingList/index.d.ts +0 -11
  432. package/es/modules/meeting/components/MeetingList/index.js +0 -53
  433. package/es/modules/meeting/components/MeetingList/index.js.map +0 -1
  434. package/es/modules/meeting/components/MeetingTaskList/index.d.ts +0 -6
  435. package/es/modules/meeting/components/MeetingTaskList/index.js +0 -22
  436. package/es/modules/meeting/components/MeetingTaskList/index.js.map +0 -1
  437. package/es/modules/meeting/components/MeetingTaskList/index.less +0 -30
  438. package/es/modules/meeting/components/MeetingsFolderProperitesView/index.d.ts +0 -6
  439. package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js +0 -34
  440. package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js.map +0 -1
  441. package/es/modules/meeting/components/MeetingsFolderProperitesView/index.less +0 -8
  442. package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.d.ts +0 -8
  443. package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js +0 -31
  444. package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js.map +0 -1
  445. package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.less +0 -7
  446. package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.d.ts +0 -17
  447. package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.js +0 -24
  448. package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.js.map +0 -1
  449. package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.less +0 -7
  450. package/es/modules/meeting/pages/MeetingListView/index.d.ts +0 -5
  451. package/es/modules/meeting/pages/MeetingListView/index.js +0 -19
  452. package/es/modules/meeting/pages/MeetingListView/index.js.map +0 -1
  453. package/es/modules/tasks/components/TaskEstimatedTime/index.d.ts +0 -12
  454. package/es/modules/tasks/components/TaskEstimatedTime/index.js +0 -74
  455. package/es/modules/tasks/components/TaskEstimatedTime/index.js.map +0 -1
  456. package/es/modules/tasks/components/TaskEstimatedTime/state.js +0 -159
  457. package/es/modules/tasks/components/TaskEstimatedTime/state.js.map +0 -1
  458. package/es/modules/tasks/reports/MemberEstimatedDurationCard/index.d.ts +0 -6
  459. package/es/modules/tasks/reports/MemberEstimatedDurationCard/index.js +0 -41
  460. package/es/modules/tasks/reports/MemberEstimatedDurationCard/index.js.map +0 -1
  461. package/es/modules/tasks/reports/MemberEstimatedDurationCard/index.less +0 -21
  462. package/es/modules/tasks/reports/MemberEstimatedDurationCard/state.d.ts +0 -22
  463. package/es/modules/tasks/reports/MemberEstimatedDurationCard/state.js +0 -148
  464. package/es/modules/tasks/reports/MemberEstimatedDurationCard/state.js.map +0 -1
  465. package/es/modules/tasks/reports/TaskAnalyticsDataIcon/index.d.ts +0 -7
  466. package/es/modules/tasks/reports/TaskAnalyticsDataIcon/index.js +0 -17
  467. package/es/modules/tasks/reports/TaskAnalyticsDataIcon/index.js.map +0 -1
  468. package/es/modules/tasks/reports/TaskAnalyticsDataIcon/index.less +0 -8
  469. package/es/modules/tasks/reports/TaskSummaryCard/index.d.ts +0 -17
  470. package/es/modules/tasks/reports/TaskSummaryCard/index.js +0 -67
  471. package/es/modules/tasks/reports/TaskSummaryCard/index.js.map +0 -1
  472. package/es/modules/tasks/reports/TaskSummaryCard/index.less +0 -20
  473. package/es/modules/tasks/reports/TaskSummaryCard/state.d.ts +0 -11
  474. package/es/modules/tasks/reports/TaskSummaryCard/state.js +0 -54
  475. package/es/modules/tasks/reports/TaskSummaryCard/state.js.map +0 -1
  476. package/es/pages/Project/ProjectDefaultView/index.d.ts +0 -3
  477. package/es/pages/Project/ProjectDefaultView/index.js +0 -65
  478. package/es/pages/Project/ProjectDefaultView/index.js.map +0 -1
  479. package/es/pages/Project/ProjectDefaultView/index.less +0 -22
  480. package/es/pages/Project/data/ProjectStore.d.ts +0 -10
  481. package/es/pages/Project/data/ProjectStore.js +0 -21
  482. package/es/pages/Project/data/ProjectStore.js.map +0 -1
  483. package/es/pages/Project/data/hook.d.ts +0 -9
  484. package/es/pages/Project/data/hook.js +0 -20
  485. package/es/pages/Project/data/hook.js.map +0 -1
  486. package/es/pages/Project/data/index.d.ts +0 -3
  487. package/es/pages/Project/data/index.js +0 -4
  488. package/es/pages/Project/data/index.js.map +0 -1
  489. package/es/pages/Project/data/interfaces.d.ts +0 -2
  490. package/es/pages/Project/data/interfaces.js +0 -2
  491. package/es/pages/Project/data/interfaces.js.map +0 -1
  492. package/es/pages/Routes.d.ts +0 -29
  493. package/es/pages/Routes.js +0 -64
  494. package/es/pages/Routes.js.map +0 -1
  495. package/es/pages/Space/components/Documents/index.d.ts +0 -6
  496. package/es/pages/Space/components/Documents/index.js +0 -41
  497. package/es/pages/Space/components/Documents/index.js.map +0 -1
  498. package/es/pages/Space/components/Documents/index.less +0 -9
  499. package/es/pages/Space/components/Notes/ColorSelect/index.d.ts +0 -10
  500. package/es/pages/Space/components/Notes/ColorSelect/index.js +0 -30
  501. package/es/pages/Space/components/Notes/ColorSelect/index.js.map +0 -1
  502. package/es/pages/Space/components/Notes/ColorSelect/index.less +0 -17
  503. package/es/pages/Space/components/Notes/NewNoteDialog/index.d.ts +0 -10
  504. package/es/pages/Space/components/Notes/NewNoteDialog/index.js +0 -41
  505. package/es/pages/Space/components/Notes/NewNoteDialog/index.js.map +0 -1
  506. package/es/pages/Space/components/Notes/NewNoteDialog/index.less +0 -63
  507. package/es/pages/Space/components/Notes/TextNoteCard/index.d.ts +0 -6
  508. package/es/pages/Space/components/Notes/TextNoteCard/index.js +0 -34
  509. package/es/pages/Space/components/Notes/TextNoteCard/index.js.map +0 -1
  510. package/es/pages/Space/components/Notes/TextNoteCard/index.less +0 -56
  511. package/es/pages/Space/components/Notes/TextNoteCard/state.d.ts +0 -6
  512. package/es/pages/Space/components/Notes/TextNoteCard/state.js +0 -35
  513. package/es/pages/Space/components/Notes/TextNoteCard/state.js.map +0 -1
  514. package/es/pages/Space/components/Notes/index.d.ts +0 -5
  515. package/es/pages/Space/components/Notes/index.js +0 -51
  516. package/es/pages/Space/components/Notes/index.js.map +0 -1
  517. package/es/pages/Space/components/Projects/index.d.ts +0 -5
  518. package/es/pages/Space/components/Projects/index.js +0 -35
  519. package/es/pages/Space/components/Projects/index.js.map +0 -1
  520. package/es/pages/Space/components/Tasks/index.d.ts +0 -7
  521. package/es/pages/Space/components/Tasks/index.js +0 -43
  522. package/es/pages/Space/components/Tasks/index.js.map +0 -1
  523. package/es/pages/Space/components/Tasks/index.less +0 -17
  524. package/es/pages/Space/components/Works/index.d.ts +0 -6
  525. package/es/pages/Space/components/Works/index.js +0 -43
  526. package/es/pages/Space/components/Works/index.js.map +0 -1
  527. package/es/pages/Space/components/Works/index.less +0 -18
  528. package/es/pages/Space/pages/MySpace/index.d.ts +0 -4
  529. package/es/pages/Space/pages/MySpace/index.js +0 -47
  530. package/es/pages/Space/pages/MySpace/index.js.map +0 -1
  531. package/es/pages/Space/pages/MySpace/index.less +0 -60
  532. package/es/pages/Space/pages/MySpace/state.d.ts +0 -12
  533. package/es/pages/Space/pages/MySpace/state.js +0 -61
  534. package/es/pages/Space/pages/MySpace/state.js.map +0 -1
  535. package/es/pages/Work/components/NewWorkDialog/index.d.ts +0 -11
  536. package/es/pages/Work/components/NewWorkDialog/index.js +0 -45
  537. package/es/pages/Work/components/NewWorkDialog/index.js.map +0 -1
  538. package/es/pages/Work/components/NewWorkDialog/index.less +0 -11
  539. package/es/pages/Work/components/WorkCheckList/index.d.ts +0 -5
  540. package/es/pages/Work/components/WorkCheckList/index.js +0 -38
  541. package/es/pages/Work/components/WorkCheckList/index.js.map +0 -1
  542. package/es/pages/Work/components/WorkSummaryCards/WorkActionsCard/index.d.ts +0 -6
  543. package/es/pages/Work/components/WorkSummaryCards/WorkActionsCard/index.js +0 -21
  544. package/es/pages/Work/components/WorkSummaryCards/WorkActionsCard/index.js.map +0 -1
  545. package/es/pages/Work/components/WorkSummaryCards/WorkBlockingsCard/index.d.ts +0 -5
  546. package/es/pages/Work/components/WorkSummaryCards/WorkBlockingsCard/index.js +0 -11
  547. package/es/pages/Work/components/WorkSummaryCards/WorkBlockingsCard/index.js.map +0 -1
  548. package/es/pages/Work/components/WorkSummaryCards/WorkDueCard/index.d.ts +0 -7
  549. package/es/pages/Work/components/WorkSummaryCards/WorkDueCard/index.js +0 -16
  550. package/es/pages/Work/components/WorkSummaryCards/WorkDueCard/index.js.map +0 -1
  551. package/es/pages/Work/components/WorkSummaryCards/index.d.ts +0 -5
  552. package/es/pages/Work/components/WorkSummaryCards/index.js +0 -69
  553. package/es/pages/Work/components/WorkSummaryCards/index.js.map +0 -1
  554. package/es/pages/Work/components/WorkSummaryCards/index.less +0 -35
  555. package/es/pages/Work/components/WorkSummaryCards/state.d.ts +0 -11
  556. package/es/pages/Work/components/WorkSummaryCards/state.js +0 -47
  557. package/es/pages/Work/components/WorkSummaryCards/state.js.map +0 -1
  558. package/es/pages/Work/components/WorkTrail/index.d.ts +0 -5
  559. package/es/pages/Work/components/WorkTrail/index.js +0 -14
  560. package/es/pages/Work/components/WorkTrail/index.js.map +0 -1
  561. package/es/pages/Work/components/WorkTrail/index.less +0 -20
  562. package/es/pages/Work/data/WorkStore.d.ts +0 -10
  563. package/es/pages/Work/data/WorkStore.js +0 -21
  564. package/es/pages/Work/data/WorkStore.js.map +0 -1
  565. package/es/pages/Work/data/hook.d.ts +0 -3
  566. package/es/pages/Work/data/hook.js +0 -10
  567. package/es/pages/Work/data/hook.js.map +0 -1
  568. package/es/pages/Work/data/index.d.ts +0 -3
  569. package/es/pages/Work/data/index.js +0 -4
  570. package/es/pages/Work/data/index.js.map +0 -1
  571. package/es/pages/Work/data/interfaces.d.ts +0 -14
  572. package/es/pages/Work/data/interfaces.js +0 -2
  573. package/es/pages/Work/data/interfaces.js.map +0 -1
  574. package/es/pages/Work/pages/WorkDefaultView/index.d.ts +0 -3
  575. package/es/pages/Work/pages/WorkDefaultView/index.js +0 -58
  576. package/es/pages/Work/pages/WorkDefaultView/index.js.map +0 -1
  577. package/es/pages/Work/pages/WorkDefaultView/index.less +0 -12
  578. package/es/pages/Work/pages/WorkDefaultView/state.d.ts +0 -5
  579. package/es/pages/Work/pages/WorkDefaultView/state.js +0 -18
  580. package/es/pages/Work/pages/WorkDefaultView/state.js.map +0 -1
  581. package/es/pages/WorkType/WorkTypeCheckList/index.d.ts +0 -5
  582. package/es/pages/WorkType/WorkTypeCheckList/index.js +0 -38
  583. package/es/pages/WorkType/WorkTypeCheckList/index.js.map +0 -1
  584. package/es/pages/WorkType/WorkTypeDefaultView/index.d.ts +0 -3
  585. package/es/pages/WorkType/WorkTypeDefaultView/index.js +0 -19
  586. package/es/pages/WorkType/WorkTypeDefaultView/index.js.map +0 -1
  587. package/es/pages/WorkType/WorkTypeDetail/index.d.ts +0 -6
  588. package/es/pages/WorkType/WorkTypeDetail/index.js +0 -88
  589. package/es/pages/WorkType/WorkTypeDetail/index.js.map +0 -1
  590. package/es/pages/WorkType/WorkTypeDetail/index.less +0 -35
  591. package/es/pages/WorkType/WorkTypeDetail/state.d.ts +0 -9
  592. package/es/pages/WorkType/WorkTypeDetail/state.js +0 -38
  593. package/es/pages/WorkType/WorkTypeDetail/state.js.map +0 -1
  594. package/es/pages/WorkType/WorkTypePropertiesView/index.d.ts +0 -5
  595. package/es/pages/WorkType/WorkTypePropertiesView/index.js +0 -32
  596. package/es/pages/WorkType/WorkTypePropertiesView/index.js.map +0 -1
  597. package/es/pages/WorkType/WorkTypePropertiesView/index.less +0 -31
  598. package/es/pages/WorkType/WorkTypeSelect/index.d.ts +0 -7
  599. package/es/pages/WorkType/WorkTypeSelect/index.js +0 -18
  600. package/es/pages/WorkType/WorkTypeSelect/index.js.map +0 -1
  601. package/es/pages/WorkType/data/WorkTypeStore.d.ts +0 -21
  602. package/es/pages/WorkType/data/WorkTypeStore.js +0 -75
  603. package/es/pages/WorkType/data/WorkTypeStore.js.map +0 -1
  604. package/es/pages/WorkType/data/hook.d.ts +0 -9
  605. package/es/pages/WorkType/data/hook.js +0 -19
  606. package/es/pages/WorkType/data/hook.js.map +0 -1
  607. package/es/pages/WorkType/data/index.d.ts +0 -4
  608. package/es/pages/WorkType/data/index.js +0 -5
  609. package/es/pages/WorkType/data/index.js.map +0 -1
  610. package/es/pages/WorkType/data/interfaces.d.ts +0 -35
  611. package/es/pages/WorkType/data/interfaces.js +0 -2
  612. package/es/pages/WorkType/data/interfaces.js.map +0 -1
  613. package/es/pages/WorkType/data/types.d.ts +0 -41
  614. package/es/pages/WorkType/data/types.js +0 -2
  615. package/es/pages/WorkType/data/types.js.map +0 -1
  616. /package/es/modules/tasks/components/{TaskEstimatedTime → TaskTimeBox}/index.less +0 -0
@@ -1,178 +1,97 @@
1
1
  import { __decorate } from "tslib";
2
- import { action, computed, makeObservable, observable, toJS } from "mobx";
3
- import { clone, isEqual } from "lodash-es";
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";
4
5
  import { message } from "@voplus/antd";
5
6
  export class State {
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
- });
7
+ constructor(taskStore) {
8
+ this.taskStore = taskStore;
9
+ this.ids = [];
10
+ this.members = [];
11
+ this.name = "";
47
12
  /** Schedule of task */
48
- Object.defineProperty(this, "schedule", {
49
- enumerable: true,
50
- configurable: true,
51
- writable: true,
52
- value: []
53
- });
13
+ this.schedule = [];
54
14
  /** EstimatedHours of task */
55
- Object.defineProperty(this, "estimatedHours", {
56
- enumerable: true,
57
- configurable: true,
58
- writable: true,
59
- value: 0
60
- });
15
+ this.estimatedHours = 0;
61
16
  /** Edit model of task */
62
- Object.defineProperty(this, "editable", {
63
- enumerable: true,
64
- configurable: true,
65
- writable: true,
66
- value: false
67
- });
17
+ this.editable = false;
68
18
  /** loading of save */
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
- });
19
+ this.loading = false;
20
+ this.visibleQuickView = false;
21
+ this.modalType = "";
81
22
  /** MouseOver of sub task */
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
- });
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
+ };
114
53
  /** task delete */
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
- this.members = this.taskMembers;
131
- }
132
- else {
133
- this.ids = ids;
134
- this.members = members;
135
- }
136
- }
137
- });
138
- makeObservable(this);
139
- }
140
- undo() {
141
- this.editable = false;
142
- this.members = this.taskMembers;
143
- }
144
- async onEdit(TaskStatus) {
145
- const status = clone(this.task.taskStatus);
146
- this.task.taskStatus = TaskStatus;
147
- await this.taskStore.edit(this.id, {
148
- data: { TaskStatus },
149
- error: (error) => {
150
- message.error(error.message);
151
- this.task.taskStatus = status;
152
- },
153
- });
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
+ };
154
69
  }
155
- get childMembers() {
156
- return (this.task.childMembers || [])
157
- .filter((item) => !this.task.members.some((member) => member.id === item.id))
158
- .map((item) => ({
70
+ get inheritedMembers() {
71
+ return (this.task.inheritedMembers || [])
72
+ .filter(item => !this.task.members.some(member => member.id === item.id))
73
+ .map(item => ({
159
74
  ...item,
160
- disabled: true,
75
+ disabled: true
161
76
  }));
162
77
  }
163
- get taskMembers() {
164
- return [...(this.task.members || []), ...(this.childMembers || [])];
78
+ get readonly() {
79
+ return this.task.status === "Readonly";
165
80
  }
166
81
  get hasChanges() {
167
82
  if (!this.name)
168
83
  return;
169
- const ids = toJS([...(this.task.members || []), ...this.childMembers].map(({ id }) => id));
84
+ const ids = toJS([...(this.task.members || []), ...this.inheritedMembers].map(({ id }) => id));
170
85
  const { name, startDate, dueDate, estimatedHours } = this.task;
171
86
  const originalData = { name, ids };
172
87
  const modifiedData = {
173
88
  name: this.name.trim(),
174
- ids: this.ids,
89
+ ids: this.ids
90
+ // startDate: toJS(this.schedule)[0],
91
+ // dueDate: toJS(this.schedule)[1],
92
+ // estimatedHours: this.estimatedHours || estimatedHours
175
93
  };
94
+ // console.log(originalData, modifiedData, isEqual(originalData, modifiedData), "4444");
176
95
  return !isEqual(originalData, modifiedData);
177
96
  }
178
97
  }
@@ -200,36 +119,45 @@ __decorate([
200
119
  __decorate([
201
120
  observable
202
121
  ], State.prototype, "loading", void 0);
122
+ __decorate([
123
+ observable
124
+ ], State.prototype, "visibleQuickView", void 0);
203
125
  __decorate([
204
126
  observable
205
127
  ], State.prototype, "modalType", void 0);
206
128
  __decorate([
207
129
  observable
208
130
  ], State.prototype, "isHover", void 0);
131
+ __decorate([
132
+ observable
133
+ ], State.prototype, "reload", void 0);
134
+ __decorate([
135
+ observable
136
+ ], State.prototype, "open", void 0);
209
137
  __decorate([
210
138
  action
211
139
  ], State.prototype, "startEdit", void 0);
212
140
  __decorate([
213
141
  action
214
- ], State.prototype, "save", void 0);
142
+ ], State.prototype, "startEditDate", void 0);
215
143
  __decorate([
216
144
  action
217
- ], State.prototype, "onDelete", void 0);
145
+ ], State.prototype, "save", void 0);
218
146
  __decorate([
219
147
  action
220
- ], State.prototype, "undo", null);
148
+ ], State.prototype, "onEdit", void 0);
221
149
  __decorate([
222
150
  action
223
- ], State.prototype, "onChange", void 0);
151
+ ], State.prototype, "onDelete", void 0);
224
152
  __decorate([
225
153
  action
226
- ], State.prototype, "onEdit", null);
154
+ ], State.prototype, "onMove", void 0);
227
155
  __decorate([
228
156
  computed
229
- ], State.prototype, "childMembers", null);
157
+ ], State.prototype, "inheritedMembers", null);
230
158
  __decorate([
231
159
  computed
232
- ], State.prototype, "taskMembers", null);
160
+ ], State.prototype, "readonly", null);
233
161
  __decorate([
234
162
  computed
235
163
  ], 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,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAM3C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAgBvC,MAAM,OAAO,KAAK;IAqBjB,YAA2B,EAAU,EAAU,SAAoB;;;;;mBAAxC;;;;;;mBAAoB;;QApB/C,qBAAqB;QACT;;;;;WAAmB;QAC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CAAiC;AAChC;IAAX,UAAU;wCAAuB;AAEtB;IAAX,UAAU;sCAAwB;AACvB;IAAX,UAAU;qCAAuB;AAEtB;IAAX,UAAU;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"}
@@ -3,67 +3,125 @@
3
3
  :global {
4
4
  .sub-task-item {
5
5
  position: relative;
6
+ display: flex;
7
+ // flex: 1;
8
+ justify-content: space-between;
6
9
  align-items: center;
7
- padding: 10px 20px;
8
- background: transparent;
9
- cursor: pointer;
10
- .tag-view {
11
- line-height: 20px;
12
- .add-tag-btn {
13
- visibility: hidden;
14
- }
10
+ padding-top: 10px;
11
+ margin: 0 20px;
12
+ &:last-child {
13
+ padding-bottom: 10px;
15
14
  }
16
- &:hover {
17
- .tag-view .add-tag-btn {
18
- display: inline-block;
19
- visibility: visible;
15
+ &_box {
16
+ flex: 1;
17
+ display: flex;
18
+ align-items: center;
19
+ > div:first-child {
20
+ flex: 1;
20
21
  }
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;
22
+ .multiple-checkbox {
23
+ margin-right: 10px;
38
24
  }
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 {
25
+ .task-move {
26
+ display: inline-block;
27
+ width: 25px;
54
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
+ }
78
+ .add-tag-btn {
79
+ visibility: hidden;
80
+ }
81
+ .box {
82
+ width: 30%;
83
+ }
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
+ }
55
106
  }
56
107
  }
57
108
  .hover-operate-icon {
58
109
  display: none;
59
110
  position: absolute;
60
- right: 20px;
61
- .ant-btn:first-child {
62
- margin-left: 0;
63
- }
111
+ right: 0;
112
+ z-index: 100;
64
113
  &.show {
65
114
  display: block;
66
115
  }
67
116
  }
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
+ }
68
126
  }
69
127
  }
@@ -2,6 +2,6 @@
2
2
  import "./index.less";
3
3
  declare const TaskPropertiesView: (props: {
4
4
  id: string;
5
- default?: boolean;
5
+ default?: boolean | undefined;
6
6
  }) => JSX.Element;
7
7
  export default TaskPropertiesView;
@@ -1,62 +1,28 @@
1
1
  import "./index.less";
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";
2
+ import React, { useState } from "react";
6
3
  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";
11
- import DocumentStatusLabel from "@voplus/morpho-document/es/controls/DocumentStatusLabel";
12
4
  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";
13
9
  import SubTaskList from "../SubTaskList";
14
- import TaskAnalyticsDataIcon from "../../reports/TaskAnalyticsDataIcon";
15
- import TaskEstimatedTime from "../TaskEstimatedTime";
16
- import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
17
- import { observe } from "@voplus/morpho-ui";
18
- import { useApplicationContext } from "@voplus/morpho-data";
10
+ import TaskHeader from "../TaskHeader";
11
+ import { faEdit } from "@fortawesome/pro-light-svg-icons";
12
+ import { useObserver } from "mobx-react-lite";
19
13
  const TaskPropertiesView = (props) => {
20
14
  const id = props.id;
21
- const { user } = useApplicationContext();
22
- const task = useTask(id, { reload: false, includes: "tags" });
15
+ const task = useTask(id, { reload: false, includes: "tags,task-number-reports" });
23
16
  const taskStore = useTaskStore();
24
- const [taskStatus, setTaskStatus] = useState(task.taskStatus);
25
17
  const [loaded, setLoaded] = useState(true);
26
- useEffect(() => {
27
- setTaskStatus(task.taskStatus);
28
- }, [task.taskStatus]);
29
- return observe(() => (React.createElement("div", { className: "module-detail-view" }, loaded && (React.createElement(React.Fragment, null,
30
- 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,
31
- React.createElement("div", null,
32
- React.createElement(TaskEstimatedTime, { id: id, estimatedHours: task.estimatedHours || 0, startDate: task.startDate, dueDate: task.dueDate, editable: !task.readonly, className: "margin-right-10" }),
33
- React.createElement(DataIconBar, null,
34
- React.createElement(DocumentDataIcon, { id: id }),
35
- React.createElement(CommentDataIcon, { id: id }),
36
- React.createElement(UserQuickIcon, { id: id })),
37
- React.createElement(TaskAnalyticsDataIcon, { id: id, className: "margin-left-10" })),
38
- React.createElement(AvatarList, { organizationId: user.info.organizationId, editable: !task.readonly, multiple: true, list: [
39
- ...(task.members || []),
40
- ...(task.childMembers || [])
41
- .filter((item) => !(task.members || []).some((member) => member.id === item.id))
42
- .map((item) => ({
43
- ...item,
44
- disabled: true,
45
- })),
46
- ], onChange: (ids) => {
47
- taskStore.edit(id, { data: { MemberIds: ids }, error: "message" });
48
- } })), tools: React.createElement("div", { className: "tools-bar" },
49
- React.createElement("div", null,
50
- React.createElement(ToolBar, { id: id, menuProps: { closeAside: true } },
51
- React.createElement(Reload, { action: onReload }),
52
- React.createElement(Open, { url: `/tasks/${id}` }),
53
- React.createElement(Archive, null))),
54
- React.createElement(DocumentStatusLabel, { status: taskStatus, editable: taskStatus !== "NotAssigned" || !task.readonly, onChange: (TaskStatus) => onEdit(TaskStatus), className: "margin-top-10" })), descriptionVisible: false }),
18
+ return useObserver(() => (React.createElement("div", { className: "module-detail-view" }, loaded && (React.createElement(React.Fragment, null,
19
+ React.createElement(TaskHeader, { id: id, onReload: onReload }),
55
20
  React.createElement(DocumentTabs, { id: id, exclude: ["Task"], details: React.createElement("div", { className: "task-properties-view" },
56
- task.loading ? (React.createElement("div", { className: "task-description" },
57
- React.createElement(Skeleton, { active: true }),
58
- " ")) : (React.createElement(DescriptionEditor, { id: id, description: task.description, readonly: task.readonly })),
59
- React.createElement(SubTaskList, { parentId: id, readonly: task.status === "Readonly" })) }))))));
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" }))) }))))));
60
26
  /** reload data */
61
27
  function onReload() {
62
28
  setLoaded(false);
@@ -64,17 +30,6 @@ const TaskPropertiesView = (props) => {
64
30
  setLoaded(true);
65
31
  }, 100);
66
32
  }
67
- /** task edit TaskStatus */
68
- async function onEdit(TaskStatus) {
69
- setTaskStatus(TaskStatus);
70
- await taskStore.edit(id, {
71
- data: { TaskStatus },
72
- error: (error) => {
73
- message.error(error.message);
74
- setTaskStatus(task.taskStatus);
75
- },
76
- });
77
- }
78
33
  };
79
34
  export default TaskPropertiesView;
80
35
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskPropertiesView/index.ts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KAAK,GACxB;QACF,oBAAC,YAAY,IACZ,EAAE,EAAE,EAAE,EACN,OAAO,EAAE,CAAC,MAAM,CAAC,EACjB,OAAO,EACN,6BAAK,SAAS,EAAC,sBAAsB;gBACnC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CACf,6BAAK,SAAS,EAAC,kBAAkB;oBAChC,oBAAC,QAAQ,IAAC,MAAM,SAAG;oBAAC,GAAG,CAClB,CACN,CAAC,CAAC,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
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskPropertiesView/index.ts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,sBAAsB;gBACpC,oBAAC,UAAU,IAAC,QAAQ;oBACnB,6BAAK,SAAS,EAAC,kBAAkB,IAC/B,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CACf,oBAAC,QAAQ,IAAC,MAAM,SAAG,CACnB,CAAC,CAAC,CAAC,CACH,oBAAC,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,10 +1,4 @@
1
1
  :global {
2
- .task-properties-view-header {
3
- color: #444;
4
- .tools-bar {
5
- text-align: right;
6
- }
7
- }
8
2
  .task-properties-view {
9
3
  display: flex;
10
4
  flex-direction: column;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  declare const TaskQuickViewDialog: (props: {
3
3
  id: string;
4
- visible?: boolean;
5
- onCancel?: () => void;
4
+ visible?: boolean | undefined;
5
+ onCancel?: (() => void) | undefined;
6
6
  }) => JSX.Element;
7
7
  export default TaskQuickViewDialog;