@voplus/morpho-workspace 1.3.63 → 1.3.65

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 (365) hide show
  1. package/es/data/task/types.d.ts +1 -0
  2. package/es/data/work/interfaces.d.ts +1 -0
  3. package/es/{pages → modules}/Routes.js +4 -4
  4. package/es/modules/Routes.js.map +1 -0
  5. package/es/modules/meeting/components/AgendaList/AgendaContext.d.ts +28 -0
  6. package/es/modules/meeting/components/AgendaList/AgendaContext.js +81 -0
  7. package/es/modules/meeting/components/AgendaList/AgendaContext.js.map +1 -0
  8. package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +29 -27
  9. package/es/modules/meeting/components/AgendaList/AgendaItem/index.js.map +1 -1
  10. package/es/modules/meeting/components/AgendaList/AgendaItem/index.less +39 -36
  11. package/es/modules/meeting/components/AgendaList/AgendaItem/state.d.ts +4 -12
  12. package/es/modules/meeting/components/AgendaList/AgendaItem/state.js +7 -73
  13. package/es/modules/meeting/components/AgendaList/AgendaItem/state.js.map +1 -1
  14. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.less +1 -0
  15. package/es/modules/meeting/components/AgendaList/index.js +27 -27
  16. package/es/modules/meeting/components/AgendaList/index.js.map +1 -1
  17. package/es/modules/meeting/components/AgendaList/index.less +35 -0
  18. package/es/modules/meeting/components/MeetingProperties/index.js +1 -1
  19. package/es/modules/meeting/components/MeetingProperties/index.js.map +1 -1
  20. package/es/modules/meeting/pages/MeetingDefaultView/index.js +1 -1
  21. package/es/modules/meeting/pages/MeetingDefaultView/index.js.map +1 -1
  22. package/es/modules/meeting/pages/MeetingDefaultView/index.less +4 -1
  23. package/es/modules/project/ProjectDefaultView/index.js.map +1 -0
  24. package/es/modules/project/data/ProjectStore.js.map +1 -0
  25. package/es/modules/project/data/hook.js.map +1 -0
  26. package/es/modules/project/data/index.js.map +1 -0
  27. package/es/modules/project/data/interfaces.js.map +1 -0
  28. package/es/modules/space/components/Notes/ColorSelect/index.js.map +1 -0
  29. package/es/modules/space/components/Notes/NewNoteDialog/index.js.map +1 -0
  30. package/es/modules/space/components/Notes/TextNoteCard/index.js.map +1 -0
  31. package/es/modules/space/components/Notes/TextNoteCard/state.js.map +1 -0
  32. package/es/modules/space/components/Notes/index.js.map +1 -0
  33. package/es/modules/space/components/Notifications/index.js.map +1 -0
  34. package/es/modules/space/components/Projects/index.js.map +1 -0
  35. package/es/modules/space/components/TaskMenu/index.js.map +1 -0
  36. package/es/modules/space/components/TaskMenu/state.js.map +1 -0
  37. package/es/modules/space/components/Tasks/index.js.map +1 -0
  38. package/es/modules/space/components/WorkMenu/index.js.map +1 -0
  39. package/es/modules/space/components/WorkMenu/state.js.map +1 -0
  40. package/es/modules/space/components/Works/index.js.map +1 -0
  41. package/es/modules/space/components/Workspaces/index.js.map +1 -0
  42. package/es/modules/space/pages/MySpace/index.js.map +1 -0
  43. package/es/modules/space/pages/MySpace/state.js.map +1 -0
  44. package/es/modules/tasks/components/TaskProperties/index.js +16 -2
  45. package/es/modules/tasks/components/TaskProperties/index.js.map +1 -1
  46. package/es/modules/tasks/pages/TaskDefaultView/index.js +1 -1
  47. package/es/modules/tasks/pages/TaskDefaultView/index.js.map +1 -1
  48. package/es/modules/work/components/NewWorkForm/index.d.ts +1 -0
  49. package/es/modules/work/components/NewWorkForm/index.js +9 -2
  50. package/es/modules/work/components/NewWorkForm/index.js.map +1 -1
  51. package/es/modules/work/components/NewWorkForm/state.d.ts +2 -0
  52. package/es/modules/work/components/NewWorkForm/state.js +1 -0
  53. package/es/modules/work/components/NewWorkForm/state.js.map +1 -1
  54. package/es/modules/work/components/RelatedWorkList/index.d.ts +5 -0
  55. package/es/modules/work/components/RelatedWorkList/index.js +8 -0
  56. package/es/modules/work/components/RelatedWorkList/index.js.map +1 -0
  57. package/es/modules/work/components/WorkList/index.d.ts +31 -18
  58. package/es/modules/work/components/WorkList/index.js +10 -4
  59. package/es/modules/work/components/WorkList/index.js.map +1 -1
  60. package/es/modules/work/components/WorkTabs/index.js +4 -1
  61. package/es/modules/work/components/WorkTabs/index.js.map +1 -1
  62. package/es/modules/work/components/WorkTabs/index.less +7 -1
  63. package/es/modules/work/components/WorksProperties/index.d.ts +1 -0
  64. package/es/modules/work/components/WorksProperties/index.js +14 -13
  65. package/es/modules/work/components/WorksProperties/index.js.map +1 -1
  66. package/es/modules/work/pages/WorkDefaultView/index.js +2 -2
  67. package/es/modules/work/pages/WorkDefaultView/index.js.map +1 -1
  68. package/es/modules/{worktype → work/work-type}/components/NewTypeForm/index.js +1 -1
  69. package/es/modules/work/work-type/components/NewTypeForm/index.js.map +1 -0
  70. package/es/modules/work/work-type/components/NewTypeForm/index.less +8 -0
  71. package/es/modules/work/work-type/components/NewTypeForm/state.js.map +1 -0
  72. package/es/modules/work/work-type/components/RepeatTab/index.js.map +1 -0
  73. package/es/modules/{worktype → work/work-type}/components/WorkTypeCard/index.js +4 -4
  74. package/es/modules/work/work-type/components/WorkTypeCard/index.js.map +1 -0
  75. package/es/modules/{worktype → work/work-type}/components/WorkTypeCardList/index.d.ts +1 -1
  76. package/es/modules/{worktype → work/work-type}/components/WorkTypeCardList/index.js +2 -2
  77. package/es/modules/work/work-type/components/WorkTypeCardList/index.js.map +1 -0
  78. package/es/modules/{worktype → work/work-type}/components/WorkTypeItem/index.js +1 -1
  79. package/es/modules/work/work-type/components/WorkTypeItem/index.js.map +1 -0
  80. package/es/modules/{worktype → work/work-type}/components/WorkTypeList/index.d.ts +1 -1
  81. package/es/modules/{worktype → work/work-type}/components/WorkTypeList/index.js +3 -3
  82. package/es/modules/work/work-type/components/WorkTypeList/index.js.map +1 -0
  83. package/es/modules/{worktype → work/work-type}/components/WorkTypeProperties/index.js +1 -1
  84. package/es/modules/work/work-type/components/WorkTypeProperties/index.js.map +1 -0
  85. package/es/modules/{worktype → work/work-type}/components/WorkTypeProperties/state.d.ts +1 -1
  86. package/es/modules/work/work-type/components/WorkTypeProperties/state.js.map +1 -0
  87. package/es/modules/{worktype → work/work-type}/components/WorkTypePropertiesTabs/index.js +1 -1
  88. package/es/modules/work/work-type/components/WorkTypePropertiesTabs/index.js.map +1 -0
  89. package/es/modules/{worktype → work/work-type}/components/WorkTypePropertiesView/index.js +1 -1
  90. package/es/modules/work/work-type/components/WorkTypePropertiesView/index.js.map +1 -0
  91. package/es/modules/{worktype → work/work-type}/components/WorkTypePropertiesView/state.d.ts +1 -1
  92. package/es/modules/{worktype → work/work-type}/components/WorkTypePropertiesView/state.js +1 -1
  93. package/es/modules/work/work-type/components/WorkTypePropertiesView/state.js.map +1 -0
  94. package/es/modules/{worktype → work/work-type}/components/WorkTypeQA/index.js +5 -5
  95. package/es/modules/work/work-type/components/WorkTypeQA/index.js.map +1 -0
  96. package/es/modules/{worktype → work/work-type}/components/WorkTypeQA/state.d.ts +1 -1
  97. package/es/modules/work/work-type/components/WorkTypeQA/state.js.map +1 -0
  98. package/es/{pages/WorkType → modules/work/work-type/components}/WorkTypeSelect/index.d.ts +1 -1
  99. package/es/{pages/WorkType → modules/work/work-type/components}/WorkTypeSelect/index.js +2 -2
  100. package/es/modules/work/work-type/components/WorkTypeSelect/index.js.map +1 -0
  101. package/es/modules/work/work-type/components/WorkTypeStats/index.js.map +1 -0
  102. package/es/modules/work/work-type/components/WorkTypeStats/state.js.map +1 -0
  103. package/es/modules/{worktype → work/work-type}/components/WorkTypeTabs/index.js +3 -3
  104. package/es/modules/work/work-type/components/WorkTypeTabs/index.js.map +1 -0
  105. package/es/modules/work/work-type/components/WorkTypeTabs/index.less +27 -0
  106. package/es/modules/{worktype → work/work-type}/controls/WorkTypeMenu/index.js +1 -1
  107. package/es/modules/work/work-type/controls/WorkTypeMenu/index.js.map +1 -0
  108. package/es/modules/{worktype → work/work-type}/controls/WorktypeCompleteWorksChart/index.js +4 -4
  109. package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.js.map +1 -0
  110. package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/state.js.map +1 -0
  111. package/es/modules/{worktype → work/work-type}/pages/WorkTypeDefaultView/index.js +3 -3
  112. package/es/modules/work/work-type/pages/WorkTypeDefaultView/index.js.map +1 -0
  113. package/es/modules/workspace/components/WorkspaceTabs/index.js +1 -1
  114. package/es/modules/workspace/components/WorkspaceTabs/index.js.map +1 -1
  115. package/es/modules/workspace/components/WorkspaceTabs/index.less +6 -1
  116. package/es/modules/workspace/pages/WorkspaceDefaultView/index.js +2 -2
  117. package/es/modules/workspace/pages/WorkspaceDefaultView/index.js.map +1 -1
  118. package/es/routes.js +1 -1
  119. package/es/routes.js.map +1 -1
  120. package/package.json +1 -1
  121. package/es/modules/workspaces/components/Access/index.d.ts +0 -6
  122. package/es/modules/workspaces/components/Access/index.js +0 -20
  123. package/es/modules/workspaces/components/Access/index.js.map +0 -1
  124. package/es/modules/workspaces/components/Account/index.d.ts +0 -6
  125. package/es/modules/workspaces/components/Account/index.js +0 -20
  126. package/es/modules/workspaces/components/Account/index.js.map +0 -1
  127. package/es/modules/workspaces/components/AddUsers/index.d.ts +0 -3
  128. package/es/modules/workspaces/components/AddUsers/index.js +0 -37
  129. package/es/modules/workspaces/components/AddUsers/index.js.map +0 -1
  130. package/es/modules/workspaces/components/AddUsers/index.less +0 -7
  131. package/es/modules/workspaces/components/ListHeard/index.d.ts +0 -5
  132. package/es/modules/workspaces/components/ListHeard/index.js +0 -23
  133. package/es/modules/workspaces/components/ListHeard/index.js.map +0 -1
  134. package/es/modules/workspaces/components/ListHeard/index.less +0 -33
  135. package/es/modules/workspaces/components/Status/index.d.ts +0 -6
  136. package/es/modules/workspaces/components/Status/index.js +0 -20
  137. package/es/modules/workspaces/components/Status/index.js.map +0 -1
  138. package/es/modules/workspaces/components/UsersList/index.d.ts +0 -3
  139. package/es/modules/workspaces/components/UsersList/index.js +0 -132
  140. package/es/modules/workspaces/components/UsersList/index.js.map +0 -1
  141. package/es/modules/workspaces/components/UsersList/index.less +0 -72
  142. package/es/modules/workspaces/pages/BoardView/index.d.ts +0 -3
  143. package/es/modules/workspaces/pages/BoardView/index.js +0 -70
  144. package/es/modules/workspaces/pages/BoardView/index.js.map +0 -1
  145. package/es/modules/workspaces/pages/BoardView/index.less +0 -57
  146. package/es/modules/workspaces/pages/ListView/index.d.ts +0 -3
  147. package/es/modules/workspaces/pages/ListView/index.js +0 -81
  148. package/es/modules/workspaces/pages/ListView/index.js.map +0 -1
  149. package/es/modules/workspaces/pages/ListView/index.less +0 -92
  150. package/es/modules/workspaces/pages/Users/index.d.ts +0 -3
  151. package/es/modules/workspaces/pages/Users/index.js +0 -38
  152. package/es/modules/workspaces/pages/Users/index.js.map +0 -1
  153. package/es/modules/workspaces/pages/Users/index.less +0 -47
  154. package/es/modules/workspaces/pages/WorkSpacesRoutes.d.ts +0 -3
  155. package/es/modules/workspaces/pages/WorkSpacesRoutes.js +0 -12
  156. package/es/modules/workspaces/pages/WorkSpacesRoutes.js.map +0 -1
  157. package/es/modules/worktype/components/NewTypeForm/index.js.map +0 -1
  158. package/es/modules/worktype/components/NewTypeForm/index.less +0 -8
  159. package/es/modules/worktype/components/NewTypeForm/state.js.map +0 -1
  160. package/es/modules/worktype/components/RepeatTab/index.js.map +0 -1
  161. package/es/modules/worktype/components/WorkTypeCard/index.js.map +0 -1
  162. package/es/modules/worktype/components/WorkTypeCardList/index.js.map +0 -1
  163. package/es/modules/worktype/components/WorkTypeItem/index.js.map +0 -1
  164. package/es/modules/worktype/components/WorkTypeList/index.js.map +0 -1
  165. package/es/modules/worktype/components/WorkTypeProperties/index.js.map +0 -1
  166. package/es/modules/worktype/components/WorkTypeProperties/state.js.map +0 -1
  167. package/es/modules/worktype/components/WorkTypePropertiesTabs/index.js.map +0 -1
  168. package/es/modules/worktype/components/WorkTypePropertiesView/index.js.map +0 -1
  169. package/es/modules/worktype/components/WorkTypePropertiesView/state.js.map +0 -1
  170. package/es/modules/worktype/components/WorkTypeQA/index.js.map +0 -1
  171. package/es/modules/worktype/components/WorkTypeQA/state.js.map +0 -1
  172. package/es/modules/worktype/components/WorkTypeStats/index.js.map +0 -1
  173. package/es/modules/worktype/components/WorkTypeStats/state.js.map +0 -1
  174. package/es/modules/worktype/components/WorkTypeTabs/index.js.map +0 -1
  175. package/es/modules/worktype/components/WorkTypeTabs/index.less +0 -15
  176. package/es/modules/worktype/controls/WorkTypeMenu/index.js.map +0 -1
  177. package/es/modules/worktype/controls/WorktypeCompleteWorksChart/index.js.map +0 -1
  178. package/es/modules/worktype/controls/WorktypeCompleteWorksChart/state.js.map +0 -1
  179. package/es/modules/worktype/pages/WorkTypeDefaultView/index.js.map +0 -1
  180. package/es/pages/Project/ProjectDefaultView/index.js.map +0 -1
  181. package/es/pages/Project/data/ProjectStore.js.map +0 -1
  182. package/es/pages/Project/data/hook.js.map +0 -1
  183. package/es/pages/Project/data/index.js.map +0 -1
  184. package/es/pages/Project/data/interfaces.js.map +0 -1
  185. package/es/pages/Routes.js.map +0 -1
  186. package/es/pages/Space/components/Notes/ColorSelect/index.js.map +0 -1
  187. package/es/pages/Space/components/Notes/NewNoteDialog/index.js.map +0 -1
  188. package/es/pages/Space/components/Notes/TextNoteCard/index.js.map +0 -1
  189. package/es/pages/Space/components/Notes/TextNoteCard/state.js.map +0 -1
  190. package/es/pages/Space/components/Notes/index.js.map +0 -1
  191. package/es/pages/Space/components/Notifications/index.js.map +0 -1
  192. package/es/pages/Space/components/Projects/index.js.map +0 -1
  193. package/es/pages/Space/components/TaskMenu/index.js.map +0 -1
  194. package/es/pages/Space/components/TaskMenu/state.js.map +0 -1
  195. package/es/pages/Space/components/Tasks/index.js.map +0 -1
  196. package/es/pages/Space/components/WorkMenu/index.js.map +0 -1
  197. package/es/pages/Space/components/WorkMenu/state.js.map +0 -1
  198. package/es/pages/Space/components/Works/index.js.map +0 -1
  199. package/es/pages/Space/components/Workspaces/index.js.map +0 -1
  200. package/es/pages/Space/pages/MySpace/index.js.map +0 -1
  201. package/es/pages/Space/pages/MySpace/state.js.map +0 -1
  202. package/es/pages/Work/components/NewWorkDialog/index.d.ts +0 -11
  203. package/es/pages/Work/components/NewWorkDialog/index.js +0 -41
  204. package/es/pages/Work/components/NewWorkDialog/index.js.map +0 -1
  205. package/es/pages/Work/components/NewWorkDialog/index.less +0 -11
  206. package/es/pages/Work/components/WorkCheckList/index.d.ts +0 -5
  207. package/es/pages/Work/components/WorkCheckList/index.js +0 -38
  208. package/es/pages/Work/components/WorkCheckList/index.js.map +0 -1
  209. package/es/pages/Work/components/WorkSummaryCards/WorkActionsCard/index.d.ts +0 -6
  210. package/es/pages/Work/components/WorkSummaryCards/WorkActionsCard/index.js +0 -21
  211. package/es/pages/Work/components/WorkSummaryCards/WorkActionsCard/index.js.map +0 -1
  212. package/es/pages/Work/components/WorkSummaryCards/WorkBlockingsCard/index.d.ts +0 -5
  213. package/es/pages/Work/components/WorkSummaryCards/WorkBlockingsCard/index.js +0 -11
  214. package/es/pages/Work/components/WorkSummaryCards/WorkBlockingsCard/index.js.map +0 -1
  215. package/es/pages/Work/components/WorkSummaryCards/WorkDueCard/index.d.ts +0 -7
  216. package/es/pages/Work/components/WorkSummaryCards/WorkDueCard/index.js +0 -16
  217. package/es/pages/Work/components/WorkSummaryCards/WorkDueCard/index.js.map +0 -1
  218. package/es/pages/Work/components/WorkSummaryCards/index.d.ts +0 -5
  219. package/es/pages/Work/components/WorkSummaryCards/index.js +0 -69
  220. package/es/pages/Work/components/WorkSummaryCards/index.js.map +0 -1
  221. package/es/pages/Work/components/WorkSummaryCards/index.less +0 -35
  222. package/es/pages/Work/components/WorkSummaryCards/state.d.ts +0 -11
  223. package/es/pages/Work/components/WorkSummaryCards/state.js +0 -47
  224. package/es/pages/Work/components/WorkSummaryCards/state.js.map +0 -1
  225. package/es/pages/Work/components/WorkTrail/index.d.ts +0 -5
  226. package/es/pages/Work/components/WorkTrail/index.js +0 -14
  227. package/es/pages/Work/components/WorkTrail/index.js.map +0 -1
  228. package/es/pages/Work/components/WorkTrail/index.less +0 -20
  229. package/es/pages/Work/data/WorkStore.d.ts +0 -10
  230. package/es/pages/Work/data/WorkStore.js +0 -21
  231. package/es/pages/Work/data/WorkStore.js.map +0 -1
  232. package/es/pages/Work/data/hook.d.ts +0 -3
  233. package/es/pages/Work/data/hook.js +0 -10
  234. package/es/pages/Work/data/hook.js.map +0 -1
  235. package/es/pages/Work/data/index.d.ts +0 -3
  236. package/es/pages/Work/data/index.js +0 -4
  237. package/es/pages/Work/data/index.js.map +0 -1
  238. package/es/pages/Work/data/interfaces.d.ts +0 -14
  239. package/es/pages/Work/data/interfaces.js +0 -2
  240. package/es/pages/Work/data/interfaces.js.map +0 -1
  241. package/es/pages/Work/pages/WorkDefaultView/index.d.ts +0 -3
  242. package/es/pages/Work/pages/WorkDefaultView/index.js +0 -61
  243. package/es/pages/Work/pages/WorkDefaultView/index.js.map +0 -1
  244. package/es/pages/Work/pages/WorkDefaultView/index.less +0 -12
  245. package/es/pages/Work/pages/WorkDefaultView/state.d.ts +0 -5
  246. package/es/pages/Work/pages/WorkDefaultView/state.js +0 -18
  247. package/es/pages/Work/pages/WorkDefaultView/state.js.map +0 -1
  248. package/es/pages/WorkType/WorkTypeCheckList/index.d.ts +0 -4
  249. package/es/pages/WorkType/WorkTypeCheckList/index.js +0 -47
  250. package/es/pages/WorkType/WorkTypeCheckList/index.js.map +0 -1
  251. package/es/pages/WorkType/WorkTypeDefaultView/index.d.ts +0 -3
  252. package/es/pages/WorkType/WorkTypeDefaultView/index.js +0 -19
  253. package/es/pages/WorkType/WorkTypeDefaultView/index.js.map +0 -1
  254. package/es/pages/WorkType/WorkTypeDetail/index.d.ts +0 -6
  255. package/es/pages/WorkType/WorkTypeDetail/index.js +0 -84
  256. package/es/pages/WorkType/WorkTypeDetail/index.js.map +0 -1
  257. package/es/pages/WorkType/WorkTypeDetail/index.less +0 -35
  258. package/es/pages/WorkType/WorkTypeDetail/state.d.ts +0 -9
  259. package/es/pages/WorkType/WorkTypeDetail/state.js +0 -38
  260. package/es/pages/WorkType/WorkTypeDetail/state.js.map +0 -1
  261. package/es/pages/WorkType/WorkTypePropertiesView/index.d.ts +0 -5
  262. package/es/pages/WorkType/WorkTypePropertiesView/index.js +0 -32
  263. package/es/pages/WorkType/WorkTypePropertiesView/index.js.map +0 -1
  264. package/es/pages/WorkType/WorkTypePropertiesView/index.less +0 -31
  265. package/es/pages/WorkType/WorkTypeSelect/index.js.map +0 -1
  266. package/es/pages/WorkType/data/WorkTypeStore.d.ts +0 -21
  267. package/es/pages/WorkType/data/WorkTypeStore.js +0 -75
  268. package/es/pages/WorkType/data/WorkTypeStore.js.map +0 -1
  269. package/es/pages/WorkType/data/hook.d.ts +0 -9
  270. package/es/pages/WorkType/data/hook.js +0 -19
  271. package/es/pages/WorkType/data/hook.js.map +0 -1
  272. package/es/pages/WorkType/data/index.d.ts +0 -4
  273. package/es/pages/WorkType/data/index.js +0 -5
  274. package/es/pages/WorkType/data/index.js.map +0 -1
  275. package/es/pages/WorkType/data/interfaces.d.ts +0 -52
  276. package/es/pages/WorkType/data/interfaces.js +0 -2
  277. package/es/pages/WorkType/data/interfaces.js.map +0 -1
  278. package/es/pages/WorkType/data/types.d.ts +0 -42
  279. package/es/pages/WorkType/data/types.js +0 -2
  280. package/es/pages/WorkType/data/types.js.map +0 -1
  281. /package/es/{pages → modules}/Routes.d.ts +0 -0
  282. /package/es/{pages/Project → modules/project}/ProjectDefaultView/index.d.ts +0 -0
  283. /package/es/{pages/Project → modules/project}/ProjectDefaultView/index.js +0 -0
  284. /package/es/{pages/Project → modules/project}/ProjectDefaultView/index.less +0 -0
  285. /package/es/{pages/Project → modules/project}/data/ProjectStore.d.ts +0 -0
  286. /package/es/{pages/Project → modules/project}/data/ProjectStore.js +0 -0
  287. /package/es/{pages/Project → modules/project}/data/hook.d.ts +0 -0
  288. /package/es/{pages/Project → modules/project}/data/hook.js +0 -0
  289. /package/es/{pages/Project → modules/project}/data/index.d.ts +0 -0
  290. /package/es/{pages/Project → modules/project}/data/index.js +0 -0
  291. /package/es/{pages/Project → modules/project}/data/interfaces.d.ts +0 -0
  292. /package/es/{pages/Project → modules/project}/data/interfaces.js +0 -0
  293. /package/es/{pages/Space → modules/space}/components/Notes/ColorSelect/index.d.ts +0 -0
  294. /package/es/{pages/Space → modules/space}/components/Notes/ColorSelect/index.js +0 -0
  295. /package/es/{pages/Space → modules/space}/components/Notes/ColorSelect/index.less +0 -0
  296. /package/es/{pages/Space → modules/space}/components/Notes/NewNoteDialog/index.d.ts +0 -0
  297. /package/es/{pages/Space → modules/space}/components/Notes/NewNoteDialog/index.js +0 -0
  298. /package/es/{pages/Space → modules/space}/components/Notes/NewNoteDialog/index.less +0 -0
  299. /package/es/{pages/Space → modules/space}/components/Notes/TextNoteCard/index.d.ts +0 -0
  300. /package/es/{pages/Space → modules/space}/components/Notes/TextNoteCard/index.js +0 -0
  301. /package/es/{pages/Space → modules/space}/components/Notes/TextNoteCard/index.less +0 -0
  302. /package/es/{pages/Space → modules/space}/components/Notes/TextNoteCard/state.d.ts +0 -0
  303. /package/es/{pages/Space → modules/space}/components/Notes/TextNoteCard/state.js +0 -0
  304. /package/es/{pages/Space → modules/space}/components/Notes/index.d.ts +0 -0
  305. /package/es/{pages/Space → modules/space}/components/Notes/index.js +0 -0
  306. /package/es/{pages/Space → modules/space}/components/Notifications/index.d.ts +0 -0
  307. /package/es/{pages/Space → modules/space}/components/Notifications/index.js +0 -0
  308. /package/es/{pages/Space → modules/space}/components/Projects/index.d.ts +0 -0
  309. /package/es/{pages/Space → modules/space}/components/Projects/index.js +0 -0
  310. /package/es/{pages/Space → modules/space}/components/TaskMenu/index.d.ts +0 -0
  311. /package/es/{pages/Space → modules/space}/components/TaskMenu/index.js +0 -0
  312. /package/es/{pages/Space → modules/space}/components/TaskMenu/state.d.ts +0 -0
  313. /package/es/{pages/Space → modules/space}/components/TaskMenu/state.js +0 -0
  314. /package/es/{pages/Space → modules/space}/components/Tasks/index.d.ts +0 -0
  315. /package/es/{pages/Space → modules/space}/components/Tasks/index.js +0 -0
  316. /package/es/{pages/Space → modules/space}/components/Tasks/index.less +0 -0
  317. /package/es/{pages/Space → modules/space}/components/WorkMenu/index.d.ts +0 -0
  318. /package/es/{pages/Space → modules/space}/components/WorkMenu/index.js +0 -0
  319. /package/es/{pages/Space → modules/space}/components/WorkMenu/state.d.ts +0 -0
  320. /package/es/{pages/Space → modules/space}/components/WorkMenu/state.js +0 -0
  321. /package/es/{pages/Space → modules/space}/components/Works/index.d.ts +0 -0
  322. /package/es/{pages/Space → modules/space}/components/Works/index.js +0 -0
  323. /package/es/{pages/Space → modules/space}/components/Works/index.less +0 -0
  324. /package/es/{pages/Space → modules/space}/components/Workspaces/index.d.ts +0 -0
  325. /package/es/{pages/Space → modules/space}/components/Workspaces/index.js +0 -0
  326. /package/es/{pages/Space → modules/space}/pages/MySpace/index.d.ts +0 -0
  327. /package/es/{pages/Space → modules/space}/pages/MySpace/index.js +0 -0
  328. /package/es/{pages/Space → modules/space}/pages/MySpace/index.less +0 -0
  329. /package/es/{pages/Space → modules/space}/pages/MySpace/state.d.ts +0 -0
  330. /package/es/{pages/Space → modules/space}/pages/MySpace/state.js +0 -0
  331. /package/es/modules/{worktype → work/work-type}/components/NewTypeForm/index.d.ts +0 -0
  332. /package/es/modules/{worktype → work/work-type}/components/NewTypeForm/state.d.ts +0 -0
  333. /package/es/modules/{worktype → work/work-type}/components/NewTypeForm/state.js +0 -0
  334. /package/es/modules/{worktype → work/work-type}/components/RepeatTab/index.d.ts +0 -0
  335. /package/es/modules/{worktype → work/work-type}/components/RepeatTab/index.js +0 -0
  336. /package/es/modules/{worktype → work/work-type}/components/RepeatTab/index.less +0 -0
  337. /package/es/modules/{worktype → work/work-type}/components/WorkTypeCard/index.d.ts +0 -0
  338. /package/es/modules/{worktype → work/work-type}/components/WorkTypeCard/index.less +0 -0
  339. /package/es/modules/{worktype → work/work-type}/components/WorkTypeCardList/index.less +0 -0
  340. /package/es/modules/{worktype → work/work-type}/components/WorkTypeItem/index.d.ts +0 -0
  341. /package/es/modules/{worktype → work/work-type}/components/WorkTypeItem/index.less +0 -0
  342. /package/es/modules/{worktype → work/work-type}/components/WorkTypeList/index.less +0 -0
  343. /package/es/modules/{worktype → work/work-type}/components/WorkTypeProperties/index.d.ts +0 -0
  344. /package/es/modules/{worktype → work/work-type}/components/WorkTypeProperties/state.js +0 -0
  345. /package/es/modules/{worktype → work/work-type}/components/WorkTypePropertiesTabs/index.d.ts +0 -0
  346. /package/es/modules/{worktype → work/work-type}/components/WorkTypePropertiesTabs/index.less +0 -0
  347. /package/es/modules/{worktype → work/work-type}/components/WorkTypePropertiesView/index.d.ts +0 -0
  348. /package/es/modules/{worktype → work/work-type}/components/WorkTypePropertiesView/index.less +0 -0
  349. /package/es/modules/{worktype → work/work-type}/components/WorkTypeQA/index.d.ts +0 -0
  350. /package/es/modules/{worktype → work/work-type}/components/WorkTypeQA/index.less +0 -0
  351. /package/es/modules/{worktype → work/work-type}/components/WorkTypeQA/state.js +0 -0
  352. /package/es/modules/{worktype → work/work-type}/components/WorkTypeStats/index.d.ts +0 -0
  353. /package/es/modules/{worktype → work/work-type}/components/WorkTypeStats/index.js +0 -0
  354. /package/es/modules/{worktype → work/work-type}/components/WorkTypeStats/index.less +0 -0
  355. /package/es/modules/{worktype → work/work-type}/components/WorkTypeStats/state.d.ts +0 -0
  356. /package/es/modules/{worktype → work/work-type}/components/WorkTypeStats/state.js +0 -0
  357. /package/es/modules/{worktype → work/work-type}/components/WorkTypeTabs/index.d.ts +0 -0
  358. /package/es/modules/{worktype → work/work-type}/controls/WorkTypeMenu/index.d.ts +0 -0
  359. /package/es/modules/{worktype → work/work-type}/controls/WorkTypeMenu/index.less +0 -0
  360. /package/es/modules/{worktype → work/work-type}/controls/WorktypeCompleteWorksChart/index.d.ts +0 -0
  361. /package/es/modules/{worktype → work/work-type}/controls/WorktypeCompleteWorksChart/index.less +0 -0
  362. /package/es/modules/{worktype → work/work-type}/controls/WorktypeCompleteWorksChart/state.d.ts +0 -0
  363. /package/es/modules/{worktype → work/work-type}/controls/WorktypeCompleteWorksChart/state.js +0 -0
  364. /package/es/modules/{worktype → work/work-type}/pages/WorkTypeDefaultView/index.d.ts +0 -0
  365. /package/es/modules/{worktype → work/work-type}/pages/WorkTypeDefaultView/index.less +0 -0
