@voplus/morpho-workspace 6.0.2 → 6.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. package/es/components/TimeLog/index.js +5 -7
  2. package/es/components/TimeLog/index.js.map +1 -1
  3. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js +3 -2
  4. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js.map +1 -1
  5. package/es/modules/meeting/components/MeetingDescription/index.js +2 -2
  6. package/es/modules/meeting/components/MeetingDescription/index.js.map +1 -1
  7. package/es/modules/meeting/components/MeetingHeader/index.js +6 -4
  8. package/es/modules/meeting/components/MeetingHeader/index.js.map +1 -1
  9. package/es/modules/meeting/components/MeetingHeader/state.d.ts +6 -0
  10. package/es/modules/meeting/components/MeetingHeader/state.js +26 -0
  11. package/es/modules/meeting/components/MeetingHeader/state.js.map +1 -0
  12. package/es/modules/meeting/components/MeetingItem/index.js +11 -11
  13. package/es/modules/meeting/components/MeetingItem/index.js.map +1 -1
  14. package/es/modules/meeting/components/MeetingProperties/index.js +6 -4
  15. package/es/modules/meeting/components/MeetingProperties/index.js.map +1 -1
  16. package/es/modules/meeting/components/MeetingProperties/state.d.ts +6 -0
  17. package/es/modules/meeting/components/MeetingProperties/state.js +26 -0
  18. package/es/modules/meeting/components/MeetingProperties/state.js.map +1 -0
  19. package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js +2 -2
  20. package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js.map +1 -1
  21. package/es/modules/meeting/components/NewMeetingForm/index.js +6 -7
  22. package/es/modules/meeting/components/NewMeetingForm/index.js.map +1 -1
  23. package/es/modules/meeting/pages/MeetingPrintView/index.js +5 -4
  24. package/es/modules/meeting/pages/MeetingPrintView/index.js.map +1 -1
  25. package/es/modules/meeting/pages/MeetingTabView/index.js +2 -2
  26. package/es/modules/meeting/pages/MeetingTabView/index.js.map +1 -1
  27. package/es/modules/notification/components/DocumentNotificationCard/index.js +1 -1
  28. package/es/modules/space/components/Notes/NewNoteDialog/index.js +1 -2
  29. package/es/modules/space/components/Notes/NewNoteDialog/index.js.map +1 -1
  30. package/es/modules/space/components/Notes/TextNoteCard/index.js +9 -9
  31. package/es/modules/space/components/Notes/TextNoteCard/index.js.map +1 -1
  32. package/es/modules/space/components/Notifications/index.js +11 -9
  33. package/es/modules/space/components/Notifications/index.js.map +1 -1
  34. package/es/modules/space/pages/MySpace/state.js.map +1 -1
  35. package/es/modules/tasks/components/NewTaskForm/index.js +2 -2
  36. package/es/modules/tasks/components/NewTaskForm/index.js.map +1 -1
  37. package/es/modules/tasks/components/TaskEstimatedTime/index.js +2 -2
  38. package/es/modules/tasks/components/TaskEstimatedTime/index.js.map +1 -1
  39. package/es/modules/tasks/components/TaskEstimatedTime/state.js +1 -2
  40. package/es/modules/tasks/components/TaskEstimatedTime/state.js.map +1 -1
  41. package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js +2 -2
  42. package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js.map +1 -1
  43. package/es/modules/tasks/components/TaskTabs/index.js +2 -1
  44. package/es/modules/tasks/components/TaskTabs/index.js.map +1 -1
  45. package/es/modules/tasks/pages/TaskTabView/index.js +12 -14
  46. package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -1
  47. package/es/modules/work/components/WorkErrorItem/index.js +1 -1
  48. package/es/modules/work/components/WorkErrorPropertiesView/index.js +14 -13
  49. package/es/modules/work/components/WorkErrorPropertiesView/index.js.map +1 -1
  50. package/es/modules/work/components/WorkItem/index.js +2 -2
  51. package/es/modules/work/components/WorkItem/index.js.map +1 -1
  52. package/es/modules/work/controls/WorkDataIconBar/index.js +3 -3
  53. package/es/modules/work/controls/WorkDataIconBar/index.js.map +1 -1
  54. package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js +33 -32
  55. package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js.map +1 -1
  56. package/es/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.js +2 -2
  57. package/es/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.js.map +1 -1
  58. package/es/modules/work/work-type/components/RepeatTab/index.js +1 -1
  59. package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js +2 -3
  60. package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js.map +1 -1
  61. package/es/modules/work/work-type/components/WorkTypeStats/WorkTypeStatsCard.js +3 -2
  62. package/es/modules/work/work-type/components/WorkTypeStats/WorkTypeStatsCard.js.map +1 -1
  63. package/es/modules/work/work-type/components/WorkTypeStats/index.js +3 -2
  64. package/es/modules/work/work-type/components/WorkTypeStats/index.js.map +1 -1
  65. package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.js +2 -2
  66. package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.js.map +1 -1
  67. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.js +2 -2
  68. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.js.map +1 -1
  69. package/package.json +1 -1
  70. package/es/data/contexts/StoreContext/index.d.ts +0 -3
  71. package/es/data/contexts/StoreContext/index.js +0 -4
  72. package/es/data/contexts/StoreContext/index.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/space/components/Notes/NewNoteDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAa,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,WAAW,MAAM,6CAA6C,C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,OAAO,EAAE,IAAI,GAAI,CACnD,CACD;QACN,oBAAC,WAAW,IACX,YAAY,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAC/B,MAAM;YACN,kCAAkC;YAClC,yCAAyC;YACzC,SAAS,EAAE,WAAW,KAAK,EAAE;YAC7B,+CAA+C;YAC/C,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CACjB,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,KAAK,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,GAEnF,CACK,CACR,CAAC,CAAC;IACH,KAAK,UAAU,IAAI;QAClB,MAAM,CAAC,GAAG,MAAM,aAAa,CAAC,QAAQ,CAAC,IAAI,CAC1C,uBAAuB,EACvB,IAAI,cAAc,EAAE,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAC/E,CAAC;QACF,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;QACzB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;QACpB,IAAI,IAAI;YAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACnB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/space/components/Notes/NewNoteDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAa,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,WAAW,MAAM,g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E,GAAG,EAAE,CAAC,QAAQ,IAAI,QAAQ,EAAE,GAAI;gBAC7E,oBAAC,MAAM,IAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAC,SAAS,EAAC,OAAO,EAAE,IAAI,GAAI,CACnD,CACD;QACN,oBAAC,WAAW,IACX,YAAY,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAC/B,MAAM;YACN,kCAAkC;YAClC,yCAAyC;YACzC,SAAS,EAAE,WAAW,KAAK,EAAE;YAC7B,+CAA+C;YAC/C,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CACjB,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,KAAK,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,GAEnF,CACK,CACR,CAAC,CAAC;IACH,KAAK,UAAU,IAAI;QAClB,MAAM,CAAC,GAAG,MAAM,aAAa,CAAC,QAAQ,CAAC,IAAI,CAC1C,uBAAuB,EACvB,IAAI,cAAc,EAAE,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAC/E,CAAC;QACF,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;QACzB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;QACpB,IAAI,IAAI;YAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACnB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,aAAa,CAAC"}
