@voplus/morpho-workspace 1.3.0 → 1.3.1
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/controls/filters/WorkStatusFilter/index.d.ts +3 -0
- package/es/controls/filters/WorkStatusFilter/index.js +21 -0
- package/es/controls/filters/WorkStatusFilter/index.js.map +1 -0
- package/es/controls/filters/WorkStatusFilter/state.d.ts +17 -0
- package/es/controls/filters/WorkStatusFilter/state.js +49 -0
- package/es/controls/filters/WorkStatusFilter/state.js.map +1 -0
- package/es/data/work/WorkStore.d.ts +10 -0
- package/es/data/work/WorkStore.js +21 -0
- package/es/data/work/WorkStore.js.map +1 -0
- package/es/data/work/hook.d.ts +9 -0
- package/es/data/work/hook.js +20 -0
- package/es/data/work/hook.js.map +1 -0
- package/es/data/work/index.d.ts +3 -0
- package/es/data/work/index.js +4 -0
- package/es/data/work/index.js.map +1 -0
- package/es/data/work/interfaces.d.ts +37 -0
- package/es/data/work/interfaces.js +2 -0
- package/es/data/work/interfaces.js.map +1 -0
- package/es/data/workerror/WorkErrorStore.d.ts +37 -0
- package/es/data/workerror/WorkErrorStore.js +117 -0
- package/es/data/workerror/WorkErrorStore.js.map +1 -0
- package/es/data/workerror/hook.d.ts +9 -0
- package/es/data/workerror/hook.js +19 -0
- package/es/data/workerror/hook.js.map +1 -0
- package/es/data/workerror/index.d.ts +4 -0
- package/es/data/workerror/index.js +5 -0
- package/es/data/workerror/index.js.map +1 -0
- package/es/data/workerror/interfaces.d.ts +20 -0
- package/es/data/workerror/interfaces.js +2 -0
- package/es/data/workerror/interfaces.js.map +1 -0
- package/es/data/workerror/types.d.ts +46 -0
- package/es/data/workerror/types.js +9 -0
- package/es/data/workerror/types.js.map +1 -0
- package/es/data/workerror/workerror-events/index.d.ts +3 -0
- package/es/data/workerror/workerror-events/index.js +4 -0
- package/es/data/workerror/workerror-events/index.js.map +1 -0
- package/es/data/workerror/workerror-events/useAutoUpdateListData.d.ts +4 -0
- package/es/data/workerror/workerror-events/useAutoUpdateListData.js +13 -0
- package/es/data/workerror/workerror-events/useAutoUpdateListData.js.map +1 -0
- package/es/data/workerror/workerror-events/useOnDeleteWorkspace.d.ts +4 -0
- package/es/data/workerror/workerror-events/useOnDeleteWorkspace.js +17 -0
- package/es/data/workerror/workerror-events/useOnDeleteWorkspace.js.map +1 -0
- package/es/data/workerror/workerror-events/useOnNewWorkspace.d.ts +4 -0
- package/es/data/workerror/workerror-events/useOnNewWorkspace.js +17 -0
- package/es/data/workerror/workerror-events/useOnNewWorkspace.js.map +1 -0
- package/es/data/workspace/WorkSpaceStore.d.ts +39 -0
- package/es/data/workspace/WorkSpaceStore.js +134 -0
- package/es/data/workspace/WorkSpaceStore.js.map +1 -0
- package/es/data/workspace/hooks.d.ts +13 -0
- package/es/data/workspace/hooks.js +23 -0
- package/es/data/workspace/hooks.js.map +1 -0
- package/es/data/workspace/index.d.ts +4 -0
- package/es/data/workspace/index.js +5 -0
- package/es/data/workspace/index.js.map +1 -0
- package/es/data/workspace/interfaces.d.ts +17 -0
- package/es/data/workspace/interfaces.js +2 -0
- package/es/data/workspace/interfaces.js.map +1 -0
- package/es/data/workspace/types.d.ts +28 -0
- package/es/data/workspace/types.js +2 -0
- package/es/data/workspace/types.js.map +1 -0
- package/es/data/workspace/useWorkSpaceCompletedWorkEffect.d.ts +10 -0
- package/es/data/workspace/useWorkSpaceCompletedWorkEffect.js +14 -0
- package/es/data/workspace/useWorkSpaceCompletedWorkEffect.js.map +1 -0
- package/es/data/workspace/workspace-events/index.d.ts +3 -0
- package/es/data/workspace/workspace-events/index.js +4 -0
- package/es/data/workspace/workspace-events/index.js.map +1 -0
- package/es/data/workspace/workspace-events/useAutoUpdateListData.d.ts +4 -0
- package/es/data/workspace/workspace-events/useAutoUpdateListData.js +13 -0
- package/es/data/workspace/workspace-events/useAutoUpdateListData.js.map +1 -0
- package/es/data/workspace/workspace-events/useOnDeleteWorkspace.d.ts +4 -0
- package/es/data/workspace/workspace-events/useOnDeleteWorkspace.js +17 -0
- package/es/data/workspace/workspace-events/useOnDeleteWorkspace.js.map +1 -0
- package/es/data/workspace/workspace-events/useOnNewWorkspace.d.ts +4 -0
- package/es/data/workspace/workspace-events/useOnNewWorkspace.js +17 -0
- package/es/data/workspace/workspace-events/useOnNewWorkspace.js.map +1 -0
- package/es/data/worktype/WorkTypeStore.d.ts +21 -0
- package/es/data/worktype/WorkTypeStore.js +75 -0
- package/es/data/worktype/WorkTypeStore.js.map +1 -0
- package/es/data/worktype/hook.d.ts +9 -0
- package/es/data/worktype/hook.js +20 -0
- package/es/data/worktype/hook.js.map +1 -0
- package/es/data/worktype/index.d.ts +4 -0
- package/es/data/worktype/index.js +5 -0
- package/es/data/worktype/index.js.map +1 -0
- package/es/data/worktype/interfaces.d.ts +57 -0
- package/es/data/worktype/interfaces.js +2 -0
- package/es/data/worktype/interfaces.js.map +1 -0
- package/es/data/worktype/types.d.ts +55 -0
- package/es/data/worktype/types.js +2 -0
- package/es/data/worktype/types.js.map +1 -0
- package/es/data/worktype/useWorkTypeCompletedWorkEffect.d.ts +10 -0
- package/es/data/worktype/useWorkTypeCompletedWorkEffect.js +14 -0
- package/es/data/worktype/useWorkTypeCompletedWorkEffect.js.map +1 -0
- package/es/modules/board/components/Board/index.js +1 -3
- package/es/modules/board/components/Board/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +2 -2
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingList/index.js +1 -2
- package/es/modules/meeting/components/MeetingList/index.js.map +1 -1
- package/es/modules/notification/components/NotificationList/index.less +11 -3
- package/es/modules/tasks/reports/TaskSummaryCard/index.js +2 -2
- package/es/modules/tasks/reports/TaskSummaryCard/index.js.map +1 -1
- package/es/modules/work/components/NewWorkErrorDialog/index.d.ts +9 -0
- package/es/modules/work/components/NewWorkErrorDialog/index.js +70 -0
- package/es/modules/work/components/NewWorkErrorDialog/index.js.map +1 -0
- package/es/modules/work/components/NewWorkErrorDialog/index.less +18 -0
- package/es/modules/work/components/NewWorkErrorDialog/state.d.ts +16 -0
- package/es/modules/work/components/NewWorkErrorDialog/state.js +37 -0
- package/es/modules/work/components/NewWorkErrorDialog/state.js.map +1 -0
- package/es/modules/work/components/RejectWorkDialog/index.d.ts +9 -0
- package/es/modules/work/components/RejectWorkDialog/index.js +54 -0
- package/es/modules/work/components/RejectWorkDialog/index.js.map +1 -0
- package/es/modules/work/components/RejectWorkDialog/index.less +18 -0
- package/es/modules/work/components/RejectWorkDialog/state.d.ts +12 -0
- package/es/modules/work/components/RejectWorkDialog/state.js +35 -0
- package/es/modules/work/components/RejectWorkDialog/state.js.map +1 -0
- package/es/modules/work/components/WorkErrorItem/index.d.ts +6 -0
- package/es/modules/work/components/WorkErrorItem/index.js +24 -0
- package/es/modules/work/components/WorkErrorItem/index.js.map +1 -0
- package/es/modules/work/components/WorkErrorItem/index.less +26 -0
- package/es/modules/work/components/WorkErrorList/index.d.ts +8 -0
- package/es/modules/work/components/WorkErrorList/index.js +44 -0
- package/es/modules/work/components/WorkErrorList/index.js.map +1 -0
- package/es/modules/work/components/WorkErrorList/index.less +5 -0
- package/es/modules/work/components/WorkErrorPropertiesView/index.d.ts +6 -0
- package/es/modules/work/components/WorkErrorPropertiesView/index.js +45 -0
- package/es/modules/work/components/WorkErrorPropertiesView/index.js.map +1 -0
- package/es/modules/work/components/WorkErrorPropertiesView/index.less +22 -0
- package/es/modules/work/components/WorkItem/index.d.ts +11 -0
- package/es/modules/work/components/WorkItem/index.js +25 -0
- package/es/modules/work/components/WorkItem/index.js.map +1 -0
- package/es/modules/work/components/WorkItem/index.less +17 -0
- package/es/modules/work/components/WorkList/index.d.ts +14 -0
- package/es/modules/work/components/WorkList/index.js +64 -0
- package/es/modules/work/components/WorkList/index.js.map +1 -0
- package/es/modules/work/components/WorkList/index.less +7 -0
- package/es/modules/work/components/WorkPropertiesView/index.d.ts +7 -0
- package/es/modules/work/components/WorkPropertiesView/index.js +35 -0
- package/es/modules/work/components/WorkPropertiesView/index.js.map +1 -0
- package/es/modules/work/components/WorkPropertiesView/index.less +23 -0
- package/es/{pages/Space/components/Documents → modules/work/components/WorkQATab}/index.d.ts +2 -2
- package/es/modules/work/components/WorkQATab/index.js +33 -0
- package/es/modules/work/components/WorkQATab/index.js.map +1 -0
- package/es/modules/work/components/WorkQATab/index.less +24 -0
- package/es/modules/work/components/WorkTabs/index.d.ts +7 -0
- package/es/modules/work/components/WorkTabs/index.js +45 -0
- package/es/modules/work/components/WorkTabs/index.js.map +1 -0
- package/es/modules/work/components/WorkTabs/index.less +16 -0
- package/es/modules/work/components/WorkTaskList/index.d.ts +5 -0
- package/es/modules/work/components/WorkTaskList/index.js +65 -0
- package/es/modules/work/components/WorkTaskList/index.js.map +1 -0
- package/es/modules/work/components/WorkTaskList/index.less +18 -0
- package/es/modules/work/components/WorkTaskList/state.d.ts +14 -0
- package/es/modules/work/components/WorkTaskList/state.js +23 -0
- package/es/modules/work/components/WorkTaskList/state.js.map +1 -0
- package/es/modules/work/components/WorkTasksTab/index.d.ts +6 -0
- package/es/modules/work/components/WorkTasksTab/index.js +17 -0
- package/es/modules/work/components/WorkTasksTab/index.js.map +1 -0
- package/es/modules/work/components/WorkTasksTab/index.less +7 -0
- package/es/modules/work/components/WorksProperties/index.d.ts +6 -0
- package/es/modules/work/components/WorksProperties/index.js +27 -0
- package/es/modules/work/components/WorksProperties/index.js.map +1 -0
- package/es/modules/work/components/WorksProperties/index.less +8 -0
- package/es/modules/work/pages/WorkDefaultView/index.d.ts +4 -0
- package/es/modules/work/pages/WorkDefaultView/index.js +26 -0
- package/es/modules/work/pages/WorkDefaultView/index.js.map +1 -0
- package/es/modules/work/pages/WorkDefaultView/index.less +17 -0
- package/es/modules/work/pages/WorkListPage/index.d.ts +6 -0
- package/es/modules/work/pages/WorkListPage/index.js +19 -0
- package/es/modules/work/pages/WorkListPage/index.js.map +1 -0
- package/es/modules/workspace/components/MyWorkspaces/index.d.ts +11 -0
- package/es/modules/workspace/components/MyWorkspaces/index.js +34 -0
- package/es/modules/workspace/components/MyWorkspaces/index.js.map +1 -0
- package/es/modules/workspace/components/MyWorkspaces/index.less +18 -0
- package/es/modules/workspace/components/NewWorkspaceDialog/index.d.ts +10 -0
- package/es/modules/workspace/components/NewWorkspaceDialog/index.js +59 -0
- package/es/modules/workspace/components/NewWorkspaceDialog/index.js.map +1 -0
- package/es/modules/workspace/components/NewWorkspaceDialog/index.less +18 -0
- package/es/modules/workspace/components/NewWorkspaceDialog/state.d.ts +12 -0
- package/es/modules/workspace/components/NewWorkspaceDialog/state.js +35 -0
- package/es/modules/workspace/components/NewWorkspaceDialog/state.js.map +1 -0
- package/es/modules/workspace/components/WorkspaceCard/index.d.ts +8 -0
- package/es/modules/workspace/components/WorkspaceCard/index.js +18 -0
- package/es/modules/workspace/components/WorkspaceCard/index.js.map +1 -0
- package/es/modules/workspace/components/WorkspaceCard/index.less +47 -0
- package/es/modules/workspace/components/WorkspaceCardList/index.d.ts +13 -0
- package/es/modules/workspace/components/WorkspaceCardList/index.js +49 -0
- package/es/modules/workspace/components/WorkspaceCardList/index.js.map +1 -0
- package/es/modules/workspace/components/WorkspaceCardList/index.less +13 -0
- package/es/modules/workspace/components/WorkspacePropertiesView/index.d.ts +6 -0
- package/es/modules/workspace/components/WorkspacePropertiesView/index.js +41 -0
- package/es/modules/workspace/components/WorkspacePropertiesView/index.js.map +1 -0
- package/es/modules/workspace/components/WorkspacePropertiesView/index.less +19 -0
- package/es/modules/workspace/components/WorkspacePropertiesView/state.d.ts +15 -0
- package/es/modules/workspace/components/WorkspacePropertiesView/state.js +68 -0
- package/es/modules/workspace/components/WorkspacePropertiesView/state.js.map +1 -0
- package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.d.ts +6 -0
- package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.js +68 -0
- package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.js.map +1 -0
- package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.less +8 -0
- package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/state.d.ts +5 -0
- package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/state.js +26 -0
- package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/state.js.map +1 -0
- package/es/modules/workspace/controls/WorkspaceMenu/index.d.ts +8 -0
- package/es/modules/workspace/controls/WorkspaceMenu/index.js +36 -0
- package/es/modules/workspace/controls/WorkspaceMenu/index.js.map +1 -0
- package/es/modules/workspace/controls/WorkspaceMenu/index.less +33 -0
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.d.ts +4 -0
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.js +51 -0
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.js.map +1 -0
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.less +22 -0
- package/es/modules/workspace/pages/WorkspaceDefaultView/state.d.ts +15 -0
- package/es/modules/workspace/pages/WorkspaceDefaultView/state.js +68 -0
- package/es/modules/workspace/pages/WorkspaceDefaultView/state.js.map +1 -0
- package/es/modules/workspace/pages/WorkspacePage/index.d.ts +4 -0
- package/es/modules/workspace/pages/WorkspacePage/index.js +73 -0
- package/es/modules/workspace/pages/WorkspacePage/index.js.map +1 -0
- package/es/modules/workspace/pages/WorkspacePage/index.less +1 -0
- package/es/modules/workspace/pages/WorkspacePage/state.d.ts +23 -0
- package/es/modules/workspace/pages/WorkspacePage/state.js +108 -0
- package/es/modules/workspace/pages/WorkspacePage/state.js.map +1 -0
- package/es/modules/worktype/components/WorkTypeCard/index.d.ts +8 -0
- package/es/modules/worktype/components/WorkTypeCard/index.js +18 -0
- package/es/modules/worktype/components/WorkTypeCard/index.js.map +1 -0
- package/es/modules/worktype/components/WorkTypeCard/index.less +47 -0
- package/es/modules/worktype/components/WorkTypeCardList/index.d.ts +16 -0
- package/es/modules/worktype/components/WorkTypeCardList/index.js +50 -0
- package/es/modules/worktype/components/WorkTypeCardList/index.js.map +1 -0
- package/es/modules/worktype/components/WorkTypeCardList/index.less +15 -0
- package/es/modules/worktype/components/WorkTypeItem/index.d.ts +8 -0
- package/es/modules/worktype/components/WorkTypeItem/index.js +11 -0
- package/es/modules/worktype/components/WorkTypeItem/index.js.map +1 -0
- package/es/modules/worktype/components/WorkTypeItem/index.less +19 -0
- package/es/modules/worktype/components/WorkTypeProperties/index.d.ts +6 -0
- package/es/modules/worktype/components/WorkTypeProperties/index.js +56 -0
- package/es/modules/worktype/components/WorkTypeProperties/index.js.map +1 -0
- package/es/modules/worktype/components/WorkTypeProperties/index.less +5 -0
- package/es/modules/worktype/components/WorkTypeProperties/state.d.ts +12 -0
- package/es/modules/worktype/components/WorkTypeProperties/state.js +65 -0
- package/es/modules/worktype/components/WorkTypeProperties/state.js.map +1 -0
- package/es/modules/worktype/components/WorkTypePropertiesTabs/index.d.ts +5 -0
- package/es/modules/worktype/components/WorkTypePropertiesTabs/index.js +28 -0
- package/es/modules/worktype/components/WorkTypePropertiesTabs/index.js.map +1 -0
- package/es/modules/worktype/components/WorkTypePropertiesTabs/index.less +0 -0
- package/es/modules/worktype/components/WorkTypePropertiesView/index.d.ts +6 -0
- package/es/modules/worktype/components/WorkTypePropertiesView/index.js +38 -0
- package/es/modules/worktype/components/WorkTypePropertiesView/index.js.map +1 -0
- package/es/modules/worktype/components/WorkTypePropertiesView/index.less +19 -0
- package/es/modules/worktype/components/WorkTypePropertiesView/state.d.ts +15 -0
- package/es/modules/worktype/components/WorkTypePropertiesView/state.js +68 -0
- package/es/modules/worktype/components/WorkTypePropertiesView/state.js.map +1 -0
- package/es/modules/worktype/components/WorkTypeQA/index.d.ts +6 -0
- package/es/modules/worktype/components/WorkTypeQA/index.js +60 -0
- package/es/modules/worktype/components/WorkTypeQA/index.js.map +1 -0
- package/es/modules/worktype/components/WorkTypeQA/index.less +35 -0
- package/es/modules/worktype/components/WorkTypeQA/state.d.ts +21 -0
- package/es/modules/worktype/components/WorkTypeQA/state.js +145 -0
- package/es/modules/worktype/components/WorkTypeQA/state.js.map +1 -0
- package/es/modules/worktype/components/WorkTypeStats/index.d.ts +5 -0
- package/es/modules/worktype/components/WorkTypeStats/index.js +16 -0
- package/es/modules/worktype/components/WorkTypeStats/index.js.map +1 -0
- package/es/modules/worktype/components/WorkTypeStats/index.less +29 -0
- package/es/modules/worktype/components/WorkTypeStats/state.d.ts +6 -0
- package/es/modules/worktype/components/WorkTypeStats/state.js +27 -0
- package/es/modules/worktype/components/WorkTypeStats/state.js.map +1 -0
- package/es/modules/worktype/components/WorkTypeTabs/index.d.ts +6 -0
- package/es/modules/worktype/components/WorkTypeTabs/index.js +45 -0
- package/es/modules/worktype/components/WorkTypeTabs/index.js.map +1 -0
- package/es/modules/worktype/components/WorkTypeTabs/index.less +16 -0
- package/es/modules/worktype/controls/WorktypeCompleteWorksChart/index.d.ts +6 -0
- package/es/modules/worktype/controls/WorktypeCompleteWorksChart/index.js +70 -0
- package/es/modules/worktype/controls/WorktypeCompleteWorksChart/index.js.map +1 -0
- package/es/modules/worktype/controls/WorktypeCompleteWorksChart/index.less +8 -0
- package/es/modules/worktype/controls/WorktypeCompleteWorksChart/state.d.ts +5 -0
- package/es/modules/worktype/controls/WorktypeCompleteWorksChart/state.js +26 -0
- package/es/modules/worktype/controls/WorktypeCompleteWorksChart/state.js.map +1 -0
- package/es/modules/worktype/pages/WorkTypeDefaultView/index.d.ts +4 -0
- package/es/modules/worktype/pages/WorkTypeDefaultView/index.js +24 -0
- package/es/modules/worktype/pages/WorkTypeDefaultView/index.js.map +1 -0
- package/es/modules/worktype/pages/WorkTypeDefaultView/index.less +20 -0
- package/es/pages/Routes.d.ts +12 -0
- package/es/pages/Routes.js +29 -3
- package/es/pages/Routes.js.map +1 -1
- package/es/pages/Space/components/Notifications/index.js +1 -0
- package/es/pages/Space/components/Notifications/index.js.map +1 -1
- package/es/pages/Space/components/Workspaces/index.d.ts +3 -0
- package/es/pages/Space/components/Workspaces/index.js +19 -0
- package/es/pages/Space/components/Workspaces/index.js.map +1 -0
- package/es/pages/Space/pages/MySpace/index.js +7 -3
- package/es/pages/Space/pages/MySpace/index.js.map +1 -1
- package/es/pages/Work/components/NewWorkDialog/index.js +3 -7
- package/es/pages/Work/components/NewWorkDialog/index.js.map +1 -1
- package/es/pages/Work/pages/WorkDefaultView/index.js +20 -17
- package/es/pages/Work/pages/WorkDefaultView/index.js.map +1 -1
- package/es/pages/WorkType/WorkTypeCheckList/index.d.ts +1 -2
- package/es/pages/WorkType/WorkTypeCheckList/index.js +43 -34
- package/es/pages/WorkType/WorkTypeCheckList/index.js.map +1 -1
- package/es/pages/WorkType/WorkTypeDetail/index.js +6 -10
- package/es/pages/WorkType/WorkTypeDetail/index.js.map +1 -1
- package/es/pages/WorkType/data/WorkTypeStore.js +4 -4
- package/es/pages/WorkType/data/WorkTypeStore.js.map +1 -1
- package/es/pages/WorkType/data/interfaces.d.ts +24 -7
- package/es/pages/WorkType/data/types.d.ts +19 -18
- package/es/routes.js.map +1 -1
- package/package.json +2 -2
- package/es/pages/Space/components/Documents/index.js +0 -26
- package/es/pages/Space/components/Documents/index.js.map +0 -1
- package/es/pages/Space/components/Documents/index.less +0 -5
@@ -0,0 +1,27 @@
|
|
1
|
+
import { __decorate } from "tslib";
|
2
|
+
import { action, makeObservable, observable, runInAction } from "mobx";
|
3
|
+
export class State {
|
4
|
+
constructor() {
|
5
|
+
Object.defineProperty(this, "estimatedLoaded", {
|
6
|
+
enumerable: true,
|
7
|
+
configurable: true,
|
8
|
+
writable: true,
|
9
|
+
value: true
|
10
|
+
});
|
11
|
+
makeObservable(this);
|
12
|
+
}
|
13
|
+
/** reload Estimated data */
|
14
|
+
onEstimatedReload() {
|
15
|
+
this.estimatedLoaded = false;
|
16
|
+
setTimeout(() => {
|
17
|
+
runInAction(() => (this.estimatedLoaded = true));
|
18
|
+
}, 100);
|
19
|
+
}
|
20
|
+
}
|
21
|
+
__decorate([
|
22
|
+
observable
|
23
|
+
], State.prototype, "estimatedLoaded", void 0);
|
24
|
+
__decorate([
|
25
|
+
action
|
26
|
+
], State.prototype, "onEstimatedReload", null);
|
27
|
+
//# sourceMappingURL=state.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/worktype/components/WorkTypeStats/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAEvE,MAAM,OAAO,KAAK;IAGjB;QAFY;;;;mBAAyB,IAAI;WAAC;QAGzC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,4BAA4B;IAErB,iBAAiB;QACvB,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,UAAU,CAAC,GAAG,EAAE;YACf,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC,CAAC;QAClD,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;CACD;AAdY;IAAX,UAAU;8CAA+B;AAQ1C;IADC,MAAM;8CAMN"}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import React, { useEffect, useState } from "react";
|
2
|
+
import { observe, useAsideContentContext } from "@voplus/morpho-ui";
|
3
|
+
import { Badge, Tabs } from "@voplus/antd";
|
4
|
+
import DocumentList from "@voplus/morpho-document/es/components/DocumentList";
|
5
|
+
import TaskPropertiesView from "../../../tasks/components/TaskPropertiesView";
|
6
|
+
import WorkTaskList from "../../../work/components/WorkTaskList";
|
7
|
+
import WorkTypeQA from "../WorkTypeQA";
|
8
|
+
import WorkTypeStats from "../WorkTypeStats";
|
9
|
+
import "./index.less";
|
10
|
+
const WorkTypeTabs = (props) => {
|
11
|
+
const { id } = props;
|
12
|
+
/**Tabs 当前激活 tab 面板的 key */
|
13
|
+
const [activeKey, setActiveKey] = useState("Stats");
|
14
|
+
const asideContext = useAsideContentContext();
|
15
|
+
useEffect(() => {
|
16
|
+
setActiveKey("Stats");
|
17
|
+
}, [props.id]);
|
18
|
+
return observe(() => (React.createElement(Tabs, { activeKey: activeKey, className: "work-type-tabs", onChange: onChange },
|
19
|
+
React.createElement(Tabs.TabPane, { tab: "Stats", key: "Stats" }, activeKey === "Stats" && React.createElement(WorkTypeStats, { id: props.id })),
|
20
|
+
React.createElement(Tabs.TabPane, { tab: React.createElement(React.Fragment, null,
|
21
|
+
"Tasks",
|
22
|
+
React.createElement(Badge, { count: 6, className: "site-badge-count" })), key: "TaskList" }, activeKey === "TaskList" && (React.createElement(WorkTaskList, { Title: "Task", parentId: id, onClickItem: onClickItem }))),
|
23
|
+
React.createElement(Tabs.TabPane, { tab: React.createElement(React.Fragment, null,
|
24
|
+
"Documents",
|
25
|
+
React.createElement(Badge, { count: 3, className: "site-badge-count" })), key: "Document" }, activeKey === "Document" && React.createElement(DocumentList, { id: id, multiple: true })),
|
26
|
+
React.createElement(Tabs.TabPane, { tab: "QA Setting", key: "QA Setting" }, activeKey === "QA Setting" && React.createElement(WorkTypeQA, { id: id })))));
|
27
|
+
/**切换面板的回调*/
|
28
|
+
function onChange(activeKey) {
|
29
|
+
setActiveKey(activeKey);
|
30
|
+
}
|
31
|
+
function onClickItem(id) {
|
32
|
+
// asideContext?.openAside(
|
33
|
+
// <TaskPropertiesView id={id} />,
|
34
|
+
// { span: 12 }
|
35
|
+
// );
|
36
|
+
if (asideContext === null || asideContext === void 0 ? void 0 : asideContext.asideContent) {
|
37
|
+
asideContext.closeAside();
|
38
|
+
}
|
39
|
+
else {
|
40
|
+
asideContext === null || asideContext === void 0 ? void 0 : asideContext.openAside(React.createElement(TaskPropertiesView, { id: id }), { span: 12 });
|
41
|
+
}
|
42
|
+
}
|
43
|
+
};
|
44
|
+
export default WorkTypeTabs;
|
45
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/worktype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av-wrap {
|
5
|
+
padding-left: 20px;
|
6
|
+
}
|
7
|
+
.site-badge-count {
|
8
|
+
margin-left: 10px;
|
9
|
+
.ant-badge-count {
|
10
|
+
color: #999;
|
11
|
+
background-color: #fff;
|
12
|
+
box-shadow: 0 0 0 1px #d9d9d9 inset;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
import React, { useEffect, useRef, useState } from "react";
|
2
|
+
import { Empty, Spin } from "@voplus/antd";
|
3
|
+
import { Column } from "@antv/g2plot";
|
4
|
+
import { LoadingOutlined } from "@ant-design/icons";
|
5
|
+
import { State } from "./state";
|
6
|
+
import { observe } from "@voplus/morpho-ui";
|
7
|
+
import { useWorkTypeCompletedWork, } from "../../../../data/worktype/useWorkTypeCompletedWorkEffect";
|
8
|
+
import moment from "moment";
|
9
|
+
import "./index.less";
|
10
|
+
const WorkTypeCompletedWorksChart = (props) => {
|
11
|
+
const { id } = props;
|
12
|
+
const divEl = useRef(null);
|
13
|
+
const [state] = useState(new State());
|
14
|
+
const [columnData, setColumnData] = useState([]);
|
15
|
+
useWorkTypeCompletedWork(id, (list) => {
|
16
|
+
const data = [];
|
17
|
+
list.map((i) => {
|
18
|
+
data.push({ date: moment(i.date).format("DD MMM"), total: i.total });
|
19
|
+
});
|
20
|
+
setColumnData(data);
|
21
|
+
state.loading = false;
|
22
|
+
});
|
23
|
+
useEffect(() => {
|
24
|
+
if (state.columnPlot) {
|
25
|
+
state.columnPlot.update({
|
26
|
+
data: columnData,
|
27
|
+
});
|
28
|
+
}
|
29
|
+
else if (divEl.current && columnData.length) {
|
30
|
+
state.columnPlot = new Column(divEl.current, {
|
31
|
+
data: columnData,
|
32
|
+
xField: "date",
|
33
|
+
// 图形在 x 方向对应的数据字段名
|
34
|
+
yField: "total",
|
35
|
+
label: {
|
36
|
+
// 可手动配置 label 数据标签位置
|
37
|
+
position: "middle",
|
38
|
+
// 配置样式
|
39
|
+
style: {
|
40
|
+
fill: "#FFFFFF",
|
41
|
+
opacity: 0.6,
|
42
|
+
},
|
43
|
+
},
|
44
|
+
xAxis: {
|
45
|
+
label: {
|
46
|
+
autoHide: true,
|
47
|
+
autoRotate: false,
|
48
|
+
},
|
49
|
+
},
|
50
|
+
// 数据的类型和展示方式
|
51
|
+
meta: {
|
52
|
+
date: {
|
53
|
+
alias: "日期",
|
54
|
+
},
|
55
|
+
total: {
|
56
|
+
alias: "完成度",
|
57
|
+
},
|
58
|
+
},
|
59
|
+
height: 200,
|
60
|
+
});
|
61
|
+
state.columnPlot.render();
|
62
|
+
}
|
63
|
+
}, [columnData]);
|
64
|
+
return observe(() => (React.createElement("div", { className: "completed-works-chart" },
|
65
|
+
React.createElement("div", { ref: divEl }),
|
66
|
+
state.loading ? (React.createElement("div", { className: "card-loading" },
|
67
|
+
React.createElement(Spin, { tip: "Loading...", indicator: React.createElement(LoadingOutlined, null) }))) : !columnData.length ? (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })) : null)));
|
68
|
+
};
|
69
|
+
export default WorkTypeCompletedWorksChart;
|
70
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/worktype/controls/WorktypeCompleteWorksChart/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAEN,wBAAwB,GACxB,MAAM,0DAA0D,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BACN,qBAAqB;oBACrB,QAAQ,EAAE,QAAQ;oBAClB,OAAO;oBACP,KAAK,EAAE;wBACN,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,GAAG;qBACZ;iBACD;gBACD,KAAK,EAAE;oBACN,KAAK,EAAE;wBACN,QAAQ,EAAE,IAAI;wBACd,UAAU,EAAE,KAAK;qBACjB;iBACD;gBACW,aAAa;gBACzB,IAAI,EAAE;oBACL,IAAI,EAAE;wBACL,KAAK,EAAE,IAAI;qBACX;oBACD,KAAK,EAAE;wBACN,KAAK,EAAE,KAAK;qBACZ;iBACD;gBACD,MAAM,EAAE,GAAG;aACX,CAAC,CAAC;YACH,KAAK,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;SAC1B;IACF,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;IAEjB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,uBAAuB;QACrC,6BAAK,GAAG,EAAE,KAAK,GAAI;QAClB,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAChB,6BAAK,SAAS,EAAC,cAAc;YAC5B,oBAAC,IAAI,IAAC,GAAG,EAAC,YAAY,EAAC,SAAS,EAAE,oBAAC,eAAe,OAAG,GAAI,CACpD,CACN,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CACxB,oBAAC,KAAK,IAAC,KAAK,EAAE,KAAK,CAAC,sBAAsB,GAAI,CAC9C,CAAC,CAAC,CAAC,IAAI,CACH,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { __decorate } from "tslib";
|
2
|
+
import { makeObservable, observable } from "mobx";
|
3
|
+
export class State {
|
4
|
+
constructor() {
|
5
|
+
Object.defineProperty(this, "columnPlot", {
|
6
|
+
enumerable: true,
|
7
|
+
configurable: true,
|
8
|
+
writable: true,
|
9
|
+
value: void 0
|
10
|
+
});
|
11
|
+
Object.defineProperty(this, "loading", {
|
12
|
+
enumerable: true,
|
13
|
+
configurable: true,
|
14
|
+
writable: true,
|
15
|
+
value: true
|
16
|
+
});
|
17
|
+
makeObservable(this);
|
18
|
+
}
|
19
|
+
}
|
20
|
+
__decorate([
|
21
|
+
observable
|
22
|
+
], State.prototype, "columnPlot", void 0);
|
23
|
+
__decorate([
|
24
|
+
observable
|
25
|
+
], State.prototype, "loading", void 0);
|
26
|
+
//# sourceMappingURL=state.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/worktype/controls/WorktypeCompleteWorksChart/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,OAAO,KAAK;IAId;QAHY;;;;;WAAuB;QACvB;;;;mBAAiB,IAAI;WAAC;QAG9B,cAAc,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC;CACJ;AANe;IAAX,UAAU;yCAAwB;AACvB;IAAX,UAAU;sCAAuB"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import "./index.less";
|
2
|
+
import React, { useState } from "react";
|
3
|
+
import { TabItemContext, TabItemStore } from "@voplus/morpho-data";
|
4
|
+
import { useRouteMatch } from "react-router";
|
5
|
+
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
6
|
+
import MainContent from "@voplus/morpho-ui/es/components/layout/MainContent";
|
7
|
+
import WorkTypeProperties from "../../components/WorkTypeProperties";
|
8
|
+
import WorkTypeTabs from "../../components/WorkTypeTabs";
|
9
|
+
import { observe } from "@voplus/morpho-ui";
|
10
|
+
const WorkTypeDefaultView = () => {
|
11
|
+
const match = useRouteMatch();
|
12
|
+
const id = match.params.id;
|
13
|
+
const store = new TabItemStore({ url: "" });
|
14
|
+
const [asideContext] = useState(AsideContent.createContext());
|
15
|
+
return observe(() => (React.createElement(TabItemContext.Provider, { value: store },
|
16
|
+
React.createElement(MainContent, { className: "work-type-default-view" },
|
17
|
+
React.createElement(MainContent.Nav, { collapsible: true },
|
18
|
+
React.createElement(WorkTypeProperties, { id: id })),
|
19
|
+
React.createElement("div", { className: "work-type-context" },
|
20
|
+
React.createElement(AsideContent, { context: asideContext },
|
21
|
+
React.createElement(WorkTypeTabs, { id: id })))))));
|
22
|
+
};
|
23
|
+
export default WorkTypeDefaultView;
|
24
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/worktype/pages/WorkTypeDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAmB,aAAa,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,WAAW,MAAM,oDAAoD,CAAC;AAC7E,OAAO,kBAAkB,MAAM,qCAAqC,CAAC;AACrE,OAAO,YAAY,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,mBAAmB,GAAG,GAAG,EAAE;IAChC,MAAM,KAAK,GAAG,aAAa,EAAkB,CAAC;IAC9C,MAAM,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;IAE3B,MAAM,KAAK,GAAG,IAAI,YAAY,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5C,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;IAE9D,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,cAAc,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK;QACpC,oBAAC,WAAW,IAAC,SAAS,EAAC,wBAAwB;YAC9C,oBAAC,WAAW,CAAC,GAAG,IAAC,WAAW;gBAC3B,oBAAC,kBAAkB,IAAC,EAAE,EAAE,EAAE,GAAI,CACb;YAClB,6BAAK,SAAS,EAAC,mBAAmB;gBACjC,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAY;oBAClC,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,GAAI,CACV,CACV,CACO,CACW,CAC1B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
:global {
|
2
|
+
.work-type-default-view {
|
3
|
+
.main-content-nav {
|
4
|
+
width: 310px;
|
5
|
+
box-shadow: 6px 0 16px -8px rgb(0 0 0 / 8%), 9px 0 28px 0 rgb(0 0 0 / 5%),
|
6
|
+
12px 0 48px 16px rgb(0 0 0 / 3%) !important;
|
7
|
+
}
|
8
|
+
|
9
|
+
.work-type-context {
|
10
|
+
display: flex;
|
11
|
+
padding: 0;
|
12
|
+
background: #ffffff;
|
13
|
+
display: flex;
|
14
|
+
|
15
|
+
>div {
|
16
|
+
flex: 1;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
package/es/pages/Routes.d.ts
CHANGED
@@ -18,12 +18,24 @@ declare const Routes: {
|
|
18
18
|
getUrl: (id: string) => string;
|
19
19
|
component: () => JSX.Element;
|
20
20
|
};
|
21
|
+
WorkspaceDefaultView: {
|
22
|
+
route: string;
|
23
|
+
tabPattern: RegExp;
|
24
|
+
getUrl: (id: string) => string;
|
25
|
+
component: () => JSX.Element;
|
26
|
+
};
|
21
27
|
MySpace: {
|
22
28
|
route: string;
|
23
29
|
tabPattern: RegExp;
|
24
30
|
getUrl: () => string;
|
25
31
|
component: () => JSX.Element;
|
26
32
|
};
|
33
|
+
WorkspacePage: {
|
34
|
+
route: string;
|
35
|
+
tabPattern: RegExp;
|
36
|
+
getUrl: () => string;
|
37
|
+
component: () => JSX.Element;
|
38
|
+
};
|
27
39
|
addRoutes: () => void;
|
28
40
|
};
|
29
41
|
export default Routes;
|
package/es/pages/Routes.js
CHANGED
@@ -3,14 +3,18 @@ import { BaseRoutes } from "@voplus/morpho-data";
|
|
3
3
|
import MySpace from "./Space/pages/MySpace";
|
4
4
|
import ProjectDefaultView from "./Project/ProjectDefaultView";
|
5
5
|
import React from "react";
|
6
|
-
import WorkDefaultView from "
|
7
|
-
import WorkTypeDefaultView from "
|
6
|
+
import WorkDefaultView from "../modules/work/pages/WorkDefaultView";
|
7
|
+
import WorkTypeDefaultView from "../modules/worktype/pages/WorkTypeDefaultView";
|
8
|
+
import WorkspaceDefaultView from "../modules/workspace/pages/WorkspaceDefaultView";
|
9
|
+
import WorkspacePage from '../modules/workspace/pages/WorkspacePage';
|
8
10
|
const ProjectRoutes = () => {
|
9
11
|
return (React.createElement(Switch, null,
|
10
12
|
React.createElement(Route, { path: Routes.ProjectDefaultView.route, exact: true, component: Routes.ProjectDefaultView.component }),
|
11
13
|
React.createElement(Route, { path: Routes.WorkDefaultView.route, exact: true, component: Routes.WorkDefaultView.component }),
|
12
14
|
React.createElement(Route, { path: Routes.WorkTypeDefaultView.route, exact: true, component: Routes.WorkTypeDefaultView.component }),
|
13
|
-
React.createElement(Route, { path: Routes.
|
15
|
+
React.createElement(Route, { path: Routes.WorkspaceDefaultView.route, exact: true, component: Routes.WorkspaceDefaultView.component }),
|
16
|
+
React.createElement(Route, { path: Routes.MySpace.route, component: Routes.MySpace.component }),
|
17
|
+
React.createElement(Route, { path: Routes.WorkspacePage.route, component: Routes.WorkspacePage.component })));
|
14
18
|
};
|
15
19
|
const Routes = {
|
16
20
|
ProjectDefaultView: {
|
@@ -31,12 +35,24 @@ const Routes = {
|
|
31
35
|
getUrl: (id) => `/workType/${id}`,
|
32
36
|
component: WorkTypeDefaultView,
|
33
37
|
},
|
38
|
+
WorkspaceDefaultView: {
|
39
|
+
route: "/workSpace/:id",
|
40
|
+
tabPattern: RegExp("/workSpace/[^/]+"),
|
41
|
+
getUrl: (id) => `/workSpace/${id}`,
|
42
|
+
component: WorkspaceDefaultView,
|
43
|
+
},
|
34
44
|
MySpace: {
|
35
45
|
route: "/my-space",
|
36
46
|
tabPattern: RegExp("/my-space"),
|
37
47
|
getUrl: () => `/my-space`,
|
38
48
|
component: MySpace,
|
39
49
|
},
|
50
|
+
WorkspacePage: {
|
51
|
+
route: "/work-space",
|
52
|
+
tabPattern: RegExp("/work-space"),
|
53
|
+
getUrl: () => `/work-space`,
|
54
|
+
component: WorkspacePage,
|
55
|
+
},
|
40
56
|
addRoutes: () => {
|
41
57
|
BaseRoutes.routes.push({
|
42
58
|
name: "ProjectDefaultView",
|
@@ -53,11 +69,21 @@ const Routes = {
|
|
53
69
|
tabBasePattern: Routes.WorkTypeDefaultView.tabPattern,
|
54
70
|
component: React.createElement(ProjectRoutes, null),
|
55
71
|
});
|
72
|
+
BaseRoutes.routes.push({
|
73
|
+
name: "WorkspaceDefaultView",
|
74
|
+
tabBasePattern: Routes.WorkspaceDefaultView.tabPattern,
|
75
|
+
component: React.createElement(ProjectRoutes, null),
|
76
|
+
});
|
56
77
|
BaseRoutes.routes.push({
|
57
78
|
name: "MySpace",
|
58
79
|
tabBasePattern: Routes.MySpace.tabPattern,
|
59
80
|
component: React.createElement(ProjectRoutes, null),
|
60
81
|
});
|
82
|
+
BaseRoutes.routes.push({
|
83
|
+
name: "WorkspacePage",
|
84
|
+
tabBasePattern: Routes.WorkspacePage.tabPattern,
|
85
|
+
component: React.createElement(ProjectRoutes, null),
|
86
|
+
});
|
61
87
|
},
|
62
88
|
};
|
63
89
|
export default Routes;
|
package/es/pages/Routes.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Routes.js","sourceRoot":"","sources":["../../src/pages/Routes.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,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AU;YAC/C,SAAS,EAAE,oBAAC,aAAa,OAAG;SAC5B,CAAC,CAAC;IACJ,CAAC;CACD,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
@@ -12,6 +12,7 @@ const Notifications = (props) => {
|
|
12
12
|
const layout = useLayout();
|
13
13
|
const [error, setError] = useState(0);
|
14
14
|
useEffect(() => {
|
15
|
+
/** 当 status 是 redirect 时,需要 load notification 然后选择正确的 menu */
|
15
16
|
if (match.params.status === "redirect" && match.params.active) {
|
16
17
|
store
|
17
18
|
.load(match.params.active)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/Space/components/Notifications/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE3D,OAAO,gBAAgB,MAAM,8DAA8D,CAAC;AAE5F,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,MAAM,aAAa,GAAG,CAAC,KAAuB,EAAE,EAAE;IACjD,MAAM,KAAK,GAAG,aAAa,EAAuC,CAAC;IACnE,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IACrC,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAEtC,SAAS,CAAC,GAAG,EAAE;QACd,IAAI,KAAK,CAAC,MAAM,CAAC,MAAM,KAAK,UAAU,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AE,IAAI,CAAC,EAAE,EAAE,CAAC,CAC1E,CAAC;QACH,CAAC,EACD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;YAClB,WAAW,CAAC,GAAG,EAAE;gBAChB,KAAK,CAAC,KAAK,CAAC,kBAAkB,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC;YAC7D,CAAC,CAAC,CAAC;QACJ,CAAC,EACD,mBAAmB,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;YAClC,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QACvD,CAAC,GACA,CACF,CACI,CACN,CACD,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { generatePath, useRouteMatch } from "react-router";
|
2
|
+
import MyWorkspaces from "../../../../modules/workspace/components/MyWorkspaces";
|
3
|
+
import React from "react";
|
4
|
+
import { observe } from "@voplus/morpho-ui";
|
5
|
+
import { useLayout } from "@voplus/morpho-data";
|
6
|
+
const Workspaces = () => {
|
7
|
+
const match = useRouteMatch();
|
8
|
+
const layout = useLayout();
|
9
|
+
return observe(() => React.createElement("div", { className: "my-workspaces" },
|
10
|
+
React.createElement(MyWorkspaces
|
11
|
+
// active={match.params.active}
|
12
|
+
, {
|
13
|
+
// active={match.params.active}
|
14
|
+
onClickItem: (item) => {
|
15
|
+
layout.history.push(generatePath(match.path, { active: item.id }));
|
16
|
+
} })));
|
17
|
+
};
|
18
|
+
export default Workspaces;
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/Space/components/Workspaces/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE3D,OAAO,YAAY,MAAM,uDAAuD,CAAC;AACjF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,UAAU,GAAG,GAAG,EAAE;IACpB,MAAM,KAAK,GAAG,aAAa,EAAuB,CAAC;IACnD,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,OAAO,OAAO,CAAC,GAAG,EAAE,CAChB,6BAAK,SAAS,EAAC,eAAe;QAC1B,oBAAC,YAAY;QACT,+BAA+B;;YAA/B,+BAA+B;YAC/B,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE;gBAClB,MAAM,CAAC,OAAO,CAAC,IAAI,CACf,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,CAChD,CAAC;YACN,CAAC,GACH,CACA,CACT,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
@@ -3,16 +3,17 @@ import { useNotificationListEffect } from "../../../../data/notification";
|
|
3
3
|
import { Menu } from "@voplus/antd";
|
4
4
|
import React, { useEffect, useMemo } from "react";
|
5
5
|
import { Redirect, Route, Switch, useRouteMatch } from "react-router";
|
6
|
-
import { faBallotCheck, faBell, faFolders, faProjectDiagram, faStickyNote, faTasks, } from "@fortawesome/pro-light-svg-icons";
|
6
|
+
import { faBallotCheck, faBell, faFolders, faLaptopHouse, faProjectDiagram, faStickyNote, faTasks, } from "@fortawesome/pro-light-svg-icons";
|
7
7
|
import { useApplicationContext, useTabItem } from "@voplus/morpho-data";
|
8
8
|
import { Badge } from "@voplus/antd";
|
9
|
-
import
|
9
|
+
import DocumentPage from "@voplus/morpho-document/es/pages/DocumentPage";
|
10
10
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
11
11
|
import MainContent from "@voplus/morpho-ui/es/components/layout/MainContent";
|
12
12
|
import Notifications from "../../components/Notifications";
|
13
13
|
import Scrollbars from "react-custom-scrollbars";
|
14
14
|
import { State } from "./state";
|
15
15
|
import SubMenu from "@voplus/antd/es/menu/SubMenu";
|
16
|
+
import Workspaces from "../../components/Workspaces";
|
16
17
|
import { observe } from "@voplus/morpho-ui";
|
17
18
|
import { runInAction } from "mobx";
|
18
19
|
import { useLayout } from "@voplus/morpho-data";
|
@@ -35,6 +36,7 @@ const MySpace = () => {
|
|
35
36
|
React.createElement(Scrollbars, { autoHide: true },
|
36
37
|
React.createElement(Menu, { mode: "inline", defaultSelectedKeys: ["/notifications/unread"], selectedKeys: state.menuKey, defaultOpenKeys: ["Notifications"], onClick: (key) => state.navigate(key.key) },
|
37
38
|
React.createElement(Menu.Item, { key: "/documents", icon: React.createElement(FAIcon, { icon: faFolders }) }, "My Documents"),
|
39
|
+
React.createElement(Menu.Item, { key: "/workspaces", icon: React.createElement(FAIcon, { icon: faLaptopHouse }) }, "My Workspaces"),
|
38
40
|
React.createElement(SubMenu, { key: "Notifications", icon: React.createElement(FAIcon, { icon: faBell }), title: "My Notifications" },
|
39
41
|
React.createElement(Menu.Item, { key: "/notifications/unread" },
|
40
42
|
"Unread",
|
@@ -64,7 +66,9 @@ const MySpace = () => {
|
|
64
66
|
React.createElement(Menu.Item, { key: "WorkUnscheduled" }, "Unscheduled(6)"))))),
|
65
67
|
React.createElement(Switch, null,
|
66
68
|
React.createElement(Route, { path: `${match.path}/documents` },
|
67
|
-
React.createElement(
|
69
|
+
React.createElement(DocumentPage, { root: user.info.folderId })),
|
70
|
+
React.createElement(Route, { path: `${match.path}/workspaces/:active?` },
|
71
|
+
React.createElement(Workspaces, null)),
|
68
72
|
React.createElement(Route, { path: `${match.path}/notifications/:status/:active?` },
|
69
73
|
React.createElement(Notifications, { state: state })),
|
70
74
|
React.createElement(Redirect, { to: `${match.path}/notifications/unread` })))));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/Space/pages/MySpace/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAiB,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACzF,OAAO,EAAE,IAAI,EAAY,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,EAAE,SAAS,EAAmB,OAAO,EAAY,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,EACN,aAAa,EACb,MAAM,EACN,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,OAAO,GACP,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAExE,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/Space/pages/MySpace/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAiB,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACzF,OAAO,EAAE,IAAI,EAAY,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,EAAE,SAAS,EAAmB,OAAO,EAAY,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,EACN,aAAa,EACb,MAAM,EACN,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,OAAO,GACP,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAExE,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,YAAY,MAAM,+CAA+C,CAAC;AACzE,OAAO,EAAE,eAA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,GAAI,CAC9C,CAGI,CACd,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import { Button,
|
1
|
+
import { Button, Form, Input, Modal, Tabs } from "@voplus/antd";
|
2
2
|
import React, { useState } from "react";
|
3
3
|
import AvatarList from "@voplus/morpho-document/es/components/AvatarList";
|
4
|
-
import FormSubmitView from "@voplus/morpho-form/es/pages/Edit";
|
5
4
|
import WorkTypeSelect from "../../../WorkType/WorkTypeSelect";
|
6
5
|
import classnames from "classnames";
|
7
6
|
import { observe } from "@voplus/morpho-ui";
|
@@ -28,14 +27,11 @@ const NewWorkDialog = (props) => {
|
|
28
27
|
React.createElement(Form.Item, { name: "Note", label: "Note" },
|
29
28
|
React.createElement(Input.TextArea, { rows: 3, placeholder: "Add a Note", disabled: loading })),
|
30
29
|
React.createElement(Form.Item, { className: "new-work-form_btn" },
|
31
|
-
React.createElement(Button, { type: "primary", htmlType: "submit", loading: loading }, "Create"))))
|
32
|
-
(workType === null || workType === void 0 ? void 0 : workType.newFormSchemaId) && (React.createElement(Tabs.TabPane, { tab: "RequestForm", key: "RequestForm" },
|
33
|
-
React.createElement(Checkbox, null, "Request Form"),
|
34
|
-
React.createElement(FormSubmitView, { id: workType.newFormSchemaId })))))));
|
30
|
+
React.createElement(Button, { type: "primary", htmlType: "submit", loading: loading }, "Create"))))))));
|
35
31
|
/** submit work */
|
36
32
|
async function onFinish(values) {
|
37
33
|
setLoading(true);
|
38
|
-
const r = await works.create({ data: { ...values
|
34
|
+
const r = await works.create({ data: { ...values }, error: "message" });
|
39
35
|
setLoading(false);
|
40
36
|
if (finish)
|
41
37
|
finish(r);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/Work/components/NewWorkDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources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