@voplus/morpho-workspace 5.0.40 → 5.0.43
Sign up to get free protection for your applications and to get access to all the features.
- package/es/modules/notification/components/DocumentNotificationCard/index.js +3 -3
- package/es/modules/notification/components/DocumentNotificationCard/index.js.map +1 -1
- package/es/modules/pin/components/MyPinned/index.js +5 -3
- package/es/modules/pin/components/MyPinned/index.js.map +1 -1
- package/es/modules/pin/components/PinnedCardList/index.d.ts +1 -0
- package/es/modules/pin/components/PinnedCardList/index.js +2 -1
- package/es/modules/pin/components/PinnedCardList/index.js.map +1 -1
- package/es/modules/space/pages/MySpace/index.js +58 -6
- package/es/modules/space/pages/MySpace/index.js.map +1 -1
- package/es/modules/tasks/controls/TaskMenu/index.d.ts +0 -1
- package/es/modules/tasks/controls/TaskMenu/index.js +4 -2
- package/es/modules/tasks/controls/TaskMenu/index.js.map +1 -1
- package/es/modules/work/components/RelatedWorkList/RelatedWorkList.d.ts +1 -0
- package/es/modules/work/components/RelatedWorkList/RelatedWorkList.js +5 -5
- package/es/modules/work/components/RelatedWorkList/RelatedWorkList.js.map +1 -1
- package/es/modules/work/components/RelatedWorkList/index.less +5 -5
- package/es/modules/work/components/WorkErrorItem/index.d.ts +1 -0
- package/es/modules/work/components/WorkErrorItem/index.js +2 -2
- package/es/modules/work/components/WorkErrorItem/index.js.map +1 -1
- package/es/modules/work/components/WorkErrorItem/index.less +8 -8
- package/es/modules/work/components/WorkItem/index.d.ts +1 -0
- package/es/modules/work/components/WorkItem/index.js +2 -2
- package/es/modules/work/components/WorkItem/index.js.map +1 -1
- package/es/modules/work/components/WorkItem/index.less +15 -15
- package/es/modules/work/controls/WorkMenu/index.d.ts +2 -3
- package/es/modules/work/controls/WorkMenu/index.js +3 -3
- package/es/modules/work/controls/WorkMenu/index.js.map +1 -1
- package/es/modules/work/controls/WorkMenu/item/Send.d.ts +0 -1
- package/es/modules/work/controls/WorkMenu/item/Send.js +3 -1
- package/es/modules/work/controls/WorkMenu/item/Send.js.map +1 -1
- package/es/modules/work/work-type/pages/WorkTypePage/index.js +28 -3
- package/es/modules/work/work-type/pages/WorkTypePage/index.js.map +1 -1
- package/es/modules/workspace/components/MyWorkspaces/index.js +5 -3
- package/es/modules/workspace/components/MyWorkspaces/index.js.map +1 -1
- package/es/modules/workspace/components/WorkspaceIconList/index.d.ts +1 -0
- package/es/modules/workspace/components/WorkspaceIconList/index.js +2 -1
- package/es/modules/workspace/components/WorkspaceIconList/index.js.map +1 -1
- package/es/modules/workspace/components/WorkspaceIconList2/index.d.ts +1 -0
- package/es/modules/workspace/components/WorkspaceIconList2/index.js +2 -1
- package/es/modules/workspace/components/WorkspaceIconList2/index.js.map +1 -1
- package/es/modules/workspace/pages/WorkspacePage/index.js +32 -3
- package/es/modules/workspace/pages/WorkspacePage/index.js.map +1 -1
- package/package.json +1 -1
@@ -19,9 +19,9 @@ const DocumentNotificationCard = (props) => {
|
|
19
19
|
React.createElement("div", { className: "notification-date" }, moment(notification.createDate).format("DD MMM yyyy")),
|
20
20
|
React.createElement("div", { className: "notification-btn" },
|
21
21
|
React.createElement(Space, null,
|
22
|
-
notification.status !== "Dismissed" && (React.createElement(Button, { onClick: (ev) => onChangeStatus(ev, "Dismissed") }, "Dismiss")),
|
23
|
-
notification.status === "Dismissed" && (React.createElement(Button, { onClick: (ev) => onChangeStatus(ev, "Read") }, "UnDismiss")),
|
24
|
-
notification.status !== "Later" && notification.status !== "Dismissed" && (React.createElement(Button, { onClick: (ev) => onChangeStatus(ev, "Later") }, "Later")))))))));
|
22
|
+
notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-dismiss", onClick: (ev) => onChangeStatus(ev, "Dismissed") }, "Dismiss")),
|
23
|
+
notification.status === "Dismissed" && (React.createElement(Button, { className: "btn-unDismiss", onClick: (ev) => onChangeStatus(ev, "Read") }, "UnDismiss")),
|
24
|
+
notification.status !== "Later" && notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-later", onClick: (ev) => onChangeStatus(ev, "Later") }, "Later")))))))));
|
25
25
|
function onChangeStatus(ev, status) {
|
26
26
|
var _a;
|
27
27
|
(_a = props.onChangeStatus) === null || _a === void 0 ? void 0 : _a.call(props, status);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/DocumentNotificationCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAGN,eAAe,GACf,MAAM,+BAA+B,CAAC;AAEvC,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,wBAAwB,GAAG,CAAC,KAMjC,EAAE,EAAE;IACJ,MAAM,YAAY,GAAG,eAAe,CAAC,KAAK,CAAC,EAAE,CAA0B,CAAC;IAExE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,IAAI,IACJ,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,EAC7F,QAAQ;QACR,aAAa;QACb,MAAM;QAEN,6BAAK,SAAS,EAAC,2BAA2B,EAAC,OAAO,EAAE,KAAK,CAAC,OAAO;YAChE,gCAAK,YAAY,CAAC,OAAO,CAAC,KAAK,CAAM;YACrC,oBAAC,iBAAiB,IAAC,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,OAAO,GAAI;YACzD,6BAAK,SAAS,EAAC,qBAAqB;gBACnC,6BAAK,SAAS,EAAC,mBAAmB,IAChC,MAAM,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CACjD;gBACN,6BAAK,SAAS,EAAC,kBAAkB;oBAChC,oBAAC,KAAK;wBACJ,YAAY,CAAC,MAAM,KAAK,WAAW,IAAI,CACvC,oBAAC,MAAM,IAAC,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,WAAW,CAAC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/DocumentNotificationCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAGN,eAAe,GACf,MAAM,+BAA+B,CAAC;AAEvC,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,wBAAwB,GAAG,CAAC,KAMjC,EAAE,EAAE;IACJ,MAAM,YAAY,GAAG,eAAe,CAAC,KAAK,CAAC,EAAE,CAA0B,CAAC;IAExE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,IAAI,IACJ,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,EAC7F,QAAQ;QACR,aAAa;QACb,MAAM;QAEN,6BAAK,SAAS,EAAC,2BAA2B,EAAC,OAAO,EAAE,KAAK,CAAC,OAAO;YAChE,gCAAK,YAAY,CAAC,OAAO,CAAC,KAAK,CAAM;YACrC,oBAAC,iBAAiB,IAAC,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,OAAO,GAAI;YACzD,6BAAK,SAAS,EAAC,qBAAqB;gBACnC,6BAAK,SAAS,EAAC,mBAAmB,IAChC,MAAM,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CACjD;gBACN,6BAAK,SAAS,EAAC,kBAAkB;oBAChC,oBAAC,KAAK;wBACJ,YAAY,CAAC,MAAM,KAAK,WAAW,IAAI,CACvC,oBAAC,MAAM,IAAC,SAAS,EAAC,aAAa,EAAC,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,WAAW,CAAC,cAEvE,CACT;wBACA,YAAY,CAAC,MAAM,KAAK,WAAW,IAAI,CACvC,oBAAC,MAAM,IAAC,SAAS,EAAC,eAAe,EAAC,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,MAAM,CAAC,gBAEpE,CACT;wBACA,YAAY,CAAC,MAAM,KAAK,OAAO,IAAI,YAAY,CAAC,MAAM,KAAK,WAAW,IAAI,CAC1E,oBAAC,MAAM,IAAC,SAAS,EAAC,WAAW,EAAC,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,OAAO,CAAC,YAEjE,CACT,CACM,CACH,CACD,CACD,CACA,CACP,CAAC,CAAC;IAEH,SAAS,cAAc,CAAC,EAAO,EAAE,MAA0B;;QAC1D,MAAA,KAAK,CAAC,cAAc,sDAAG,MAAM,CAAC,CAAC;QAC/B,EAAE,CAAC,eAAe,EAAE,CAAC;IACtB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
@@ -10,6 +10,8 @@ import PinnedCardList from "../PinnedCardList";
|
|
10
10
|
import PageHeader from "@voplus/morpho-ui/es/components/PageHeader";
|
11
11
|
import styles from "./index.less";
|
12
12
|
const MyPinned = (props) => {
|
13
|
+
/** 加class name 为了方便做integration tests */
|
14
|
+
const classId = "pinned-list";
|
13
15
|
const [asideContext] = useState(AsideContent.createContext());
|
14
16
|
const list = useCreateListDataState({}, []);
|
15
17
|
return observe(() => (React.createElement(AsideContent, { context: asideContext },
|
@@ -23,15 +25,15 @@ const MyPinned = (props) => {
|
|
23
25
|
React.createElement("span", { className: "pinned-list-title text-gray-700" },
|
24
26
|
React.createElement(FAIcon, { icon: faStar, className: "margin-right-10" }),
|
25
27
|
"Starred"),
|
26
|
-
React.createElement(PinnedCardList, { filterStatus: "Star", onItemClick: onItemClick })),
|
28
|
+
React.createElement(PinnedCardList, { filterStatus: "Star", onItemClick: onItemClick, className: classId + "-star" })),
|
27
29
|
React.createElement("div", { className: "pinned-list" },
|
28
30
|
React.createElement("span", { className: "pinned-list-title text-gray-700" },
|
29
31
|
React.createElement(FAIcon, { icon: faExclamationCircle, className: "margin-right-10" }),
|
30
32
|
"Urgent"),
|
31
|
-
React.createElement(PinnedCardList, { filterStatus: "Urgent", onItemClick: onItemClick })),
|
33
|
+
React.createElement(PinnedCardList, { filterStatus: "Urgent", onItemClick: onItemClick, className: classId + "-urgent" })),
|
32
34
|
React.createElement("div", { className: "pinned-list" },
|
33
35
|
React.createElement("span", { className: "pinned-list-title text-gray-700" }, "Others"),
|
34
|
-
React.createElement(PinnedCardList, { filterStatus: "None", onItemClick: onItemClick })))))))));
|
36
|
+
React.createElement(PinnedCardList, { filterStatus: "None", onItemClick: onItemClick, className: classId + "-others" })))))))));
|
35
37
|
function onItemClick(id) {
|
36
38
|
var _a;
|
37
39
|
asideContext.openAside(React.createElement(PropertiesView, { id: id }), { span: 12 });
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/pin/components/MyPinned/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;A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ACN,6BAAK,SAAS,EAAC,aAAa;4BAC3B,8BAAM,SAAS,EAAC,iCAAiC;gCAChD,oBAAC,MAAM,IAAC,IAAI,EAAE,mBAAmB,EAAE,SAAS,EAAC,iBAAiB,GAAG;yCAE3D;4BACP,oBAAC,cAAc,IACd,YAAY,EAAC,QAAQ,EACrB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,OAAO,GAAG,SAAS,GAC7B,CACG;wBACN,6BAAK,SAAS,EAAC,aAAa;4BAC3B,8BAAM,SAAS,EAAC,iCAAiC,aAAc;4BAC/D,oBAAC,cAAc,IACd,YAAY,EAAC,MAAM,EACnB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,OAAO,GAAG,SAAS,GAC7B,CACG,CACM,CACR,CACD,CACoB,CACb,CACf,CAAC,CAAC;IAEH,SAAS,WAAW,CAAC,EAAU;;QAC9B,YAAY,CAAC,SAAS,CAAC,oBAAC,cAAc,IAAC,EAAE,EAAE,EAAE,GAAI,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;QACjE,MAAA,KAAK,CAAC,WAAW,sDAAG,EAAE,CAAC,CAAC;IACzB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
@@ -2,6 +2,7 @@ import { useDocumentListEffect, useMetaStore } from "@voplus/morpho-document-cor
|
|
2
2
|
import React, { useState } from "react";
|
3
3
|
import { observe, useAutorunEffect, useRenderOnChange } from "@voplus/morpho-ui";
|
4
4
|
import { useCreateListDataState, useListDataContext } from "@voplus/morpho-ui/es/data";
|
5
|
+
import classnames from "classnames";
|
5
6
|
import CustomIcon from "@voplus/morpho-ui/es/controls/CustomIconList/CustomIcon";
|
6
7
|
import { Empty } from "antd";
|
7
8
|
import { State } from "./state";
|
@@ -64,7 +65,7 @@ const PinnedCardList = (props) => {
|
|
64
65
|
/** useOnNewDocument, useOnDeleteDocument的sugar syntax 自動更新list. */
|
65
66
|
useAutoUpdateListData(docList, (d) => d.flag === props.filterStatus);
|
66
67
|
// return observe(() => <CustomIconList list={list.data as any} onClickItem={onItemClick} />);
|
67
|
-
return observe(() => (React.createElement("div", { className: "custom-icon-list" }, docList.data.length !== 0 ? (docList.data.map((item) => (React.createElement(CustomIcon, { key: item.id, id: item.id, name: item.name, icon: meta.getIcon(item), onClickItem: onClickItem, className: active === item.id ? "active" : "" })))) : (React.createElement(Empty, { className: "empty-style" })))));
|
68
|
+
return observe(() => (React.createElement("div", { className: classnames("custom-icon-list", props.className) }, docList.data.length !== 0 ? (docList.data.map((item) => (React.createElement(CustomIcon, { key: item.id, id: item.id, name: item.name, icon: meta.getIcon(item), onClickItem: onClickItem, className: active === item.id ? "active" : "" })))) : (React.createElement(Empty, { className: "empty-style" })))));
|
68
69
|
function onClickItem(id) {
|
69
70
|
var _c;
|
70
71
|
setActive(id);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/pin/components/PinnedCardList/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,qBAAqB,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC9F,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/pin/components/PinnedCardList/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,qBAAqB,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC9F,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,kB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AAEF,eAAe,cAAc,CAAC"}
|
@@ -24,6 +24,8 @@ import { useNotificationListEffect } from "../../../../data/notification";
|
|
24
24
|
import { useTaskListEffect } from "@voplus/morpho-document-core";
|
25
25
|
import { useWorkListEffect } from "../../../../data/work";
|
26
26
|
const MySpace = () => {
|
27
|
+
/** 加class name 为了方便做integration tests */
|
28
|
+
const classId = "mySpace";
|
27
29
|
const { user } = useApplicationContext();
|
28
30
|
const url = useResolvedPath("").pathname;
|
29
31
|
const tab = useTabItem();
|
@@ -55,89 +57,133 @@ const MySpace = () => {
|
|
55
57
|
React.createElement(MainContent.Nav, { collapsible: true },
|
56
58
|
React.createElement(Scrollbars, { autoHide: true },
|
57
59
|
React.createElement(Menu, { mode: "inline", className: "voplus-antd-menu", defaultSelectedKeys: ["/notifications/unread"], selectedKeys: state.menuKey, defaultOpenKeys: ["Notifications"], onClick: (key) => state.navigate(key.key), items: [
|
58
|
-
{
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
60
|
+
{
|
61
|
+
key: "/pinned",
|
62
|
+
label: "Pinned",
|
63
|
+
icon: React.createElement(FAIcon, { icon: faThumbtack }),
|
64
|
+
className: classId + "-pinned",
|
65
|
+
},
|
66
|
+
{
|
67
|
+
key: "/documents",
|
68
|
+
label: "My Documents",
|
69
|
+
icon: React.createElement(FAIcon, { icon: faFolderMinus }),
|
70
|
+
className: classId + "-documents",
|
71
|
+
},
|
72
|
+
{
|
73
|
+
key: "/workspace",
|
74
|
+
label: "My Workspaces",
|
75
|
+
icon: React.createElement(FAIcon, { icon: faBriefcase }),
|
76
|
+
className: classId + "-workspace",
|
77
|
+
},
|
78
|
+
{
|
79
|
+
key: "/roles",
|
80
|
+
label: "My Roles",
|
81
|
+
icon: React.createElement(FAIcon, { icon: faUserTie }),
|
82
|
+
className: classId + "-roles",
|
83
|
+
},
|
84
|
+
{
|
85
|
+
key: "/teams",
|
86
|
+
label: "My Teams",
|
87
|
+
icon: React.createElement(FAIcon, { icon: faUsers }),
|
88
|
+
className: classId + "-teams",
|
89
|
+
},
|
63
90
|
{
|
64
91
|
key: "Notifications",
|
65
92
|
label: "My Notifications",
|
66
93
|
icon: React.createElement(FAIcon, { icon: faBell }),
|
94
|
+
className: classId + "-notifications",
|
67
95
|
children: [
|
68
96
|
{
|
69
97
|
key: "/notifications/unread",
|
70
98
|
label: (React.createElement(React.Fragment, null,
|
71
99
|
"Unread",
|
72
100
|
React.createElement(Badge, { overflowCount: 9999, count: state.notificationTotals.unread }))),
|
101
|
+
className: classId + "-notifications-unread",
|
73
102
|
},
|
74
103
|
{
|
75
104
|
key: "/notifications/read",
|
76
105
|
label: (React.createElement(React.Fragment, null,
|
77
106
|
"Read",
|
78
107
|
React.createElement(Badge, { overflowCount: 9999, count: state.notificationTotals.read }))),
|
108
|
+
className: classId + "-notifications-read",
|
79
109
|
},
|
80
110
|
{
|
81
111
|
key: "/notifications/later",
|
82
112
|
label: (React.createElement(React.Fragment, null,
|
83
113
|
"Later",
|
84
114
|
React.createElement(Badge, { overflowCount: 9999, count: state.notificationTotals.later }))),
|
115
|
+
className: classId + "-notifications-later",
|
85
116
|
},
|
86
117
|
{
|
87
118
|
key: "/notifications/dismissed",
|
88
119
|
label: (React.createElement(React.Fragment, null,
|
89
120
|
"Dismissed",
|
90
121
|
React.createElement(Badge, { count: state.notificationTotals.dismissed }))),
|
122
|
+
className: classId + "-notifications-dismissed",
|
91
123
|
},
|
92
124
|
],
|
93
125
|
},
|
94
|
-
{
|
126
|
+
{
|
127
|
+
key: "Notes",
|
128
|
+
label: "My Notes",
|
129
|
+
icon: React.createElement(FAIcon, { icon: faEdit }),
|
130
|
+
disabled: true,
|
131
|
+
className: classId + "-notes",
|
132
|
+
},
|
95
133
|
{
|
96
134
|
key: "Projects",
|
97
135
|
label: "My Projects",
|
98
136
|
icon: React.createElement(FAIcon, { icon: faWindowRestore }),
|
99
137
|
disabled: true,
|
138
|
+
className: classId + "-projects",
|
100
139
|
},
|
101
140
|
{
|
102
141
|
key: "Tasks",
|
103
142
|
label: "My Tasks",
|
104
143
|
icon: React.createElement(FAIcon, { icon: faTasks }),
|
144
|
+
className: classId + "-tasks",
|
105
145
|
children: [
|
106
146
|
{
|
107
147
|
key: "/task/created",
|
108
148
|
label: (React.createElement(React.Fragment, null,
|
109
149
|
"Created by me",
|
110
150
|
React.createElement(Badge, { overflowCount: 9999, count: state.taskTotals.created }))),
|
151
|
+
className: classId + "-tasks-created",
|
111
152
|
},
|
112
153
|
{
|
113
154
|
key: "/task/today",
|
114
155
|
label: (React.createElement(React.Fragment, null,
|
115
156
|
"Today",
|
116
157
|
React.createElement(Badge, { overflowCount: 9999, count: state.taskTotals.today }))),
|
158
|
+
className: classId + "-tasks-today",
|
117
159
|
},
|
118
160
|
{
|
119
161
|
key: "/task/week",
|
120
162
|
label: (React.createElement(React.Fragment, null,
|
121
163
|
"This Week",
|
122
164
|
React.createElement(Badge, { overflowCount: 9999, count: state.taskTotals.week }))),
|
165
|
+
className: classId + "-tasks-week",
|
123
166
|
},
|
124
167
|
{
|
125
168
|
key: "/task/month",
|
126
169
|
label: (React.createElement(React.Fragment, null,
|
127
170
|
"This Month",
|
128
171
|
React.createElement(Badge, { overflowCount: 9999, count: state.taskTotals.month }))),
|
172
|
+
className: classId + "-tasks-month",
|
129
173
|
},
|
130
174
|
{
|
131
175
|
key: "/task/unscheduled",
|
132
176
|
label: (React.createElement(React.Fragment, null,
|
133
177
|
"Unscheduled",
|
134
178
|
React.createElement(Badge, { overflowCount: 9999, count: state.taskTotals.unscheduled }))),
|
179
|
+
className: classId + "-tasks-unscheduled",
|
135
180
|
},
|
136
181
|
{
|
137
182
|
key: "/task/due",
|
138
183
|
label: (React.createElement(React.Fragment, null,
|
139
184
|
"Due",
|
140
185
|
React.createElement(Badge, { count: state.taskTotals.due }))),
|
186
|
+
className: classId + "-tasks-due",
|
141
187
|
},
|
142
188
|
],
|
143
189
|
},
|
@@ -145,36 +191,42 @@ const MySpace = () => {
|
|
145
191
|
key: "Works",
|
146
192
|
label: "My Works",
|
147
193
|
icon: React.createElement(FAIcon, { icon: faPencilRuler }),
|
194
|
+
className: classId + "-works",
|
148
195
|
children: [
|
149
196
|
{
|
150
197
|
key: "/works/requested",
|
151
198
|
label: (React.createElement(React.Fragment, null,
|
152
199
|
"Requested by me",
|
153
200
|
React.createElement(Badge, { overflowCount: 9999, count: state.workTotals.requested }))),
|
201
|
+
className: classId + "-works-requested",
|
154
202
|
},
|
155
203
|
{
|
156
204
|
key: "/works/today",
|
157
205
|
label: (React.createElement(React.Fragment, null,
|
158
206
|
"Today",
|
159
207
|
React.createElement(Badge, { overflowCount: 9999, count: state.workTotals.today }))),
|
208
|
+
className: classId + "-works-today",
|
160
209
|
},
|
161
210
|
{
|
162
211
|
key: "/works/week",
|
163
212
|
label: (React.createElement(React.Fragment, null,
|
164
213
|
"This Week",
|
165
214
|
React.createElement(Badge, { overflowCount: 9999, count: state.workTotals.week }))),
|
215
|
+
className: classId + "-works-week",
|
166
216
|
},
|
167
217
|
{
|
168
218
|
key: "/works/month",
|
169
219
|
label: (React.createElement(React.Fragment, null,
|
170
220
|
"This Month",
|
171
221
|
React.createElement(Badge, { overflowCount: 9999, count: state.workTotals.month }))),
|
222
|
+
className: classId + "-works-month",
|
172
223
|
},
|
173
224
|
{
|
174
225
|
key: "/works/due",
|
175
226
|
label: (React.createElement(React.Fragment, null,
|
176
227
|
"Due",
|
177
228
|
React.createElement(Badge, { count: state.workTotals.due }))),
|
229
|
+
className: classId + "-works-due",
|
178
230
|
},
|
179
231
|
],
|
180
232
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/space/pages/MySpace/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,kB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AG,GAAG,0BAA0B,GAAI,GACvE;YACF,oBAAC,KAAK,IACL,IAAI,EAAE,gCAAgC,EACtC,OAAO,EAAE,oBAAC,aAAa,IAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,GAAG,iCAAiC,GAAI,GACtF;YACF,oBAAC,KAAK,IAAC,IAAI,EAAC,GAAG,EAAC,OAAO,EAAE,oBAAC,QAAQ,IAAC,EAAE,EAAE,sBAAsB,GAAI,GAAI,CAC7D,CAGI,CACd,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -4,6 +4,7 @@ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
4
4
|
import { faSquarePen } from "@fortawesome/pro-light-svg-icons";
|
5
5
|
import { observe, MenuTitle } from "@voplus/morpho-ui";
|
6
6
|
import { DocumentMenuContext, DocumentMenuState, useTask } from "@voplus/morpho-document-core";
|
7
|
+
import { useToolBarContext } from "@voplus/morpho-document/es/controls/ToolBar/ToolBarState";
|
7
8
|
import DocumentMenu from "@voplus/morpho-document/es/controls/DocumentMenu";
|
8
9
|
import DelegateDialog from "../../components/DelegateDialog";
|
9
10
|
const TaskMenu = (props) => {
|
@@ -11,16 +12,17 @@ const TaskMenu = (props) => {
|
|
11
12
|
const classId = "task-menu";
|
12
13
|
const [visible, setVisible] = useState(false);
|
13
14
|
const context = useMemo(() => new DocumentMenuState(props.id), [props.id]);
|
15
|
+
const toolBarContext = useToolBarContext();
|
14
16
|
const task = useTask(props.id);
|
15
17
|
return observe(() => (React.createElement(DocumentMenuContext.Provider, { value: context },
|
16
18
|
React.createElement(MenuTitle, { title: "Task Menu" }),
|
17
19
|
React.createElement(Button, { type: "link", key: "Delegate", className: classId + "-delegate", onClick: () => {
|
18
|
-
|
20
|
+
toolBarContext === null || toolBarContext === void 0 ? void 0 : toolBarContext.menuItemClick();
|
19
21
|
setVisible(true);
|
20
22
|
} },
|
21
23
|
React.createElement(FAIcon, { icon: faSquarePen }),
|
22
24
|
React.createElement("span", null, "Delegate")),
|
23
|
-
React.createElement(DocumentMenu, { id: props.id,
|
25
|
+
React.createElement(DocumentMenu, { id: props.id, isTitle: true, closeAside: true }),
|
24
26
|
visible && (React.createElement(DelegateDialog, { id: props.id, members: task.members, onCancel: () => setVisible(false) })))));
|
25
27
|
};
|
26
28
|
export default TaskMenu;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/controls/TaskMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAC/F,OAAO,YAAY,MAAM,kDAAkD,CAAC;AAC5E,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAE7D,MAAM,QAAQ,GAAG,CAAC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/controls/TaskMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CA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oBAAC,cAAc,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAAI,CAC1F,CAC6B,CAC/B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { Spin } from "antd";
|
2
2
|
import React, { useEffect, useState } from "react";
|
3
3
|
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
4
4
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
@@ -10,7 +10,7 @@ import WorkItem from "../WorkItem";
|
|
10
10
|
import { faPlus } from "@fortawesome/pro-light-svg-icons";
|
11
11
|
import { observe } from "@voplus/morpho-ui";
|
12
12
|
import { runInAction } from "mobx";
|
13
|
-
import
|
13
|
+
import "./index.less";
|
14
14
|
import { useDocumentLinkListEffect } from "@voplus/morpho-document-core";
|
15
15
|
import { useWork } from "../../../../data/work";
|
16
16
|
const RelatedWorkList = (props) => {
|
@@ -30,13 +30,13 @@ const RelatedWorkList = (props) => {
|
|
30
30
|
useEffect(() => {
|
31
31
|
state.links = [];
|
32
32
|
}, [id]);
|
33
|
-
const content = observe(() => state.loading ? (React.createElement("div", { className:
|
34
|
-
React.createElement(Spin, { tip: "Loading...", indicator: React.createElement(LoadingOutlined, null) }))) : (React.createElement("div", { className:
|
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" },
|
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" },
|
38
38
|
React.createElement(FAIcon, { icon: faPlus, onClick: () => setAdd(!add) })))),
|
39
|
-
React.createElement(Scrollbars, { autoHide: true }, state.links.length ? (state.links.map((item, index) => (React.createElement(WorkItem, { key: item.right.id, clickNameEffect: "default", id: item.right.id === id ? item.left.id : item.right.id })))) : (
|
39
|
+
React.createElement(Scrollbars, { autoHide: true }, state.links.length ? (state.links.map((item, index) => (React.createElement(WorkItem, { key: item.right.id, clickNameEffect: "default", id: item.right.id === id ? item.left.id : item.right.id })))) : (null)),
|
40
40
|
add && (React.createElement(NewWorkForm, { openMode: "openBottom", workId: id, contact: primaryContact || work.contact, isRelatedWork: true, onSave: () => {
|
41
41
|
setAdd(false);
|
42
42
|
props.onReload && props.onReload();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RelatedWorkList.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/RelatedWorkList/RelatedWorkList.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"RelatedWorkList.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/RelatedWorkList/RelatedWorkList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAA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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,9 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
:global {
|
2
|
+
.related-work-list {
|
3
|
+
display: flex;
|
4
|
+
flex-direction: column;
|
5
|
+
height: 100%;
|
5
6
|
|
6
|
-
:global {
|
7
7
|
.related-work-list-header {
|
8
8
|
height: 60px;
|
9
9
|
padding: 1em 20px;
|
@@ -7,14 +7,14 @@ import WorkErrorMenu from "../../controls/WorkErrorMenu";
|
|
7
7
|
import classnames from "classnames";
|
8
8
|
import moment from "moment";
|
9
9
|
import { observe } from "@voplus/morpho-ui";
|
10
|
-
import
|
10
|
+
import "./index.less";
|
11
11
|
import { useApplicationContext } from "@voplus/morpho-data";
|
12
12
|
import { useWorkError } from "../../../../data/workerror";
|
13
13
|
const WorkErrorItem = (props) => {
|
14
14
|
const { user } = useApplicationContext();
|
15
15
|
const workError = useWorkError(props.id);
|
16
16
|
const [hover, setHover] = useState(false);
|
17
|
-
return observe(() => (React.createElement("div", { className:
|
17
|
+
return observe(() => (React.createElement("div", { className: "workerror-item", onMouseLeave: () => setHover(false), onMouseOver: () => setHover(true) },
|
18
18
|
React.createElement(Row, null,
|
19
19
|
React.createElement(Col, { flex: 3 },
|
20
20
|
React.createElement("div", null,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkErrorItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,M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eAAe,aAAa,CAAC"}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
:global {
|
2
|
+
.workerror-item {
|
3
|
+
padding: 10px 20px;
|
4
|
+
background: transparent;
|
5
|
+
position: relative;
|
6
|
+
// &:global(:hover) {
|
7
|
+
// background: #f3f1f1;
|
8
|
+
// }
|
9
9
|
.workerror-info {
|
10
10
|
display: inline-block;
|
11
11
|
color: #000;
|
@@ -11,7 +11,7 @@ import classnames from "classnames";
|
|
11
11
|
import { faAlarmExclamation } from "@fortawesome/pro-light-svg-icons";
|
12
12
|
import moment from "moment";
|
13
13
|
import { observe } from "@voplus/morpho-ui";
|
14
|
-
import
|
14
|
+
import "./index.less";
|
15
15
|
import { useMetaStore } from "@voplus/morpho-document-core";
|
16
16
|
const WorkItem = (props) => {
|
17
17
|
const { id, clickNameEffect } = props;
|
@@ -21,7 +21,7 @@ const WorkItem = (props) => {
|
|
21
21
|
const workStore = useWorkStore();
|
22
22
|
return observe(() => {
|
23
23
|
var _a;
|
24
|
-
return (React.createElement(DocumentHeader, { id: work.id, quickDataBarAlign: "left", clickNameEffect: clickNameEffect, flagVisible: false, tagsVisible: !!((_a = work.tags) === null || _a === void 0 ? void 0 : _a.length), className:
|
24
|
+
return (React.createElement(DocumentHeader, { id: work.id, quickDataBarAlign: "left", clickNameEffect: clickNameEffect, flagVisible: false, tagsVisible: !!((_a = work.tags) === null || _a === void 0 ? void 0 : _a.length), className: "default-work-item", onMouse: (over) => setHover(over), quickDataBar: React.createElement(WorkDataIconBar, { id: id }), tools: React.createElement(React.Fragment, null,
|
25
25
|
React.createElement("div", { className: classnames("work-statue-due-date", { hide: hover }) },
|
26
26
|
React.createElement("div", null,
|
27
27
|
React.createElement(WorkStatusLabel, { status: work.workStatus, editable: !work.readonly, onChange: workStatusEdit, className: classnames("work-status-label") })),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,eAAe,MAAM,gCAAgC,CAA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