@voplus/morpho-workspace 1.3.1 → 1.3.3

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 (129) hide show
  1. package/es/data/notification/interfaces.d.ts +2 -1
  2. package/es/data/work/WorkStore.d.ts +12 -0
  3. package/es/data/work/WorkStore.js +21 -0
  4. package/es/data/work/WorkStore.js.map +1 -1
  5. package/es/data/work/interfaces.d.ts +17 -1
  6. package/es/data/workerror/types.d.ts +4 -0
  7. package/es/data/worktype/WorkTypeStore.d.ts +6 -0
  8. package/es/data/worktype/WorkTypeStore.js +22 -0
  9. package/es/data/worktype/WorkTypeStore.js.map +1 -1
  10. package/es/data/worktype/worktype-events/index.d.ts +3 -0
  11. package/es/data/worktype/worktype-events/index.js +4 -0
  12. package/es/data/worktype/worktype-events/index.js.map +1 -0
  13. package/es/data/worktype/worktype-events/useAutoUpdateListData.d.ts +4 -0
  14. package/es/data/worktype/worktype-events/useAutoUpdateListData.js +15 -0
  15. package/es/data/worktype/worktype-events/useAutoUpdateListData.js.map +1 -0
  16. package/es/data/worktype/worktype-events/useOnDeleteWorkType.d.ts +4 -0
  17. package/es/data/worktype/worktype-events/useOnDeleteWorkType.js +16 -0
  18. package/es/data/worktype/worktype-events/useOnDeleteWorkType.js.map +1 -0
  19. package/es/data/worktype/worktype-events/useOnNewWorkType.d.ts +4 -0
  20. package/es/data/worktype/worktype-events/useOnNewWorkType.js +17 -0
  21. package/es/data/worktype/worktype-events/useOnNewWorkType.js.map +1 -0
  22. package/es/modules/notification/components/{MentionNotificationCard → DocumentNotificationCard}/index.d.ts +2 -2
  23. package/es/modules/notification/components/{MentionNotificationCard → DocumentNotificationCard}/index.js +3 -3
  24. package/es/modules/notification/components/DocumentNotificationCard/index.js.map +1 -0
  25. package/es/modules/notification/components/NotificationList/index.js +2 -2
  26. package/es/modules/notification/components/NotificationList/index.js.map +1 -1
  27. package/es/modules/work/components/NewWorkForm/index.d.ts +10 -0
  28. package/es/modules/work/components/NewWorkForm/index.js +60 -0
  29. package/es/modules/work/components/NewWorkForm/index.js.map +1 -0
  30. package/es/modules/work/components/NewWorkForm/index.less +17 -0
  31. package/es/modules/work/components/SubWorkList/index.d.ts +4 -0
  32. package/es/modules/work/components/SubWorkList/index.js +42 -0
  33. package/es/modules/work/components/SubWorkList/index.js.map +1 -0
  34. package/es/modules/work/components/SubWorkList/index.less +7 -0
  35. package/es/modules/work/components/WorkErrorList/index.js +0 -1
  36. package/es/modules/work/components/WorkErrorList/index.js.map +1 -1
  37. package/es/modules/work/components/WorkItem/index.d.ts +1 -3
  38. package/es/modules/work/components/WorkItem/index.js +20 -4
  39. package/es/modules/work/components/WorkItem/index.js.map +1 -1
  40. package/es/modules/work/components/WorkItem/index.less +11 -0
  41. package/es/modules/work/components/WorkList/index.d.ts +3 -1
  42. package/es/modules/work/components/WorkList/index.js +35 -11
  43. package/es/modules/work/components/WorkList/index.js.map +1 -1
  44. package/es/modules/work/components/WorkPropertiesView/index.js +8 -2
  45. package/es/modules/work/components/WorkPropertiesView/index.js.map +1 -1
  46. package/es/modules/work/components/WorkTabs/index.js +10 -1
  47. package/es/modules/work/components/WorkTabs/index.js.map +1 -1
  48. package/es/modules/work/components/WorksProperties/index.js +4 -2
  49. package/es/modules/work/components/WorksProperties/index.js.map +1 -1
  50. package/es/modules/work/controls/WorkMenu/Accept.d.ts +8 -0
  51. package/es/modules/work/controls/WorkMenu/Accept.js +31 -0
  52. package/es/modules/work/controls/WorkMenu/Accept.js.map +1 -0
  53. package/es/modules/work/controls/WorkMenu/Reject.d.ts +8 -0
  54. package/es/modules/work/controls/WorkMenu/Reject.js +31 -0
  55. package/es/modules/work/controls/WorkMenu/Reject.js.map +1 -0
  56. package/es/modules/work/controls/WorkMenu/Send.d.ts +8 -0
  57. package/es/modules/work/controls/WorkMenu/Send.js +31 -0
  58. package/es/modules/work/controls/WorkMenu/Send.js.map +1 -0
  59. package/es/modules/work/controls/WorkMenu/index.d.ts +7 -0
  60. package/es/modules/work/controls/WorkMenu/index.js +27 -0
  61. package/es/modules/work/controls/WorkMenu/index.js.map +1 -0
  62. package/es/modules/work/pages/WorkDefaultView/index.less +1 -2
  63. package/es/modules/workspace/components/WorkspaceCardList/index.js +0 -1
  64. package/es/modules/workspace/components/WorkspaceCardList/index.js.map +1 -1
  65. package/es/modules/workspace/components/WorkspacePropertiesView/index.js +11 -5
  66. package/es/modules/workspace/components/WorkspacePropertiesView/index.js.map +1 -1
  67. package/es/modules/workspace/components/WorkspaceTabs/index.d.ts +5 -0
  68. package/es/modules/workspace/components/WorkspaceTabs/index.js +26 -0
  69. package/es/modules/workspace/components/WorkspaceTabs/index.js.map +1 -0
  70. package/es/modules/workspace/pages/WorkspaceDefaultView/index.js +1 -1
  71. package/es/modules/workspace/pages/WorkspaceDefaultView/index.js.map +1 -1
  72. package/es/modules/workspace/pages/WorkspacePage/index.js +1 -1
  73. package/es/modules/workspace/pages/WorkspacePage/index.js.map +1 -1
  74. package/es/modules/worktype/components/NewTypeForm/index.d.ts +10 -0
  75. package/es/modules/worktype/components/NewTypeForm/index.js +44 -0
  76. package/es/modules/worktype/components/NewTypeForm/index.js.map +1 -0
  77. package/es/modules/worktype/components/NewTypeForm/index.less +5 -0
  78. package/es/modules/worktype/components/NewTypeForm/state.d.ts +11 -0
  79. package/es/modules/worktype/components/NewTypeForm/state.js +41 -0
  80. package/es/modules/worktype/components/NewTypeForm/state.js.map +1 -0
  81. package/es/modules/worktype/components/WorkTypeCardList/index.d.ts +4 -11
  82. package/es/modules/worktype/components/WorkTypeCardList/index.js +3 -17
  83. package/es/modules/worktype/components/WorkTypeCardList/index.js.map +1 -1
  84. package/es/modules/worktype/components/WorkTypeCardList/index.less +7 -9
  85. package/es/modules/worktype/components/WorkTypeItem/index.d.ts +1 -1
  86. package/es/modules/worktype/components/WorkTypeItem/index.js +14 -2
  87. package/es/modules/worktype/components/WorkTypeItem/index.js.map +1 -1
  88. package/es/modules/worktype/components/WorkTypeItem/index.less +13 -0
  89. package/es/modules/worktype/components/WorkTypeList/index.d.ts +9 -0
  90. package/es/modules/worktype/components/WorkTypeList/index.js +44 -0
  91. package/es/modules/worktype/components/WorkTypeList/index.js.map +1 -0
  92. package/es/modules/worktype/components/WorkTypeProperties/index.js +19 -20
  93. package/es/modules/worktype/components/WorkTypeProperties/index.js.map +1 -1
  94. package/es/modules/worktype/components/WorkTypeProperties/state.d.ts +2 -3
  95. package/es/modules/worktype/components/WorkTypeProperties/state.js +7 -15
  96. package/es/modules/worktype/components/WorkTypeProperties/state.js.map +1 -1
  97. package/es/modules/worktype/components/WorkTypePropertiesView/index.js +13 -8
  98. package/es/modules/worktype/components/WorkTypePropertiesView/index.js.map +1 -1
  99. package/es/modules/worktype/components/WorkTypeQA/index.js +37 -36
  100. package/es/modules/worktype/components/WorkTypeQA/index.js.map +1 -1
  101. package/es/modules/worktype/components/WorkTypeQA/index.less +8 -1
  102. package/es/modules/worktype/components/WorkTypeTabs/index.js +1 -1
  103. package/es/modules/worktype/components/WorkTypeTabs/index.js.map +1 -1
  104. package/es/modules/worktype/controls/ToolBar/index.d.ts +10 -0
  105. package/es/modules/worktype/controls/ToolBar/index.js +20 -0
  106. package/es/modules/worktype/controls/ToolBar/index.js.map +1 -0
  107. package/es/modules/worktype/controls/ToolBar/index.less +55 -0
  108. package/es/modules/worktype/controls/ToolBar/state.d.ts +36 -0
  109. package/es/modules/worktype/controls/ToolBar/state.js +57 -0
  110. package/es/modules/worktype/controls/ToolBar/state.js.map +1 -0
  111. package/es/modules/worktype/controls/WorkTypeMenu/index.d.ts +14 -0
  112. package/es/modules/worktype/controls/WorkTypeMenu/index.js +26 -0
  113. package/es/modules/worktype/controls/WorkTypeMenu/index.js.map +1 -0
  114. package/es/modules/worktype/controls/WorkTypeMenu/index.less +0 -0
  115. package/es/modules/worktype/pages/WorkTypeDefaultView/index.less +4 -3
  116. package/es/pages/Space/components/Tasks/index.d.ts +2 -2
  117. package/es/pages/Space/components/Tasks/index.js +50 -11
  118. package/es/pages/Space/components/Tasks/index.js.map +1 -1
  119. package/es/pages/Space/components/Works/index.d.ts +2 -2
  120. package/es/pages/Space/components/Works/index.js +13 -37
  121. package/es/pages/Space/components/Works/index.js.map +1 -1
  122. package/es/pages/Space/pages/MySpace/index.js +43 -12
  123. package/es/pages/Space/pages/MySpace/index.js.map +1 -1
  124. package/es/pages/Space/pages/MySpace/state.d.ts +27 -6
  125. package/es/pages/Space/pages/MySpace/state.js +114 -24
  126. package/es/pages/Space/pages/MySpace/state.js.map +1 -1
  127. package/package.json +1 -1
  128. package/es/modules/notification/components/MentionNotificationCard/index.js.map +0 -1
  129. /package/es/modules/notification/components/{MentionNotificationCard → DocumentNotificationCard}/index.less +0 -0
