@voplus/morpho-workspace 6.0.3 → 6.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js +3 -2
  2. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js.map +1 -1
  3. package/es/modules/meeting/components/MeetingDescription/index.js +2 -2
  4. package/es/modules/meeting/components/MeetingDescription/index.js.map +1 -1
  5. package/es/modules/meeting/components/MeetingHeader/index.js +6 -4
  6. package/es/modules/meeting/components/MeetingHeader/index.js.map +1 -1
  7. package/es/modules/meeting/components/MeetingHeader/state.d.ts +6 -0
  8. package/es/modules/meeting/components/MeetingHeader/state.js +26 -0
  9. package/es/modules/meeting/components/MeetingHeader/state.js.map +1 -0
  10. package/es/modules/meeting/components/MeetingItem/index.js +11 -11
  11. package/es/modules/meeting/components/MeetingItem/index.js.map +1 -1
  12. package/es/modules/meeting/components/MeetingProperties/index.js +6 -4
  13. package/es/modules/meeting/components/MeetingProperties/index.js.map +1 -1
  14. package/es/modules/meeting/components/MeetingProperties/state.d.ts +6 -0
  15. package/es/modules/meeting/components/MeetingProperties/state.js +26 -0
  16. package/es/modules/meeting/components/MeetingProperties/state.js.map +1 -0
  17. package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js +2 -2
  18. package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js.map +1 -1
  19. package/es/modules/meeting/components/NewMeetingForm/index.js +4 -4
  20. package/es/modules/meeting/components/NewMeetingForm/index.js.map +1 -1
  21. package/es/modules/meeting/pages/MeetingPrintView/index.js +5 -4
  22. package/es/modules/meeting/pages/MeetingPrintView/index.js.map +1 -1
  23. package/es/modules/meeting/pages/MeetingTabView/index.js +2 -2
  24. package/es/modules/meeting/pages/MeetingTabView/index.js.map +1 -1
  25. package/es/modules/notification/components/DocumentNotificationCard/index.js +3 -1
  26. package/es/modules/notification/components/DocumentNotificationCard/index.js.map +1 -1
  27. package/es/modules/space/components/Notes/NewNoteDialog/index.js +1 -2
  28. package/es/modules/space/components/Notes/NewNoteDialog/index.js.map +1 -1
  29. package/es/modules/space/components/Notes/TextNoteCard/index.js +9 -9
  30. package/es/modules/space/components/Notes/TextNoteCard/index.js.map +1 -1
  31. package/es/modules/space/components/Notifications/index.js +11 -9
  32. package/es/modules/space/components/Notifications/index.js.map +1 -1
  33. package/es/modules/tasks/components/NewTaskForm/index.js +2 -2
  34. package/es/modules/tasks/components/NewTaskForm/index.js.map +1 -1
  35. package/es/modules/tasks/components/TaskEstimatedTime/index.js +2 -2
  36. package/es/modules/tasks/components/TaskEstimatedTime/index.js.map +1 -1
  37. package/es/modules/tasks/components/TaskTabs/index.js +2 -1
  38. package/es/modules/tasks/components/TaskTabs/index.js.map +1 -1
  39. package/es/modules/tasks/pages/TaskTabView/index.js +12 -14
  40. package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -1
  41. package/es/modules/work/components/WorkErrorPropertiesView/index.js +13 -12
  42. package/es/modules/work/components/WorkErrorPropertiesView/index.js.map +1 -1
  43. package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js +32 -31
  44. package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js.map +1 -1
  45. package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js +2 -3
  46. package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js.map +1 -1
  47. package/es/modules/work/work-type/components/WorkTypeStats/WorkTypeStatsCard.js +3 -2
  48. package/es/modules/work/work-type/components/WorkTypeStats/WorkTypeStatsCard.js.map +1 -1
  49. package/es/modules/work/work-type/components/WorkTypeStats/index.js +3 -2
  50. package/es/modules/work/work-type/components/WorkTypeStats/index.js.map +1 -1
  51. package/package.json +1 -1
  52. package/es/data/contexts/StoreContext/index.d.ts +0 -3
  53. package/es/data/contexts/StoreContext/index.js +0 -4
  54. package/es/data/contexts/StoreContext/index.js.map +0 -1