@@ -20,15 +20,15 @@ const TextNoteCard = (props) => {
20
20
  // const text = { loading: false, date: "2020-08-03" };
21
21
  const [state] = useState(new State());
22
22
  return observe(() => (React.createElement(Card, { className: "text-note-card", shadow: true },
23
- note.loading ? (React.createElement("div", { style: { padding: "0 20px" } },
24
- React.createElement(Skeleton, { active: true }))) : (React.createElement("div", { className: "text-card-container", onMouseOver: () => runInAction(() => (state.isHover = true)), onMouseLeave: () => runInAction(() => (state.isHover = false)), style: { backgroundColor: state.color } },
25
- React.createElement("div", { className: "text-note-card_header" },
26
- React.createElement("div", { className: classnames("text-note-card_theme", { show: state.isHover }) },
27
- React.createElement(ColorSelect, { color: "", onChange: (c) => runInAction(() => (state.color = c.color)) })),
28
- React.createElement("div", { className: classnames("text-note-card_date", { hide: state.isHover }) }, dayjs(note.date).format("D MMM YYYY HH:mm")),
29
- React.createElement(ToolBar, { id: id },
30
- React.createElement(Open, { url: `/document/${props.id}` }))),
31
- React.createElement(Viewer, { html: note.text, onClick: () => runInAction(() => (state.visible = true)) }))),
23
+ React.createElement(Skeleton, { active: true, loading: note.loading },
24
+ React.createElement("div", { className: "text-card-container", onMouseOver: () => runInAction(() => (state.isHover = true)), onMouseLeave: () => runInAction(() => (state.isHover = false)), style: { backgroundColor: state.color } },
25
+ React.createElement("div", { className: "text-note-card_header" },
26
+ React.createElement("div", { className: classnames("text-note-card_theme", { show: state.isHover }) },
27
+ React.createElement(ColorSelect, { color: "", onChange: (c) => runInAction(() => (state.color = c.color)) })),
28
+ React.createElement("div", { className: classnames("text-note-card_date", { hide: state.isHover }) }, dayjs(note.date).format("D MMM YYYY HH:mm")),
29
+ React.createElement(ToolBar, { id: id },
30
+ React.createElement(Open, { url: `/document/${props.id}` }))),
31
+ React.createElement(Viewer, { html: note.text, onClick: () => runInAction(() => (state.visible = true)) }))),
32
32
  React.createElement(TextQuickViewDialog, { id: id, visible: state.visible, onCancel: () => runInAction(() => (state.visible = false)) }))));
33
33
  };
