@voplus/morpho-workspace 6.0.103 → 6.0.104
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/AutoSequenceDialog/index.d.ts +3 -3
- package/es/components/AutoSequenceLink/index.d.ts +2 -2
- package/es/controls/InlineSearch/index.d.ts +2 -2
- package/es/controls/MoreOperateDropdown/index.d.ts +15 -15
- package/es/controls/NodeLink/index.d.ts +1 -1
- package/es/data/board/contexts/BoardListContextState/index.d.ts +0 -1
- package/es/data/board/metas.d.ts +0 -1
- package/es/data/meeting/metas.d.ts +0 -1
- package/es/data/task/metas.d.ts +0 -1
- package/es/data/work/metas.d.ts +0 -1
- package/es/data/work-schedule/metas.d.ts +0 -1
- package/es/modules/board/components/Board/index.d.ts +1 -1
- package/es/modules/board/components/NewBoardColumnDialog/index.d.ts +2 -2
- package/es/modules/board/components/NewColumnDocumentForm/index.d.ts +1 -1
- package/es/modules/board/components/SubDocument/index.d.ts +2 -2
- package/es/modules/meeting/components/AgendaList/AgendaContext.d.ts +0 -1
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.d.ts +5 -5
- package/es/modules/meeting/components/MeetingList/QuickSearch/index.d.ts +8 -9
- package/es/modules/notification/components/DocumentNotificationCard/index.d.ts +4 -4
- package/es/modules/notification/components/NotificationList/index.d.ts +3 -3
- package/es/modules/notification/components/NotificationList/index.less +6 -1
- package/es/modules/notification/components/NotificationListHeader/index.d.ts +1 -1
- package/es/modules/notification/components/NotificationListHeader/index.js +2 -4
- package/es/modules/notification/components/NotificationListHeader/index.js.map +1 -1
- package/es/modules/notification/controls/NotificationMenu/item/Send.d.ts +3 -3
- package/es/modules/pin/components/MyPinned/index.d.ts +2 -2
- package/es/modules/pin/components/PinnedCardList/index.d.ts +3 -3
- package/es/modules/tasks/components/AddTaskDropdown/index.d.ts +4 -4
- package/es/modules/tasks/components/DelegateDialog/index.d.ts +2 -2
- package/es/modules/tasks/components/NewTaskForm/index.d.ts +11 -11
- package/es/modules/tasks/components/NotificaitonNewTaskForm/index.d.ts +9 -9
- package/es/modules/tasks/components/TaskCheckItem/index.d.ts +2 -2
- package/es/modules/tasks/components/TaskCheckNewForm/index.d.ts +4 -4
- package/es/modules/tasks/controls/TaskStatusLabel/index.d.ts +1 -1
- package/es/modules/work/components/NewWorkErrorDialog/index.d.ts +3 -3
- package/es/modules/work/components/NewWorkForm/index.d.ts +8 -8
- package/es/modules/work/components/RejectWorkDialog/index.d.ts +4 -4
- package/es/modules/work/components/WorkCashReport/index.d.ts +1 -1
- package/es/modules/work/components/WorkErrorList/index.d.ts +3 -3
- package/es/modules/work/components/WorkList/index.d.ts +0 -2
- package/es/modules/work/components/WorkList/index.js +2 -2
- package/es/modules/work/components/WorkList/index.js.map +1 -1
- package/es/modules/work/components/WorkList2/index.d.ts +45 -0
- package/es/modules/work/components/WorkList2/index.js +227 -0
- package/es/modules/work/components/WorkList2/index.js.map +1 -0
- package/es/modules/work/components/WorkList2/index.less +27 -0
- package/es/modules/work/components/WorkListHeader/index.d.ts +17 -0
- package/es/modules/work/components/WorkListHeader/index.js +26 -0
- package/es/modules/work/components/WorkListHeader/index.js.map +1 -0
- package/es/modules/work/controls/SeveritySelect/index.d.ts +8 -8
- package/es/modules/work/controls/WorkErrorSelect/index.d.ts +8 -8
- package/es/modules/work/controls/WorkMenu/item/Accept.d.ts +3 -3
- package/es/modules/work/controls/WorkMenu/item/Reject.d.ts +3 -3
- package/es/modules/work/controls/WorkMenu/item/Send.d.ts +3 -3
- package/es/modules/work/controls/WorkStatusLabel/index.d.ts +1 -1
- package/es/modules/work/work-type/components/ChangeWorkDefaultFolderDialog/index.d.ts +3 -3
- package/es/modules/work/work-type/components/ErrorTypeList/Item.d.ts +5 -5
- package/es/modules/work/work-type/components/ErrorTypeList/index.d.ts +6 -6
- package/es/modules/work/work-type/components/NewTypeForm/index.d.ts +4 -4
- package/es/modules/work/work-type/components/WorkTypeIconList/index.d.ts +1 -1
- package/es/modules/work/work-type/components/WorkTypeList/index.d.ts +2 -2
- package/es/modules/work/work-type/components/WorkTypeSelect/index.d.ts +5 -5
- package/es/modules/work/work-type/controls/WorkTypeStatusLabel/index.d.ts +1 -1
- package/es/modules/workspace/components/MyWorkspaces/index.d.ts +3 -3
- package/es/modules/workspace/components/NewWorkspaceDialog/index.d.ts +5 -5
- package/es/modules/workspace/components/WorkspaceIconList/index.d.ts +5 -5
- package/es/modules/workspace/components/WorkspaceIconList2/index.d.ts +2 -2
- package/es/obsolete/space/components/Notes/ColorSelect/index.d.ts +3 -3
- package/es/obsolete/space/components/Notes/NewNoteDialog/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -2,8 +2,8 @@ import React from "react";
|
|
|
2
2
|
import { ISequenceInfo, SequenceEditOptions } from "../../data/worktype";
|
|
3
3
|
import "./index.less";
|
|
4
4
|
declare const AutoSequenceDialog: (props: {
|
|
5
|
-
sequence?: ISequenceInfo
|
|
6
|
-
onCancel?: (
|
|
7
|
-
onSubmit?: (
|
|
5
|
+
sequence?: ISequenceInfo;
|
|
6
|
+
onCancel?: () => void;
|
|
7
|
+
onSubmit?: (Sequence: SequenceEditOptions) => void;
|
|
8
8
|
}) => React.JSX.Element;
|
|
9
9
|
export default AutoSequenceDialog;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ISequenceInfo, SequenceEditOptions } from "../../data/worktype";
|
|
3
3
|
declare const AutoSequenceLink: (props: {
|
|
4
|
-
sequence?: ISequenceInfo
|
|
5
|
-
onSubmit?: (
|
|
4
|
+
sequence?: ISequenceInfo;
|
|
5
|
+
onSubmit?: (Sequence: SequenceEditOptions) => void;
|
|
6
6
|
}) => React.JSX.Element;
|
|
7
7
|
export default AutoSequenceLink;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const InlineSearch: (props: {
|
|
3
|
-
render?: string
|
|
4
|
-
onChange?: (
|
|
3
|
+
render?: string;
|
|
4
|
+
onChange?: (val: string) => void | Promise<void>;
|
|
5
5
|
}) => React.JSX.Element;
|
|
6
6
|
export default InlineSearch;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const MoreOperateDropdown: {
|
|
3
3
|
(props: {
|
|
4
|
-
className?: string
|
|
5
|
-
edit?: boolean
|
|
6
|
-
del?: boolean
|
|
7
|
-
move?: boolean
|
|
8
|
-
paste?: boolean
|
|
9
|
-
open?: boolean
|
|
10
|
-
access?: boolean
|
|
11
|
-
url?: string
|
|
12
|
-
shape?: boolean
|
|
13
|
-
size?: "
|
|
14
|
-
onEdit?: (
|
|
15
|
-
onDelete?: (
|
|
16
|
-
onMove?: (
|
|
17
|
-
onPaste?: (
|
|
18
|
-
onAccess?: (
|
|
4
|
+
className?: string;
|
|
5
|
+
edit?: boolean;
|
|
6
|
+
del?: boolean;
|
|
7
|
+
move?: boolean;
|
|
8
|
+
paste?: boolean;
|
|
9
|
+
open?: boolean;
|
|
10
|
+
access?: boolean;
|
|
11
|
+
url?: string;
|
|
12
|
+
shape?: boolean;
|
|
13
|
+
size?: "middle" | "small" | "large";
|
|
14
|
+
onEdit?: (params?: any) => void;
|
|
15
|
+
onDelete?: (params?: any) => void;
|
|
16
|
+
onMove?: () => void;
|
|
17
|
+
onPaste?: () => void;
|
|
18
|
+
onAccess?: () => void;
|
|
19
19
|
}): React.JSX.Element;
|
|
20
20
|
defaultProps: {
|
|
21
21
|
edit: boolean;
|
package/es/data/board/metas.d.ts
CHANGED
package/es/data/task/metas.d.ts
CHANGED
package/es/data/work/metas.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ import "swiper/css";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
declare const Board: (props: {
|
|
4
4
|
parentId: string;
|
|
5
|
-
onAdd?: (
|
|
5
|
+
onAdd?: (parentId: string, type: string, name: string) => void;
|
|
6
6
|
}) => React.JSX.Element;
|
|
7
7
|
export default Board;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const NewBoardColumnDialog: (props: {
|
|
3
3
|
parentId: string;
|
|
4
|
-
onCancel?: (
|
|
5
|
-
onCreate?: (
|
|
4
|
+
onCancel?: () => void;
|
|
5
|
+
onCreate?: (name?: string) => void;
|
|
6
6
|
}) => React.JSX.Element;
|
|
7
7
|
export default NewBoardColumnDialog;
|
|
@@ -2,9 +2,9 @@ import React from "react";
|
|
|
2
2
|
declare const SubDocument: (props: {
|
|
3
3
|
id: string;
|
|
4
4
|
/** Droppable type */
|
|
5
|
-
listType?: string
|
|
5
|
+
listType?: string;
|
|
6
6
|
/** sub-document length ids */
|
|
7
|
-
onDocumentData?: (
|
|
7
|
+
onDocumentData?: (params?: any) => void;
|
|
8
8
|
/** move 目标数据 */
|
|
9
9
|
destination?: any;
|
|
10
10
|
/** move 原数据 */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const _default: React.ForwardRefExoticComponent<{
|
|
3
|
-
id?: string
|
|
4
|
-
single?: boolean
|
|
5
|
-
addOnly?: boolean
|
|
6
|
-
onChange?: (
|
|
7
|
-
onCancel?: (
|
|
3
|
+
id?: string;
|
|
4
|
+
single?: boolean;
|
|
5
|
+
addOnly?: boolean;
|
|
6
|
+
onChange?: (params?: any) => void;
|
|
7
|
+
onCancel?: () => void;
|
|
8
8
|
} & React.RefAttributes<unknown>>;
|
|
9
9
|
export default _default;
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import React, { CSSProperties } from "react";
|
|
2
|
-
import style from "./index.less";
|
|
3
2
|
declare const QuickSearch: {
|
|
4
3
|
(props: {
|
|
5
4
|
/** reset 默认值标识/parentId */
|
|
6
|
-
renderId?: string
|
|
7
|
-
title?: string
|
|
8
|
-
placeholder?: string
|
|
5
|
+
renderId?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
placeholder?: string;
|
|
9
8
|
/** width of Input */
|
|
10
|
-
width?: string
|
|
11
|
-
onChange?: (
|
|
12
|
-
onPressEnter?: (
|
|
13
|
-
className?: string
|
|
14
|
-
style?:
|
|
9
|
+
width?: string;
|
|
10
|
+
onChange?: (value: string) => void;
|
|
11
|
+
onPressEnter?: (value: string) => void | Promise<void>;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: CSSProperties;
|
|
15
14
|
}): React.JSX.Element;
|
|
16
15
|
defaultProps: {
|
|
17
16
|
width: string;
|
|
@@ -2,9 +2,9 @@ import { NotificationStatus } from "../../../../data/notification";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
declare const DocumentNotificationCard: (props: {
|
|
4
4
|
id: string;
|
|
5
|
-
active?: boolean
|
|
6
|
-
className?: string
|
|
7
|
-
onClick?: React.MouseEventHandler<HTMLDivElement
|
|
8
|
-
onChangeStatus?: (
|
|
5
|
+
active?: boolean;
|
|
6
|
+
className?: string;
|
|
7
|
+
onClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
8
|
+
onChangeStatus?: (state: NotificationStatus) => void;
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default DocumentNotificationCard;
|
|
@@ -5,9 +5,9 @@ declare const NotificationList: (props: {
|
|
|
5
5
|
/** status of notifications shown on the list. */
|
|
6
6
|
status: string;
|
|
7
7
|
/** The current active item */
|
|
8
|
-
active?: string
|
|
8
|
+
active?: string;
|
|
9
9
|
/** Call back when an item has been clicked on the list. */
|
|
10
|
-
onClickItem?: (
|
|
11
|
-
onClickStatus?: (
|
|
10
|
+
onClickItem?: (ev: React.MouseEvent<HTMLDivElement, MouseEvent>, item: INotification) => void;
|
|
11
|
+
onClickStatus?: (status: string) => void;
|
|
12
12
|
}) => React.JSX.Element;
|
|
13
13
|
export default NotificationList;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
padding: 0 !important;
|
|
6
6
|
background: #fff;
|
|
7
7
|
}
|
|
8
|
+
|
|
8
9
|
.my-space-notifications {
|
|
9
10
|
height: 100%;
|
|
10
11
|
display: flex;
|
|
@@ -13,6 +14,7 @@
|
|
|
13
14
|
.board-header-content {
|
|
14
15
|
padding-left: 24px;
|
|
15
16
|
}
|
|
17
|
+
|
|
16
18
|
.list-view-header-tool {
|
|
17
19
|
padding: 10px 24px 20px;
|
|
18
20
|
}
|
|
@@ -24,16 +26,19 @@
|
|
|
24
26
|
color: @default-border-color;
|
|
25
27
|
border-radius: @default-border-radius;
|
|
26
28
|
border: 1px solid @default-border-color;
|
|
27
|
-
margin
|
|
29
|
+
margin: 0 15px 10px 0;
|
|
30
|
+
|
|
28
31
|
&.active {
|
|
29
32
|
color: @btn-active-color;
|
|
30
33
|
background: #f4f9ff;
|
|
31
34
|
border-color: @btn-active-color;
|
|
32
35
|
}
|
|
36
|
+
|
|
33
37
|
&.Dismissed {
|
|
34
38
|
margin-right: 0;
|
|
35
39
|
}
|
|
36
40
|
}
|
|
41
|
+
|
|
37
42
|
.ant-divider-vertical {
|
|
38
43
|
height: 30px;
|
|
39
44
|
color: #707070;
|
|
@@ -2,6 +2,6 @@ import React from "react";
|
|
|
2
2
|
declare const NotificationListHeader: (props: {
|
|
3
3
|
/** status of notifications shown on the list. */
|
|
4
4
|
status: string;
|
|
5
|
-
onClickStatus?: (
|
|
5
|
+
onClickStatus?: (status: string) => void;
|
|
6
6
|
}) => React.JSX.Element;
|
|
7
7
|
export default NotificationListHeader;
|
|
@@ -35,7 +35,7 @@ const NotificationListHeader = (props) => {
|
|
|
35
35
|
active: statusActive === item,
|
|
36
36
|
}), onClick: () => onClickStatus(item) },
|
|
37
37
|
item,
|
|
38
|
-
item !== "All" && (React.createElement(React.Fragment, null,
|
|
38
|
+
item !== "All" && item !== "Dismissed" && (React.createElement(React.Fragment, null,
|
|
39
39
|
"\u00A0(",
|
|
40
40
|
item === "Unread"
|
|
41
41
|
? nContext.notificationTotals.unread
|
|
@@ -43,9 +43,7 @@ const NotificationListHeader = (props) => {
|
|
|
43
43
|
? nContext.notificationTotals.read
|
|
44
44
|
: item === "Later"
|
|
45
45
|
? nContext.notificationTotals.later
|
|
46
|
-
:
|
|
47
|
-
? nContext.notificationTotals.dismissed
|
|
48
|
-
: 0,
|
|
46
|
+
: 0,
|
|
49
47
|
")"))))),
|
|
50
48
|
context.host.isTest && React.createElement(Divider, { type: "vertical" }))) }))));
|
|
51
49
|
function onClickStatus(item) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationListHeader/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,OAAO,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AACzE,OAAO,cAAc,MAAM,+DAA+D,CAAC;AAC3F,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,cAAc,MAAM,wEAAwE,CAAC;AACpG,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,CAAC,MAAM,QAAQ,CAAC;AAEvB,MAAM,sBAAsB,GAAG,CAAC,KAK/B,EAAE,EAAE;IACJ,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,MAAM,QAAQ,GAAG,0BAA0B,EAAE,CAAC;IAC9C,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ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C,CACpB,6BAAK,SAAS,EAAC,sBAAsB;QACpC,oBAAC,cAAc,IACd,KAAK,EAAC,2BAA2B,EACjC,UAAU,QACV,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,GAAI,GAC7B;QACF,oBAAC,cAAc,IACd,OAAO,EAAE,KAAK,EACd,eAAe,EACd,OAAO,CAAC,IAAI,CAAC,MAAM;gBAClB,CAAC,CAAC;oBACA,OAAO,EAAE,CAAC,oBAAC,UAAU,IAAC,GAAG,EAAC,MAAM,GAAG,CAAC;iBACnC;gBACH,CAAC,CAAC,SAAS,EAEb,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAC5C,YAAY,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAChD,aAAa,EAAE,EAAE,WAAW,EAAE,yBAAyB,EAAE,EACzD,QAAQ,EAAE,GAAG,EAAE,CAAC,CACf,6BAAK,SAAS,EAAC,sBAAsB;gBACnC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC5B,oBAAC,MAAM,IACN,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,UAAU,CAAC,IAAI,EAAE;wBAC3B,MAAM,EAAE,YAAY,KAAK,IAAI;qBAC7B,CAAC,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC;oBAEjC,IAAI;oBACJ,IAAI,KAAK,KAAK,IAAI,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationListHeader/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,OAA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|
import React from "react";
|
|
2
2
|
declare const Send: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
7
|
-
className?: string
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
|
+
className?: string;
|
|
8
8
|
}) => React.JSX.Element;
|
|
9
9
|
export default Send;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const MyPinned: (props: {
|
|
3
|
-
active?: string
|
|
3
|
+
active?: string;
|
|
4
4
|
/** Call back when an item has been clicked on the list. */
|
|
5
|
-
onClickItem?: (
|
|
5
|
+
onClickItem?: (id: string) => void;
|
|
6
6
|
}) => React.JSX.Element;
|
|
7
7
|
export default MyPinned;
|
|
@@ -4,8 +4,8 @@ import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
|
|
4
4
|
declare const PinnedCardList: (props: {
|
|
5
5
|
list: IDocument[];
|
|
6
6
|
title: string;
|
|
7
|
-
icon?: IconProp
|
|
8
|
-
onItemClick?: (
|
|
9
|
-
className?: string
|
|
7
|
+
icon?: IconProp;
|
|
8
|
+
onItemClick?: (id: string) => void;
|
|
9
|
+
className?: string;
|
|
10
10
|
}) => React.JSX.Element;
|
|
11
11
|
export default PinnedCardList;
|
|
@@ -2,9 +2,9 @@ import React from "react";
|
|
|
2
2
|
/** taskList 新增 下列更多菜单*/
|
|
3
3
|
declare const AddTaskDropdown: (props: {
|
|
4
4
|
id: string;
|
|
5
|
-
className?: string
|
|
6
|
-
iconColor?: string
|
|
7
|
-
onCancelClick?: (
|
|
8
|
-
onItemClick?: (
|
|
5
|
+
className?: string;
|
|
6
|
+
iconColor?: string;
|
|
7
|
+
onCancelClick?: () => void;
|
|
8
|
+
onItemClick?: (type: string) => void;
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default AddTaskDropdown;
|
|
@@ -5,7 +5,7 @@ declare const DelegateDialog: (props: {
|
|
|
5
5
|
name: string;
|
|
6
6
|
id: string;
|
|
7
7
|
}[];
|
|
8
|
-
onCancel?: (
|
|
9
|
-
onSubmit?: (
|
|
8
|
+
onCancel?: () => void;
|
|
9
|
+
onSubmit?: () => void;
|
|
10
10
|
}) => React.JSX.Element;
|
|
11
11
|
export default DelegateDialog;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import "./index.less";
|
|
3
3
|
declare const NewTaskForm: (props: {
|
|
4
|
-
parentId?: string
|
|
5
|
-
simple?: boolean
|
|
6
|
-
className?: string
|
|
7
|
-
block?: boolean
|
|
8
|
-
showView?: boolean
|
|
4
|
+
parentId?: string;
|
|
5
|
+
simple?: boolean;
|
|
6
|
+
className?: string;
|
|
7
|
+
block?: boolean;
|
|
8
|
+
showView?: boolean;
|
|
9
9
|
/** New Task (For Self) */
|
|
10
|
-
self?: boolean
|
|
10
|
+
self?: boolean;
|
|
11
11
|
/** Description 默认值 */
|
|
12
|
-
description?: string
|
|
13
|
-
onSave?: (
|
|
14
|
-
onSubmitSave?: (
|
|
15
|
-
onCancel?: (
|
|
16
|
-
onShowMore?: (
|
|
12
|
+
description?: string;
|
|
13
|
+
onSave?: (params?: any) => void;
|
|
14
|
+
onSubmitSave?: (params?: any) => void;
|
|
15
|
+
onCancel?: () => void;
|
|
16
|
+
onShowMore?: () => void;
|
|
17
17
|
}) => React.JSX.Element;
|
|
18
18
|
export default NewTaskForm;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import "./index.less";
|
|
3
3
|
declare const NotificationNewTaskForm: (props: {
|
|
4
|
-
parentId?: string
|
|
5
|
-
className?: string
|
|
6
|
-
showView?: boolean
|
|
4
|
+
parentId?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
showView?: boolean;
|
|
7
7
|
/** New Task (For Self) */
|
|
8
|
-
self?: boolean
|
|
8
|
+
self?: boolean;
|
|
9
9
|
/** title 默认值 */
|
|
10
|
-
title?: string
|
|
10
|
+
title?: string;
|
|
11
11
|
/** Description 默认值 */
|
|
12
|
-
description?: string
|
|
13
|
-
onSave?: (
|
|
14
|
-
onSubmitSave?: (
|
|
15
|
-
onCancel?: (
|
|
12
|
+
description?: string;
|
|
13
|
+
onSave?: (params?: any) => void;
|
|
14
|
+
onSubmitSave?: (params?: any) => void;
|
|
15
|
+
onCancel?: () => void;
|
|
16
16
|
}) => React.JSX.Element;
|
|
17
17
|
export default NotificationNewTaskForm;
|
|
@@ -3,7 +3,7 @@ import "./index.less";
|
|
|
3
3
|
declare const TaskCheckItem: (props: {
|
|
4
4
|
id: string;
|
|
5
5
|
/** 是否显示dueDate */
|
|
6
|
-
dueDate?: boolean
|
|
7
|
-
onChangeDueDate?: (
|
|
6
|
+
dueDate?: boolean;
|
|
7
|
+
onChangeDueDate?: (dueDate?: Date) => void;
|
|
8
8
|
}) => React.JSX.Element;
|
|
9
9
|
export default TaskCheckItem;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import "./index.less";
|
|
3
3
|
declare const TaskCheckNewForm: (props: {
|
|
4
|
-
parentId?: string
|
|
5
|
-
className?: string
|
|
6
|
-
onSave?: (
|
|
7
|
-
onCancel?: (
|
|
4
|
+
parentId?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
onSave?: (params?: any) => void;
|
|
7
|
+
onCancel?: () => void;
|
|
8
8
|
}) => React.JSX.Element;
|
|
9
9
|
export default TaskCheckNewForm;
|
|
@@ -4,7 +4,7 @@ import { TaskStatus } from "@voplus/morpho-document-core";
|
|
|
4
4
|
declare const TaskStatusLabel: (props: {
|
|
5
5
|
status: string;
|
|
6
6
|
editable: boolean;
|
|
7
|
-
className?: string
|
|
7
|
+
className?: string;
|
|
8
8
|
onChange: (status: TaskStatus) => void;
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default TaskStatusLabel;
|
|
@@ -5,8 +5,8 @@ declare const NewWorkErrorDialog: (props: {
|
|
|
5
5
|
/** work type id */
|
|
6
6
|
workTypeId: string;
|
|
7
7
|
/** 額外css class. */
|
|
8
|
-
className?: string
|
|
9
|
-
onSubmitSave?: (
|
|
10
|
-
onCancel?: (
|
|
8
|
+
className?: string;
|
|
9
|
+
onSubmitSave?: (params?: any) => void;
|
|
10
|
+
onCancel?: () => void;
|
|
11
11
|
}) => React.JSX.Element;
|
|
12
12
|
export default NewWorkErrorDialog;
|
|
@@ -2,22 +2,22 @@ import React from "react";
|
|
|
2
2
|
declare const NewWorkForm: {
|
|
3
3
|
(props: {
|
|
4
4
|
/** 添加 RelatedWork 时需要传入 RelatedId = workId */
|
|
5
|
-
workId?: string
|
|
5
|
+
workId?: string;
|
|
6
6
|
/** 用于预选的 contact */
|
|
7
7
|
contact?: {
|
|
8
8
|
name: string;
|
|
9
9
|
id: string;
|
|
10
|
-
}
|
|
10
|
+
};
|
|
11
11
|
/** 額外css class. */
|
|
12
|
-
className?: string
|
|
12
|
+
className?: string;
|
|
13
13
|
/** NewWorkForm 打开的方式 */
|
|
14
|
-
openMode?: "openAside" | "openBottom"
|
|
14
|
+
openMode?: "openAside" | "openBottom";
|
|
15
15
|
/** save后显示PropertiesView, cancel关闭右边new work */
|
|
16
|
-
showView?: boolean
|
|
16
|
+
showView?: boolean;
|
|
17
17
|
/** 是否为添加 RelatedWork */
|
|
18
|
-
isRelatedWork?: boolean
|
|
19
|
-
onSave?: (
|
|
20
|
-
onCancel?: (
|
|
18
|
+
isRelatedWork?: boolean;
|
|
19
|
+
onSave?: (params?: any) => void;
|
|
20
|
+
onCancel?: () => void;
|
|
21
21
|
}): React.JSX.Element;
|
|
22
22
|
defaultProps: {
|
|
23
23
|
openMode: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const RejectWorkDialog: (props: {
|
|
3
|
-
parentId?: string
|
|
4
|
-
className?: string
|
|
5
|
-
onSubmitSave?: (
|
|
6
|
-
onCancel?: (
|
|
3
|
+
parentId?: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
onSubmitSave?: (params?: any) => void;
|
|
6
|
+
onCancel?: () => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default RejectWorkDialog;
|
|
@@ -2,6 +2,6 @@ import React from "react";
|
|
|
2
2
|
declare const WorkCashReport: (props: {
|
|
3
3
|
id: string;
|
|
4
4
|
workspaceId: string;
|
|
5
|
-
onFilterOutPut?: (
|
|
5
|
+
onFilterOutPut?: (filterStatus: string[]) => void;
|
|
6
6
|
}) => React.JSX.Element;
|
|
7
7
|
export default WorkCashReport;
|
|
@@ -3,9 +3,9 @@ import React from "react";
|
|
|
3
3
|
declare const WorkErrorList: {
|
|
4
4
|
(props: {
|
|
5
5
|
id: string;
|
|
6
|
-
viewTitle?: string
|
|
7
|
-
asideable?: boolean
|
|
8
|
-
onClickItem?: (
|
|
6
|
+
viewTitle?: string;
|
|
7
|
+
asideable?: boolean;
|
|
8
|
+
onClickItem?: (workErrorId: string, workTypeId?: string) => void;
|
|
9
9
|
}): React.JSX.Element;
|
|
10
10
|
defaultProps: {
|
|
11
11
|
viewTitle: string;
|
|
@@ -14,7 +14,7 @@ import dayjs from "dayjs";
|
|
|
14
14
|
import S from "string";
|
|
15
15
|
import "./index.less";
|
|
16
16
|
const WorkList = (props) => {
|
|
17
|
-
const { dueDate, typesId, roles, status, statusArr, workspaceId, workId, contactId, contact, addAble,
|
|
17
|
+
const { dueDate, typesId, roles, status, statusArr, workspaceId, workId, contactId, contact, addAble, viewTitle, total, } = props;
|
|
18
18
|
const [activeId, setActiveId] = useState("");
|
|
19
19
|
const [workTotal, setWorkTotal] = useState(0);
|
|
20
20
|
const documentStore = useDocumentStore();
|
|
@@ -74,7 +74,7 @@ const WorkList = (props) => {
|
|
|
74
74
|
selectedFilterKey: ["WorkTypes"],
|
|
75
75
|
addAble: addAble || (dueDate === "requested" ? true : false),
|
|
76
76
|
...listViewHeaderProps,
|
|
77
|
-
},
|
|
77
|
+
}, className: "work-list", moveAfter: moveAfter, formViewTitle: "Add Work", formView: React.createElement(NewWorkForm, { contact: contact, showView: true }), renderItem: ({ item, connectDragSource }) => (React.createElement(DocumentItemFrame, { key: item.id, frameProps: { active: activeId === item.id }, onClick: () => {
|
|
78
78
|
var _a;
|
|
79
79
|
setActiveId(item.id);
|
|
80
80
|
(_a = props.onClickItem) === null || _a === void 0 ? void 0 : _a.call(props, item);
|