@voplus/morpho-workspace 6.0.110 → 6.0.111
Sign up to get free protection for your applications and to get access to all the features.
- package/es/controls/filters/DueDateFilter/state.d.ts +2 -2
- package/es/controls/filters/DueDateFilter/state.js.map +1 -1
- package/es/controls/filters/MemberTaskDueDateFilter/state.d.ts +2 -2
- package/es/controls/filters/MemberTaskDueDateFilter/state.js.map +1 -1
- package/es/controls/filters/StartDateFilter/state.d.ts +2 -2
- package/es/controls/filters/StartDateFilter/state.js.map +1 -1
- package/es/modules/tasks/components/DelegateDialog/index.js.map +1 -1
- package/es/modules/tasks/components/TaskCheckItem/index.js.map +1 -1
- package/es/modules/tasks/components/TaskCheckNewForm/index.js.map +1 -1
- package/es/modules/work/components/NewWorkErrorDialog/index.js.map +1 -1
- package/es/modules/work/components/NewWorkForm/NewWorkFormDialog.d.ts +10 -0
- package/es/modules/work/components/NewWorkForm/NewWorkFormDialog.js +14 -0
- package/es/modules/work/components/NewWorkForm/NewWorkFormDialog.js.map +1 -0
- package/es/modules/work/components/NewWorkForm/index.d.ts +20 -19
- package/es/modules/work/components/NewWorkForm/index.js.map +1 -1
- package/es/modules/work/components/NewWorkForm/index.less +8 -0
- package/es/modules/work/components/WorkTableListCard/TableCell.d.ts +4 -0
- package/es/modules/work/components/WorkTableListCard/TableCell.js +36 -0
- package/es/modules/work/components/WorkTableListCard/TableCell.js.map +1 -0
- package/es/modules/work/components/WorkTableListCard/index.d.ts +18 -0
- package/es/modules/work/components/WorkTableListCard/index.js +107 -0
- package/es/modules/work/components/WorkTableListCard/index.js.map +1 -0
- package/es/modules/work/components/WorkTableListCard/index.less +14 -0
- package/package.json +1 -1
@@ -1,9 +1,9 @@
|
|
1
1
|
import { FilterOption } from "@voplus/morpho-data";
|
2
2
|
import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
|
3
|
-
import {
|
3
|
+
import { RangeValueType } from "rc-picker/lib/PickerInput/RangePicker";
|
4
4
|
import dayjs from "dayjs";
|
5
5
|
export declare class State extends DefaultFilterState {
|
6
|
-
dueDate:
|
6
|
+
dueDate: RangeValueType<dayjs.Dayjs> | null;
|
7
7
|
constructor();
|
8
8
|
/** 视乎State内容,返回正确的FilterOption[]. 在Filter时,Context 会使用此属性replace Context内FilterOption的资料。 */
|
9
9
|
get filters(): FilterOption[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/DueDateFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAM,SAAQ,kBAAkB;IAG5C;QACC,KAAK,EAAE,CAAC;QAHU;;;;;
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/DueDateFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAM,SAAQ,kBAAkB;IAG5C;QACC,KAAK,EAAE,CAAC;QAHU;;;;;WAA4C;QAI9D,cAAc,CAAC,IAAI,CAAC,CAAC;QACrB,IAAI,CAAC,KAAK,EAAE,CAAC;IACd,CAAC;IAED,6FAA6F;IAC7F,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,KAAK,CAAC,YAAY,CAAC,CAAC;QACvD,MAAM,GAAG,GAAG,MAAA,MAAA,IAAI,CAAC,OAAO,0CAAG,CAAC,CAAC,mCAAI,KAAK,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACvD,OAAO;YACN;gBACC,CAAC,EAAE,SAAS;gBACZ,CAAC,EAAE,SAAS;gBACZ,CAAC,EAAE,KAAK;gBACR,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC;gBACvD,EAAE,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC;aACnC;SACjB,CAAC;IACH,CAAC;IAEM,KAAK;QACX,IAAI,CAAC,OAAO,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC7B,CAAC;CACD;AA3BmB;IAAlB,UAAU;sCAAoD"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FilterOption } from "@voplus/morpho-data";
|
2
2
|
import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
|
3
|
-
import {
|
3
|
+
import { RangeValueType } from "rc-picker/lib/PickerInput/RangePicker";
|
4
4
|
import dayjs from "dayjs";
|
5
5
|
export declare const dateMenus: ({
|
6
6
|
name: string;
|
@@ -27,7 +27,7 @@ export declare const dateMenus: ({
|
|
27
27
|
badge?: undefined;
|
28
28
|
})[];
|
29
29
|
export declare class State extends DefaultFilterState {
|
30
|
-
dueDate:
|
30
|
+
dueDate: RangeValueType<dayjs.Dayjs> | null;
|
31
31
|
unscheduled: boolean;
|
32
32
|
constructor();
|
33
33
|
/** 视乎State内容,返回正确的FilterOption[]. 在Filter时,Context 会使用此属性replace Context内FilterOption的资料。 */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/MemberTaskDueDateFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CA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AK,EAAE,CAAC;QALU;;;;;
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/MemberTaskDueDateFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,CAAC,MAAM,SAAS,GAAG;IACxB;QACC,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,CAAC,SAAS,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACxC,GAAG,EAAE,aAAa;QAClB,MAAM,EAAE,GAAG;KACX;IACD;QACC,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACrD,MAAM,EAAE,CAAC;QACT,KAAK,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE;QACrC,KAAK,EAAE,IAAI;KACX;IACD,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACzF;QACC,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACzD,MAAM,EAAE,CAAC;KACT;IACD;QACC,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE;YACN,KAAK,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;YAC9C,KAAK,EAA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K;QACX,IAAI,CAAC,OAAO,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC7B,CAAC;CACD;AAhCmB;IAAlB,UAAU;sCAAoD;AAE5C;IAAlB,UAAU;0CAAqC"}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { FilterOption } from "@voplus/morpho-data";
|
2
2
|
import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
|
3
|
-
import {
|
3
|
+
import { RangeValueType } from "rc-picker/lib/PickerInput/RangePicker";
|
4
4
|
import dayjs from "dayjs";
|
5
5
|
export declare class State extends DefaultFilterState {
|
6
|
-
stateDate:
|
6
|
+
stateDate: RangeValueType<dayjs.Dayjs> | null;
|
7
7
|
constructor();
|
8
8
|
/** 视乎State内容,返回正确的FilterOption[]. 在Filter时,Context 会使用此属性replace Context内FilterOption的资料。 */
|
9
9
|
get filters(): FilterOption[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/StartDateFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAM,SAAQ,kBAAkB;IAG5C;QACC,KAAK,EAAE,CAAC;QAHU;;;;;
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/StartDateFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAM,SAAQ,kBAAkB;IAG5C;QACC,KAAK,EAAE,CAAC;QAHU;;;;;WAA8C;QAIhE,cAAc,CAAC,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KAAK,CAAC,QAAQ,EAAS;YACnF,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC;QACjB,CAAC,CAAC,CAAC;QACH,MAAA,KAAK,CAAC,MAAM,qDAAI,CAAC;QACjB,OAAO;IACR,CAAC;IACD,kBAAkB;IAClB,SAAS,QAAQ;;QAChB,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC;QAChB,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC;QACnB,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,gBAAgB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/NewWorkErrorDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,KAAK,MAAM,uCAAuC,CAAC;AAC1D,OAAO,WAAW,MAAM,6CAA6C,CAAC;AACtE,O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4
|
+
declare const NewWorkFormDialog: {
|
5
|
+
(props: NewWorkFormProps): React.JSX.Element;
|
6
|
+
defaultProps: {
|
7
|
+
type: string;
|
8
|
+
};
|
9
|
+
};
|
10
|
+
export default NewWorkFormDialog;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import NewWorkForm from "./index";
|
3
|
+
import { Modal } from "antd";
|
4
|
+
import { observe } from "@voplus/morpho-ui";
|
5
|
+
import "./index.less";
|
6
|
+
const NewWorkFormDialog = (props) => {
|
7
|
+
return observe(() => (React.createElement(Modal, { className: "new-work-form-dialog", title: "New Work Form Dialog", open: true, closable: false, footer: false, onCancel: props.onCancel },
|
8
|
+
React.createElement(NewWorkForm, { ...props }))));
|
9
|
+
};
|
10
|
+
NewWorkFormDialog.defaultProps = {
|
11
|
+
type: "mini",
|
12
|
+
};
|
13
|
+
export default NewWorkFormDialog;
|
14
|
+
//# sourceMappingURL=NewWorkFormDialog.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NewWorkFormDialog.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/NewWorkForm/NewWorkFormDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,WAAiC,MAAM,SAAS,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,cAAc,CAAC;AAEtB,MAAM,iBAAiB,GAAG,CAAC,KAAuB,EAAE,EAAE;IACpD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACnB,oBAAC,KAAK,IACJ,SAAS,EAAC,sBAAsB,EAChC,KAAK,EAAC,sBAAsB,EAC5B,IAAI,QACJ,QAAQ,EAAE,KAAK,EACf,MAAM,EAAE,KAAK,EACb,QAAQ,EAAE,KAAK,CAAC,QAAQ;QAExB,oBAAC,WAAW,OAAK,KAAK,GAAI,CACpB,CACT,CAAC,CAAC;AACL,CAAC,CAAC;AACF,iBAAiB,CAAC,YAAY,GAAG;IAC/B,IAAI,EAAE,MAAM;CACb,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
@@ -1,24 +1,25 @@
|
|
1
1
|
import React from "react";
|
2
|
+
export type NewWorkFormProps = {
|
3
|
+
/** 添加 RelatedWork 时需要传入 RelatedId = workId */
|
4
|
+
workId?: string;
|
5
|
+
/** 用于预选的 contact */
|
6
|
+
contact?: {
|
7
|
+
name: string;
|
8
|
+
id: string;
|
9
|
+
};
|
10
|
+
/** 額外css class. */
|
11
|
+
className?: string;
|
12
|
+
/** NewWorkForm 打开的方式 */
|
13
|
+
openMode?: "openAside" | "openBottom";
|
14
|
+
/** save后显示PropertiesView, cancel关闭右边new work */
|
15
|
+
showView?: boolean;
|
16
|
+
/** 是否为添加 RelatedWork */
|
17
|
+
isRelatedWork?: boolean;
|
18
|
+
onSave?: (params?: any) => void;
|
19
|
+
onCancel?: () => void;
|
20
|
+
};
|
2
21
|
declare const NewWorkForm: {
|
3
|
-
(props:
|
4
|
-
/** 添加 RelatedWork 时需要传入 RelatedId = workId */
|
5
|
-
workId?: string;
|
6
|
-
/** 用于预选的 contact */
|
7
|
-
contact?: {
|
8
|
-
name: string;
|
9
|
-
id: string;
|
10
|
-
};
|
11
|
-
/** 額外css class. */
|
12
|
-
className?: string;
|
13
|
-
/** NewWorkForm 打开的方式 */
|
14
|
-
openMode?: "openAside" | "openBottom";
|
15
|
-
/** save后显示PropertiesView, cancel关闭右边new work */
|
16
|
-
showView?: boolean;
|
17
|
-
/** 是否为添加 RelatedWork */
|
18
|
-
isRelatedWork?: boolean;
|
19
|
-
onSave?: (params?: any) => void;
|
20
|
-
onCancel?: () => void;
|
21
|
-
}): React.JSX.Element;
|
22
|
+
(props: NewWorkFormProps): React.JSX.Element;
|
22
23
|
defaultProps: {
|
23
24
|
openMode: string;
|
24
25
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/NewWorkForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC9D,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,cAAc,MAAM,mDAAmD,CAAC;AAC/E,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;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/NewWorkForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC9D,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,kBAAkB,MAAM,uB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AAI,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IACnF,CAAC;IAED,kBAAkB;IAClB,SAAS,QAAQ;;QAChB,IAAI,KAAK,CAAC,QAAQ;YAAE,OAAO,YAAa,CAAC,UAAU,EAAE,CAAC;QACtD,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AAEF,WAAW,CAAC,YAAY,GAAG;IAC1B,QAAQ,EAAE,WAAW;CACrB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { faEllipsisVertical } from "@fortawesome/pro-solid-svg-icons";
|
2
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
3
|
+
import { useMetaStore } from "@voplus/morpho-document-core";
|
4
|
+
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
5
|
+
import { DateQuickIcon } from "@voplus/morpho-document/es/controls/data-icons";
|
6
|
+
import DataIconBar from "@voplus/morpho-document/es/controls/DataIconBar";
|
7
|
+
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
8
|
+
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
9
|
+
import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
|
10
|
+
import { observe } from "@voplus/morpho-ui";
|
11
|
+
import classnames from "classnames";
|
12
|
+
import React from "react";
|
13
|
+
import { message } from "antd";
|
14
|
+
import { useWorkStore } from "../../../../data/work";
|
15
|
+
import WorkStatusLabel from "../../controls/WorkStatusLabel";
|
16
|
+
import "./index.less";
|
17
|
+
const TableCell = (props) => {
|
18
|
+
const { dataIndex, record, rowIndex, children, ...restProps } = props;
|
19
|
+
const store = useWorkStore();
|
20
|
+
const meta = useMetaStore();
|
21
|
+
return observe(() => (React.createElement("td", { ...restProps }, dataIndex === "name" ? (React.createElement(React.Fragment, null,
|
22
|
+
React.createElement(DocumentHeader, { id: record.id, clickNameEffect: "default", preVisible: false, tagsVisible: false, flagVisible: false, statusVisible: false, quickDataBarVisible: false, toolsVisible: false, className: "work-table-item-name" }),
|
23
|
+
React.createElement("div", { className: "table-item-dataIcon" },
|
24
|
+
React.createElement(DataIconBar, null,
|
25
|
+
"Due on ",
|
26
|
+
React.createElement(DateQuickIcon, { id: record.id }))))) : dataIndex === "assign" ? (React.createElement(AvatarList, { editable: false, list: (record === null || record === void 0 ? void 0 : record.owners) ? record.owners : [], maxCount: 4 })) : dataIndex === "status" ? (React.createElement(WorkStatusLabel, { className: classnames("work-table-status-label"), status: record.workStatus, editable: !record.readonly, onChange: (workStatus) => store.edit(record.id, {
|
27
|
+
data: { workStatus },
|
28
|
+
error: (error) => message.error(error.message),
|
29
|
+
}) })) : dataIndex === "menu" ? (React.createElement(ToolBar, { id: record.id, moreProps: {
|
30
|
+
buttonProps: { size: "middle" },
|
31
|
+
icon: React.createElement(FAIcon, { icon: faEllipsisVertical }),
|
32
|
+
} },
|
33
|
+
React.createElement(Open, { size: "middle", url: meta.getRoute(record) }))) : (children))));
|
34
|
+
};
|
35
|
+
export default TableCell;
|
36
|
+
//# sourceMappingURL=TableCell.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TableCell.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkTableListCard/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAC/E,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC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M,CAAE,MAAM,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,GAAI,CACvF,CAAC,CAAC,CAAC,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,CAC5B,oBAAC,eAAe,IACf,SAAS,EAAE,UAAU,CAAC,yBAAyB,CAAC,EAChD,MAAM,EAAE,MAAM,CAAC,UAAU,EACzB,QAAQ,EAAE,CAAC,MAAM,CAAC,QAAQ,EAC1B,QAAQ,EAAE,CAAC,UAAU,EAAE,EAAE,CACxB,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE;YACrB,IAAI,EAAE,EAAE,UAAU,EAAE;YACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC;SACrD,CAAC,GAEF,CACF,CAAC,CAAC,CAAC,SAAS,KAAK,MAAM,CAAC,CAAC,CAAC,CAC1B,oBAAC,OAAO,IACP,EAAE,EAAE,MAAM,CAAC,EAAE,EACb,SAAS,EAAE;YACV,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC/B,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI;SAC1C;QAED,oBAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAI,CACzC,CACV,CAAC,CAAC,CAAC,CACH,QAAQ,CACR,CACG,CACL,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,SAAS,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import React from "react";
|
2
|
+
declare const WorkTableListCard: {
|
3
|
+
(props: {
|
4
|
+
/** filter by contactId */
|
5
|
+
contactId?: string;
|
6
|
+
/** 是否允许新增 */
|
7
|
+
addAble?: boolean;
|
8
|
+
/** 预选 contact */
|
9
|
+
primaryContact?: {
|
10
|
+
id: string;
|
11
|
+
name: string;
|
12
|
+
};
|
13
|
+
}): React.JSX.Element;
|
14
|
+
defaultProps: {
|
15
|
+
addAble: boolean;
|
16
|
+
};
|
17
|
+
};
|
18
|
+
export default WorkTableListCard;
|
@@ -0,0 +1,107 @@
|
|
1
|
+
import { faBarsProgress, faThumbtack, faUserGroup } from "@fortawesome/pro-solid-svg-icons";
|
2
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
3
|
+
import { useAutoUpdateListData } from "@voplus/morpho-document-core";
|
4
|
+
import { observe, useRenderOnChange } from "@voplus/morpho-ui";
|
5
|
+
import DocumentTableListCard from "@voplus/morpho-ui/es/components/DocumentTableListCard";
|
6
|
+
import TableListCard from "@voplus/morpho-ui/es/components/TableListCard";
|
7
|
+
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
8
|
+
import { Badge, Button } from "antd";
|
9
|
+
import React, { useState } from "react";
|
10
|
+
import { useWorkListEffect } from "../../../../data/work";
|
11
|
+
import NewWorkFormDialog from "../NewWorkForm/NewWorkFormDialog";
|
12
|
+
import TableCell from "./TableCell";
|
13
|
+
const WorkTableListCard = (props) => {
|
14
|
+
const { contactId } = props;
|
15
|
+
const [visible, setVisible] = useState(false);
|
16
|
+
const [workTotal, setWorkTotal] = useState(0);
|
17
|
+
/** 建立 ListView 和useDocumentListEffect所需的ListDataState. 会根据state.id重建所以不需reset. */
|
18
|
+
const list = useCreateListDataState({
|
19
|
+
filterDefaults: {
|
20
|
+
filters: filters(),
|
21
|
+
},
|
22
|
+
}, [contactId]);
|
23
|
+
const columnsList = [
|
24
|
+
{
|
25
|
+
title: (React.createElement(React.Fragment, null,
|
26
|
+
React.createElement(FAIcon, { icon: faThumbtack }),
|
27
|
+
" Name")),
|
28
|
+
dataIndex: "name",
|
29
|
+
},
|
30
|
+
{
|
31
|
+
title: (React.createElement(React.Fragment, null,
|
32
|
+
React.createElement(FAIcon, { icon: faUserGroup }),
|
33
|
+
" Assign")),
|
34
|
+
dataIndex: "assign",
|
35
|
+
width: "22%",
|
36
|
+
},
|
37
|
+
{
|
38
|
+
title: (React.createElement(React.Fragment, null,
|
39
|
+
React.createElement(FAIcon, { icon: faBarsProgress }),
|
40
|
+
" Status")),
|
41
|
+
dataIndex: "status",
|
42
|
+
width: "20%",
|
43
|
+
},
|
44
|
+
{
|
45
|
+
title: "",
|
46
|
+
dataIndex: "menu",
|
47
|
+
width: "68px",
|
48
|
+
},
|
49
|
+
];
|
50
|
+
const components = {
|
51
|
+
body: {
|
52
|
+
// row: DragTableRow,
|
53
|
+
cell: TableCell,
|
54
|
+
},
|
55
|
+
};
|
56
|
+
const columns = columnsList.map((col) => {
|
57
|
+
return {
|
58
|
+
...col,
|
59
|
+
onCell: (record, rowIndex) => {
|
60
|
+
return {
|
61
|
+
record,
|
62
|
+
dataIndex: col.dataIndex,
|
63
|
+
rowIndex: rowIndex,
|
64
|
+
};
|
65
|
+
},
|
66
|
+
};
|
67
|
+
});
|
68
|
+
/** useOnNewDocument, useOnDeleteDocument的sugar syntax 自動更新list. */
|
69
|
+
useAutoUpdateListData(list, (d) => d.type === "Work");
|
70
|
+
useRenderOnChange(() => list.filters.options);
|
71
|
+
/** 把ListDataState传给useWorkListEffect,使之可以自動更新loading, hasmore. */
|
72
|
+
useWorkListEffect(list, (result, total) => {
|
73
|
+
list.union(result);
|
74
|
+
setWorkTotal(total);
|
75
|
+
}, {
|
76
|
+
Total: true,
|
77
|
+
...list.filters.options,
|
78
|
+
});
|
79
|
+
return observe(() => (React.createElement(React.Fragment, null,
|
80
|
+
React.createElement(ListDataContext.Provider, { value: list },
|
81
|
+
React.createElement(DocumentTableListCard, { isHeader: true, header: React.createElement(React.Fragment, null,
|
82
|
+
React.createElement("div", null,
|
83
|
+
React.createElement("span", { className: "title" },
|
84
|
+
"Work ",
|
85
|
+
workTotal ? React.createElement(Badge, { count: workTotal, overflowCount: 99 }) : null)),
|
86
|
+
React.createElement("div", null, props.addAble && (React.createElement(Button, { className: "create-new", type: "link", onClick: () => setVisible(true) }, "+Create New")))) },
|
87
|
+
React.createElement(TableListCard, { tableListProps: { columns: columns, components: components } }))),
|
88
|
+
visible && React.createElement(NewWorkFormDialog, { contact: props.primaryContact }))));
|
89
|
+
function filters() {
|
90
|
+
let filter = [];
|
91
|
+
if (contactId) {
|
92
|
+
filter = [
|
93
|
+
{ c: "Contact", o: "=", l: "And", v1: contactId },
|
94
|
+
{
|
95
|
+
c: "WorkStatus",
|
96
|
+
o: "contains",
|
97
|
+
l: "And",
|
98
|
+
v1: JSON.stringify(["New", "Active"]),
|
99
|
+
},
|
100
|
+
];
|
101
|
+
}
|
102
|
+
return filter;
|
103
|
+
}
|
104
|
+
};
|
105
|
+
WorkTableListCard.defaultProps = { addAble: true };
|
106
|
+
export default WorkTableListCard;
|
107
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkTableListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC5F,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,EAAE,qBAAqB,EAAgB,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,qBAAqB,MAAM,uDAAuD,CAAC;AAC1F,OAAO,aAAa,MAAM,+CAA+C,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAS,iBAAiB,EAAgB,MA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AE,UAAU,EAAE,UAAU,EAAE,GAAI,CACxD,CACE;QAC1B,OAAO,IAAI,oBAAC,iBAAiB,IAAC,OAAO,EAAE,KAAK,CAAC,cAAc,GAAI,CAC9D,CACH,CAAC,CAAC;IAEH,SAAS,OAAO;QACf,IAAI,MAAM,GAAmB,EAAE,CAAC;QAChC,IAAI,SAAS,EAAE,CAAC;YACf,MAAM,GAAG;gBACR,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE;gBACjD;oBACC,CAAC,EAAE,YAAY;oBACf,CAAC,EAAE,UAAU;oBACb,CAAC,EAAE,KAAK;oBACR,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;iBACrC;aACD,CAAC;QACH,CAAC;QAED,OAAO,MAAM,CAAC;IACf,CAAC;AACF,CAAC,CAAC;AAEF,iBAAiB,CAAC,YAAY,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;AAEnD,eAAe,iBAAiB,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
:global {
|
2
|
+
.work-table-item-name {
|
3
|
+
background-color: transparent;
|
4
|
+
padding: 0;
|
5
|
+
cursor: pointer;
|
6
|
+
.document-name-content .document-name {
|
7
|
+
font-size: 14px;
|
8
|
+
color: #5d5d5d;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
.work-status.work-table-status-label {
|
12
|
+
width: 95px !important;
|
13
|
+
}
|
14
|
+
}
|