@voplus/morpho-workspace 4.0.13 → 4.0.14
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 +10 -9
- 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} +1 -1
- 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} +1 -1
- 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} +1 -1
- 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/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
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
export declare type RelatedWorkListProps = {
|
3
3
|
id: string;
|
4
4
|
/** 是否允许新增 */
|
@@ -15,7 +15,7 @@ export declare type RelatedWorkListProps = {
|
|
15
15
|
onReload?: () => void;
|
16
16
|
};
|
17
17
|
declare const RelatedWorkList: {
|
18
|
-
(props: RelatedWorkListProps): JSX.Element;
|
18
|
+
(props: RelatedWorkListProps): React.JSX.Element;
|
19
19
|
defaultProps: {
|
20
20
|
addAble: boolean;
|
21
21
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
import { RelatedWorkListProps } from "./RelatedWorkList";
|
3
|
-
declare const RelatedWorkList: (props: RelatedWorkListProps) => JSX.Element;
|
3
|
+
declare const RelatedWorkList: (props: RelatedWorkListProps) => React.JSX.Element;
|
4
4
|
export default RelatedWorkList;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { DocumentCardProps } from "@voplus/morpho-document-core";
|
2
|
+
import React from "react";
|
3
3
|
import "./index.less";
|
4
|
-
declare const WorkCard: (props: DocumentCardProps) => JSX.Element;
|
4
|
+
declare const WorkCard: (props: DocumentCardProps) => React.JSX.Element;
|
5
5
|
export default WorkCard;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
/** A work error list view shows work error in card style. */
|
3
3
|
declare const WorkErrorList: {
|
4
4
|
(props: {
|
@@ -6,7 +6,7 @@ declare const WorkErrorList: {
|
|
6
6
|
viewTitle?: string | undefined;
|
7
7
|
asideable?: boolean | undefined;
|
8
8
|
onClickItem?: ((workErrorId: string, workTypeId?: string) => void) | undefined;
|
9
|
-
}): JSX.Element;
|
9
|
+
}): React.JSX.Element;
|
10
10
|
defaultProps: {
|
11
11
|
viewTitle: string;
|
12
12
|
asideable: boolean;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
export declare type WorkErrorPropertiesName = "Type" | "Severity" | "Incident Date" | "Causers";
|
3
3
|
declare const WorkErrorProperties: {
|
4
4
|
(props: {
|
@@ -17,7 +17,7 @@ declare const WorkErrorProperties: {
|
|
17
17
|
name: "Tags" | "Create Date" | "Create By" | "Folder";
|
18
18
|
visible?: boolean;
|
19
19
|
}[];
|
20
|
-
}): JSX.Element;
|
20
|
+
}): React.JSX.Element;
|
21
21
|
defaultProps: {
|
22
22
|
workErrorTitle: string;
|
23
23
|
documentTitle: string;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
declare const WorkErrorPropertiesView: (props: {
|
3
3
|
/** work error id */
|
4
4
|
id: string;
|
5
5
|
/** work type id */
|
6
6
|
workTypeId?: string;
|
7
|
-
}) => JSX.Element;
|
7
|
+
}) => React.JSX.Element;
|
8
8
|
export default WorkErrorPropertiesView;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import "./index.less";
|
2
|
+
import React from "react";
|
3
3
|
declare const WorkErrorQuickViewDialog: {
|
4
4
|
(props: {
|
5
5
|
/** work error id */
|
@@ -10,7 +10,7 @@ declare const WorkErrorQuickViewDialog: {
|
|
10
10
|
onCancel?: () => void;
|
11
11
|
/** show close button or not. */
|
12
12
|
closeVisible?: boolean;
|
13
|
-
}): JSX.Element;
|
13
|
+
}): React.JSX.Element;
|
14
14
|
defaultProps: {
|
15
15
|
closeVisible: boolean;
|
16
16
|
};
|
@@ -1,11 +1,11 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
export declare type WorkItemProps = {
|
3
3
|
id: string;
|
4
4
|
reload?: boolean;
|
5
5
|
clickNameEffect?: "nothing" | "edit" | "default";
|
6
6
|
};
|
7
7
|
declare const WorkItem: {
|
8
|
-
(props: WorkItemProps): JSX.Element;
|
8
|
+
(props: WorkItemProps): React.JSX.Element;
|
9
9
|
defaultProps: {
|
10
10
|
clickNameEffect: string;
|
11
11
|
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import "./index.less";
|
3
2
|
import { IWork } from "../../../../data/work";
|
3
|
+
import React from "react";
|
4
4
|
export declare type WorkListProps = {
|
5
5
|
/** status of works shown on the list. */
|
6
6
|
status?: string;
|
@@ -32,7 +32,7 @@ export declare type WorkListProps = {
|
|
32
32
|
onTotal?: (total: number) => void;
|
33
33
|
};
|
34
34
|
declare const WorkList: {
|
35
|
-
(props: WorkListProps): JSX.Element;
|
35
|
+
(props: WorkListProps): React.JSX.Element;
|
36
36
|
defaultProps: {
|
37
37
|
asideable: boolean;
|
38
38
|
};
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import "./index.less";
|
2
|
+
import React from "react";
|
3
3
|
import { WorkTaskListProps } from "./state";
|
4
|
-
declare const WorkTaskList: (props: WorkTaskListProps) => JSX.Element;
|
4
|
+
declare const WorkTaskList: (props: WorkTaskListProps) => React.JSX.Element;
|
5
5
|
export default WorkTaskList;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
export declare type WorkPropertiesName = "Work Type" | "Number" | "Status" | "Contact" | "Document" | "Due" | "Owner";
|
3
3
|
declare const WorksProperties: {
|
4
4
|
(props: {
|
@@ -14,7 +14,7 @@ declare const WorksProperties: {
|
|
14
14
|
name: "Tags" | "Create Date" | "Create By" | "Folder";
|
15
15
|
visible?: boolean;
|
16
16
|
}[];
|
17
|
-
}): JSX.Element;
|
17
|
+
}): React.JSX.Element;
|
18
18
|
defaultProps: {
|
19
19
|
workTitle: string;
|
20
20
|
documentTitle: string;
|
@@ -9,7 +9,7 @@ declare const SeveritySelect: {
|
|
9
9
|
onChange?: ((severity: string) => void) | undefined;
|
10
10
|
onBlur?: (() => void) | undefined;
|
11
11
|
style?: React.CSSProperties | undefined;
|
12
|
-
}): JSX.Element;
|
12
|
+
}): React.JSX.Element;
|
13
13
|
defaultProps: {
|
14
14
|
style: {
|
15
15
|
width: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
declare const WorkDataIconBar: {
|
3
3
|
(props: {
|
4
4
|
id: string;
|
@@ -6,7 +6,7 @@ declare const WorkDataIconBar: {
|
|
6
6
|
documentDateVisible?: boolean;
|
7
7
|
commentVisible?: boolean;
|
8
8
|
statusVisible?: boolean;
|
9
|
-
}): JSX.Element;
|
9
|
+
}): React.JSX.Element;
|
10
10
|
defaultProps: {
|
11
11
|
documentDateVisible: boolean;
|
12
12
|
commentVisible: boolean;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
declare const WorkErrorMenu: {
|
3
3
|
(props: {
|
4
4
|
id: string;
|
@@ -6,7 +6,7 @@ declare const WorkErrorMenu: {
|
|
6
6
|
/** Delete Menu Item 删除后是否关闭Aside */
|
7
7
|
closeAside?: boolean;
|
8
8
|
size: "small" | "middle" | "large" | undefined;
|
9
|
-
}): JSX.Element;
|
9
|
+
}): React.JSX.Element;
|
10
10
|
defaultProps: {
|
11
11
|
size: string;
|
12
12
|
};
|
@@ -10,7 +10,7 @@ declare const WorkErrorSelect: {
|
|
10
10
|
onChange?: ((val: string) => void) | undefined;
|
11
11
|
onBlur?: (() => void) | undefined;
|
12
12
|
style?: React.CSSProperties | undefined;
|
13
|
-
}): JSX.Element;
|
13
|
+
}): React.JSX.Element;
|
14
14
|
defaultProps: {
|
15
15
|
style: {
|
16
16
|
width: string;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
declare const WorkMenu: (props: {
|
3
3
|
id: string;
|
4
4
|
className?: string | undefined;
|
5
5
|
closeAside?: boolean | undefined;
|
6
6
|
onClickItem?: ((open?: boolean) => void) | undefined;
|
7
|
-
}) => JSX.Element;
|
7
|
+
}) => React.JSX.Element;
|
8
8
|
export default WorkMenu;
|
@@ -1,23 +1,24 @@
|
|
1
1
|
import React, { useMemo } from "react";
|
2
|
-
import { Access, Delete, Lock, Move, Notifications, OpenReferenceView,
|
2
|
+
import { Access, Delete, Lock, Move, Notifications, OpenReferenceView, Publish, PublishLock, Unlock, Pin, Unpin, CopyReference, } from "@voplus/morpho-document/es/controls/DocumentMenu/items";
|
3
3
|
import { DocumentMenuContext, DocumentMenuState } from "@voplus/morpho-document-core";
|
4
|
-
import {
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import Send from "./Send";
|
4
|
+
import { Accept, Reject, Send } from "./item";
|
5
|
+
import { observe, MenuTitle } from "@voplus/morpho-ui";
|
6
|
+
import SubPasteMenu from "@voplus/morpho-document/es/controls/SubPasteMenu";
|
8
7
|
import classnames from "classnames";
|
9
8
|
const WorkMenu = (props) => {
|
10
9
|
const context = useMemo(() => new DocumentMenuState(props.id), [props.id]);
|
11
10
|
return observe(() => (React.createElement("div", { className: classnames("document-menu", props.className) },
|
12
11
|
React.createElement(DocumentMenuContext.Provider, { value: context },
|
12
|
+
React.createElement(MenuTitle, { title: "Work Menu" }),
|
13
|
+
React.createElement(Accept, null),
|
14
|
+
React.createElement(Reject, null),
|
15
|
+
React.createElement(Send, { onClickItem: props.onClickItem }),
|
16
|
+
React.createElement(MenuTitle, { title: "Document Menu" }),
|
13
17
|
React.createElement(Pin, null),
|
14
18
|
React.createElement(CopyReference, null),
|
15
19
|
React.createElement(Unpin, null),
|
16
|
-
React.createElement(Send, { onClickItem: props.onClickItem }),
|
17
|
-
React.createElement(Accept, null),
|
18
|
-
React.createElement(Reject, null),
|
19
20
|
React.createElement(Move, null),
|
20
|
-
React.createElement(
|
21
|
+
React.createElement(SubPasteMenu, null),
|
21
22
|
React.createElement(Lock, null),
|
22
23
|
React.createElement(Unlock, null),
|
23
24
|
React.createElement(Publish, null),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/controls/WorkMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EACN,MAAM,EACN,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,aAAa,EACb,iBAAiB,EACjB,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/controls/WorkMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EACN,MAAM,EACN,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,aAAa,EACb,iBAAiB,EACjB,OAAO,EACP,WAAW,EACX,MAAM,EACN,GAAG,EACH,KAAK,EACL,aAAa,GACb,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtF,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,YAAY,MAAM,kDAAkD,CAAC;AAC5E,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,MAAM,QAAQ,GAAG,CAAC,KAKjB,EAAE,EAAE;IACJ,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,iBAAiB,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;IAE3E,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,UAAU,CAAC,eAAe,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3D,oBAAC,mBAAmB,CAAC,QAAQ,IAAC,KAAK,EAAE,OAAO;YAC3C,oBAAC,SAAS,IAAC,KAAK,EAAC,WAAW,GAAG;YAC/B,oBAAC,MAAM,OAAG;YACV,oBAAC,MAAM,OAAG;YACV,oBAAC,IAAI,IAAC,WAAW,EAAE,KAAK,CAAC,WAAW,GAAI;YACxC,oBAAC,SAAS,IAAC,KAAK,EAAC,eAAe,GAAG;YACnC,oBAAC,GAAG,OAAG;YACP,oBAAC,aAAa,OAAG;YACjB,oBAAC,KAAK,OAAG;YACT,oBAAC,IAAI,OAAG;YACR,oBAAC,YAAY,OAAG;YAChB,oBAAC,IAAI,OAAG;YACR,oBAAC,MAAM,OAAG;YACV,oBAAC,OAAO,OAAG;YACX,oBAAC,WAAW,OAAG;YACf,oBAAC,MAAM,IAAC,WAAW,EAAE,KAAK,CAAC,WAAW,GAAI;YAC1C,oBAAC,aAAa,OAAG;YACjB,oBAAC,iBAAiB,OAAG;YACrB,oBAAC,MAAM,IAAC,UAAU,EAAE,KAAK,CAAC,UAAU,GAAI,CACV,CAC1B,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
declare const Accept: (props: {
|
3
3
|
/** disabled Button */
|
4
4
|
disabled?: boolean | undefined;
|
5
5
|
/** function of Click */
|
6
6
|
action?: ((context?: any) => void) | undefined;
|
7
|
-
}) => JSX.Element;
|
7
|
+
}) => React.JSX.Element;
|
8
8
|
export default Accept;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { useWork, useWorkStore } from "
|
1
|
+
import { useWork, useWorkStore } from "../../../../../data/work";
|
2
2
|
import { useDocumentMenuContext } from "@voplus/morpho-document-core";
|
3
3
|
import { Button } from "antd";
|
4
4
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Accept.js","sourceRoot":"","sources":["../../../../../../src/modules/work/controls/WorkMenu/item/Accept.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxE,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,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,MAAM,GAAG,CAAC,KAKf,EAAE,EAAE;IACJ,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAEnC,MAAM,OAAO,GAAG,sBAAsB,EAAE,CAAC;IACzC,MAAM,EAAE,IAAI,EAAE,GAAG,qBAAqB,EAAE,CAAC;IACzC,MAAM,KAAK,GAAG,YAAY,EAAE,CAAC;IAC7B,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,CAAC,EAAE,EAAE;QACpC,MAAM,EAAE,CAAC,CAAQ,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,IAAI,CAAC,CAAC,CAAC,SAAS;QAClD,QAAQ,EAAE,qBAAqB;KAC/B,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC,GAAG,EAAE;;QACnB,OAAA,QAAQ,CAAC,UAAU,IAAI,KAAK,KAAI,MAAA,QAAQ,CAAC,SAAS,0CAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA,CAAC,CAAC,CAAC,CAC7F,oBAAC,MAAM,IAAC,IAAI,EAAC,MAAM,EAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO;YACvD,oBAAC,MAAM,IAAC,IAAI,EAAE,SAAS,GAAI;YAC3B,2CAAmB,CACX,CACT,CAAC,CAAC,CAAC,IAAI,CAAA;KAAA,CACR,CAAC;IAEF,SAAS,OAAO;QACf,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IACtE,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
declare const Reject: (props: {
|
3
3
|
/** disabled Button */
|
4
4
|
disabled?: boolean | undefined;
|
5
5
|
/** function of Click */
|
6
6
|
action?: ((context?: any) => void) | undefined;
|
7
|
-
}) => JSX.Element;
|
7
|
+
}) => React.JSX.Element;
|
8
8
|
export default Reject;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { useWork, useWorkStore } from "
|
1
|
+
import { useWork, useWorkStore } from "../../../../../data/work";
|
2
2
|
import { useDocumentMenuContext } from "@voplus/morpho-document-core";
|
3
3
|
import { Button } from "antd";
|
4
4
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
@@ -0,0 +1 @@
|
|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C,CAAC,CAAC,CAC7F,oBAAC,MAAM,IAAC,IAAI,EAAC,MAAM,EAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO;YACvD,oBAAC,MAAM,IAAC,IAAI,EAAE,SAAS,GAAI;YAC3B,2CAAmB,CACX,CACT,CAAC,CAAC,CAAC,IAAI,CAAA;KAAA,CACR,CAAC;IAEF,SAAS,OAAO;QACf,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IACtE,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
declare const Send: (props: {
|
3
3
|
/** disabled Button */
|
4
4
|
disabled?: boolean | undefined;
|
5
5
|
/** function of Click */
|
6
6
|
action?: ((context?: any) => void) | undefined;
|
7
7
|
onClickItem?: ((open?: boolean) => void) | undefined;
|
8
|
-
}) => JSX.Element;
|
8
|
+
}) => React.JSX.Element;
|
9
9
|
export default Send;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
2
|
import { observe, useAsideContentContext } from "@voplus/morpho-ui";
|
3
|
-
import { useWork, useWorkStore } from "
|
3
|
+
import { useWork, useWorkStore } from "../../../../../data/work";
|
4
4
|
import { Button } from "antd";
|
5
5
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
6
6
|
import { faFileImport } from "@fortawesome/pro-light-svg-icons";
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Send.js","sourceRoot":"","sources":["../../../../../../src/modules/work/controls/WorkMenu/item/Send.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EA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I,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE;YAC/B,KAAK,EAAE,SAAS;SAChB,CAAC;aACD,IAAI,CAAC,GAAG,EAAE;YACV,UAAU,CAAC,KAAK,CAAC,CAAC;YAClB,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,UAAU,EAAE,CAAC;QAC5B,CAAC,CAAC,CAAC;IACL,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/controls/WorkMenu/item/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC"}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import "./index.less";
|
2
|
+
import React from "react";
|
3
3
|
import { WorkStatus } from "../../../../data/work";
|
4
4
|
declare const WorkStatusLabel: (props: {
|
5
5
|
status: string;
|
6
6
|
editable: boolean;
|
7
7
|
className?: string | undefined;
|
8
8
|
onChange: (status: WorkStatus) => void;
|
9
|
-
}) => JSX.Element;
|
9
|
+
}) => React.JSX.Element;
|
10
10
|
export default WorkStatusLabel;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
import { State } from "../../../workspace/pages/WorkspacePage/state";
|
3
3
|
declare const WorkListPage: (props: {
|
4
4
|
state: State;
|
5
5
|
path: string;
|
6
|
-
}) => JSX.Element;
|
6
|
+
}) => React.JSX.Element;
|
7
7
|
export default WorkListPage;
|
package/es/modules/work/work-schedule/components/NewWorkScheduleForm/NewWorkScheduleFormDialog.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { NewWorkScheduleFormProps } from "./index";
|
2
|
+
import React from "react";
|
3
3
|
declare const NewWorkScheduleFormDialog: {
|
4
|
-
(props: NewWorkScheduleFormProps): JSX.Element;
|
4
|
+
(props: NewWorkScheduleFormProps): React.JSX.Element;
|
5
5
|
defaultProps: {
|
6
6
|
openMode: string;
|
7
7
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from "react";
|
2
2
|
export declare type NewWorkScheduleFormProps = {
|
3
3
|
contact?: {
|
4
4
|
name: string;
|
@@ -10,7 +10,7 @@ export declare type NewWorkScheduleFormProps = {
|
|
10
10
|
onCancel?: () => void;
|
11
11
|
};
|
12
12
|
declare const NewWorkScheduleForm: {
|
13
|
-
(props: NewWorkScheduleFormProps): JSX.Element;
|
13
|
+
(props: NewWorkScheduleFormProps): React.JSX.Element;
|
14
14
|
defaultProps: {
|
15
15
|
openMode: string;
|
16
16
|
};
|
@@ -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;
|