@@ -1,40 +1,79 @@
1
1
  import "./index.less";
2
+ import { useLayout } from "@voplus/morpho-data";
2
3
  import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
3
- import React, { useEffect } from "react";
4
+ import React from "react";
5
+ import { generatePath, useRouteMatch } from "react-router";
4
6
  import { useAutoUpdateListData, useDocumentStore } from "@voplus/morpho-document-core";
7
+ import DefaultTaskItem from "../../../../modules/tasks/components/TaskItem/DefaultTaskItem";
5
8
  import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemFrame";
6
9
  import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
7
10
  import NewTaskForm from "../../../../modules/tasks/components/NewTaskForm";
8
- import SubTaskItem from "../../../../modules/tasks/components/TaskItem/SubTaskItem";
11
+ import TaskPropertiesView from "../../../../modules/tasks/components/TaskPropertiesView";
12
+ import moment from "moment";
9
13
  import { observe } from "@voplus/morpho-ui";
14
+ import { runInAction } from "mobx";
10
15
  import { useRenderOnChange } from "@voplus/morpho-ui";
11
16
  import { useTaskListEffect } from "../../../../data/task/hooks";
12
17
  const TaskList = (props) => {
18
+ const match = useRouteMatch();
19
+ const layout = useLayout();
13
20
  const documentStore = useDocumentStore();
14
21
  const list = useCreateListDataState({
15
22
  filterDefaults: {
16
23
  includes: "tags,task-number-reports",
24
+ filters: filters()
17
25
  },
18
- }, []);
19
- useEffect(() => {
20
- if (props.filters)
21
- list.clear();
22
- }, [props.filters]);
23
- list.filters.options.Filters = props.filters || [];
26
+ }, [match.params.dueDate]);
24
27
  /** useOnNewDocument, useOnDeleteDocument的sugar syntax 自動更新list. */
