@voplus/morpho-workspace 1.3.0 → 1.3.2

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 (325) hide show
  1. package/es/controls/filters/WorkStatusFilter/index.d.ts +3 -0
  2. package/es/controls/filters/WorkStatusFilter/index.js +21 -0
  3. package/es/controls/filters/WorkStatusFilter/index.js.map +1 -0
  4. package/es/controls/filters/WorkStatusFilter/state.d.ts +17 -0
  5. package/es/controls/filters/WorkStatusFilter/state.js +49 -0
  6. package/es/controls/filters/WorkStatusFilter/state.js.map +1 -0
  7. package/es/data/notification/interfaces.d.ts +2 -1
  8. package/es/data/work/WorkStore.d.ts +10 -0
  9. package/es/data/work/WorkStore.js +21 -0
  10. package/es/data/work/WorkStore.js.map +1 -0
  11. package/es/data/work/hook.d.ts +9 -0
  12. package/es/data/work/hook.js +20 -0
  13. package/es/data/work/hook.js.map +1 -0
  14. package/es/data/work/index.d.ts +3 -0
  15. package/es/data/work/index.js +4 -0
  16. package/es/data/work/index.js.map +1 -0
  17. package/es/data/work/interfaces.d.ts +37 -0
  18. package/es/data/work/interfaces.js +2 -0
  19. package/es/data/work/interfaces.js.map +1 -0
  20. package/es/data/workerror/WorkErrorStore.d.ts +37 -0
  21. package/es/data/workerror/WorkErrorStore.js +117 -0
  22. package/es/data/workerror/WorkErrorStore.js.map +1 -0
  23. package/es/data/workerror/hook.d.ts +9 -0
  24. package/es/data/workerror/hook.js +19 -0
  25. package/es/data/workerror/hook.js.map +1 -0
  26. package/es/data/workerror/index.d.ts +4 -0
  27. package/es/data/workerror/index.js +5 -0
  28. package/es/data/workerror/index.js.map +1 -0
  29. package/es/data/workerror/interfaces.d.ts +20 -0
  30. package/es/data/workerror/interfaces.js +2 -0
  31. package/es/data/workerror/interfaces.js.map +1 -0
  32. package/es/data/workerror/types.d.ts +50 -0
  33. package/es/data/workerror/types.js +9 -0
  34. package/es/data/workerror/types.js.map +1 -0
  35. package/es/data/workerror/workerror-events/index.d.ts +3 -0
  36. package/es/data/workerror/workerror-events/index.js +4 -0
  37. package/es/data/workerror/workerror-events/index.js.map +1 -0
  38. package/es/data/workerror/workerror-events/useAutoUpdateListData.d.ts +4 -0
  39. package/es/data/workerror/workerror-events/useAutoUpdateListData.js +13 -0
  40. package/es/data/workerror/workerror-events/useAutoUpdateListData.js.map +1 -0
  41. package/es/data/workerror/workerror-events/useOnDeleteWorkspace.d.ts +4 -0
  42. package/es/data/workerror/workerror-events/useOnDeleteWorkspace.js +17 -0
  43. package/es/data/workerror/workerror-events/useOnDeleteWorkspace.js.map +1 -0
  44. package/es/data/workerror/workerror-events/useOnNewWorkspace.d.ts +4 -0
  45. package/es/data/workerror/workerror-events/useOnNewWorkspace.js +17 -0
  46. package/es/data/workerror/workerror-events/useOnNewWorkspace.js.map +1 -0
  47. package/es/data/workspace/WorkSpaceStore.d.ts +39 -0
  48. package/es/data/workspace/WorkSpaceStore.js +134 -0
  49. package/es/data/workspace/WorkSpaceStore.js.map +1 -0
  50. package/es/data/workspace/hooks.d.ts +13 -0
  51. package/es/data/workspace/hooks.js +23 -0
  52. package/es/data/workspace/hooks.js.map +1 -0
  53. package/es/data/workspace/index.d.ts +4 -0
  54. package/es/data/workspace/index.js +5 -0
  55. package/es/data/workspace/index.js.map +1 -0
  56. package/es/data/workspace/interfaces.d.ts +17 -0
  57. package/es/data/workspace/interfaces.js +2 -0
  58. package/es/data/workspace/interfaces.js.map +1 -0
  59. package/es/data/workspace/types.d.ts +28 -0
  60. package/es/data/workspace/types.js +2 -0
  61. package/es/data/workspace/types.js.map +1 -0
  62. package/es/data/workspace/useWorkSpaceCompletedWorkEffect.d.ts +10 -0
  63. package/es/data/workspace/useWorkSpaceCompletedWorkEffect.js +14 -0
  64. package/es/data/workspace/useWorkSpaceCompletedWorkEffect.js.map +1 -0
  65. package/es/data/workspace/workspace-events/index.d.ts +3 -0
  66. package/es/data/workspace/workspace-events/index.js +4 -0
  67. package/es/data/workspace/workspace-events/index.js.map +1 -0
  68. package/es/data/workspace/workspace-events/useAutoUpdateListData.d.ts +4 -0
  69. package/es/data/workspace/workspace-events/useAutoUpdateListData.js +13 -0
  70. package/es/data/workspace/workspace-events/useAutoUpdateListData.js.map +1 -0
  71. package/es/data/workspace/workspace-events/useOnDeleteWorkspace.d.ts +4 -0
  72. package/es/data/workspace/workspace-events/useOnDeleteWorkspace.js +17 -0
  73. package/es/data/workspace/workspace-events/useOnDeleteWorkspace.js.map +1 -0
  74. package/es/data/workspace/workspace-events/useOnNewWorkspace.d.ts +4 -0
  75. package/es/data/workspace/workspace-events/useOnNewWorkspace.js +17 -0
  76. package/es/data/workspace/workspace-events/useOnNewWorkspace.js.map +1 -0
  77. package/es/data/worktype/WorkTypeStore.d.ts +21 -0
  78. package/es/data/worktype/WorkTypeStore.js +75 -0
  79. package/es/data/worktype/WorkTypeStore.js.map +1 -0
  80. package/es/data/worktype/hook.d.ts +9 -0
  81. package/es/data/worktype/hook.js +20 -0
  82. package/es/data/worktype/hook.js.map +1 -0
  83. package/es/data/worktype/index.d.ts +4 -0
  84. package/es/data/worktype/index.js +5 -0
  85. package/es/data/worktype/index.js.map +1 -0
  86. package/es/data/worktype/interfaces.d.ts +57 -0
  87. package/es/data/worktype/interfaces.js +2 -0
  88. package/es/data/worktype/interfaces.js.map +1 -0
  89. package/es/data/worktype/types.d.ts +55 -0
  90. package/es/data/worktype/types.js +2 -0
  91. package/es/data/worktype/types.js.map +1 -0
  92. package/es/data/worktype/useWorkTypeCompletedWorkEffect.d.ts +10 -0
  93. package/es/data/worktype/useWorkTypeCompletedWorkEffect.js +14 -0
  94. package/es/data/worktype/useWorkTypeCompletedWorkEffect.js.map +1 -0
  95. package/es/modules/board/components/Board/index.js +1 -3
  96. package/es/modules/board/components/Board/index.js.map +1 -1
  97. package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +2 -2
  98. package/es/modules/meeting/components/AgendaList/AgendaItem/index.js.map +1 -1
  99. package/es/modules/meeting/components/MeetingList/index.js +1 -2
  100. package/es/modules/meeting/components/MeetingList/index.js.map +1 -1
  101. package/es/modules/notification/components/{MentionNotificationCard → DocumentNotificationCard}/index.d.ts +2 -2
  102. package/es/modules/notification/components/{MentionNotificationCard → DocumentNotificationCard}/index.js +3 -3
  103. package/es/modules/notification/components/DocumentNotificationCard/index.js.map +1 -0
  104. package/es/modules/notification/components/NotificationList/index.js +2 -2
  105. package/es/modules/notification/components/NotificationList/index.js.map +1 -1
  106. package/es/modules/notification/components/NotificationList/index.less +11 -3
  107. package/es/modules/tasks/reports/TaskSummaryCard/index.js +2 -2
  108. package/es/modules/tasks/reports/TaskSummaryCard/index.js.map +1 -1
  109. package/es/modules/work/components/NewWorkErrorDialog/index.d.ts +9 -0
  110. package/es/modules/work/components/NewWorkErrorDialog/index.js +70 -0
  111. package/es/modules/work/components/NewWorkErrorDialog/index.js.map +1 -0
  112. package/es/modules/work/components/NewWorkErrorDialog/index.less +18 -0
  113. package/es/modules/work/components/NewWorkErrorDialog/state.d.ts +16 -0
  114. package/es/modules/work/components/NewWorkErrorDialog/state.js +37 -0
  115. package/es/modules/work/components/NewWorkErrorDialog/state.js.map +1 -0
  116. package/es/modules/work/components/RejectWorkDialog/index.d.ts +9 -0
  117. package/es/modules/work/components/RejectWorkDialog/index.js +54 -0
  118. package/es/modules/work/components/RejectWorkDialog/index.js.map +1 -0
  119. package/es/modules/work/components/RejectWorkDialog/index.less +18 -0
  120. package/es/modules/work/components/RejectWorkDialog/state.d.ts +12 -0
  121. package/es/modules/work/components/RejectWorkDialog/state.js +35 -0
  122. package/es/modules/work/components/RejectWorkDialog/state.js.map +1 -0
  123. package/es/modules/work/components/WorkErrorItem/index.d.ts +6 -0
  124. package/es/modules/work/components/WorkErrorItem/index.js +24 -0
  125. package/es/modules/work/components/WorkErrorItem/index.js.map +1 -0
  126. package/es/modules/work/components/WorkErrorItem/index.less +26 -0
  127. package/es/modules/work/components/WorkErrorList/index.d.ts +8 -0
  128. package/es/modules/work/components/WorkErrorList/index.js +44 -0
  129. package/es/modules/work/components/WorkErrorList/index.js.map +1 -0
  130. package/es/modules/work/components/WorkErrorList/index.less +5 -0
  131. package/es/modules/work/components/WorkErrorPropertiesView/index.d.ts +6 -0
  132. package/es/modules/work/components/WorkErrorPropertiesView/index.js +45 -0
  133. package/es/modules/work/components/WorkErrorPropertiesView/index.js.map +1 -0
  134. package/es/modules/work/components/WorkErrorPropertiesView/index.less +22 -0
  135. package/es/modules/work/components/WorkItem/index.d.ts +11 -0
  136. package/es/modules/work/components/WorkItem/index.js +25 -0
  137. package/es/modules/work/components/WorkItem/index.js.map +1 -0
  138. package/es/modules/work/components/WorkItem/index.less +17 -0
  139. package/es/modules/work/components/WorkList/index.d.ts +16 -0
  140. package/es/modules/work/components/WorkList/index.js +88 -0
  141. package/es/modules/work/components/WorkList/index.js.map +1 -0
  142. package/es/modules/work/components/WorkList/index.less +7 -0
  143. package/es/modules/work/components/WorkPropertiesView/index.d.ts +7 -0
  144. package/es/modules/work/components/WorkPropertiesView/index.js +35 -0
  145. package/es/modules/work/components/WorkPropertiesView/index.js.map +1 -0
  146. package/es/modules/work/components/WorkPropertiesView/index.less +23 -0
  147. package/es/{pages/Space/components/Documents → modules/work/components/WorkQATab}/index.d.ts +2 -2
  148. package/es/modules/work/components/WorkQATab/index.js +33 -0
  149. package/es/modules/work/components/WorkQATab/index.js.map +1 -0
  150. package/es/modules/work/components/WorkQATab/index.less +24 -0
  151. package/es/modules/work/components/WorkTabs/index.d.ts +7 -0
  152. package/es/modules/work/components/WorkTabs/index.js +45 -0
  153. package/es/modules/work/components/WorkTabs/index.js.map +1 -0
  154. package/es/modules/work/components/WorkTabs/index.less +16 -0
  155. package/es/modules/work/components/WorkTaskList/index.d.ts +5 -0
  156. package/es/modules/work/components/WorkTaskList/index.js +65 -0
  157. package/es/modules/work/components/WorkTaskList/index.js.map +1 -0
  158. package/es/modules/work/components/WorkTaskList/index.less +18 -0
  159. package/es/modules/work/components/WorkTaskList/state.d.ts +14 -0
  160. package/es/modules/work/components/WorkTaskList/state.js +23 -0
  161. package/es/modules/work/components/WorkTaskList/state.js.map +1 -0
  162. package/es/modules/work/components/WorkTasksTab/index.d.ts +6 -0
  163. package/es/modules/work/components/WorkTasksTab/index.js +17 -0
  164. package/es/modules/work/components/WorkTasksTab/index.js.map +1 -0
  165. package/es/modules/work/components/WorkTasksTab/index.less +7 -0
  166. package/es/modules/work/components/WorksProperties/index.d.ts +6 -0
  167. package/es/modules/work/components/WorksProperties/index.js +27 -0
  168. package/es/modules/work/components/WorksProperties/index.js.map +1 -0
  169. package/es/modules/work/components/WorksProperties/index.less +8 -0
  170. package/es/modules/work/pages/WorkDefaultView/index.d.ts +4 -0
  171. package/es/modules/work/pages/WorkDefaultView/index.js +26 -0
  172. package/es/modules/work/pages/WorkDefaultView/index.js.map +1 -0
  173. package/es/modules/work/pages/WorkDefaultView/index.less +17 -0
  174. package/es/modules/work/pages/WorkListPage/index.d.ts +6 -0
  175. package/es/modules/work/pages/WorkListPage/index.js +19 -0
  176. package/es/modules/work/pages/WorkListPage/index.js.map +1 -0
  177. package/es/modules/workspace/components/MyWorkspaces/index.d.ts +11 -0
  178. package/es/modules/workspace/components/MyWorkspaces/index.js +34 -0
  179. package/es/modules/workspace/components/MyWorkspaces/index.js.map +1 -0
  180. package/es/modules/workspace/components/MyWorkspaces/index.less +18 -0
  181. package/es/modules/workspace/components/NewWorkspaceDialog/index.d.ts +10 -0
  182. package/es/modules/workspace/components/NewWorkspaceDialog/index.js +59 -0
  183. package/es/modules/workspace/components/NewWorkspaceDialog/index.js.map +1 -0
  184. package/es/modules/workspace/components/NewWorkspaceDialog/index.less +18 -0
  185. package/es/modules/workspace/components/NewWorkspaceDialog/state.d.ts +12 -0
  186. package/es/modules/workspace/components/NewWorkspaceDialog/state.js +35 -0
  187. package/es/modules/workspace/components/NewWorkspaceDialog/state.js.map +1 -0
  188. package/es/modules/workspace/components/WorkspaceCard/index.d.ts +8 -0
  189. package/es/modules/workspace/components/WorkspaceCard/index.js +18 -0
  190. package/es/modules/workspace/components/WorkspaceCard/index.js.map +1 -0
  191. package/es/modules/workspace/components/WorkspaceCard/index.less +47 -0
  192. package/es/modules/workspace/components/WorkspaceCardList/index.d.ts +13 -0
  193. package/es/modules/workspace/components/WorkspaceCardList/index.js +49 -0
  194. package/es/modules/workspace/components/WorkspaceCardList/index.js.map +1 -0
  195. package/es/modules/workspace/components/WorkspaceCardList/index.less +13 -0
  196. package/es/modules/workspace/components/WorkspacePropertiesView/index.d.ts +6 -0
  197. package/es/modules/workspace/components/WorkspacePropertiesView/index.js +41 -0
  198. package/es/modules/workspace/components/WorkspacePropertiesView/index.js.map +1 -0
  199. package/es/modules/workspace/components/WorkspacePropertiesView/index.less +19 -0
  200. package/es/modules/workspace/components/WorkspacePropertiesView/state.d.ts +15 -0
  201. package/es/modules/workspace/components/WorkspacePropertiesView/state.js +68 -0
  202. package/es/modules/workspace/components/WorkspacePropertiesView/state.js.map +1 -0
  203. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.d.ts +6 -0
  204. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.js +68 -0
  205. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.js.map +1 -0
  206. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.less +8 -0
  207. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/state.d.ts +5 -0
  208. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/state.js +26 -0
  209. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/state.js.map +1 -0
  210. package/es/modules/workspace/controls/WorkspaceMenu/index.d.ts +8 -0
  211. package/es/modules/workspace/controls/WorkspaceMenu/index.js +36 -0
  212. package/es/modules/workspace/controls/WorkspaceMenu/index.js.map +1 -0
  213. package/es/modules/workspace/controls/WorkspaceMenu/index.less +33 -0
  214. package/es/modules/workspace/pages/WorkspaceDefaultView/index.d.ts +4 -0
  215. package/es/modules/workspace/pages/WorkspaceDefaultView/index.js +51 -0
  216. package/es/modules/workspace/pages/WorkspaceDefaultView/index.js.map +1 -0
  217. package/es/modules/workspace/pages/WorkspaceDefaultView/index.less +22 -0
  218. package/es/modules/workspace/pages/WorkspaceDefaultView/state.d.ts +15 -0
  219. package/es/modules/workspace/pages/WorkspaceDefaultView/state.js +68 -0
  220. package/es/modules/workspace/pages/WorkspaceDefaultView/state.js.map +1 -0
  221. package/es/modules/workspace/pages/WorkspacePage/index.d.ts +4 -0
  222. package/es/modules/workspace/pages/WorkspacePage/index.js +73 -0
  223. package/es/modules/workspace/pages/WorkspacePage/index.js.map +1 -0
  224. package/es/modules/workspace/pages/WorkspacePage/index.less +1 -0
  225. package/es/modules/workspace/pages/WorkspacePage/state.d.ts +23 -0
  226. package/es/modules/workspace/pages/WorkspacePage/state.js +108 -0
  227. package/es/modules/workspace/pages/WorkspacePage/state.js.map +1 -0
  228. package/es/modules/worktype/components/WorkTypeCard/index.d.ts +8 -0
  229. package/es/modules/worktype/components/WorkTypeCard/index.js +18 -0
  230. package/es/modules/worktype/components/WorkTypeCard/index.js.map +1 -0
  231. package/es/modules/worktype/components/WorkTypeCard/index.less +47 -0
  232. package/es/modules/worktype/components/WorkTypeCardList/index.d.ts +16 -0
  233. package/es/modules/worktype/components/WorkTypeCardList/index.js +50 -0
  234. package/es/modules/worktype/components/WorkTypeCardList/index.js.map +1 -0
  235. package/es/modules/worktype/components/WorkTypeCardList/index.less +15 -0
  236. package/es/modules/worktype/components/WorkTypeItem/index.d.ts +8 -0
  237. package/es/modules/worktype/components/WorkTypeItem/index.js +11 -0
  238. package/es/modules/worktype/components/WorkTypeItem/index.js.map +1 -0
  239. package/es/modules/worktype/components/WorkTypeItem/index.less +19 -0
  240. package/es/modules/worktype/components/WorkTypeProperties/index.d.ts +6 -0
  241. package/es/modules/worktype/components/WorkTypeProperties/index.js +55 -0
  242. package/es/modules/worktype/components/WorkTypeProperties/index.js.map +1 -0
  243. package/es/modules/worktype/components/WorkTypeProperties/index.less +5 -0
  244. package/es/modules/worktype/components/WorkTypeProperties/state.d.ts +11 -0
  245. package/es/modules/worktype/components/WorkTypeProperties/state.js +57 -0
  246. package/es/modules/worktype/components/WorkTypeProperties/state.js.map +1 -0
  247. package/es/modules/worktype/components/WorkTypePropertiesTabs/index.d.ts +5 -0
  248. package/es/modules/worktype/components/WorkTypePropertiesTabs/index.js +28 -0
  249. package/es/modules/worktype/components/WorkTypePropertiesTabs/index.js.map +1 -0
  250. package/es/modules/worktype/components/WorkTypePropertiesTabs/index.less +0 -0
  251. package/es/modules/worktype/components/WorkTypePropertiesView/index.d.ts +6 -0
  252. package/es/modules/worktype/components/WorkTypePropertiesView/index.js +38 -0
  253. package/es/modules/worktype/components/WorkTypePropertiesView/index.js.map +1 -0
  254. package/es/modules/worktype/components/WorkTypePropertiesView/index.less +19 -0
  255. package/es/modules/worktype/components/WorkTypePropertiesView/state.d.ts +15 -0
  256. package/es/modules/worktype/components/WorkTypePropertiesView/state.js +68 -0
  257. package/es/modules/worktype/components/WorkTypePropertiesView/state.js.map +1 -0
  258. package/es/modules/worktype/components/WorkTypeQA/index.d.ts +6 -0
  259. package/es/modules/worktype/components/WorkTypeQA/index.js +60 -0
  260. package/es/modules/worktype/components/WorkTypeQA/index.js.map +1 -0
  261. package/es/modules/worktype/components/WorkTypeQA/index.less +35 -0
  262. package/es/modules/worktype/components/WorkTypeQA/state.d.ts +21 -0
  263. package/es/modules/worktype/components/WorkTypeQA/state.js +145 -0
  264. package/es/modules/worktype/components/WorkTypeQA/state.js.map +1 -0
  265. package/es/modules/worktype/components/WorkTypeStats/index.d.ts +5 -0
  266. package/es/modules/worktype/components/WorkTypeStats/index.js +16 -0
  267. package/es/modules/worktype/components/WorkTypeStats/index.js.map +1 -0
  268. package/es/modules/worktype/components/WorkTypeStats/index.less +29 -0
  269. package/es/modules/worktype/components/WorkTypeStats/state.d.ts +6 -0
  270. package/es/modules/worktype/components/WorkTypeStats/state.js +27 -0
  271. package/es/modules/worktype/components/WorkTypeStats/state.js.map +1 -0
  272. package/es/modules/worktype/components/WorkTypeTabs/index.d.ts +6 -0
  273. package/es/modules/worktype/components/WorkTypeTabs/index.js +45 -0
  274. package/es/modules/worktype/components/WorkTypeTabs/index.js.map +1 -0
  275. package/es/modules/worktype/components/WorkTypeTabs/index.less +16 -0
  276. package/es/modules/worktype/controls/WorktypeCompleteWorksChart/index.d.ts +6 -0
  277. package/es/modules/worktype/controls/WorktypeCompleteWorksChart/index.js +70 -0
  278. package/es/modules/worktype/controls/WorktypeCompleteWorksChart/index.js.map +1 -0
  279. package/es/modules/worktype/controls/WorktypeCompleteWorksChart/index.less +8 -0
  280. package/es/modules/worktype/controls/WorktypeCompleteWorksChart/state.d.ts +5 -0
  281. package/es/modules/worktype/controls/WorktypeCompleteWorksChart/state.js +26 -0
  282. package/es/modules/worktype/controls/WorktypeCompleteWorksChart/state.js.map +1 -0
  283. package/es/modules/worktype/pages/WorkTypeDefaultView/index.d.ts +4 -0
  284. package/es/modules/worktype/pages/WorkTypeDefaultView/index.js +24 -0
  285. package/es/modules/worktype/pages/WorkTypeDefaultView/index.js.map +1 -0
  286. package/es/modules/worktype/pages/WorkTypeDefaultView/index.less +21 -0
  287. package/es/pages/Routes.d.ts +12 -0
  288. package/es/pages/Routes.js +29 -3
  289. package/es/pages/Routes.js.map +1 -1
  290. package/es/pages/Space/components/Notifications/index.js +1 -0
  291. package/es/pages/Space/components/Notifications/index.js.map +1 -1
  292. package/es/pages/Space/components/Tasks/index.d.ts +2 -2
  293. package/es/pages/Space/components/Tasks/index.js +50 -11
  294. package/es/pages/Space/components/Tasks/index.js.map +1 -1
  295. package/es/pages/Space/components/Works/index.d.ts +2 -2
  296. package/es/pages/Space/components/Works/index.js +13 -37
  297. package/es/pages/Space/components/Works/index.js.map +1 -1
  298. package/es/pages/Space/components/Workspaces/index.d.ts +3 -0
  299. package/es/pages/Space/components/Workspaces/index.js +19 -0
  300. package/es/pages/Space/components/Workspaces/index.js.map +1 -0
  301. package/es/pages/Space/pages/MySpace/index.js +49 -14
  302. package/es/pages/Space/pages/MySpace/index.js.map +1 -1
  303. package/es/pages/Space/pages/MySpace/state.d.ts +27 -6
  304. package/es/pages/Space/pages/MySpace/state.js +114 -24
  305. package/es/pages/Space/pages/MySpace/state.js.map +1 -1
  306. package/es/pages/Work/components/NewWorkDialog/index.js +3 -7
  307. package/es/pages/Work/components/NewWorkDialog/index.js.map +1 -1
  308. package/es/pages/Work/pages/WorkDefaultView/index.js +20 -17
  309. package/es/pages/Work/pages/WorkDefaultView/index.js.map +1 -1
  310. package/es/pages/WorkType/WorkTypeCheckList/index.d.ts +1 -2
  311. package/es/pages/WorkType/WorkTypeCheckList/index.js +43 -34
  312. package/es/pages/WorkType/WorkTypeCheckList/index.js.map +1 -1
  313. package/es/pages/WorkType/WorkTypeDetail/index.js +6 -10
  314. package/es/pages/WorkType/WorkTypeDetail/index.js.map +1 -1
  315. package/es/pages/WorkType/data/WorkTypeStore.js +4 -4
  316. package/es/pages/WorkType/data/WorkTypeStore.js.map +1 -1
  317. package/es/pages/WorkType/data/interfaces.d.ts +24 -7
  318. package/es/pages/WorkType/data/types.d.ts +19 -18
  319. package/es/routes.js.map +1 -1
  320. package/package.json +2 -2
  321. package/es/modules/notification/components/MentionNotificationCard/index.js.map +0 -1
  322. package/es/pages/Space/components/Documents/index.js +0 -26
  323. package/es/pages/Space/components/Documents/index.js.map +0 -1
  324. package/es/pages/Space/components/Documents/index.less +0 -5
  325. /package/es/modules/notification/components/{MentionNotificationCard → DocumentNotificationCard}/index.less +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/Space/components/Tasks/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,qBAAqB,E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;IAED,KAAK,UAAU,SAAS,CAAC,EAAU,EAAE,OAAe;QACnD,MAAM,aAAa,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import "./index.less";