34
34
  export default TextNoteCard;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/space/components/Notes/TextNoteCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC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E,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC,GAAI,CAChF,CACI;QACX,oBAAC,mBAAmB,IACnB,EAAE,EAAE,EAAE,EACN,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,QAAQ,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,GACzD,CACI,CACP,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -25,15 +25,17 @@ const Notifications = (props) => {
25
25
  });
26
26
  }
27
27
  }, [params.status]);
28
- return observe(() => error ? (React.createElement(Result, { status: error.toString() })) : (React.createElement("div", { className: "my-notifications" }, params.status === "redirect" ? (React.createElement(Skeleton, { loading: true })) : (React.createElement(NotificationList, { status: params.status, active: params.active, onClickItem: (ev, item) => {
29
- layout.history.push(generatePath(props.path, { status: params.status, active: item.id }));
30
- }, onTotal: (total) => {
31
- runInAction(() => {
32
- props.state.notificationTotals[params.status] = total;
33
- });
34
- }, onItemStatusChanged: (old, item) => {
35
- props.state.updateNotificationTotal(old, item.status);
36
- } })))));
28
+ return observe(() => error ? (React.createElement(Result, { status: error.toString() })) : (React.createElement("div", { className: "my-notifications" },
29
+ React.createElement(Skeleton, { loading: params.status === "redirect" },
30
+ React.createElement(NotificationList, { status: params.status, active: params.active, onClickItem: (ev, item) => {
31
+ layout.history.push(generatePath(props.path, { status: params.status, active: item.id }));
32
+ }, onTotal: (total) => {
33
+ runInAction(() => {
34
+ props.state.notificationTotals[params.status] = total;
35
+ });
36
+ }, onItemStatusChanged: (old, item) => {
37
+ props.state.updateNotificationTotal(old, item.status);
38
+ } })))));
37
39
  };
38
40
  export default Notifications;
