@voplus/morpho-workspace 10.0.33 → 10.0.35
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.js +64 -67
- package/es/components/AutoSequenceDialog/index.js.map +1 -1
- package/es/components/AutoSequenceDialog/state.js.map +1 -1
- package/es/components/AutoSequenceLink/index.js.map +1 -1
- package/es/components/TeamTaskList/index.js +31 -32
- package/es/components/TeamTaskList/index.js.map +1 -1
- package/es/controls/InlineSearch/index.js.map +1 -1
- package/es/controls/NodeLink/index.js.map +1 -1
- package/es/controls/filters/MemberTaskDueDateFilter/state.d.ts +7 -7
- package/es/controls/filters/MemberTaskDueDateFilter/state.js +4 -3
- package/es/controls/filters/MemberTaskDueDateFilter/state.js.map +1 -1
- package/es/controls/filters/TaskStatusFilter/state.js.map +1 -1
- package/es/data/board/metas.js.map +1 -1
- package/es/data/meeting/metas.js.map +1 -1
- package/es/data/task/metas.js.map +1 -1
- package/es/data/work/metas.js.map +1 -1
- package/es/data/work-schedule/metas.js.map +1 -1
- package/es/modules/board/components/Board/index.js +10 -15
- package/es/modules/board/components/Board/index.js.map +1 -1
- package/es/modules/board/components/BoardColumn/index.js +31 -34
- package/es/modules/board/components/BoardColumn/index.js.map +1 -1
- package/es/modules/board/components/BoardTabs/index.js +5 -8
- package/es/modules/board/components/BoardTabs/index.js.map +1 -1
- package/es/modules/board/components/NewBoardColumnDialog/index.js.map +1 -1
- package/es/modules/board/components/SubDocumentList/index.d.ts +2 -1
- package/es/modules/board/pages/BoardPage/index.js.map +1 -1
- package/es/modules/calendar/pages/CalendarMonth/index.js +1 -2
- package/es/modules/calendar/pages/CalendarMonth/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaHeader/index.d.ts +3 -3
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js +1 -2
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingHeader/index.js +3 -4
- package/es/modules/meeting/components/MeetingHeader/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingItem/index.js +38 -41
- package/es/modules/meeting/components/MeetingItem/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingTabs/index.js +1 -4
- package/es/modules/meeting/components/MeetingTabs/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingTaskList/index.js +6 -9
- package/es/modules/meeting/components/MeetingTaskList/index.js.map +1 -1
- package/es/modules/meeting/components/NewMeetingForm/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingListView/index.js +4 -7
- package/es/modules/meeting/pages/MeetingListView/index.js.map +1 -1
- package/es/modules/menus/components/Access/index.d.ts +3 -3
- package/es/modules/menus/components/Account/index.d.ts +3 -3
- package/es/modules/menus/components/AddUsers/index.d.ts +1 -1
- package/es/modules/menus/components/Status/index.d.ts +3 -3
- package/es/modules/menus/components/UsersList/index.d.ts +1 -1
- package/es/modules/menus/pages/ListOptions/Config/index.d.ts +1 -1
- package/es/modules/menus/pages/ListOptions/Teams/index.d.ts +1 -1
- package/es/modules/menus/pages/ListOptions/Teams/index.js +16 -17
- package/es/modules/menus/pages/ListOptions/Teams/index.js.map +1 -1
- package/es/modules/menus/pages/ListOptions/Users/index.d.ts +1 -1
- package/es/modules/menus/pages/ListOptions/Users/index.js +4 -5
- package/es/modules/menus/pages/ListOptions/Users/index.js.map +1 -1
- package/es/modules/menus/pages/ListOptions/index.js +8 -9
- package/es/modules/menus/pages/ListOptions/index.js.map +1 -1
- package/es/modules/my-document/DocumentTableGroup/DocumentSection.js +5 -8
- package/es/modules/my-document/DocumentTableGroup/DocumentSection.js.map +1 -1
- package/es/modules/my-document/DocumentTableGroup/index.js.map +1 -1
- package/es/modules/my-document/DocumentViewContext.js.map +1 -1
- package/es/modules/my-document/SectionTemplate/DocumentTableUI/TableCell.js +11 -14
- package/es/modules/my-document/SectionTemplate/DocumentTableUI/TableCell.js.map +1 -1
- package/es/modules/my-document/SectionTemplate/DocumentTableUI/index.js +6 -7
- package/es/modules/my-document/SectionTemplate/DocumentTableUI/index.js.map +1 -1
- package/es/modules/my-document/SectionTemplate/GridUI/GridItem.js.map +1 -1
- package/es/modules/my-document/SectionTemplate/GridUI/index.js +11 -12
- package/es/modules/my-document/SectionTemplate/GridUI/index.js.map +1 -1
- package/es/modules/my-document/SectionTemplate/documentGroups.test.js.map +1 -1
- package/es/modules/notification/components/NewNotificationForm/NotificationForm.js +74 -80
- package/es/modules/notification/components/NewNotificationForm/NotificationForm.js.map +1 -1
- package/es/modules/notification/components/NotificationList/index.js +12 -13
- package/es/modules/notification/components/NotificationList/index.js.map +1 -1
- package/es/modules/notification/components/NotificationOverview/index.js +1 -5
- package/es/modules/notification/components/NotificationOverview/index.js.map +1 -1
- package/es/modules/notification/components/NotificationPanel/index.js +12 -13
- package/es/modules/notification/components/NotificationPanel/index.js.map +1 -1
- package/es/modules/notification/components/NotificationProperties/index.js +1 -2
- package/es/modules/notification/components/NotificationProperties/index.js.map +1 -1
- package/es/modules/notification/components/NotificationPropertiesView/index.js +4 -7
- package/es/modules/notification/components/NotificationPropertiesView/index.js.map +1 -1
- package/es/modules/notification/components/NotificationRecipients/index.js +9 -12
- package/es/modules/notification/components/NotificationRecipients/index.js.map +1 -1
- package/es/modules/notification/controls/NotificationStatusFilter/state.js.map +1 -1
- package/es/modules/notification/pages/NotificationListPage/index.js +23 -27
- package/es/modules/notification/pages/NotificationListPage/index.js.map +1 -1
- package/es/modules/notification/pages/NotificationListPage/state.js.map +1 -1
- package/es/modules/notification-workspace/components/DocumentNotificationCard/NotificationMobileCard.js +24 -27
- package/es/modules/notification-workspace/components/DocumentNotificationCard/NotificationMobileCard.js.map +1 -1
- package/es/modules/notification-workspace/components/DocumentNotificationCard/index.js +23 -26
- package/es/modules/notification-workspace/components/DocumentNotificationCard/index.js.map +1 -1
- package/es/modules/notification-workspace/components/DocumentNotificationCard/obsolete.js +29 -32
- package/es/modules/notification-workspace/components/DocumentNotificationCard/obsolete.js.map +1 -1
- package/es/modules/notification-workspace/components/NotificationList/index.js +20 -23
- package/es/modules/notification-workspace/components/NotificationList/index.js.map +1 -1
- package/es/modules/notification-workspace/components/NotificationList/state.js.map +1 -1
- package/es/modules/notification-workspace/components/NotificationListHeader/index.js.map +1 -1
- package/es/modules/pin/components/MyPinned/index.js.map +1 -1
- package/es/modules/pin/components/PinnedCardList/index.js.map +1 -1
- package/es/modules/project/ProjectDefaultView/index.js +8 -9
- package/es/modules/project/ProjectDefaultView/index.js.map +1 -1
- package/es/modules/tasks/components/DelegateDialog/index.js.map +1 -1
- package/es/modules/tasks/components/DndList/index.js.map +1 -1
- package/es/modules/tasks/components/NewTaskForm/NewTaskFormContent.js.map +1 -1
- package/es/modules/tasks/components/NewTaskForm/NewTaskFormDialog.js.map +1 -1
- package/es/modules/tasks/components/NewTaskForm/state.js.map +1 -1
- package/es/modules/tasks/components/NotificationNewTaskForm/index.js.map +1 -1
- package/es/modules/tasks/components/SubTaskList/index.js.map +1 -1
- package/es/modules/tasks/components/TaskCheckDoneTab/index.js +2 -3
- package/es/modules/tasks/components/TaskCheckDoneTab/index.js.map +1 -1
- package/es/modules/tasks/components/TaskCheckItem/index.js +25 -28
- package/es/modules/tasks/components/TaskCheckItem/index.js.map +1 -1
- package/es/modules/tasks/components/TaskCheckNewForm/index.js.map +1 -1
- package/es/modules/tasks/components/TaskEstimatedTime/state.d.ts +1 -1
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js +19 -22
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/state.d.ts +1 -1
- package/es/modules/tasks/components/TaskOverview/index.js +1 -5
- package/es/modules/tasks/components/TaskOverview/index.js.map +1 -1
- package/es/modules/tasks/components/TaskPanel/index.js +12 -13
- package/es/modules/tasks/components/TaskPanel/index.js.map +1 -1
- package/es/modules/tasks/components/TaskSimpleProperties/index.js +2 -3
- package/es/modules/tasks/components/TaskSimpleProperties/index.js.map +1 -1
- package/es/modules/tasks/components/TaskTabs/index.js +2 -5
- package/es/modules/tasks/components/TaskTabs/index.js.map +1 -1
- package/es/modules/tasks/components/task-check/TaskCheckDoneTab/index.js +2 -1
- package/es/modules/tasks/components/task-check/TaskCheckDoneTab/index.js.map +1 -1
- package/es/modules/tasks/components/task-check/TaskCheckNewForm/index.js.map +1 -1
- package/es/modules/tasks/components/task-check/TaskCheckTableCard/TableCell.js.map +1 -1
- package/es/modules/tasks/controls/DueDateToolBar/index.js.map +1 -1
- package/es/modules/tasks/controls/TaskMenu/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskList/index.js +14 -15
- package/es/modules/tasks/pages/TaskList/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskListPage/index.js +25 -28
- package/es/modules/tasks/pages/TaskListPage/index.js.map +1 -1
- package/es/modules/tasks/reports/TaskSummaryCard/index.js +1 -2
- package/es/modules/tasks/reports/TaskSummaryCard/index.js.map +1 -1
- package/es/modules/user/pages/Positions/index.d.ts +1 -1
- package/es/modules/work/components/NewWorkForm/index.js +34 -37
- package/es/modules/work/components/NewWorkForm/index.js.map +1 -1
- package/es/modules/work/components/WorkCashReport/index.js +1 -2
- package/es/modules/work/components/WorkCashReport/index.js.map +1 -1
- package/es/modules/work/components/WorkList/index.d.ts +8 -11
- package/es/modules/work/components/WorkList/index.js +43 -93
- package/es/modules/work/components/WorkList/index.js.map +1 -1
- package/es/modules/work/components/WorkListCard/index.d.ts +1 -1
- package/es/modules/work/components/WorkListCard/index.js +2 -2
- package/es/modules/work/components/WorkListCard/index.js.map +1 -1
- package/es/modules/work/components/WorkListHeader/index.d.ts +5 -8
- package/es/modules/work/components/WorkListHeader/index.js +15 -28
- package/es/modules/work/components/WorkListHeader/index.js.map +1 -1
- package/es/modules/work/components/WorkOverview/index.js +1 -5
- package/es/modules/work/components/WorkOverview/index.js.map +1 -1
- package/es/modules/work/components/WorkPanel/index.js +12 -13
- package/es/modules/work/components/WorkPanel/index.js.map +1 -1
- package/es/modules/work/components/WorkTableCard/TableCellDetail.d.ts +3 -3
- package/es/modules/work/components/WorkTableCard/TableCellDetail.js +2 -3
- package/es/modules/work/components/WorkTableCard/TableCellDetail.js.map +1 -1
- package/es/modules/work/components/WorkTableCard/index.js +16 -17
- package/es/modules/work/components/WorkTableCard/index.js.map +1 -1
- package/es/modules/work/components/WorkTableList/index.js +15 -16
- package/es/modules/work/components/WorkTableList/index.js.map +1 -1
- package/es/modules/work/components/WorkTableListCard/TableCell.d.ts +1 -1
- package/es/modules/work/components/WorkTableListCard/TableCellDetails.d.ts +3 -3
- package/es/modules/work/components/WorkTableListCard/index.js.map +1 -1
- package/es/modules/work/components/WorkTableListCardPage/index.js.map +1 -1
- package/es/modules/work/components/WorkTabs/index.js +1 -4
- package/es/modules/work/components/WorkTabs/index.js.map +1 -1
- package/es/modules/work/components/WorkTaskList/index.js.map +1 -1
- package/es/modules/work/components/WorksProperties/index.js +6 -12
- package/es/modules/work/components/WorksProperties/index.js.map +1 -1
- package/es/modules/work/controls/WorkDataIconBar/index.js +15 -18
- package/es/modules/work/controls/WorkDataIconBar/index.js.map +1 -1
- package/es/modules/work/controls/WorkMenu/index.js.map +1 -1
- package/es/modules/work/controls/WorkMenu/item/Accept.js +3 -6
- package/es/modules/work/controls/WorkMenu/item/Accept.js.map +1 -1
- package/es/modules/work/controls/WorkMenu/item/Reject.js +3 -6
- package/es/modules/work/controls/WorkMenu/item/Reject.js.map +1 -1
- package/es/modules/work/controls/WorkMenu/item/Send.js +5 -8
- package/es/modules/work/controls/WorkMenu/item/Send.js.map +1 -1
- package/es/modules/work/pages/WorkListPage/index.d.ts +3 -4
- package/es/modules/work/pages/WorkListPage/index.js +53 -21
- package/es/modules/work/pages/WorkListPage/index.js.map +1 -1
- package/es/modules/work/pages/WorkListPage/state.js.map +1 -0
- package/es/modules/work/work-error/components/WorkErrorList/index.js +12 -15
- package/es/modules/work/work-error/components/WorkErrorList/index.js.map +1 -1
- package/es/modules/work/work-error/components/WorkErrorPropertiesView/index.js +9 -12
- package/es/modules/work/work-error/components/WorkErrorPropertiesView/index.js.map +1 -1
- package/es/modules/work/work-error/components/WorkErrorTabs/index.js +1 -4
- package/es/modules/work/work-error/components/WorkErrorTabs/index.js.map +1 -1
- package/es/modules/work/work-error/controls/WorkErrorMenu/index.js.map +1 -1
- package/es/modules/work/work-error/controls/WorkErrorSelect/index.js +3 -6
- package/es/modules/work/work-error/controls/WorkErrorSelect/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/NewWorkScheduleForm/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleHeader/index.js +4 -7
- package/es/modules/work/work-schedule/components/WorkScheduleHeader/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js +3 -2
- package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleList/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleOverview/index.js +1 -2
- package/es/modules/work/work-schedule/components/WorkScheduleOverview/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkSchedulePanel/index.js +12 -13
- package/es/modules/work/work-schedule/components/WorkSchedulePanel/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleProperties/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkSchedulePropertiesView/index.js +4 -7
- package/es/modules/work/work-schedule/components/WorkSchedulePropertiesView/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleTabs/index.js +1 -4
- package/es/modules/work/work-schedule/components/WorkScheduleTabs/index.js.map +1 -1
- package/es/modules/work/work-schedule/controls/WorkScheduleFilter/state.js.map +1 -1
- package/es/modules/work/work-schedule/controls/WorkScheduleMenu/index.js.map +1 -1
- package/es/modules/work/work-schedule/pages/WorkScheduleDefaultView/index.js +7 -10
- package/es/modules/work/work-schedule/pages/WorkScheduleDefaultView/index.js.map +1 -1
- package/es/modules/work/work-schedule/pages/WorkScheduleListPage/index.js +22 -26
- package/es/modules/work/work-schedule/pages/WorkScheduleListPage/index.js.map +1 -1
- package/es/modules/work/work-schedule/pages/WorkScheduleListPage/state.js.map +1 -1
- package/es/modules/work/work-type/components/ErrorTypeList2/index.js +1 -4
- package/es/modules/work/work-type/components/ErrorTypeList2/index.js.map +1 -1
- package/es/modules/work/work-type/components/NewTypeForm/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeIcon/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeItem/index.js +17 -18
- package/es/modules/work/work-type/components/WorkTypeItem/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeList/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeProperties/Properties.js +2 -8
- package/es/modules/work/work-type/components/WorkTypeProperties/Properties.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js +1 -2
- package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeProperties/index.js +3 -5
- package/es/modules/work/work-type/components/WorkTypeProperties/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeProperties/state.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypePropertiesTabs/index.js +15 -18
- package/es/modules/work/work-type/components/WorkTypePropertiesTabs/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypePropertiesView/index.js +11 -14
- package/es/modules/work/work-type/components/WorkTypePropertiesView/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeQA/index.js +16 -19
- package/es/modules/work/work-type/components/WorkTypeQA/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeTabs/WorkTypeTabsCard.js +18 -22
- package/es/modules/work/work-type/components/WorkTypeTabs/WorkTypeTabsCard.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeTabs/index.js +18 -21
- package/es/modules/work/work-type/components/WorkTypeTabs/index.js.map +1 -1
- package/es/modules/work/work-type/pages/WorkTypePage/index.js +52 -53
- package/es/modules/work/work-type/pages/WorkTypePage/index.js.map +1 -1
- package/es/modules/workspace/components/CreatedOrDisabledWorkspacesList/index.js.map +1 -1
- package/es/modules/workspace/components/NewWorkspaceDialog/index.js.map +1 -1
- package/es/modules/workspace/components/SharedWorkspacesList/index.js +5 -4
- package/es/modules/workspace/components/SharedWorkspacesList/index.js.map +1 -1
- package/es/modules/workspace/components/WorkspaceIcon/index.js +3 -6
- package/es/modules/workspace/components/WorkspaceIcon/index.js.map +1 -1
- package/es/modules/workspace/components/WorkspacePropertiesView/index.js +19 -22
- package/es/modules/workspace/components/WorkspacePropertiesView/index.js.map +1 -1
- package/es/modules/workspace/components/WorkspaceTabs/index.js +22 -15
- package/es/modules/workspace/components/WorkspaceTabs/index.js.map +1 -1
- package/es/modules/workspace/pages/WorkspacePage/SettingPage.js +30 -33
- package/es/modules/workspace/pages/WorkspacePage/SettingPage.js.map +1 -1
- package/es/modules/workspace/pages/WorkspacePage/index.js +62 -66
- package/es/modules/workspace/pages/WorkspacePage/index.js.map +1 -1
- package/es/obsolete/WorkQATab/index.js +5 -8
- package/es/obsolete/WorkQATab/index.js.map +1 -1
- package/es/obsolete/WorkTypePage/WorkListPage.js +1 -1
- package/es/obsolete/WorkTypePage/WorkListPage.js.map +1 -1
- package/es/obsolete/WorkTypePage/index.js +96 -98
- package/es/obsolete/WorkTypePage/index.js.map +1 -1
- package/es/obsolete/WorkTypeQA/index.js +16 -19
- package/es/obsolete/WorkTypeQA/index.js.map +1 -1
- package/es/obsolete/member/components/MemberDropdown.d.ts +3 -3
- package/es/obsolete/member/components/MemberList.d.ts +3 -3
- package/es/obsolete/member/components/MemberMenu.d.ts +3 -3
- package/es/obsolete/member/components/MemberSelect.d.ts +3 -3
- package/es/obsolete/space/components/Tasks/index.js +23 -24
- package/es/obsolete/space/components/Tasks/index.js.map +1 -1
- package/es/obsolete/space/components/Works/index.js +3 -1
- package/es/obsolete/space/components/Works/index.js.map +1 -1
- package/es/obsolete/space/pages/MySpace/index.js +175 -176
- package/es/obsolete/space/pages/MySpace/index.js.map +1 -1
- package/package.json +1 -1
- package/es/modules/work/components/SubWorkList/index.css +0 -5
- package/es/modules/work/components/SubWorkList/index.d.ts +0 -6
- package/es/modules/work/components/SubWorkList/index.js +0 -50
- package/es/modules/work/components/SubWorkList/index.js.map +0 -1
- package/es/modules/work/components/WorkList/index.css +0 -4
- package/es/modules/work/components/WorkList2/index.css +0 -67
- package/es/modules/work/components/WorkList2/index.d.ts +0 -44
- package/es/modules/work/components/WorkList2/index.js +0 -245
- package/es/modules/work/components/WorkList2/index.js.map +0 -1
- package/es/modules/work/pages/WorkListPage2/index.css +0 -12
- package/es/modules/work/pages/WorkListPage2/index.d.ts +0 -7
- package/es/modules/work/pages/WorkListPage2/index.js +0 -62
- package/es/modules/work/pages/WorkListPage2/index.js.map +0 -1
- package/es/modules/work/pages/WorkListPage2/state.js.map +0 -1
- package/es/modules/work/work-type/pages/WorkTypePage/WorkListPage.d.ts +0 -7
- package/es/modules/work/work-type/pages/WorkTypePage/WorkListPage.js +0 -25
- package/es/modules/work/work-type/pages/WorkTypePage/WorkListPage.js.map +0 -1
- /package/es/modules/work/pages/{WorkListPage2 → WorkListPage}/state.d.ts +0 -0
- /package/es/modules/work/pages/{WorkListPage2 → WorkListPage}/state.js +0 -0
|
@@ -57,182 +57,181 @@ const MySpace = () => {
|
|
|
57
57
|
useTaskListEffect(null, taskState.dueEffect, taskState.dueFilter);
|
|
58
58
|
return observe(() => (React.createElement(MainContent, { className: "my-space-view" },
|
|
59
59
|
React.createElement(MainContent.Nav, { collapsible: true },
|
|
60
|
-
React.createElement(Scrollbars, { autoHide: true },
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
] }))),
|
|
60
|
+
React.createElement(Scrollbars, { autoHide: true }, React.createElement(Menu, { mode: "inline", className: "voplus-antd-menu", defaultSelectedKeys: ["/notifications/unread"], selectedKeys: state.menuKey, defaultOpenKeys: ["Notifications"], onClick: (key) => state.navigate(key.key), items: [
|
|
61
|
+
{
|
|
62
|
+
key: "/pinned",
|
|
63
|
+
label: "Pinned",
|
|
64
|
+
icon: React.createElement(FAIcon, { icon: faThumbtackRegular }),
|
|
65
|
+
className: classId + "-pinned",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
key: "/documents",
|
|
69
|
+
label: "My Documents",
|
|
70
|
+
icon: React.createElement(FAIcon, { icon: faFolderMinusRegular }),
|
|
71
|
+
className: classId + "-documents",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
key: "/workspace",
|
|
75
|
+
label: "My Workspaces",
|
|
76
|
+
icon: React.createElement(FAIcon, { icon: faBriefcaseRegular }),
|
|
77
|
+
className: classId + "-workspace",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
key: "/roles",
|
|
81
|
+
label: "My Roles",
|
|
82
|
+
icon: React.createElement(FAIcon, { icon: faUserTieRegular }),
|
|
83
|
+
className: classId + "-roles",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
key: "/teams",
|
|
87
|
+
label: "My Teams",
|
|
88
|
+
icon: React.createElement(FAIcon, { icon: faUsersRegular }),
|
|
89
|
+
className: classId + "-teams",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
key: "Notifications",
|
|
93
|
+
label: "My Notifications",
|
|
94
|
+
icon: React.createElement(FAIcon, { icon: faBellRegular }),
|
|
95
|
+
className: classId + "-notifications",
|
|
96
|
+
children: [
|
|
97
|
+
{
|
|
98
|
+
key: "/notifications/unread",
|
|
99
|
+
label: (React.createElement(React.Fragment, null,
|
|
100
|
+
"Unread",
|
|
101
|
+
React.createElement(Badge, { overflowCount: 9999, count: state.notificationTotals.unread }))),
|
|
102
|
+
className: classId + "-notifications-unread",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
key: "/notifications/read",
|
|
106
|
+
label: (React.createElement(React.Fragment, null,
|
|
107
|
+
"Read",
|
|
108
|
+
React.createElement(Badge, { overflowCount: 9999, count: state.notificationTotals.read }))),
|
|
109
|
+
className: classId + "-notifications-read",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
key: "/notifications/later",
|
|
113
|
+
label: (React.createElement(React.Fragment, null,
|
|
114
|
+
"Later",
|
|
115
|
+
React.createElement(Badge, { overflowCount: 9999, count: state.notificationTotals.later }))),
|
|
116
|
+
className: classId + "-notifications-later",
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
key: "/notifications/dismissed",
|
|
120
|
+
label: (React.createElement(React.Fragment, null,
|
|
121
|
+
"Dismissed",
|
|
122
|
+
React.createElement(Badge, { count: state.notificationTotals.dismissed }))),
|
|
123
|
+
className: classId + "-notifications-dismissed",
|
|
124
|
+
},
|
|
125
|
+
],
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
key: "Notes",
|
|
129
|
+
label: "My Notes",
|
|
130
|
+
icon: React.createElement(FAIcon, { icon: faEditRegular }),
|
|
131
|
+
disabled: true,
|
|
132
|
+
className: classId + "-notes",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
key: "Projects",
|
|
136
|
+
label: "My Projects",
|
|
137
|
+
icon: React.createElement(FAIcon, { icon: faWindowRestoreRegular }),
|
|
138
|
+
disabled: true,
|
|
139
|
+
className: classId + "-projects",
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
key: "Tasks",
|
|
143
|
+
label: "My Tasks",
|
|
144
|
+
icon: React.createElement(FAIcon, { icon: faTasksRegular }),
|
|
145
|
+
className: classId + "-tasks",
|
|
146
|
+
children: [
|
|
147
|
+
{
|
|
148
|
+
key: "/task/created",
|
|
149
|
+
label: (React.createElement(React.Fragment, null,
|
|
150
|
+
"Created by me",
|
|
151
|
+
React.createElement(Badge, { overflowCount: 9999, count: state.taskTotals.created }))),
|
|
152
|
+
className: classId + "-tasks-created",
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
key: "/task/today",
|
|
156
|
+
label: (React.createElement(React.Fragment, null,
|
|
157
|
+
"Today",
|
|
158
|
+
React.createElement(Badge, { overflowCount: 9999, count: state.taskTotals.today }))),
|
|
159
|
+
className: classId + "-tasks-today",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
key: "/task/week",
|
|
163
|
+
label: (React.createElement(React.Fragment, null,
|
|
164
|
+
"This Week",
|
|
165
|
+
React.createElement(Badge, { overflowCount: 9999, count: state.taskTotals.week }))),
|
|
166
|
+
className: classId + "-tasks-week",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
key: "/task/month",
|
|
170
|
+
label: (React.createElement(React.Fragment, null,
|
|
171
|
+
"This Month",
|
|
172
|
+
React.createElement(Badge, { overflowCount: 9999, count: state.taskTotals.month }))),
|
|
173
|
+
className: classId + "-tasks-month",
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
key: "/task/unscheduled",
|
|
177
|
+
label: (React.createElement(React.Fragment, null,
|
|
178
|
+
"Unscheduled",
|
|
179
|
+
React.createElement(Badge, { overflowCount: 9999, count: state.taskTotals.unscheduled }))),
|
|
180
|
+
className: classId + "-tasks-unscheduled",
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
key: "/task/due",
|
|
184
|
+
label: (React.createElement(React.Fragment, null,
|
|
185
|
+
"Due",
|
|
186
|
+
React.createElement(Badge, { count: state.taskTotals.due }))),
|
|
187
|
+
className: classId + "-tasks-due",
|
|
188
|
+
},
|
|
189
|
+
],
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
key: "Works",
|
|
193
|
+
label: "My Works",
|
|
194
|
+
icon: React.createElement(FAIcon, { icon: faPencilRulerRegular }),
|
|
195
|
+
className: classId + "-works",
|
|
196
|
+
children: [
|
|
197
|
+
{
|
|
198
|
+
key: "/works/requested",
|
|
199
|
+
label: (React.createElement(React.Fragment, null,
|
|
200
|
+
"Requested by me",
|
|
201
|
+
React.createElement(Badge, { overflowCount: 9999, count: state.workTotals.requested }))),
|
|
202
|
+
className: classId + "-works-requested",
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
key: "/works/today",
|
|
206
|
+
label: (React.createElement(React.Fragment, null,
|
|
207
|
+
"Today",
|
|
208
|
+
React.createElement(Badge, { overflowCount: 9999, count: state.workTotals.today }))),
|
|
209
|
+
className: classId + "-works-today",
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
key: "/works/week",
|
|
213
|
+
label: (React.createElement(React.Fragment, null,
|
|
214
|
+
"This Week",
|
|
215
|
+
React.createElement(Badge, { overflowCount: 9999, count: state.workTotals.week }))),
|
|
216
|
+
className: classId + "-works-week",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
key: "/works/month",
|
|
220
|
+
label: (React.createElement(React.Fragment, null,
|
|
221
|
+
"This Month",
|
|
222
|
+
React.createElement(Badge, { overflowCount: 9999, count: state.workTotals.month }))),
|
|
223
|
+
className: classId + "-works-month",
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
key: "/works/due",
|
|
227
|
+
label: (React.createElement(React.Fragment, null,
|
|
228
|
+
"Due",
|
|
229
|
+
React.createElement(Badge, { count: state.workTotals.due }))),
|
|
230
|
+
className: classId + "-works-due",
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
},
|
|
234
|
+
] }))),
|
|
236
235
|
React.createElement(Routes, null,
|
|
237
236
|
React.createElement(Route, { path: `pinned/:active?`, element: React.createElement(PinnedPage, { path: `${url}/pinned/:active?` }) }),
|
|
238
237
|
React.createElement(Route, { path: `documents`, element: React.createElement(DocumentPage, { root: user.info.folderId, route: `documents` }) }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/obsolete/space/pages/MySpace/index.tsx"],"names":[],"mappings":"AAAA;;KAEK;AAEL,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EACN,aAAa,EACb,kBAAkB,EAClB,aAAa,EACb,oBAAoB,EACpB,oBAAoB,EACpB,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,sBAAsB,EACtB,eAAe,IAAI,MAAM,GACzB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,qBAAqB,EAAE,SAAS,EAAE,UAAU,EAAE,MAA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IAAI,EAAE,oBAAoB,EAC1B,OAAO,EAAE,oBAAC,UAAU,IAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,GAAI,GACzD;YACF,oBAAC,KAAK,IAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,oBAAC,KAAK,IAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,GAAI,GAAI;YACpF,oBAAC,KAAK,IAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,oBAAC,KAAK,IAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,GAAI,GAAI;YACpF,oBAAC,KAAK,IACL,IAAI,EAAE,wBAAwB,EAC9B,OAAO,EAAE,oBAAC,KAAK,IAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,GAAG,yBAAyB,GAAI,GACtE;YACF,oBAAC,KAAK,IACL,IAAI,EAAE,yBAAyB,EAC/B,OAAO,EAAE,oBAAC,KAAK,IAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,GAAG,0BAA0B,GAAI,GACvE;YACF,oBAAC,KAAK,IACL,IAAI,EAAE,gCAAgC,EACtC,OAAO,EAAE,oBAAC,aAAa,IAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,GAAG,iCAAiC,GAAI,GACtF;YACF,oBAAC,KAAK,IAAC,IAAI,EAAC,GAAG,EAAC,OAAO,EAAE,oBAAC,QAAQ,IAAC,EAAE,EAAE,sBAAsB,GAAI,GAAI,CAC7D,CAGI,CACd,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { useWorkListEffect } from "../../../../data/work";
|
|
2
|
-
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
|
3
|
-
import React, { useState } from "react";
|
|
4
|
-
import { useAutoUpdateListData, useDocumentStore } from "@voplus/morpho-document-core";
|
|
5
|
-
import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemFrame";
|
|
6
|
-
import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView";
|
|
7
|
-
import NewWorkForm from "../NewWorkForm";
|
|
8
|
-
import WorkItem from "../WorkItem";
|
|
9
|
-
import { observe } from "@voplus/morpho-ui";
|
|
10
|
-
import "./index.css";
|
|
11
|
-
import { useRenderOnChange } from "@voplus/morpho-ui";
|
|
12
|
-
const SubWorkList = (props) => {
|
|
13
|
-
const [addAble, setAddAble] = useState(false);
|
|
14
|
-
const documentStore = useDocumentStore();
|
|
15
|
-
const list = useCreateListDataState({
|
|
16
|
-
filterDefaults: {
|
|
17
|
-
includes: "tags",
|
|
18
|
-
filters: [
|
|
19
|
-
{ c: "Workspace", o: "=", l: "And", v1: props.workspaceId },
|
|
20
|
-
{ c: "WorkStatus", o: "contains", l: "And", v1: JSON.stringify(["New", "Active"]) },
|
|
21
|
-
],
|
|
22
|
-
},
|
|
23
|
-
}, [props.workspaceId]);
|
|
24
|
-
/** useOnNewDocument, useOnDeleteDocument的sugar syntax 自動更新list. */
|
|
25
|
-
useAutoUpdateListData(list, (d) => d.type === "Work");
|
|
26
|
-
useRenderOnChange(() => list.filters.options);
|
|
27
|
-
/** 把ListDataState传给useWorkListEffect,使之可以自動更新loading, hasmore. */
|
|
28
|
-
useWorkListEffect(list, (result) => {
|
|
29
|
-
list.union(result);
|
|
30
|
-
}, list.filters.options);
|
|
31
|
-
return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
|
|
32
|
-
React.createElement("div", { className: "sub-work-list" },
|
|
33
|
-
React.createElement(ListView, { headerProps: {
|
|
34
|
-
headerToolProps: {
|
|
35
|
-
visible: true,
|
|
36
|
-
addAble: true,
|
|
37
|
-
sortable: false,
|
|
38
|
-
searchHeader: false,
|
|
39
|
-
onAdd: () => setAddAble(!addAble),
|
|
40
|
-
preExtra: () => (React.createElement("div", { className: "flex-1 text-lg leading-[42px] text-font-primary font-semibold" }, "Active Works")),
|
|
41
|
-
},
|
|
42
|
-
}, className: "work-list", moveAfter: moveAfter, renderItem: ({ item, connectDragSource }) => (React.createElement(DocumentItemFrame, { key: item.id },
|
|
43
|
-
React.createElement(WorkItem, { id: item.id }))) }),
|
|
44
|
-
addAble && (React.createElement(NewWorkForm, { openMode: "openBottom", onSave: () => setAddAble(false), onCancel: () => setAddAble(false) }))))));
|
|
45
|
-
async function moveAfter(id, afterId) {
|
|
46
|
-
await documentStore.moveAfter(id, afterId);
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
export default SubWorkList;
|
|
50
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/SubWorkList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEvF,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,QAAQ,MAAM,0DAA0D,CAAC;AAChF,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,aAAa,CAAC;AACrB,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,WAAW,GAAG,CAAC,KAA8B,EAAE,EAAE;IACtD,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,aAAa,GAAG,gBAAgB,EAAE,CAAC;IAEzC,MAAM,IAAI,GA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AExE,CACN;qBACD;iBACD,EACD,SAAS,EAAC,WAAW,EACrB,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAO,EAAE,EAAE,CAAC,CACjD,oBAAC,iBAAiB,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE;oBAC9B,oBAAC,QAAQ,IAAC,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,CACN,CACpB,GACA;YACD,OAAO,IAAI,CACX,oBAAC,WAAW,IACX,QAAQ,EAAC,YAAY,EACrB,MAAM,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EAC/B,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAChC,CACF,CACI,CACoB,CAC3B,CAAC,CAAC;IAEH,KAAK,UAAU,SAAS,CAAC,EAAU,EAAE,OAAe;QACnD,MAAM,aAAa,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
.work-list-2 {
|
|
2
|
-
height: 100%;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
background-color: #fff;
|
|
6
|
-
|
|
7
|
-
.work-header {
|
|
8
|
-
.search-header-tool {
|
|
9
|
-
min-width: 100px;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.list-view-header-tool {
|
|
13
|
-
padding: 20px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&.default-style {
|
|
17
|
-
.list-view-header-tool {
|
|
18
|
-
padding: 20px 0;
|
|
19
|
-
margin: 0 20px;
|
|
20
|
-
border-bottom: 1px solid #e6e6e6;
|
|
21
|
-
|
|
22
|
-
.header-tool-space {
|
|
23
|
-
align-items: end;
|
|
24
|
-
justify-content: space-between;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.page-head-content {
|
|
28
|
-
flex: 2;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.page-head-dashboard.card {
|
|
34
|
-
margin-bottom: 0;
|
|
35
|
-
.page-head-general {
|
|
36
|
-
margin: 0;
|
|
37
|
-
padding: 14px 20px;
|
|
38
|
-
}
|
|
39
|
-
.page-head-content {
|
|
40
|
-
.page-head-avatar,
|
|
41
|
-
.description {
|
|
42
|
-
display: none;
|
|
43
|
-
}
|
|
44
|
-
.page-head-info {
|
|
45
|
-
margin-left: 0;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.work-status-menu {
|
|
52
|
-
.ant-btn {
|
|
53
|
-
height: 30px;
|
|
54
|
-
line-height: 20px;
|
|
55
|
-
color: var(--default-border-color);
|
|
56
|
-
border-radius: var(--border-radius);
|
|
57
|
-
border: 1px solid var(--default-border-color);
|
|
58
|
-
margin: 0 15px 10px 0;
|
|
59
|
-
|
|
60
|
-
&.active {
|
|
61
|
-
color: var(--purple-primary-color);
|
|
62
|
-
background: #f4f9ff;
|
|
63
|
-
border-color: var(--purple-primary-color);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 换有新头部样式的 WorkList
|
|
3
|
-
* */
|
|
4
|
-
import React from "react";
|
|
5
|
-
import { WorkListHeaderProps } from "../WorkListHeader";
|
|
6
|
-
import { FilterOption } from "@voplus/morpho-data";
|
|
7
|
-
import "./index.css";
|
|
8
|
-
export type WorkListProps = {
|
|
9
|
-
filterOptions?: FilterOption[];
|
|
10
|
-
workHeaderProps?: WorkListHeaderProps;
|
|
11
|
-
/** 是否显示 filter icon 或者自定义显示 Filter WorkStatus 和 WorkTypes */
|
|
12
|
-
filterVisible?: Array<"WorkStatus" | "WorkTypes"> | boolean;
|
|
13
|
-
/** status of works shown on the list. */
|
|
14
|
-
status?: string;
|
|
15
|
-
/** filter work status */
|
|
16
|
-
statusArr?: string[];
|
|
17
|
-
/** types id of works shown on the list. */
|
|
18
|
-
typesId?: string;
|
|
19
|
-
/** The current active item */
|
|
20
|
-
active?: string;
|
|
21
|
-
/** filter roles */
|
|
22
|
-
roles?: boolean;
|
|
23
|
-
/** filter workspaceId */
|
|
24
|
-
workspaceId?: string;
|
|
25
|
-
/** filter workId */
|
|
26
|
-
workId?: string;
|
|
27
|
-
/** filter by contactId */
|
|
28
|
-
contactId?: string;
|
|
29
|
-
/** 用于预选的 contact */
|
|
30
|
-
contact?: {
|
|
31
|
-
name: string;
|
|
32
|
-
id: string;
|
|
33
|
-
};
|
|
34
|
-
/** Call back when an item has been clicked on the list. */
|
|
35
|
-
onClickItem?: (item: any) => void;
|
|
36
|
-
/** 是否显示 total 总数 */
|
|
37
|
-
total?: boolean;
|
|
38
|
-
/** Call back when received total number of works. */
|
|
39
|
-
onTotal?: (total: number) => void;
|
|
40
|
-
/** can aside */
|
|
41
|
-
asideable?: boolean;
|
|
42
|
-
};
|
|
43
|
-
declare const WorkList2: ({ asideable, filterVisible, ...props }: WorkListProps) => React.JSX.Element;
|
|
44
|
-
export default WorkList2;
|