2
+ import { State } from "../../pages/MySpace/state";
3
3
  declare const Works: (props: {
4
- id: string;
4
+ state: State;
5
5
  }) => JSX.Element;
6
6
  export default Works;
@@ -1,43 +1,19 @@
1
- import "./index.less";
2
- import { useAutoUpdateListData, useDocumentListEffect, useDocumentStore, } from "@voplus/morpho-document-core";
3
- import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
1
+ import { generatePath, useRouteMatch } from "react-router";
4
2
  import React from "react";
5
- import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
6
- import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemFrame";
7
- import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
3
+ import WorkList from "../../../../modules/work/components/WorkList";
8
4
  import { observe } from "@voplus/morpho-ui";
9
- import { useRenderOnChange } from "@voplus/morpho-ui";
5
+ import { runInAction } from "mobx";
6
+ import { useLayout } from "@voplus/morpho-data";
10
7
  const Works = (props) => {
11
- const { id } = props;
12
- const documentStore = useDocumentStore();
13
- /** 建立 ListView 和useDocumentListEffect所需的ListDataState. 会根据state.id重建所以不需reset. */
14
- const list = useCreateListDataState({
15
- filterDefaults: {
16
- includes: "tags",
17
- filters: [{ c: "ParentNodeId", o: "=", l: "And", v1: id }],
18
- },
19
- }, [id]);
20
- /** 如果 list.filters.options变更了就重渲染,使下一行的useDocumentListEffect 可以接收新参数*/
21
- useRenderOnChange(() => list.filters.options);
22
- /** 把ListDataState传给useDocumentListEffect,使之可以自動更新loading, hasmore. */
23
- useDocumentListEffect(list, (result) => list.union(result), list.filters.options);
24
- /** useOnNewDocument, useOnDeleteDocument的sugar syntax 自動更新list. */
25
- useAutoUpdateListData(list, (d) => d.parentId === id);
26
- return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
27
- React.createElement(ListView, { headerProps: { viewTitle: "My Works" },
28
- // formViewTitle="Add Task"
29
- className: "my-space-works",
30
- // formView={<NewTaskForm />}
31
- moveAfter: moveAfter, renderItem: ({ item, connectDragSource }) => (React.createElement(React.Fragment, null,
32
- React.createElement(DocumentItemFrame, { key: item.id, frameProps: {
33
- hoverEffect: "background",
34
- hoverBackgroundProps: { color: "#f2f2f2" },
35
- style: { border: "none", flex: "1" },
36
- } },
37
- React.createElement(DocumentHeader, { id: item.id, itemHover: true })))) }))));
38
- async function moveAfter(id, afterId) {
39
- await documentStore.moveAfter(id, afterId);
40
- }
8
+ const match = useRouteMatch();
9
+ const layout = useLayout();
10
+ return observe(() => React.createElement(WorkList, { dueDate: match.params.dueDate, active: match.params.active, onClickItem: (item) => {
11
+ layout.history.push(generatePath(match.path, { dueDate: match.params.dueDate, active: item.id }));
12
+ }, onTotal: (total) => {
13
+ runInAction(() => {
14
+ props.state.updateWorkTotal[match.params.dueDate] = total;
15
+ });
16
+ } }));
41
17
  };