25
28
  useAutoUpdateListData(list, (d) => d.type === "Task" && !d.parentId);
26
29
  /** 如果 list.filters.options变更了就重渲染,使下一行的useTaskListEffect 可以接收新参数*/
27
30
  useRenderOnChange(() => list.filters.options);
28
31
  /** 把ListDataState传给useTaskListEffect,使之可以自動更新loading, hasmore. */
29
- useTaskListEffect(list, (result) => list.union(result), list.filters.options);
32
+ useTaskListEffect(list, (result, total) => {
33
+ list.union(result);
34
+ runInAction(() => {
35
+ props.state.updateTaskTotal[match.params.dueDate] = total;
36
+ });
37
+ }, {
38
+ Total: true,
39
+ ...list.filters.options,
40
+ });
30
41
  return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
31
- React.createElement(ListView, { headerProps: { viewTitle: "My Tasks" }, formViewTitle: "Add Task", className: "my-space-tasks", formView: React.createElement(NewTaskForm, null), moveAfter: moveAfter, renderItem: ({ item, connectDragSource }) => (React.createElement(React.Fragment, null,
42
+ React.createElement(ListView, { headerProps: { viewTitle: "My Tasks" }, formViewTitle: "Add Task", className: "my-space-tasks", formView: React.createElement(NewTaskForm, null), moveAfter: moveAfter, propertiesView: (id) => React.createElement(TaskPropertiesView, { id: id }), renderItem: ({ item, connectDragSource }) => (React.createElement(React.Fragment, null,
32
43
  React.createElement(DocumentItemFrame, { key: item.id, frameProps: {
33
44
  hoverEffect: "background",
34
45
  hoverBackgroundProps: { color: "#f2f2f2" },
35
46
  style: { border: "none", flex: "1" },
47
+ }, onClick: () => {
48
+ layout.history.push(generatePath(match.path, { dueDate: match.params.dueDate, active: item.id }));
36
49
  } },
37
- React.createElement(SubTaskItem, { id: item.id, memberAlign: "block", connectDragSource: connectDragSource })))) }))));
50
+ React.createElement(DefaultTaskItem, { id: item.id, memberAlign: "block", connectDragSource: connectDragSource })))) }))));
51
+ function filters() {
52
+ if (!match.params.dueDate)
53
+ return [];
54
+ let date = "day";
55
+ let v1 = "";
56
+ let v2 = "";
57
+ if (match.params.dueDate !== "today")
58
+ date = match.params.dueDate;
59
+ if (match.params.dueDate !== "unscheduled") {
60
+ v1 = moment().startOf(date).format("YYYY-MM-DD HH:mm:ss");
61
+ v2 = moment().endOf(date).format("YYYY-MM-DD HH:mm:ss");
62
+ }
63
+ else {
64
+ v1 = moment().add(1, "months").startOf("month").format("YYYY-MM-DD HH:mm:ss");
65
+ v2 = moment().add(1, "months").endOf("month").format("YYYY-MM-DD HH:mm:ss");
66
+ }
67
+ return [
68
+ {
69
+ c: "DueDate",
70
+ o: "between",
71
+ l: "And",
72
+ v1: v1,
73
+ v2: v2,
74
+ },
75
+ ];
76
+ }
38
77
  async function moveAfter(id, afterId) {
39
78
  await documentStore.moveAfter(id, afterId);
40
79
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/Space/components/Tasks/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAGvF,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AAGtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,WAAW,MAAM,kDAAkD,CAAC;AAC3E,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,iBAAi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AI,EAAE,GAAG,EAAE,CAAC;QACZ,IAAI,EAAE,GAAG,EAAE,CAAC;QACZ,IAAI,KAAK,CAAC,MAAM,CAAC,OAAO,KAAK,OAAO;YACnC,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC,OAAoC,CAAC;QAE1D,IAAI,KAAK,CAAC,MAAM,CAAC,OAAO,KAAK,aAAa,EAAE;YAC3C,EAAE,GAAG,MAAM,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;YAC1D,EAAE,GAAG,MAAM,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;SACxD;aAAM;YACN,EAAE,GAAG,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;YAC9E,EAAE,GAAG,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;SAC5E;QACD,OAAO;YACN;gBACC,CAAC,EAAE,SAAS;gBACZ,CAAC,EAAE,SAAS;gBACZ,CAAC,EAAE,KAAK;gBACR,EAAE,EAAE,EAAE;gBACN,EAAE,EAAE,EAAE;aACU;SACjB,CAAC;IACH,CAAC;IAED,KAAK,UAAU,SAAS,CAAC,EAAU,EAAE,OAAe;QACnD,MAAM,aAAa,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import "./index.less";
2
+ import { State } from "../../pages/MySpace/state";
3
3
  declare const Works: (props: {
4
- id: string;
4
+ state: State;
5
5
  }) => JSX.Element;
6
6
  export default Works;
@@ -1,43 +1,19 @@
1
- import "./index.less";
2
- import { useAutoUpdateListData, useDocumentListEffect, useDocumentStore, } from "@voplus/morpho-document-core";
3
- import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
1
+ import { generatePath, useRouteMatch } from "react-router";
4
2
  import React from "react";
5
- import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
6
- import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemFrame";
7
- import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
3
+ import WorkList from "../../../../modules/work/components/WorkList";
8
4
  import { observe } from "@voplus/morpho-ui";
9
- import { useRenderOnChange } from "@voplus/morpho-ui";
5
+ import { runInAction } from "mobx";
6
+ import { useLayout } from "@voplus/morpho-data";
10
7
  const Works = (props) => {
11
- const { id } = props;
12
- const documentStore = useDocumentStore();
13
- /** 建立 ListView 和useDocumentListEffect所需的ListDataState. 会根据state.id重建所以不需reset. */
14
- const list = useCreateListDataState({
15
- filterDefaults: {
16
- includes: "tags",
17
- filters: [{ c: "ParentNodeId", o: "=", l: "And", v1: id }],
18
- },
19
- }, [id]);
20
- /** 如果 list.filters.options变更了就重渲染,使下一行的useDocumentListEffect 可以接收新参数*/
21
- useRenderOnChange(() => list.filters.options);
22
- /** 把ListDataState传给useDocumentListEffect,使之可以自動更新loading, hasmore. */
23
- useDocumentListEffect(list, (result) => list.union(result), list.filters.options);
24
- /** useOnNewDocument, useOnDeleteDocument的sugar syntax 自動更新list. */
25
- useAutoUpdateListData(list, (d) => d.parentId === id);
26
- return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
27
- React.createElement(ListView, { headerProps: { viewTitle: "My Works" },
28
- // formViewTitle="Add Task"
29
- className: "my-space-works",
30
- // formView={<NewTaskForm />}
31
- moveAfter: moveAfter, renderItem: ({ item, connectDragSource }) => (React.createElement(React.Fragment, null,
32
- React.createElement(DocumentItemFrame, { key: item.id, frameProps: {
33
- hoverEffect: "background",
34
- hoverBackgroundProps: { color: "#f2f2f2" },
35
- style: { border: "none", flex: "1" },
36
- } },
37
- React.createElement(DocumentHeader, { id: item.id, itemHover: true })))) }))));
38
- async function moveAfter(id, afterId) {
39
- await documentStore.moveAfter(id, afterId);
40
- }
8
+ const match = useRouteMatch();
9
+ const layout = useLayout();
10
+ return observe(() => React.createElement(WorkList, { dueDate: match.params.dueDate, active: match.params.active, onClickItem: (item) => {
11
+ layout.history.push(generatePath(match.path, { dueDate: match.params.dueDate, active: item.id }));
12
+ }, onTotal: (total) => {
13
+ runInAction(() => {
14
+ props.state.updateWorkTotal[match.params.dueDate] = total;
15
+ });
16
+ } }));
41
17
  };
