@voplus/morpho-workspace 1.0.0-dev72 → 1.0.0-dev73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/ToolBar/index.d.ts +1 -1
- package/es/components/ToolBar/index.js +3 -2
- package/es/components/ToolBar/index.js.map +1 -1
- package/es/modules/board/components/DocumentCard/index.js +1 -1
- package/es/modules/board/components/DocumentCard/index.js.map +1 -1
- package/es/modules/board/components/TaskCard/index.js +15 -15
- package/es/modules/board/components/TaskCard/index.js.map +1 -1
- package/es/modules/calendar/components/TaskCard/index.js +5 -5
- package/es/modules/calendar/components/TaskCard/index.js.map +1 -1
- package/es/modules/calendar/pages/CalendarMonth/index.js +14 -14
- package/es/modules/calendar/pages/CalendarMonth/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/SubTaskItem.js +1 -1
- package/es/modules/tasks/components/TaskItem/SubTaskItem.js.map +1 -1
- package/package.json +7 -7
- package/es/modules/document/components/Add/index.d.ts +0 -7
- package/es/modules/document/components/Add/index.js +0 -80
- package/es/modules/document/components/Add/index.js.map +0 -1
- package/es/modules/document/components/Add/index.less +0 -26
- package/es/modules/document/components/AdvanceSearch/index.d.ts +0 -3
- package/es/modules/document/components/AdvanceSearch/index.js +0 -129
- package/es/modules/document/components/AdvanceSearch/index.js.map +0 -1
- package/es/modules/document/components/AdvanceSearch/index.less +0 -21
- package/es/modules/document/components/DocumentDetail/index.d.ts +0 -5
- package/es/modules/document/components/DocumentDetail/index.js +0 -78
- package/es/modules/document/components/DocumentDetail/index.js.map +0 -1
- package/es/modules/document/components/DocumentDetail/index.less +0 -56
- package/es/modules/document/components/DocumentItem/index.d.ts +0 -7
- package/es/modules/document/components/DocumentItem/index.js +0 -56
- package/es/modules/document/components/DocumentItem/index.js.map +0 -1
- package/es/modules/document/components/DocumentItem/index.less +0 -128
- package/es/modules/document/pages/DocumentListView/index.d.ts +0 -3
- package/es/modules/document/pages/DocumentListView/index.js +0 -142
- package/es/modules/document/pages/DocumentListView/index.js.map +0 -1
- package/es/modules/document/pages/DocumentRoutes.d.ts +0 -3
- package/es/modules/document/pages/DocumentRoutes.js +0 -12
- package/es/modules/document/pages/DocumentRoutes.js.map +0 -1
- package/es/modules/document/pages/DocumentTabView/index.d.ts +0 -3
- package/es/modules/document/pages/DocumentTabView/index.js +0 -236
- package/es/modules/document/pages/DocumentTabView/index.js.map +0 -1
- package/es/modules/document/pages/DocumentTabView/index.less +0 -63
@@ -1,129 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
import { Select } from "@voplus/antd";
|
3
|
-
import style from "./index.less";
|
4
|
-
export default () => {
|
5
|
-
const { Option } = Select;
|
6
|
-
const data = [
|
7
|
-
[
|
8
|
-
{ id: 1, name: "Any Type" },
|
9
|
-
{ id: 2, name: "Audio" },
|
10
|
-
{ id: 3, name: "Note" },
|
11
|
-
{ id: 4, name: "Document" },
|
12
|
-
{ id: 5, name: "Drawing" },
|
13
|
-
{ id: 6, name: "Folder" },
|
14
|
-
{ id: 7, name: "Image" },
|
15
|
-
{ id: 8, name: "PDF" },
|
16
|
-
{ id: 9, name: "Presentation" },
|
17
|
-
{ id: 10, name: "Spreadsheet" },
|
18
|
-
{ id: 12, name: "Video" },
|
19
|
-
{ id: 13, name: "3D" }
|
20
|
-
],
|
21
|
-
[
|
22
|
-
{ id: 1, name: "Any Type" },
|
23
|
-
{ id: 2, name: "Audio" },
|
24
|
-
{ id: 3, name: "Note" },
|
25
|
-
{ id: 4, name: "Document" },
|
26
|
-
{ id: 5, name: "Drawing" },
|
27
|
-
{ id: 6, name: "Folder" },
|
28
|
-
{ id: 7, name: "Image" },
|
29
|
-
{ id: 8, name: "PDF" },
|
30
|
-
{ id: 9, name: "Presentation" },
|
31
|
-
{ id: 10, name: "Spreadsheet" },
|
32
|
-
{ id: 12, name: "Video" },
|
33
|
-
{ id: 13, name: "3D" }
|
34
|
-
],
|
35
|
-
[
|
36
|
-
{ id: 1, name: "Any Type" },
|
37
|
-
{ id: 2, name: "Audio" },
|
38
|
-
{ id: 3, name: "Note" },
|
39
|
-
{ id: 4, name: "Document" },
|
40
|
-
{ id: 5, name: "Drawing" },
|
41
|
-
{ id: 6, name: "Folder" },
|
42
|
-
{ id: 7, name: "Image" },
|
43
|
-
{ id: 8, name: "PDF" },
|
44
|
-
{ id: 9, name: "Presentation" },
|
45
|
-
{ id: 10, name: "Spreadsheet" },
|
46
|
-
{ id: 12, name: "Video" },
|
47
|
-
{ id: 13, name: "3D" }
|
48
|
-
],
|
49
|
-
[
|
50
|
-
{ id: 1, name: "Any Type" },
|
51
|
-
{ id: 2, name: "Audio" },
|
52
|
-
{ id: 3, name: "Note" },
|
53
|
-
{ id: 4, name: "Document" },
|
54
|
-
{ id: 5, name: "Drawing" },
|
55
|
-
{ id: 6, name: "Folder" },
|
56
|
-
{ id: 7, name: "Image" },
|
57
|
-
{ id: 8, name: "PDF" },
|
58
|
-
{ id: 9, name: "Presentation" },
|
59
|
-
{ id: 10, name: "Spreadsheet" },
|
60
|
-
{ id: 12, name: "Video" },
|
61
|
-
{ id: 13, name: "3D" }
|
62
|
-
],
|
63
|
-
[
|
64
|
-
{ id: 1, name: "Any Type" },
|
65
|
-
{ id: 2, name: "Audio" },
|
66
|
-
{ id: 3, name: "Note" },
|
67
|
-
{ id: 4, name: "Document" },
|
68
|
-
{ id: 5, name: "Drawing" },
|
69
|
-
{ id: 6, name: "Folder" },
|
70
|
-
{ id: 7, name: "Image" },
|
71
|
-
{ id: 8, name: "PDF" },
|
72
|
-
{ id: 9, name: "Presentation" },
|
73
|
-
{ id: 10, name: "Spreadsheet" },
|
74
|
-
{ id: 12, name: "Video" },
|
75
|
-
{ id: 13, name: "3D" }
|
76
|
-
],
|
77
|
-
[
|
78
|
-
{ id: 1, name: "Any Type" },
|
79
|
-
{ id: 2, name: "Audio" },
|
80
|
-
{ id: 3, name: "Note" },
|
81
|
-
{ id: 4, name: "Document" },
|
82
|
-
{ id: 5, name: "Drawing" },
|
83
|
-
{ id: 6, name: "Folder" },
|
84
|
-
{ id: 7, name: "Image" },
|
85
|
-
{ id: 8, name: "PDF" },
|
86
|
-
{ id: 9, name: "Presentation" },
|
87
|
-
{ id: 10, name: "Spreadsheet" },
|
88
|
-
{ id: 12, name: "Video" },
|
89
|
-
{ id: 13, name: "3D" }
|
90
|
-
],
|
91
|
-
[
|
92
|
-
{ id: 1, name: "Any Type" },
|
93
|
-
{ id: 2, name: "Audio" },
|
94
|
-
{ id: 3, name: "Note" },
|
95
|
-
{ id: 4, name: "Document" },
|
96
|
-
{ id: 5, name: "Drawing" },
|
97
|
-
{ id: 6, name: "Folder" },
|
98
|
-
{ id: 7, name: "Image" },
|
99
|
-
{ id: 8, name: "PDF" },
|
100
|
-
{ id: 9, name: "Presentation" },
|
101
|
-
{ id: 10, name: "Spreadsheet" },
|
102
|
-
{ id: 12, name: "Video" },
|
103
|
-
{ id: 13, name: "3D" }
|
104
|
-
],
|
105
|
-
[
|
106
|
-
{ id: 1, name: "Any Type" },
|
107
|
-
{ id: 2, name: "Audio" },
|
108
|
-
{ id: 3, name: "Note" },
|
109
|
-
{ id: 4, name: "Document" },
|
110
|
-
{ id: 5, name: "Drawing" },
|
111
|
-
{ id: 6, name: "Folder" },
|
112
|
-
{ id: 7, name: "Image" },
|
113
|
-
{ id: 8, name: "PDF" },
|
114
|
-
{ id: 9, name: "Presentation" },
|
115
|
-
{ id: 10, name: "Spreadsheet" },
|
116
|
-
{ id: 12, name: "Video" },
|
117
|
-
{ id: 13, name: "3D" }
|
118
|
-
]
|
119
|
-
];
|
120
|
-
function handleChange(value) {
|
121
|
-
console.log(`selected ${value}`);
|
122
|
-
}
|
123
|
-
return (React.createElement("div", { className: style.screen }, data.map((items, i) => {
|
124
|
-
return (React.createElement(Select, { key: i, defaultValue: "Any Type", dropdownClassName: style["fffff"], style: { width: 130 }, dropdownStyle: { maxHeight: "auto" }, onChange: handleChange }, items.map(items => {
|
125
|
-
return React.createElement(Option, { key: items.name }, items.name);
|
126
|
-
})));
|
127
|
-
})));
|
128
|
-
};
|
129
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/document/components/AdvanceSearch/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,MAAM,cAAc,CAAC;AACjC,eAAe,GAAG,EAAE;IACnB,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IAC1B,MAAM,IAAI,GAAG;QACZ;YACC,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE;YAC3B,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE;YACxB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE;YACvB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE;YAC3B,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE;YAC1B,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE;YACzB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE;YACxB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;YACtB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE;YAC/B,EAAE,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE;YAC/B,EAAE,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;YACzB,EAAE,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;SAC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tB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE;YAC/B,EAAE,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE;YAC/B,EAAE,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;YACzB,EAAE,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;SACtB;KACD,CAAC;IAEF,SAAS,YAAY,CAAC,KAAU;QAC/B,OAAO,CAAC,GAAG,CAAC,YAAY,KAAK,EAAE,CAAC,CAAC;IAClC,CAAC;IAED,OAAO,CACN,6BAAK,SAAS,EAAE,KAAK,CAAC,MAAM,IAC1B,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE;QACtB,OAAO,CACN,oBAAC,MAAM,IACN,GAAG,EAAE,CAAC,EACN,YAAY,EAAC,UAAU,EACvB,iBAAiB,EAAE,KAAK,CAAC,OAAO,CAAC,EACjC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,aAAa,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,EACpC,QAAQ,EAAE,YAAY,IAErB,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;YAClB,OAAO,oBAAC,MAAM,IAAC,GAAG,EAAE,KAAK,CAAC,IAAI,IAAG,KAAK,CAAC,IAAI,CAAU,CAAC;QACvD,CAAC,CAAC,CACM,CACT,CAAC;IACH,CAAC,CAAC,CACG,CACN,CAAC;AACH,CAAC,CAAC"}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
.screen {
|
2
|
-
display: flex;
|
3
|
-
height: 60px;
|
4
|
-
justify-content: space-around;
|
5
|
-
align-items: center;
|
6
|
-
border: 1px solid #000000;
|
7
|
-
margin: 0 25px 0 38px;
|
8
|
-
:global {
|
9
|
-
.ant-select-selection--single {
|
10
|
-
border: none;
|
11
|
-
}
|
12
|
-
}
|
13
|
-
}
|
14
|
-
.fffff {
|
15
|
-
:global {
|
16
|
-
.ant-select-dropdown-menu {
|
17
|
-
height: 100%;
|
18
|
-
max-height: 60%;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
@@ -1,78 +0,0 @@
|
|
1
|
-
import { library } from "@fortawesome/fontawesome-svg-core";
|
2
|
-
import { faFileAlt, faFolderOpen } from "@fortawesome/pro-light-svg-icons";
|
3
|
-
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
4
|
-
import { Button, Row, Tabs } from "@voplus/antd";
|
5
|
-
import Comment from "@voplus/morpho-collaboration/es/components/Comment";
|
6
|
-
import DocumentList from "@voplus/morpho-document/es/legacy/components/DocumentList";
|
7
|
-
import classnames from "classnames";
|
8
|
-
import { useObserver } from "mobx-react-lite";
|
9
|
-
import React, { useState } from "react";
|
10
|
-
import ToolBar from "../../../../components/ToolBar";
|
11
|
-
import styles from "../../../../style/common.less";
|
12
|
-
import DocumentItem from "../../components/DocumentItem";
|
13
|
-
// import ActivityLog from "../../../../components/ActivityLog";
|
14
|
-
// import NewTaskForm from "../../components/NewTaskForm";
|
15
|
-
import style from "./index.less";
|
16
|
-
library.add(faFolderOpen, faFileAlt);
|
17
|
-
export default (props) => {
|
18
|
-
const list = [
|
19
|
-
{
|
20
|
-
title: "Project Plan",
|
21
|
-
list: [],
|
22
|
-
created: "May 13,2019,2:03",
|
23
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "folder-open"] })
|
24
|
-
},
|
25
|
-
{
|
26
|
-
title: "Project Plan",
|
27
|
-
list: []
|
28
|
-
},
|
29
|
-
{
|
30
|
-
title: "Team Structure",
|
31
|
-
list: []
|
32
|
-
},
|
33
|
-
{
|
34
|
-
title: "Team Structure",
|
35
|
-
list: []
|
36
|
-
},
|
37
|
-
{
|
38
|
-
title: "Team Structure",
|
39
|
-
list: []
|
40
|
-
}
|
41
|
-
];
|
42
|
-
const property = (React.createElement("div", { className: "property" },
|
43
|
-
React.createElement("p", null,
|
44
|
-
React.createElement("span", null, "Created"),
|
45
|
-
React.createElement("span", null, "May 13, 2019, 2:03PM")),
|
46
|
-
React.createElement("p", null,
|
47
|
-
React.createElement("span", null, "Crested By"),
|
48
|
-
React.createElement("span", null, "Melverick Ng")),
|
49
|
-
React.createElement("p", null,
|
50
|
-
React.createElement("span", null, "Updated"),
|
51
|
-
React.createElement("span", null, "May 13, 2019, 2:03PM")),
|
52
|
-
React.createElement("p", null,
|
53
|
-
React.createElement("span", null, "Updated Dy"),
|
54
|
-
React.createElement("span", null, "Melverick Ng")),
|
55
|
-
React.createElement("p", null,
|
56
|
-
React.createElement("span", null, "Revision"),
|
57
|
-
React.createElement("span", null, "2"))));
|
58
|
-
const [activeKey, setActiveKey] = useState("1");
|
59
|
-
return useObserver(() => (React.createElement("div", { className: classnames(styles["module-detail-view"], styles[activeKey === "2" ? "module-comment-view" : ""], style["all"]) },
|
60
|
-
React.createElement("div", { className: "module-detail-view_header" },
|
61
|
-
React.createElement(Row, { type: "flex", justify: "space-between" },
|
62
|
-
React.createElement(DocumentItem, { type: 1, doc: list[0] }),
|
63
|
-
React.createElement("div", null,
|
64
|
-
React.createElement(ToolBar, null),
|
65
|
-
React.createElement("div", { className: styles["margin-top-10"] },
|
66
|
-
React.createElement(Button, { size: "small" }, "+tag"))))),
|
67
|
-
React.createElement(Tabs, { activeKey: activeKey, onChange: activeKey => setActiveKey(activeKey) },
|
68
|
-
React.createElement(Tabs.TabPane, { tab: "Details", key: "1", className: "supreme" },
|
69
|
-
React.createElement("div", null,
|
70
|
-
React.createElement("div", { className: "module-box" },
|
71
|
-
React.createElement("div", null, property),
|
72
|
-
React.createElement(DocumentList, { id: "" })))),
|
73
|
-
React.createElement(Tabs.TabPane, { tab: "Comments", key: "2" },
|
74
|
-
React.createElement(Comment, { channelId: "" })),
|
75
|
-
React.createElement(Tabs.TabPane, { tab: "Activities", key: "3", className: "supreme" },
|
76
|
-
React.createElement("div", { className: "module-box" }))))));
|
77
|
-
};
|
78
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/document/components/DocumentDetail/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,OAAO,MAAM,oDAAoD,CAAC;AACzE,OAAO,YAAY,MAAM,2DAA2D,CAAC;AACrF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,OAAO,MAAM,gCAAgC,CAAC;AACrD,OAAO,MAAM,MAAM,+BAA+B,CAAC;AACnD,OAAO,YAAY,MAAM,+BAA+B,CAAC;AACzD,gEAAgE;AAChE,0DAA0D;AAC1D,OAAO,KAAK,MAAM,cAAc,CAAC;AAEjC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;AAErC,eAAe,CAAC,KAAqB,EAAE,EAAE;IACxC,MAAM,IAAI,GAAG;QACZ;YACC,KAAK,EAAE,cAAc;YACrB,IAAI,EAAE,EAAE;YACR,OAAO,EAAE,kBAAkB;YAC3B,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,GAAI;SAC9C;QACD;YACC,KAAK,EAAE,cAAc;YACrB,IAAI,EAAE,EAAE;SACR;QACD;YACC,KAAK,EAAE,gBAAgB;YACvB,IAAI,EAAE,EAAE;SACR;QACD;YACC,KAAK,EAAE,gBAAgB;YACvB,IAAI,EA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D;oBACC,6BAAK,SAAS,EAAC,YAAY;wBAC1B,iCAAM,QAAQ,CAAO;wBACrB,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,GAAI,CACnB,CACD,CACQ;YACf,oBAAC,IAAI,CAAC,OAAO,IAAC,GAAG,EAAC,UAAU,EAAC,GAAG,EAAC,GAAG;gBACnC,oBAAC,OAAO,IAAC,SAAS,EAAE,EAAE,GAAI,CACZ;YACf,oBAAC,IAAI,CAAC,OAAO,IAAC,GAAG,EAAC,YAAY,EAAC,GAAG,EAAC,GAAG,EAAC,SAAS,EAAC,SAAS;gBACzD,6BAAK,SAAS,EAAC,YAAY,GAAO,CACpB,CACT,CACF,CACN,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
@@ -1,56 +0,0 @@
|
|
1
|
-
// .supreme {
|
2
|
-
// :global {
|
3
|
-
// .property {
|
4
|
-
// margin: 20px 0;
|
5
|
-
// p {
|
6
|
-
// width: 340px;
|
7
|
-
// height: 40px;
|
8
|
-
// display: flex;
|
9
|
-
// justify-content: space-between;
|
10
|
-
// align-items: center;
|
11
|
-
// span {
|
12
|
-
// display: inline-block;
|
13
|
-
// color: #000;
|
14
|
-
// font-size: 16px;
|
15
|
-
// }
|
16
|
-
// }
|
17
|
-
// }
|
18
|
-
// }
|
19
|
-
// }
|
20
|
-
|
21
|
-
.all {
|
22
|
-
height: 100%;
|
23
|
-
overflow: hidden;
|
24
|
-
display: flex;
|
25
|
-
flex-direction: column;
|
26
|
-
:global {
|
27
|
-
.ant-tabs {
|
28
|
-
height: 100%;
|
29
|
-
display: flex;
|
30
|
-
flex-direction: column;
|
31
|
-
.ant-tabs-content {
|
32
|
-
height: 100%;
|
33
|
-
padding-bottom: 0 !important;
|
34
|
-
.supreme {
|
35
|
-
height: 100%;
|
36
|
-
overflow: auto;
|
37
|
-
.property {
|
38
|
-
margin: 20px 0;
|
39
|
-
p {
|
40
|
-
width: 340px;
|
41
|
-
height: 40px;
|
42
|
-
display: flex;
|
43
|
-
justify-content: space-between;
|
44
|
-
align-items: center;
|
45
|
-
span {
|
46
|
-
display: inline-block;
|
47
|
-
color: #000;
|
48
|
-
font-size: 16px;
|
49
|
-
}
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
53
|
-
}
|
54
|
-
}
|
55
|
-
}
|
56
|
-
}
|
@@ -1,56 +0,0 @@
|
|
1
|
-
import React, { useState } from "react";
|
2
|
-
import classnames from "classnames";
|
3
|
-
import moment from "moment";
|
4
|
-
import { faClock, faPaperclip, faEye, faCommentDots } from "@fortawesome/pro-light-svg-icons";
|
5
|
-
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
6
|
-
import { DatePicker, Row, Dropdown } from "@voplus/antd";
|
7
|
-
import AvatarList from "../../../../components/AvatarList";
|
8
|
-
import DocumentList from "@voplus/morpho-document/es/components/DocumentList";
|
9
|
-
import DocumentMenu from "@voplus/morpho-document/es/components/DocumentMenu";
|
10
|
-
import DocumentStatusLabel from "../../../../controls/DocumentStatusLabel";
|
11
|
-
import styles from "./index.less";
|
12
|
-
export default (props) => {
|
13
|
-
const { lock } = props;
|
14
|
-
const [date, setDate] = useState(props.doc.date);
|
15
|
-
const DateElement = (React.createElement("span", { onClick: (e) => e.stopPropagation() },
|
16
|
-
React.createElement(FAIcon, { icon: faClock }),
|
17
|
-
React.createElement(DatePicker, { value: moment(date), format: "D MMM, YYYY", suffixIcon: " ", allowClear: false, getCalendarContainer: (triggerNode) => triggerNode.parentElement, onChange: (value) => setDate(value) })));
|
18
|
-
const iconList = (React.createElement("div", { className: "document-other", onClick: (e) => e.stopPropagation() },
|
19
|
-
DateElement,
|
20
|
-
React.createElement(Dropdown, { overlay: React.createElement("div", { className: styles["document-drop-menu"] },
|
21
|
-
React.createElement(DocumentList, { id: "" })), trigger: ["click"], placement: "bottomCenter", getPopupContainer: (triggerNode) => triggerNode.parentElement },
|
22
|
-
React.createElement("span", null,
|
23
|
-
React.createElement(FAIcon, { icon: faPaperclip }),
|
24
|
-
"3")),
|
25
|
-
React.createElement("span", null,
|
26
|
-
React.createElement(FAIcon, { icon: faCommentDots }),
|
27
|
-
"3"),
|
28
|
-
React.createElement("span", null,
|
29
|
-
React.createElement(FAIcon, { icon: faEye }),
|
30
|
-
" 8")));
|
31
|
-
const { type, doc } = props;
|
32
|
-
return (React.createElement("div", { className: styles[!type ? "document-type-list" : "document-type-item"] }, type === 1 ? (React.createElement("div", { className: "document-item" },
|
33
|
-
React.createElement("div", { className: "document-content" },
|
34
|
-
React.createElement("div", null,
|
35
|
-
React.createElement("div", { className: classnames("title", styles["margin-bottom-10"]) },
|
36
|
-
React.createElement("div", { className: "file-type" }, doc.icon),
|
37
|
-
doc.title),
|
38
|
-
React.createElement("div", { className: "document-content-control" },
|
39
|
-
iconList,
|
40
|
-
lock && React.createElement(DocumentStatusLabel, { status: "In Progress" })),
|
41
|
-
React.createElement("div", { className: "head-portrait" },
|
42
|
-
React.createElement(AvatarList, { list: doc.list })))))) : (React.createElement("div", { className: "document-item" },
|
43
|
-
React.createElement(Row, { type: !type ? undefined : "flex", className: "document-content" },
|
44
|
-
React.createElement("div", { style: { display: "flex", justifyContent: " space-between" } },
|
45
|
-
React.createElement("div", null,
|
46
|
-
React.createElement("div", { className: classnames("title", styles["margin-bottom-5"]) },
|
47
|
-
React.createElement("div", { className: "file-type" }, doc.icon),
|
48
|
-
doc.title),
|
49
|
-
iconList),
|
50
|
-
React.createElement("div", { className: "head-portrait" },
|
51
|
-
React.createElement(AvatarList, { list: doc.list, className: styles["padding-left-20"] }),
|
52
|
-
React.createElement("div", null,
|
53
|
-
React.createElement(DocumentMenu, { className: styles["margin-left-20"] })))))))));
|
54
|
-
};
|
55
|
-
//
|
56
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/document/components/DocumentItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAqB,QAAQ,EA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CACD,CACD,CACD,CACN,CAAC,CAAC,CAAC,CACH,6BAAK,SAAS,EAAC,eAAe;QAC7B,oBAAC,GAAG,IAAC,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,EAAE,SAAS,EAAC,kBAAkB;YAClE,6BAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,gBAAgB,EAAE;gBAChE;oBACC,6BAAK,SAAS,EAAE,UAAU,CAAC,OAAO,EAAE,MAAM,CAAC,iBAAiB,CAAC,CAAC;wBAC7D,6BAAK,SAAS,EAAC,WAAW,IAAE,GAAG,CAAC,IAAI,CAAO;wBAC1C,GAAG,CAAC,KAAK,CACL;oBACL,QAAQ,CACJ;gBACN,6BAAK,SAAS,EAAC,eAAe;oBAC7B,oBAAC,UAAU,IAAC,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,iBAAiB,CAAC,GAAI;oBACpE;wBACC,oBAAC,YAAY,IAAC,SAAS,EAAE,MAAM,CAAC,gBAAgB,CAAC,GAAI,CAChD,CACD,CACD,CACD,CACD,CACN,CACI,CACN,CAAC;AACH,CAAC,CAAC;AACF,EAAE"}
|
@@ -1,128 +0,0 @@
|
|
1
|
-
@import "~@voplus/antd/es/style/themes/default.less";
|
2
|
-
@import "../../../../style/common.less";
|
3
|
-
.document-type-list,
|
4
|
-
.document-type-item {
|
5
|
-
font-size: 13px;
|
6
|
-
:global {
|
7
|
-
.title {
|
8
|
-
font-size: 14px;
|
9
|
-
color: #333;
|
10
|
-
font-weight: bold;
|
11
|
-
}
|
12
|
-
.document-item {
|
13
|
-
display: flex;
|
14
|
-
justify-content: space-between;
|
15
|
-
align-items: center;
|
16
|
-
.document-content {
|
17
|
-
flex: 1;
|
18
|
-
align-items: center;
|
19
|
-
.file-type {
|
20
|
-
display: inline-block;
|
21
|
-
margin-right: 10px;
|
22
|
-
}
|
23
|
-
.document-content-control {
|
24
|
-
margin-left: 30px;
|
25
|
-
// width: 400px;
|
26
|
-
height: 38px;
|
27
|
-
display: flex;
|
28
|
-
justify-content: space-between;
|
29
|
-
align-items: center;
|
30
|
-
}
|
31
|
-
}
|
32
|
-
.head-portrait {
|
33
|
-
margin-left: 30px;
|
34
|
-
display: flex;
|
35
|
-
justify-content: space-between;
|
36
|
-
align-items: center;
|
37
|
-
.ant-avatar {
|
38
|
-
transition: All 0.3s ease-in-out;
|
39
|
-
}
|
40
|
-
.ant-avatar:hover {
|
41
|
-
transform: rotate(360deg);
|
42
|
-
}
|
43
|
-
}
|
44
|
-
.document-other {
|
45
|
-
cursor: pointer;
|
46
|
-
color: #444;
|
47
|
-
font-size: 13px;
|
48
|
-
> span {
|
49
|
-
display: inline-block;
|
50
|
-
margin-right: 20px;
|
51
|
-
display: inline-block;
|
52
|
-
transition: All 0.4s ease-in-out;
|
53
|
-
}
|
54
|
-
span:hover {
|
55
|
-
color: @primary-color;
|
56
|
-
}
|
57
|
-
:global {
|
58
|
-
.svg-inline--fa {
|
59
|
-
margin-right: 5px;
|
60
|
-
}
|
61
|
-
.content {
|
62
|
-
min-width: 95px;
|
63
|
-
}
|
64
|
-
}
|
65
|
-
.ant-input {
|
66
|
-
width: 70px;
|
67
|
-
height: auto;
|
68
|
-
padding: 0;
|
69
|
-
border: 0;
|
70
|
-
font-size: 12px;
|
71
|
-
color: #444;
|
72
|
-
cursor: pointer;
|
73
|
-
}
|
74
|
-
.ant-input:focus {
|
75
|
-
border: 0;
|
76
|
-
box-shadow: none;
|
77
|
-
}
|
78
|
-
}
|
79
|
-
}
|
80
|
-
}
|
81
|
-
}
|
82
|
-
.document-type-list {
|
83
|
-
position: relative;
|
84
|
-
padding: 10px 0;
|
85
|
-
:global {
|
86
|
-
.attribution-team {
|
87
|
-
display: inline-flex;
|
88
|
-
padding: 0 15px;
|
89
|
-
flex-direction: row;
|
90
|
-
align-items: center;
|
91
|
-
padding-bottom: 5px;
|
92
|
-
font-size: 13px;
|
93
|
-
color: #000;
|
94
|
-
span {
|
95
|
-
width: 13px;
|
96
|
-
height: 13px;
|
97
|
-
border: 3px solid transparent;
|
98
|
-
border-radius: 50%;
|
99
|
-
margin-right: 10px;
|
100
|
-
}
|
101
|
-
}
|
102
|
-
.document-item {
|
103
|
-
padding: 0 20px 0 38px;
|
104
|
-
.document-avatar {
|
105
|
-
margin: 0 0 0 20px;
|
106
|
-
}
|
107
|
-
}
|
108
|
-
}
|
109
|
-
}
|
110
|
-
.document-type-list:before {
|
111
|
-
position: absolute;
|
112
|
-
content: "";
|
113
|
-
left: 0;
|
114
|
-
bottom: 0;
|
115
|
-
right: 0;
|
116
|
-
border-bottom: 1px solid @border-color-base;
|
117
|
-
}
|
118
|
-
.document-type-item + .document-type-item {
|
119
|
-
margin-top: 20px;
|
120
|
-
}
|
121
|
-
.document-drop-menu {
|
122
|
-
min-width: 250px;
|
123
|
-
max-width: 600px;
|
124
|
-
padding: 10px 10px 20px 10px;
|
125
|
-
margin: 0 20px;
|
126
|
-
background: #fff;
|
127
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
128
|
-
}
|
@@ -1,142 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
// import ListView from "../../../../components/ListView";
|
3
|
-
import { ListView } from "@voplus/morpho-ui";
|
4
|
-
import DocumentItem from "../../components/DocumentItem";
|
5
|
-
import DocumentDetail from "../../components/DocumentDetail";
|
6
|
-
import Add from "../../components/Add";
|
7
|
-
import { library } from "@fortawesome/fontawesome-svg-core";
|
8
|
-
import { faFolderOpen, faFileAlt } from "@fortawesome/pro-light-svg-icons";
|
9
|
-
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
10
|
-
library.add(faFolderOpen, faFileAlt);
|
11
|
-
export default () => {
|
12
|
-
const list = [
|
13
|
-
{
|
14
|
-
id: 1,
|
15
|
-
title: "Example page",
|
16
|
-
date: "2019-7-8",
|
17
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "folder-open"] })
|
18
|
-
},
|
19
|
-
{
|
20
|
-
id: 2,
|
21
|
-
title: "Project Plan",
|
22
|
-
date: "2019-7-8",
|
23
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "folder-open"] })
|
24
|
-
},
|
25
|
-
{
|
26
|
-
id: 3,
|
27
|
-
title: "Team Structure",
|
28
|
-
date: "2019-7-8",
|
29
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "file-alt"] })
|
30
|
-
},
|
31
|
-
{
|
32
|
-
id: 4,
|
33
|
-
title: "Team Structure",
|
34
|
-
date: "2019-7-8",
|
35
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "folder-open"] })
|
36
|
-
},
|
37
|
-
{
|
38
|
-
id: 5,
|
39
|
-
title: "Project Plan",
|
40
|
-
date: "2019-7-8",
|
41
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "file-alt"] })
|
42
|
-
},
|
43
|
-
{
|
44
|
-
id: 6,
|
45
|
-
title: "Project Plan",
|
46
|
-
date: "2019-7-8",
|
47
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "file-alt"] })
|
48
|
-
},
|
49
|
-
{
|
50
|
-
id: 7,
|
51
|
-
title: "Project Plan",
|
52
|
-
date: "2019-7-8",
|
53
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "file-alt"] })
|
54
|
-
},
|
55
|
-
{
|
56
|
-
id: 8,
|
57
|
-
title: "Project Plan",
|
58
|
-
date: "2019-7-8",
|
59
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "file-alt"] })
|
60
|
-
},
|
61
|
-
{
|
62
|
-
id: 9,
|
63
|
-
title: "Project Plan",
|
64
|
-
date: "2019-7-8",
|
65
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "file-alt"] })
|
66
|
-
},
|
67
|
-
{
|
68
|
-
id: 10,
|
69
|
-
title: "Project Plan",
|
70
|
-
date: "2019-7-8",
|
71
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "file-alt"] })
|
72
|
-
},
|
73
|
-
{
|
74
|
-
id: 11,
|
75
|
-
title: "Project Plan",
|
76
|
-
date: "2019-7-8",
|
77
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "file-alt"] })
|
78
|
-
},
|
79
|
-
{
|
80
|
-
id: 12,
|
81
|
-
title: "Project Plan",
|
82
|
-
date: "2019-7-8",
|
83
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "file-alt"] })
|
84
|
-
},
|
85
|
-
{
|
86
|
-
id: 13,
|
87
|
-
title: "Project Plan",
|
88
|
-
date: "2019-7-8",
|
89
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "file-alt"] })
|
90
|
-
},
|
91
|
-
{
|
92
|
-
id: 14,
|
93
|
-
title: "Project Plan",
|
94
|
-
date: "2019-7-8",
|
95
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "file-alt"] })
|
96
|
-
},
|
97
|
-
{
|
98
|
-
id: 15,
|
99
|
-
title: "Project Plan",
|
100
|
-
date: "2019-7-8",
|
101
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "file-alt"] })
|
102
|
-
},
|
103
|
-
{
|
104
|
-
id: 16,
|
105
|
-
title: "Project Plan",
|
106
|
-
date: "2019-7-8",
|
107
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "file-alt"] })
|
108
|
-
},
|
109
|
-
{
|
110
|
-
id: 17,
|
111
|
-
title: "Project Plan",
|
112
|
-
date: "2019-7-8",
|
113
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "file-alt"] })
|
114
|
-
},
|
115
|
-
{
|
116
|
-
id: 18,
|
117
|
-
title: "Project Plan",
|
118
|
-
date: "2019-7-8",
|
119
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "file-alt"] })
|
120
|
-
},
|
121
|
-
{
|
122
|
-
id: 19,
|
123
|
-
title: "Project Plan",
|
124
|
-
date: "2019-7-8",
|
125
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "file-alt"] })
|
126
|
-
},
|
127
|
-
{
|
128
|
-
id: 20,
|
129
|
-
title: "Project Plan",
|
130
|
-
date: "2019-7-8",
|
131
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "file-alt"] })
|
132
|
-
},
|
133
|
-
{
|
134
|
-
id: 21,
|
135
|
-
title: "Project Plan",
|
136
|
-
date: "2019-7-8",
|
137
|
-
icon: React.createElement(FAIcon, { icon: ["fal", "file-alt"] })
|
138
|
-
}
|
139
|
-
];
|
140
|
-
return (React.createElement(ListView, { data: list, formViewTitle: "Add Document", formView: React.createElement(Add, null), defaultView: (id) => React.createElement(DocumentDetail, { id: id }), renderItem: (doc) => React.createElement(DocumentItem, { doc: doc }) }));
|
141
|
-
};
|
142
|
-
//# sourceMappingURL=index.js.map
|