42
18
  export default Works;
43
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/Space/components/Works/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAEN,qBAAqB,EACrB,qBAAqB,EACrB,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AAEjF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,C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AAC,IAAI,CAClB,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,CAC5E,CAAC;QACH,CAAC,EACD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;YAClB,WAAW,CAAC,GAAG,EAAE;gBAChB,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;YAC3D,CAAC,CAAC,CAAC;QACJ,CAAC,GACA,CACF,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Workspaces: () => JSX.Element;
3
+ export default Workspaces;
@@ -0,0 +1,19 @@
1
+ import { generatePath, useRouteMatch } from "react-router";
2
+ import MyWorkspaces from "../../../../modules/workspace/components/MyWorkspaces";
3
+ import React from "react";
4
+ import { observe } from "@voplus/morpho-ui";
5
+ import { useLayout } from "@voplus/morpho-data";
6
+ const Workspaces = () => {
7
+ const match = useRouteMatch();
8
+ const layout = useLayout();
9
+ return observe(() => React.createElement("div", { className: "my-workspaces" },
10
+ React.createElement(MyWorkspaces
11
+ // active={match.params.active}
12
+ , {
13
+ // active={match.params.active}
14
+ onClickItem: (item) => {
15
+ layout.history.push(generatePath(match.path, { active: item.id }));
16
+ } })));
17
+ };
18
+ export default Workspaces;
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/Space/components/Workspaces/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE3D,OAAO,YAAY,MAAM,uDAAuD,CAAC;AACjF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,UAAU,GAAG,GAAG,EAAE;IACpB,MAAM,KAAK,GAAG,aAAa,EAAuB,CAAC;IACnD,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,OAAO,OAAO,CAAC,GAAG,EAAE,CAChB,6BAAK,SAAS,EAAC,eAAe;QAC1B,oBAAC,YAAY;QACT,+BAA+B;;YAA/B,+BAA+B;YAC/B,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE;gBAClB,MAAM,CAAC,OAAO,CAAC,IAAI,CACf,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,CAChD,CAAC;YACN,CAAC,GACH,CACA,CACT,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -3,20 +3,24 @@ import { useNotificationListEffect } from "../../../../data/notification";
3
3
  import { Menu } from "@voplus/antd";