39
41
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/space/components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, { gutter: 20 },
46
46
  React.createElement(Col, { span: 12 },
47
47
  React.createElement(Form.Item, { label: "Start Date" },
48
- React.createElement(DatePicker, { changeOnBlur: true, value: state.params.StartDate, disabledDate: (value) => disabledStartDate(value), onChange: (value) => (state.params.StartDate = value), style: { width: "100%" } }))),
48
+ React.createElement(DatePicker, { disabledDate: (value) => disabledStartDate(value), onChange: (value) => (state.params.StartDate = value), style: { width: "100%" } }))),
49
49
  React.createElement(Col, { span: 12 },
50
50
  React.createElement(Form.Item, { label: "Due Date" },
51
- React.createElement(DatePicker, { changeOnBlur: true, value: state.params.DueDate, disabledDate: (value) => disabledEndDate(value), onChange: (value) => (state.params.DueDate = value), style: { width: "100%" } })))))) : (React.createElement(Form.Item, null,
51
+ React.createElement(DatePicker, { disabledDate: (value) => disabledEndDate(value), onChange: (value) => (state.params.DueDate = value), style: { width: "100%" } })))))) : (React.createElement(Form.Item, null,
52
52
  React.createElement(Spin, { spinning: !!props.simple && !!state.loading },
53
53
  React.createElement(Row, { justify: "space-between" },
54
54
  React.createElement(Col, { flex: 1 },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/NewTaskForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAA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KAAK,CAAC,QAAQ,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC;QACjC,IAAI,KAAK,CAAC,UAAU;YAAE,KAAK,CAAC,UAAU,EAAE,CAAC;IAC1C,CAAC;IACD,SAAS,iBAAiB,CAAC,SAAkC;QAC5D,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC;QACjC,IAAI,CAAC,SAAS,IAAI,CAAC,OAAO,EAAE,CAAC;YAC5B,OAAO,KAAK,CAAC;QACd,CAAC;QACD,OAAO,SAAS,GAAI,OAAuB,CAAC;IAC7C,CAAC;IACD,SAAS,eAAe,CAAC,OAAgC;QACxD,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC;QACnC,IAAI,CAAC,OAAO,IAAI,CAAC,SAAS,EAAE,CAAC;YAC5B,OAAO,KAAK,CAAC;QACd,CAAC;QACD,OAAO,OAAO,IAAK,SAAyB,CAAC;IAC9C,CAAC;AACF,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
@@ -57,9 +57,9 @@ const TaskEstimatedTime = (props) => {
57
57
  : state.dueDate
58
58
  ? faHourglassEnd
59
59
  : faHourglassStart, className: "margin-right-5" }),
60
- state.startDate && moment(state.startDate).format(state.dateFormat),
60
+ state.startDate && dayjs(state.startDate).format(state.dateFormat),
61
61
  state.startDate && state.dueDate && "~",
62
- state.dueDate && moment(state.dueDate).format(state.dateFormat),
62
+ state.dueDate && dayjs(state.dueDate).format(state.dateFormat),
63
63
  period && state.startDate && state.dueDate && (React.createElement("span", { className: "margin-left-5" }, moment(state.startDate).from(moment(state.dueDate), true))))) : editable ? (React.createElement("span", { className: "add-info-style" },
64
64
  React.createElement(FAIcon, { icon: faStopwatch, className: "margin-right-5" }),
65
65
  "Add Task Time")) : null))));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskEstimatedTime/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAA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7B,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,CACpD,CACP,CACe,CACjB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CACd,8BAAM,SAAS,EAAC,gBAAgB;YAC/B,oBAAC,MAAM,IAAC,IAAI,EAAE,WAAW,EAAE,SAAS,EAAC,gBAAgB,GAAG;4BAElD,CACP,CAAC,CAAC,CAAC,IAAI,CACF,CACE,CACV,CAAC,CAAC;IACH,SAAS,eAAe,CAAC,OAAgB;QACxC,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,OAAO,IAAI,CAAC,CAAC,QAAQ,CAAC;YACtC,KAAK,CAAC,cAAc,GAAG,KAAK,CAAC,iBAAiB,CAAC;QAChD,CAAC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AACF,iBAAiB,CAAC,YAAY,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;AAClF,eAAe,iBAAiB,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { action, computed, makeObservable, observable } from "mobx";
3
3
  import { message } from "antd";
4
- import moment from "moment";
5
4
  import dayjs from "dayjs";