42
18
  export default Works;
43
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/Space/components/Works/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAEN,qBAAqB,EACrB,qBAAqB,EACrB,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AAEjF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,KAAK,GAAG,CAAC,KAAqB,EAAE,EAAE;IACvC,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,MAAM,aAAa,GAAG,gBAAgB,EAAE,CAAC;IAEzC,kFAAkF;IAClF,MAAM,IAAI,GAAG,sBAAsB,CAClC;QACC,cAAc,EAAE;YACf,QAAQ,EAAE,MAAM;YAChB,OAAO,EAAE,CAAC,EAAE,CA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KAAK,CAAC;YAC3D,CAAC,CAAC,CAAC;QACJ,CAAC,GACA,CACF,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -13,11 +13,14 @@ import Notifications from "../../components/Notifications";
13
13
  import Scrollbars from "react-custom-scrollbars";
14
14
  import { State } from "./state";
15
15
  import SubMenu from "@voplus/antd/es/menu/SubMenu";
16
+ import Tasks from "../../components/Tasks";
17
+ import Works from "../../components/Works";
16
18
  import Workspaces from "../../components/Workspaces";
17
19
  import { observe } from "@voplus/morpho-ui";
18
20
  import { runInAction } from "mobx";
19
21
  import { useLayout } from "@voplus/morpho-data";
