@voplus/morpho-workspace 4.0.0 → 4.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (833) hide show
  1. package/es/Modules.d.ts +6 -6
  2. package/es/Modules.js +34 -34
  3. package/es/WorkSpaceUIService.d.ts +7 -7
  4. package/es/WorkSpaceUIService.js +8 -8
  5. package/es/components/AssignPeople/index.d.ts +3 -3
  6. package/es/components/AssignPeople/index.js +23 -23
  7. package/es/components/TeamTaskList/index.d.ts +8 -8
  8. package/es/components/TeamTaskList/index.js +185 -185
  9. package/es/components/TimeLog/index.d.ts +5 -5
  10. package/es/components/TimeLog/index.js +73 -73
  11. package/es/components/TimeLog/index.less +86 -86
  12. package/es/controls/AssignButton/index.d.ts +9 -9
  13. package/es/controls/AssignButton/index.js +18 -18
  14. package/es/controls/Corner/index.d.ts +9 -9
  15. package/es/controls/Corner/index.js +9 -9
  16. package/es/controls/Corner/index.less +7 -7
  17. package/es/controls/FolderEdit/index.d.ts +8 -8
  18. package/es/controls/FolderEdit/index.js +13 -13
  19. package/es/controls/FolderEdit/index.less +39 -39
  20. package/es/controls/InlineSearch/index.d.ts +6 -6
  21. package/es/controls/InlineSearch/index.js +41 -41
  22. package/es/controls/InlineSearch/index.less +10 -10
  23. package/es/controls/MoreOperateDropdown/index.d.ts +29 -29
  24. package/es/controls/MoreOperateDropdown/index.js +89 -89
  25. package/es/controls/MoreOperateDropdown/index.less +12 -12
  26. package/es/controls/StickyAddButton/index.d.ts +10 -10
  27. package/es/controls/StickyAddButton/index.js +13 -13
  28. package/es/controls/StickyAddButton/index.less +22 -22
  29. package/es/controls/filters/AssigneeViewFilter/index.d.ts +4 -4
  30. package/es/controls/filters/AssigneeViewFilter/index.js +47 -47
  31. package/es/controls/filters/AssigneeViewFilter/index.less +24 -24
  32. package/es/controls/filters/AssigneeViewFilter/state.d.ts +13 -13
  33. package/es/controls/filters/AssigneeViewFilter/state.js +43 -43
  34. package/es/controls/filters/DueDateFilter/index.d.ts +3 -3
  35. package/es/controls/filters/DueDateFilter/index.js +21 -21
  36. package/es/controls/filters/DueDateFilter/state.d.ts +11 -11
  37. package/es/controls/filters/DueDateFilter/state.js +38 -38
  38. package/es/controls/filters/EventsFilter/index.d.ts +5 -5
  39. package/es/controls/filters/EventsFilter/index.js +30 -30
  40. package/es/controls/filters/EventsFilter/state.d.ts +19 -19
  41. package/es/controls/filters/EventsFilter/state.js +55 -55
  42. package/es/controls/filters/MemberTaskDueDateFilter/index.d.ts +6 -6
  43. package/es/controls/filters/MemberTaskDueDateFilter/index.js +27 -27
  44. package/es/controls/filters/MemberTaskDueDateFilter/state.d.ts +37 -37
  45. package/es/controls/filters/MemberTaskDueDateFilter/state.js +78 -78
  46. package/es/controls/filters/StartDateFilter/index.d.ts +10 -10
  47. package/es/controls/filters/StartDateFilter/index.js +24 -24
  48. package/es/controls/filters/StartDateFilter/state.d.ts +11 -11
  49. package/es/controls/filters/StartDateFilter/state.js +38 -38
  50. package/es/controls/filters/TaskFilter/index.d.ts +5 -5
  51. package/es/controls/filters/TaskFilter/index.js +20 -20
  52. package/es/controls/filters/TaskFilter/state.d.ts +17 -17
  53. package/es/controls/filters/TaskFilter/state.js +55 -55
  54. package/es/controls/filters/TaskStatusFilter/index.d.ts +6 -6
  55. package/es/controls/filters/TaskStatusFilter/index.js +27 -27
  56. package/es/controls/filters/TaskStatusFilter/state.d.ts +19 -19
  57. package/es/controls/filters/TaskStatusFilter/state.js +58 -58
  58. package/es/controls/filters/WorkStatusFilter/index.d.ts +5 -5
  59. package/es/controls/filters/WorkStatusFilter/index.js +28 -28
  60. package/es/controls/filters/WorkStatusFilter/state.d.ts +19 -19
  61. package/es/controls/filters/WorkStatusFilter/state.js +58 -58
  62. package/es/controls/filters/WorkTypeStatusFilter/index.d.ts +3 -3
  63. package/es/controls/filters/WorkTypeStatusFilter/index.js +22 -22
  64. package/es/controls/filters/WorkTypeStatusFilter/state.d.ts +18 -18
  65. package/es/controls/filters/WorkTypeStatusFilter/state.js +44 -44
  66. package/es/controls/filters/WorkTypesFilter/index.d.ts +7 -7
  67. package/es/controls/filters/WorkTypesFilter/index.js +29 -29
  68. package/es/controls/filters/WorkTypesFilter/state.d.ts +16 -16
  69. package/es/controls/filters/WorkTypesFilter/state.js +70 -70
  70. package/es/controls/filters/index.d.ts +8 -8
  71. package/es/controls/filters/index.js +8 -8
  72. package/es/data/board/BoardColumnStore.d.ts +11 -11
  73. package/es/data/board/BoardColumnStore.js +21 -21
  74. package/es/data/board/BoardStore.d.ts +11 -11
  75. package/es/data/board/BoardStore.js +21 -21
  76. package/es/data/board/contexts/BoardListContextState/index.d.ts +17 -17
  77. package/es/data/board/contexts/BoardListContextState/index.js +38 -38
  78. package/es/data/board/hooks.d.ts +22 -22
  79. package/es/data/board/hooks.js +44 -44
  80. package/es/data/board/index.d.ts +6 -6
  81. package/es/data/board/index.js +6 -6
  82. package/es/data/board/interfaces.d.ts +31 -31
  83. package/es/data/board/interfaces.js +1 -1
  84. package/es/data/board/metas.d.ts +13 -13
  85. package/es/data/board/metas.js +26 -26
  86. package/es/data/board/mock.d.ts +3 -3
  87. package/es/data/board/mock.js +57 -57
  88. package/es/data/board/types.d.ts +27 -27
  89. package/es/data/board/types.js +1 -1
  90. package/es/data/calendar/CalendarStore.d.ts +48 -48
  91. package/es/data/calendar/CalendarStore.js +88 -88
  92. package/es/data/calendar/hooks.d.ts +13 -13
  93. package/es/data/calendar/hooks.js +24 -24
  94. package/es/data/calendar/index.d.ts +3 -3
  95. package/es/data/calendar/index.js +3 -3
  96. package/es/data/calendar/interfaces.d.ts +16 -16
  97. package/es/data/calendar/interfaces.js +1 -1
  98. package/es/data/calendar/mock.d.ts +2 -2
  99. package/es/data/calendar/mock.js +25 -25
  100. package/es/data/contexts/StoreContext/index.d.ts +3 -3
  101. package/es/data/contexts/StoreContext/index.js +3 -3
  102. package/es/data/meeting/AgendaStore.d.ts +12 -12
  103. package/es/data/meeting/AgendaStore.js +21 -21
  104. package/es/data/meeting/MeetingStore.d.ts +15 -15
  105. package/es/data/meeting/MeetingStore.js +37 -37
  106. package/es/data/meeting/hooks.d.ts +25 -25
  107. package/es/data/meeting/hooks.js +48 -48
  108. package/es/data/meeting/index.d.ts +5 -5
  109. package/es/data/meeting/index.js +5 -5
  110. package/es/data/meeting/interfaces.d.ts +37 -37
  111. package/es/data/meeting/interfaces.js +1 -1
  112. package/es/data/meeting/metas.d.ts +24 -24
  113. package/es/data/meeting/metas.js +59 -59
  114. package/es/data/meeting/types.d.ts +27 -27
  115. package/es/data/meeting/types.js +1 -1
  116. package/es/data/notification/NotificationStore.d.ts +26 -26
  117. package/es/data/notification/NotificationStore.js +74 -74
  118. package/es/data/notification/hooks.d.ts +5 -5
  119. package/es/data/notification/hooks.js +14 -14
  120. package/es/data/notification/index.d.ts +4 -4
  121. package/es/data/notification/index.js +4 -4
  122. package/es/data/notification/interfaces.d.ts +16 -16
  123. package/es/data/notification/interfaces.js +1 -1
  124. package/es/data/notification/types.d.ts +13 -13
  125. package/es/data/notification/types.js +1 -1
  126. package/es/data/reports/useEstimatedTimeEffect.d.ts +13 -13
  127. package/es/data/reports/useEstimatedTimeEffect.js +15 -15
  128. package/es/data/reports/useTaskSummaryEffect.d.ts +12 -12
  129. package/es/data/reports/useTaskSummaryEffect.js +25 -25
  130. package/es/data/task/metas.d.ts +15 -15
  131. package/es/data/task/metas.js +36 -36
  132. package/es/data/work/WorkStore.d.ts +23 -23
  133. package/es/data/work/WorkStore.js +57 -57
  134. package/es/data/work/hook.d.ts +9 -9
  135. package/es/data/work/hook.js +19 -19
  136. package/es/data/work/index.d.ts +3 -3
  137. package/es/data/work/index.js +3 -3
  138. package/es/data/work/interfaces.d.ts +68 -68
  139. package/es/data/work/interfaces.js +1 -1
  140. package/es/data/work/metas.d.ts +16 -16
  141. package/es/data/work/metas.js +41 -41
  142. package/es/data/work-schedule/WorkScheduleStore.d.ts +34 -34
  143. package/es/data/work-schedule/WorkScheduleStore.js +123 -123
  144. package/es/data/work-schedule/hooks.d.ts +10 -10
  145. package/es/data/work-schedule/hooks.js +18 -18
  146. package/es/data/work-schedule/index.d.ts +4 -4
  147. package/es/data/work-schedule/index.js +4 -4
  148. package/es/data/work-schedule/interfaces.d.ts +21 -21
  149. package/es/data/work-schedule/interfaces.js +1 -1
  150. package/es/data/work-schedule/metas.d.ts +9 -9
  151. package/es/data/work-schedule/metas.js +21 -21
  152. package/es/data/work-schedule/types.d.ts +29 -29
  153. package/es/data/work-schedule/types.js +1 -1
  154. package/es/data/work-schedule/work-schedule-events/index.d.ts +3 -3
  155. package/es/data/work-schedule/work-schedule-events/index.js +3 -3
  156. package/es/data/work-schedule/work-schedule-events/useAutoUpdateListData.d.ts +4 -4
  157. package/es/data/work-schedule/work-schedule-events/useAutoUpdateListData.js +14 -14
  158. package/es/data/work-schedule/work-schedule-events/useOnDeleteWorkSchedule.d.ts +4 -4
  159. package/es/data/work-schedule/work-schedule-events/useOnDeleteWorkSchedule.js +15 -15
  160. package/es/data/work-schedule/work-schedule-events/useOnNewWorkSchedule.d.ts +4 -4
  161. package/es/data/work-schedule/work-schedule-events/useOnNewWorkSchedule.js +16 -16
  162. package/es/data/workerror/WorkErrorStore.d.ts +37 -37
  163. package/es/data/workerror/WorkErrorStore.js +116 -116
  164. package/es/data/workerror/hook.d.ts +9 -9
  165. package/es/data/workerror/hook.js +18 -18
  166. package/es/data/workerror/index.d.ts +4 -4
  167. package/es/data/workerror/index.js +4 -4
  168. package/es/data/workerror/interfaces.d.ts +19 -19
  169. package/es/data/workerror/interfaces.js +1 -1
  170. package/es/data/workerror/types.d.ts +50 -50
  171. package/es/data/workerror/types.js +8 -8
  172. package/es/data/workerror/workerror-events/index.d.ts +3 -3
  173. package/es/data/workerror/workerror-events/index.js +3 -3
  174. package/es/data/workerror/workerror-events/useAutoUpdateListData.d.ts +4 -4
  175. package/es/data/workerror/workerror-events/useAutoUpdateListData.js +12 -12
  176. package/es/data/workerror/workerror-events/useOnDeleteWorkspace.d.ts +4 -4
  177. package/es/data/workerror/workerror-events/useOnDeleteWorkspace.js +15 -15
  178. package/es/data/workerror/workerror-events/useOnNewWorkspace.d.ts +4 -4
  179. package/es/data/workerror/workerror-events/useOnNewWorkspace.js +15 -15
  180. package/es/data/workspace/WorkSpaceStore.d.ts +39 -39
  181. package/es/data/workspace/WorkSpaceStore.js +133 -133
  182. package/es/data/workspace/hooks.d.ts +13 -13
  183. package/es/data/workspace/hooks.js +22 -22
  184. package/es/data/workspace/index.d.ts +4 -4
  185. package/es/data/workspace/index.js +4 -4
  186. package/es/data/workspace/interfaces.d.ts +25 -25
  187. package/es/data/workspace/interfaces.js +1 -1
  188. package/es/data/workspace/types.d.ts +29 -29
  189. package/es/data/workspace/types.js +1 -1
  190. package/es/data/workspace/useWorkSpaceCompletedWorkEffect.d.ts +10 -10
  191. package/es/data/workspace/useWorkSpaceCompletedWorkEffect.js +13 -13
  192. package/es/data/workspace/workspace-events/index.d.ts +3 -3
  193. package/es/data/workspace/workspace-events/index.js +3 -3
  194. package/es/data/workspace/workspace-events/useAutoUpdateListData.d.ts +4 -4
  195. package/es/data/workspace/workspace-events/useAutoUpdateListData.js +12 -12
  196. package/es/data/workspace/workspace-events/useOnDeleteWorkspace.d.ts +4 -4
  197. package/es/data/workspace/workspace-events/useOnDeleteWorkspace.js +16 -16
  198. package/es/data/workspace/workspace-events/useOnNewWorkspace.d.ts +4 -4
  199. package/es/data/workspace/workspace-events/useOnNewWorkspace.js +16 -16
  200. package/es/data/worktype/WorkTypeStore.d.ts +32 -30
  201. package/es/data/worktype/WorkTypeStore.js +121 -113
  202. package/es/data/worktype/WorkTypeStore.js.map +1 -1
  203. package/es/data/worktype/hook.d.ts +9 -9
  204. package/es/data/worktype/hook.js +19 -19
  205. package/es/data/worktype/index.d.ts +4 -4
  206. package/es/data/worktype/index.js +4 -4
  207. package/es/data/worktype/interfaces.d.ts +72 -72
  208. package/es/data/worktype/interfaces.js +1 -1
  209. package/es/data/worktype/types.d.ts +64 -58
  210. package/es/data/worktype/types.js +1 -1
  211. package/es/data/worktype/useWorkTypeCompletedWorkEffect.d.ts +10 -10
  212. package/es/data/worktype/useWorkTypeCompletedWorkEffect.js +13 -13
  213. package/es/data/worktype/worktype-events/index.d.ts +3 -3
  214. package/es/data/worktype/worktype-events/index.js +3 -3
  215. package/es/data/worktype/worktype-events/useAutoUpdateListData.d.ts +4 -4
  216. package/es/data/worktype/worktype-events/useAutoUpdateListData.js +14 -14
  217. package/es/data/worktype/worktype-events/useOnDeleteWorkType.d.ts +4 -4
  218. package/es/data/worktype/worktype-events/useOnDeleteWorkType.js +15 -15
  219. package/es/data/worktype/worktype-events/useOnNewWorkType.d.ts +4 -4
  220. package/es/data/worktype/worktype-events/useOnNewWorkType.js +16 -16
  221. package/es/index.d.ts +1 -1
  222. package/es/index.js +12 -12
  223. package/es/modules/Routes.d.ts +45 -45
  224. package/es/modules/Routes.js +93 -93
  225. package/es/modules/board/BoardRouets.d.ts +15 -15
  226. package/es/modules/board/BoardRouets.js +28 -28
  227. package/es/modules/board/components/Board/index.d.ts +7 -7
  228. package/es/modules/board/components/Board/index.js +107 -107
  229. package/es/modules/board/components/Board/index.less +133 -133
  230. package/es/modules/board/components/Board/state.d.ts +52 -52
  231. package/es/modules/board/components/Board/state.js +307 -307
  232. package/es/modules/board/components/BoardColumn/index.d.ts +4 -4
  233. package/es/modules/board/components/BoardColumn/index.js +55 -55
  234. package/es/modules/board/components/BoardColumn/index.less +270 -270
  235. package/es/modules/board/components/BoardColumn/state.d.ts +65 -65
  236. package/es/modules/board/components/BoardColumn/state.js +273 -273
  237. package/es/modules/board/components/BoardPropertiesView/index.d.ts +7 -7
  238. package/es/modules/board/components/BoardPropertiesView/index.js +49 -49
  239. package/es/modules/board/components/BoardPropertiesView/index.less +12 -12
  240. package/es/modules/board/components/DocumentCard/index.d.ts +6 -6
  241. package/es/modules/board/components/DocumentCard/index.js +10 -10
  242. package/es/modules/board/components/NewColumnDocumentForm/index.d.ts +8 -8
  243. package/es/modules/board/components/NewColumnDocumentForm/index.js +50 -50
  244. package/es/modules/board/components/NewColumnDocumentForm/state.d.ts +6 -6
  245. package/es/modules/board/components/NewColumnDocumentForm/state.js +26 -26
  246. package/es/modules/board/components/SubDocument/index.d.ts +13 -13
  247. package/es/modules/board/components/SubDocument/index.js +12 -12
  248. package/es/modules/board/components/SubDocumentList/index.d.ts +6 -6
  249. package/es/modules/board/components/SubDocumentList/index.js +142 -142
  250. package/es/modules/board/components/SubDocumentList/index.less +30 -30
  251. package/es/modules/board/components/SubDocumentList/state.d.ts +23 -23
  252. package/es/modules/board/components/SubDocumentList/state.js +57 -57
  253. package/es/modules/board/pages/BoardViewList/index.d.ts +6 -6
  254. package/es/modules/board/pages/BoardViewList/index.js +52 -52
  255. package/es/modules/board/pages/BoardViewList/index.less +15 -15
  256. package/es/modules/board/pages/BoardViewList/state.d.ts +5 -5
  257. package/es/modules/board/pages/BoardViewList/state.js +16 -16
  258. package/es/modules/calendar/CalendarRoutes.d.ts +11 -11
  259. package/es/modules/calendar/CalendarRoutes.js +24 -24
  260. package/es/modules/calendar/components/ActionCard/index.d.ts +7 -7
  261. package/es/modules/calendar/components/ActionCard/index.js +11 -11
  262. package/es/modules/calendar/components/CalendarEventContent/index.d.ts +7 -7
  263. package/es/modules/calendar/components/CalendarEventContent/index.js +9 -9
  264. package/es/modules/calendar/components/CalendarMenu/index.d.ts +6 -6
  265. package/es/modules/calendar/components/CalendarMenu/index.js +52 -52
  266. package/es/modules/calendar/components/CalendarMenu/index.less +31 -31
  267. package/es/modules/calendar/pages/CalendarMonth/index.d.ts +3 -3
  268. package/es/modules/calendar/pages/CalendarMonth/index.js +140 -140
  269. package/es/modules/calendar/pages/CalendarMonth/index.less +263 -263
  270. package/es/modules/calendar/pages/CalendarMonth/state.d.ts +12 -12
  271. package/es/modules/calendar/pages/CalendarMonth/state.js +53 -53
  272. package/es/modules/meeting/MeetingRoutes.d.ts +18 -18
  273. package/es/modules/meeting/MeetingRoutes.js +31 -31
  274. package/es/modules/meeting/components/AgendaList/AgendaContext.d.ts +28 -28
  275. package/es/modules/meeting/components/AgendaList/AgendaContext.js +81 -81
  276. package/es/modules/meeting/components/AgendaList/AgendaHeader/index.d.ts +6 -6
  277. package/es/modules/meeting/components/AgendaList/AgendaHeader/index.js +12 -12
  278. package/es/modules/meeting/components/AgendaList/AgendaHeader/index.less +14 -14
  279. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.d.ts +5 -5
  280. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js +31 -31
  281. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.d.ts +20 -20
  282. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js +110 -110
  283. package/es/modules/meeting/components/AgendaList/AgendaItem/index.d.ts +5 -5
  284. package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +81 -81
  285. package/es/modules/meeting/components/AgendaList/AgendaItem/index.less +109 -109
  286. package/es/modules/meeting/components/AgendaList/AgendaItem/state.d.ts +24 -24
  287. package/es/modules/meeting/components/AgendaList/AgendaItem/state.js +84 -84
  288. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.d.ts +9 -9
  289. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js +34 -34
  290. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.less +57 -57
  291. package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.d.ts +12 -12
  292. package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js +100 -100
  293. package/es/modules/meeting/components/AgendaList/index.d.ts +5 -5
  294. package/es/modules/meeting/components/AgendaList/index.js +62 -62
  295. package/es/modules/meeting/components/AgendaList/index.less +47 -47
  296. package/es/modules/meeting/components/AgendaList/state.d.ts +15 -15
  297. package/es/modules/meeting/components/AgendaList/state.js +32 -32
  298. package/es/modules/meeting/components/MeetingDescription/index.d.ts +8 -8
  299. package/es/modules/meeting/components/MeetingDescription/index.js +16 -16
  300. package/es/modules/meeting/components/MeetingDescription/index.less +12 -12
  301. package/es/modules/meeting/components/MeetingHeader/index.d.ts +8 -8
  302. package/es/modules/meeting/components/MeetingHeader/index.js +95 -95
  303. package/es/modules/meeting/components/MeetingHeader/index.less +13 -13
  304. package/es/modules/meeting/components/MeetingItem/index.d.ts +10 -10
  305. package/es/modules/meeting/components/MeetingItem/index.js +66 -66
  306. package/es/modules/meeting/components/MeetingItem/index.less +66 -66
  307. package/es/modules/meeting/components/MeetingItem/state.d.ts +10 -10
  308. package/es/modules/meeting/components/MeetingItem/state.js +54 -54
  309. package/es/modules/meeting/components/MeetingList/QuickSearch/index.d.ts +20 -20
  310. package/es/modules/meeting/components/MeetingList/QuickSearch/index.js +51 -51
  311. package/es/modules/meeting/components/MeetingList/QuickSearch/index.less +12 -12
  312. package/es/modules/meeting/components/MeetingList/index.d.ts +9 -9
  313. package/es/modules/meeting/components/MeetingList/index.js +79 -79
  314. package/es/modules/meeting/components/MeetingProperties/index.d.ts +26 -26
  315. package/es/modules/meeting/components/MeetingProperties/index.js +108 -108
  316. package/es/modules/meeting/components/MeetingPropertiesView/index.d.ts +5 -5
  317. package/es/modules/meeting/components/MeetingPropertiesView/index.js +35 -35
  318. package/es/modules/meeting/components/MeetingPropertiesView/index.less +15 -15
  319. package/es/modules/meeting/components/MeetingQuickViewDialog/index.d.ts +7 -7
  320. package/es/modules/meeting/components/MeetingQuickViewDialog/index.js +37 -37
  321. package/es/modules/meeting/components/MeetingQuickViewDialog/index.less +14 -14
  322. package/es/modules/meeting/components/MeetingTabs/index.d.ts +6 -6
  323. package/es/modules/meeting/components/MeetingTabs/index.js +54 -54
  324. package/es/modules/meeting/components/MeetingTaskList/index.d.ts +6 -6
  325. package/es/modules/meeting/components/MeetingTaskList/index.js +21 -21
  326. package/es/modules/meeting/components/MeetingTaskList/index.less +30 -30
  327. package/es/modules/meeting/components/MeetingsFolderProperitesView/index.d.ts +6 -6
  328. package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js +57 -57
  329. package/es/modules/meeting/components/MeetingsFolderProperitesView/index.less +8 -8
  330. package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.d.ts +7 -7
  331. package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js +36 -36
  332. package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.less +7 -7
  333. package/es/modules/meeting/components/NewMeetingForm/index.d.ts +9 -9
  334. package/es/modules/meeting/components/NewMeetingForm/index.js +100 -100
  335. package/es/modules/meeting/components/NewMeetingForm/index.less +35 -35
  336. package/es/modules/meeting/components/NewMeetingForm/state.d.ts +9 -9
  337. package/es/modules/meeting/components/NewMeetingForm/state.js +63 -63
  338. package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.d.ts +17 -17
  339. package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.js +23 -23
  340. package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.less +7 -7
  341. package/es/modules/meeting/pages/MeetingDefaultView/index.d.ts +6 -6
  342. package/es/modules/meeting/pages/MeetingDefaultView/index.js +22 -22
  343. package/es/modules/meeting/pages/MeetingDefaultView/index.less +23 -23
  344. package/es/modules/meeting/pages/MeetingListView/index.d.ts +6 -6
  345. package/es/modules/meeting/pages/MeetingListView/index.js +17 -17
  346. package/es/modules/meeting/pages/MeetingPrintView/index.d.ts +4 -4
  347. package/es/modules/meeting/pages/MeetingPrintView/index.js +47 -47
  348. package/es/modules/meeting/pages/MeetingPrintView/index.less +82 -82
  349. package/es/modules/meeting/pages/MeetingPrintView/print.css +22 -22
  350. package/es/modules/meeting/pages/MeetingTabView/index.d.ts +6 -6
  351. package/es/modules/meeting/pages/MeetingTabView/index.js +44 -44
  352. package/es/modules/meeting/pages/MeetingTabView/index.less +21 -21
  353. package/es/modules/meeting/styles/MeetingMinView.less +32 -32
  354. package/es/modules/member/components/MemberDropdown.d.ts +5 -5
  355. package/es/modules/member/components/MemberDropdown.js +17 -17
  356. package/es/modules/member/components/MemberList.d.ts +6 -6
  357. package/es/modules/member/components/MemberList.js +27 -27
  358. package/es/modules/member/components/MemberMenu.d.ts +7 -7
  359. package/es/modules/member/components/MemberMenu.js +14 -14
  360. package/es/modules/member/components/MemberSelect.d.ts +5 -5
  361. package/es/modules/member/components/MemberSelect.js +9 -9
  362. package/es/modules/member/components/member.less +24 -24
  363. package/es/modules/member/pages/MemberListView/index.d.ts +3 -3
  364. package/es/modules/member/pages/MemberListView/index.js +226 -226
  365. package/es/modules/member/pages/MemberRoutes.d.ts +11 -11
  366. package/es/modules/member/pages/MemberRoutes.js +24 -24
  367. package/es/modules/member/styles/MemberMinView.less +24 -24
  368. package/es/modules/menus/components/Access/index.d.ts +6 -6
  369. package/es/modules/menus/components/Access/index.js +19 -19
  370. package/es/modules/menus/components/Account/index.d.ts +6 -6
  371. package/es/modules/menus/components/Account/index.js +19 -19
  372. package/es/modules/menus/components/AddUsers/index.d.ts +3 -3
  373. package/es/modules/menus/components/AddUsers/index.js +36 -36
  374. package/es/modules/menus/components/AddUsers/index.less +7 -7
  375. package/es/modules/menus/components/Status/index.d.ts +6 -6
  376. package/es/modules/menus/components/Status/index.js +19 -19
  377. package/es/modules/menus/components/UsersList/index.d.ts +3 -3
  378. package/es/modules/menus/components/UsersList/index.js +130 -130
  379. package/es/modules/menus/components/UsersList/index.less +64 -64
  380. package/es/modules/menus/pages/ListOptions/Company/index.d.ts +3 -3
  381. package/es/modules/menus/pages/ListOptions/Company/index.js +113 -113
  382. package/es/modules/menus/pages/ListOptions/Company/index.less +20 -20
  383. package/es/modules/menus/pages/ListOptions/Config/index.d.ts +3 -3
  384. package/es/modules/menus/pages/ListOptions/Config/index.js +4 -4
  385. package/es/modules/menus/pages/ListOptions/Teams/index.d.ts +3 -3
  386. package/es/modules/menus/pages/ListOptions/Teams/index.js +70 -70
  387. package/es/modules/menus/pages/ListOptions/Teams/index.less +44 -44
  388. package/es/modules/menus/pages/ListOptions/Users/index.d.ts +3 -3
  389. package/es/modules/menus/pages/ListOptions/Users/index.js +33 -33
  390. package/es/modules/menus/pages/ListOptions/Users/index.less +42 -42
  391. package/es/modules/menus/pages/ListOptions/index.d.ts +3 -3
  392. package/es/modules/menus/pages/ListOptions/index.js +56 -56
  393. package/es/modules/menus/pages/MenusRoutes.d.ts +11 -11
  394. package/es/modules/menus/pages/MenusRoutes.js +24 -24
  395. package/es/modules/notification/components/DocumentNotificationCard/index.d.ts +10 -10
  396. package/es/modules/notification/components/DocumentNotificationCard/index.js +31 -31
  397. package/es/modules/notification/components/DocumentNotificationCard/index.less +29 -29
  398. package/es/modules/notification/components/NotificationList/index.d.ts +16 -16
  399. package/es/modules/notification/components/NotificationList/index.js +92 -92
  400. package/es/modules/notification/components/NotificationList/index.less +32 -32
  401. package/es/modules/pin/components/MyPinned/index.d.ts +7 -7
  402. package/es/modules/pin/components/MyPinned/index.js +41 -41
  403. package/es/modules/pin/components/MyPinned/index.less +34 -34
  404. package/es/modules/pin/components/PinnedCardList/index.d.ts +6 -6
  405. package/es/modules/pin/components/PinnedCardList/index.js +74 -74
  406. package/es/modules/pin/components/PinnedCardList/state.d.ts +8 -8
  407. package/es/modules/pin/components/PinnedCardList/state.js +27 -27
  408. package/es/modules/pin/pages/PinnedPage/index.d.ts +5 -5
  409. package/es/modules/pin/pages/PinnedPage/index.js +13 -13
  410. package/es/modules/pin/pages/PinnedPage/index.less +31 -31
  411. package/es/modules/project/ProjectDefaultView/index.d.ts +3 -3
  412. package/es/modules/project/ProjectDefaultView/index.js +68 -68
  413. package/es/modules/project/ProjectDefaultView/index.less +20 -20
  414. package/es/modules/project/data/ProjectStore.d.ts +10 -10
  415. package/es/modules/project/data/ProjectStore.js +20 -20
  416. package/es/modules/project/data/hook.d.ts +9 -9
  417. package/es/modules/project/data/hook.js +19 -19
  418. package/es/modules/project/data/index.d.ts +3 -3
  419. package/es/modules/project/data/index.js +3 -3
  420. package/es/modules/project/data/interfaces.d.ts +2 -2
  421. package/es/modules/project/data/interfaces.js +1 -1
  422. package/es/modules/space/components/Notes/ColorSelect/index.d.ts +10 -10
  423. package/es/modules/space/components/Notes/ColorSelect/index.js +29 -29
  424. package/es/modules/space/components/Notes/ColorSelect/index.less +17 -17
  425. package/es/modules/space/components/Notes/NewNoteDialog/index.d.ts +10 -10
  426. package/es/modules/space/components/Notes/NewNoteDialog/index.js +40 -40
  427. package/es/modules/space/components/Notes/NewNoteDialog/index.less +78 -78
  428. package/es/modules/space/components/Notes/TextNoteCard/index.d.ts +6 -6
  429. package/es/modules/space/components/Notes/TextNoteCard/index.js +33 -33
  430. package/es/modules/space/components/Notes/TextNoteCard/index.less +56 -56
  431. package/es/modules/space/components/Notes/TextNoteCard/state.d.ts +6 -6
  432. package/es/modules/space/components/Notes/TextNoteCard/state.js +34 -34
  433. package/es/modules/space/components/Notes/index.d.ts +5 -5
  434. package/es/modules/space/components/Notes/index.js +50 -50
  435. package/es/modules/space/components/Notifications/index.d.ts +7 -7
  436. package/es/modules/space/components/Notifications/index.js +38 -38
  437. package/es/modules/space/components/Projects/index.d.ts +5 -5
  438. package/es/modules/space/components/Projects/index.js +34 -34
  439. package/es/modules/space/components/Roles/index.d.ts +5 -5
  440. package/es/modules/space/components/Roles/index.js +13 -13
  441. package/es/modules/space/components/Tasks/index.d.ts +8 -8
  442. package/es/modules/space/components/Tasks/index.js +185 -185
  443. package/es/modules/space/components/Tasks/index.less +17 -17
  444. package/es/modules/space/components/Teams/index.d.ts +5 -5
  445. package/es/modules/space/components/Teams/index.js +13 -13
  446. package/es/modules/space/components/Works/index.d.ts +7 -7
  447. package/es/modules/space/components/Works/index.js +19 -19
  448. package/es/modules/space/components/Works/index.less +18 -18
  449. package/es/modules/space/components/Workspaces/index.d.ts +5 -5
  450. package/es/modules/space/components/Workspaces/index.js +17 -17
  451. package/es/modules/space/pages/MySpace/index.d.ts +4 -4
  452. package/es/modules/space/pages/MySpace/index.js +193 -193
  453. package/es/modules/space/pages/MySpace/index.less +35 -35
  454. package/es/modules/space/pages/MySpace/state.d.ts +48 -48
  455. package/es/modules/space/pages/MySpace/state.js +155 -155
  456. package/es/modules/space/pages/MySpace/taskState.d.ts +36 -36
  457. package/es/modules/space/pages/MySpace/taskState.js +352 -352
  458. package/es/modules/space/pages/MySpace/workState.d.ts +32 -32
  459. package/es/modules/space/pages/MySpace/workState.js +260 -260
  460. package/es/modules/tasks/TasksRoutes.d.ts +15 -15
  461. package/es/modules/tasks/TasksRoutes.js +28 -28
  462. package/es/modules/tasks/components/AddTaskDropdown/index.d.ts +10 -10
  463. package/es/modules/tasks/components/AddTaskDropdown/index.js +31 -31
  464. package/es/modules/tasks/components/AddTaskDropdown/index.less +45 -45
  465. package/es/modules/tasks/components/NewTaskForm/index.d.ts +16 -16
  466. package/es/modules/tasks/components/NewTaskForm/index.js +112 -112
  467. package/es/modules/tasks/components/NewTaskForm/index.less +37 -37
  468. package/es/modules/tasks/components/NewTaskForm/state.d.ts +24 -24
  469. package/es/modules/tasks/components/NewTaskForm/state.js +55 -55
  470. package/es/modules/tasks/components/SubTaskList/index.d.ts +11 -11
  471. package/es/modules/tasks/components/SubTaskList/index.js +157 -157
  472. package/es/modules/tasks/components/SubTaskList/index.less +20 -20
  473. package/es/modules/tasks/components/SubTaskList/state.d.ts +36 -36
  474. package/es/modules/tasks/components/SubTaskList/state.js +91 -91
  475. package/es/modules/tasks/components/TaskCard/index.d.ts +5 -5
  476. package/es/modules/tasks/components/TaskCard/index.js +12 -12
  477. package/es/modules/tasks/components/TaskCard/index.less +8 -8
  478. package/es/modules/tasks/components/TaskDescription/index.d.ts +6 -6
  479. package/es/modules/tasks/components/TaskDescription/index.js +20 -20
  480. package/es/modules/tasks/components/TaskDescription/index.less +18 -18
  481. package/es/modules/tasks/components/TaskEstimatedTime/index.d.ts +12 -12
  482. package/es/modules/tasks/components/TaskEstimatedTime/index.js +74 -74
  483. package/es/modules/tasks/components/TaskEstimatedTime/index.less +25 -25
  484. package/es/modules/tasks/components/TaskEstimatedTime/state.d.ts +37 -37
  485. package/es/modules/tasks/components/TaskEstimatedTime/state.js +158 -158
  486. package/es/modules/tasks/components/TaskItem/ChildTaskItem.d.ts +4 -4
  487. package/es/modules/tasks/components/TaskItem/ChildTaskItem.js +17 -17
  488. package/es/modules/tasks/components/TaskItem/DefaultTaskItem.d.ts +5 -5
  489. package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js +46 -46
  490. package/es/modules/tasks/components/TaskItem/SubTaskItem.d.ts +5 -5
  491. package/es/modules/tasks/components/TaskItem/SubTaskItem.js +59 -59
  492. package/es/modules/tasks/components/TaskItem/defaultTaskItem.less +51 -51
  493. package/es/modules/tasks/components/TaskItem/state.d.ts +55 -55
  494. package/es/modules/tasks/components/TaskItem/state.js +238 -238
  495. package/es/modules/tasks/components/TaskItem/subTaskItem.less +67 -67
  496. package/es/modules/tasks/components/TaskProperties/index.d.ts +26 -26
  497. package/es/modules/tasks/components/TaskProperties/index.js +69 -69
  498. package/es/modules/tasks/components/TaskPropertiesView/index.d.ts +7 -7
  499. package/es/modules/tasks/components/TaskPropertiesView/index.js +33 -33
  500. package/es/modules/tasks/components/TaskPropertiesView/index.less +23 -23
  501. package/es/modules/tasks/components/TaskQuickViewDialog/index.d.ts +7 -7
  502. package/es/modules/tasks/components/TaskQuickViewDialog/index.js +36 -36
  503. package/es/modules/tasks/components/TaskQuickViewDialog/index.less +13 -13
  504. package/es/modules/tasks/components/TaskTabs/index.d.ts +6 -6
  505. package/es/modules/tasks/components/TaskTabs/index.js +72 -72
  506. package/es/modules/tasks/controls/ChildTasksDataIcon/index.d.ts +9 -9
  507. package/es/modules/tasks/controls/ChildTasksDataIcon/index.js +21 -21
  508. package/es/modules/tasks/controls/ChildTasksDataIcon/index.less +29 -29
  509. package/es/modules/tasks/controls/TaskDataIconBar/index.d.ts +16 -16
  510. package/es/modules/tasks/controls/TaskDataIconBar/index.js +24 -24
  511. package/es/modules/tasks/controls/TaskStatusDataIcon/index.d.ts +8 -8
  512. package/es/modules/tasks/controls/TaskStatusDataIcon/index.js +30 -30
  513. package/es/modules/tasks/controls/TaskStatusLabel/index.d.ts +10 -10
  514. package/es/modules/tasks/controls/TaskStatusLabel/index.js +8 -8
  515. package/es/modules/tasks/controls/TaskStatusLabel/index.less +34 -34
  516. package/es/modules/tasks/controls/TasksProgressDataIcon/index.d.ts +14 -14
  517. package/es/modules/tasks/controls/TasksProgressDataIcon/index.js +26 -26
  518. package/es/modules/tasks/controls/TasksTotal/index.d.ts +14 -14
  519. package/es/modules/tasks/controls/TasksTotal/index.js +35 -35
  520. package/es/modules/tasks/pages/TaskDefaultView/index.d.ts +6 -6
  521. package/es/modules/tasks/pages/TaskDefaultView/index.js +22 -22
  522. package/es/modules/tasks/pages/TaskDefaultView/index.less +19 -19
  523. package/es/modules/tasks/pages/TaskList/index.d.ts +5 -5
  524. package/es/modules/tasks/pages/TaskList/index.js +61 -61
  525. package/es/modules/tasks/pages/TaskTabView/index.d.ts +6 -6
  526. package/es/modules/tasks/pages/TaskTabView/index.js +95 -95
  527. package/es/modules/tasks/pages/TaskTabView/index.less +66 -66
  528. package/es/modules/tasks/reports/MemberEstimatedDurationCard/index.d.ts +6 -6
  529. package/es/modules/tasks/reports/MemberEstimatedDurationCard/index.js +40 -40
  530. package/es/modules/tasks/reports/MemberEstimatedDurationCard/index.less +21 -21
  531. package/es/modules/tasks/reports/MemberEstimatedDurationCard/state.d.ts +22 -22
  532. package/es/modules/tasks/reports/MemberEstimatedDurationCard/state.js +147 -147
  533. package/es/modules/tasks/reports/TaskAnalyticsDataIcon/index.d.ts +7 -7
  534. package/es/modules/tasks/reports/TaskAnalyticsDataIcon/index.js +16 -16
  535. package/es/modules/tasks/reports/TaskAnalyticsDataIcon/index.less +8 -8
  536. package/es/modules/tasks/reports/TaskSummaryCard/index.d.ts +17 -17
  537. package/es/modules/tasks/reports/TaskSummaryCard/index.js +66 -66
  538. package/es/modules/tasks/reports/TaskSummaryCard/index.less +20 -20
  539. package/es/modules/tasks/reports/TaskSummaryCard/state.d.ts +11 -11
  540. package/es/modules/tasks/reports/TaskSummaryCard/state.js +53 -53
  541. package/es/modules/user/pages/Positions/index.d.ts +3 -3
  542. package/es/modules/user/pages/Positions/index.js +94 -94
  543. package/es/modules/user/pages/Positions/index.less +59 -59
  544. package/es/modules/work/components/NewWorkErrorDialog/index.d.ts +12 -12
  545. package/es/modules/work/components/NewWorkErrorDialog/index.js +80 -80
  546. package/es/modules/work/components/NewWorkErrorDialog/index.less +18 -18
  547. package/es/modules/work/components/NewWorkErrorDialog/state.d.ts +18 -18
  548. package/es/modules/work/components/NewWorkErrorDialog/state.js +37 -37
  549. package/es/modules/work/components/NewWorkForm/index.d.ts +26 -26
  550. package/es/modules/work/components/NewWorkForm/index.js +80 -80
  551. package/es/modules/work/components/NewWorkForm/index.less +18 -18
  552. package/es/modules/work/components/NewWorkForm/state.d.ts +16 -16
  553. package/es/modules/work/components/NewWorkForm/state.js +33 -33
  554. package/es/modules/work/components/RejectWorkDialog/index.d.ts +8 -8
  555. package/es/modules/work/components/RejectWorkDialog/index.js +53 -53
  556. package/es/modules/work/components/RejectWorkDialog/index.less +18 -18
  557. package/es/modules/work/components/RejectWorkDialog/state.d.ts +12 -12
  558. package/es/modules/work/components/RejectWorkDialog/state.js +34 -34
  559. package/es/modules/work/components/RelatedWorkList/RelatedWorkList.d.ts +23 -23
  560. package/es/modules/work/components/RelatedWorkList/RelatedWorkList.js +49 -49
  561. package/es/modules/work/components/RelatedWorkList/index.d.ts +4 -4
  562. package/es/modules/work/components/RelatedWorkList/index.js +15 -15
  563. package/es/modules/work/components/RelatedWorkList/index.less +21 -21
  564. package/es/modules/work/components/RelatedWorkList/state.d.ts +8 -8
  565. package/es/modules/work/components/RelatedWorkList/state.js +27 -27
  566. package/es/modules/work/components/SubWorkList/index.d.ts +5 -5
  567. package/es/modules/work/components/SubWorkList/index.js +43 -43
  568. package/es/modules/work/components/SubWorkList/index.less +7 -7
  569. package/es/modules/work/components/WorkCard/index.d.ts +5 -5
  570. package/es/modules/work/components/WorkCard/index.js +12 -12
  571. package/es/modules/work/components/WorkCard/index.less +7 -7
  572. package/es/modules/work/components/WorkErrorItem/index.d.ts +5 -5
  573. package/es/modules/work/components/WorkErrorItem/index.js +33 -33
  574. package/es/modules/work/components/WorkErrorItem/index.less +52 -52
  575. package/es/modules/work/components/WorkErrorList/index.d.ts +15 -15
  576. package/es/modules/work/components/WorkErrorList/index.js +75 -75
  577. package/es/modules/work/components/WorkErrorList/index.less +4 -4
  578. package/es/modules/work/components/WorkErrorProperties/index.d.ts +8 -8
  579. package/es/modules/work/components/WorkErrorProperties/index.js +56 -56
  580. package/es/modules/work/components/WorkErrorProperties/state.d.ts +6 -6
  581. package/es/modules/work/components/WorkErrorProperties/state.js +32 -32
  582. package/es/modules/work/components/WorkErrorPropertiesView/index.d.ts +8 -8
  583. package/es/modules/work/components/WorkErrorPropertiesView/index.js +64 -64
  584. package/es/modules/work/components/WorkErrorPropertiesView/index.less +38 -38
  585. package/es/modules/work/components/WorkErrorQuickViewDialog/index.d.ts +18 -18
  586. package/es/modules/work/components/WorkErrorQuickViewDialog/index.js +43 -43
  587. package/es/modules/work/components/WorkErrorQuickViewDialog/index.less +38 -38
  588. package/es/modules/work/components/WorkItem/index.d.ts +13 -13
  589. package/es/modules/work/components/WorkItem/index.js +54 -54
  590. package/es/modules/work/components/WorkItem/index.less +56 -56
  591. package/es/modules/work/components/WorkList/index.d.ts +40 -40
  592. package/es/modules/work/components/WorkList/index.js +188 -188
  593. package/es/modules/work/components/WorkList/index.less +7 -7
  594. package/es/modules/work/components/WorkListCard/index.d.ts +11 -11
  595. package/es/modules/work/components/WorkListCard/index.js +12 -12
  596. package/es/modules/work/components/WorkPropertiesView/index.d.ts +7 -7
  597. package/es/modules/work/components/WorkPropertiesView/index.js +34 -34
  598. package/es/modules/work/components/WorkPropertiesView/index.less +10 -10
  599. package/es/modules/work/components/WorkQATab/index.d.ts +5 -5
  600. package/es/modules/work/components/WorkQATab/index.js +42 -42
  601. package/es/modules/work/components/WorkQATab/index.less +24 -24
  602. package/es/modules/work/components/WorkQuickViewDialog/index.d.ts +7 -7
  603. package/es/modules/work/components/WorkQuickViewDialog/index.js +36 -36
  604. package/es/modules/work/components/WorkQuickViewDialog/index.less +13 -13
  605. package/es/modules/work/components/WorkSendForm/index.d.ts +12 -12
  606. package/es/modules/work/components/WorkSendForm/index.js +38 -38
  607. package/es/modules/work/components/WorkSendForm/index.js.map +1 -1
  608. package/es/modules/work/components/WorkSendForm/index.less +48 -46
  609. package/es/modules/work/components/WorkTabs/index.d.ts +6 -6
  610. package/es/modules/work/components/WorkTabs/index.js +68 -68
  611. package/es/modules/work/components/WorkTaskList/index.d.ts +5 -5
  612. package/es/modules/work/components/WorkTaskList/index.js +63 -63
  613. package/es/modules/work/components/WorkTaskList/index.less +7 -7
  614. package/es/modules/work/components/WorkTaskList/state.d.ts +14 -14
  615. package/es/modules/work/components/WorkTaskList/state.js +22 -22
  616. package/es/modules/work/components/WorkTasksTab/index.d.ts +5 -5
  617. package/es/modules/work/components/WorkTasksTab/index.js +16 -16
  618. package/es/modules/work/components/WorkTasksTab/index.less +4 -4
  619. package/es/modules/work/components/WorksProperties/index.d.ts +26 -26
  620. package/es/modules/work/components/WorksProperties/index.js +99 -99
  621. package/es/modules/work/components/WorksProperties/index.less +17 -17
  622. package/es/modules/work/components/WorksProperties/state.d.ts +14 -14
  623. package/es/modules/work/components/WorksProperties/state.js +87 -87
  624. package/es/modules/work/controls/WorkDataIconBar/index.d.ts +15 -15
  625. package/es/modules/work/controls/WorkDataIconBar/index.js +41 -41
  626. package/es/modules/work/controls/WorkErrorMenu/index.d.ts +14 -14
  627. package/es/modules/work/controls/WorkErrorMenu/index.js +35 -35
  628. package/es/modules/work/controls/WorkErrorMenu/index.less +32 -32
  629. package/es/modules/work/controls/WorkMenu/Accept.d.ts +8 -8
  630. package/es/modules/work/controls/WorkMenu/Accept.js +28 -28
  631. package/es/modules/work/controls/WorkMenu/Reject.d.ts +8 -8
  632. package/es/modules/work/controls/WorkMenu/Reject.js +28 -28
  633. package/es/modules/work/controls/WorkMenu/Send.d.ts +9 -8
  634. package/es/modules/work/controls/WorkMenu/Send.js +40 -39
  635. package/es/modules/work/controls/WorkMenu/Send.js.map +1 -1
  636. package/es/modules/work/controls/WorkMenu/index.d.ts +8 -7
  637. package/es/modules/work/controls/WorkMenu/index.js +30 -30
  638. package/es/modules/work/controls/WorkMenu/index.js.map +1 -1
  639. package/es/modules/work/controls/WorkStatusDataIcon/index.d.ts +8 -8
  640. package/es/modules/work/controls/WorkStatusDataIcon/index.js +23 -23
  641. package/es/modules/work/controls/WorkStatusLabel/index.d.ts +10 -10
  642. package/es/modules/work/controls/WorkStatusLabel/index.js +16 -16
  643. package/es/modules/work/controls/WorkStatusLabel/index.less +36 -36
  644. package/es/modules/work/pages/WorkDefaultView/index.d.ts +6 -6
  645. package/es/modules/work/pages/WorkDefaultView/index.js +22 -22
  646. package/es/modules/work/pages/WorkDefaultView/index.less +18 -18
  647. package/es/modules/work/pages/WorkListPage/index.d.ts +7 -7
  648. package/es/modules/work/pages/WorkListPage/index.js +27 -27
  649. package/es/modules/work/work-schedule/components/NewWorkScheduleForm/NewWorkScheduleFormDialog.d.ts +9 -9
  650. package/es/modules/work/work-schedule/components/NewWorkScheduleForm/NewWorkScheduleFormDialog.js +12 -12
  651. package/es/modules/work/work-schedule/components/NewWorkScheduleForm/index.d.ts +18 -18
  652. package/es/modules/work/work-schedule/components/NewWorkScheduleForm/index.js +61 -61
  653. package/es/modules/work/work-schedule/components/NewWorkScheduleForm/index.less +10 -10
  654. package/es/modules/work/work-schedule/components/NewWorkScheduleForm/state.d.ts +17 -17
  655. package/es/modules/work/work-schedule/components/NewWorkScheduleForm/state.js +41 -41
  656. package/es/modules/work/work-schedule/components/WorkScheduleHeader/index.d.ts +6 -6
  657. package/es/modules/work/work-schedule/components/WorkScheduleHeader/index.js +22 -22
  658. package/es/modules/work/work-schedule/components/WorkScheduleHeader/index.less +12 -12
  659. package/es/modules/work/work-schedule/components/WorkScheduleItem/index.d.ts +7 -7
  660. package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js +61 -61
  661. package/es/modules/work/work-schedule/components/WorkScheduleItem/index.less +44 -44
  662. package/es/modules/work/work-schedule/components/WorkScheduleList/index.d.ts +26 -26
  663. package/es/modules/work/work-schedule/components/WorkScheduleList/index.js +137 -137
  664. package/es/modules/work/work-schedule/components/WorkScheduleList/index.less +11 -11
  665. package/es/modules/work/work-schedule/components/WorkScheduleListCard/index.d.ts +6 -6
  666. package/es/modules/work/work-schedule/components/WorkScheduleListCard/index.js +9 -9
  667. package/es/modules/work/work-schedule/components/WorkScheduleProperties/index.d.ts +20 -20
  668. package/es/modules/work/work-schedule/components/WorkScheduleProperties/index.js +90 -90
  669. package/es/modules/work/work-schedule/components/WorkSchedulePropertiesView/index.d.ts +6 -6
  670. package/es/modules/work/work-schedule/components/WorkSchedulePropertiesView/index.js +14 -14
  671. package/es/modules/work/work-schedule/components/WorkScheduleQuickViewDialog/index.d.ts +9 -9
  672. package/es/modules/work/work-schedule/components/WorkScheduleQuickViewDialog/index.js +11 -11
  673. package/es/modules/work/work-schedule/components/WorkScheduleTabs/index.d.ts +6 -6
  674. package/es/modules/work/work-schedule/components/WorkScheduleTabs/index.js +39 -39
  675. package/es/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.d.ts +9 -9
  676. package/es/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.js +88 -88
  677. package/es/modules/work/work-schedule/controls/WorkScheduleFilter/index.d.ts +5 -5
  678. package/es/modules/work/work-schedule/controls/WorkScheduleFilter/index.js +28 -28
  679. package/es/modules/work/work-schedule/controls/WorkScheduleFilter/state.d.ts +19 -19
  680. package/es/modules/work/work-schedule/controls/WorkScheduleFilter/state.js +60 -60
  681. package/es/modules/work/work-schedule/controls/WorkScheduleMenu/index.d.ts +13 -13
  682. package/es/modules/work/work-schedule/controls/WorkScheduleMenu/index.js +72 -66
  683. package/es/modules/work/work-schedule/controls/WorkScheduleMenu/index.js.map +1 -1
  684. package/es/modules/work/work-schedule/controls/WorkScheduleMenu/index.less +38 -38
  685. package/es/modules/work/work-schedule/pages/WorkScheduleDefaultView/index.d.ts +3 -3
  686. package/es/modules/work/work-schedule/pages/WorkScheduleDefaultView/index.js +29 -29
  687. package/es/modules/work/work-schedule/pages/WorkScheduleDefaultView/index.less +23 -23
  688. package/es/modules/work/work-type/components/ChangeWorkDefaultFolderDialog/index.d.ts +11 -0
  689. package/es/modules/work/work-type/components/ChangeWorkDefaultFolderDialog/index.js +64 -0
  690. package/es/modules/work/work-type/components/ChangeWorkDefaultFolderDialog/index.js.map +1 -0
  691. package/es/modules/work/work-type/components/ChangeWorkDefaultFolderDialog/state.d.ts +15 -0
  692. package/es/modules/work/work-type/components/ChangeWorkDefaultFolderDialog/state.js +59 -0
  693. package/es/modules/work/work-type/components/ChangeWorkDefaultFolderDialog/state.js.map +1 -0
  694. package/es/modules/work/work-type/components/ErrorTypeList/Item.d.ts +18 -18
  695. package/es/modules/work/work-type/components/ErrorTypeList/Item.js +37 -37
  696. package/es/modules/work/work-type/components/ErrorTypeList/index.d.ts +19 -19
  697. package/es/modules/work/work-type/components/ErrorTypeList/index.js +34 -34
  698. package/es/modules/work/work-type/components/ErrorTypeList/index.less +59 -59
  699. package/es/modules/work/work-type/components/ErrorTypeList/state.d.ts +17 -17
  700. package/es/modules/work/work-type/components/ErrorTypeList/state.js +57 -57
  701. package/es/modules/work/work-type/components/NewTypeForm/index.d.ts +10 -10
  702. package/es/modules/work/work-type/components/NewTypeForm/index.js +42 -42
  703. package/es/modules/work/work-type/components/NewTypeForm/index.less +7 -7
  704. package/es/modules/work/work-type/components/NewTypeForm/state.d.ts +11 -11
  705. package/es/modules/work/work-type/components/NewTypeForm/state.js +39 -39
  706. package/es/modules/work/work-type/components/RepeatTab/index.d.ts +6 -6
  707. package/es/modules/work/work-type/components/RepeatTab/index.js +50 -50
  708. package/es/modules/work/work-type/components/RepeatTab/index.less +42 -42
  709. package/es/modules/work/work-type/components/WorkTypeIcon/index.d.ts +10 -10
  710. package/es/modules/work/work-type/components/WorkTypeIcon/index.js +17 -17
  711. package/es/modules/work/work-type/components/WorkTypeIconList/index.d.ts +9 -9
  712. package/es/modules/work/work-type/components/WorkTypeIconList/index.js +35 -35
  713. package/es/modules/work/work-type/components/WorkTypeIconList/index.less +14 -14
  714. package/es/modules/work/work-type/components/WorkTypeItem/index.d.ts +8 -8
  715. package/es/modules/work/work-type/components/WorkTypeItem/index.js +27 -27
  716. package/es/modules/work/work-type/components/WorkTypeItem/index.less +48 -48
  717. package/es/modules/work/work-type/components/WorkTypeList/index.d.ts +9 -9
  718. package/es/modules/work/work-type/components/WorkTypeList/index.js +49 -49
  719. package/es/modules/work/work-type/components/WorkTypeList/index.less +4 -4
  720. package/es/modules/work/work-type/components/WorkTypeProperties/Properties.d.ts +7 -7
  721. package/es/modules/work/work-type/components/WorkTypeProperties/Properties.js +65 -63
  722. package/es/modules/work/work-type/components/WorkTypeProperties/Properties.js.map +1 -1
  723. package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.d.ts +11 -11
  724. package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js +27 -27
  725. package/es/modules/work/work-type/components/WorkTypeProperties/index.d.ts +11 -11
  726. package/es/modules/work/work-type/components/WorkTypeProperties/index.js +37 -37
  727. package/es/modules/work/work-type/components/WorkTypeProperties/state.d.ts +18 -18
  728. package/es/modules/work/work-type/components/WorkTypeProperties/state.js +82 -82
  729. package/es/modules/work/work-type/components/WorkTypePropertiesTabs/index.d.ts +5 -5
  730. package/es/modules/work/work-type/components/WorkTypePropertiesTabs/index.js +37 -37
  731. package/es/modules/work/work-type/components/WorkTypePropertiesTabs/index.less +12 -12
  732. package/es/modules/work/work-type/components/WorkTypePropertiesView/index.d.ts +6 -6
  733. package/es/modules/work/work-type/components/WorkTypePropertiesView/index.js +39 -39
  734. package/es/modules/work/work-type/components/WorkTypePropertiesView/index.less +19 -19
  735. package/es/modules/work/work-type/components/WorkTypePropertiesView/state.d.ts +15 -15
  736. package/es/modules/work/work-type/components/WorkTypePropertiesView/state.js +67 -67
  737. package/es/modules/work/work-type/components/WorkTypeQA/index.d.ts +6 -6
  738. package/es/modules/work/work-type/components/WorkTypeQA/index.js +42 -42
  739. package/es/modules/work/work-type/components/WorkTypeQA/index.less +42 -42
  740. package/es/modules/work/work-type/components/WorkTypeQA/state.d.ts +16 -16
  741. package/es/modules/work/work-type/components/WorkTypeQA/state.js +123 -123
  742. package/es/modules/work/work-type/components/WorkTypeSelect/index.d.ts +9 -9
  743. package/es/modules/work/work-type/components/WorkTypeSelect/index.js +40 -40
  744. package/es/modules/work/work-type/components/WorkTypeStats/WorkTypeStatsCard.d.ts +6 -6
  745. package/es/modules/work/work-type/components/WorkTypeStats/WorkTypeStatsCard.js +14 -14
  746. package/es/modules/work/work-type/components/WorkTypeStats/index.d.ts +5 -5
  747. package/es/modules/work/work-type/components/WorkTypeStats/index.js +15 -15
  748. package/es/modules/work/work-type/components/WorkTypeStats/index.less +29 -29
  749. package/es/modules/work/work-type/components/WorkTypeStats/state.d.ts +6 -6
  750. package/es/modules/work/work-type/components/WorkTypeStats/state.js +26 -26
  751. package/es/modules/work/work-type/components/WorkTypeTabs/WorkTypeTabsCard.d.ts +5 -5
  752. package/es/modules/work/work-type/components/WorkTypeTabs/WorkTypeTabsCard.js +48 -48
  753. package/es/modules/work/work-type/components/WorkTypeTabs/index.d.ts +5 -5
  754. package/es/modules/work/work-type/components/WorkTypeTabs/index.js +53 -53
  755. package/es/modules/work/work-type/components/WorkTypeTabs/index.less +41 -41
  756. package/es/modules/work/work-type/controls/WorkTypeMenu/index.d.ts +15 -16
  757. package/es/modules/work/work-type/controls/WorkTypeMenu/index.js +60 -56
  758. package/es/modules/work/work-type/controls/WorkTypeMenu/index.js.map +1 -1
  759. package/es/modules/work/work-type/controls/WorkTypeMenu/index.less +36 -37
  760. package/es/modules/work/work-type/controls/WorkTypeStatusLabel/index.d.ts +10 -10
  761. package/es/modules/work/work-type/controls/WorkTypeStatusLabel/index.js +12 -12
  762. package/es/modules/work/work-type/controls/WorkTypeStatusLabel/index.less +15 -15
  763. package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.d.ts +6 -6
  764. package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.js +74 -74
  765. package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.less +8 -8
  766. package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/state.d.ts +5 -5
  767. package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/state.js +25 -25
  768. package/es/modules/work/work-type/pages/WorkTypePage/Dashboard.d.ts +5 -5
  769. package/es/modules/work/work-type/pages/WorkTypePage/Dashboard.js +17 -17
  770. package/es/modules/work/work-type/pages/WorkTypePage/Summary.d.ts +5 -5
  771. package/es/modules/work/work-type/pages/WorkTypePage/Summary.js +21 -21
  772. package/es/modules/work/work-type/pages/WorkTypePage/WorkListPage.d.ts +7 -7
  773. package/es/modules/work/work-type/pages/WorkTypePage/WorkListPage.js +24 -24
  774. package/es/modules/work/work-type/pages/WorkTypePage/index.d.ts +3 -3
  775. package/es/modules/work/work-type/pages/WorkTypePage/index.js +155 -155
  776. package/es/modules/work/work-type/pages/WorkTypePage/index.less +113 -113
  777. package/es/modules/work/work-type/pages/WorkTypePage/state.d.ts +22 -22
  778. package/es/modules/work/work-type/pages/WorkTypePage/state.js +160 -160
  779. package/es/modules/workspace/components/MyWorkspaces/index.d.ts +11 -11
  780. package/es/modules/workspace/components/MyWorkspaces/index.js +37 -37
  781. package/es/modules/workspace/components/MyWorkspaces/index.less +30 -30
  782. package/es/modules/workspace/components/NewWorkspaceDialog/index.d.ts +9 -9
  783. package/es/modules/workspace/components/NewWorkspaceDialog/index.js +59 -59
  784. package/es/modules/workspace/components/NewWorkspaceDialog/index.less +30 -30
  785. package/es/modules/workspace/components/NewWorkspaceDialog/state.d.ts +12 -12
  786. package/es/modules/workspace/components/NewWorkspaceDialog/state.js +34 -34
  787. package/es/modules/workspace/components/WorkspaceIcon/index.d.ts +10 -10
  788. package/es/modules/workspace/components/WorkspaceIcon/index.js +24 -24
  789. package/es/modules/workspace/components/WorkspaceIcon/index.less +79 -79
  790. package/es/modules/workspace/components/WorkspaceIconList/index.d.ts +14 -14
  791. package/es/modules/workspace/components/WorkspaceIconList/index.js +53 -53
  792. package/es/modules/workspace/components/WorkspaceIconList/index.less +18 -18
  793. package/es/modules/workspace/components/WorkspaceIconList2/index.d.ts +11 -11
  794. package/es/modules/workspace/components/WorkspaceIconList2/index.js +52 -52
  795. package/es/modules/workspace/components/WorkspaceIconList2/index.less +18 -18
  796. package/es/modules/workspace/components/WorkspaceIconList2/state.d.ts +9 -9
  797. package/es/modules/workspace/components/WorkspaceIconList2/state.js +50 -50
  798. package/es/modules/workspace/components/WorkspacePropertiesView/index.d.ts +6 -6
  799. package/es/modules/workspace/components/WorkspacePropertiesView/index.js +49 -49
  800. package/es/modules/workspace/components/WorkspacePropertiesView/index.less +19 -19
  801. package/es/modules/workspace/components/WorkspacePropertiesView/state.d.ts +15 -15
  802. package/es/modules/workspace/components/WorkspacePropertiesView/state.js +67 -67
  803. package/es/modules/workspace/components/WorkspaceTabs/index.d.ts +5 -5
  804. package/es/modules/workspace/components/WorkspaceTabs/index.js +31 -31
  805. package/es/modules/workspace/components/WorkspaceTabs/index.less +12 -12
  806. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.d.ts +6 -6
  807. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.js +72 -72
  808. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.less +8 -8
  809. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/state.d.ts +5 -5
  810. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/state.js +25 -25
  811. package/es/modules/workspace/controls/WorkspaceMenu/index.d.ts +7 -7
  812. package/es/modules/workspace/controls/WorkspaceMenu/index.js +59 -62
  813. package/es/modules/workspace/controls/WorkspaceMenu/index.js.map +1 -1
  814. package/es/modules/workspace/controls/WorkspaceMenu/index.less +38 -38
  815. package/es/modules/workspace/pages/WorkspaceDefaultView/index.d.ts +6 -6
  816. package/es/modules/workspace/pages/WorkspaceDefaultView/index.js +48 -48
  817. package/es/modules/workspace/pages/WorkspaceDefaultView/index.less +22 -22
  818. package/es/modules/workspace/pages/WorkspaceDefaultView/state.d.ts +15 -15
  819. package/es/modules/workspace/pages/WorkspaceDefaultView/state.js +67 -67
  820. package/es/modules/workspace/pages/WorkspacePage/index.d.ts +3 -3
  821. package/es/modules/workspace/pages/WorkspacePage/index.js +203 -203
  822. package/es/modules/workspace/pages/WorkspacePage/index.less +25 -25
  823. package/es/modules/workspace/pages/WorkspacePage/state.d.ts +52 -52
  824. package/es/modules/workspace/pages/WorkspacePage/state.js +288 -288
  825. package/es/obsolete/WorkTypeDefaultView/index.d.ts +3 -3
  826. package/es/obsolete/WorkTypeDefaultView/index.js +31 -31
  827. package/es/obsolete/WorkTypeDefaultView/index.less +19 -19
  828. package/es/routes.d.ts +4 -4
  829. package/es/routes.js +19 -19
  830. package/es/style/common.less +187 -187
  831. package/es/style/index.less +13 -13
  832. package/package.json +63 -63
  833. package/readme.md +145 -145