6
5
  export class State {
7
6
  constructor(taskStore) {
@@ -118,7 +117,7 @@ export class State {
118
117
  makeObservable(this);
119
118
  }
120
119
  get dateFormat() {
121
- return moment(this.startDate).year() !== moment().year() ? "DD MMM YYYY" : "DD MMM";
120
+ return dayjs(this.startDate).year() !== dayjs().year() ? "DD MMM YYYY" : "DD MMM";
122
121
  }
123
122
  }
124
123
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskEstimatedTime/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EA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U,EAAE,EAAE;gBACtC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;gBAC9C,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;gBAC5C,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC;YACzB,CAAC;WAAC;QAvCD,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAyCD,IAAW,UAAU;QACpB,OAAO,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,KAAK,KAAK,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC;IACnF,CAAC;CACD;AA9DmB;IAAlB,UAAU;oCAAsC;AAE9B;IAAlB,UAAU;iCAAgB;AAER;IAAlB,UAAU;wCAAyD;AAEjD;IAAlB,UAAU;sCAAuD;AAE/C;IAAlB,UAAU;6CAA2B;AAEnB;IAAlB,UAAU;gDAA8B;AAEtB;IAAlB,UAAU;sCAAwB;AAEhB;IAAlB,UAAU;sCAAwB;AAQ5B;IADN,MAAM;qCAqBL;AAGK;IADN,MAAM;mDAKL;AAGK;IADN,MAAM;6CAKL;AAGF;IADC,QAAQ;uCAGR"}
@@ -10,7 +10,7 @@ import FlagIcon from "@voplus/morpho-document/es/controls/data-icons/FlagIcon";
10
10
  import TaskDataIconBar from "../../controls/TaskDataIconBar";
11
11
  import TaskStatusLabel from "../../controls/TaskStatusLabel";
12
12
  import { autorun } from "mobx";
13
- import moment from "moment";
13
+ import dayjs from "dayjs";
14
14
  import { observe } from "@voplus/morpho-ui";
15
15
  import { useApplicationContext } from "@voplus/morpho-data";
16
16
  const DefaultTaskItem = (props) => {
@@ -29,7 +29,7 @@ const DefaultTaskItem = (props) => {
29
29
  React.createElement("span", { className: "margin-right-15" },
30
30
  React.createElement("span", { className: "margin-right-5" },
31
31
  React.createElement(FAIcon, { icon: faClock })),
32
- moment(task.dueDate).format("D MMM YYYY")))),
32
+ dayjs(task.dueDate).format("D MMM YYYY")))),
33
33
  React.createElement(TaskDataIconBar, { id: id })), tools: React.createElement(React.Fragment, null,
34
34
  React.createElement("div", { className: "member-avatar" },
35
35
  React.createElement(AvatarList, { organizationId: user.info.organizationId, editable: false, maxCount: 3, list: [...(task.members || []), ...(task.childMembers || [])] })),
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultTaskItem.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskItem/DefaultTaskItem.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,QAAQ,MAAM,yDAAyD,CAAC;AAC/E,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAE7D,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,eAAe,GAAG,CAAC,KAAoB,EAAE,EAAE;IAChD,MAAM,EA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,gBAAgB;4BAC/B,oBAAC,MAAM,IAAC,IAAI,EAAE,OAAO,GAAI,CACnB;wBACN,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CACpC,CACE,CACV;gBACD,oBAAC,eAAe,IAAC,EAAE,EAAE,EAAE,GAAI,CACX,EAElB,KAAK,EACJ,oBAAC,KAAK,CAAC,QAAQ;gBACd,6BAAK,SAAS,EAAC,eAAe;oBAC7B,oBAAC,UAAU,IACV,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EACxC,QAAQ,EAAE,KAAK,EACf,QAAQ,EAAE,CAAC,EACX,IAAI,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,IAAI,EAAE,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,YAAY,IAAI,EAAE,CAAC,CAAC,GAC5D,CACG;gBACN,oBAAC,eAAe,IACf,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,CAAC,IAAI,CAAC,QAAQ,EACxB,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE;wBAC9B,aAAa,CAAC,UAAU,CAAC,CAAC;wBAC1B,MAAM,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;4BAC7B,IAAI,EAAE,EAAE,UAAU,EAAE;4BACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC;yBACrD,CAAC,CAAC;wBACH,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;oBAChC,CAAC,GACA,CACc,KAEd,KAAK,CAAC,WAAW,GACpB,CACF,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"DefaultTaskItem.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskItem/DefaultTaskItem.tsx"],"names":[],"mappings":"AAAA,OAAO,wB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,CAAC,OAAO,IAAI,EAAE,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,YAAY,IAAI,EAAE,CAAC,CAAC,GAC5D,CACG;gBACN,oBAAC,eAAe,IACf,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,CAAC,IAAI,CAAC,QAAQ,EACxB,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE;wBAC9B,aAAa,CAAC,UAAU,CAAC,CAAC;wBAC1B,MAAM,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;4BAC7B,IAAI,EAAE,EAAE,UAAU,EAAE;4BACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC;yBACrD,CAAC,CAAC;wBACH,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;oBAChC,CAAC,GACA,CACc,KAEd,KAAK,CAAC,WAAW,GACpB,CACF,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -68,7 +68,8 @@ const TaskTabs = (props) => {
68
68
  label: "Properties",
69
69
  children: React.createElement(TaskProperties, { id: id }),
70
70
  });