20
- //import Notifications from "../../../../modules/notification/components/NotificationList";
22
+ import { useTaskListEffect } from "../../../../data/task";
23
+ import { useWorkListEffect } from "../../../../data/work";
21
24
  const MySpace = () => {
22
25
  const { user } = useApplicationContext();
23
26
  const match = useRouteMatch();
@@ -27,6 +30,14 @@ const MySpace = () => {
27
30
  useEffect(() => {
28
31
  runInAction(() => (tab.title = "My Space"));
29
32
  }, []);
33
+ useTaskListEffect(null, (result, total) => runInAction(() => (state.taskTotals.today = total || 0)), state.tToday);
34
+ useTaskListEffect(null, (result, total) => runInAction(() => (state.taskTotals.week = total || 0)), state.tWeek);
35
+ useTaskListEffect(null, (result, total) => runInAction(() => (state.taskTotals.month = total || 0)), state.tMonth);
36
+ useTaskListEffect(null, (result, total) => runInAction(() => (state.taskTotals.unscheduled = total || 0)), state.tUnscheduled);
37
+ useWorkListEffect(null, (result, total) => runInAction(() => (state.workTotals.today = total || 0)), state.tToday);
38
+ useWorkListEffect(null, (result, total) => runInAction(() => (state.workTotals.week = total || 0)), state.tWeek);
39
+ useWorkListEffect(null, (result, total) => runInAction(() => (state.workTotals.month = total || 0)), state.tMonth);
40
+ useWorkListEffect(null, (result, total) => runInAction(() => (state.workTotals.unscheduled = total || 0)), state.tUnscheduled);
30
41
  useNotificationListEffect(null, (result, total) => runInAction(() => (state.notificationTotals.unread = total || 0)), state.nUnreadOptions);
31
42
  useNotificationListEffect(null, (result, total) => runInAction(() => (state.notificationTotals.read = total || 0)), state.nReadOptions);
32
43
  useNotificationListEffect(null, (result, total) => runInAction(() => (state.notificationTotals.later = total || 0)), state.nLaterOptions);
@@ -54,21 +65,41 @@ const MySpace = () => {
54
65
  React.createElement(Badge, { count: state.notificationTotals.dismissed, className: "site-badge-count" }))),
55
66
  React.createElement(Menu.Item, { key: "Notes", icon: React.createElement(FAIcon, { icon: faStickyNote }), disabled: true }, "My Notes"),
56
67
  React.createElement(Menu.Item, { key: "Projects", icon: React.createElement(FAIcon, { icon: faProjectDiagram }), disabled: true }, "My Projects"),
57
- React.createElement(SubMenu, { key: "Tasks", icon: React.createElement(FAIcon, { icon: faTasks }), title: "My Tasks", disabled: true },
58
- React.createElement(Menu.Item, { key: "TaskToday" }, "Today(2)"),
59
- React.createElement(Menu.Item, { key: "TaskWeek" }, "This Week(4)"),
60
- React.createElement(Menu.Item, { key: "TaskMonth" }, "This Month(5)"),
61
- React.createElement(Menu.Item, { key: "TaskUnscheduled" }, "Unscheduled(6)")),
62
- React.createElement(SubMenu, { key: "Works", icon: React.createElement(FAIcon, { icon: faBallotCheck }), title: "My Works", disabled: true },
63
- React.createElement(Menu.Item, { key: "WorkToday" }, "Today(2)"),
64
- React.createElement(Menu.Item, { key: "WorkWeek" }, "This Week(4)"),
65
- React.createElement(Menu.Item, { key: "WorkMonth" }, "This Month(5)"),
66
- React.createElement(Menu.Item, { key: "WorkUnscheduled" }, "Unscheduled(6)"))))),
68
+ React.createElement(SubMenu, { key: "Tasks", icon: React.createElement(FAIcon, { icon: faTasks }), title: "My Tasks" },
69
+ React.createElement(Menu.Item, { key: "/task/today" },
70
+ "Today",
71
+ React.createElement(Badge, { count: state.taskTotals.today, className: "site-badge-count" })),
72
+ React.createElement(Menu.Item, { key: "/task/week" },
73
+ "This Week",
74
+ React.createElement(Badge, { count: state.taskTotals.week, className: "site-badge-count" })),
75
+ React.createElement(Menu.Item, { key: "/task/month" },
76
+ "This Month",
77
+ React.createElement(Badge, { count: state.taskTotals.month, className: "site-badge-count" })),
78
+ React.createElement(Menu.Item, { key: "/task/unscheduled" },
79
+ "Unscheduled",
80
+ React.createElement(Badge, { count: state.taskTotals.unscheduled, className: "site-badge-count" }))),
81
+ React.createElement(SubMenu, { key: "Works", icon: React.createElement(FAIcon, { icon: faBallotCheck }), title: "My Works" },
82
+ React.createElement(Menu.Item, { key: "/works/today" },
83
+ "Today",
84
+ React.createElement(Badge, { count: state.workTotals.today, className: "site-badge-count" })),
85
+ React.createElement(Menu.Item, { key: "/works/week" },
86
+ "This Week",
87
+ React.createElement(Badge, { count: state.workTotals.week, className: "site-badge-count" })),
88
+ React.createElement(Menu.Item, { key: "/works/month" },
89
+ "This Month",
90
+ React.createElement(Badge, { count: state.workTotals.month, className: "site-badge-count" })),
91
+ React.createElement(Menu.Item, { key: "/works/unscheduled" },
92
+ "Unscheduled",
93
+ React.createElement(Badge, { count: state.workTotals.unscheduled, className: "site-badge-count" })))))),
67
94
  React.createElement(Switch, null,
68
95
  React.createElement(Route, { path: `${match.path}/documents` },
69
- React.createElement(DocumentPage, { root: user.info.folderId })),
96
+ React.createElement(DocumentPage, null)),
70
97
  React.createElement(Route, { path: `${match.path}/workspaces/:active?` },
71
98
  React.createElement(Workspaces, null)),