4
4
  import React, { useEffect, useMemo } from "react";
5
5
  import { Redirect, Route, Switch, useRouteMatch } from "react-router";
6
- import { faBallotCheck, faBell, faFolders, faProjectDiagram, faStickyNote, faTasks, } from "@fortawesome/pro-light-svg-icons";
6
+ import { faBallotCheck, faBell, faFolders, faLaptopHouse, faProjectDiagram, faStickyNote, faTasks, } from "@fortawesome/pro-light-svg-icons";
7
7
  import { useApplicationContext, useTabItem } from "@voplus/morpho-data";
8
8
  import { Badge } from "@voplus/antd";
9
- import Documents from "../../components/Documents";
9
+ import DocumentPage from "@voplus/morpho-document/es/pages/DocumentPage";
10
10
  import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
11
11
  import MainContent from "@voplus/morpho-ui/es/components/layout/MainContent";
12
12
  import Notifications from "../../components/Notifications";
13
13
  import Scrollbars from "react-custom-scrollbars";
14
14
  import { State } from "./state";
15
15
  import SubMenu from "@voplus/antd/es/menu/SubMenu";
16
+ import Tasks from "../../components/Tasks";
17
+ import Works from "../../components/Works";
18
+ import Workspaces from "../../components/Workspaces";
16
19
  import { observe } from "@voplus/morpho-ui";
