@voplus/morpho-workspace 6.0.68 → 6.0.70

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. package/es/controls/filters/AssigneeViewFilter/index.js +3 -4
  2. package/es/controls/filters/AssigneeViewFilter/index.js.map +1 -1
  3. package/es/controls/filters/WorkStatusFilter/index.js +2 -8
  4. package/es/controls/filters/WorkStatusFilter/index.js.map +1 -1
  5. package/es/controls/filters/WorkStatusFilter/state.d.ts +10 -2
  6. package/es/controls/filters/WorkStatusFilter/state.js +46 -1
  7. package/es/controls/filters/WorkStatusFilter/state.js.map +1 -1
  8. package/es/data/notification/NotificationStore.d.ts +14 -8
  9. package/es/data/notification/NotificationStore.js +23 -5
  10. package/es/data/notification/NotificationStore.js.map +1 -1
  11. package/es/data/notification/hooks.d.ts +3 -3
  12. package/es/data/notification/hooks.js +3 -3
  13. package/es/data/notification/hooks.js.map +1 -1
  14. package/es/data/notification/interfaces.d.ts +11 -0
  15. package/es/data/notification/notification-events/useAutoUpdateListData.d.ts +2 -2
  16. package/es/data/notification/notification-events/useAutoUpdateListData.js.map +1 -1
  17. package/es/data/notification/notification-events/useOnDeleteNotification.d.ts +2 -2
  18. package/es/data/notification/notification-events/useOnDeleteNotification.js.map +1 -1
  19. package/es/data/notification/notification-events/useOnNewNotification.d.ts +2 -2
  20. package/es/data/notification/notification-events/useOnNewNotification.js.map +1 -1
  21. package/es/data/notification/types.d.ts +6 -1
  22. package/es/data/work/WorkStore.d.ts +1 -4
  23. package/es/data/work/WorkStore.js +0 -4
  24. package/es/data/work/WorkStore.js.map +1 -1
  25. package/es/data/work/interfaces.d.ts +0 -11
  26. package/es/data/work-report/WorkReportStore.d.ts +19 -0
  27. package/es/data/work-report/WorkReportStore.js +52 -0
  28. package/es/data/work-report/WorkReportStore.js.map +1 -0
  29. package/es/data/work-report/hooks.d.ts +8 -0
  30. package/es/data/work-report/hooks.js +13 -0
  31. package/es/data/work-report/hooks.js.map +1 -0
  32. package/es/data/work-report/index.d.ts +3 -0
  33. package/es/data/work-report/index.js +4 -0
  34. package/es/data/work-report/index.js.map +1 -0
  35. package/es/data/work-report/interfaces.d.ts +16 -0
  36. package/es/data/work-report/interfaces.js +2 -0
  37. package/es/data/work-report/interfaces.js.map +1 -0
  38. package/es/modules/calendar/pages/CalendarMonth/index.js +5 -4
  39. package/es/modules/calendar/pages/CalendarMonth/index.js.map +1 -1
  40. package/es/modules/meeting/components/NewMeetingForm/index.js.map +1 -1
  41. package/es/modules/menus/components/Access/index.js +5 -4
  42. package/es/modules/menus/components/Access/index.js.map +1 -1
  43. package/es/modules/menus/components/Account/index.js +5 -4
  44. package/es/modules/menus/components/Account/index.js.map +1 -1
  45. package/es/modules/menus/components/Status/index.js +5 -4
  46. package/es/modules/menus/components/Status/index.js.map +1 -1
  47. package/es/modules/menus/pages/ListOptions/Company/index.js +7 -5
  48. package/es/modules/menus/pages/ListOptions/Company/index.js.map +1 -1
  49. package/es/modules/notification/components/NotificationHeader/index.js +3 -3
  50. package/es/modules/notification/components/NotificationHeader/index.js.map +1 -1
  51. package/es/modules/notification/components/NotificationItem/index.js +5 -3
  52. package/es/modules/notification/components/NotificationItem/index.js.map +1 -1
  53. package/es/modules/notification/components/NotificationList2/index.js +7 -2
  54. package/es/modules/notification/components/NotificationList2/index.js.map +1 -1
  55. package/es/modules/notification/components/NotificationProperties/index.d.ts +1 -1
  56. package/es/modules/notification/components/NotificationProperties/index.js +12 -5
  57. package/es/modules/notification/components/NotificationProperties/index.js.map +1 -1
  58. package/es/modules/notification/components/NotificationRecipients/index.js +2 -2
  59. package/es/modules/notification/components/NotificationRecipients/index.js.map +1 -1
  60. package/es/modules/notification/components/NotificationTabs/index.js +9 -6
  61. package/es/modules/notification/components/NotificationTabs/index.js.map +1 -1
  62. package/es/modules/notification/controls/NotificationMenu/index.js +6 -4
  63. package/es/modules/notification/controls/NotificationMenu/index.js.map +1 -1
  64. package/es/modules/notification/controls/NotificationMenu/item/Send.d.ts +9 -0
  65. package/es/modules/notification/controls/NotificationMenu/item/Send.js +33 -0
  66. package/es/modules/notification/controls/NotificationMenu/item/Send.js.map +1 -0
  67. package/es/modules/notification/controls/NotificationMenu/item/index.d.ts +1 -0
  68. package/es/modules/notification/controls/NotificationMenu/item/index.js +2 -0
  69. package/es/modules/notification/controls/NotificationMenu/item/index.js.map +1 -0
  70. package/es/modules/notification/controls/NotificationStatusLabel/index.d.ts +6 -0
  71. package/es/modules/notification/controls/NotificationStatusLabel/index.js +7 -0
  72. package/es/modules/notification/controls/NotificationStatusLabel/index.js.map +1 -0
  73. package/es/modules/notification/controls/NotificationStatusLabel/index.less +14 -0
  74. package/es/modules/notification/pages/NotificationDefaultView/index.js +1 -1
  75. package/es/modules/notification/pages/NotificationDefaultView/index.js.map +1 -1
  76. package/es/modules/tasks/reports/TaskSummaryCard/index.js +1 -1
  77. package/es/modules/tasks/reports/TaskSummaryCard/index.js.map +1 -1
  78. package/es/modules/user/pages/Positions/index.js +6 -5
  79. package/es/modules/user/pages/Positions/index.js.map +1 -1
  80. package/es/modules/work/components/RejectWorkDialog/index.js +5 -4
  81. package/es/modules/work/components/RejectWorkDialog/index.js.map +1 -1
  82. package/es/modules/work/components/RejectWorkDialog/index.less +5 -0
  83. package/es/modules/work/components/RelatedWorkList/RelatedWorkList.js +1 -1
  84. package/es/modules/work/components/RelatedWorkList/RelatedWorkList.js.map +1 -1
  85. package/es/modules/work/components/WorkCashReport/index.d.ts +1 -0
  86. package/es/modules/work/components/WorkCashReport/index.js +54 -42
  87. package/es/modules/work/components/WorkCashReport/index.js.map +1 -1
  88. package/es/modules/work/components/WorkCashReport/index.less +8 -12
  89. package/es/modules/work/components/WorkCashReport/state.d.ts +3 -8
  90. package/es/modules/work/components/WorkCashReport/state.js +3 -47
  91. package/es/modules/work/components/WorkCashReport/state.js.map +1 -1
  92. package/es/modules/work/components/WorkList/index.js +2 -2
  93. package/es/modules/work/components/WorkList/index.js.map +1 -1
  94. package/es/modules/work/controls/SeveritySelect/index.js +10 -10
  95. package/es/modules/work/controls/SeveritySelect/index.js.map +1 -1
  96. package/es/modules/work/controls/WorkErrorSelect/index.js +3 -2
  97. package/es/modules/work/controls/WorkErrorSelect/index.js.map +1 -1
  98. package/es/modules/work/work-schedule/components/WorkScheduleList/index.js +10 -1
  99. package/es/modules/work/work-schedule/components/WorkScheduleList/index.js.map +1 -1
  100. package/es/modules/work/work-type/components/RepeatTab/index.js +5 -4
  101. package/es/modules/work/work-type/components/RepeatTab/index.js.map +1 -1
  102. package/es/modules/work/work-type/components/WorkTypeSelect/index.js +11 -6
  103. package/es/modules/work/work-type/components/WorkTypeSelect/index.js.map +1 -1
  104. package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.js +1 -1
  105. package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.js.map +1 -1
  106. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.js +1 -1
  107. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.js.map +1 -1
  108. package/es/modules/workspace/pages/WorkspacePage/WorkTypeWorksDashBoard.js +1 -1
  109. package/es/modules/workspace/pages/WorkspacePage/WorkTypeWorksDashBoard.js.map +1 -1
  110. package/es/obsolete/member/components/MemberSelect.js +3 -2
  111. package/es/obsolete/member/components/MemberSelect.js.map +1 -1
  112. package/package.json +1 -1
  113. package/es/components/AssignPeople/index.d.ts +0 -3
  114. package/es/components/AssignPeople/index.js +0 -24
  115. package/es/components/AssignPeople/index.js.map +0 -1
  116. package/es/modules/work/work-type/controls/SelectedFilterLabel/index.d.ts +0 -4
  117. package/es/modules/work/work-type/controls/SelectedFilterLabel/index.js +0 -23
  118. package/es/modules/work/work-type/controls/SelectedFilterLabel/index.js.map +0 -1
  119. package/es/modules/work/work-type/controls/SelectedFilterLabel/index.less +0 -31
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import { observe } from "@voplus/morpho-ui";
3
+ import { useNotificationStore } from "../../../../../data/notification";
4
+ import { Button, Modal } from "antd";
5
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
6
+ import { faFileImport } from "@fortawesome/pro-light-svg-icons";
7
+ import { useToolBarContext } from "@voplus/morpho-document/es/controls/ToolBar/ToolBarState";
8
+ import { useNodeMenuContext } from "@voplus/morpho-org/es/controls/NodeMenu/state";
9
+ const Send = (props) => {
10
+ const { disabled, action, className } = props;
11
+ const store = useNotificationStore();
12
+ const context = useNodeMenuContext();
13
+ const toolBarContext = useToolBarContext();
14
+ return observe(() => (React.createElement(Button, { type: "link", disabled: disabled, onClick: onClick, className: className },
15
+ React.createElement(FAIcon, { icon: faFileImport }),
16
+ React.createElement("span", null, "Send"))));
17
+ function onClick(e) {
18
+ e.stopPropagation();
19
+ toolBarContext === null || toolBarContext === void 0 ? void 0 : toolBarContext.menuItemClick();
20
+ Modal.confirm({
21
+ title: "Do you want to send this item?",
22
+ onOk() {
23
+ onSend();
24
+ },
25
+ });
26
+ }
27
+ /** email send */
28
+ async function onSend() {
29
+ await store.send(context.id, { error: "message" });
30
+ }
31
+ };
32
+ export default Send;
33
+ //# sourceMappingURL=Send.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Send.js","sourceRoot":"","sources":["../../../../../../src/modules/notification/controls/NotificationMenu/item/Send.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0DAA0D,CAAC;AAC7F,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAEnF,MAAM,IAAI,GAAG,CAAC,KAMb,EAAE,EAAE;IACJ,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC9C,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IACrC,MAAM,OAAO,GAAG,kBAAkB,EAAE,CAAC;IACrC,MAAM,cAAc,GAAG,iBAAiB,EAAE,CAAC;IAE3C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,MAAM,IAAC,IAAI,EAAC,MAAM,EAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS;QAC7E,oBAAC,MAAM,IAAC,IAAI,EAAE,YAAY,GAAI;QAC9B,yCAAiB,CACT,CACT,CAAC,CAAC;IAEH,SAAS,OAAO,CAAC,CAA4C;QAC5D,CAAC,CAAC,eAAe,EAAE,CAAC;QACpB,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,aAAa,EAAE,CAAC;QAChC,KAAK,CAAC,OAAO,CAAC;YACb,KAAK,EAAE,gCAAgC;YACvC,IAAI;gBACH,MAAM,EAAE,CAAC;YACV,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;IAED,iBAAiB;IACjB,KAAK,UAAU,MAAM;QACpB,MAAM,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IACpD,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1 @@
1
+ export { default as Send } from "./Send";
@@ -0,0 +1,2 @@
1
+ export { default as Send } from "./Send";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/notification/controls/NotificationMenu/item/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,6 @@
1
+ import "./index.less";
2
+ import React from "react";
3
+ declare const NotificationStatusLabel: (props: {
4
+ status?: string;
5
+ }) => React.JSX.Element;
6
+ export default NotificationStatusLabel;
@@ -0,0 +1,7 @@
1
+ import "./index.less";
2
+ import DocumentStatusLabel from "@voplus/morpho-ui/es/controls/DocumentStatusLabel";
3
+ import classnames from "classnames";
4
+ import React from "react";
5
+ const NotificationStatusLabel = (props) => (React.createElement(DocumentStatusLabel, { className: classnames("notification-status-button"), editable: false, list: [], status: props.status }));
6
+ export default NotificationStatusLabel;
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/controls/NotificationStatusLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,mBAAmB,MAAM,mDAAmD,CAAC;AACpF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,uBAAuB,GAAG,CAAC,KAA0B,EAAE,EAAE,CAAC,CAC/D,oBAAC,mBAAmB,IACnB,SAAS,EAAE,UAAU,CAAC,4BAA4B,CAAC,EACnD,QAAQ,EAAE,KAAK,EACf,IAAI,EAAE,EAAE,EACR,MAAM,EAAE,KAAK,CAAC,MAAM,GACnB,CACF,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -0,0 +1,14 @@
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
+
3
+ :global {
4
+ .notification-status-button {
5
+ &.draft,
6
+ &.draft:hover {
7
+ background: #ffd666;
8
+ }
9
+ &.normal,
10
+ &.normal:hover {
11
+ background: #52c41a;
12
+ }
13
+ }
14
+ }
@@ -13,7 +13,7 @@ const NotificationDefaultView = () => {
13
13
  const { id } = useParams();
14
14
  const store = new TabItemStore({ url: "" });
15
15
  const [asideContext] = useState(AsideContent.createContext());
16
- const notification = useNotification(id, { reload: true });
16
+ const notification = useNotification(id, { includes: "recipients", reload: true });
17
17
  return observe(() => (React.createElement(TabItemContext.Provider, { value: store },
18
18
  React.createElement(MainContent, { className: styles["notification-default-view"] },
19
19
  React.createElement(MainContent.Nav, { collapsible: true },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/pages/NotificationDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,WAAW,MAAM,oDAAoD,CAAC;AAC7E,OAAO,sBAAsB,MAAM,yCAAyC,CAAC;AAC7E,OAAO,gBAAgB,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,sEAAsE;AACtE,MAAM,uBAAuB,GAAG,GAAG,EAAE;IACpC,MAAM,EAAE,EAAE,EAAE,GAAG,SAAS,EAAkB,CAAC;IAE3C,MAAM,KAAK,GAAG,IAAI,YAAY,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;IAE5C,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;IAC9D,MAAM,YAAY,GAAG,eAAe,CAAC,EAAG,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IAE5D,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,cAAc,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK;QACpC,oBAAC,WAAW,IAAC,SAAS,EAAE,MAAM,CAAC,2BAA2B,CAAC;YAC1D,oBAAC,WAAW,CAAC,GAAG,IAAC,WAAW;gBAC3B,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAG,EAAE,aAAa,SAAG,CAChC;YAClB,6BAAK,SAAS,EAAC,sBAAsB;gBACpC,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAmB;oBACzC,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAG,GAAI,CACf,CACV,CACO,CACW,CAC1B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/pages/NotificationDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,WAAW,MAAM,oDAAoD,CAAC;AAC7E,OAAO,sBAAsB,MAAM,yCAAyC,CAAC;AAC7E,OAAO,gBAAgB,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,sEAAsE;AACtE,MAAM,uBAAuB,GAAG,GAAG,EAAE;IACpC,MAAM,EAAE,EAAE,EAAE,GAAG,SAAS,EAAkB,CAAC;IAE3C,MAAM,KAAK,GAAG,IAAI,YAAY,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;IAE5C,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;IAC9D,MAAM,YAAY,GAAG,eAAe,CAAC,EAAG,EAAE,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IAEpF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,cAAc,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK;QACpC,oBAAC,WAAW,IAAC,SAAS,EAAE,MAAM,CAAC,2BAA2B,CAAC;YAC1D,oBAAC,WAAW,CAAC,GAAG,IAAC,WAAW;gBAC3B,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAG,EAAE,aAAa,SAAG,CAChC;YAClB,6BAAK,SAAS,EAAC,sBAAsB;gBACpC,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAmB;oBACzC,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAG,GAAI,CACf,CACV,CACO,CACW,CAC1B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -56,7 +56,7 @@ const TaskSummaryCard = (props) => {
56
56
  React.createElement("span", { className: "menu-refresh", onClick: props.onReload },
57
57
  React.createElement(FAIcon, { icon: faRedo })))));
58
58
  return observe(() => (React.createElement(DCard, { title: "TaskSummary", menu: menu, className: styles["task-summary-card"] }, pieData && pieData.length ? (React.createElement("div", { ref: divEl })) : state.loading ? (React.createElement("div", { className: "card-loading" },
59
- React.createElement(Spin, { tip: "Loading...", indicator: React.createElement(LoadingOutlined, null) }))) : (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })))));
59
+ React.createElement(Spin, { indicator: React.createElement(LoadingOutlined, null) }))) : (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })))));
60
60
  };