99
+ React.createElement(Route, { path: `${match.path}/task/:dueDate/:active?` },
100
+ React.createElement(Tasks, { state: state })),
101
+ React.createElement(Route, { path: `${match.path}/works/:dueDate/:active?` },
102
+ React.createElement(Works, { state: state })),
72
103
  React.createElement(Route, { path: `${match.path}/notifications/:status/:active?` },
73
104
  React.createElement(Notifications, { state: state })),
74
105
  React.createElement(Redirect, { to: `${match.path}/notifications/unread` })))));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/Space/pages/MySpace/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAiB,yBAAyB,EAAE,MAAM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IAAC,IAAI,EAAE,GAAG,KAAK,CAAC,IAAI,yBAAyB;gBAClD,oBAAC,KAAK,IAAC,KAAK,EAAE,KAAK,GAAI,CAChB;YACR,oBAAC,KAAK,IAAC,IAAI,EAAE,GAAG,KAAK,CAAC,IAAI,0BAA0B;gBACnD,oBAAC,KAAK,IAAC,KAAK,EAAE,KAAK,GAAI,CAChB;YACR,oBAAC,KAAK,IAAC,IAAI,EAAE,GAAG,KAAK,CAAC,IAAI,iCAAiC;gBAC1D,oBAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CACxB;YACR,oBAAC,QAAQ,IAAC,EAAE,EAAE,GAAG,KAAK,CAAC,IAAI,uBAAuB,GAAI,CAC9C,CAGI,CACd,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,14 +1,12 @@
1
- import { FilterOption, LayoutContext } from "@voplus/morpho-data";
2
- import { Moment } from "moment";
1
+ import { LayoutContext } from "@voplus/morpho-data";
3
2
  import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
4
3
  import { NotificationStatus } from "../../../../data/notification";