17
20
  import { runInAction } from "mobx";
18
21
  import { useLayout } from "@voplus/morpho-data";
19
- //import Notifications from "../../../../modules/notification/components/NotificationList";
22
+ import { useTaskListEffect } from "../../../../data/task";
23
+ import { useWorkListEffect } from "../../../../data/work";
20
24
  const MySpace = () => {
21
25
  const { user } = useApplicationContext();
22
26
  const match = useRouteMatch();
@@ -26,6 +30,14 @@ const MySpace = () => {
26
30
  useEffect(() => {
27
31
  runInAction(() => (tab.title = "My Space"));
28
32
  }, []);
33
+ useTaskListEffect(null, (result, total) => runInAction(() => (state.taskTotals.today = total || 0)), state.tToday);
34
+ useTaskListEffect(null, (result, total) => runInAction(() => (state.taskTotals.week = total || 0)), state.tWeek);
35
+ useTaskListEffect(null, (result, total) => runInAction(() => (state.taskTotals.month = total || 0)), state.tMonth);
36
+ useTaskListEffect(null, (result, total) => runInAction(() => (state.taskTotals.unscheduled = total || 0)), state.tUnscheduled);
37
+ useWorkListEffect(null, (result, total) => runInAction(() => (state.workTotals.today = total || 0)), state.tToday);
38
+ useWorkListEffect(null, (result, total) => runInAction(() => (state.workTotals.week = total || 0)), state.tWeek);
39
+ useWorkListEffect(null, (result, total) => runInAction(() => (state.workTotals.month = total || 0)), state.tMonth);
40
+ useWorkListEffect(null, (result, total) => runInAction(() => (state.workTotals.unscheduled = total || 0)), state.tUnscheduled);
29
41
  useNotificationListEffect(null, (result, total) => runInAction(() => (state.notificationTotals.unread = total || 0)), state.nUnreadOptions);
30
42
  useNotificationListEffect(null, (result, total) => runInAction(() => (state.notificationTotals.read = total || 0)), state.nReadOptions);
31
43
  useNotificationListEffect(null, (result, total) => runInAction(() => (state.notificationTotals.later = total || 0)), state.nLaterOptions);
@@ -35,6 +47,7 @@ const MySpace = () => {
35
47
  React.createElement(Scrollbars, { autoHide: true },
36
48
  React.createElement(Menu, { mode: "inline", defaultSelectedKeys: ["/notifications/unread"], selectedKeys: state.menuKey, defaultOpenKeys: ["Notifications"], onClick: (key) => state.navigate(key.key) },
37
49
  React.createElement(Menu.Item, { key: "/documents", icon: React.createElement(FAIcon, { icon: faFolders }) }, "My Documents"),
50
+ React.createElement(Menu.Item, { key: "/workspaces", icon: React.createElement(FAIcon, { icon: faLaptopHouse }) }, "My Workspaces"),
38
51
  React.createElement(SubMenu, { key: "Notifications", icon: React.createElement(FAIcon, { icon: faBell }), title: "My Notifications" },
39
52
  React.createElement(Menu.Item, { key: "/notifications/unread" },
40
53
  "Unread",
@@ -52,19 +65,41 @@ const MySpace = () => {
52
65
  React.createElement(Badge, { count: state.notificationTotals.dismissed, className: "site-badge-count" }))),
53
66
  React.createElement(Menu.Item, { key: "Notes", icon: React.createElement(FAIcon, { icon: faStickyNote }), disabled: true }, "My Notes"),
54
67
  React.createElement(Menu.Item, { key: "Projects", icon: React.createElement(FAIcon, { icon: faProjectDiagram }), disabled: true }, "My Projects"),
55
- React.createElement(SubMenu, { key: "Tasks", icon: React.createElement(FAIcon, { icon: faTasks }), title: "My Tasks", disabled: true },
56
- React.createElement(Menu.Item, { key: "TaskToday" }, "Today(2)"),
57
- React.createElement(Menu.Item, { key: "TaskWeek" }, "This Week(4)"),
58
- React.createElement(Menu.Item, { key: "TaskMonth" }, "This Month(5)"),
59
- React.createElement(Menu.Item, { key: "TaskUnscheduled" }, "Unscheduled(6)")),
60
- React.createElement(SubMenu, { key: "Works", icon: React.createElement(FAIcon, { icon: faBallotCheck }), title: "My Works", disabled: true },
61
- React.createElement(Menu.Item, { key: "WorkToday" }, "Today(2)"),
62
- React.createElement(Menu.Item, { key: "WorkWeek" }, "This Week(4)"),
63
- React.createElement(Menu.Item, { key: "WorkMonth" }, "This Month(5)"),
64
- React.createElement(Menu.Item, { key: "WorkUnscheduled" }, "Unscheduled(6)"))))),
68
+ React.createElement(SubMenu, { key: "Tasks", icon: React.createElement(FAIcon, { icon: faTasks }), title: "My Tasks" },
69
+ React.createElement(Menu.Item, { key: "/task/today" },
70
+ "Today",
71
+ React.createElement(Badge, { count: state.taskTotals.today, className: "site-badge-count" })),
72
+ React.createElement(Menu.Item, { key: "/task/week" },
73
+ "This Week",
74
+ React.createElement(Badge, { count: state.taskTotals.week, className: "site-badge-count" })),
75
+ React.createElement(Menu.Item, { key: "/task/month" },
76
+ "This Month",
77
+ React.createElement(Badge, { count: state.taskTotals.month, className: "site-badge-count" })),
78
+ React.createElement(Menu.Item, { key: "/task/unscheduled" },
79
+ "Unscheduled",
80
+ React.createElement(Badge, { count: state.taskTotals.unscheduled, className: "site-badge-count" }))),
81
+ React.createElement(SubMenu, { key: "Works", icon: React.createElement(FAIcon, { icon: faBallotCheck }), title: "My Works" },
82
+ React.createElement(Menu.Item, { key: "/works/today" },
83
+ "Today",
84
+ React.createElement(Badge, { count: state.workTotals.today, className: "site-badge-count" })),
85
+ React.createElement(Menu.Item, { key: "/works/week" },
86
+ "This Week",
87
+ React.createElement(Badge, { count: state.workTotals.today, className: "site-badge-count" })),
88
+ React.createElement(Menu.Item, { key: "/works/month" },
89
+ "This Month",
90
+ React.createElement(Badge, { count: state.workTotals.today, className: "site-badge-count" })),
91
+ React.createElement(Menu.Item, { key: "/works/unscheduled" },
92
+ "Unscheduled",
93
+ React.createElement(Badge, { count: state.workTotals.today, className: "site-badge-count" })))))),
65
94
  React.createElement(Switch, null,
66
95
  React.createElement(Route, { path: `${match.path}/documents` },
67
- React.createElement(Documents, { id: user.info.folderId })),
96
+ React.createElement(DocumentPage, { root: user.info.folderId })),
97
+ React.createElement(Route, { path: `${match.path}/workspaces/:active?` },
98
+ React.createElement(Workspaces, null)),
99
+ React.createElement(Route, { path: `${match.path}/task/:dueDate/:active?` },
100
+ React.createElement(Tasks, { state: state })),
101
+ React.createElement(Route, { path: `${match.path}/works/:dueDate/:active?` },
102
+ React.createElement(Works, { state: state })),
68
103
  React.createElement(Route, { path: `${match.path}/notifications/:status/:active?` },
69
104
  React.createElement(Notifications, { state: state })),
