@voplus/morpho-workspace 6.0.102 → 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/meeting/components/MeetingPropertiesView/index.js +10 -10
- package/es/modules/meeting/components/MeetingPropertiesView/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js +11 -8
- package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js.map +1 -1
- 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/components/TaskPropertiesView/index.js +9 -7
- package/es/modules/tasks/components/TaskPropertiesView/index.js.map +1 -1
- 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/components/WorkPropertiesView/index.js +4 -11
- package/es/modules/work/components/WorkPropertiesView/index.js.map +1 -1
- 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
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Accept: (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 Accept;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Reject: (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 Reject;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
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;
|
|
@@ -4,7 +4,7 @@ import { WorkStatus } from "../../../../data/work";
|
|
|
4
4
|
declare const WorkStatusLabel: (props: {
|
|
5
5
|
status: string;
|
|
6
6
|
editable: boolean;
|
|
7
|
-
className?: string
|
|
7
|
+
className?: string;
|
|
8
8
|
onChange: (status: WorkStatus) => void;
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default WorkStatusLabel;
|
|
@@ -4,8 +4,8 @@ declare const ChangeWorkDefaultFolderDialog: (props: {
|
|
|
4
4
|
defaultDocument?: {
|
|
5
5
|
id: string;
|
|
6
6
|
name: string;
|
|
7
|
-
}
|
|
8
|
-
onCancel?: (
|
|
9
|
-
onSubmit?: (
|
|
7
|
+
};
|
|
8
|
+
onCancel?: () => void;
|
|
9
|
+
onSubmit?: () => void;
|
|
10
10
|
}) => React.JSX.Element;
|
|
11
11
|
export default ChangeWorkDefaultFolderDialog;
|
|
@@ -3,16 +3,16 @@ import { ListItem } from "./state";
|
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { ConnectDragSource } from "react-dnd";
|
|
5
5
|
declare const Item: (props: {
|
|
6
|
-
index?: number
|
|
6
|
+
index?: number;
|
|
7
7
|
/** item of check */
|
|
8
8
|
value: ListItem;
|
|
9
9
|
/** 现在是不是sort mode */
|
|
10
|
-
sortMode?: boolean
|
|
10
|
+
sortMode?: boolean;
|
|
11
11
|
/** DragSource of sort */
|
|
12
|
-
connectDragSource?: ConnectDragSource
|
|
12
|
+
connectDragSource?: ConnectDragSource;
|
|
13
13
|
/** edit item 的call back */
|
|
14
|
-
onChange?: (
|
|
14
|
+
onChange?: (item: ListItem) => void;
|
|
15
15
|
/** delete item 的call back */
|
|
16
|
-
onDelete?: (
|
|
16
|
+
onDelete?: (item: ListItem) => void;
|
|
17
17
|
}) => React.JSX.Element;
|
|
18
18
|
export default Item;
|
|
@@ -4,16 +4,16 @@ import React from "react";
|
|
|
4
4
|
declare const ErrorTypeList: (props: {
|
|
5
5
|
list: ListItem[];
|
|
6
6
|
/** drag sort */
|
|
7
|
-
moveAfter?: (
|
|
7
|
+
moveAfter?: (id: string | number, afterId: string | number, list?: any[]) => void;
|
|
8
8
|
/** 新增item的call back */
|
|
9
|
-
onCreate?: (
|
|
9
|
+
onCreate?: (item: string) => void;
|
|
10
10
|
/** item 內容變化的 call back */
|
|
11
|
-
onChange?: (
|
|
11
|
+
onChange?: (item: ListItem) => void;
|
|
12
12
|
/** delete item 的call back */
|
|
13
|
-
onDelete?: (
|
|
13
|
+
onDelete?: (item: ListItem) => void;
|
|
14
14
|
/** 现在是不是sort mode */
|
|
15
|
-
sortMode?: boolean
|
|
15
|
+
sortMode?: boolean;
|
|
16
16
|
/** header title */
|
|
17
|
-
viewTitle?: string
|
|
17
|
+
viewTitle?: string;
|
|
18
18
|
}) => React.JSX.Element;
|
|
19
19
|
export default ErrorTypeList;
|
|
@@ -2,9 +2,9 @@ import "./index.less";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
declare const NewTypeForm: (props: {
|
|
4
4
|
workspaceId: string;
|
|
5
|
-
className?: string
|
|
6
|
-
block?: boolean
|
|
7
|
-
onSave?: (
|
|
8
|
-
onCancel?: (
|
|
5
|
+
className?: string;
|
|
6
|
+
block?: boolean;
|
|
7
|
+
onSave?: (params?: any) => void;
|
|
8
|
+
onCancel?: () => void;
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default NewTypeForm;
|
|
@@ -4,6 +4,6 @@ import React from "react";
|
|
|
4
4
|
declare const WorkTypeIconList: (props: {
|
|
5
5
|
workspaceId: string;
|
|
6
6
|
/** item onclick */
|
|
7
|
-
onItemClick?: (
|
|
7
|
+
onItemClick?: (item: IWorkType) => void;
|
|
8
8
|
}) => React.JSX.Element;
|
|
9
9
|
export default WorkTypeIconList;
|
|
@@ -2,8 +2,8 @@ import React from "react";
|
|
|
2
2
|
import { IWorkType } from "../../../../../data/worktype";
|
|
3
3
|
declare const WorkTypeList: (props: {
|
|
4
4
|
workspaceId: string;
|
|
5
|
-
active?: string
|
|
5
|
+
active?: string;
|
|
6
6
|
/** item onclick */
|
|
7
|
-
onClickItem?: (
|
|
7
|
+
onClickItem?: (item: IWorkType) => void;
|
|
8
8
|
}) => React.JSX.Element;
|
|
9
9
|
export default WorkTypeList;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { IWorkType } from "../../../../../data/worktype";
|
|
2
2
|
import React, { CSSProperties } from "react";
|
|
3
3
|
declare const WorkTypeSelect: (props: {
|
|
4
|
-
onChange?: (
|
|
5
|
-
open?: boolean
|
|
6
|
-
autoFocus?: boolean
|
|
7
|
-
onBlur?: (
|
|
8
|
-
style?:
|
|
4
|
+
onChange?: (id: string, workType: IWorkType) => void;
|
|
5
|
+
open?: boolean;
|
|
6
|
+
autoFocus?: boolean;
|
|
7
|
+
onBlur?: () => void;
|
|
8
|
+
style?: CSSProperties;
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default WorkTypeSelect;
|
|
@@ -4,7 +4,7 @@ import "./index.less";
|
|
|
4
4
|
declare const WorkTypeStatusLabel: (props: {
|
|
5
5
|
status: string;
|
|
6
6
|
editable: boolean;
|
|
7
|
-
className?: string
|
|
7
|
+
className?: string;
|
|
8
8
|
onChange: (status: WorkTypeStatus) => void;
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default WorkTypeStatusLabel;
|
|
@@ -2,10 +2,10 @@ import React from "react";
|
|
|
2
2
|
import { IWorkspace } from "../../../../data/workspace";
|
|
3
3
|
import "./index.less";
|
|
4
4
|
declare const MyWorkspaces: (props: {
|
|
5
|
-
parentId?: string
|
|
5
|
+
parentId?: string;
|
|
6
6
|
/** The current active item */
|
|
7
|
-
active?: string
|
|
7
|
+
active?: string;
|
|
8
8
|
/** Call back when an item has been clicked on the list. */
|
|
9
|
-
onClickItem?: (
|
|
9
|
+
onClickItem?: (item: IWorkspace) => void;
|
|
10
10
|
}) => React.JSX.Element;
|
|
11
11
|
export default MyWorkspaces;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const NewWorkspaceDialog: (props: {
|
|
3
|
-
parentId?: string
|
|
4
|
-
className?: string
|
|
5
|
-
showView?: boolean
|
|
6
|
-
onSubmitSave?: (
|
|
7
|
-
onCancel?: (
|
|
3
|
+
parentId?: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
showView?: boolean;
|
|
6
|
+
onSubmitSave?: (params?: any) => void;
|
|
7
|
+
onCancel?: () => void;
|
|
8
8
|
}) => React.JSX.Element;
|
|
9
9
|
export default NewWorkspaceDialog;
|
|
@@ -3,13 +3,13 @@ import { IWorkspace } from "../../../../data/workspace";
|
|
|
3
3
|
/** A workspace list view shows workspace in card style. */
|
|
4
4
|
declare const WorkspaceIconList: (props: {
|
|
5
5
|
/** filter roles */
|
|
6
|
-
roles?: boolean
|
|
6
|
+
roles?: boolean;
|
|
7
7
|
/** filter WorkspaceStatus */
|
|
8
|
-
WorkspaceStatus?: string
|
|
8
|
+
WorkspaceStatus?: string;
|
|
9
9
|
/** 显示add card */
|
|
10
|
-
addCard?: boolean
|
|
10
|
+
addCard?: boolean;
|
|
11
11
|
/** item onclick */
|
|
12
|
-
onItemClick?: (
|
|
13
|
-
className?: string
|
|
12
|
+
onItemClick?: (item: IWorkspace) => void;
|
|
13
|
+
className?: string;
|
|
14
14
|
}) => React.JSX.Element;
|
|
15
15
|
export default WorkspaceIconList;
|
|
@@ -6,7 +6,7 @@ import { IWorkspace } from "../../../../data/workspace";
|
|
|
6
6
|
*/
|
|
7
7
|
declare const WorkspaceIconList: (props: {
|
|
8
8
|
/** item onclick */
|
|
9
|
-
onItemClick?: (
|
|
10
|
-
className?: string
|
|
9
|
+
onItemClick?: (item: IWorkspace) => void;
|
|
10
|
+
className?: string;
|
|
11
11
|
}) => React.JSX.Element;
|
|
12
12
|
export default WorkspaceIconList;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./index.less";
|
|
2
2
|
import React from "react";
|
|
3
3
|
declare const ColorSelect: (props: {
|
|
4
|
-
color?: string
|
|
5
|
-
onChange?: (
|
|
4
|
+
color?: string;
|
|
5
|
+
onChange?: (option: {
|
|
6
6
|
name: string;
|
|
7
7
|
color: string;
|
|
8
|
-
}) => void
|
|
8
|
+
}) => void;
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default ColorSelect;
|
|
@@ -4,7 +4,7 @@ import React from "react";
|
|
|
4
4
|
declare const NewNoteDialog: (props: {
|
|
5
5
|
parentId: string;
|
|
6
6
|
visible: boolean;
|
|
7
|
-
onCancel?: (
|
|
8
|
-
onOk?: (
|
|
7
|
+
onCancel?: () => void;
|
|
8
|
+
onOk?: (t: IDocument) => void;
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default NewNoteDialog;
|