@@ -1,64 +1,66 @@
1
- import { InlineEdit, observe } from "@voplus/morpho-ui";
2
- import React, { useState } from "react";
3
- import { useWorkType, useWorkTypeStore } from "../../../../../data/worktype";
4
- import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
5
- import DocumentReference from "@voplus/morpho-document/es/controls/DocumentReference";
6
- import DocumentSelectDialog from "@voplus/morpho-document/es/components/DocumentSelectDialog";
7
- import { State } from "./state";
8
- import { Switch } from "antd";
9
- import WorkTypeStatusLabel from "../../controls/WorkTypeStatusLabel";
10
- import { runInAction } from "mobx";
11
- import { useApplicationContext } from "@voplus/morpho-data";
12
- const Properties = (props) => {
13
- const { id, propertiesName } = props;
14
- const worktype = useWorkType(id);
15
- const store = useWorkTypeStore();
16
- const [state] = useState(new State(store));
17
- state.update(worktype);
18
- const { user } = useApplicationContext();
19
- return observe(() => (React.createElement(React.Fragment, null,
20
- renderProp(propertiesName),
21
- (state.folderEdit || state.documentationEdit) && (React.createElement(DocumentSelectDialog, { multiSelect: false, onCancel: () => state.onCancel(), onSelect: (data) => state.onSelect(data) })))));
22
- function renderProp(name) {
23
- var _a, _b, _c;
24
- switch (name) {
25
- case "Number Format":
26
- return (React.createElement(InlineEdit, { defaultValue: (_a = worktype.sequence) === null || _a === void 0 ? void 0 : _a.format, content: (v) => {
27
- var _a;
28
- return ((_a = worktype.sequence) === null || _a === void 0 ? void 0 : _a.format) ? (React.createElement("span", null, worktype.sequence.format)) : (React.createElement("span", { className: "add-info-style" }, "Add NumberFormat"));
29
- }, onSave: (value) => { var _a; return state.save(value, (_a = worktype.sequence) === null || _a === void 0 ? void 0 : _a.format, { Sequence: { format: value } }); } }));
30
- case "Status":
31
- return (React.createElement(WorkTypeStatusLabel, { editable: true, status: worktype.status, onChange: (status) => {
32
- store.edit(worktype.id, { data: { Status: status }, error: "message" });
33
- } }));
34
- case "Default Folder":
35
- return (React.createElement(InlineEdit, { showEditIcon: true, defaultValue: `&${(_b = state.worktype.defaultFolder) === null || _b === void 0 ? void 0 : _b.name}`, editable: false, content: (v) => {
36
- var _a;
37
- return (React.createElement("div", null, ((_a = state.worktype.defaultFolder) === null || _a === void 0 ? void 0 : _a.id) ? (React.createElement(DocumentReference, { id: state.worktype.defaultFolder.id })) : (React.createElement("span", { className: "add-info-style" }, "Add Default Folder"))));
38
- }, onEditIconClick: () => runInAction(() => (state.folderEdit = true)) }));
39
- case "Documentation":
40
- return (React.createElement(InlineEdit, { showEditIcon: true, defaultValue: `&${(_c = state.worktype.document) === null || _c === void 0 ? void 0 : _c.name}`, editable: false, content: (v) => {
41
- var _a;
42
- return (React.createElement("div", null, ((_a = state.worktype.document) === null || _a === void 0 ? void 0 : _a.id) ? (React.createElement(DocumentReference, { id: state.worktype.document.id })) : (React.createElement("span", { className: "add-info-style" }, "Add Documentation"))));
43
- }, onEditIconClick: () => runInAction(() => (state.documentationEdit = true)) }));
44
- case "Default Due":
45
- return (React.createElement(InlineEdit, { defaultValue: worktype.defaultDue, content: (v) => (React.createElement("div", null, (worktype.defaultDue === 0 ? "Same day" : `${worktype.defaultDue} days`) || (React.createElement("span", { className: "add-info-style" }, "Add default due in days")))), onSave: (value) => store.edit(worktype.id, { data: { DefaultDue: value }, error: "message" }) }));
46
- case "Requester":
47
- return (React.createElement(AvatarList, { organizationId: user.info.organizationId, multiple: true, buttonText: "Ok", list: worktype.requester, onChange: (ids) => {
48
- store.edit(worktype.id, { data: { RequesterIds: ids }, error: "message" });
49
- } }));
50
- case "Accepters":
51
- return (React.createElement(AvatarList, { organizationId: user.info.organizationId, multiple: true, buttonText: "Ok", list: worktype.accepters, onChange: (ids) => {
52
- store.edit(worktype.id, { data: { AccepterIds: ids }, error: "message" });
53
- } }));
54
- case "Default Owner":
55
- return (React.createElement(AvatarList, { organizationId: user.info.organizationId, multiple: true, buttonText: "Ok", list: worktype.owners, onChange: (ids) => {
56
- store.edit(worktype.id, { data: { OwnerIds: ids }, error: "message" });
57
- } }));
58
- case "Auto Accept":
59
- return (React.createElement(Switch, { checked: worktype.autoAccept, onChange: (checked) => store.edit(worktype.id, { data: { AutoAccept: checked }, error: "message" }) }));
60
- }
61
- }
62
- };
63
- export default Properties;
1
+ import { InlineEdit, observe } from "@voplus/morpho-ui";
2
+ import React, { useState } from "react";
3
+ import { useWorkType, useWorkTypeStore } from "../../../../../data/worktype";
4
+ import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
5
+ import DocumentReference from "@voplus/morpho-document/es/controls/DocumentReference";
6
+ import DocumentSelectDialog from "@voplus/morpho-document/es/components/DocumentSelectDialog";
7
+ import ChangeWorkDefaultFolderDialog from "../ChangeWorkDefaultFolderDialog";
8
+ import { State } from "./state";
9
+ import { Switch } from "antd";
10
+ import WorkTypeStatusLabel from "../../controls/WorkTypeStatusLabel";
11
+ import { runInAction } from "mobx";
12
+ import { useApplicationContext } from "@voplus/morpho-data";
13
+ const Properties = (props) => {
14
+ const { id, propertiesName } = props;
15
+ const worktype = useWorkType(id);
16
+ const store = useWorkTypeStore();
17
+ const [state] = useState(new State(store));
18
+ state.update(worktype);
19
+ const { user } = useApplicationContext();
20
+ return observe(() => (React.createElement(React.Fragment, null,
21
+ renderProp(propertiesName),
22
+ state.documentationEdit && (React.createElement(DocumentSelectDialog, { multiSelect: false, onCancel: () => state.onCancel(), onSelect: (data) => state.onSelect(data) })),
23
+ state.folderEdit && (React.createElement(ChangeWorkDefaultFolderDialog, { id: id, defaultDocument: state.worktype.defaultFolder, onCancel: () => (state.folderEdit = false), onSubmit: () => (state.folderEdit = false) })))));
24
+ function renderProp(name) {
25
+ var _a, _b, _c;
26
+ switch (name) {
27
+ case "Number Format":
28
+ return (React.createElement(InlineEdit, { defaultValue: (_a = worktype.sequence) === null || _a === void 0 ? void 0 : _a.format, content: (v) => {
29
+ var _a;
30
+ return ((_a = worktype.sequence) === null || _a === void 0 ? void 0 : _a.format) ? (React.createElement("span", null, worktype.sequence.format)) : (React.createElement("span", { className: "add-info-style" }, "Add NumberFormat"));
31
+ }, onSave: (value) => { var _a; return state.save(value, (_a = worktype.sequence) === null || _a === void 0 ? void 0 : _a.format, { Sequence: { format: value } }); } }));
32
+ case "Status":
33
+ return (React.createElement(WorkTypeStatusLabel, { editable: true, status: worktype.status, onChange: (status) => {
34
+ store.edit(worktype.id, { data: { Status: status }, error: "message" });
35
+ } }));
36
+ case "Default Folder":
37
+ return (React.createElement(InlineEdit, { showEditIcon: true, defaultValue: `&${(_b = state.worktype.defaultFolder) === null || _b === void 0 ? void 0 : _b.name}`, editable: false, content: (v) => {
38
+ var _a;
39
+ return (React.createElement("div", null, ((_a = state.worktype.defaultFolder) === null || _a === void 0 ? void 0 : _a.id) ? (React.createElement(DocumentReference, { id: state.worktype.defaultFolder.id })) : (React.createElement("span", { className: "add-info-style" }, "Add Default Folder"))));
40
+ }, onEditIconClick: () => runInAction(() => (state.folderEdit = true)) }));
41
+ case "Documentation":
42
+ return (React.createElement(InlineEdit, { showEditIcon: true, defaultValue: `&${(_c = state.worktype.document) === null || _c === void 0 ? void 0 : _c.name}`, editable: false, content: (v) => {
43
+ var _a;
44
+ return (React.createElement("div", null, ((_a = state.worktype.document) === null || _a === void 0 ? void 0 : _a.id) ? (React.createElement(DocumentReference, { id: state.worktype.document.id })) : (React.createElement("span", { className: "add-info-style" }, "Add Documentation"))));
45
+ }, onEditIconClick: () => runInAction(() => (state.documentationEdit = true)) }));
46
+ case "Default Due":
47
+ return (React.createElement(InlineEdit, { defaultValue: worktype.defaultDue, content: (v) => (React.createElement("div", null, (worktype.defaultDue === 0 ? "Same day" : `${worktype.defaultDue} days`) || (React.createElement("span", { className: "add-info-style" }, "Add default due in days")))), onSave: (value) => store.edit(worktype.id, { data: { DefaultDue: value }, error: "message" }) }));
48
+ case "Requester":
49
+ return (React.createElement(AvatarList, { organizationId: user.info.organizationId, multiple: true, buttonText: "Ok", list: worktype.requester, onChange: (ids) => {
50
+ store.edit(worktype.id, { data: { RequesterIds: ids }, error: "message" });
51
+ } }));
52
+ case "Accepters":
53
+ return (React.createElement(AvatarList, { organizationId: user.info.organizationId, multiple: true, buttonText: "Ok", list: worktype.accepters, onChange: (ids) => {
54
+ store.edit(worktype.id, { data: { AccepterIds: ids }, error: "message" });
55
+ } }));
56
+ case "Default Owner":
57
+ return (React.createElement(AvatarList, { organizationId: user.info.organizationId, multiple: true, buttonText: "Ok", list: worktype.owners, onChange: (ids) => {
58
+ store.edit(worktype.id, { data: { OwnerIds: ids }, error: "message" });
59
+ } }));
60
+ case "Auto Accept":
61
+ return (React.createElement(Switch, { checked: worktype.autoAccept, onChange: (checked) => store.edit(worktype.id, { data: { AutoAccept: checked }, error: "message" }) }));
62
+ }
63
+ }
64
+ };
65
+ export default Properties;
64
66
  //# sourceMappingURL=Properties.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Properties.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/Properties.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAE7E,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,oBAAoB,MAAM,4DAA4D,CAAC;AAC9F,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAa5D,MAAM,UAAU,GAAG,CAAC,KAA6D,EAAE,EAAE;IACpF,MAAM,EAAE,EAAE,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IACrC,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IACjC,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3C,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAEvB,MAAM,EAAE,IAAI,EAAE,GAAG,qBAAqB,EAAE,CAAC;IAEzC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,CAAC,QAAQ;QACb,UAAU,CAAC,cAAc,CAAC;QAC1B,CAAC,KAAK,CAAC,UAAU,IAAI,KAAK,CAAC,iBAAiB,CAAC,IAAI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AS,EAAE,CAAC,CAAC;oBAC3E,CAAC,GACA,CACF,CAAC;YACH,KAAK,eAAe;gBACnB,OAAO,CACN,oBAAC,UAAU,IACV,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EACxC,QAAQ,QACR,UAAU,EAAC,IAAI,EACf,IAAI,EAAE,QAAQ,CAAC,MAAM,EACrB,QAAQ,EAAE,CAAC,GAAa,EAAE,EAAE;wBAC3B,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;oBACxE,CAAC,GACA,CACF,CAAC;YACH,KAAK,aAAa;gBACjB,OAAO,CACN,oBAAC,MAAM,IACN,OAAO,EAAE,QAAQ,CAAC,UAAU,EAC5B,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE,CACrB,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAE5E,CACF,CAAC;SACH;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"Properties.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/Properties.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAE7E,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,oBAAoB,MAAM,4DAA4D,CAAC;AAC9F,OAAO,6BAA6B,MAAM,kCAAkC,C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AAc,EACxC,QAAQ,QACR,UAAU,EAAC,IAAI,EACf,IAAI,EAAE,QAAQ,CAAC,MAAM,EACrB,QAAQ,EAAE,CAAC,GAAa,EAAE,EAAE;wBAC3B,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;oBACxE,CAAC,GACA,CACF,CAAC;YACH,KAAK,aAAa;gBACjB,OAAO,CACN,oBAAC,MAAM,IACN,OAAO,EAAE,QAAQ,CAAC,UAAU,EAC5B,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE,CACrB,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAE5E,CACF,CAAC;SACH;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,11 +1,11 @@