70
105
  React.createElement(Redirect, { to: `${match.path}/notifications/unread` })))));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/Space/pages/MySpace/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAiB,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACzF,OAAO,EAAE,IAAI,EAAY,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,EAAE,SAAS,EAAmB,OAAO,EAAY,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,EACN,aAAa,EACb,MAAM,EACN,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,OAAO,GACP,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAExE,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,SAAS,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,WAAW,MAAM,oDAAoD,CAAC;AAG7E,OAAO,aAAa,MAAM,gCAAgC,CAAC;AAE3D,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,OAAO,MAAM,8BAA8B,CAAC;AAGnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGhD,2FAA2F;AAE3F,MAAM,OAAO,GAAG,GAAG,EAAE;IACpB,MAAM,EAAE,IAAI,EAAE,GAAG,qBAAqB,EAAE,CAAC;IAEzC,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G,KAAK,CAAC,IAAI,yBAAyB;gBAClD,oBAAC,KAAK,IAAC,KAAK,EAAE,KAAK,GAAI,CAChB;YACR,oBAAC,KAAK,IAAC,IAAI,EAAE,GAAG,KAAK,CAAC,IAAI,0BAA0B;gBACnD,oBAAC,KAAK,IAAC,KAAK,EAAE,KAAK,GAAI,CAChB;YACR,oBAAC,KAAK,IAAC,IAAI,EAAE,GAAG,KAAK,CAAC,IAAI,iCAAiC;gBAC1D,oBAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CACxB;YACR,oBAAC,QAAQ,IAAC,EAAE,EAAE,GAAG,KAAK,CAAC,IAAI,uBAAuB,GAAI,CAC9C,CAGI,CACd,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,14 +1,12 @@
