@voplus/morpho-workspace 4.0.13 → 4.0.15
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/AssignPeople/index.d.ts +2 -2
- package/es/components/TeamTaskList/index.d.ts +2 -2
- package/es/components/TimeLog/index.d.ts +2 -2
- package/es/controls/AssignButton/index.d.ts +2 -2
- package/es/controls/Corner/index.d.ts +1 -1
- package/es/controls/FolderEdit/index.d.ts +2 -2
- package/es/controls/MoreOperateDropdown/index.d.ts +2 -2
- package/es/controls/StickyAddButton/index.d.ts +1 -1
- package/es/controls/filters/AssigneeViewFilter/index.d.ts +2 -2
- package/es/controls/filters/DueDateFilter/index.d.ts +2 -2
- package/es/controls/filters/EventsFilter/index.d.ts +2 -2
- package/es/controls/filters/MemberTaskDueDateFilter/index.d.ts +2 -2
- package/es/controls/filters/StartDateFilter/index.d.ts +2 -2
- package/es/controls/filters/TaskFilter/index.d.ts +2 -2
- package/es/controls/filters/TaskStatusFilter/index.d.ts +2 -2
- package/es/controls/filters/WorkStatusFilter/index.d.ts +2 -2
- package/es/controls/filters/WorkTypeStatusFilter/index.d.ts +2 -2
- package/es/controls/filters/WorkTypesFilter/index.d.ts +2 -2
- package/es/modules/board/components/Board/index.d.ts +2 -2
- package/es/modules/board/components/BoardColumn/index.d.ts +2 -2
- package/es/modules/board/components/BoardPropertiesView/index.d.ts +2 -2
- package/es/modules/board/components/DocumentCard/index.d.ts +2 -2
- package/es/modules/board/components/NewColumnDocumentForm/index.d.ts +2 -2
- package/es/modules/board/components/SubDocument/index.d.ts +2 -2
- package/es/modules/board/components/SubDocumentList/index.d.ts +2 -2
- package/es/modules/board/pages/BoardViewList/index.d.ts +2 -2
- package/es/modules/calendar/components/ActionCard/index.d.ts +2 -2
- package/es/modules/calendar/components/CalendarEventContent/index.d.ts +2 -2
- package/es/modules/calendar/components/CalendarMenu/index.d.ts +2 -2
- package/es/modules/calendar/pages/CalendarMonth/index.d.ts +2 -2
- package/es/modules/meeting/components/AgendaList/AgendaHeader/index.d.ts +2 -2
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.d.ts +2 -2
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.d.ts +2 -2
- package/es/modules/meeting/components/AgendaList/index.d.ts +2 -2
- package/es/modules/meeting/components/MeetingDescription/index.d.ts +2 -2
- package/es/modules/meeting/components/MeetingHeader/index.d.ts +2 -2
- package/es/modules/meeting/components/MeetingItem/index.d.ts +2 -2
- package/es/modules/meeting/components/MeetingItem/index.js +1 -1
- package/es/modules/meeting/components/MeetingItem/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingList/index.d.ts +2 -2
- package/es/modules/meeting/components/MeetingProperties/index.d.ts +2 -2
- package/es/modules/meeting/components/MeetingPropertiesView/index.d.ts +2 -2
- package/es/modules/meeting/components/MeetingQuickViewDialog/index.d.ts +2 -2
- package/es/modules/meeting/components/MeetingTabs/index.d.ts +2 -2
- package/es/modules/meeting/components/MeetingTaskList/index.d.ts +2 -2
- package/es/modules/meeting/components/MeetingsFolderProperitesView/index.d.ts +2 -2
- package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.d.ts +2 -2
- package/es/modules/meeting/components/NewMeetingForm/index.d.ts +2 -2
- package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.d.ts +2 -2
- package/es/modules/meeting/pages/MeetingDefaultView/index.d.ts +2 -2
- package/es/modules/meeting/pages/MeetingListView/index.d.ts +2 -2
- package/es/modules/meeting/pages/MeetingPrintView/index.d.ts +2 -2
- package/es/modules/meeting/pages/MeetingTabView/index.d.ts +2 -2
- package/es/modules/member/pages/MemberListView/index.d.ts +2 -2
- package/es/modules/menus/components/Access/index.d.ts +2 -2
- package/es/modules/menus/components/Account/index.d.ts +2 -2
- package/es/modules/menus/components/AddUsers/index.d.ts +2 -2
- package/es/modules/menus/components/Status/index.d.ts +2 -2
- package/es/modules/menus/components/UsersList/index.d.ts +2 -2
- package/es/modules/menus/pages/ListOptions/Company/index.d.ts +2 -2
- package/es/modules/menus/pages/ListOptions/Teams/index.d.ts +2 -2
- package/es/modules/menus/pages/ListOptions/Users/index.d.ts +2 -2
- package/es/modules/menus/pages/ListOptions/index.d.ts +2 -2
- package/es/modules/notification/components/DocumentNotificationCard/index.d.ts +1 -1
- package/es/modules/notification/components/NotificationList/index.d.ts +1 -1
- package/es/modules/pin/components/MyPinned/index.d.ts +2 -2
- package/es/modules/pin/components/PinnedCardList/index.d.ts +2 -2
- package/es/modules/pin/pages/PinnedPage/index.d.ts +2 -2
- package/es/modules/project/ProjectDefaultView/index.d.ts +2 -2
- package/es/modules/space/components/Notes/ColorSelect/index.d.ts +2 -2
- package/es/modules/space/components/Notes/NewNoteDialog/index.d.ts +2 -2
- package/es/modules/space/components/Notes/TextNoteCard/index.d.ts +2 -2
- package/es/modules/space/components/Notes/index.d.ts +2 -2
- package/es/modules/space/components/Notifications/index.d.ts +2 -2
- package/es/modules/space/components/Projects/index.d.ts +2 -2
- package/es/modules/space/components/Roles/index.d.ts +2 -2
- package/es/modules/space/components/Tasks/index.d.ts +2 -2
- package/es/modules/space/components/Teams/index.d.ts +2 -2
- package/es/modules/space/components/Works/index.d.ts +2 -2
- package/es/modules/space/components/Workspaces/index.d.ts +2 -2
- package/es/modules/space/pages/MySpace/index.d.ts +2 -2
- package/es/modules/tasks/components/AddTaskDropdown/index.d.ts +2 -2
- package/es/modules/tasks/components/DelegateDialog/index.d.ts +2 -2
- package/es/modules/tasks/components/NewTaskForm/index.d.ts +2 -2
- package/es/modules/tasks/components/SubTaskList/index.d.ts +2 -2
- package/es/modules/tasks/components/TaskCard/index.d.ts +2 -2
- package/es/modules/tasks/components/TaskDescription/index.d.ts +2 -2
- package/es/modules/tasks/components/TaskEstimatedTime/index.d.ts +2 -2
- package/es/modules/tasks/components/TaskItem/ChildTaskItem.d.ts +2 -2
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.d.ts +2 -2
- package/es/modules/tasks/components/TaskItem/SubTaskItem.d.ts +2 -2
- package/es/modules/tasks/components/TaskProperties/index.d.ts +2 -2
- package/es/modules/tasks/components/TaskPropertiesView/index.d.ts +2 -2
- package/es/modules/tasks/components/TaskQuickViewDialog/index.d.ts +2 -2
- package/es/modules/tasks/components/TaskTabs/index.d.ts +2 -2
- package/es/modules/tasks/controls/ChildTasksDataIcon/index.d.ts +2 -2
- package/es/modules/tasks/controls/TaskDataIconBar/index.d.ts +2 -2
- package/es/modules/tasks/controls/TaskMenu/index.d.ts +2 -2
- package/es/modules/tasks/controls/TaskMenu/index.js +5 -4
- package/es/modules/tasks/controls/TaskMenu/index.js.map +1 -1
- package/es/modules/tasks/controls/TaskStatusDataIcon/index.d.ts +2 -2
- package/es/modules/tasks/controls/TasksProgressDataIcon/index.d.ts +2 -2
- package/es/modules/tasks/controls/TasksTotal/index.d.ts +2 -2
- package/es/modules/tasks/pages/TaskDefaultView/index.d.ts +2 -2
- package/es/modules/tasks/pages/TaskList/index.d.ts +2 -2
- package/es/modules/tasks/pages/TaskTabView/index.d.ts +2 -2
- package/es/modules/tasks/reports/MemberEstimatedDurationCard/index.d.ts +2 -2
- package/es/modules/tasks/reports/TaskAnalyticsDataIcon/index.d.ts +2 -2
- package/es/modules/tasks/reports/TaskSummaryCard/index.d.ts +2 -2
- package/es/modules/user/pages/Positions/index.d.ts +2 -2
- package/es/modules/work/components/NewWorkErrorDialog/index.d.ts +2 -2
- package/es/modules/work/components/NewWorkForm/index.d.ts +2 -2
- package/es/modules/work/components/RejectWorkDialog/index.d.ts +2 -2
- package/es/modules/work/components/RelatedWorkList/RelatedWorkList.d.ts +2 -2
- package/es/modules/work/components/RelatedWorkList/index.d.ts +2 -2
- package/es/modules/work/components/SubWorkList/index.d.ts +2 -2
- package/es/modules/work/components/WorkCard/index.d.ts +2 -2
- package/es/modules/work/components/WorkErrorItem/index.d.ts +2 -2
- package/es/modules/work/components/WorkErrorList/index.d.ts +2 -2
- package/es/modules/work/components/WorkErrorProperties/index.d.ts +2 -2
- package/es/modules/work/components/WorkErrorPropertiesView/index.d.ts +2 -2
- package/es/modules/work/components/WorkErrorQuickViewDialog/index.d.ts +2 -2
- package/es/modules/work/components/WorkItem/index.d.ts +2 -2
- package/es/modules/work/components/WorkList/index.d.ts +2 -2
- package/es/modules/work/components/WorkListCard/index.d.ts +1 -1
- package/es/modules/work/components/WorkPropertiesView/index.d.ts +2 -2
- package/es/modules/work/components/WorkQATab/index.d.ts +5 -2
- package/es/modules/work/components/WorkQuickViewDialog/index.d.ts +2 -2
- package/es/modules/work/components/WorkTabs/index.d.ts +2 -2
- package/es/modules/work/components/WorkTaskList/index.d.ts +2 -2
- package/es/modules/work/components/WorkTasksTab/index.d.ts +2 -2
- package/es/modules/work/components/WorksProperties/index.d.ts +2 -2
- package/es/modules/work/controls/SeveritySelect/index.d.ts +1 -1
- package/es/modules/work/controls/WorkDataIconBar/index.d.ts +2 -2
- package/es/modules/work/controls/WorkErrorMenu/index.d.ts +2 -2
- package/es/modules/work/controls/WorkErrorSelect/index.d.ts +1 -1
- package/es/modules/work/controls/WorkMenu/index.d.ts +2 -2
- package/es/modules/work/controls/WorkMenu/index.js +34 -23
- package/es/modules/work/controls/WorkMenu/index.js.map +1 -1
- package/es/modules/work/controls/WorkMenu/{Accept.d.ts → item/Accept.d.ts} +2 -2
- package/es/modules/work/controls/WorkMenu/{Accept.js → item/Accept.js} +3 -3
- package/es/modules/work/controls/WorkMenu/item/Accept.js.map +1 -0
- package/es/modules/work/controls/WorkMenu/{Reject.d.ts → item/Reject.d.ts} +2 -2
- package/es/modules/work/controls/WorkMenu/{Reject.js → item/Reject.js} +3 -3
- package/es/modules/work/controls/WorkMenu/item/Reject.js.map +1 -0
- package/es/modules/work/controls/WorkMenu/{Send.d.ts → item/Send.d.ts} +2 -2
- package/es/modules/work/controls/WorkMenu/{Send.js → item/Send.js} +3 -4
- package/es/modules/work/controls/WorkMenu/item/Send.js.map +1 -0
- package/es/modules/work/controls/WorkMenu/item/index.d.ts +3 -0
- package/es/modules/work/controls/WorkMenu/item/index.js +4 -0
- package/es/modules/work/controls/WorkMenu/item/index.js.map +1 -0
- package/es/modules/work/controls/WorkStatusDataIcon/index.d.ts +2 -2
- package/es/modules/work/controls/WorkStatusLabel/index.d.ts +2 -2
- package/es/modules/work/pages/WorkDefaultView/index.d.ts +2 -2
- package/es/modules/work/pages/WorkListPage/index.d.ts +2 -2
- package/es/modules/work/work-schedule/components/NewWorkScheduleForm/NewWorkScheduleFormDialog.d.ts +2 -2
- package/es/modules/work/work-schedule/components/NewWorkScheduleForm/index.d.ts +2 -2
- package/es/modules/work/work-schedule/components/WorkScheduleHeader/index.d.ts +2 -2
- package/es/modules/work/work-schedule/components/WorkScheduleItem/index.d.ts +2 -2
- package/es/modules/work/work-schedule/components/WorkScheduleList/index.d.ts +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleListCard/index.d.ts +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleProperties/index.d.ts +2 -2
- package/es/modules/work/work-schedule/components/WorkSchedulePropertiesView/index.d.ts +2 -2
- package/es/modules/work/work-schedule/components/WorkScheduleQuickViewDialog/index.d.ts +2 -2
- package/es/modules/work/work-schedule/components/WorkScheduleTabs/index.d.ts +2 -2
- package/es/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.d.ts +2 -2
- package/es/modules/work/work-schedule/controls/WorkScheduleFilter/index.d.ts +2 -2
- package/es/modules/work/work-schedule/controls/WorkScheduleMenu/index.d.ts +1 -1
- package/es/modules/work/work-schedule/pages/WorkScheduleDefaultView/index.d.ts +2 -2
- package/es/modules/work/work-type/components/ChangeWorkDefaultFolderDialog/index.d.ts +2 -2
- package/es/modules/work/work-type/components/ErrorTypeList/Item.d.ts +2 -2
- package/es/modules/work/work-type/components/ErrorTypeList/index.d.ts +2 -2
- package/es/modules/work/work-type/components/NewTypeForm/index.d.ts +2 -2
- package/es/modules/work/work-type/components/RepeatTab/index.d.ts +2 -2
- package/es/modules/work/work-type/components/WorkTypeIcon/index.d.ts +2 -2
- package/es/modules/work/work-type/components/WorkTypeIconList/index.d.ts +2 -2
- package/es/modules/work/work-type/components/WorkTypeItem/index.d.ts +2 -2
- package/es/modules/work/work-type/components/WorkTypeList/index.d.ts +2 -2
- package/es/modules/work/work-type/components/WorkTypeProperties/Properties.d.ts +2 -2
- package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.d.ts +2 -2
- package/es/modules/work/work-type/components/WorkTypeProperties/index.d.ts +2 -2
- package/es/modules/work/work-type/components/WorkTypePropertiesTabs/index.d.ts +2 -2
- package/es/modules/work/work-type/components/WorkTypePropertiesView/index.d.ts +2 -2
- package/es/modules/work/work-type/components/WorkTypeQA/index.d.ts +2 -2
- package/es/modules/work/work-type/components/WorkTypeSelect/index.d.ts +1 -1
- package/es/modules/work/work-type/components/WorkTypeStats/WorkTypeStatsCard.d.ts +1 -1
- package/es/modules/work/work-type/components/WorkTypeStats/index.d.ts +2 -2
- package/es/modules/work/work-type/components/WorkTypeTabs/WorkTypeTabsCard.d.ts +2 -2
- package/es/modules/work/work-type/components/WorkTypeTabs/index.d.ts +2 -2
- package/es/modules/work/work-type/controls/WorkTypeMenu/index.d.ts +1 -1
- package/es/modules/work/work-type/controls/WorkTypeStatusLabel/index.d.ts +2 -2
- package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.d.ts +2 -2
- package/es/modules/work/work-type/pages/WorkTypePage/Dashboard.d.ts +2 -2
- package/es/modules/work/work-type/pages/WorkTypePage/Summary.d.ts +2 -2
- package/es/modules/work/work-type/pages/WorkTypePage/WorkListPage.d.ts +2 -2
- package/es/modules/work/work-type/pages/WorkTypePage/index.d.ts +2 -2
- package/es/modules/workspace/components/MyWorkspaces/index.d.ts +2 -2
- package/es/modules/workspace/components/NewWorkspaceDialog/index.d.ts +2 -2
- package/es/modules/workspace/components/WorkspaceIcon/index.d.ts +2 -2
- package/es/modules/workspace/components/WorkspaceIconList/index.d.ts +2 -2
- package/es/modules/workspace/components/WorkspaceIconList2/index.d.ts +2 -2
- package/es/modules/workspace/components/WorkspacePropertiesView/index.d.ts +2 -2
- package/es/modules/workspace/components/WorkspaceTabs/index.d.ts +2 -2
- package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.d.ts +2 -2
- package/es/modules/workspace/controls/WorkspaceMenu/index.d.ts +2 -2
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.d.ts +2 -2
- package/es/modules/workspace/pages/WorkspacePage/index.d.ts +2 -2
- package/es/obsolete/WorkTypeDefaultView/index.d.ts +2 -2
- package/package.json +1 -1
- package/readme.md +8 -1
- package/es/modules/work/controls/WorkMenu/Accept.js.map +0 -1
- package/es/modules/work/controls/WorkMenu/Reject.js.map +0 -1
- package/es/modules/work/controls/WorkMenu/Send.js.map +0 -1
@@ -18,7 +18,7 @@ export declare type WorkScheduleListProps = {
|
|
18
18
|
onClickItem?: (item: IWorkSchedule) => void;
|
19
19
|
};
|
20
20
|
declare const WorkScheduleList: {
|
21
|
-
(props: WorkScheduleListProps): JSX.Element;
|
21
|
+
(props: WorkScheduleListProps): React.JSX.Element;
|
22
22
|
defaultProps: {
|
23
23
|
viewTitle: string;
|
24
24
|
};
|
@@ -2,5 +2,5 @@ import React from "react";
|
|
2
2
|
import { WorkScheduleListProps } from "../WorkScheduleList";
|
3
3
|
declare const WorkScheduleListCard: (props: {
|
4
4
|
style?: React.CSSProperties;
|
5
|
-
} & WorkScheduleListProps) => JSX.Element;
|
5
|
+
} & WorkScheduleListProps) => React.JSX.Element;
|
6
6
|
export default WorkScheduleListCard;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
export declare type WorkSchedulePropertiesName = "Schedule" | "WorkType" | "Work";
|
3
3
|
declare const WorkScheduleProperties: {
|
4
4
|
(props: {
|
@@ -9,7 +9,7 @@ declare const WorkScheduleProperties: {
|
|
9
9
|
name: WorkSchedulePropertiesName;
|
10
10
|
visible?: boolean;
|
11
11
|
}[];
|
12
|
-
}): JSX.Element;
|
12
|
+
}): React.JSX.Element;
|
13
13
|
defaultProps: {
|
14
14
|
workScheduleTitle: string;
|
15
15
|
workScheduleProperties: {
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
declare const WorkScheduleQuickViewDialog: (props: {
|
3
3
|
id: string;
|
4
4
|
visible?: boolean;
|
5
5
|
onCancel?: () => void;
|
6
6
|
/** show close button or not. */
|
7
7
|
closeVisible?: boolean;
|
8
|
-
}) => JSX.Element;
|
8
|
+
}) => React.JSX.Element;
|
9
9
|
export default WorkScheduleQuickViewDialog;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
declare const WorkScheduleTimeLineView: (props: {
|
3
3
|
/** filter by contactId, primary contact */
|
4
4
|
contact?: {
|
5
5
|
name: string;
|
6
6
|
id: string;
|
7
7
|
};
|
8
|
-
}) => JSX.Element;
|
8
|
+
}) => React.JSX.Element;
|
9
9
|
export default WorkScheduleTimeLineView;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const WorkScheduleDefaultView: () => JSX.Element;
|
1
|
+
import React from "react";
|
2
|
+
declare const WorkScheduleDefaultView: () => React.JSX.Element;
|
3
3
|
export default WorkScheduleDefaultView;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
declare const ChangeWorkDefaultFolderDialog: (props: {
|
3
3
|
id: string;
|
4
4
|
defaultDocument?: {
|
@@ -7,5 +7,5 @@ declare const ChangeWorkDefaultFolderDialog: (props: {
|
|
7
7
|
} | undefined;
|
8
8
|
onCancel?: (() => void) | undefined;
|
9
9
|
onSubmit?: (() => void) | undefined;
|
10
|
-
}) => JSX.Element;
|
10
|
+
}) => React.JSX.Element;
|
11
11
|
export default ChangeWorkDefaultFolderDialog;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import "./index.less";
|
3
2
|
import { ListItem } from "./state";
|
3
|
+
import React from "react";
|
4
4
|
import { ConnectDragSource } from "react-dnd";
|
5
5
|
declare const Item: (props: {
|
6
6
|
index?: number | undefined;
|
@@ -14,5 +14,5 @@ declare const Item: (props: {
|
|
14
14
|
onChange?: ((item: ListItem) => void) | undefined;
|
15
15
|
/** delete item 的call back */
|
16
16
|
onDelete?: ((item: ListItem) => void) | undefined;
|
17
|
-
}) => JSX.Element;
|
17
|
+
}) => React.JSX.Element;
|
18
18
|
export default Item;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import "./index.less";
|
3
2
|
import { ListItem } from "./state";
|
3
|
+
import React from "react";
|
4
4
|
declare const ErrorTypeList: (props: {
|
5
5
|
list: ListItem[];
|
6
6
|
/** drag sort */
|
@@ -15,5 +15,5 @@ declare const ErrorTypeList: (props: {
|
|
15
15
|
sortMode?: boolean | undefined;
|
16
16
|
/** header title */
|
17
17
|
viewTitle?: string | undefined;
|
18
|
-
}) => JSX.Element;
|
18
|
+
}) => React.JSX.Element;
|
19
19
|
export default ErrorTypeList;
|
@@ -1,10 +1,10 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import "./index.less";
|
2
|
+
import React from "react";
|
3
3
|
declare const NewTypeForm: (props: {
|
4
4
|
workspaceId: string;
|
5
5
|
className?: string | undefined;
|
6
6
|
block?: boolean | undefined;
|
7
7
|
onSave?: ((params?: any) => void) | undefined;
|
8
8
|
onCancel?: (() => void) | undefined;
|
9
|
-
}) => JSX.Element;
|
9
|
+
}) => React.JSX.Element;
|
10
10
|
export default NewTypeForm;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
import '../../../../workspace/components/WorkspaceIcon/index.less';
|
3
3
|
declare const WorkTypeIcon: (props: {
|
4
4
|
id?: string;
|
@@ -6,5 +6,5 @@ declare const WorkTypeIcon: (props: {
|
|
6
6
|
size?: "large" | "middle" | "small";
|
7
7
|
/** WorkType Card 显示选中时的样式 */
|
8
8
|
active?: boolean;
|
9
|
-
}) => JSX.Element;
|
9
|
+
}) => React.JSX.Element;
|
10
10
|
export default WorkTypeIcon;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { IWorkType } from "../../../../../data/worktype";
|
2
|
+
import React from "react";
|
3
3
|
/** A worktype list view shows worktype in card style. */
|
4
4
|
declare const WorkTypeIconList: (props: {
|
5
5
|
workspaceId: string;
|
6
6
|
/** item onclick */
|
7
7
|
onItemClick?: ((item: IWorkType) => void) | undefined;
|
8
|
-
}) => JSX.Element;
|
8
|
+
}) => React.JSX.Element;
|
9
9
|
export default WorkTypeIconList;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
import "./index.less";
|
3
3
|
declare const WorkTypeItem: (props: {
|
4
4
|
id: string;
|
5
5
|
/** WorkType Card 显示选中时的样式 */
|
6
6
|
active?: boolean;
|
7
|
-
}) => JSX.Element;
|
7
|
+
}) => React.JSX.Element;
|
8
8
|
export default WorkTypeItem;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { IWorkType } from "../../../../../data/worktype";
|
2
|
+
import React from "react";
|
3
3
|
declare const WorkTypeList: (props: {
|
4
4
|
workspaceId: string;
|
5
5
|
active?: string | undefined;
|
6
6
|
/** item onclick */
|
7
7
|
onClickItem?: ((item: IWorkType) => void) | undefined;
|
8
|
-
}) => JSX.Element;
|
8
|
+
}) => React.JSX.Element;
|
9
9
|
export default WorkTypeList;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
export declare type WorkTypePropertiesName = "Number Format" | "Status" | "Default Folder" | "Documentation" | "Default Due" | "Requester" | "Accepters" | "Default Owner" | "Auto Accept";
|
3
3
|
declare const Properties: (props: {
|
4
4
|
id: string;
|
5
5
|
propertiesName: WorkTypePropertiesName;
|
6
|
-
}) => JSX.Element;
|
6
|
+
}) => React.JSX.Element;
|
7
7
|
export default Properties;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
declare const WorkTypePropertiesCard: {
|
3
3
|
(props: {
|
4
4
|
id: string;
|
5
5
|
workTypeProperties?: string[];
|
6
|
-
}): JSX.Element;
|
6
|
+
}): React.JSX.Element;
|
7
7
|
defaultProps: {
|
8
8
|
workTypeProperties: string[];
|
9
9
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
import { WorkTypeStatus } from "../../../../../data/worktype";
|
3
3
|
import "./index.less";
|
4
4
|
declare const WorkTypeStatusLabel: (props: {
|
@@ -6,5 +6,5 @@ declare const WorkTypeStatusLabel: (props: {
|
|
6
6
|
editable: boolean;
|
7
7
|
className?: string | undefined;
|
8
8
|
onChange: (status: WorkTypeStatus) => void;
|
9
|
-
}) => JSX.Element;
|
9
|
+
}) => React.JSX.Element;
|
10
10
|
export default WorkTypeStatusLabel;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const WorkTypePage: () => JSX.Element;
|
1
|
+
import React from "react";
|
2
|
+
declare const WorkTypePage: () => React.JSX.Element;
|
3
3
|
export default WorkTypePage;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
import { IWorkspace } from "../../../../data/workspace";
|
3
3
|
import "./index.less";
|
4
4
|
declare const MyWorkspaces: (props: {
|
@@ -7,5 +7,5 @@ declare const MyWorkspaces: (props: {
|
|
7
7
|
active?: string | undefined;
|
8
8
|
/** Call back when an item has been clicked on the list. */
|
9
9
|
onClickItem?: ((item: IWorkspace) => void) | undefined;
|
10
|
-
}) => JSX.Element;
|
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
3
|
parentId?: string | undefined;
|
4
4
|
className?: string | undefined;
|
5
5
|
showView?: boolean | undefined;
|
6
6
|
onSubmitSave?: ((params?: any) => void) | undefined;
|
7
7
|
onCancel?: (() => void) | undefined;
|
8
|
-
}) => JSX.Element;
|
8
|
+
}) => React.JSX.Element;
|
9
9
|
export default NewWorkspaceDialog;
|
@@ -1,10 +1,10 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import "./index.less";
|
2
|
+
import React from "react";
|
3
3
|
declare const WorkspaceIcon: (props: {
|
4
4
|
id?: string;
|
5
5
|
index?: number;
|
6
6
|
size?: "large" | "middle" | "small";
|
7
7
|
/** Workspace Card 显示选中时的样式 */
|
8
8
|
active?: boolean;
|
9
|
-
}) => JSX.Element;
|
9
|
+
}) => React.JSX.Element;
|
10
10
|
export default WorkspaceIcon;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { IWorkspace } from "../../../../data/workspace";
|
2
|
+
import React from "react";
|
3
3
|
/** A workspace list view shows workspace in card style. */
|
4
4
|
declare const WorkspaceIconList: (props: {
|
5
5
|
/** filter roles */
|
@@ -10,5 +10,5 @@ declare const WorkspaceIconList: (props: {
|
|
10
10
|
addCard?: boolean | undefined;
|
11
11
|
/** item onclick */
|
12
12
|
onItemClick?: ((item: IWorkspace) => void) | undefined;
|
13
|
-
}) => JSX.Element;
|
13
|
+
}) => React.JSX.Element;
|
14
14
|
export default WorkspaceIconList;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { IWorkspace } from "../../../../data/workspace";
|
2
|
+
import React from "react";
|
3
3
|
/** A workspace list view shows workspace in card style.
|
4
4
|
* Worksapce I have access 显示的list,以后会删掉,以后还是用回WorkspaceCardList组件
|
5
5
|
* 因后台的filter还没好,先用笨方法filter,先做好一个能用的测试版
|
@@ -7,5 +7,5 @@ import { IWorkspace } from "../../../../data/workspace";
|
|
7
7
|
declare const WorkspaceIconList: (props: {
|
8
8
|
/** item onclick */
|
9
9
|
onItemClick?: ((item: IWorkspace) => void) | undefined;
|
10
|
-
}) => JSX.Element;
|
10
|
+
}) => React.JSX.Element;
|
11
11
|
export default WorkspaceIconList;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const WorkspacePage: () => JSX.Element;
|
1
|
+
import React from "react";
|
2
|
+
declare const WorkspacePage: () => React.JSX.Element;
|
3
3
|
export default WorkspacePage;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const WorkTypeDefaultView: () => JSX.Element;
|
1
|
+
import React from "react";
|
2
|
+
declare const WorkTypeDefaultView: () => React.JSX.Element;
|
3
3
|
export default WorkTypeDefaultView;
|
package/package.json
CHANGED
package/readme.md
CHANGED
@@ -143,4 +143,11 @@ Modify tsconfig.json
|
|
143
143
|
* tsconfig need following configuration otherwise awync await may not work
|
144
144
|
"target": "es6",
|
145
145
|
"allowSyntheticDefaultImports":false,
|
146
|
-
"esModuleInterop":false
|
146
|
+
"esModuleInterop":false
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
**MacOS build时 cpx命令需要给文件目录加上引号**
|
151
|
+
```shell
|
152
|
+
"copy-less": "cpx 'src/**/*.less' lib && cpx 'src/**/*.less' es && cpx 'src/**/*.css' es",
|
153
|
+
```
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Accept.js","sourceRoot":"","sources":["../../../../../src/modules/work/controls/WorkMenu/Accept.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAe,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAEnF,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE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