1
- /// <reference types="react" />
2
- declare const WorkTypePropertiesCard: {
3
- (props: {
4
- id: string;
5
- workTypeProperties?: string[];
6
- }): JSX.Element;
7
- defaultProps: {
8
- workTypeProperties: string[];
9
- };
10
- };
11
- export default WorkTypePropertiesCard;
1
+ /// <reference types="react" />
2
+ declare const WorkTypePropertiesCard: {
3
+ (props: {
4
+ id: string;
5
+ workTypeProperties?: string[];
6
+ }): JSX.Element;
7
+ defaultProps: {
8
+ workTypeProperties: string[];
9
+ };
10
+ };
11
+ export default WorkTypePropertiesCard;
@@ -1,28 +1,28 @@
1
- import Properties from "./Properties";
2
- import PropertiesCard from "@voplus/morpho-ui/es/controls/PropertiesCard";
3
- import React from "react";
4
- import { Skeleton } from "antd";
5
- import { observe } from "@voplus/morpho-ui";
6
- import { useWorkType } from "../../../../../data/worktype";
7
- const WorkTypePropertiesCard = (props) => {
8
- const { id, workTypeProperties } = props;
9
- const worktype = useWorkType(id);
10
- return observe(() => {
11
- return worktype.loading ? (React.createElement(Skeleton, { active: true })) : (React.createElement(PropertiesCard, { title: "Company Details", cardList: workTypeProperties, cardItem: (item) => React.createElement(Properties, { id: id, propertiesName: item }) }));
12
- });
13
- };
14
- WorkTypePropertiesCard.defaultProps = {
15
- workTypeProperties: [
16
- "Number Format",
17
- "Status",
18
- "Default Folder",
19
- "Documentation",
20
- "Default Due",
21
- "Requester",
22
- "Accepters",
23
- "Default Owner",
24
- "Auto Accept",
25
- ],
26
- };
27
- export default WorkTypePropertiesCard;
1
+ import Properties from "./Properties";
2
+ import PropertiesCard from "@voplus/morpho-ui/es/controls/PropertiesCard";
3
+ import React from "react";
4
+ import { Skeleton } from "antd";
5
+ import { observe } from "@voplus/morpho-ui";
6
+ import { useWorkType } from "../../../../../data/worktype";
7
+ const WorkTypePropertiesCard = (props) => {
8
+ const { id, workTypeProperties } = props;
9
+ const worktype = useWorkType(id);
10
+ return observe(() => {
11
+ return worktype.loading ? (React.createElement(Skeleton, { active: true })) : (React.createElement(PropertiesCard, { title: "Company Details", cardList: workTypeProperties, cardItem: (item) => React.createElement(Properties, { id: id, propertiesName: item }) }));
12
+ });
13
+ };
14
+ WorkTypePropertiesCard.defaultProps = {
15
+ workTypeProperties: [
16
+ "Number Format",
17
+ "Status",
18
+ "Default Folder",
19
+ "Documentation",
20
+ "Default Due",
21
+ "Requester",
22
+ "Accepters",
23
+ "Default Owner",
24
+ "Auto Accept",
25
+ ],
26
+ };
27
+ export default WorkTypePropertiesCard;
28
28
  //# sourceMappingURL=WorkTypePropertiesCard.js.map