5
- import { RangeValue } from "rc-picker/es/interface";
4
+ import { TaskStatus } from "../../../../data/task";
5
+ import { WorkStatus } from "../../../../data/work";
6
6
  export declare class State {
7
7
  private _layout;
8
8
  private _url;
9
9
  menuKey: string[] | undefined;
10
- /** dueDate of task */
11
- dueDate: RangeValue<Moment>;
12
10
  /** status All Notifications list Total */
13
11
  notificationTotals: {
14
12
  unread: number;
@@ -16,10 +14,33 @@ export declare class State {
16
14
  later: number;
17
15
  dismissed: number;
18
16
  };
17
+ /** DueDate of the Tasks list Total */
18
+ taskTotals: {
19
+ today: number;
20
+ week: number;
21
+ month: number;
22
+ unscheduled: number;
23
+ };
24
+ /** DueDate of the Works list Total */
25
+ workTotals: {
26
+ today: number;
27
+ week: number;
28
+ month: number;
29
+ unscheduled: number;
30
+ };
19
31
  constructor(_layout: LayoutContext, _url: string);
20
32
  navigate(key: string, rest?: string): void;
21
- get filters(): FilterOption[];
33
+ updateTaskTotal(oldStatus: TaskStatus, status: TaskStatus): void;
34
+ updateWorkTotal(oldStatus: WorkStatus, status: WorkStatus): void;
22
35
  updateNotificationTotal(oldStatus: NotificationStatus, status: NotificationStatus): void;
36
+ /** tasks/works list DueDate(today) Options */
37
+ get tToday(): LoadDocumentListOptions;
38
+ /** tasks/works list DueDate(week) Options */
39
+ get tWeek(): LoadDocumentListOptions;
40
+ /** tasks/works list DueDate(month) Options */
41
+ get tMonth(): LoadDocumentListOptions;
42
+ /** tasks/works list DueDate(unscheduled) Options */
43
+ get tUnscheduled(): LoadDocumentListOptions;
23
44
  /** Notifications list Options */
24
45
  get nUnreadOptions(): LoadDocumentListOptions;
25
46
  /** Notifications list Read Options */
@@ -21,13 +21,6 @@ export class State {
21
21
  writable: true,
22
22
  value: undefined
23
23
  });
24
- /** dueDate of task */
25
- Object.defineProperty(this, "dueDate", {
26
- enumerable: true,
27
- configurable: true,
28
- writable: true,
29
- value: void 0
30
- });
31
24
  /** status All Notifications list Total */
32
25
  Object.defineProperty(this, "notificationTotals", {
33
26
  enumerable: true,
@@ -40,32 +33,108 @@ export class State {
40
33
  dismissed: 0
41
34
  }
42
35
  });
36
+ /** DueDate of the Tasks list Total */
37
+ Object.defineProperty(this, "taskTotals", {
38
+ enumerable: true,
39
+ configurable: true,
40
+ writable: true,
41
+ value: {
42
+ today: 0,
43
+ week: 0,
44
+ month: 0,
45
+ unscheduled: 0
46
+ }
47
+ });
48
+ /** DueDate of the Works list Total */
49
+ Object.defineProperty(this, "workTotals", {
50
+ enumerable: true,
51
+ configurable: true,
52
+ writable: true,
53
+ value: {
54
+ today: 0,
55
+ week: 0,
56
+ month: 0,
57
+ unscheduled: 0
58
+ }
59
+ });
43
60
  makeObservable(this);
44
61
  }
45
62
  navigate(key, rest) {
46
63
  this.menuKey = [key];
47
64
  this._layout.history.push(`${this._url}${key}${rest !== null && rest !== void 0 ? rest : ""}`);
48
65
  }
49
- get filters() {
50
- var _a, _b, _c, _d, _e, _f;
51
- if (((_a = this.dueDate) === null || _a === void 0 ? void 0 : _a[0]) === null && ((_b = this.dueDate) === null || _b === void 0 ? void 0 : _b[1]) === null)
52
- return [];
53
- const start = (_d = (_c = this.dueDate) === null || _c === void 0 ? void 0 : _c[0]) !== null && _d !== void 0 ? _d : moment({ year: 1753, month: 1, day: 1 });
54
- const end = (_f = (_e = this.dueDate) === null || _e === void 0 ? void 0 : _e[1]) !== null && _f !== void 0 ? _f : moment().endOf("year");
55
- return [
56
- {
57
- c: "DueDate",
58
- o: "between",
59
- l: "And",
60
- v1: start.startOf("days").format("YYYY-MM-DD HH:mm:ss"),
61
- v2: end.endOf("days").format("YYYY-MM-DD HH:mm:ss"),
62
- },
63
- ];
66
+ updateTaskTotal(oldStatus, status) {
67
+ this.taskTotals[oldStatus.toLowerCase()]--;
68
+ this.taskTotals[status.toLowerCase()]++;
69
+ }
70
+ updateWorkTotal(oldStatus, status) {
71
+ this.workTotals[oldStatus.toLowerCase()]--;
72
+ this.workTotals[status.toLowerCase()]++;
64
73
  }
65
74
  updateNotificationTotal(oldStatus, status) {
66
75
  this.notificationTotals[oldStatus.toLowerCase()]--;
67
76
  this.notificationTotals[status.toLowerCase()]++;
68
77
  }
78
+ /** tasks/works list DueDate(today) Options */
79
+ get tToday() {
80
+ return {
81
+ Total: true, List: false,
82
+ Filters: [
83
+ {
84
+ c: "DueDate",
85
+ o: "between",
86
+ l: "And",
87
+ v1: moment().startOf("day").format("YYYY-MM-DD HH:mm:ss"),
88
+ v2: moment().endOf("day").format("YYYY-MM-DD HH:mm:ss"),
89
+ }
90
+ ],
91
+ };
92
+ }
93
+ /** tasks/works list DueDate(week) Options */
94
+ get tWeek() {
95
+ return {
96
+ Total: true, List: false,
97
+ Filters: [
98
+ {
99
+ c: "DueDate",
100
+ o: "between",
101
+ l: "And",
102
+ v1: moment().startOf("week").format("YYYY-MM-DD HH:mm:ss"),
103
+ v2: moment().endOf("week").format("YYYY-MM-DD HH:mm:ss"),
104
+ }
105
+ ],
106
+ };
107
+ }
108
+ /** tasks/works list DueDate(month) Options */
109
+ get tMonth() {
110
+ return {
111
+ Total: true, List: false,
112
+ Filters: [
113
+ {
114
+ c: "DueDate",
115
+ o: "between",
116
+ l: "And",
117
+ v1: moment().startOf("month").format("YYYY-MM-DD HH:mm:ss"),
118
+ v2: moment().endOf("month").format("YYYY-MM-DD HH:mm:ss"),
119
+ }
120
+ ],
121
+ };
122
+ }
123
+ /** tasks/works list DueDate(unscheduled) Options */
124
+ get tUnscheduled() {
125
+ return {
126
+ Total: true, List: false,
127
+ Filters: [
128
+ {
129
+ c: "DueDate",
130
+ o: "between",
131
+ l: "And",
132
+ v1: moment().add(1, "months").startOf("month").format("YYYY-MM-DD HH:mm:ss"),
133
+ v2: moment().add(1, "months").endOf("month").format("YYYY-MM-DD HH:mm:ss"),
134
+ }
135
+ ],
136
+ };
137
+ }
69
138
  /** Notifications list Options */
70
139
  get nUnreadOptions() {
71
140
  return {
@@ -108,16 +177,37 @@ __decorate([
108
177
  ], State.prototype, "menuKey", void 0);
109
178
  __decorate([
110
179
  observable
111
- ], State.prototype, "dueDate", void 0);
180
+ ], State.prototype, "notificationTotals", void 0);
112
181
  __decorate([
113
182
  observable
114
- ], State.prototype, "notificationTotals", void 0);
183
+ ], State.prototype, "taskTotals", void 0);
184
+ __decorate([
185
+ observable
186
+ ], State.prototype, "workTotals", void 0);
115
187
  __decorate([
116
188
  action
117
189
  ], State.prototype, "navigate", null);