1
- import { FilterOption, LayoutContext } from "@voplus/morpho-data";
2
- import { Moment } from "moment";
1
+ import { LayoutContext } from "@voplus/morpho-data";
3
2
  import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
4
3
  import { NotificationStatus } from "../../../../data/notification";
5
- import { RangeValue } from "rc-picker/es/interface";
4
+ import { TaskStatus } from "../../../../data/task";
5
+ import { WorkStatus } from "../../../../data/work";
6
6
  export declare class State {
7
7
  private _layout;
8
8
  private _url;
9
9
  menuKey: string[] | undefined;
10
- /** dueDate of task */
11
- dueDate: RangeValue<Moment>;
12
10
  /** status All Notifications list Total */
13
11
  notificationTotals: {
14
12
  unread: number;
@@ -16,10 +14,33 @@ export declare class State {
16
14
  later: number;
17
15
  dismissed: number;
18
16
  };
17
+ /** DueDate of the Tasks list Total */
18
+ taskTotals: {
19
+ today: number;
20
+ week: number;
21
+ month: number;
22
+ unscheduled: number;
23
+ };
24
+ /** DueDate of the Works list Total */
25
+ workTotals: {
26
+ today: number;
27
+ week: number;
28
+ month: number;
29
+ unscheduled: number;
30
+ };
19
31
  constructor(_layout: LayoutContext, _url: string);
20
32
  navigate(key: string, rest?: string): void;
21
- get filters(): FilterOption[];
33
+ updateTaskTotal(oldStatus: TaskStatus, status: TaskStatus): void;
34
+ updateWorkTotal(oldStatus: WorkStatus, status: WorkStatus): void;
22
35
  updateNotificationTotal(oldStatus: NotificationStatus, status: NotificationStatus): void;
36
+ /** tasks/works list DueDate(today) Options */
37
+ get tToday(): LoadDocumentListOptions;
38
+ /** tasks/works list DueDate(week) Options */
39
+ get tWeek(): LoadDocumentListOptions;
40
+ /** tasks/works list DueDate(month) Options */
41
+ get tMonth(): LoadDocumentListOptions;
42
+ /** tasks/works list DueDate(unscheduled) Options */
43
+ get tUnscheduled(): LoadDocumentListOptions;
23
44
  /** Notifications list Options */
24
45
  get nUnreadOptions(): LoadDocumentListOptions;
25
46
  /** Notifications list Read Options */
@@ -21,13 +21,6 @@ export class State {
21
21
  writable: true,
22
22
  value: undefined
23
23
  });
24
- /** dueDate of task */
25
- Object.defineProperty(this, "dueDate", {
26
- enumerable: true,
27
- configurable: true,
28
- writable: true,
29
- value: void 0
30
- });
31
24
  /** status All Notifications list Total */
32
25
  Object.defineProperty(this, "notificationTotals", {
33
26
  enumerable: true,
@@ -40,32 +33,108 @@ export class State {
40
33
  dismissed: 0
41
34
  }
42
35
  });
36
+ /** DueDate of the Tasks list Total */
37
+ Object.defineProperty(this, "taskTotals", {
38
+ enumerable: true,
39
+ configurable: true,
40
+ writable: true,
41
+ value: {
42
+ today: 0,
43
+ week: 0,
44
+ month: 0,
45
+ unscheduled: 0
46
+ }
47
+ });
48
+ /** DueDate of the Works list Total */
49
+ Object.defineProperty(this, "workTotals", {
50
+ enumerable: true,
51
+ configurable: true,
52
+ writable: true,
53
+ value: {
54
+ today: 0,
55
+ week: 0,
56
+ month: 0,
57
+ unscheduled: 0
58
+ }
59
+ });
43
60
  makeObservable(this);
44
61
  }
45
62
  navigate(key, rest) {
46
63
  this.menuKey = [key];
47
64
  this._layout.history.push(`${this._url}${key}${rest !== null && rest !== void 0 ? rest : ""}`);
48
65
  }
49
- get filters() {
50
- var _a, _b, _c, _d, _e, _f;
51
- if (((_a = this.dueDate) === null || _a === void 0 ? void 0 : _a[0]) === null && ((_b = this.dueDate) === null || _b === void 0 ? void 0 : _b[1]) === null)
52
- return [];
53
- const start = (_d = (_c = this.dueDate) === null || _c === void 0 ? void 0 : _c[0]) !== null && _d !== void 0 ? _d : moment({ year: 1753, month: 1, day: 1 });
54
- const end = (_f = (_e = this.dueDate) === null || _e === void 0 ? void 0 : _e[1]) !== null && _f !== void 0 ? _f : moment().endOf("year");
55
- return [
56
- {
57
- c: "DueDate",
58
- o: "between",
59
- l: "And",
60
- v1: start.startOf("days").format("YYYY-MM-DD HH:mm:ss"),
61
- v2: end.endOf("days").format("YYYY-MM-DD HH:mm:ss"),
62
- },
63
- ];
66
+ updateTaskTotal(oldStatus, status) {
67
+ this.taskTotals[oldStatus.toLowerCase()]--;
68
+ this.taskTotals[status.toLowerCase()]++;
69
+ }
70
+ updateWorkTotal(oldStatus, status) {
71
+ this.workTotals[oldStatus.toLowerCase()]--;
72
+ this.workTotals[status.toLowerCase()]++;
64
73
  }
65
74
  updateNotificationTotal(oldStatus, status) {
66
75
  this.notificationTotals[oldStatus.toLowerCase()]--;
67
76
  this.notificationTotals[status.toLowerCase()]++;
68
77
  }
78
+ /** tasks/works list DueDate(today) Options */
79
+ get tToday() {
80
+ return {
81
+ Total: true, List: false,
82
+ Filters: [
83
+ {
84
+ c: "DueDate",
85
+ o: "between",
86
+ l: "And",
87
+ v1: moment().startOf("day").format("YYYY-MM-DD HH:mm:ss"),
88
+ v2: moment().endOf("day").format("YYYY-MM-DD HH:mm:ss"),
89
+ }
90
+ ],
91
+ };
92
+ }
93
+ /** tasks/works list DueDate(week) Options */
94
+ get tWeek() {
95
+ return {
96
+ Total: true, List: false,
97
+ Filters: [
98
+ {
99
+ c: "DueDate",
100
+ o: "between",
101
+ l: "And",
102
+ v1: moment().startOf("week").format("YYYY-MM-DD HH:mm:ss"),
103
+ v2: moment().endOf("week").format("YYYY-MM-DD HH:mm:ss"),
104
+ }
105
+ ],
106
+ };
107
+ }
108
+ /** tasks/works list DueDate(month) Options */
109
+ get tMonth() {
110
+ return {
111
+ Total: true, List: false,
112
+ Filters: [
113
+ {
114
+ c: "DueDate",
115
+ o: "between",
116
+ l: "And",
117
+ v1: moment().startOf("month").format("YYYY-MM-DD HH:mm:ss"),
118
+ v2: moment().endOf("month").format("YYYY-MM-DD HH:mm:ss"),
119
+ }
120
+ ],
121
+ };
122
+ }
123
+ /** tasks/works list DueDate(unscheduled) Options */
124
+ get tUnscheduled() {
125
+ return {
126
+ Total: true, List: false,
127
+ Filters: [
128
+ {
129
+ c: "DueDate",
130
+ o: "between",
131
+ l: "And",
132
+ v1: moment().add(1, "months").startOf("month").format("YYYY-MM-DD HH:mm:ss"),
133
+ v2: moment().add(1, "months").endOf("month").format("YYYY-MM-DD HH:mm:ss"),
134
+ }
135
+ ],
136
+ };
137
+ }
69
138
  /** Notifications list Options */
70
139
  get nUnreadOptions() {
71
140
  return {
@@ -108,16 +177,37 @@ __decorate([
108
177
  ], State.prototype, "menuKey", void 0);
109
178
  __decorate([
110
179
  observable
111
- ], State.prototype, "dueDate", void 0);
180
+ ], State.prototype, "notificationTotals", void 0);
112
181
  __decorate([
113
182
  observable
114
- ], State.prototype, "notificationTotals", void 0);
183
+ ], State.prototype, "taskTotals", void 0);
184
+ __decorate([
185
+ observable
186
+ ], State.prototype, "workTotals", void 0);
115
187
  __decorate([
116
188
  action
117
189
  ], State.prototype, "navigate", null);