@@ -1,11 +1,11 @@
1
- /// <reference types="react" />
2
- declare const WorkTypeProperties: {
3
- (props: {
4
- id: string;
5
- workTypeProperties?: string[];
6
- }): JSX.Element;
7
- defaultProps: {
8
- workTypeProperties: string[];
9
- };
10
- };
11
- export default WorkTypeProperties;
1
+ /// <reference types="react" />
2
+ declare const WorkTypeProperties: {
3
+ (props: {
4
+ id: string;
5
+ workTypeProperties?: string[];
6
+ }): JSX.Element;
7
+ defaultProps: {
8
+ workTypeProperties: string[];
9
+ };
10
+ };
11
+ export default WorkTypeProperties;
@@ -1,38 +1,38 @@
1
- import { InlineEdit, observe } from "@voplus/morpho-ui";
2
- import Properties from "./Properties";
3
- import React, { useState } from "react";
4
- import { useWorkType, useWorkTypeStore } from "../../../../../data/worktype";
5
- import { Form } from "antd";
6
- import { Scrollbars } from "react-custom-scrollbars";
7
- import { State } from "./state";
8
- import classnames from "classnames";
9
- const WorkTypeProperties = (props) => {
10
- const { id, workTypeProperties } = props;
11
- const store = useWorkTypeStore();
12
- const [state] = useState(new State(store));
13
- const worktype = useWorkType(props.id);
14
- state.update(worktype);
15
- const [form] = Form.useForm();
16
- return observe(() => (React.createElement("div", { className: classnames("properties-list") },
17
- React.createElement("div", { className: "properties-header" },
18
- React.createElement("div", { className: "title" },
19
- React.createElement(InlineEdit, { defaultValue: worktype === null || worktype === void 0 ? void 0 : worktype.name, content: (v) => React.createElement("div", null, worktype === null || worktype === void 0 ? void 0 : worktype.name), onSave: (value) => state.save(value, worktype.name, { Name: value }) }))),
20
- React.createElement(Scrollbars, { autoHide: true },
21
- React.createElement(Form, { form: form, labelAlign: "left", labelCol: { span: 11 }, scrollToFirstError: true }, workTypeProperties === null || workTypeProperties === void 0 ? void 0 : workTypeProperties.map((i) => (React.createElement(Form.Item, { key: i, label: i },
22
- React.createElement(Properties, { id: id, propertiesName: i })))))))));
23
- };
24
- WorkTypeProperties.defaultProps = {
25
- workTypeProperties: [
26
- "Number Format",
27
- "Status",
28
- "Default Folder",
29
- "Documentation",
30
- "Default Due",
31
- "Requester",
32
- "Accepters",
33
- "Default Owner",
34
- "Auto Accept",
35
- ],
36
- };
37
- export default WorkTypeProperties;
1
+ import { InlineEdit, observe } from "@voplus/morpho-ui";
2
+ import Properties from "./Properties";
3
+ import React, { useState } from "react";
4
+ import { useWorkType, useWorkTypeStore } from "../../../../../data/worktype";
5
+ import { Form } from "antd";
6
+ import { Scrollbars } from "react-custom-scrollbars";
7
+ import { State } from "./state";
8
+ import classnames from "classnames";
9
+ const WorkTypeProperties = (props) => {
10
+ const { id, workTypeProperties } = props;
11
+ const store = useWorkTypeStore();
12
+ const [state] = useState(new State(store));
13
+ const worktype = useWorkType(props.id);
14
+ state.update(worktype);
15
+ const [form] = Form.useForm();
16
+ return observe(() => (React.createElement("div", { className: classnames("properties-list") },
17
+ React.createElement("div", { className: "properties-header" },
18
+ React.createElement("div", { className: "title" },
19
+ React.createElement(InlineEdit, { defaultValue: worktype === null || worktype === void 0 ? void 0 : worktype.name, content: (v) => React.createElement("div", null, worktype === null || worktype === void 0 ? void 0 : worktype.name), onSave: (value) => state.save(value, worktype.name, { Name: value }) }))),
20
+ React.createElement(Scrollbars, { autoHide: true },
21
+ React.createElement(Form, { form: form, labelAlign: "left", labelCol: { span: 11 }, scrollToFirstError: true }, workTypeProperties === null || workTypeProperties === void 0 ? void 0 : workTypeProperties.map((i) => (React.createElement(Form.Item, { key: i, label: i },
22
+ React.createElement(Properties, { id: id, propertiesName: i })))))))));
23
+ };
24
+ WorkTypeProperties.defaultProps = {
25
+ workTypeProperties: [
26
+ "Number Format",
27
+ "Status",
28
+ "Default Folder",
29
+ "Documentation",
30
+ "Default Due",
31
+ "Requester",
32
+ "Accepters",
33
+ "Default Owner",
34
+ "Auto Accept",
35
+ ],
36
+ };
37
+ export default WorkTypeProperties;
38
38
  //# sourceMappingURL=index.js.map
