@voplus/morpho-workspace 1.0.0-dev01

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 (369) hide show
  1. package/LICENSE +1 -0
  2. package/es/MySpace.d.ts +7 -0
  3. package/es/MySpace.js +14 -0
  4. package/es/MySpace.js.map +1 -0
  5. package/es/components/ActivityLog/index.d.ts +5 -0
  6. package/es/components/ActivityLog/index.js +82 -0
  7. package/es/components/ActivityLog/index.js.map +1 -0
  8. package/es/components/ActivityLog/index.less +35 -0
  9. package/es/components/AssignPeople/index.d.ts +3 -0
  10. package/es/components/AssignPeople/index.js +23 -0
  11. package/es/components/AssignPeople/index.js.map +1 -0
  12. package/es/components/AssignPeople/index.less +0 -0
  13. package/es/components/AvatarList/index.d.ts +14 -0
  14. package/es/components/AvatarList/index.js +61 -0
  15. package/es/components/AvatarList/index.js.map +1 -0
  16. package/es/components/AvatarList/index.less +48 -0
  17. package/es/components/AvatarList/state.d.ts +6 -0
  18. package/es/components/AvatarList/state.js +23 -0
  19. package/es/components/AvatarList/state.js.map +1 -0
  20. package/es/components/Comments/ChartInput.d.ts +5 -0
  21. package/es/components/Comments/ChartInput.js +42 -0
  22. package/es/components/Comments/ChartInput.js.map +1 -0
  23. package/es/components/Comments/Message.d.ts +7 -0
  24. package/es/components/Comments/Message.js +64 -0
  25. package/es/components/Comments/Message.js.map +1 -0
  26. package/es/components/Comments/Message.less +202 -0
  27. package/es/components/Comments/index.d.ts +5 -0
  28. package/es/components/Comments/index.js +124 -0
  29. package/es/components/Comments/index.js.map +1 -0
  30. package/es/components/Comments/index.less +63 -0
  31. package/es/components/DocumentList/index.d.ts +13 -0
  32. package/es/components/DocumentList/index.js +116 -0
  33. package/es/components/DocumentList/index.js.map +1 -0
  34. package/es/components/DocumentList/index.less +66 -0
  35. package/es/components/ListHeader/index.d.ts +20 -0
  36. package/es/components/ListHeader/index.js +38 -0
  37. package/es/components/ListHeader/index.js.map +1 -0
  38. package/es/components/ListHeader/index.less +23 -0
  39. package/es/components/PageListView/data/index.d.ts +9 -0
  40. package/es/components/PageListView/data/index.js +29 -0
  41. package/es/components/PageListView/data/index.js.map +1 -0
  42. package/es/components/PageListView/index.d.ts +25 -0
  43. package/es/components/PageListView/index.js +42 -0
  44. package/es/components/PageListView/index.js.map +1 -0
  45. package/es/components/PageListView/index.less +4 -0
  46. package/es/components/SortDnD/Card.d.ts +18 -0
  47. package/es/components/SortDnD/Card.js +55 -0
  48. package/es/components/SortDnD/Card.js.map +1 -0
  49. package/es/components/SortDnD/Container.d.ts +14 -0
  50. package/es/components/SortDnD/Container.js +32 -0
  51. package/es/components/SortDnD/Container.js.map +1 -0
  52. package/es/components/SortDnD/index.d.ts +8 -0
  53. package/es/components/SortDnD/index.js +12 -0
  54. package/es/components/SortDnD/index.js.map +1 -0
  55. package/es/components/SortDnD/index.less +21 -0
  56. package/es/components/SortDnD/type.d.ts +4 -0
  57. package/es/components/SortDnD/type.js +4 -0
  58. package/es/components/SortDnD/type.js.map +1 -0
  59. package/es/components/TimeLog/index.d.ts +3 -0
  60. package/es/components/TimeLog/index.js +72 -0
  61. package/es/components/TimeLog/index.js.map +1 -0
  62. package/es/components/TimeLog/index.less +87 -0
  63. package/es/components/ToolBar/index.d.ts +13 -0
  64. package/es/components/ToolBar/index.js +100 -0
  65. package/es/components/ToolBar/index.js.map +1 -0
  66. package/es/components/ToolBar/index.less +55 -0
  67. package/es/components/VoLayout/index.d.ts +18 -0
  68. package/es/components/VoLayout/index.js +57 -0
  69. package/es/components/VoLayout/index.js.map +1 -0
  70. package/es/components/VoLayout/index.less +64 -0
  71. package/es/controls/DocumentStatusLabel/index.d.ts +12 -0
  72. package/es/controls/DocumentStatusLabel/index.js +39 -0
  73. package/es/controls/DocumentStatusLabel/index.js.map +1 -0
  74. package/es/controls/DocumentStatusLabel/index.less +47 -0
  75. package/es/controls/FilterListDropdown/index.d.ts +3 -0
  76. package/es/controls/FilterListDropdown/index.js +104 -0
  77. package/es/controls/FilterListDropdown/index.js.map +1 -0
  78. package/es/controls/FilterListDropdown/index.less +64 -0
  79. package/es/controls/FilterViewsDropdown/index.d.ts +3 -0
  80. package/es/controls/FilterViewsDropdown/index.js +90 -0
  81. package/es/controls/FilterViewsDropdown/index.js.map +1 -0
  82. package/es/controls/FilterViewsDropdown/index.less +64 -0
  83. package/es/controls/MoreOperateDropdown/index.d.ts +18 -0
  84. package/es/controls/MoreOperateDropdown/index.js +46 -0
  85. package/es/controls/MoreOperateDropdown/index.js.map +1 -0
  86. package/es/controls/MoreOperateDropdown/index.less +12 -0
  87. package/es/controls/SortViewDropdown/index.d.ts +3 -0
  88. package/es/controls/SortViewDropdown/index.js +57 -0
  89. package/es/controls/SortViewDropdown/index.js.map +1 -0
  90. package/es/controls/SortViewDropdown/index.less +63 -0
  91. package/es/controls/StarIcon/index.d.ts +9 -0
  92. package/es/controls/StarIcon/index.js +12 -0
  93. package/es/controls/StarIcon/index.js.map +1 -0
  94. package/es/data/contexts/SortContext/index.d.ts +13 -0
  95. package/es/data/contexts/SortContext/index.js +45 -0
  96. package/es/data/contexts/SortContext/index.js.map +1 -0
  97. package/es/data/contexts/StoreContext/index.d.ts +6 -0
  98. package/es/data/contexts/StoreContext/index.js +41 -0
  99. package/es/data/contexts/StoreContext/index.js.map +1 -0
  100. package/es/data/contexts/index.d.ts +1 -0
  101. package/es/data/contexts/index.js +2 -0
  102. package/es/data/contexts/index.js.map +1 -0
  103. package/es/data/meeting/MeetingStore.d.ts +54 -0
  104. package/es/data/meeting/MeetingStore.js +65 -0
  105. package/es/data/meeting/MeetingStore.js.map +1 -0
  106. package/es/data/meeting/hooks.d.ts +11 -0
  107. package/es/data/meeting/hooks.js +24 -0
  108. package/es/data/meeting/hooks.js.map +1 -0
  109. package/es/data/meeting/index.d.ts +3 -0
  110. package/es/data/meeting/index.js +3 -0
  111. package/es/data/meeting/index.js.map +1 -0
  112. package/es/data/meeting/interfaces.d.ts +16 -0
  113. package/es/data/meeting/interfaces.js +1 -0
  114. package/es/data/meeting/interfaces.js.map +1 -0
  115. package/es/data/task/TaskStore.d.ts +71 -0
  116. package/es/data/task/TaskStore.js +71 -0
  117. package/es/data/task/TaskStore.js.map +1 -0
  118. package/es/data/task/hooks.d.ts +11 -0
  119. package/es/data/task/hooks.js +24 -0
  120. package/es/data/task/hooks.js.map +1 -0
  121. package/es/data/task/index.d.ts +3 -0
  122. package/es/data/task/index.js +3 -0
  123. package/es/data/task/index.js.map +1 -0
  124. package/es/data/task/interfaces.d.ts +26 -0
  125. package/es/data/task/interfaces.js +1 -0
  126. package/es/data/task/interfaces.js.map +1 -0
  127. package/es/index.d.ts +1 -0
  128. package/es/index.js +13 -0
  129. package/es/index.js.map +1 -0
  130. package/es/modules/BoardView/components/Add/index.d.ts +7 -0
  131. package/es/modules/BoardView/components/Add/index.js +80 -0
  132. package/es/modules/BoardView/components/Add/index.js.map +1 -0
  133. package/es/modules/BoardView/components/Add/index.less +26 -0
  134. package/es/modules/BoardView/components/BoardViewItem/index.d.ts +3 -0
  135. package/es/modules/BoardView/components/BoardViewItem/index.js +198 -0
  136. package/es/modules/BoardView/components/BoardViewItem/index.js.map +1 -0
  137. package/es/modules/BoardView/components/BoardViewItem/index.less +84 -0
  138. package/es/modules/BoardView/pages/BoardViewList/index.d.ts +5 -0
  139. package/es/modules/BoardView/pages/BoardViewList/index.js +27 -0
  140. package/es/modules/BoardView/pages/BoardViewList/index.js.map +1 -0
  141. package/es/modules/BoardView/pages/BoardViewList/index.less +15 -0
  142. package/es/modules/BoardView/pages/BoardViewRoutes.d.ts +3 -0
  143. package/es/modules/BoardView/pages/BoardViewRoutes.js +8 -0
  144. package/es/modules/BoardView/pages/BoardViewRoutes.js.map +1 -0
  145. package/es/modules/document/components/Add/index.d.ts +7 -0
  146. package/es/modules/document/components/Add/index.js +80 -0
  147. package/es/modules/document/components/Add/index.js.map +1 -0
  148. package/es/modules/document/components/Add/index.less +26 -0
  149. package/es/modules/document/components/AdvanceSearch/index.d.ts +3 -0
  150. package/es/modules/document/components/AdvanceSearch/index.js +129 -0
  151. package/es/modules/document/components/AdvanceSearch/index.js.map +1 -0
  152. package/es/modules/document/components/AdvanceSearch/index.less +21 -0
  153. package/es/modules/document/components/DocumentDetail/index.d.ts +5 -0
  154. package/es/modules/document/components/DocumentDetail/index.js +79 -0
  155. package/es/modules/document/components/DocumentDetail/index.js.map +1 -0
  156. package/es/modules/document/components/DocumentDetail/index.less +56 -0
  157. package/es/modules/document/components/DocumentItem/index.d.ts +7 -0
  158. package/es/modules/document/components/DocumentItem/index.js +56 -0
  159. package/es/modules/document/components/DocumentItem/index.js.map +1 -0
  160. package/es/modules/document/components/DocumentItem/index.less +128 -0
  161. package/es/modules/document/pages/DocumentListView/index.d.ts +3 -0
  162. package/es/modules/document/pages/DocumentListView/index.js +141 -0
  163. package/es/modules/document/pages/DocumentListView/index.js.map +1 -0
  164. package/es/modules/document/pages/DocumentRoutes.d.ts +3 -0
  165. package/es/modules/document/pages/DocumentRoutes.js +12 -0
  166. package/es/modules/document/pages/DocumentRoutes.js.map +1 -0
  167. package/es/modules/document/pages/DocumentTabView/index.d.ts +3 -0
  168. package/es/modules/document/pages/DocumentTabView/index.js +237 -0
  169. package/es/modules/document/pages/DocumentTabView/index.js.map +1 -0
  170. package/es/modules/document/pages/DocumentTabView/index.less +63 -0
  171. package/es/modules/meeting/components/AgendaList/AgendaHeader/index.d.ts +6 -0
  172. package/es/modules/meeting/components/AgendaList/AgendaHeader/index.js +12 -0
  173. package/es/modules/meeting/components/AgendaList/AgendaHeader/index.js.map +1 -0
  174. package/es/modules/meeting/components/AgendaList/AgendaHeader/index.less +14 -0
  175. package/es/modules/meeting/components/AgendaList/AgendaItem/index.d.ts +6 -0
  176. package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +28 -0
  177. package/es/modules/meeting/components/AgendaList/AgendaItem/index.js.map +1 -0
  178. package/es/modules/meeting/components/AgendaList/AgendaItem/index.less +28 -0
  179. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.d.ts +7 -0
  180. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js +42 -0
  181. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js.map +1 -0
  182. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.less +47 -0
  183. package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.d.ts +3 -0
  184. package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js +11 -0
  185. package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js.map +1 -0
  186. package/es/modules/meeting/components/AgendaList/TaskItem/index.d.ts +5 -0
  187. package/es/modules/meeting/components/AgendaList/TaskItem/index.js +42 -0
  188. package/es/modules/meeting/components/AgendaList/TaskItem/index.js.map +1 -0
  189. package/es/modules/meeting/components/AgendaList/TaskItem/index.less +50 -0
  190. package/es/modules/meeting/components/AgendaList/index.d.ts +9 -0
  191. package/es/modules/meeting/components/AgendaList/index.js +63 -0
  192. package/es/modules/meeting/components/AgendaList/index.js.map +1 -0
  193. package/es/modules/meeting/components/AgendaList/index.less +95 -0
  194. package/es/modules/meeting/components/AgendaList/state.d.ts +9 -0
  195. package/es/modules/meeting/components/AgendaList/state.js +38 -0
  196. package/es/modules/meeting/components/AgendaList/state.js.map +1 -0
  197. package/es/modules/meeting/components/MeetingDetail/index.d.ts +5 -0
  198. package/es/modules/meeting/components/MeetingDetail/index.js +40 -0
  199. package/es/modules/meeting/components/MeetingDetail/index.js.map +1 -0
  200. package/es/modules/meeting/components/MeetingItem/index.d.ts +7 -0
  201. package/es/modules/meeting/components/MeetingItem/index.js +84 -0
  202. package/es/modules/meeting/components/MeetingItem/index.js.map +1 -0
  203. package/es/modules/meeting/components/MeetingItem/index.less +131 -0
  204. package/es/modules/meeting/components/MeetingItem/state.d.ts +5 -0
  205. package/es/modules/meeting/components/MeetingItem/state.js +14 -0
  206. package/es/modules/meeting/components/MeetingItem/state.js.map +1 -0
  207. package/es/modules/meeting/components/MeetingList/index.d.ts +3 -0
  208. package/es/modules/meeting/components/MeetingList/index.js +36 -0
  209. package/es/modules/meeting/components/MeetingList/index.js.map +1 -0
  210. package/es/modules/meeting/components/MeetingList/state.d.ts +11 -0
  211. package/es/modules/meeting/components/MeetingList/state.js +34 -0
  212. package/es/modules/meeting/components/MeetingList/state.js.map +1 -0
  213. package/es/modules/meeting/components/NewMeetingForm/index.d.ts +5 -0
  214. package/es/modules/meeting/components/NewMeetingForm/index.js +137 -0
  215. package/es/modules/meeting/components/NewMeetingForm/index.js.map +1 -0
  216. package/es/modules/meeting/components/NewMeetingForm/index.less +26 -0
  217. package/es/modules/meeting/components/NewMeetingForm/state.d.ts +6 -0
  218. package/es/modules/meeting/components/NewMeetingForm/state.js +30 -0
  219. package/es/modules/meeting/components/NewMeetingForm/state.js.map +1 -0
  220. package/es/modules/meeting/components/VoEditor/index.d.ts +13 -0
  221. package/es/modules/meeting/components/VoEditor/index.js +46 -0
  222. package/es/modules/meeting/components/VoEditor/index.js.map +1 -0
  223. package/es/modules/meeting/components/VoEditor/index.less +12 -0
  224. package/es/modules/meeting/pages/MeetingListView/index.d.ts +3 -0
  225. package/es/modules/meeting/pages/MeetingListView/index.js +8 -0
  226. package/es/modules/meeting/pages/MeetingListView/index.js.map +1 -0
  227. package/es/modules/meeting/pages/MeetingRoutes.d.ts +3 -0
  228. package/es/modules/meeting/pages/MeetingRoutes.js +10 -0
  229. package/es/modules/meeting/pages/MeetingRoutes.js.map +1 -0
  230. package/es/modules/meeting/pages/MeetingTabView/index.d.ts +3 -0
  231. package/es/modules/meeting/pages/MeetingTabView/index.js +48 -0
  232. package/es/modules/meeting/pages/MeetingTabView/index.js.map +1 -0
  233. package/es/modules/meeting/styles/MeetingMinView.less +32 -0
  234. package/es/modules/menus/components/Access/index.d.ts +6 -0
  235. package/es/modules/menus/components/Access/index.js +19 -0
  236. package/es/modules/menus/components/Access/index.js.map +1 -0
  237. package/es/modules/menus/components/Account/index.d.ts +6 -0
  238. package/es/modules/menus/components/Account/index.js +19 -0
  239. package/es/modules/menus/components/Account/index.js.map +1 -0
  240. package/es/modules/menus/components/AddUsers/index.d.ts +3 -0
  241. package/es/modules/menus/components/AddUsers/index.js +41 -0
  242. package/es/modules/menus/components/AddUsers/index.js.map +1 -0
  243. package/es/modules/menus/components/AddUsers/index.less +7 -0
  244. package/es/modules/menus/components/Status/index.d.ts +6 -0
  245. package/es/modules/menus/components/Status/index.js +19 -0
  246. package/es/modules/menus/components/Status/index.js.map +1 -0
  247. package/es/modules/menus/components/UsersList/index.d.ts +3 -0
  248. package/es/modules/menus/components/UsersList/index.js +130 -0
  249. package/es/modules/menus/components/UsersList/index.js.map +1 -0
  250. package/es/modules/menus/components/UsersList/index.less +66 -0
  251. package/es/modules/menus/pages/ListOptions/Company/index.d.ts +3 -0
  252. package/es/modules/menus/pages/ListOptions/Company/index.js +116 -0
  253. package/es/modules/menus/pages/ListOptions/Company/index.js.map +1 -0
  254. package/es/modules/menus/pages/ListOptions/Company/index.less +20 -0
  255. package/es/modules/menus/pages/ListOptions/Config/index.d.ts +3 -0
  256. package/es/modules/menus/pages/ListOptions/Config/index.js +5 -0
  257. package/es/modules/menus/pages/ListOptions/Config/index.js.map +1 -0
  258. package/es/modules/menus/pages/ListOptions/Teams/index.d.ts +3 -0
  259. package/es/modules/menus/pages/ListOptions/Teams/index.js +70 -0
  260. package/es/modules/menus/pages/ListOptions/Teams/index.js.map +1 -0
  261. package/es/modules/menus/pages/ListOptions/Teams/index.less +46 -0
  262. package/es/modules/menus/pages/ListOptions/Users/index.d.ts +3 -0
  263. package/es/modules/menus/pages/ListOptions/Users/index.js +33 -0
  264. package/es/modules/menus/pages/ListOptions/Users/index.js.map +1 -0
  265. package/es/modules/menus/pages/ListOptions/Users/index.less +44 -0
  266. package/es/modules/menus/pages/ListOptions/index.d.ts +3 -0
  267. package/es/modules/menus/pages/ListOptions/index.js +52 -0
  268. package/es/modules/menus/pages/ListOptions/index.js.map +1 -0
  269. package/es/modules/menus/pages/MenusRoutes.d.ts +3 -0
  270. package/es/modules/menus/pages/MenusRoutes.js +8 -0
  271. package/es/modules/menus/pages/MenusRoutes.js.map +1 -0
  272. package/es/modules/routes.d.ts +4 -0
  273. package/es/modules/routes.js +8 -0
  274. package/es/modules/routes.js.map +1 -0
  275. package/es/modules/tasks/TasksRoutes.d.ts +17 -0
  276. package/es/modules/tasks/TasksRoutes.js +39 -0
  277. package/es/modules/tasks/TasksRoutes.js.map +1 -0
  278. package/es/modules/tasks/components/NewTaskForm/index.d.ts +9 -0
  279. package/es/modules/tasks/components/NewTaskForm/index.js +107 -0
  280. package/es/modules/tasks/components/NewTaskForm/index.js.map +1 -0
  281. package/es/modules/tasks/components/NewTaskForm/index.less +43 -0
  282. package/es/modules/tasks/components/NewTaskForm/state.d.ts +16 -0
  283. package/es/modules/tasks/components/NewTaskForm/state.js +33 -0
  284. package/es/modules/tasks/components/NewTaskForm/state.js.map +1 -0
  285. package/es/modules/tasks/components/SubTaskList/index.d.ts +5 -0
  286. package/es/modules/tasks/components/SubTaskList/index.js +91 -0
  287. package/es/modules/tasks/components/SubTaskList/index.js.map +1 -0
  288. package/es/modules/tasks/components/SubTaskList/index.less +43 -0
  289. package/es/modules/tasks/components/SubTaskList/state.d.ts +23 -0
  290. package/es/modules/tasks/components/SubTaskList/state.js +60 -0
  291. package/es/modules/tasks/components/SubTaskList/state.js.map +1 -0
  292. package/es/modules/tasks/components/TaskDetail/index.d.ts +6 -0
  293. package/es/modules/tasks/components/TaskDetail/index.js +62 -0
  294. package/es/modules/tasks/components/TaskDetail/index.js.map +1 -0
  295. package/es/modules/tasks/components/TaskItem/TaskItem.d.ts +9 -0
  296. package/es/modules/tasks/components/TaskItem/TaskItem.js +119 -0
  297. package/es/modules/tasks/components/TaskItem/TaskItem.js.map +1 -0
  298. package/es/modules/tasks/components/TaskItem/index.d.ts +6 -0
  299. package/es/modules/tasks/components/TaskItem/index.js +7 -0
  300. package/es/modules/tasks/components/TaskItem/index.js.map +1 -0
  301. package/es/modules/tasks/components/TaskItem/index.less +76 -0
  302. package/es/modules/tasks/components/TaskItem/state.d.ts +5 -0
  303. package/es/modules/tasks/components/TaskItem/state.js +14 -0
  304. package/es/modules/tasks/components/TaskItem/state.js.map +1 -0
  305. package/es/modules/tasks/components/TaskList/index.d.ts +3 -0
  306. package/es/modules/tasks/components/TaskList/index.js +42 -0
  307. package/es/modules/tasks/components/TaskList/index.js.map +1 -0
  308. package/es/modules/tasks/components/TaskList/state.d.ts +7 -0
  309. package/es/modules/tasks/components/TaskList/state.js +23 -0
  310. package/es/modules/tasks/components/TaskList/state.js.map +1 -0
  311. package/es/modules/tasks/pages/TaskListView/index.d.ts +3 -0
  312. package/es/modules/tasks/pages/TaskListView/index.js +8 -0
  313. package/es/modules/tasks/pages/TaskListView/index.js.map +1 -0
  314. package/es/modules/tasks/pages/TaskTabView/index.d.ts +3 -0
  315. package/es/modules/tasks/pages/TaskTabView/index.js +53 -0
  316. package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -0
  317. package/es/modules/tasks/pages/TaskTestView/index.d.ts +3 -0
  318. package/es/modules/tasks/pages/TaskTestView/index.js +55 -0
  319. package/es/modules/tasks/pages/TaskTestView/index.js.map +1 -0
  320. package/es/modules/tasks/pages/TaskTestView/index.less +51 -0
  321. package/es/modules/user/pages/Positions/index.d.ts +3 -0
  322. package/es/modules/user/pages/Positions/index.js +94 -0
  323. package/es/modules/user/pages/Positions/index.js.map +1 -0
  324. package/es/modules/user/pages/Positions/index.less +60 -0
  325. package/es/modules/user/pages/Profile/index.d.ts +11 -0
  326. package/es/modules/user/pages/Profile/index.js +79 -0
  327. package/es/modules/user/pages/Profile/index.js.map +1 -0
  328. package/es/modules/user/pages/Profile/index.less +45 -0
  329. package/es/modules/workspaces/components/Access/index.d.ts +6 -0
  330. package/es/modules/workspaces/components/Access/index.js +19 -0
  331. package/es/modules/workspaces/components/Access/index.js.map +1 -0
  332. package/es/modules/workspaces/components/Account/index.d.ts +6 -0
  333. package/es/modules/workspaces/components/Account/index.js +19 -0
  334. package/es/modules/workspaces/components/Account/index.js.map +1 -0
  335. package/es/modules/workspaces/components/AddUsers/index.d.ts +3 -0
  336. package/es/modules/workspaces/components/AddUsers/index.js +41 -0
  337. package/es/modules/workspaces/components/AddUsers/index.js.map +1 -0
  338. package/es/modules/workspaces/components/AddUsers/index.less +7 -0
  339. package/es/modules/workspaces/components/ListHeard/index.d.ts +5 -0
  340. package/es/modules/workspaces/components/ListHeard/index.js +24 -0
  341. package/es/modules/workspaces/components/ListHeard/index.js.map +1 -0
  342. package/es/modules/workspaces/components/ListHeard/index.less +33 -0
  343. package/es/modules/workspaces/components/Status/index.d.ts +6 -0
  344. package/es/modules/workspaces/components/Status/index.js +19 -0
  345. package/es/modules/workspaces/components/Status/index.js.map +1 -0
  346. package/es/modules/workspaces/components/UsersList/index.d.ts +3 -0
  347. package/es/modules/workspaces/components/UsersList/index.js +131 -0
  348. package/es/modules/workspaces/components/UsersList/index.js.map +1 -0
  349. package/es/modules/workspaces/components/UsersList/index.less +74 -0
  350. package/es/modules/workspaces/pages/BoardView/index.d.ts +3 -0
  351. package/es/modules/workspaces/pages/BoardView/index.js +68 -0
  352. package/es/modules/workspaces/pages/BoardView/index.js.map +1 -0
  353. package/es/modules/workspaces/pages/BoardView/index.less +57 -0
  354. package/es/modules/workspaces/pages/ListView/index.d.ts +3 -0
  355. package/es/modules/workspaces/pages/ListView/index.js +78 -0
  356. package/es/modules/workspaces/pages/ListView/index.js.map +1 -0
  357. package/es/modules/workspaces/pages/ListView/index.less +92 -0
  358. package/es/modules/workspaces/pages/Users/index.d.ts +3 -0
  359. package/es/modules/workspaces/pages/Users/index.js +37 -0
  360. package/es/modules/workspaces/pages/Users/index.js.map +1 -0
  361. package/es/modules/workspaces/pages/Users/index.less +47 -0
  362. package/es/modules/workspaces/pages/WorkSpacesRoutes.d.ts +3 -0
  363. package/es/modules/workspaces/pages/WorkSpacesRoutes.js +12 -0
  364. package/es/modules/workspaces/pages/WorkSpacesRoutes.js.map +1 -0
  365. package/es/styles/ScrollBar.less +30 -0
  366. package/es/styles/common.less +187 -0
  367. package/es/styles/index.less +13 -0
  368. package/package.json +132 -0
  369. package/readme.md +146 -0
