@voplus/morpho-workspace 6.0.146 → 6.0.148
Sign up to get free protection for your applications and to get access to all the features.
- package/es/modules/board/components/SubDocumentList/index.js +11 -5
- package/es/modules/board/components/SubDocumentList/index.js.map +1 -1
- package/es/modules/board/components/SubDocumentList/index.less +26 -0
- package/es/modules/work/components/WorkList2/index.js +1 -1
- package/es/modules/work/components/WorkList2/index.js.map +1 -1
- package/es/modules/work/components/WorkList2/index.less +74 -0
- package/es/modules/work/components/WorkListCard/index.d.ts +1 -1
- package/es/modules/work/components/WorkListCard/index.js +2 -2
- package/es/modules/work/components/WorkListCard/index.js.map +1 -1
- package/es/modules/work/components/WorkListHeader/index.d.ts +3 -0
- package/es/modules/work/components/WorkListHeader/index.js +13 -4
- package/es/modules/work/components/WorkListHeader/index.js.map +1 -1
- package/es/modules/work/pages/WorkListPage/index.js +2 -2
- package/es/modules/work/pages/WorkListPage/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleItem/index.less +2 -1
- package/es/modules/work/work-schedule/components/WorkScheduleList/index.less +4 -2
- package/es/modules/work/work-type/pages/WorkTypePage/WorkListPage.js +1 -1
- package/es/modules/work/work-type/pages/WorkTypePage/WorkListPage.js.map +1 -1
- package/package.json +2 -2
@@ -99,11 +99,17 @@ const SubDocumentList = (props) => {
|
|
99
99
|
});
|
100
100
|
return observe(() => (React.createElement("div", { className: styles["link-list-page"] },
|
101
101
|
React.createElement(Upload.Dragger, { className: classnames("link-upload", !disabled && "doc-drag-hover"), disabled: disabled, customRequest: (option) => customRequest(option), showUploadList: false, openFileDialogOnClick: false, multiple: true },
|
102
|
-
React.createElement(InfiniteScrollView, { empty: false, loading: docList.loading, hasMore: docList.hasMore, loadMore: () => docList.triggerNextPage() },
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
React.createElement(
|
102
|
+
React.createElement(InfiniteScrollView, { empty: false, loading: docList.loading, hasMore: docList.hasMore, loadMore: () => docList.triggerNextPage() },
|
103
|
+
docList.data.map((item, index) => (React.createElement(Draggable, { key: item.id, draggableId: item.id, index: index }, (dragProvided, dragSnapshot) => (React.createElement("div", { className: "link-container", isdragging: dragSnapshot.isDragging.toString(), isgroupedover: Boolean(dragSnapshot.combineTargetFor).toString(), ref: dragProvided.innerRef, ...dragProvided.draggableProps, ...dragProvided.dragHandleProps, "data-is-dragging": dragSnapshot.isDragging, "data-testid": props.id, "data-index": index,
|
104
|
+
// avoid mouse down propagate to panable
|
105
|
+
onMouseDown: (e) => e.stopPropagation() },
|
106
|
+
React.createElement("div", { className: "link-content" },
|
107
|
+
React.createElement(DocumentCard, { id: item.id, onChangeDisabled: onChangeDisabled }))))))),
|
108
|
+
!docList.data.length && (React.createElement("div", { className: "board-empty" },
|
109
|
+
React.createElement("img", { className: "board-empty-img", src: "/img/board/empty.png" }),
|
110
|
+
React.createElement("div", { className: "title" }, "New Item"),
|
111
|
+
React.createElement("div", { className: "info" }, "Involves creating and assigning a new task within the project management system."),
|
112
|
+
React.createElement("div", { className: "new-btn" }, "+ Add New Item"))))))));
|
107
113
|
/**change disabled Upload function*/
|
108
114
|
function onChangeDisabled(newDisabled) {
|
109
115
|
console.log("onChangeDisabled", newDisabled);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/SubDocumentList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGN,qBAAqB,EACrB,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,KAAK,EAAwB,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEvF,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C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5d5d5d;
|
29
|
+
font-weight: bold;
|
30
|
+
}
|
31
|
+
.info {
|
32
|
+
font-size: 12px;
|
33
|
+
color: #868686;
|
34
|
+
padding: 0 38px;
|
35
|
+
}
|
36
|
+
.board-empty-img {
|
37
|
+
width: 154px;
|
38
|
+
margin: 0 auto;
|
39
|
+
}
|
40
|
+
.new-btn {
|
41
|
+
height: 30px;
|
42
|
+
line-height: 30px;
|
43
|
+
font-weight: 500;
|
44
|
+
color: #868686;
|
45
|
+
background: #ffffff;
|
46
|
+
border-radius: 5px;
|
47
|
+
margin-top: 12px;
|
48
|
+
}
|
49
|
+
}
|
24
50
|
}
|
25
51
|
.list-loading {
|
26
52
|
text-align: center;
|
@@ -68,7 +68,7 @@ const WorkList2 = (props) => {
|
|
68
68
|
return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
|
69
69
|
React.createElement(AsideContent, { context: asideContext },
|
70
70
|
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 }, onAdd: () => asideContext === null || asideContext === void 0 ? void 0 : asideContext.openAside(React.createElement(NewWorkForm, { contact: contact, showView: true }), {
|
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 }), {
|
72
72
|
span: 12,
|
73
73
|
}) }),
|
74
74
|
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,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,cAAc,CAAC;AA8BtB,MAAM,SAAS,GAAG,CAAC,KAAoB,EAAE,EAAE;IAC1C,MAAM,EACL,OAAO,EACP,KAAK,EACL,MAAM,EACN,SAAS,EACT,WAAW,EACX,MAAM,EACN,SAAS,EACT,OAAO,EACP,eAAe,GACf,GAAG,KAAK,CAAC;IACV,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC7C,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CA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G,eAAe,CAAC,CAAC;QACzB,CAAC;QAED,OAAO,MAAM,CAAC;IACf,CAAC;IAED,KAAK,UAAU,SAAS,CAAC,EAAU,EAAE,OAAe;QACnD,MAAM,aAAa,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5C,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"}
|
@@ -14,6 +14,80 @@
|
|
14
14
|
.list-view-header-tool {
|
15
15
|
padding: 20px;
|
16
16
|
}
|
17
|
+
&.default {
|
18
|
+
margin-bottom: 20px;
|
19
|
+
&.selectedFilter {
|
20
|
+
.list-view-header-tool {
|
21
|
+
padding: 0;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
&.page-card {
|
25
|
+
margin-bottom: 0;
|
26
|
+
.list-view-header-tool {
|
27
|
+
padding: 14px 20px 0 20px;
|
28
|
+
margin: 0;
|
29
|
+
.selected-filter-list {
|
30
|
+
margin-top: 14px;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
.list-view-header-tool {
|
35
|
+
padding: 0 0 20px 0;
|
36
|
+
margin: 20px 20px 0 20px;
|
37
|
+
background: #fff;
|
38
|
+
border-bottom: 1px solid #e6e6e6;
|
39
|
+
.selected-filter-list {
|
40
|
+
margin-top: 20px;
|
41
|
+
}
|
42
|
+
.header-tool-space {
|
43
|
+
align-items: end;
|
44
|
+
justify-content: space-between;
|
45
|
+
}
|
46
|
+
.page-head-content {
|
47
|
+
flex: 2;
|
48
|
+
display: flex;
|
49
|
+
.ant-avatar {
|
50
|
+
width: 50px;
|
51
|
+
height: 50px;
|
52
|
+
line-height: 50px;
|
53
|
+
border-radius: 2px;
|
54
|
+
}
|
55
|
+
.page-head-avatar {
|
56
|
+
width: 50px;
|
57
|
+
height: 50px;
|
58
|
+
padding: 0 12px;
|
59
|
+
line-height: 50px;
|
60
|
+
font-size: 22px;
|
61
|
+
display: flex;
|
62
|
+
align-items: center;
|
63
|
+
justify-content: center;
|
64
|
+
color: #217eb2;
|
65
|
+
background: #e5fbff;
|
66
|
+
border-radius: 5px;
|
67
|
+
border: 2px solid #217eb2;
|
68
|
+
}
|
69
|
+
.page-head-info {
|
70
|
+
color: #868686;
|
71
|
+
margin-left: 15px;
|
72
|
+
}
|
73
|
+
.page-head-name {
|
74
|
+
display: flex;
|
75
|
+
align-items: center;
|
76
|
+
color: #217eb2;
|
77
|
+
font-size: 20px;
|
78
|
+
font-weight: bold;
|
79
|
+
line-height: 27px;
|
80
|
+
.ant-dropdown-trigger {
|
81
|
+
color: #cbcbcb;
|
82
|
+
font-weight: normal;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
.description {
|
86
|
+
font-size: 14px;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
17
91
|
}
|
18
92
|
|
19
93
|
.work-status-menu {
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
3
3
|
import ListCard from "@voplus/morpho-ui/es/controls/ListCard";
|
4
|
-
import WorkList from "../
|
4
|
+
import WorkList from "../WorkList2";
|
5
5
|
const WorkListCard = (props) => {
|
6
6
|
return observe(() => (React.createElement(ListCard, { style: props.style },
|
7
|
-
React.createElement(WorkList, { ...props }))));
|
7
|
+
React.createElement(WorkList, { ...props, workHeaderProps: { type: "card" } }))));
|
8
8
|
};
|
9
9
|
WorkListCard.defaultProps = {
|
10
10
|
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,
|
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"}
|
@@ -10,15 +10,24 @@ const WorkListHeader = (props) => {
|
|
10
10
|
const { addAble, viewTitle, dueDate, workMenu, filterProps } = props;
|
11
11
|
const [active, setActive] = useState();
|
12
12
|
useEffect(() => setActive(dueDate || ""), [dueDate]);
|
13
|
-
return observe(() => (React.createElement("div", { className: "work-header"
|
14
|
-
|
15
|
-
|
13
|
+
return observe(() => (React.createElement("div", { className: classnames("work-header", {
|
14
|
+
default: !workMenu,
|
15
|
+
selectedFilter: props.selectedFilterKey,
|
16
|
+
"page-card": props.type === "card",
|
17
|
+
}) },
|
18
|
+
workMenu && (React.createElement(PageHeadDashboard, { headerType: "page", avatarIcon: React.createElement(FAIcon, { icon: faBriefcase }), title: viewTitle, description: "Your tasks: prioritize and complete your work" })),
|
19
|
+
React.createElement(ListHeaderTool, { filterViewProps: filterProps, addAble: addAble || (dueDate === "requested" ? true : false), onAdd: props.onAdd, sortable: false, searchHeader: true, searchOptions: { placeholder: "search in work list" }, selectedFilterKey: props.selectedFilterKey, preExtra: () => (React.createElement(React.Fragment, null, workMenu ? (React.createElement("div", { className: "work-status-menu" }, workMenu === null || workMenu === void 0 ? void 0 : workMenu.map((item, index) => (React.createElement(Button, { key: index, className: classnames(item, {
|
16
20
|
active: active === item.key,
|
17
21
|
}), onClick: () => onChangeFilter(item.key) },
|
18
22
|
React.createElement(React.Fragment, null,
|
19
23
|
item.label,
|
20
24
|
" ",
|
21
|
-
(item === null || item === void 0 ? void 0 : item.total) ? ` (${item.total})` : "")))))) }))
|
25
|
+
(item === null || item === void 0 ? void 0 : item.total) ? ` (${item.total})` : "")))))) : (React.createElement("div", { className: "page-head-content" }, props.type === "card" ? (React.createElement("div", { className: "page-head-name" }, viewTitle)) : (React.createElement(React.Fragment, null,
|
26
|
+
React.createElement("div", { className: "page-head-avatar" },
|
27
|
+
React.createElement(FAIcon, { icon: faBriefcase })),
|
28
|
+
React.createElement("div", { className: "page-head-info" },
|
29
|
+
React.createElement("div", { className: "page-head-name" }, viewTitle),
|
30
|
+
React.createElement("div", { className: "description" }, "Your tasks: prioritize and complete your work")))))))) }))));
|
22
31
|
function onChangeFilter(item) {
|
23
32
|
var _a;
|
24
33
|
setActive(item);
|
@@ -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;
|
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,EA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AK,EACV,SAAS,EAAE,UAAU,CAAC,IAAI,EAAE;oBAC3B,MAAM,EAAE,MAAM,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,5 +1,5 @@
|
|
1
1
|
import React from "react";
|
2
|
-
import WorkList from "../../components/
|
2
|
+
import WorkList from "../../components/WorkList2";
|
3
3
|
import { generatePath } from "react-router";
|
4
4
|
import { observe } from "@voplus/morpho-ui";
|
5
5
|
import { runInAction } from "mobx";
|
@@ -8,7 +8,7 @@ import { useParams } from "react-router-dom";
|
|
8
8
|
const WorkListPage = (props) => {
|
9
9
|
const params = useParams();
|
10
10
|
const layout = useLayout();
|
11
|
-
return observe(() => (React.createElement(WorkList, { status: params.status, active: params.active, typesId: params.typesId, dueDate: params.dueDate, workspaceId: params.id, onClickItem: (item) => {
|
11
|
+
return observe(() => (React.createElement(WorkList, { status: params.status, active: params.active, typesId: params.typesId, workHeaderProps: { dueDate: params.dueDate }, workspaceId: params.id, onClickItem: (item) => {
|
12
12
|
layout.history.replace(generatePath(props.path, {
|
13
13
|
id: params.id,
|
14
14
|
status: params.status || "",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/pages/WorkListPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,QAAQ,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/pages/WorkListPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,QAAQ,MAAM,4BAA4B,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,YAAY,GAAG,CAAC,KAAqC,EAAE,EAAE;IAC9D,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IACR,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,OAAO,EAAE,MAAM,CAAC,OAAO,EACvB,eAAe,EAAE,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,EAC5C,WAAW,EAAE,MAAM,CAAC,EAAE,EACtB,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE;YACrB,MAAM,CAAC,OAAO,CAAC,OAAO,CACrB,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE;gBACxB,EAAE,EAAE,MAAM,CAAC,EAAG;gBACd,MAAM,EAAE,MAAM,CAAC,MAAM,IAAI,EAAE;gBAC3B,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,EAAE;gBAC7B,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,EAAE;gBAC7B,MAAM,EAAE,IAAI,CAAC,EAAE;aACf,CAAC,CACF,CAAC;QACH,CAAC,EACD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;YAClB,WAAW,CAAC,GAAG,EAAE;gBAChB,KAAK,CAAC,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,MAAO,CAAC,GAAG,KAAK,CAAC;gBACrD,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,MAAM,CAAC,OAAQ,CAAC,GAAG,KAAK,CAAC;gBACrD,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,OAAQ,CAAC,GAAG,KAAK,CAAC;YACjD,CAAC,CAAC,CAAC;QACJ,CAAC,GACA,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
@@ -9,11 +9,13 @@
|
|
9
9
|
padding: 0 !important;
|
10
10
|
}
|
11
11
|
.list-view-header-tool {
|
12
|
-
padding: 20px
|
12
|
+
padding: 20px 0 0 0;
|
13
|
+
margin: 0 20px 20px 20px;
|
13
14
|
background: #fff;
|
14
15
|
border-bottom: 1px solid #e6e6e6;
|
15
16
|
&.page-card {
|
16
17
|
padding: 14px 20px 0 20px;
|
18
|
+
margin: 0;
|
17
19
|
.selected-filter-list {
|
18
20
|
margin-top: 14px;
|
19
21
|
}
|
@@ -26,7 +28,7 @@
|
|
26
28
|
justify-content: space-between;
|
27
29
|
}
|
28
30
|
.page-head-content {
|
29
|
-
flex:
|
31
|
+
flex: 2;
|
30
32
|
display: flex;
|
31
33
|
.ant-avatar {
|
32
34
|
width: 50px;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { useParams, useResolvedPath } from "react-router-dom";
|
2
2
|
import React from "react";
|
3
|
-
import WorkList from "../../../components/
|
3
|
+
import WorkList from "../../../components/WorkList2";
|
4
4
|
import { generatePath } from "react-router";
|
5
5
|
import { observe } from "@voplus/morpho-ui";
|
6
6
|
import { runInAction } from "mobx";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WorkListPage.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/pages/WorkTypePage/WorkListPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAE9D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,QAAQ,MAAM,
|
1
|
+
{"version":3,"file":"WorkListPage.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/pages/WorkTypePage/WorkListPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAE9D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,QAAQ,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,YAAY,GAAG,CAAC,KAAqC,EAAE,EAAE;IAC9D,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,GAAG,GAAG,eAAe,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC;IACzC,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IACR,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,OAAO,EAAE,MAAM,CAAC,EAAE,EAClB,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE;YACrB,MAAM,CAAC,OAAO,CAAC,OAAO,CACrB,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE;gBACxB,EAAE,EAAE,MAAM,CAAC,EAAG;gBACd,MAAM,EAAE,MAAM,CAAC,MAAO;gBACtB,MAAM,EAAE,IAAI,CAAC,EAAE;aACf,CAAC,CACF,CAAC;QACH,CAAC,EACD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;YAClB,WAAW,CAAC,GAAG,EAAE;gBAChB,KAAK,CAAC,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,MAAO,CAAC,GAAG,KAAK,CAAC;YACtD,CAAC,CAAC,CAAC;QACJ,CAAC,GACA,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@voplus/morpho-workspace",
|
3
|
-
"version": "6.0.
|
3
|
+
"version": "6.0.148",
|
4
4
|
"description": "morpho workspace module",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -20,7 +20,7 @@
|
|
20
20
|
"copy-less-mac": "cpx 'src/**/*.less' lib && cpx 'src/**/*.less' es && cpx 'src/**/*.css' es",
|
21
21
|
"copy-css-mac": "cpx 'src/**/*.css' lib && cpx 'src/**/*.css' es",
|
22
22
|
"clean": "del-cli es && jest --clearCache",
|
23
|
-
"storybook": "sb dev -p 9001 -c .storybook -s
|
23
|
+
"storybook": "sb dev -p 9001 -c .storybook -s ../public",
|
24
24
|
"lint": "npx eslint -c .eslintrc.js --ext .ts --ext .tsx src",
|
25
25
|
"build": "npm run clean && tsc -p tsconfig.prod.json && npm run copy-less && npm run copy-css",
|
26
26
|
"build:mac": "npm run clean && tsc -p tsconfig.prod.json && npm run copy-less-mac && npm run copy-css-mac",
|