@@ -1,84 +0,0 @@
1
- import "./index.less";
2
- import { Checkbox, InputNumber, Skeleton } from "@voplus/antd";
3
- import React, { useState } from "react";
4
- import { useApplicationContext, useLayout } from "@voplus/morpho-data";
5
- import { useWorkType, useWorkTypeStore } from "../data";
6
- import ActionPlan from "@voplus/morpho-collaboration-action/es/components/Action/ActionPlan";
7
- import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
8
- import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEditor";
9
- import { State } from "./state";
10
- import { observe } from "@voplus/morpho-ui";
11
- import { runInAction } from "mobx";
12
- const WorkTypeDetail = (props) => {
13
- const id = props.id;
14
- const layout = useLayout();
15
- const { user } = useApplicationContext();
16
- const workTypeStore = useWorkTypeStore();
17
- const [state] = useState(new State());
18
- const workType = useWorkType(id);
19
- runInAction(() => {
20
- var _a, _b, _c, _d;
21
- state.audit = ((_a = workType.audit) === null || _a === void 0 ? void 0 : _a.audit) || false;
22
- state.auditRate = ((_b = workType.audit) === null || _b === void 0 ? void 0 : _b.auditRate) || 0;
23
- state.auditorIds = [];
24
- (_d = (_c = workType.audit) === null || _c === void 0 ? void 0 : _c.auditors) === null || _d === void 0 ? void 0 : _d.map((i) => state.auditorIds.push(i.id));
25
- });
26
- return observe(() => {
27
- var _a;
28
- return (React.createElement("div", { className: "work-type-detail" }, workType.loading ? (React.createElement("div", { className: "document-description" },
29
- React.createElement(Skeleton, { active: true }))) : (React.createElement(React.Fragment, null,
30
- React.createElement(DescriptionEditor, { id: id, description: workType.description, padding: "0 0 10px 0", onSave: editDescription }),
31
- React.createElement("div", { className: "work-perSon" },
32
- React.createElement("div", { className: "work-perSon-title" }, "PerSon in charge")),
33
- React.createElement("div", { className: "work-request-form" },
34
- React.createElement("div", { className: "work-title" })),
35
- React.createElement("div", { className: "work-audit" },
36
- React.createElement("div", { className: "work-title" },
37
- React.createElement(Checkbox, { checked: state.audit, onChange: (e) => {
38
- runInAction(() => (state.audit = e.target.checked));
39
- editAudit();
40
- } }, "Audit")),
41
- state.audit && (React.createElement("div", { className: "work-audit-content" },
42
- React.createElement("div", { className: "work-audit-info" },
43
- React.createElement("span", { className: "label" }, "Audit Rate"),
44
- React.createElement(InputNumber, { value: state.auditRate, min: 0, max: 100, formatter: (value) => `${value}%`, parser: (value) => parseInt(value.replace("%", "")), onChange: (value) => {
45
- runInAction(() => (state.auditRate = value));
46
- editAudit();
47
- } })),
48
- React.createElement("div", { className: "work-audit-info" },
49
- React.createElement("span", { className: "label" }, "Auditor"),
50
- React.createElement(AvatarList, { organizationId: user.info.organizationId, list: ((_a = workType.audit) === null || _a === void 0 ? void 0 : _a.auditors) || [], onChange: async (ids) => {
51
- runInAction(() => (state.auditorIds = ids));
52
- await editAudit();
53
- } }))))),
54
- React.createElement(ActionPlan, { id: id })))));
55
- });
56
- /** edit description */
57
- function editDescription(description) {
58
- workTypeStore.edit(id, {
59
- data: {
60
- Description: description || "",
61
- },
62
- error: "message",
63
- });
64
- }
65
- /** edit Audit */
66
- async function editAudit() {
67
- await workTypeStore.edit(id, {
68
- data: {
69
- // Audit: { Audit: state.audit, AuditRate: state.auditRate, AuditorIds: state.auditorIds },
70
- },
71
- error: "message",
72
- });
73
- }
74
- /** edit MemberIds */
75
- async function editMemberIds(ids) {
76
- // await workTypeStore.edit(id, { data: { MemberIds: ids }, error: "message" });
77
- }
78
- /** edit Request Form */
79
- function editRequestForm(e) {
80
- // workTypeStore.edit(id, { data: { CreateForm: e.target.checked }, error: "message" });
81
- }
82
- };
83
- export default WorkTypeDetail;
84
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/WorkTypeDetail/index.tsx"],"names":[],"mappings":"AAAA,OA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IAAI,EAAE;YACL,2FAA2F;aAC3F;YACD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;IACJ,CAAC;IACD,qBAAqB;IACrB,KAAK,UAAU,aAAa,CAAC,GAAa;QACzC,gFAAgF;IACjF,CAAC;IACD,wBAAwB;IACxB,SAAS,eAAe,CAAC,CAAM;QAC9B,wFAAwF;IACzF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,35 +0,0 @@
1
- :global {
2
- .work-type-detail {
3
- height: 100%;
4
- .work-title {
5
- padding: 10px 0;
6
- border-bottom: 1px solid #f2f2f2;
7
- }
8
- .work-perSon {
9
- padding: 0 20px;
10
- .work-perSon-title {
11
- padding: 10px 0;
12
- }
13
- }
14
- .work-request-form {
15
- padding: 0 20px;
16
- .work-btn {
17
- margin-top: 10px;
18
- }
19
- }
20
- .work-audit {
21
- padding: 0 20px;
22
- .work-audit-content {
23
- margin-top: 10px;
24
- .work-audit-info {
25
- display: flex;
26
- padding-bottom: 20px;
27
- .label {
28
- display: inline-block;
29
- width: 200px;
30
- }
31
- }
32
- }
33
- }
34
- }
35
- }
@@ -1,9 +0,0 @@
1
- export declare class State {
2
- /** Audit Audit of the work type */
3
- audit: boolean;
4
- /** Audit AuditRate of the work type */
5
- auditRate: number;
6
- /** Audit AuditorIds of the work type */
7
- auditorIds: string[];
8
- constructor();
9
- }
@@ -1,38 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { makeObservable, observable } from "mobx";
3
- export class State {
4
- constructor() {
5
- /** Audit Audit of the work type */
6
- Object.defineProperty(this, "audit", {
7
- enumerable: true,
8
- configurable: true,
9
- writable: true,
10
- value: false
11
- });
12
- /** Audit AuditRate of the work type */
13
- Object.defineProperty(this, "auditRate", {
14
- enumerable: true,
15
- configurable: true,
16
- writable: true,
17
- value: 0
18
- });
19
- /** Audit AuditorIds of the work type */
20
- Object.defineProperty(this, "auditorIds", {
21
- enumerable: true,
22
- configurable: true,
23
- writable: true,
24
- value: void 0
25
- });
26
- makeObservable(this);
27
- }
28
- }
29
- __decorate([
30
- observable
31
- ], State.prototype, "audit", void 0);
32
- __decorate([
33
- observable
34
- ], State.prototype, "auditRate", void 0);
35
- __decorate([
36
- observable
37
- ], State.prototype, "auditorIds", void 0);
38
- //# sourceMappingURL=state.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/WorkTypeDetail/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,OAAO,KAAK;IAUjB;QATA,mCAAmC;QACvB;;;;mBAAe,KAAK;WAAC;QAEjC,uCAAuC;QAC3B;;;;mBAAmB,CAAC;WAAC;QAEjC,wCAAwC;QAC5B;;;;;WAA4B;QAGvC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CACD;AAXY;IAAX,UAAU;oCAAsB;AAGrB;IAAX,UAAU;wCAAsB;AAGrB;IAAX,UAAU;yCAA6B"}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- declare const WorkTypePropertiesView: (props: {
3
- id: string;
4
- }) => JSX.Element;
5
- export default WorkTypePropertiesView;
@@ -1,32 +0,0 @@
1
- import React, { useRef } from "react";
2
- import { useWorkType, useWorkTypeStore } from "../data";
3
- import { InlineEdit } from "@voplus/morpho-ui";
4
- import { Scrollbars } from "react-custom-scrollbars";
5
- import WorkTypeDetail from "../WorkTypeDetail";
6
- import classnames from "classnames";
7
- import { observe } from "@voplus/morpho-ui";
8
- import styles from "./index.less";
9
- import { useIsStickyActive } from "@voplus/morpho-ui";
10
- const WorkTypePropertiesView = (props) => {
11
- const id = props.id;
12
- const workType = useWorkType(id, { reload: true });
13
- const workTypeStore = useWorkTypeStore();
14
- /** Document Head Sticky Top
15
- Sticky 时显示shadow */
16
- const element = useRef(null);
17
- useIsStickyActive({ stickyOn: true, element });
18
- return observe(() => (React.createElement("div", { className: styles["work-type-default-view"] },
19
- React.createElement(Scrollbars, { autoHide: true, className: "scroll-bars" },
20
- React.createElement("div", { className: classnames("work-type-header", { sticky: true }), ref: element },
21
- React.createElement(InlineEdit, { defaultValue: workType.name, content: (v) => React.createElement(React.Fragment, null, v.store.value || workType.name), onSave: (v) => v &&
22
- v !== workType.name &&
23
- workTypeStore.edit(id, {
24
- data: {
25
- Name: v,
26
- },
27
- error: "message",
28
- }) })),
29
- React.createElement(WorkTypeDetail, { id: id })))));
30
- };
31
- export default WorkTypePropertiesView;
32
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/WorkTypePropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAExD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,sBAAsB,GAAG,CAAC,KAAqB,EAAE,EAAE;IACxD,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IACpB,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IACnD,MAAM,aAAa,GAAG,gBAAgB,EAAE,CAAC;IAEzC;uBACmB;IACnB,MAAM,OAAO,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC7C,iBAAiB,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IAE/C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,wBAAwB,CAAC;QAC/C,oBAAC,UAAU,IAAC,QAAQ,QAAC,SAAS,EAAC,aAAa;YAC3C,6BAAK,SAAS,EAAE,UAAU,CAAC,kBAAkB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,OAAO;gBAC7E,oBAAC,UAAU,IACV,YAAY,EAAE,QAAQ,CAAC,IAAI,EAC3B,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,oBAAC,KAAK,CAAC,QAAQ,QAAE,CAAC,CAAC,KAAK,CAAC,KAAK,IAAI,QAAQ,CAAC,IAAI,CAAkB,EACjF,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CACb,CAAC;wBACD,CAAC,KAAK,QAAQ,CAAC,IAAI;wBACnB,aAAa,CAAC,IAAI,CAAC,EAAE,EAAE;4BACtB,IAAI,EAAE;gCACL,IAAI,EAAE,CAAC;6BACP;4BACD,KAAK,EAAE,SAAS;yBAChB,CAAC,GAEF,CACG;YAcN,oBAAC,cAAc,IAAC,EAAE,EAAE,EAAE,GAAI,CACd,CACR,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -1,31 +0,0 @@
1
-
2
-
3
- .work-type-default-view {
4
- position: relative;
5
- height: 100%;
6
- background: #ffffff;
7
- :global {
8
- .scroll-bars {
9
- > div:last-child {
10
- z-index: 12;
11
- }
12
- }
13
- .work-type-header {
14
- font-size: 30px;
15
- color: #000;
16
- font-weight: 500;
17
- word-break: break-all;
18
- padding: 10px 20px;
19
- background: #ffffff;
20
- &.sticky {
21
- position: sticky;
22
- top: -1px;
23
- left: 0;
24
- z-index: 10;
25
- &.sticky-active {
26
- box-shadow: 0 8px 6px -6px lightgray;
27
- }
28
-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I,CAAC,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,IACzC,IAAI,CAAC,IAAI,CACK,CAChB,CAAC,CACM,CACT,CAAC,CAAC;IAEH,SAAS,YAAY,CAAC,EAAU;QAC/B,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QACpD,IAAI,QAAQ;YAAE,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,EAAE,EAAE,QAAQ,CAAC,CAAC;IACxC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,21 +0,0 @@
1
- import { ApiEndPoint } from "@voplus/api";
2
- import { CountedMap, Store } from "@voplus/morpho-data";
3
- import { IWorkType, LoadWorkTypeOptions, WorkTypeCreateOptions, WorkTypeEditOptions } from ".";
4
- import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
5
- /** Corporate store supply backend functions. */
6
- export declare class WorkTypeStore extends Store {
7
- readonly endpoint: ApiEndPoint;
8
- /** Name of the store */
9
- readonly name: string;
10
- constructor(endpoint: ApiEndPoint);
11
- /** All currently used workType. */
12
- readonly items: CountedMap<string, IWorkType>;
13
- /** Create a new WorkType. */
14
- create(options: WorkTypeCreateOptions): Promise<IWorkType>;
15
- /** Edit an existing item on server. */
16
- edit(id: string, options: WorkTypeEditOptions): Promise<void>;
17
- loadList(options?: LoadDocumentListOptions): Promise<IWorkType[]>;
18
- load(id: string, options: LoadWorkTypeOptions): Promise<IWorkType>;
19
- }
20
- /** 响应钩子检索 WorkTypeStore */
21
- export declare const useWorkTypeStore: () => WorkTypeStore;
@@ -1,75 +0,0 @@
1
- import { RequestBuilder } from "@voplus/api";
2
- import { CountedMap, Store, useApplicationContext } from "@voplus/morpho-data";
3
- import { observable } from "mobx";
4
- const StoreName = "WorkTypeStore";
5
- /** Corporate store supply backend functions. */
6
- export class WorkTypeStore extends Store {
7
- constructor(endpoint) {
8
- super();
9
- Object.defineProperty(this, "endpoint", {
10
- enumerable: true,
11
- configurable: true,
12
- writable: true,
13
- value: endpoint
14
- });
15
- /** Name of the store */
16
- Object.defineProperty(this, "name", {
17
- enumerable: true,
18
- configurable: true,
19
- writable: true,
20
- value: StoreName
21
- });
22
- /** All currently used workType. */
23
- Object.defineProperty(this, "items", {
24
- enumerable: true,
25
- configurable: true,
26
- writable: true,
27
- value: new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }))
28
- });
29
- }
30
- /** Create a new WorkType. */
31
- async create(options) {
32
- // invariant(options.name, "Name cannot be empty.");
33
- return await this.action(async () => {
34
- const r = await this.endpoint.post(`/api/worktypes/create`, new RequestBuilder().json(options.data));
35
- const t = (await r.json());
36
- return t;
37
- }, options);
38
- }
39
- /** Edit an existing item on server. */
40
- async edit(id, options) {
41
- await this.action(async () => {
42
- const r = await this.endpoint.post(`/api/worktypes/${id}`, new RequestBuilder().json(options.data));
43
- const t = await r.json();
44
- this.items.overwrite(t.id, t);
45
- }, options);
46
- }
47
- async loadList(options) {
48
- let query = "";
49
- if (options === null || options === void 0 ? void 0 : options.Includes) {
50
- query = query.concat(`includes=${options.Includes}`);
51
- }
52
- if (query)
53
- query = "?".concat(query);
54
- const r = await this.endpoint.post(`/api/worktypes${query}`, new RequestBuilder().json(options ? options : { Filters: [] }));
55
- return (await r.json());
56
- }
57
- async load(id, options) {
58
- let query = "";
59
- if (options.includes)
60
- query = query.concat(`includes=${options.includes}`);
61
- if (query)
62
- query = "?".concat(query);
63
- const r = await this.endpoint.get(`/api/worktypes/${id}${query}`);
64
- return (await r.json());
65
- }
66
- }
67
- /** 响应钩子检索 WorkTypeStore */
68
- export const useWorkTypeStore = () => {
69
- const context = useApplicationContext();
70
- if (!context.getStore(StoreName)) {
71
- context.addStore(new WorkTypeStore(context.api.currentEndPoint));
72
- }
73
- return context.getStore(StoreName);
74
- };
75
- //# sourceMappingURL=WorkTypeStore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AAK,GAAG,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACrC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,kBAAkB,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC;QAClE,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAAc,CAAC;IACtC,CAAC;CACD;AAED,2BAA2B;AAC3B,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE;IACpC,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE;QACjC,OAAO,CAAC,QAAQ,CAAC,IAAI,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC;KACjE;IACD,OAAO,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAmB,CAAC;AACtD,CAAC,CAAC"}
@@ -1,9 +0,0 @@
1
- import { IWorkType, LoadWorkTypeOptions } from ".";
2
- import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
3
- import { ListDataContextState } from "@voplus/morpho-ui/es/data";
4
- /** React hook to retrieve a WorkType
5
- * @param {string} id - id of the WorkType
6
- * @param {LoadWorkTypeOptions} options - options
7
- */
8
- export declare const useWorkType: (id: string, options?: LoadWorkTypeOptions | undefined) => IWorkType;
9
- export declare const useWorkTypeListEffect: (list: ListDataContextState<IWorkType> | null, effect: (list: any[]) => void, options?: LoadDocumentListOptions | undefined) => void;
@@ -1,19 +0,0 @@
1
- import { useWorkTypeStore } from ".";
2
- import { useDocumentListLoaderEffect, } from "@voplus/morpho-document-core";
3
- import { useLoadCountedMapItem } from "@voplus/morpho-data";
4
- /** React hook to retrieve a WorkType
5
- * @param {string} id - id of the WorkType
6
- * @param {LoadWorkTypeOptions} options - options
7
- */
8
- export const useWorkType = (id, options) => {
9
- options = options ? options : {};
10
- const store = useWorkTypeStore();
11
- return useLoadCountedMapItem(id, store.items, () => store.load(id, options), options);
12
- };
13
- export const useWorkTypeListEffect = (list, effect, options) => {
14
- const deps = options ? options : {};
15
- const workType = useWorkTypeStore();
16
- // Call useDocumentListEffect and ensure won't load twice for same loading options.
17
- return useDocumentListLoaderEffect(list, effect, () => workType.loadList(options), [deps]);
18
- };
19
- //# sourceMappingURL=hook.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hook.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/data/hook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,gBAAgB,EAAE,MAAM,GAAG,CAAC;AACrE,OAAO,EAGN,2BAA2B,GAE3B,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAAU,EAAE,OAA6B,EAAE,EAAE;IACxE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA0B,CAAC;IAC1D,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IAEjC,OAAO,qBAAqB,CAAC,EAAE,EAAE,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAAE,OAAO,CAAC,CAAC;AACxF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACpC,IAA4C,EAC5C,MAA6B,EAC7B,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IAEpC,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC5F,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- export * from "./WorkTypeStore";
2
- export * from "./hook";
3
- export * from "./interfaces";
4
- export * from "./types";
@@ -1,5 +0,0 @@
1
- export * from "./WorkTypeStore";
2
- export * from "./hook";
3
- export * from "./interfaces";
4
- export * from "./types";
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/data/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
@@ -1,52 +0,0 @@
1
- import { ILoadable } from "@voplus/morpho-data";
2
- export interface ICheckListItem {
3
- key?: string;
4
- /** checked of the CheckListItem. */
5
- checked: boolean;
6
- /** item name of the CheckListItem. */
7
- item: string;
8
- }
9
- export interface IAuditAuditorInfo {
10
- /** a value indicating whether audit is enabled */
11
- audit?: boolean;
12
- /** the rate in percentage audit shall be performed */
13
- auditRate?: number;
14
- /** list of default work member */
15
- auditors?: {
16
- name: string;
17
- id: string;
18
- }[];
19
- }
20
- export interface IWorkType extends ILoadable {
21
- /** id of the workType */
22
- id: string;
23
- numberformat?: string;
24
- /** name of the workType */
25
- name?: string;
26
- /** description of the workType */
27
- description?: string;
28
- defaultdue?: Date;
29
- status?: string;
30
- defaultfolder?: {
31
- id: string;
32
- name: string;
33
- };
34
- document?: {
35
- id: string;
36
- name: string;
37
- };
38
- requester?: {
39
- name: string;
40
- id: string;
41
- }[];
42
- reviewers?: {
43
- name: string;
44
- id: string;
45
- }[];
46
- accepters?: {
47
- name: string;
48
- id: string;
49
- }[];
50
- /** audit info of the workType */
51
- audit?: IAuditAuditorInfo;
52
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=interfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/data/interfaces.ts"],"names":[],"mappings":""}
@@ -1,42 +0,0 @@
1
- import { IWorkType } from "./interfaces";
2
- import { LoadOptions } from "@voplus/morpho-data";
3
- import { StoreActionOptions } from "@voplus/morpho-data";
4
- /** Custom load contact options type */
5
- export declare type LoadWorkTypeOptions = {
6
- /** Comma separated include options e.g. path */
7
- includes?: string;
8
- } & LoadOptions<IWorkType>;
9
- export declare type WorkTypeCreateDataOptions = {
10
- /** workspaceId of the new workType */
11
- workspaceId: string;
12
- /** name of the new workType */
13
- Name: string;
14
- };
15
- export declare type WorkTypeCreateOptions = {
16
- data: WorkTypeCreateDataOptions;
17
- } & StoreActionOptions;
18
- export interface WorkTypeEditDataOptions {
19
- /** name of the edit workType. */
20
- Name?: string;
21
- /** gets the description of the work */
22
- Description?: string;
23
- /** gets the format of the work number */
24
- NumberFormat?: string;
25
- /** gets the default folder id of the work type */
26
- DefaultFolderId?: string;
27
- /** gets the document id of the work type */
28
- DocumentId?: string;
29
- /** gets the default due date in this number of days from work create date */
30
- DefaultDue?: Date;
31
- /** gets list of unit ids who can rquest this job */
32
- RequesterIds?: string[];
33
- /** gets a list of accepter ids */
34
- AccepterIds?: string[];
35
- /** gets a list of reviewer ids */
36
- ReviewerIds?: string[];
37
- /** gets list of auditor ids */
38
- AuditorIds?: string[];
39
- }
40
- export declare type WorkTypeEditOptions = {
41
- data: WorkTypeEditDataOptions;
42
- } & StoreActionOptions;
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/data/types.ts"],"names":[],"mappings":""}
File without changes