@@ -0,0 +1,71 @@
1
+ import { ApiEndPoint } from "@voplus/api";
2
+ import { Store } from "@voplus/morpho-data";
3
+ import { DeleteDocumentOptions, DocumentStore, LoadDocumentListOptions } from "@voplus/morpho-document";
4
+ import { ITask } from "./interfaces";
5
+ /** Custom load task options type. */
6
+ export declare type LoadTaskOptions = {
7
+ /** Reload existing record. */
8
+ reload?: boolean;
9
+ };
10
+ /** Custom load task list options type */
11
+ export declare type LoadTaskListOptions = {} & LoadDocumentListOptions;
12
+ /** Custom create task options type. Use TitleCase to fit server need.*/
13
+ export declare type CreateTaskOptions = {
14
+ ParentId?: string;
15
+ Name: string;
16
+ Description?: string;
17
+ StartDate?: Date;
18
+ DueDate?: Date;
19
+ /** Indicate whether if inherit members from parent */
20
+ InheritMembers: boolean;
21
+ /** List of manager ids */
22
+ ManagerIds?: string[];
23
+ /** List of id of members */
24
+ MemberIds?: string[];
25
+ };
26
+ /** Custom edit task options type. Use TitleCase to fit server need.*/
27
+ export declare type EditTaskOptions = {
28
+ Name?: string;
29
+ Description?: string;
30
+ StartDate?: Date;
31
+ DueDate?: Date;
32
+ TaskStatus?: string;
33
+ Sequence?: number;
34
+ Important?: boolean;
35
+ MemberIds?: string[];
36
+ };
37
+ /** Task store provides service for task operations */
38
+ export declare class TaskStore extends Store {
39
+ private _endpoint;
40
+ private _documents;
41
+ /** Task created event dispatcher */
42
+ private readonly _taskCreated;
43
+ /** Task deleted event dispatcher */
44
+ private readonly _taskDeleted;
45
+ /** Name of the store */
46
+ readonly name: string;
47
+ /** Event fires when a new task has been created. */
48
+ readonly TaskCreatedEvent: import("strongly-typed-events").IEvent<TaskStore, ITask>;
49
+ /** Event fires when a new task has been created. */
50
+ readonly TaskDeletedEvent: import("strongly-typed-events").IEvent<TaskStore, ITask>;
51
+ constructor(_endpoint: ApiEndPoint, _documents: DocumentStore);
52
+ /** Load a task from server.
53
+ * @param {string} id - id of the task.
54
+ * @param {LoadTaskOptions} options - Optional load options.
55
+ */
56
+ load(id: string, options: LoadTaskOptions): Promise<ITask>;
57
+ /** Load a list of tasks from server.
58
+ * @param {LoadTaskListOptions}
59
+ */
60
+ loadList(options?: LoadTaskListOptions): Promise<any>;
61
+ /** Create a new task. */
62
+ create(options: CreateTaskOptions): Promise<ITask>;
63
+ edit(id: string, options: EditTaskOptions): Promise<void>;
64
+ delete(id: string, options: DeleteDocumentOptions): Promise<void>;
65
+ /** Move a list of docunments to target
66
+ * @param ids - list of document ids to be moved
67
+ */
68
+ move(ids: string[], optoins: any): Promise<void>;
69
+ }
70
+ /** React hook to retrieve TaskStore */
71
+ export declare const useTaskStore: () => TaskStore;
@@ -0,0 +1,71 @@
1
+ import invariant from "invariant";
2
+ import { EventDispatcher } from "strongly-typed-events";
3
+ import { RequestBuilder } from "@voplus/api";
4
+ import { Store, useStore } from "@voplus/morpho-data";
5
+ import { useDocumentStore } from "@voplus/morpho-document";
6
+ const StoreName = "TaskStore";
7
+ /** Task store provides service for task operations */
8
+ export class TaskStore extends Store {
9
+ constructor(_endpoint, _documents) {
10
+ super();
11
+ this._endpoint = _endpoint;
12
+ this._documents = _documents;
13
+ /** Task created event dispatcher */
14
+ this._taskCreated = new EventDispatcher();
15
+ /** Task deleted event dispatcher */
16
+ this._taskDeleted = new EventDispatcher();
17
+ /** Name of the store */
18
+ this.name = StoreName;
19
+ }
20
+ /** Event fires when a new task has been created. */
21
+ get TaskCreatedEvent() {
22
+ return this._taskCreated.asEvent();
23
+ }
24
+ /** Event fires when a new task has been created. */
25
+ get TaskDeletedEvent() {
26
+ return this._taskDeleted.asEvent();
27
+ }
28
+ /** Load a task from server.
29
+ * @param {string} id - id of the task.
30
+ * @param {LoadTaskOptions} options - Optional load options.
31
+ */
32
+ async load(id, options) {
33
+ let r = await this._endpoint.get(`/tasks/${id}`);
34
+ return (await r.json());
35
+ }
36
+ /** Load a list of tasks from server.
37
+ * @param {LoadTaskListOptions}
38
+ */
39
+ async loadList(options) {
40
+ let r = await this._endpoint.post(`/tasks`, new RequestBuilder().json(options ? options : { Filters: [] }));
41
+ return await r.json();
42
+ }
43
+ /** Create a new task. */
44
+ async create(options) {
45
+ invariant(options.Name, "Name cannot be empty.");
46
+ let r = await this._endpoint.post("/tasks/create", new RequestBuilder().json(options));
47
+ let t = (await r.json());
48
+ this._taskCreated.dispatch(this, t);
49
+ this._documents["_documentCreated"].dispatch(this._documents, t);
50
+ return t;
51
+ }
52
+ async edit(id, options) {
53
+ let r = await this._endpoint.post(`/tasks/${id}`, new RequestBuilder().json(options));
54
+ let t = (await r.json());
55
+ this._documents.items.overwrite(t.id, t);
56
+ }
57
+ async delete(id, options) {
58
+ let r = await this._documents.delete(id, options);
59
+ this._taskDeleted.dispatch(this, r);
60
+ }
61
+ /** Move a list of docunments to target
62
+ * @param ids - list of document ids to be moved
63
+ */
64
+ async move(ids, optoins) { }
65
+ }
66
+ /** React hook to retrieve TaskStore */
67
+ export const useTaskStore = () => {
68
+ const documents = useDocumentStore();
69
+ return useStore(StoreName, context => new TaskStore(context.api.currentEndPoint, documents));
70
+ };
71
+ //# sourceMappingURL=TaskStore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaskStore.js","sourceRoot":"","sources":["../../../src/data/task/TaskStore.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAKN,gBAAgB,EAChB,MAAM,yBAAyB,CAAC;AAIjC,MAAM,SAAS,GAAG,WAAW,CAAC;AAwC9B,sDAAsD;AACtD,MAAM,OAAO,SAAU,SAAQ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S,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,SAAS,CAAC,CAChE,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { LoadTaskOptions, ITask } from ".";
2
+ /** React hook to retrieve a task
3
+ * @param {string} id - id of the task
4
+ * @param {LoadTaskOptions} options - options
5
+ */
6
+ export declare const useTask: (id: string, options?: LoadTaskOptions | undefined) => ITask;
7
+ /** React hook to retrieve a list of tasks
8
+ * @param effect - Effect callback to be ran after successful retrieved the list.
9
+ * @param options - Optional task list loading options.
10
+ */
11
+ export declare const useTaskListEffect: (effect: (list: ITask[]) => void, options?: import("@voplus/morpho-document").LoadDocumentListOptions | undefined) => void;
@@ -0,0 +1,24 @@
1
+ import { useTaskStore } from ".";
2
+ import { useDocumentStore, useDocumentListLoaderEffect } from "@voplus/morpho-document";
3
+ import { useLoadCountedMapItem } from "@voplus/morpho-data";
4
+ /** React hook to retrieve a task
5
+ * @param {string} id - id of the task
6
+ * @param {LoadTaskOptions} options - options
7
+ */
8
+ export const useTask = (id, options) => {
9
+ options = options ? options : {};
10
+ const store = useTaskStore();
11
+ const documents = useDocumentStore();
12
+ return useLoadCountedMapItem(id, documents.items, () => store.load(id, options), options);
13
+ };
14
+ /** React hook to retrieve a list of tasks
15
+ * @param effect - Effect callback to be ran after successful retrieved the list.
16
+ * @param options - Optional task list loading options.
17
+ */
18
+ export const useTaskListEffect = (effect, options) => {
19
+ const deps = options ? options : {};
20
+ const tasks = useTaskStore();
21
+ // Call useDocumentListEffect and ensure won't load twice for same loading options.
22
+ return useDocumentListLoaderEffect(effect, () => tasks.loadList(options), [deps]);
23
+ };
24
+ //# sourceMappingURL=hooks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/task/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAA+C,MAAM,GAAG,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AACxF,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,EAAU,EAAE,OAAyB,EAAE,EAAE;IAChE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAAsB,CAAC;IACtD,MAAM,KAAK,GAAG,YAAY,EAAE,CAAC;IAC7B,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IAErC,OAAO,qBAAqB,CAC3B,EAAE,EACF,SAAS,CAAC,KAAK,EACf,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAC9B,OAAO,CACE,CAAC;AACZ,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAChC,MAA+B,EAC/B,OAA6B,EAC5B,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA0B,CAAC;IAC7D,MAAM,KAAK,GAAG,YAAY,EAAE,CAAC;IAE7B,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AACnF,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from "./interfaces";
2
+ export * from "./TaskStore";
3
+ export * from "./hooks";
@@ -0,0 +1,3 @@
1
+ export * from "./TaskStore";
2
+ export * from "./hooks";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/task/index.ts"],"names":[],"mappings":"AACA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { IDocument } from "@voplus/morpho-document";
2
+ export interface IContactAvatar {
3
+ /** Id of the contact */
4
+ id: string;
5
+ /** Name of the contact */
6
+ name: string;
7
+ /** avatar image url */
8
+ avatarUrl: string;
9
+ }
10
+ export interface ITask extends IDocument {
11
+ /** Start date of the task */
12
+ startDate?: Date;
13
+ /** Due date of the task */
14
+ dueDate?: Date;
15
+ /** Id of the parent. */
16
+ parentId: string;
17
+ taskStatus: "NotAssigned" | "NotStarted" | "InProgress" | "Done";
18
+ /** Number of Subtasks of the task */
19
+ tasks?: number;
20
+ /** Number of comments */
21
+ comments?: number;
22
+ /** Members of the task */
23
+ members: IContactAvatar[];
24
+ /** important of the task */
25
+ important?: boolean;
26
+ }
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/data/task/interfaces.ts"],"names":[],"mappings":""}
package/es/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export {};
package/es/index.js ADDED
@@ -0,0 +1,13 @@
1
+ import * as React from "react";
2
+ import * as ReactDOM from "react-dom";
3
+ import { Button } from "@voplus/antd";
4
+ import styles from "./style/index.less";
5
+ const Index = () => {
6
+ return (React.createElement("div", null,
7
+ React.createElement("div", null,
8
+ React.createElement(Button, { type: "primary" }, "Normal primary button")),
9
+ React.createElement("div", { className: styles.themed },
10
+ React.createElement(Button, { type: "primary" }, "themed primary button"))));
11
+ };
12
+ ReactDOM.render(React.createElement(Index, null), document.getElementById("index"));
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AAEtC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,MAAM,KAAK,GAAG,GAAG,EAAE;IAClB,OAAO,CACN;QACC;YACC,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,4BAA+B,CAChD;QACN,6BAAK,SAAS,EAAE,MAAM,CAAC,MAAM;YAC5B,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,4BAA+B,CAChD,CACD,CACN,CAAC;AACH,CAAC,CAAC;AAEF,QAAQ,CAAC,MAAM,CAAC,oBAAC,KAAK,OAAG,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ declare const _default: (props: {
3
+ simple?: boolean | undefined;
4
+ className?: string | undefined;
5
+ close?: (() => void) | undefined;
6
+ }) => JSX.Element;
7
+ export default _default;
@@ -0,0 +1,80 @@
1
+ import React, { useState } from "react";
2
+ import classnames from "classnames";
3
+ import { Form, Input, DatePicker, Button, Select, Upload, Icon, message } from "@voplus/antd";
4
+ import { faListAlt } from "@fortawesome/pro-light-svg-icons";
5
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
6
+ import styles from "./index.less";
7
+ export default (props) => {
8
+ const { simple, className } = props;
9
+ const [isDetailed, setIsDetailed] = useState(false);
10
+ const [showNewForm, setShowNewForm] = useState(false);
11
+ const [params] = useState({ title: "" });
12
+ // save new task
13
+ const onSubmit = () => {
14
+ if (isDetailed)
15
+ return;
16
+ if (!params.title)
17
+ return message.warning("Title is required");
18
+ return;
19
+ };
20
+ // cancel add task
21
+ const onCancelAdd = (e) => {
22
+ if (e.keyCode === 27)
23
+ setShowNewForm(false);
24
+ };
25
+ const items = [
26
+ { id: 1, name: "001" },
27
+ { id: 2, name: "002" },
28
+ { id: 3, name: "003" },
29
+ { id: 4, name: "004" },
30
+ { id: 5, name: "005" },
31
+ { id: 6, name: "006" }
32
+ ];
33
+ const { Option } = Select;
34
+ function handleChange(value) {
35
+ console.log(`selected ${value}`);
36
+ }
37
+ return (React.createElement("div", { className: classnames(styles["new-task-form"], className) },
38
+ (showNewForm || !simple) && (React.createElement(Form, null,
39
+ React.createElement(Form.Item, null,
40
+ React.createElement("div", { className: "form-item-layout" },
41
+ React.createElement(Input, { value: params.title, placeholder: "Enter a title for this task", onPressEnter: onSubmit, onKeyDown: onCancelAdd }),
42
+ simple && (React.createElement("span", { className: "detailed", onClick: () => setIsDetailed(!isDetailed) },
43
+ React.createElement(FAIcon, { icon: faListAlt }))))),
44
+ (!simple || isDetailed) && (React.createElement("div", null,
45
+ React.createElement(Form.Item, null,
46
+ React.createElement(Input.TextArea, { placeholder: "Description" })),
47
+ React.createElement(Form.Item, null,
48
+ React.createElement("div", { className: "form-item-layout" },
49
+ React.createElement("div", null,
50
+ React.createElement("p", { className: "form-label" }, "Assign people"),
51
+ React.createElement(Select, { mode: "multiple", style: { width: "100%" }, placeholder: "Please select", defaultValue: ["a10", "c12"], onChange: handleChange }, items.map(item => {
52
+ return React.createElement(Option, { key: item.name }, item.name);
53
+ }))),
54
+ React.createElement("div", { className: styles["margin-left-30"] },
55
+ React.createElement("p", { className: "form-label" }, "Assign Manager"),
56
+ React.createElement(Select, null,
57
+ React.createElement(Select.Option, { value: "jack" }, "Jack"),
58
+ React.createElement(Select.Option, { value: "lucy" }, "Lucy"),
59
+ React.createElement(Select.Option, { value: "Yiminghe" }, "yiminghe"))))),
60
+ React.createElement(Form.Item, null,
61
+ React.createElement("div", { className: "form-item-layout" },
62
+ React.createElement("div", null,
63
+ React.createElement("p", { className: "form-label" }, "Start"),
64
+ React.createElement(DatePicker, null)),
65
+ React.createElement("div", { className: styles["margin-left-30"] },
66
+ React.createElement("p", { className: "form-label" }, "Due"),
67
+ React.createElement(DatePicker, null)))),
68
+ React.createElement(Form.Item, null,
69
+ React.createElement(Upload.Dragger, { name: "files", action: "/upload.do" },
70
+ React.createElement("div", null, "Drag & Drop files here"))),
71
+ React.createElement(Form.Item, null,
72
+ React.createElement("div", { className: "form-item-layout" },
73
+ React.createElement(Button, { block: true, onClick: () => setShowNewForm(false) }, "Cancel"),
74
+ React.createElement(Button, { type: "primary", block: true, className: styles["margin-left-30"] }, "Submit"))))))),
75
+ !showNewForm && simple && (React.createElement("div", { className: "add-subtask-btn" },
76
+ React.createElement(Button, { block: true, onClick: () => setShowNewForm(true) },
77
+ React.createElement(Icon, { type: "plus" }),
78
+ " +New Subtask")))));
79
+ };
80
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/BoardView/components/Add/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC9F,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,eAAe,CAAC,KAAmE,EAAE,EAAE;IACtF,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACpD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtD,MAAM,CAAC,MAAM,CAAC,GAAG,QAAQ,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IACzC,gBAAgB;IAChB,MAAM,QAAQ,GAAG,GAAG,EAAE;QACrB,IAAI,UAAU;YAAE,OAAO;QACvB,IAAI,CAAC,MAAM,CAAC,KAAK;YAAE,OAAO,OAAO,CAAC,OAAO,CAAC,m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,2BAAG,SAAS,EAAC,YAAY,UAAQ;4BACjC,oBAAC,UAAU,OAAG,CACT,CACD,CACK;gBACZ,oBAAC,IAAI,CAAC,IAAI;oBACT,oBAAC,MAAM,CAAC,OAAO,IAAC,IAAI,EAAC,OAAO,EAAC,MAAM,EAAC,YAAY;wBAC/C,0DAAiC,CACjB,CACN;gBACZ,oBAAC,IAAI,CAAC,IAAI;oBACT,6BAAK,SAAS,EAAC,kBAAkB;wBAChC,oBAAC,MAAM,IAAC,KAAK,QAAC,OAAO,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,aAEzC;wBACT,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,KAAK,QAAC,SAAS,EAAE,MAAM,CAAC,gBAAgB,CAAC,aAEvD,CACJ,CACK,CACP,CACN,CACK,CACP;QACA,CAAC,WAAW,IAAI,MAAM,IAAI,CAC1B,6BAAK,SAAS,EAAC,iBAAiB;YAC/B,oBAAC,MAAM,IAAC,KAAK,QAAC,OAAO,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC;gBAChD,oBAAC,IAAI,IAAC,IAAI,EAAC,MAAM,GAAG;gCACZ,CACJ,CACN,CACI,CACN,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,26 @@
1
+ @import "../../../../styles/common.less";
2
+ .new-task-form {
3
+ :global {
4
+ .form-item-layout {
5
+ display: flex;
6
+ align-items: center;
7
+ .detailed {
8
+ font-size: 22px;
9
+ margin-left: 10px;
10
+ cursor: pointer;
11
+ }
12
+ > div {
13
+ flex: 1;
14
+ .form-label {
15
+ line-height: 24px;
16
+ }
17
+ .ant-calendar-picker {
18
+ width: 100%;
19
+ }
20
+ }
21
+ }
22
+ .add-subtask-btn {
23
+ padding: 0 10% 20px 10%;
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const _default: () => JSX.Element;
3
+ export default _default;
@@ -0,0 +1,198 @@
1
+ import React from "react";
2
+ import classnames from "classnames";
3
+ import MoreOperateDropdown from "../../../../controls/MoreOperateDropdown";
4
+ import { Avatar } from "@voplus/antd";
5
+ import { faCommentDots, faListOl, faPaperclip } from "@fortawesome/pro-light-svg-icons";
6
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
7
+ import styles from "./index.less";
8
+ export default () => {
9
+ const data = [
10
+ {
11
+ name: "To Prioritize",
12
+ list: [
13
+ {
14
+ id: 1,
15
+ status: " ",
16
+ title: "it will display the task details on the side it will display the task details on the side",
17
+ url: "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1582404497,2226613703&fm=26&gp=0.jpg",
18
+ task: 3,
19
+ doc: 3,
20
+ comment: 8
21
+ },
22
+ {
23
+ id: 2,
24
+ status: "ABCDEF",
25
+ title: "it will display the task details on the side it will display the task details on the side",
26
+ url: "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1582404497,2226613703&fm=26&gp=0.jpg",
27
+ task: 3,
28
+ doc: 3,
29
+ comment: 8
30
+ }
31
+ ]
32
+ },
33
+ {
34
+ name: "To do",
35
+ list: [
36
+ {
37
+ id: 1,
38
+ status: " ",
39
+ title: "it will display the task details on the side it will display the task details on the side",
40
+ url: "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1582404497,2226613703&fm=26&gp=0.jpg",
41
+ task: 3,
42
+ doc: 3,
43
+ comment: 8
44
+ },
45
+ {
46
+ id: 2,
47
+ status: "ABCDEF",
48
+ title: "it will display the task details on the side it will display the task details on the side",
49
+ url: "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1582404497,2226613703&fm=26&gp=0.jpg",
50
+ task: 3,
51
+ doc: 3,
52
+ comment: 8
53
+ },
54
+ {
55
+ id: 3,
56
+ status: " ",
57
+ title: "it will display the task details on the side it will display the task details on the side",
58
+ url: "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1582404497,2226613703&fm=26&gp=0.jpg",
59
+ task: 3,
60
+ doc: 3,
61
+ comment: 8
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ name: "Doing",
67
+ list: [
68
+ {
69
+ id: 1,
70
+ status: "ABCDEF",
71
+ title: "it will display the task details on the side it will display the task details on the side",
72
+ url: "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1582404497,2226613703&fm=26&gp=0.jpg",
73
+ task: 3,
74
+ doc: 3,
75
+ comment: 8
76
+ },
77
+ {
78
+ id: 2,
79
+ status: " ",
80
+ title: "it will display the task details on the side it will display the task details on the side",
81
+ url: "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1582404497,2226613703&fm=26&gp=0.jpg",
82
+ task: 3,
83
+ doc: 3,
84
+ comment: 8
85
+ }
86
+ ]
87
+ },
88
+ {
89
+ name: "Awaiting Review",
90
+ list: [
91
+ {
92
+ id: 1,
93
+ status: " ",
94
+ title: "it will display the task details on the side it will display the task details on the side",
95
+ url: "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1582404497,2226613703&fm=26&gp=0.jpg",
96
+ task: 3,
97
+ doc: 3,
98
+ comment: 8
99
+ },
100
+ {
101
+ id: 2,
102
+ status: "ABCDEF",
103
+ title: "it will display the task details on the side it will display the task details on the side",
104
+ url: "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1582404497,2226613703&fm=26&gp=0.jpg",
105
+ task: 3,
106
+ doc: 3,
107
+ comment: 8
108
+ },
109
+ {
110
+ id: 3,
111
+ status: " ",
112
+ title: "it will display the task details on the side it will display the task details on the side",
113
+ url: "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1582404497,2226613703&fm=26&gp=0.jpg",
114
+ task: 3,
115
+ doc: 3,
116
+ comment: 8
117
+ }
118
+ ]
119
+ },
120
+ {
121
+ name: "Done",
122
+ list: [
123
+ {
124
+ id: 1,
125
+ status: " ",
126
+ title: "it will display the task details on the side it will display the task details on the side",
127
+ url: "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1582404497,2226613703&fm=26&gp=0.jpg",
128
+ task: 3,
129
+ doc: 3,
130
+ comment: 8
131
+ },
132
+ {
133
+ id: 2,
134
+ status: "ABCDEF",
135
+ title: "it will display the task details on the side it will display the task details on the side",
136
+ url: "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1582404497,2226613703&fm=26&gp=0.jpg",
137
+ task: 3,
138
+ doc: 3,
139
+ comment: 8
140
+ },
141
+ {
142
+ id: 3,
143
+ status: " ",
144
+ title: "it will display the task details on the side it will display the task details on the side",
145
+ url: "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1582404497,2226613703&fm=26&gp=0.jpg",
146
+ task: 3,
147
+ doc: 3,
148
+ comment: 8
149
+ },
150
+ {
151
+ id: 4,
152
+ status: " ",
153
+ title: "it will display the task details on the side it will display the task details on the side",
154
+ url: "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1582404497,2226613703&fm=26&gp=0.jpg",
155
+ task: 3,
156
+ doc: 3,
157
+ comment: 8
158
+ },
159
+ {
160
+ id: 5,
161
+ status: " ",
162
+ title: "it will display the task details on the side it will display the task details on the side",
163
+ url: "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1582404497,2226613703&fm=26&gp=0.jpg",
164
+ task: 3,
165
+ doc: 3,
166
+ comment: 8
167
+ }
168
+ ]
169
+ }
170
+ ];
171
+ return (React.createElement("div", { className: styles.all }, data.map(item => {
172
+ return (React.createElement("div", { className: "content-body", key: item.name },
173
+ React.createElement("div", { className: "content-top" },
174
+ React.createElement("span", null, item.name),
175
+ React.createElement("span", null,
176
+ React.createElement(MoreOperateDropdown, null))),
177
+ React.createElement("div", { className: "list-body" },
178
+ React.createElement("div", { className: classnames("list-body-content", styles["members-list"]) }, item.list.map((index) => {
179
+ return (React.createElement("div", { className: "content-list", key: index.id },
180
+ React.createElement("div", { className: "content-status" }, index.status),
181
+ React.createElement("i", null, index.title),
182
+ React.createElement("div", { className: "content-list-bottom" },
183
+ React.createElement(Avatar, { src: index.url }),
184
+ React.createElement("div", null,
185
+ React.createElement("span", null,
186
+ React.createElement(FAIcon, { icon: faListOl }),
187
+ index.task),
188
+ React.createElement("span", null,
189
+ React.createElement(FAIcon, { icon: faPaperclip }),
190
+ index.doc),
191
+ React.createElement("span", null,
192
+ React.createElement(FAIcon, { icon: faCommentDots }),
193
+ index.comment)))));
194
+ })),
195
+ React.createElement("p", null, "Add new Task"))));
196
+ })));
197
+ };
198
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/BoardView/components/BoardViewItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAW,aAAa,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACjG,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,eAAe,GAAG,EAAE;IACnB,MAAM,IAAI,GAAG;QACZ;YACC,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE;gBACL;oBACC,EAAE,EAAE,CAAC;oBACL,MAAM,EAAE,GAAG;oBACX,KAAK,EACJ,2FAA2F;oBAC5F,GAAG,EACF,gGAAgG;oBACjG,IAAI,EAAE,CAAC;oBACP,GAA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