190
+ __decorate([
191
+ action
192
+ ], State.prototype, "updateTaskTotal", null);
193
+ __decorate([
194
+ action
195
+ ], State.prototype, "updateWorkTotal", null);
118
196
  __decorate([
119
197
  action
120
198
  ], State.prototype, "updateNotificationTotal", null);
199
+ __decorate([
200
+ computed
201
+ ], State.prototype, "tToday", null);
202
+ __decorate([
203
+ computed
204
+ ], State.prototype, "tWeek", null);
205
+ __decorate([
206
+ computed
207
+ ], State.prototype, "tMonth", null);
208
+ __decorate([
209
+ computed
210
+ ], State.prototype, "tUnscheduled", null);
121
211
  __decorate([
122
212
  computed
123
213
  ], State.prototype, "nUnreadOptions", null);
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/pages/Space/pages/MySpace/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,MAAkB,MAAM,QAAQ,CAAC;AAMxC,MAAM,OAAO,KAAK;IAajB,YAAoB,OAAqB,EAAU,IAAW;;;;;mBAA1C;;;;;;mBAA+B;;QAZvC;;;;mBAAiB,SAAiC;WAAC;QAC/D,sBAAsB;QACV;;;;;WAAmC;QAE/C,0CAA0C;QAC9B;;;;mBAA4B;gBACvC,MAAM,EAAE,CAAC;gBACT,IAAI,EAAE,CAAC;gBACP,KAAK,EAAC,CAAC;gBACP,SAAS,EAAE,CAAC;aACZ;WAAC;QAGD,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAIc,QAAQ,CAAC,GAAU,EAAE,IAAY;QAC/C,IAAI,CAAC,OAAO,GAAG,CAAC,GAAG,CAAC,CAAC;QACrB,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,GAAG,GAAG,GAAG,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAE,EAAE,EAAE,CAAC,CAAC;IAC5D,CAAC;IAGD,IAAW,OAAO;;QACjB,IAAI,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAG,CAAC,CAAC,MAAK,IAAI,IAAI,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAG,CAAC,CAAC,MAAK,IAAI;YAAE,OAAO,EAAE,CAAC;QACxE,MAAM,KAAK,GAAG,MAAA,MAAA,IAAI,CAAC,OAAO,0CAAG,CAAC,CAAC,mCAAI,MAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,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xB,OAAO,EAAE;gBACR,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,WAAW,EAAE;aAClD;SACD,CAAC;IACH,CAAC;CACD;AApKY;IAAX,UAAU;sCAAsD;AAGrD;IAAX,UAAU;iDAKT;AAGU;IAAX,UAAU;yCAKV;AAGW;IAAX,UAAU;yCAKV;AAMO;IAAP,MAAM;qCAGN;AAGD;IADC,MAAM;4CAIN;AAGD;IADC,MAAM;4CAIN;AAGD;IADC,MAAM;oDAIN;AAID;IADC,QAAQ;mCAcR;AAID;IADC,QAAQ;kCAcR;AAID;IADC,QAAQ;mCAcR;AAID;IADC,QAAQ;yCAcR;AAID;IADC,QAAQ;2CAQR;AAID;IADC,QAAQ;yCAQR;AAID;IADC,QAAQ;0CAQR;AAID;IADC,QAAQ;8CAQR"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/MentionNotificationCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAGN,eAAe,GACf,MAAM,+BAA+B,CAAC;AAEvC,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,uBAAuB,GAAG,CAA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