61
61
  TaskSummaryCard.defaultProps = {
62
62
  width: 400,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/reports/TaskSummaryCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACn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I,EAAE,MAAM,GAAI,CAClB,CACF,CACN,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,IAAC,KAAK,EAAC,aAAa,EAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,mBAAmB,CAAC,IAC3E,OAAO,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAC5B,6BAAK,GAAG,EAAE,KAAK,GAAI,CACnB,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CACnB,6BAAK,SAAS,EAAC,cAAc;QAC5B,oBAAC,IAAI,IAAC,SAAS,EAAE,oBAAC,eAAe,OAAG,GAAI,CACnC,CACN,CAAC,CAAC,CAAC,CACH,oBAAC,KAAK,IAAC,KAAK,EAAE,KAAK,CAAC,sBAAsB,GAAI,CAC9C,CACM,CACR,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,CAAC,YAAY,GAAG;IAC9B,KAAK,EAAE,GAAG;IACV,MAAM,EAAE,GAAG;IACX,MAAM,EAAE,GAAG;CACX,CAAC;AACF,eAAe,eAAe,CAAC"}
@@ -68,11 +68,12 @@ export default () => {
68
68
  console.log(`selected ${value}`);
69
69
  }
70
70
  const Status = (React.createElement("div", null,
71
- React.createElement(Select, { defaultValue: "lucy", style: { width: 120 }, onChange: handleChange },
72
- React.createElement(Option, { value: "jack" }, "Jack"),
73
- React.createElement(Option, { value: "lucy" }, "Lucy"),
74
- React.createElement(Option, { value: "disabled" }, "Disabled"),
75
- React.createElement(Option, { value: "Yiminghe" }, "yiminghe"))));
71
+ React.createElement(Select, { defaultValue: "lucy", style: { width: 120 }, onChange: handleChange, options: [
72
+ { value: "jack", label: "Jack" },
73
+ { value: "lucy", label: "Lucy" },
74
+ { value: "disabled", label: "Disabled" },
75
+ { value: "yiminghe", label: "Yiminghe" },
76
+ ] })));
76
77
  return observe(() => (React.createElement("div", { className: style.all },
77
78
  React.createElement("div", { className: "list-heard" },
78
79
  React.createElement("span", null, "Name"),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/user/pages/Positions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,cAAc,CAAC;AAEjC,eAAe,GAAG,EAAE;IACnB,MAAM,IAAI,GAAG;QACZ;YACC,EAAE,EAAE,CAAC;YACL,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,QAAQ;SAClB;QACD;YACC,EAAE,EAAE,CAAC;YACL,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,QAAQ;SAClB;QACD;YACC,EAAE,EAAE,CAAC;YACL,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,QAAQ;SAClB;QACD;YACC,EAAE,EAAE,CAAC;YACL,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,QAAQ;SAClB;QACD;YACC,EAAE,EAAE,CAAC;YACL,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,QAAQ;SAClB;QACD;YACC,EAAE,EAAE,CAAC;YACL,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,QAAQ;SAClB;QACD;YACC,EAAE,EAAE,CAAC;YACL,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,QAAQ;SAClB;QACD;YACC,EAAE,EAAE,CAAC;YACL,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,QAAQ;SAClB;QACD;YACC,EAAE,EAAE,CAAC;YACL,IAAI,E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out: "vertical" },
18
18
  React.createElement(React.Fragment, null,
19
19
  React.createElement(Form.Item, { label: "Reason for your reject work" },
20
- React.createElement(Select, { defaultValue: "Reason1", onChange: (value) => (state.params.Reason = value) },
21
- React.createElement(Option, { value: "Reason1" }, "Reason1"),
22
- React.createElement(Option, { value: "Reason2" }, "Reason2"),
23
- React.createElement(Option, { value: "Reason3" }, "Reason3"))),
20
+ React.createElement(Select, { defaultValue: "Reason1", onChange: (value) => (state.params.Reason = value), options: [
21
+ { value: "Reason1", label: "Reason1" },
22
+ { value: "Reason2", label: "Reason2" },
23
+ { value: "Reason3", label: "Reason3" },
24
+ ] })),
24
25
  React.createElement(Form.Item, { label: "Description of your reject work" },
25
26
  React.createElement(ProseMirror, { toolbarProps: { sticky: false }, scroll: true, className: "proseMirror", onChange: (opt) => (state.params.Description =
26
27
  opt.editor.dom.innerHTML === "<p><br></p>" ? "" : opt.editor.dom.innerHTML) })),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/RejectWorkDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAS,GAAG,EAAE,MAAM,EAAE,KAAK,EAAW,MAAM,MAAM,CAAC;AACxE,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,MAAM,uCAAuC,CAAC;AAC1D,OAAO,WAAW,MAAM,6CAA6C,CAAC;AACtE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,kEAAkE;AAElE,MAAM,gBAAgB,GAAG,CAAC,KAKzB,EAAE,EAAE;IACJ,0CAA0C;IAC1C,MAAM,EAAE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AG,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,GAE5E,CACS;oBACZ,oBAAC,IAAI,CAAC,IAAI;wBACT,oBAAC,GAAG,IAAC,OAAO,EAAC,KAAK;4BACjB,oBAAC,KAAK;gCACL,oBAAC,MAAM,IAAC,OAAO,EAAE,QAAQ,aAAiB;gCAC1C,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,aAEzD,CACF,CACH,CACK,CACI,CACX,CACF,CACC,CACR,CAAC,CAAC;IACH,KAAK,UAAU,QAAQ;QACtB,uEAAuE;QACvE,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC;QAC1C,wCAAwC;QACxC,2DAA2D;QAC3D,wBAAwB;QACxB,MAAM;QACN,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC7B,CAAC,CAAC,CAAC;QACH,IAAI,KAAK,CAAC,YAAY;YAAE,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1D,CAAC;IACD,yBAAyB;IACzB,SAAS,QAAQ;QAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;AACF,CAAC,CAAC;AACF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/RejectWorkDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAS,GAAG,EAAE,MAAM,EAAE,KAAK,EAAW,MAAM,MAAM,CAAC;AACxE,OAAO,K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CAAC,YAAY;YAAE,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1D,CAAC;IACD,yBAAyB;IACzB,SAAS,QAAQ;QAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;AACF,CAAC,CAAC;AACF,eAAe,gBAAgB,CAAC"}
@@ -13,6 +13,11 @@
13
13
  .ProseMirror {
14
14
  padding: 1rem 1.25rem;
15
15
  }
16
+ .toolbar-button[title="Align"] {
17
+ .ant-select {
18
+ width: auto;
19
+ }
20
+ }
16
21
  }
17
22
  }
18
23
  }