71
- return observe(() => loaded ? (React.createElement(DocumentTabs, { id: id, active: preTasks ? "Tasks" : properties ? "Properties" : "Tasks", tabItems: items, onChange: (key) => setActiveKey(key) })) : (React.createElement(Skeleton, { active: true })));
71
+ return observe(() => (React.createElement(Skeleton, { active: true, loading: !loaded },
72
+ React.createElement(DocumentTabs, { id: id, active: preTasks ? "Tasks" : properties ? "Properties" : "Tasks", tabItems: items, onChange: (key) => setActiveKey(key) }))));
72
73
  };
73
74
  export default TaskTabs;
74
75
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,E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G,CAAC,GACnC,CACQ,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -60,20 +60,18 @@ const TaskTabView = ({ id }) => {
60
60
  : asideContext.openAside(AsideElement, { span: 12 })) }),
61
61
  React.createElement(Archive, null))),
62
62
  React.createElement(TaskStatusLabel, { status: taskStatus, editable: !task.readonly, onChange: (TaskStatus) => onEdit(TaskStatus), className: "margin-top-10" })), descriptionVisible: false }),
63
- task.loading ? (React.createElement("div", { className: "task-tab-description" },
64
- React.createElement(Skeleton, { active: true }))) : (React.createElement(DescriptionEditor, { id: id, description: task.description, readonly: task.readonly, padding: "0 0 0.75rem 0" })),
65
- task.loading ? (React.createElement("div", { className: "task-tab-description" },
66
- React.createElement(Skeleton, { active: true }))) : (!!(task.links && task.links.length) && (React.createElement("div", { className: "linked-dependent-tasks" },
67
- React.createElement("div", { className: "view-title" }, "Linked Dependent Tasks"),
68
- (task.links || [])
69
- .filter(({ type, right }) => type === "Dependent" && right.type === "Task")
70
- .map((item) => (React.createElement("div", { key: item.id, className: "linked-dependent-task-item" },
71
- React.createElement("span", null, item.right && item.right.id === id ? "By" : ""),
72
- React.createElement(SubTaskItem, { id: item.right
73
- ? item.right.id === id
74
- ? item.left.id
75
- : item.right.id
76
- : "", reload: true }))))))),
63
+ React.createElement(Skeleton, { active: true, loading: task.loading },
64
+ React.createElement(DescriptionEditor, { id: id, description: task.description, readonly: task.readonly, padding: "0 0 0.75rem 0" })),
65
+ React.createElement(Skeleton, { active: true, loading: task.loading },
66
+ "!!(task.links && task.links.length) && (",
67
+ React.createElement("div", { className: "linked-dependent-tasks" },
68
+ React.createElement("div", { className: "view-title" }, "Linked Dependent Tasks"),
69
+ (task.links || [])
70
+ .filter(({ type, right }) => type === "Dependent" && right.type === "Task")
71
+ .map((item) => (React.createElement("div", { key: item.id, className: "linked-dependent-task-item" },
72
+ React.createElement("span", null, item.right && item.right.id === id ? "By" : ""),
73
+ React.createElement(SubTaskItem, { id: item.right ? (item.right.id === id ? item.left.id : item.right.id) : "", reload: true }))))),
74
+ ")"),
77
75
  React.createElement(SubTaskList, { parentId: id, readonly: task.status === "Readonly" }))))))));
78
76
  /** reload data */
79
77
  function onReload() {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/pages/TaskTabView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAE9E,OAAO,WAAW,MAAM,uCAAuC,CAAC;AAChE,OAAO,WAAW,MAAM,8BAA8B,CAAC;AACvD,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,iBAAiB,MAAM,oCAAoC,CAAC;AACnE,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,8DAA8D;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AW,IAAC,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,MAAM,KAAK,UAAU,GAAI,CACnD,CACjB,CACI,CACQ,CACV,CACN,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;IAED,2BAA2B;IAC3B,KAAK,UAAU,MAAM,CAAC,UAAe;QACpC,aAAa,CAAC,UAAU,CAAC,CAAC;QAC1B,MAAM,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE;YACxB,IAAI,EAAE,EAAE,UAAU,EAAE;YACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC;SACrD,CAAC,CAAC;QACH,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAChC,CAAC;AACF,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
@@ -20,7 +20,7 @@ const WorkErrorItem = (props) => {
20
20
  React.createElement("div", null,
21
21
  React.createElement("div", { className: "workerror-info" }, workError.type),
22
22
  React.createElement(Tag, { color: "purple" }, workError.severity)),
23
- React.createElement("div", { className: "workerror-date" }, workError.incidentDate ? dayjs(workError.incidentDate).format("DD MMM yyyy") : null)),
23
+ React.createElement("div", { className: "workerror-date" }, workError.incidentDate ? dayjs(workError.incidentDate).format("DD MMM YYYY") : null)),
24
24
  React.createElement(Col, { flex: 2, className: "workerror-causers" },
25
25
  React.createElement(AvatarList, { organizationId: user.info.organizationId, list: workError.causers || [], editable: false }))),