190
+ __decorate([
191
+ action
192
+ ], State.prototype, "updateTaskTotal", null);
193
+ __decorate([
194
+ action
195
+ ], State.prototype, "updateWorkTotal", null);
118
196
  __decorate([
119
197
  action
120
198
  ], State.prototype, "updateNotificationTotal", null);
199
+ __decorate([
200
+ computed
201
+ ], State.prototype, "tToday", null);
202
+ __decorate([
203
+ computed
204
+ ], State.prototype, "tWeek", null);
205
+ __decorate([
206
+ computed
207
+ ], State.prototype, "tMonth", null);
208
+ __decorate([
209
+ computed
210
+ ], State.prototype, "tUnscheduled", null);
121
211
  __decorate([
122
212
  computed
123
213
  ], State.prototype, "nUnreadOptions", null);
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/pages/Space/pages/MySpace/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,MAAkB,MAAM,QAAQ,CAAC;AAMxC,MAAM,OAAO,KAAK;IAajB,YAAoB,OAAqB,EAAU,IAAW;;;;;mBAA1C;;;;;;mBAA+B;;QAZvC;;;;mBAAiB,SAAiC;WAAC;QAC/D,sBAAsB;QACV;;;;;WAAmC;QAE/C,0CAA0C;QAC9B;;;;mBAA4B;gBACvC,MAAM,EAAE,CAAC;gBACT,IAAI,EAAE,CAAC;gBACP,KAAK,EAAC,CAAC;gBACP,SAAS,EAAE,CAAC;aACZ;WAAC;QAGD,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAIc,QAAQ,CAAC,GAAU,EAAE,IAAY;QAC/C,IAAI,CAAC,OAAO,GAAG,CAAC,GAAG,CAAC,CAAC;QACrB,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,GAAG,GAAG,GAAG,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAE,EAAE,EAAE,CAAC,CAAC;IAC5D,CAAC;IAGD,IAAW,OAAO;;QACjB,IAAI,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAG,CAAC,CAAC,MAAK,IAAI,IAAI,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAG,CAAC,CAAC,MAAK,IAAI;YAAE,OAAO,EAAE,CAAC;QACxE,MAAM,KAAK,GAAG,MAAA,MAAA,IAAI,CAAC,OAAO,0CAAG,CAAC,CAAC,mCAAI,MAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAA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EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,WAAW,EAAE;aAClD;SACD,CAAC;IACH,CAAC;CACD;AApKY;IAAX,UAAU;sCAAsD;AAGrD;IAAX,UAAU;iDAKT;AAGU;IAAX,UAAU;yCAKV;AAGW;IAAX,UAAU;yCAKV;AAMO;IAAP,MAAM;qCAGN;AAGD;IADC,MAAM;4CAIN;AAGD;IADC,MAAM;4CAIN;AAGD;IADC,MAAM;oDAIN;AAID;IADC,QAAQ;mCAcR;AAID;IADC,QAAQ;kCAcR;AAID;IADC,QAAQ;mCAcR;AAID;IADC,QAAQ;yCAcR;AAID;IADC,QAAQ;2CAQR;AAID;IADC,QAAQ;yCAQR;AAID;IADC,QAAQ;0CAQR;AAID;IADC,QAAQ;8CAQR"}
@@ -1,7 +1,6 @@
1
- import { Button, Checkbox, Form, Input, Modal, Tabs } from "@voplus/antd";
1
+ import { Button, Form, Input, Modal, Tabs } from "@voplus/antd";
2
2
  import React, { useState } from "react";
3
3
  import AvatarList from "@voplus/morpho-document/es/components/AvatarList";
4
- import FormSubmitView from "@voplus/morpho-form/es/pages/Edit";
5
4
  import WorkTypeSelect from "../../../WorkType/WorkTypeSelect";
6
5
  import classnames from "classnames";
7
6
  import { observe } from "@voplus/morpho-ui";
@@ -28,14 +27,11 @@ const NewWorkDialog = (props) => {
28
27
  React.createElement(Form.Item, { name: "Note", label: "Note" },
29
28
  React.createElement(Input.TextArea, { rows: 3, placeholder: "Add a Note", disabled: loading })),
30
29
  React.createElement(Form.Item, { className: "new-work-form_btn" },
31
- React.createElement(Button, { type: "primary", htmlType: "submit", loading: loading }, "Create")))),
32
- (workType === null || workType === void 0 ? void 0 : workType.newFormSchemaId) && (React.createElement(Tabs.TabPane, { tab: "RequestForm", key: "RequestForm" },
33
- React.createElement(Checkbox, null, "Request Form"),
34
- React.createElement(FormSubmitView, { id: workType.newFormSchemaId })))))));
30
+ React.createElement(Button, { type: "primary", htmlType: "submit", loading: loading }, "Create"))))))));
35
31
  /** submit work */
36
32
  async function onFinish(values) {
37
33
  setLoading(true);
38
- const r = await works.create({ data: { ...values, ParentId: parentId }, error: "message" });
34
+ const r = await works.create({ data: { ...values }, error: "message" });
39
35
  setLoading(false);
40
36
  if (finish)
41
37
  finish(r);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/Work/components/NewWorkDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC1E,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,cAAc,MAAM,mCAAmC,CAAC;AAG/D,OAAO,cAAc,MAAM,kCAAkC,CAAC;AAC9D,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,aAAa,GAAG,CAAC,KAOtB,EAAE,EAAE;IACJ,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAEvD,MAAM,EAAE,IAAI,EAAE,GAAG,qBAAqB,EAAE,CAAC;IAEzC,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;IAC9B,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,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