@@ -1,18 +1,18 @@
1
- import { IWorkType, WorkTypeStore } from "../../../../../data/worktype";
2
- export declare class State {
3
- private store;
4
- worktype: IWorkType;
5
- folderEdit: boolean;
6
- documentationEdit: boolean;
7
- constructor(store: WorkTypeStore);
8
- update(worktype: IWorkType): void;
9
- /** edit save */
10
- save(v: any, name: any, params: Record<string, unknown>): void;
11
- /** folder,documentation edit save */
12
- onSelect(data: {
13
- id: string;
14
- name: string;
15
- }[]): Promise<void>;
16
- /** DocumentSelectDialog cancel */
17
- onCancel(): void;
18
- }
1
+ import { IWorkType, WorkTypeStore } from "../../../../../data/worktype";
2
+ export declare class State {
3
+ private store;
4
+ worktype: IWorkType;
5
+ folderEdit: boolean;
6
+ documentationEdit: boolean;
7
+ constructor(store: WorkTypeStore);
8
+ update(worktype: IWorkType): void;
9
+ /** edit save */
10
+ save(v: any, name: any, params: Record<string, unknown>): void;
11
+ /** folder,documentation edit save */
12
+ onSelect(data: {
13
+ id: string;
14
+ name: string;
15
+ }[]): Promise<void>;
16
+ /** DocumentSelectDialog cancel */
17
+ onCancel(): void;
18
+ }
@@ -1,83 +1,83 @@
1
- import { __decorate } from "tslib";
2
- import { action, makeObservable, observable } from "mobx";
3
- export class State {
4
- constructor(store) {
5
- Object.defineProperty(this, "store", {
6
- enumerable: true,
7
- configurable: true,
8
- writable: true,
9
- value: store
10
- });
11
- Object.defineProperty(this, "worktype", {
12
- enumerable: true,
13
- configurable: true,
14
- writable: true,
15
- value: void 0
16
- });
17
- Object.defineProperty(this, "folderEdit", {
18
- enumerable: true,
19
- configurable: true,
20
- writable: true,
21
- value: false
22
- });
23
- Object.defineProperty(this, "documentationEdit", {
24
- enumerable: true,
25
- configurable: true,
26
- writable: true,
27
- value: false
28
- });
29
- makeObservable(this);
30
- }
31
- update(worktype) {
32
- this.worktype = worktype;
33
- }
34
- /** edit save */
35
- save(v, name, params) {
36
- if ((v === null || v === void 0 ? void 0 : v.trim()) === name || (v === null || v === void 0 ? void 0 : v.trim()) === "")
37
- return;
38
- this.store.edit(this.worktype.id, { data: params, error: "message" });
39
- }
40
- /** folder,documentation edit save */
41
- async onSelect(data) {
42
- if (this.folderEdit) {
43
- await this.store.edit(this.worktype.id, {
44
- data: { DefaultFolderId: data[0].id },
45
- error: "message",
46
- });
47
- }
48
- else if (this.documentationEdit) {
49
- await this.store.edit(this.worktype.id, {
50
- data: { DocumentId: data[0].id },
51
- error: "message",
52
- });
53
- }
54
- this.onCancel();
55
- }
56
- /** DocumentSelectDialog cancel */
57
- onCancel() {
58
- this.folderEdit = false;
59
- this.documentationEdit = false;
60
- }
61
- }
62
- __decorate([
63
- observable
64
- ], State.prototype, "worktype", void 0);
65
- __decorate([
66
- observable
67
- ], State.prototype, "folderEdit", void 0);
68
- __decorate([
69
- observable
70
- ], State.prototype, "documentationEdit", void 0);
71
- __decorate([
72
- action
73
- ], State.prototype, "update", null);
74
- __decorate([
75
- action
76
- ], State.prototype, "save", null);
77
- __decorate([
78
- action
79
- ], State.prototype, "onSelect", null);
80
- __decorate([
81
- action
82
- ], State.prototype, "onCancel", null);
1
+ import { __decorate } from "tslib";
2
+ import { action, makeObservable, observable } from "mobx";
3
+ export class State {
4
+ constructor(store) {
5
+ Object.defineProperty(this, "store", {
6
+ enumerable: true,
7
+ configurable: true,
8
+ writable: true,
9
+ value: store
10
+ });
11
+ Object.defineProperty(this, "worktype", {
12
+ enumerable: true,
13
+ configurable: true,
14
+ writable: true,
15
+ value: void 0
16
+ });
17
+ Object.defineProperty(this, "folderEdit", {
18
+ enumerable: true,
19
+ configurable: true,
20
+ writable: true,
21
+ value: false
22
+ });
23
+ Object.defineProperty(this, "documentationEdit", {
24
+ enumerable: true,
25
+ configurable: true,
26
+ writable: true,
27
+ value: false
28
+ });
29
+ makeObservable(this);
30
+ }
31
+ update(worktype) {
32
+ this.worktype = worktype;
33
+ }
34
+ /** edit save */
35
+ save(v, name, params) {
36
+ if ((v === null || v === void 0 ? void 0 : v.trim()) === name || (v === null || v === void 0 ? void 0 : v.trim()) === "")
37
+ return;
38
+ this.store.edit(this.worktype.id, { data: params, error: "message" });
39
+ }
40
+ /** folder,documentation edit save */
41
+ async onSelect(data) {
42
+ if (this.folderEdit) {
43
+ await this.store.edit(this.worktype.id, {
44
+ data: { DefaultFolderId: data[0].id },
45
+ error: "message",
46
+ });
47
+ }
48
+ else if (this.documentationEdit) {
49
+ await this.store.edit(this.worktype.id, {
50
+ data: { DocumentId: data[0].id },
51
+ error: "message",
52
+ });
53
+ }
54
+ this.onCancel();
55
+ }
56
+ /** DocumentSelectDialog cancel */
57
+ onCancel() {
58
+ this.folderEdit = false;
59
+ this.documentationEdit = false;
60
+ }
61
+ }
62
+ __decorate([
63
+ observable
64
+ ], State.prototype, "worktype", void 0);
65
+ __decorate([
66
+ observable
67
+ ], State.prototype, "folderEdit", void 0);
68
+ __decorate([
69
+ observable
70
+ ], State.prototype, "documentationEdit", void 0);
71
+ __decorate([
72
+ action
73
+ ], State.prototype, "update", null);
74
+ __decorate([
75
+ action
76
+ ], State.prototype, "save", null);
77
+ __decorate([
78
+ action
79
+ ], State.prototype, "onSelect", null);
80
+ __decorate([
81
+ action
82
+ ], State.prototype, "onCancel", null);
83
83
  //# sourceMappingURL=state.js.map
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- declare const WorkTypePropertiesTabs: (props: {
3
- id: string;
4
- }) => JSX.Element;
5
- export default WorkTypePropertiesTabs;
1
+ /// <reference types="react" />
2
+ declare const WorkTypePropertiesTabs: (props: {
3
+ id: string;
4
+ }) => JSX.Element;
5
+ export default WorkTypePropertiesTabs;