@voplus/morpho-workspace 6.0.148 → 6.0.149

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,6 +32,8 @@ export type WorkListProps = {
32
32
  };
33
33
  /** Call back when an item has been clicked on the list. */
34
34
  onClickItem?: (item: IWork) => void;
35
+ /** 是否显示 total 总数 */
36
+ total?: boolean;
35
37
  /** Call back when received total number of works. */
36
38
  onTotal?: (total: number) => void;
37
39
  };
@@ -14,16 +14,18 @@ import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
14
14
  import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
15
15
  import NewWorkForm from "../NewWorkForm";
16
16
  import WorkItem from "../WorkItem";
17
+ import { Badge } from "antd";
17
18
  import dayjs from "dayjs";
18
19
  import S from "string";
19
20
  import "./index.less";
20
21
  const WorkList2 = (props) => {
21
- const { typesId, roles, status, statusArr, workspaceId, workId, contactId, contact, workHeaderProps, } = props;
22
+ const { typesId, roles, status, statusArr, workspaceId, workId, contactId, contact, total, workHeaderProps, } = props;
22
23
  const [activeId, setActiveId] = useState("");
24
+ const [workTotal, setWorkTotal] = useState(0);
23
25
  const [asideContext] = useState(AsideContent.createContext());
24
26
  const documentStore = useDocumentStore();
25
27
  const workType = useWorkType(typesId);
26
- let listViewHeaderProps = {};
28
+ let listViewHeaderProps = undefined;
27
29
  const filterCol = () => {
28
30
  let filtercolumns = [];
29
31
  if (Array.isArray(props.filterVisible)) {
@@ -60,6 +62,7 @@ const WorkList2 = (props) => {
60
62
  useWorkListEffect(list, (result, total) => {
61
63
  var _a;
62
64
  list.union(result);
65
+ setWorkTotal(total);
63
66
  (_a = props.onTotal) === null || _a === void 0 ? void 0 : _a.call(props, total);
64
67
  }, {
65
68
  Total: true,
@@ -68,7 +71,9 @@ const WorkList2 = (props) => {
68
71
  return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
69
72
  React.createElement(AsideContent, { context: asideContext },
70
73
  React.createElement("div", { className: "work-list-2" },
71
- React.createElement(WorkListHeader, { ...workHeaderProps, viewTitle: (workHeaderProps === null || workHeaderProps === void 0 ? void 0 : workHeaderProps.viewTitle) || (workType === null || workType === void 0 ? void 0 : workType.name) || "My Works", filterProps: { ...listViewHeaderProps }, selectedFilterKey: ["WorkTypes"], onAdd: () => asideContext === null || asideContext === void 0 ? void 0 : asideContext.openAside(React.createElement(NewWorkForm, { contact: contact, showView: true }), {
74
+ React.createElement(WorkListHeader, { ...workHeaderProps, viewTitle: React.createElement(React.Fragment, null,
75
+ React.createElement("span", { className: "margin-right-10" }, (workHeaderProps === null || workHeaderProps === void 0 ? void 0 : workHeaderProps.viewTitle) || (workType === null || workType === void 0 ? void 0 : workType.name) || "My Works"),
76
+ total && workTotal ? React.createElement(Badge, { count: workTotal }) : null), filterProps: listViewHeaderProps, selectedFilterKey: ["WorkTypes"], onAdd: () => asideContext === null || asideContext === void 0 ? void 0 : asideContext.openAside(React.createElement(NewWorkForm, { contact: contact, showView: true }), {
72
77
  span: 12,
73
78
  }) }),
74
79
  React.createElement(ListView, { headerProps: { visible: false }, moveAfter: moveAfter, asideable: false, renderItem: ({ item, connectDragSource }) => (React.createElement(DocumentItemFrame, { key: item.id, frameProps: { active: activeId === item.id }, onClick: () => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkList2/index.tsx"],"names":[],"mappings":"AAAA;;KAEK;AAEL,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,cAAuC,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAS,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,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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5C,CAAC;IAED,SAAS,YAAY;QACpB,QAAQ,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,OAAO,EAAE,CAAC;YAClC,KAAK,OAAO,CAAC;YACb,KAAK,MAAM,CAAC;YACZ,KAAK,OAAO,CAAC;YACb,KAAK,KAAK;gBACT,OAAO,CAAC,QAAQ,CAAC,CAAC;YACnB,KAAK,WAAW;gBACf,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;YACnC;gBACC,MAAM;QACR,CAAC;QAED,IAAI,SAAS;YAAE,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QAExC,IAAI,OAAO;YAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;QAE/B,OAAO,EAAE,CAAC;IACX,CAAC;IAED,SAAS,QAAQ,CAAC,OAAY;QAC7B,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AAEF,SAAS,CAAC,YAAY,GAAG;IACxB,SAAS,EAAE,IAAI;IACf,aAAa,EAAE,IAAI;CACnB,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,10 +1,13 @@
1
- import React from "react";
1
+ import React, { useMemo } from "react";
2
2
  import { observe } from "@voplus/morpho-ui";
3
3
  import ListCard from "@voplus/morpho-ui/es/controls/ListCard";
4
4
  import WorkList from "../WorkList2";
5
+ import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
5
6
  const WorkListCard = (props) => {
6
- return observe(() => (React.createElement(ListCard, { style: props.style },
7
- React.createElement(WorkList, { ...props, workHeaderProps: { type: "card" } }))));
7
+ const view = useMemo(() => new ViewContextData("PropertiesView"), []);
8
+ return observe(() => (React.createElement(ViewContext.Provider, { value: view },
9
+ React.createElement(ListCard, { style: props.style },
10
+ React.createElement(WorkList, { ...props, workHeaderProps: { type: "card" } })))));
8
11
  };
9
12
  WorkListCard.defaultProps = {
10
13
  total: true,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,QAAQ,MAAM,wCAAwC,CAAC;AAC9D,OAAO,QAA2B,MAAM,cAAc,CAAC;AAEvD,MAAM,YAAY,GAAG,CAAC,KAAsD,EAAE,EAAE;IAC/E,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,CAAC,KAAK;QAC3B,oBAAC,QAAQ,OAAK,KAAK,EAAE,eAAe,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,GAAI,CAChD,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,YAAY,CAAC,YAAY,GAAG;IAC3B,KAAK,EAAE,IAAI;CACX,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,QAAQ,MAAM,wCAAwC,CAAC;AAC9D,OAAO,QAA2B,MAAM,cAAc,CAAC;AACvD,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAElE,MAAM,YAAY,GAAG,CAAC,KAAsD,EAAE,EAAE;IAC/E,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEtE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;QAChC,oBAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,CAAC,KAAK;YAC3B,oBAAC,QAAQ,OAAK,KAAK,EAAE,eAAe,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,GAAI,CAChD,CACW,CACvB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,YAAY,CAAC,YAAY,GAAG;IAC3B,KAAK,EAAE,IAAI;CACX,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { ReactNode } from "react";
2
2
  import { FilterViewProps } from "@voplus/morpho-ui/es/controls/FilterView";
3
3
  export type WorkListHeaderProps = {
4
4
  addAble?: boolean;
5
5
  dueDate?: string;
6
- viewTitle?: string;
6
+ viewTitle?: ReactNode;
7
7
  filterProps?: FilterViewProps;
8
8
  selectedFilterKey?: string[];
9
9
  /** 如果card 头部样式不一样 */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkListHeader/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,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,cAAc,MAAM,wEAAwE,CAAC;AACpG,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AACjG,OAAO,UAAU,MAAM,YAAY,CAAC;AAepC,MAAM,cAAc,GAAG,CAAC,KAA0B,EAAE,EAAE;IACrD,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,KAAK,CAA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M,KAAK,IAAI,CAAC,GAAG;iBAC3B,CAAC,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC;gBAEvC;oBACE,IAAI,CAAC,KAAK;;oBAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAC,CAAC,CAAC,KAAK,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,CACjD,CACK,CACT,CAAC,CACG,CACN,CAAC,CAAC,CAAC,CACH,6BAAK,SAAS,EAAC,mBAAmB,IAChC,KAAK,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,CACxB,6BAAK,SAAS,EAAC,gBAAgB,IAAE,SAAS,CAAO,CACjD,CAAC,CAAC,CAAC,CACH;gBACC,6BAAK,SAAS,EAAC,kBAAkB;oBAChC,oBAAC,MAAM,IAAC,IAAI,EAAE,WAAW,GAAI,CACxB;gBACN,6BAAK,SAAS,EAAC,gBAAgB;oBAC9B,6BAAK,SAAS,EAAC,gBAAgB,IAAE,SAAS,CAAO;oBACjD,6BAAK,SAAS,EAAC,aAAa,oDAEtB,CACD,CACJ,CACH,CACI,CACN,CACC,CACH,GACA,CACG,CACN,CAAC,CAAC;IAEH,SAAS,cAAc,CAAC,IAAY;;QACnC,SAAS,CAAC,IAAI,CAAC,CAAC;QAEhB,MAAA,KAAK,CAAC,cAAc,sDAAG,IAAI,CAAC,CAAC;IAC9B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkListHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAa,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE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DAAG,IAAI,CAAC,CAAC;IAC9B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.148",
3
+ "version": "6.0.149",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",