@@ -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":["../../../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AC,GAAI,CAChF,CACN;QACD,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"}
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,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,mBAAmB,MAAM,2DAA2D,CAAC;AAC5F,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,MAAM,MAAM,oDAAoD,CAAC;AACxE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAEtD,MAAM,YAAY,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC9C,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,aAAa;IACb,MAAM,IAAI,GAAG,OAAO,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,E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AAI,IAAC,GAAG,EAAE,aAAa,KAAK,CAAC,EAAE,EAAE,GAAI,CAC7B,CACL;gBACN,oBAAC,MAAM,IAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,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/Notifications/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAExC,OAAO,gBAAgB,MAAM,8DAA8D,CAAC;AAE5F,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,aAAa,GAAG,CAAC,KAAqC,EAAE,EAAE;IAC/D,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IACrC,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAEtC,SAAS,CAAC,GAAG,EAAE;QACd,8DAA8D;QAC9D,IAAI,MAAM,CAAC,MAAM,KAAK,UAAU,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC;YACnD,KAAK;iBACH,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC;iBACnB,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE;gBACd,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,kBAAkB,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,EAAE,EA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CACD,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -45,10 +45,10 @@ const NewTaskForm = (props) => {
45
45
  React.createElement(Row, { 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;AA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AC;QACzC,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;IACD,SAAS,UAAU;QAClB,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 @@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AC;YAC9D,MAAM,IAAI,KAAK,CAAC,SAAS,IAAI,KAAK,CAAC,OAAO,IAAI,CAC9C,8BAAM,SAAS,EAAC,eAAe,IAC7B,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"}
@@ -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,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,KAAK,MAAM,6CAA6C,CAAC;AAChE,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAEzC,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,MAAM,QAAQ,GAAG,CAAC,KAA2C,EAAE,EAAE;IAChE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IACjC,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC9C,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,EAAsB,CAAC;IACjE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChD,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,EAAU,CAAC;IAErD,SAAS,CAAC,GAAG,EAAE;QACd,SAAS,CA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C,OAAO,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,OAAO,EAChE,QAAQ,EAAE,KAAK,EACf,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,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,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,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,EAExE,MAAM,SACL,CACG,CACN,CAAC,CACE;wBAEI;gBACX,oBAAC,WAAW,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"}
@@ -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" }, dayjs(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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C,QAAQ,CAAO,CACzC;oBAEN,oBAAC,OAAO,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK;wBACrC,oBAAC,IAAI,IAAC,IAAI,EAAC,OAAO,EAAC,GAAG,EAAE,eAAe,KAAK,CAAC,EAAE,EAAE,GAAI;wBACrD,oBAAC,aAAa,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CACxC,CACL;gBACN,6BAAK,SAAS,EAAC,gBAAgB,IAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAO;gBAClF,oBAAC,UAAU,IACV,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EACxC,IAAI,EAAE,SAAS,CAAC,OAAO,IAAI,EAAE,EAC7B,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE;wBACjB,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,EAAE,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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AAC,OAAO,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK;4BACrC,oBAAC,IAAI,IAAC,IAAI,EAAC,OAAO,EAAC,GAAG,EAAE,eAAe,KAAK,CAAC,EAAE,EAAE,GAAI;4BACrD,oBAAC,aAAa,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CACxC,CACL;oBACN,6BAAK,SAAS,EAAC,gBAAgB,IAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAO;oBAClF,oBAAC,UAAU,IACV,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EACxC,IAAI,EAAE,SAAS,CAAC,OAAO,IAAI,EAAE,EAC7B,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE;4BACjB,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,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"}
@@ -23,37 +23,38 @@ const WorkScheduleItem = (props) => {
23
23
  return observe(() => {
24
24
  var _a, _b, _c, _d, _e, _f;
25
25
  return (React.createElement("div", { className: classnames(styles["work-schedule-item"]), onClick: onQuickView, onMouseOver: () => setHover(true), onMouseLeave: () => setHover(false) },
26
- workSchedule.loading ? (React.createElement(Skeleton, { avatar: avatar, paragraph: { rows: 1 } })) : (React.createElement(ColumnItem, null,
27
- React.createElement(ColumnItemCol, { span: 10 },
28
- React.createElement("div", { className: "work-schedule-item-name" }, `${(_a = workSchedule.workType) === null || _a === void 0 ? void 0 : _a.name}`),
29
- React.createElement("div", { className: "text-sm text-gray-500 margin-right-15" },
30
- React.createElement(FAIcon, { icon: faIdBadge, className: "margin-right-5" }), (_b = workSchedule.contact) === null || _b === void 0 ? void 0 :
31
- _b.name)),
32
- ((_c = workSchedule === null || workSchedule === void 0 ? void 0 : workSchedule.work) === null || _c === void 0 ? void 0 : _c.id) ? (React.createElement(React.Fragment, null,
33
- React.createElement(ColumnItemCol, { span: 8, title: "Work" },
34
- React.createElement("div", { className: "work-schedule-item-data-info" }, (_d = workSchedule.work) === null || _d === void 0 ? void 0 : _d.name)),
35
- React.createElement(ColumnItemCol, { span: 3, title: "Work Status" },
36
- React.createElement("div", { className: "work-schedule-item-data-info" }, (_e = workSchedule.work) === null || _e === void 0 ? void 0 : _e.status)),
37
- React.createElement(ColumnItemCol, { span: 3, align: "flex-end" },
38
- React.createElement("div", { className: classnames("work-schedule-item-tool", { show: hover }), onClick: (e) => {
39
- e.stopPropagation();
40
- setHover(false);
41
- } },
42
- React.createElement(ToolBar, { id: id, showMenu: false },
43
- React.createElement(Open, { size: "middle", url: meta.getRoute(workSchedule) }),
44
- React.createElement(WorkScheduleMenu, { id: id, closeAside: true })))))) : (React.createElement(React.Fragment, null,
45
- React.createElement(ColumnItemCol, { span: 7, title: "Owner(s)" },
46
- React.createElement("div", { className: "work-schedule-item-data-info text-sm text-gray-500 margin-right-15" }, (_f = workSchedule.owners) === null || _f === void 0 ? void 0 : _f.map((item) => (React.createElement("span", { key: item.id, className: "data-icon" },
47
- React.createElement(UnitReference, { unit: item })))))),
48
- React.createElement(ColumnItemCol, { span: 7, align: "flex-end" },
49
- React.createElement(UpDownStatusBar, { className: classnames("work-schedule-item-menus", { hide: hover }), upNode: React.createElement("div", { className: classnames("flex items-baseline text-xl font-semibold commission-amount") }, workSchedule.schedule && (React.createElement("span", null, dayjs(workSchedule === null || workSchedule === void 0 ? void 0 : workSchedule.schedule).format("YYYY-MM-DD")))), downNode: React.createElement("div", { className: "work-schedule-item-schedule" }, workSchedule.status) }),
50
- React.createElement("div", { className: classnames("work-schedule-item-tool", { show: hover }), onClick: (e) => {
51
- e.stopPropagation();
52
- setHover(false);
53
- } },
54
- React.createElement(ToolBar, { id: id, showMenu: false },
55
- React.createElement(Open, { size: "middle", url: meta.getRoute(workSchedule) }),
56
- React.createElement(WorkScheduleMenu, { id: id, closeAside: true })))))))),
26
+ React.createElement(Skeleton, { avatar: avatar, paragraph: { rows: 1 }, loading: workSchedule.loading },
27
+ React.createElement(ColumnItem, null,
28
+ React.createElement(ColumnItemCol, { span: 10 },
29
+ React.createElement("div", { className: "work-schedule-item-name" }, `${(_a = workSchedule.workType) === null || _a === void 0 ? void 0 : _a.name}`),
30
+ React.createElement("div", { className: "text-sm text-gray-500 margin-right-15" },
31
+ React.createElement(FAIcon, { icon: faIdBadge, className: "margin-right-5" }), (_b = workSchedule.contact) === null || _b === void 0 ? void 0 :
32
+ _b.name)),
33
+ ((_c = workSchedule === null || workSchedule === void 0 ? void 0 : workSchedule.work) === null || _c === void 0 ? void 0 : _c.id) ? (React.createElement(React.Fragment, null,
34
+ React.createElement(ColumnItemCol, { span: 8, title: "Work" },
35
+ React.createElement("div", { className: "work-schedule-item-data-info" }, (_d = workSchedule.work) === null || _d === void 0 ? void 0 : _d.name)),
36
+ React.createElement(ColumnItemCol, { span: 3, title: "Work Status" },
37
+ React.createElement("div", { className: "work-schedule-item-data-info" }, (_e = workSchedule.work) === null || _e === void 0 ? void 0 : _e.status)),
38
+ React.createElement(ColumnItemCol, { span: 3, align: "flex-end" },
39
+ React.createElement("div", { className: classnames("work-schedule-item-tool", { show: hover }), onClick: (e) => {
40
+ e.stopPropagation();
41
+ setHover(false);
42
+ } },
43
+ React.createElement(ToolBar, { id: id, showMenu: false },
44
+ React.createElement(Open, { size: "middle", url: meta.getRoute(workSchedule) }),
45
+ React.createElement(WorkScheduleMenu, { id: id, closeAside: true })))))) : (React.createElement(React.Fragment, null,
46
+ React.createElement(ColumnItemCol, { span: 7, title: "Owner(s)" },
47
+ React.createElement("div", { className: "work-schedule-item-data-info text-sm text-gray-500 margin-right-15" }, (_f = workSchedule.owners) === null || _f === void 0 ? void 0 : _f.map((item) => (React.createElement("span", { key: item.id, className: "data-icon" },
48
+ React.createElement(UnitReference, { unit: item })))))),
49
+ React.createElement(ColumnItemCol, { span: 7, align: "flex-end" },
50
+ React.createElement(UpDownStatusBar, { className: classnames("work-schedule-item-menus", { hide: hover }), upNode: React.createElement("div", { className: classnames("flex items-baseline text-xl font-semibold commission-amount") }, workSchedule.schedule && (React.createElement("span", null, dayjs(workSchedule === null || workSchedule === void 0 ? void 0 : workSchedule.schedule).format("YYYY-MM-DD")))), downNode: React.createElement("div", { className: "work-schedule-item-schedule" }, workSchedule.status) }),
51
+ React.createElement("div", { className: classnames("work-schedule-item-tool", { show: hover }), onClick: (e) => {
52
+ e.stopPropagation();
53
+ setHover(false);
54
+ } },
55
+ React.createElement(ToolBar, { id: id, showMenu: false },
56
+ React.createElement(Open, { size: "middle", url: meta.getRoute(workSchedule) }),
57
+ React.createElement(WorkScheduleMenu, { id: id, closeAside: true })))))))),
57
58
  visibleQuickView && (React.createElement(WorkScheduleQuickViewDialog, { id: id, visible: true, onCancel: onQuickView }))));
58
59
  });
59
60
  /** Quick View */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,eAAe,IA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C,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,YAAmB,CAAC,GAAI;gCAC/D,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CACrC,CACL,CACS,CACd,CACH,CACW,CACb;YACA,gBAAgB,IAAI,CACpB,oBAAC,2BAA2B,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,GAAI,CAC7E,CACI,CACN,CAAA;KAAA,CAAC,CAAC;IAEH,iBAAiB;IACjB,SAAS,WAAW;QACnB,IAAI,CAAC,SAAS;YAAE,OAAO;QACvB,mBAAmB,CAAC,CAAC,gBAAgB,CAAC,CAAC;IACxC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,aAAa,MAAM,kEAAkE,CAAC;AAC7F,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AA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CAC7E,CACI,CACN,CAAA;KAAA,CAAC,CAAC;IAEH,iBAAiB;IACjB,SAAS,WAAW;QACnB,IAAI,CAAC,SAAS;YAAE,OAAO;QACvB,mBAAmB,CAAC,CAAC,gBAAgB,CAAC,CAAC;IACxC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -7,9 +7,8 @@ import { useWorkType } from "../../../../../data/worktype";
7
7
  const WorkTypePropertiesCard = (props) => {
8
8
  const { id, workTypeProperties } = props;
9
9
  const worktype = useWorkType(id);
10
- return observe(() => {
11
- return worktype.loading ? (React.createElement(Skeleton, { active: true })) : (React.createElement(PropertiesCard, { title: "Work Type Details", cardList: workTypeProperties, cardItem: (item) => React.createElement(Properties, { id: id, propertiesName: item }) }));
12
- });
10
+ return observe(() => (React.createElement(Skeleton, { active: true, loading: worktype.loading },
11
+ React.createElement(PropertiesCard, { title: "Work Type Details", cardList: workTypeProperties, cardItem: (item) => React.createElement(Properties, { id: id, propertiesName: item }) }))));
13
12
  };
14
13
  WorkTypePropertiesCard.defaultProps = {
15
14
  workTypeProperties: [
@@ -1 +1 @@
1
- {"version":3,"file":"WorkTypePropertiesCard.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAsC,MAAM,cAAc,CAAC;AAElE,OAAO,cAAc,MAAM,8CAA8C,CAAC;AAC1E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,MAAM,sBAAsB,GAAG,CAAC,KAG/B,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IACzC,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IAEjC,OAAO,OAAO,CAAC,GAAG,EAAE;QACnB,OAAO,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CACzB,oBAAC,QAAQ,IAAC,MAAM,SAAG,CACnB,CAAC,CAAC,CAAC,CACH,oBAAC,cAAc,IACd,KAAK,EAAC,mBAAmB,EACzB,QAAQ,EAAE,kBAAkB,EAC5B,QAAQ,EAAE,CAAC,IAA4B,EAAE,EAAE,CAAC,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,GAAI,GACvF,CACF,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,sBAAsB,CAAC,YAAY,GAAG;IACrC,kBAAkB,EAAE;QACnB,EAAE,GAAG,EAAE,YAAY,EAAE;QACrB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,QAAQ,EAAE;QACjB,EAAE,GAAG,EAAE,gBAAgB,EAAE;QACzB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,aAAa,EAAE;QACtB,EAAE,GAAG,EAAE,WAAW,EAAE;QACpB,EAAE,GAAG,EAAE,WAAW,EAAE;QACpB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,aAAa,EAAE;KACtB;CACD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"WorkTypePropertiesCard.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAsC,MAAM,cAAc,CAAC;AAElE,OAAO,cAAc,MAAM,8CAA8C,CAAC;AAC1E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,MAAM,sBAAsB,GAAG,CAAC,KAG/B,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IACzC,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IAEjC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzC,oBAAC,cAAc,IACd,KAAK,EAAC,mBAAmB,EACzB,QAAQ,EAAE,kBAAkB,EAC5B,QAAQ,EAAE,CAAC,IAA4B,EAAE,EAAE,CAAC,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,GAAI,GACvF,CACQ,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,sBAAsB,CAAC,YAAY,GAAG;IACrC,kBAAkB,EAAE;QACnB,EAAE,GAAG,EAAE,YAAY,EAAE;QACrB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,QAAQ,EAAE;QACjB,EAAE,GAAG,EAAE,gBAAgB,EAAE;QACzB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,aAAa,EAAE;QACtB,EAAE,GAAG,EAAE,WAAW,EAAE;QACpB,EAAE,GAAG,EAAE,WAAW,EAAE;QACpB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,aAAa,EAAE;KACtB;CACD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -8,8 +8,9 @@ const WorkTypeStatsCard = (props) => {
8
8
  return observe(() => (React.createElement("div", { className: "mt-5 overflow-hidden bg-white shadow sm:rounded-lg", style: props.style },
9
9
  React.createElement("div", { className: "px-4 py-4 sm:px-6" },
10
10
  React.createElement("h3", { className: "text-lg font-medium leading-6 text-gray-900" }, "Work Stats")),
11
- React.createElement("div", { className: "border-t border-gray-200" }, state.estimatedLoaded ? (React.createElement(WorktypeCompleteWorksChart, { id: props.id })) : (React.createElement("div", { className: "skelecton-card" },
12
- React.createElement(Skeleton, { active: true })))))));
11
+ React.createElement("div", { className: "border-t border-gray-200" },
12
+ React.createElement(Skeleton, { active: true, loading: !state.estimatedLoaded },
13
+ React.createElement(WorktypeCompleteWorksChart, { id: props.id }))))));
13
14
  };
14
15
  export default WorkTypeStatsCard;
15
16
  //# sourceMappingURL=WorkTypeStatsCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WorkTypeStatsCard.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeStats/WorkTypeStatsCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,0BAA0B,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,iBAAiB,GAAG,CAAC,KAAkD,EAAE,EAAE;IAChF,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,oDAAoD,EAAC,KAAK,EAAE,KAAK,CAAC,KAAK;QACrF,6BAAK,SAAS,EAAC,mBAAmB;YACjC,4BAAI,SAAS,EAAC,6CAA6C,iBAAgB,CACtE;QACN,6BAAK,SAAS,EAAC,0BAA0B,IACvC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,CACxB,oBAAC,0BAA0B,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,CAC5C,CAAC,CAAC,CAAC,CACH,6BAAK,SAAS,EAAC,gBAAgB;YAC9B,oBAAC,QAAQ,IAAC,MAAM,SAAG,CACd,CACN,CACI,CACD,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"WorkTypeStatsCard.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeStats/WorkTypeStatsCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,0BAA0B,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,iBAAiB,GAAG,CAAC,KAAkD,EAAE,EAAE;IAChF,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,oDAAoD,EAAC,KAAK,EAAE,KAAK,CAAC,KAAK;QACrF,6BAAK,SAAS,EAAC,mBAAmB;YACjC,4BAAI,SAAS,EAAC,6CAA6C,iBAAgB,CACtE;QACN,6BAAK,SAAS,EAAC,0BAA0B;YACxC,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,CAAC,KAAK,CAAC,eAAe;gBAC/C,oBAAC,0BAA0B,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,CAClC,CACN,CACD,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -9,8 +9,9 @@ const WorkTypeStats = (props) => {
9
9
  return observe(() => (React.createElement("div", { className: styles["workstats"] },
10
10
  React.createElement("div", { className: "workstats-head" }, "Work Stats"),
11
11
  React.createElement("div", { className: "workstats-content" },
12
- React.createElement(Row, { gutter: 24 }, props.id && (React.createElement(Col, { span: 24 }, state.estimatedLoaded ? (React.createElement(WorktypeCompleteWorksChart, { id: props.id })) : (React.createElement("div", { className: "skelecton-card" },
13
- React.createElement(Skeleton, { active: true }))))))))));
12
+ React.createElement(Row, { gutter: 24 }, props.id && (React.createElement(Col, { span: 24 },
13
+ React.createElement(Skeleton, { active: true, loading: !state.estimatedLoaded },
14
+ React.createElement(WorktypeCompleteWorksChart, { id: props.id })))))))));
14
15
  };