26
26
  React.createElement("div", { className: classnames("hover-operate-icon", {
@@ -7,7 +7,7 @@ import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
7
7
  import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
8
8
  import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
9
9
  import WorkErrorMenu from "../../controls/WorkErrorMenu";
10
- import moment from "moment";
10
+ import dayjs from "dayjs";
11
11
  import { observe } from "@voplus/morpho-ui";
12
12
  import styles from "./index.less";
13
13
  import { useApplicationContext } from "@voplus/morpho-data";
@@ -19,18 +19,19 @@ const WorkErrorPropertiesView = (props) => {
19
19
  const { user } = useApplicationContext();
20
20
  return observe(() => (React.createElement(ViewContext.Provider, { value: view },
21
21
  React.createElement("div", { className: styles["workerror-properties-view"] },
22
- workerror.loaded !== true ? (React.createElement(Skeleton, { active: true })) : (React.createElement("div", { className: "workerror-header" },
23
- React.createElement("div", { className: "workerror-header-content" },
24
- React.createElement("div", { className: "workerror-header-title" },
25
- React.createElement("div", { className: "workerror-info" }, workerror.type),
26
- React.createElement(Tag, { color: "purple" }, workerror.severity)),
27
- React.createElement(ToolBar, { id: props.id, showMenu: false },
28
- React.createElement(Open, { size: "small", url: `/work-error/${props.id}` }),
29
- React.createElement(WorkErrorMenu, { id: props.id, closeAside: true }))),
30
- React.createElement("div", { className: "workerror-date" }, moment(workerror.due).format("DD MMM yyyy")),
31
- React.createElement(AvatarList, { organizationId: user.info.organizationId, list: workerror.causers || [], onChange: (ids) => {
32
- store.edit(id, { data: { CauserIds: ids }, error: "message" });
33
- } }))),
22
+ React.createElement(Skeleton, { active: true, loading: !workerror.loaded },
23
+ React.createElement("div", { className: "workerror-header" },
24
+ React.createElement("div", { className: "workerror-header-content" },
25
+ React.createElement("div", { className: "workerror-header-title" },
26
+ React.createElement("div", { className: "workerror-info" }, workerror.type),
27
+ React.createElement(Tag, { color: "purple" }, workerror.severity)),
28
+ React.createElement(ToolBar, { id: props.id, showMenu: false },
29
+ React.createElement(Open, { size: "small", url: `/work-error/${props.id}` }),
30
+ React.createElement(WorkErrorMenu, { id: props.id, closeAside: true }))),
31
+ React.createElement("div", { className: "workerror-date" }, dayjs(workerror.due).format("DD MMM YYYY")),
32
+ React.createElement(AvatarList, { organizationId: user.info.organizationId, list: workerror.causers || [], onChange: (ids) => {
33
+ store.edit(id, { data: { CauserIds: ids }, error: "message" });
34
+ } }))),
34
35
  React.createElement(WorkErrorTabs, { id: id, propertie: true })))));
35
36
  };
36
37
  export default WorkErrorPropertiesView;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkErrorPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC7E,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,aAAa,MAAM,8BAA8B,CAAC;AACzD,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,uBAAuB,GAAG,CAAC,KAKhC,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IACjC,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IACtE,MAAM,SAAS,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;IACnC,MAAM,KAAK,GAAG,iBAAiB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AAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;oBAChE,CAAC,GACA,CACG,CACN;YACD,oBAAC,aAAa,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,SAAG,CAC9B,CACgB,CACvB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkErrorPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC7E,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,aAAa,MAAM,8BAA8B,CAAC;AACzD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,uBAAuB,GAAG,CAAC,KAKhC,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IACjC,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IACtE,MAAM,SAAS,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;IACnC,MAAM,KAAK,GAAG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AC,CAAC;wBAChE,CAAC,GACA,CACG,CACI;YACX,oBAAC,aAAa,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,SAAG,CAC9B,CACgB,CACvB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -9,7 +9,7 @@ import WorkDataIconBar from "../../controls/WorkDataIconBar";
9
9
  import WorkStatusLabel from "../../controls/WorkStatusLabel";
10
10
  import classnames from "classnames";
11
11
  import { faAlarmExclamation } from "@fortawesome/pro-light-svg-icons";
12
- import moment from "moment";
12
+ import dayjs from "dayjs";
13
13
  import { observe } from "@voplus/morpho-ui";
14
14
  import "./index.less";
15
15
  import { useMetaStore } from "@voplus/morpho-document-core";
@@ -30,7 +30,7 @@ const WorkItem = (props) => {
30
30
  work.workStatus !== "Rejected" && (React.createElement(Tooltip, { title: "Due Date" },
31
31
  React.createElement("div", { className: "due-date-sub" },
32
32
  React.createElement(FAIcon, { icon: faAlarmExclamation }),
33
- React.createElement("span", { className: "margin-left-5" }, work.due ? moment(work.due).format("DD MMM yyyy") : "no data"))))),
33
+ React.createElement("span", { className: "margin-left-5" }, work.due ? dayjs(work.due).format("DD MMM YYYY") : "no data"))))),
34
34
  React.createElement("div", { className: classnames("hover-operate-icon", {
35
35
  show: hover,
36
36
  }) },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,q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AAS,CACvD,CACF,CACG,CACV,CACG;gBACN,6BACC,SAAS,EAAE,UAAU,CAAC,oBAAoB,EAAE;wBAC3C,IAAI,EAAE,KAAK;qBACX,CAAC;oBAEF,oBAAC,OAAO,IACP,EAAE,EAAE,EAAE,EACN,SAAS,EAAE;4BACV,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;yBAC/B;wBAED,oBAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAI,CACvC,CACL,CACU,GAEjB,CACF,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,cAAc,CAAC,UAAkB;QACzC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACvB,IAAI,EAAE,EAAE,UAAU,EAAE;YACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE;gBACvB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YAC9B,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,QAAQ,CAAC,YAAY,GAAG;IACvB,eAAe,EAAE,SAAS;CAC1B,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -6,7 +6,7 @@ import { Tooltip } from "antd";
6
6
  import UnitReference from "@voplus/morpho-org/es/controls/UnitReference/LoadedUnitReference";
7
7
  import WorkStatusDataIcon from "../WorkStatusDataIcon";
8
8
  import { faAlarmExclamation } from "@fortawesome/pro-light-svg-icons";
9
- import moment from "moment";
9
+ import dayjs from "dayjs";
10
10
  import { observe } from "@voplus/morpho-ui";
11
11
  import { useWork } from "../../../../data/work";
12
12
  const WorkDataIconBar = (props) => {
@@ -19,9 +19,9 @@ const WorkDataIconBar = (props) => {
19
19
  dueDateVisible && (React.createElement(Tooltip, { title: "Due Date" },
20
20
  React.createElement("span", { className: "due-date data-icon" },
21
21
  React.createElement(FAIcon, { icon: faAlarmExclamation }),
22
- work.due ? moment(work.due).format("DD MMM yyyy") : "no data"))),
22
+ work.due ? dayjs(work.due).format("DD MMM YYYY") : "no data"))),
23
23
  documentDateVisible && (React.createElement(Tooltip, { title: "Document Date" },
24
- React.createElement("span", { className: "data-icon" }, work.date ? moment(work.date).format("DD MMM yyyy") : "no data"))),
24
+ React.createElement("span", { className: "data-icon" }, work.date ? dayjs(work.date).format("DD MMM YYYY") : "no data"))),
25
25
  React.createElement(DocumentDataIcon, { id: id }),
26
26
  commentVisible && React.createElement(CommentDataIcon, { id: id }),
27
27
  React.createElement(UserQuickIcon, { id: id }),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/controls/WorkDataIconBar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,aAAa,MAAM,kEAAkE,CAAC;AAC7F,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,MAAM,eAAe,GAAG,CAAC,KAMxB,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,cAAc,EAAE,mBAAmB,EAAE,cAAc,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IACzF,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ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