@@ -31,7 +31,7 @@ const RelatedWorkList = (props) => {
31
31
  state.links = [];
32
32
  }, [id]);
33
33
  const content = observe(() => state.loading ? (React.createElement("div", { className: "related-work-list" },
34
- React.createElement(Spin, { tip: "Loading...", indicator: React.createElement(LoadingOutlined, null) }))) : (React.createElement("div", { className: "related-work-list" },
34
+ React.createElement(Spin, { indicator: React.createElement(LoadingOutlined, null) }))) : (React.createElement("div", { className: "related-work-list" },
35
35
  React.createElement("div", { className: "related-work-list-header" },
36
36
  React.createElement("div", { className: "related-work-title" }, title),
37
37
  addAble && (React.createElement("span", { className: "plus-icon" },
@@ -1 +1 @@
1
- {"version":3,"file":"RelatedWorkList.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/RelatedWorkList/RelatedWorkList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,S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E,EAAE,EACV,OAAO,EAAE,cAAc,IAAI,IAAI,CAAC,OAAO,EACvC,aAAa,EAAE,IAAI,EACnB,MAAM,EAAE,GAAG,EAAE;gBACZ,MAAM,CAAC,KAAK,CAAC,CAAC;gBACd,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;YACpC,CAAC,EACD,QAAQ,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,GAC5B,CACF,CACI,CACN,CACD,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE,CACnB,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAY,IAAG,OAAO,CAAgB,CAAC,CAAC,CAAC,OAAO,CACzF,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,CAAC,YAAY,GAAG;IAC9B,OAAO,EAAE,IAAI;CACb,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"RelatedWorkList.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/RelatedWorkList/RelatedWorkList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAA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K,CAAC,GAC5B,CACF,CACI,CACN,CACD,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE,CACnB,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAY,IAAG,OAAO,CAAgB,CAAC,CAAC,CAAC,OAAO,CACzF,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,CAAC,YAAY,GAAG;IAC9B,OAAO,EAAE,IAAI;CACb,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import React from "react";
2
2
  declare const WorkCashReport: (props: {
3
3
  id: string;
4
+ workspaceId: string;
4
5
  onFilterOutPut?: ((filterStatus: string[]) => void) | undefined;
5
6
  }) => React.JSX.Element;
6
7
  export default WorkCashReport;
@@ -1,56 +1,68 @@
1
- import React, { useEffect, useState } from "react";
2
- import { observe } from "@voplus/morpho-ui";
1
+ import React, { useState } from "react";
2
+ import { observe, useRenderOnChange } from "@voplus/morpho-ui";
3
+ import { SelectedFilterLabel } from "@voplus/morpho-ui/es/controls";
3
4
  import { FilterOptionsContext, ListDataContext, useCreateListDataState, } from "@voplus/morpho-ui/es/data";
4
- import { useWorkStore } from "../../../../data/work";
5
+ import { useWorkReportListEffect } from "../../../../data/work-report";
6
+ import { useAutoUpdateListData } from "@voplus/morpho-document-core";
5
7
  import { State } from "./state";
6
8
  import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
7
9
  import { faBarsFilter } from "@fortawesome/pro-light-svg-icons";
8
- import { runInAction } from "mobx";
9
10
  import { Skeleton } from "antd";
10
- import { CloseOutlined } from "@ant-design/icons";
11
+ import { State as WorkStatusState } from "../../../../controls/filters/WorkStatusFilter/state";
11
12
  import { WorkStatusFilter } from "../../../../controls/filters";
12
13
  import WorkCashReportTemplate from "./WorkCashReportTemplate";
13
14
  import FilterView from "@voplus/morpho-ui/es/controls/FilterView";
14
15
  import styles from "./index.less";
15
16
  const WorkCashReport = (props) => {
16
- const list = useCreateListDataState();
17
- const store = useWorkStore();
18
- const [state] = useState(new State(store));
19
- useEffect(() => {
20
- state.filter[1].v1 = props.id;
21
- state.onLoad();
17
+ const [state] = useState(new State());
18
+ const defaultFilter = [
19
+ {
20
+ c: "WorkStatus",
21
+ o: "contains",
22
+ l: "And",
23
+ v1: JSON.stringify(["Active"]),
24
+ },
25
+ { c: "WorkType", o: "=", l: "And", v1: props.id },
26
+ { c: "Workspace", o: "=", l: "And", v1: props.workspaceId },
27
+ ];
28
+ const list = useCreateListDataState({
29
+ filterDefaults: {
30
+ filters: defaultFilter,
31
+ page: { Page: 1, PageSize: 50 },
32
+ },
33
+ filterStateDefault: [
34
+ {
35
+ key: "WorkStatus",
36
+ factory: () => new WorkStatusState(["Active"]),
37
+ },
38
+ ],
22
39
  }, [props.id]);
23
- const onResetFilter = (item) => runInAction(() => { var _a; return onFilter((_a = state.filterV1Val) === null || _a === void 0 ? void 0 : _a.filter((v) => v !== item)); });
24
- const onFilter = (filterV1Val) => runInAction(() => {
25
- var _a;
26
- state.filterV1Val = filterV1Val;
27
- state.filter[0].v1 = JSON.stringify(filterV1Val);
28
- state.onLoad(state.filter);
29
- (_a = props.onFilterOutPut) === null || _a === void 0 ? void 0 : _a.call(props, state.filterV1Val);
30
- });
31
- return observe(() => {
32
- var _a;
33
- return (React.createElement(ListDataContext.Provider, { value: list },
34
- React.createElement("div", { className: styles["work-report-g2"] },
35
- React.createElement(FilterOptionsContext.Provider, { value: list.filters },
36
- React.createElement("div", { className: "work-report-header" },
37
- React.createElement("div", { className: "selected-filter" }, (_a = state.filterV1Val) === null || _a === void 0 ? void 0 : _a.map((type) => (React.createElement("div", { className: "selected-filter-item" },
38
- React.createElement("span", { className: "prosemirror-mention-node" }, type),
39
- React.createElement(CloseOutlined, { className: "selected-filter-item-del", onClick: () => onResetFilter(type) }))))),
40
- React.createElement("div", { className: "filter-component" },
41
- React.createElement(FilterView, { className: "ml-2.5", icon: React.createElement(FAIcon, { icon: faBarsFilter, size: "lg" }), columns: [
42
- React.createElement(WorkStatusFilter, { key: "WorkStatusFilter", defaultValue: state.filterV1Val }),
43
- ], onFilter: (c) => {
44
- var _a, _b;
45
- c.filter();
46
- onFilter((state.filterV1Val = ((_a = c === null || c === void 0 ? void 0 : c.options) === null || _a === void 0 ? void 0 : _a.Filters)
47
- ? JSON.parse((_b = c === null || c === void 0 ? void 0 : c.options) === null || _b === void 0 ? void 0 : _b.Filters[0].v1)
48
- : []));
49
- }, onReset: () => onFilter(["Active"]) })))),
50
- React.createElement("div", { className: "work-report-content" },
51
- React.createElement(Skeleton, { loading: state.loading, active: true },
52
- React.createElement(WorkCashReportTemplate, { data: state.dataList }))))));
53
- });
40
+ useWorkReportListEffect(list, async (result, total, data) => {
41
+ state.loading = true;
42
+ list.union(result);
43
+ await state.loadCashList(result);
44
+ state.loading = false;
45
+ }, list.filters.options);
46
+ useAutoUpdateListData(list, (d) => true);
47
+ useRenderOnChange(() => list.filters.options);
48
+ return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
49
+ React.createElement("div", { className: styles["work-report-g2"] },
50
+ React.createElement(FilterOptionsContext.Provider, { value: list.filters },
51
+ React.createElement("div", { className: "work-report-header" },
52
+ React.createElement(SelectedFilterLabel, { filterKey: "WorkStatus" }),
53
+ React.createElement("div", { className: "filter-component" },
54
+ React.createElement(FilterView, { className: "ml-2.5", icon: React.createElement(FAIcon, { icon: faBarsFilter, size: "lg" }), columns: [React.createElement(WorkStatusFilter, { key: "WorkStatusFilter", defaultValue: ["Active"] })], onFilter: onFilter, onReset: onReset })))),
55
+ React.createElement("div", { className: "work-report-content" },
56
+ React.createElement(Skeleton, { loading: state.loading, active: true },
57
+ React.createElement(WorkCashReportTemplate, { data: state.dataList })))))));
58
+ function onFilter(context) {
59
+ context.paging.Page = 1;
60
+ context.filter();
61
+ }
62
+ function onReset(context) {
63
+ context.paging.Page = 1;
64
+ context.filter();
65
+ }
54
66
  };
55
67
  export default WorkCashReport;
56
68
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkCashReport/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,sBAAsB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,cAAc,GAAG,CAAC,KAGvB,EAAE,EAAE;IACJ,MAAM,IAAI,GAAG,sBAAsB,EAAE,CAAC;IACtC,MAAM,KAAK,GAAG,YAAY,EAAE,CAAC;IAE7B,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;IAE3C,SAAS,CAAC,GAAG,EAAE;QACd,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;QAC9B,KAAK,CAAC,MAAM,EAAE,CAAC;IAChB,C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AAI,CAAC,GACjC,CACG,CACN,CAAC,CACG;wBACN,6BAAK,SAAS,EAAC,kBAAkB;4BAChC,oBAAC,UAAU,IACV,SAAS,EAAC,QAAQ,EAClB,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,YAAY,EAAE,IAAI,EAAC,IAAI,GAAG,EAC9C,OAAO,EAAE;oCACR,oBAAC,gBAAgB,IAAC,GAAG,EAAC,kBAAkB,EAAC,YAAY,EAAE,KAAK,CAAC,WAAW,GAAI;iCAC5E,EACD,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;;oCACf,CAAC,CAAC,MAAM,EAAE,CAAC;oCACX,QAAQ,CACP,CAAC,KAAK,CAAC,WAAW,GAAG,CAAA,MAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,OAAO,0CAAE,OAAO;wCACvC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,OAAO,0CAAE,OAAO,CAAC,CAAC,EAAE,EAAE,CAAC;wCACvC,CAAC,CAAC,EAAE,CAAC,CACN,CAAC;gCACH,CAAC,EACD,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,GAClC,CACG,CACD,CACyB;gBAEhC,6BAAK,SAAS,EAAC,qBAAqB;oBACnC,oBAAC,QAAQ,IAAC,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,MAAM;wBACvC,oBAAC,sBAAsB,IAAC,IAAI,EAAE,KAAK,CAAC,QAAQ,GAAI,CACtC,CACN,CACD,CACoB,CAC3B,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkCashReport/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAA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AS,EAAC,kBAAkB;wBAChC,oBAAC,UAAU,IACV,SAAS,EAAC,QAAQ,EAClB,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,YAAY,EAAE,IAAI,EAAC,IAAI,GAAG,EAC9C,OAAO,EAAE,CAAC,oBAAC,gBAAgB,IAAC,GAAG,EAAC,kBAAkB,EAAC,YAAY,EAAE,CAAC,QAAQ,CAAC,GAAI,CAAC,EAChF,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,GACf,CACG,CACD,CACyB;YAEhC,6BAAK,SAAS,EAAC,qBAAqB;gBACnC,oBAAC,QAAQ,IAAC,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,MAAM;oBACvC,oBAAC,sBAAsB,IAAC,IAAI,EAAE,KAAK,CAAC,QAAQ,GAAI,CACtC,CACN,CACD,CACoB,CAC3B,CAAC,CAAC;IAEH,SAAS,QAAQ,CAAC,OAAY;QAC7B,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;IAED,SAAS,OAAO,CAAC,OAAY;QAC5B,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -6,14 +6,14 @@
6
6
  margin-bottom: 40px;
7
7
  }
8
8
 
9
- .selected-filter {
10
- }
11
-
12
9
  .selected-filter-item {
13
- position: relative;
14
- display: inline-block;
15
10
 
16
- .selected-filter-item-del {
11
+ .prosemirror-mention-node {
12
+ line-height: unit((24/18), em);
13
+ margin-top: 0;
14
+ }
15
+
16
+ .selected-filter-item-delete {
17
17
  position: absolute;
18
18
  font-size: 12px;
19
19
  right: 12px;
@@ -22,14 +22,10 @@
22
22
  }
23
23
 
24
24
  &:hover {
25
- .prosemirror-mention-node {
26
- padding-right: 24px;
27
- }
28
-
29
- .selected-filter-item-del {
25
+ .selected-filter-item-delete {
30
26
  display: block;
31
27
  }
32
28
  }
33
29
  }
34
30
  }
35
- }
31
+ }
@@ -1,15 +1,10 @@
1
- import { WorkStore, IWorkReport } from "../../../../data/work";
2
- import { FilterOption } from "@voplus/morpho-data";
1
+ import { IWorkReportItem } from "../../../../data/work-report";
3
2
  export declare class State {
4
- private store;
5
3
  loading: boolean;
6
- filterV1Val: string[];
7
- filter: FilterOption[];
8
4
  dataList: {
9
5
  date: string;
10
6
  total: number;
11
7
  }[];
12
- constructor(store: WorkStore);
13
- onLoad(filterOption?: FilterOption[]): void;
14
- loadCashList(workReport: IWorkReport): void;
8
+ constructor();
9
+ loadCashList(workReport: IWorkReportItem[]): Promise<void>;
15
10
  }
@@ -2,39 +2,13 @@ import { __decorate } from "tslib";
2
2
  import { makeObservable, observable, action } from "mobx";
3
3
  import dayjs from "dayjs";
4
4
  export class State {
5
- constructor(store) {
6
- Object.defineProperty(this, "store", {
7
- enumerable: true,
8
- configurable: true,
9
- writable: true,
10
- value: store
11
- });
5
+ constructor() {
12
6
  Object.defineProperty(this, "loading", {
13
7
  enumerable: true,
14
8
  configurable: true,
15
9
  writable: true,
16
10
  value: false
17
11
  });
18
- Object.defineProperty(this, "filterV1Val", {
19
- enumerable: true,
20
- configurable: true,
21
- writable: true,
22
- value: ["Active"]
23
- });
24
- Object.defineProperty(this, "filter", {
25
- enumerable: true,
26
- configurable: true,
27
- writable: true,
28
- value: [
29
- {
30
- c: "WorkStatus",
31
- o: "contains",
32
- l: "And",
33
- v1: JSON.stringify(this.filterV1Val),
34
- },
35
- { c: "WorkType", o: "=", l: "And", v1: "" },
36
- ]
37
- });
38
12
  // 柱状图的数据列表
39
13
  Object.defineProperty(this, "dataList", {
40
14
  enumerable: true,
@@ -44,18 +18,9 @@ export class State {
44
18
  });
45
19
  makeObservable(this);
46
20
  }
47
- onLoad(filterOption) {
48
- this.loading = true;
49
- this.store
50
- .loadWorkReport({ Filters: filterOption !== null && filterOption !== void 0 ? filterOption : this.filter })
51
- .then((res) => this.loadCashList(res))
52
- .finally(() => (this.loading = false));
53
- }
54
- // 把后台返回的值转成柱状图所需要的数据
55
- loadCashList(workReport) {
56
- var _a;
21
+ async loadCashList(workReport) {
57
22
  this.dataList = [];
58
- (_a = workReport === null || workReport === void 0 ? void 0 : workReport.items) === null || _a === void 0 ? void 0 : _a.map((i) => this.dataList.push({
23
+ workReport === null || workReport === void 0 ? void 0 : workReport.map((i) => this.dataList.push({
59
24
  date: dayjs(`${i.year}-${i.month}`).format("YYYY MMM"),
60
25
  total: i.total,
61
26
  }));
@@ -64,18 +29,9 @@ export class State {
64
29
  __decorate([
65
30
  observable
66
31
  ], State.prototype, "loading", void 0);
67
- __decorate([
68
- observable
69
- ], State.prototype, "filterV1Val", void 0);
70
- __decorate([
71
- observable
72
- ], State.prototype, "filter", void 0);
73
32
  __decorate([
74
33
  observable
75
34
  ], State.prototype, "dataList", void 0);
76
- __decorate([
77
- action
78
- ], State.prototype, "onLoad", null);
79
35
  __decorate([
80
36
  action
81
37
  ], State.prototype, "loadCashList", null);
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkCashReport/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAG1D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAK;IAkBjB,YAAoB,KAAgB;QAAxB;;;;mBAAQ,KAAK;WAAW;QAjBxB;;;;mBAAU,KAAK;WAAC;QAEhB;;;;mBAAwB,CAAC,QAAQ,CAAC;WAAC;QAEnC;;;;mBAAyB;gBACpC;oBACC,CAAC,EAAE,YAAY;oBACf,CAAC,EAAE,UAAU;oBACb,CAAC,EAAE,KAAK;oBACR,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC;iBACpC;gBACD,EAAE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/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAE1D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAK;IAMjB;QALY;;;;mBAAU,KAAK;WAAC;QAE5B,WAAW;QACC;;;;mBAA8C,EAAE;WAAC;QAG5D,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAEoB,AAAN,KAAK,CAAC,YAAY,CAAC,UAA6B;QAC9D,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QAEnB,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;YAClB,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC;YACtD,KAAK,EAAE,CAAC,CAAC,KAAM;SACf,CAAC,CACF,CAAC;IACH,CAAC;CACD;AAnBY;IAAX,UAAU;sCAAiB;AAGhB;IAAX,UAAU;uCAAkD;AAMxC;IAApB,MAAM;yCASN"}
@@ -1,5 +1,6 @@
1
1
  import React, { useState } from "react";
2
2
  import { useWorkListEffect } from "../../../../data/work";
3
+ import { SelectedFilterLabel } from "@voplus/morpho-ui/es/controls";
3
4
  import { useWorkType, useWorkTypeListEffect } from "../../../../data/worktype";
4
5
  import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
5
6
  import { WorkStatusFilter, WorkTypesFilter } from "../../../../controls/filters";
@@ -8,7 +9,6 @@ import { observe, useRenderOnChange } from "@voplus/morpho-ui";
8
9
  import { Badge } from "antd";
9
10
  import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemFrame";
10
11
  import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
11
- import SelectedFilterLabel from "../../work-type/controls/SelectedFilterLabel";
12
12
  import NewWorkForm from "../NewWorkForm";
13
13
  import WorkItem from "../WorkItem";
14
14
  import dayjs from "dayjs";
@@ -58,7 +58,7 @@ const WorkList = (props) => {
58
58
  viewTitle: (React.createElement(React.Fragment, null,
59
59
  React.createElement("span", { className: "margin-right-10" }, viewTitle || (workType === null || workType === void 0 ? void 0 : workType.name) || "My Works"),
60
60
  total && workTotal ? React.createElement(Badge, { count: workTotal }) : null,
61
- React.createElement(SelectedFilterLabel, null))),
61
+ React.createElement(SelectedFilterLabel, { filterKey: "WorkTypes" }))),
62
62
  sortable: false,
63
63
  quickSearch: true,
64
64
  addAble: addAble || (dueDate === "requested" ? true : false),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAS,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAa,WAAW,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,mBAAmB,MAAM,8CAA8C,CAAC;AAC/E,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,KA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