15
16
  export default WorkTypeStats;
16
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeStats/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAC1C,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,0BAA0B,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,aAAa,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC/C,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC;QAClC,6BAAK,SAAS,EAAC,gBAAgB,iBAAiB;QAChD,6BAAK,SAAS,EAAC,mBAAmB;YACjC,oBAAC,GAAG,IAAC,MAAM,EAAE,EAAE,IACb,KAAK,CAAC,EAAE,IAAI,CACZ,oBAAC,GAAG,IAAC,IAAI,EAAE,EAAE,IACX,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,CACxB,oBAAC,0BAA0B,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,CAC5C,CAAC,CAAC,CAAC,CACH,6BAAK,SAAS,EAAC,gBAAgB;gBAC9B,oBAAC,QAAQ,IAAC,MAAM,SAAG,CACd,CACN,CACI,CACN,CACI,CACD,CACD,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeStats/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAC1C,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,0BAA0B,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,aAAa,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC/C,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC;QAClC,6BAAK,SAAS,EAAC,gBAAgB,iBAAiB;QAChD,6BAAK,SAAS,EAAC,mBAAmB;YACjC,oBAAC,GAAG,IAAC,MAAM,EAAE,EAAE,IACb,KAAK,CAAC,EAAE,IAAI,CACZ,oBAAC,GAAG,IAAC,IAAI,EAAE,EAAE;gBACZ,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,CAAC,KAAK,CAAC,eAAe;oBAC/C,oBAAC,0BAA0B,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,CAClC,CACN,CACN,CACI,CACD,CACD,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.3",
3
+ "version": "6.0.5",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,3 +0,0 @@
1
- import moment from "moment";
2
- export declare const localFormat: (time?: any, format?: string) => string;
3
- export declare const toLocal: (time: any) => moment.Moment;
@@ -1,4 +0,0 @@
1
- import moment from "moment";
2
- export const localFormat = (time, format) => moment(moment.utc(time).toDate()).format(format);
3
- export const toLocal = (time) => moment(moment.utc(time).valueOf());
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/data/contexts/StoreContext/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,IAAU,EAAE,MAAe,EAAE,EAAE,CAC1D,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAClD,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,IAAS,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC"}