@voplus/morpho-workspace 1.2.6 → 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/notification/{NotificaitonStore.d.ts → NotificationStore.d.ts} +8 -8
- package/es/data/notification/{NotificaitonStore.js → NotificationStore.js} +10 -7
- package/es/data/notification/NotificationStore.js.map +1 -0
- package/es/data/notification/hooks.d.ts +4 -4
- package/es/data/notification/hooks.js +8 -8
- package/es/data/notification/hooks.js.map +1 -1
- package/es/data/notification/index.d.ts +1 -1
- package/es/data/notification/index.js +1 -1
- package/es/data/notification/interfaces.d.ts +5 -3
- package/es/data/notification/types.d.ts +7 -7
- 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/board/components/SubDocumentList/index.js +2 -1
- package/es/modules/board/components/SubDocumentList/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/MentionNotificationCard/index.d.ts +10 -0
- package/es/modules/notification/components/MentionNotificationCard/index.js +31 -0
- package/es/modules/notification/components/MentionNotificationCard/index.js.map +1 -0
- package/es/modules/notification/components/MentionNotificationCard/index.less +23 -0
- package/es/modules/notification/components/NotificationList/index.d.ts +14 -5
- package/es/modules/notification/components/NotificationList/index.js +60 -17
- package/es/modules/notification/components/NotificationList/index.js.map +1 -1
- package/es/modules/notification/components/NotificationList/index.less +20 -2
- 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.d.ts +6 -0
- package/es/pages/Space/components/Notifications/index.js +38 -0
- package/es/pages/Space/components/Notifications/index.js.map +1 -0
- 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 +49 -42
- package/es/pages/Space/pages/MySpace/index.js.map +1 -1
- package/es/pages/Space/pages/MySpace/index.less +20 -34
- package/es/pages/Space/pages/MySpace/state.d.ts +15 -16
- package/es/pages/Space/pages/MySpace/state.js +38 -74
- package/es/pages/Space/pages/MySpace/state.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/MySpace.d.ts +0 -7
- package/es/MySpace.js +0 -14
- package/es/MySpace.js.map +0 -1
- package/es/data/notification/NotificaitonStore.js.map +0 -1
- package/es/modules/notification/NotificationRoutes.d.ts +0 -17
- package/es/modules/notification/NotificationRoutes.js +0 -29
- package/es/modules/notification/NotificationRoutes.js.map +0 -1
- package/es/modules/notification/components/MentionNotificaitonCard/index.d.ts +0 -9
- package/es/modules/notification/components/MentionNotificaitonCard/index.js +0 -27
- package/es/modules/notification/components/MentionNotificaitonCard/index.js.map +0 -1
- package/es/modules/notification/components/MentionNotificaitonCard/index.less +0 -16
- package/es/modules/notification/pages/NotificationListView/index.d.ts +0 -6
- package/es/modules/notification/pages/NotificationListView/index.js +0 -17
- package/es/modules/notification/pages/NotificationListView/index.js.map +0 -1
- package/es/pages/Space/components/Documents/index.js +0 -41
- package/es/pages/Space/components/Documents/index.js.map +0 -1
- package/es/pages/Space/components/Documents/index.less +0 -9
@@ -0,0 +1,17 @@
|
|
1
|
+
import { useWorkspaceStore } from "../WorkSpaceStore";
|
2
|
+
import { useEffect } from "react";
|
3
|
+
/** React hook to call action when a new workspace has been created. */
|
4
|
+
export const useOnNewWorkspace = (action) => {
|
5
|
+
const store = useWorkspaceStore();
|
6
|
+
const onNewWorkspace = (store, doc) => {
|
7
|
+
console.log(`onNewWorkspace - ${doc.id} ${doc.name}`);
|
8
|
+
action(store, doc);
|
9
|
+
};
|
10
|
+
useEffect(() => {
|
11
|
+
store.WorkspaceCreatedEvent.subscribe(onNewWorkspace);
|
12
|
+
return () => {
|
13
|
+
store.WorkspaceCreatedEvent.unsubscribe(onNewWorkspace);
|
14
|
+
};
|
15
|
+
});
|
16
|
+
};
|
17
|
+
//# sourceMappingURL=useOnNewWorkspace.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useOnNewWorkspace.js","sourceRoot":"","sources":["../../../../src/data/workspace/workspace-events/useOnNewWorkspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAGtE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,uEAAuE;AACvE,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,MAAwD,EAAE,EAAE;IAC7F,MAAM,KAAK,GAAG,iBAAiB,EAAE,CAAC;IAClC,MAAM,cAAc,GAAG,CAAC,KAAqB,EAAE,GAAe,EAAE,EAAE;QACjE,OAAO,CAAC,GAAG,CAAC,oBAAoB,GAAG,CAAC,EAAE,IAAI,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;QACtD,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACpB,CAAC,CAAC;IACF,SAAS,CAAC,GAAG,EAAE;QACd,KAAK,CAAC,qBAAqB,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;QACtD,OAAO,GAAG,EAAE;YACX,KAAK,CAAC,qBAAqB,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;QACzD,CAAC,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { ApiEndPoint } from "@voplus/api";
|
2
|
+
import { CountedMap, Store } from "@voplus/morpho-data";
|
3
|
+
import { IWorkType, LoadWorkTypeOptions, WorkTypeCreateOptions, WorkTypeEditOptions } from ".";
|
4
|
+
import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
|
5
|
+
/** Corporate store supply backend functions. */
|
6
|
+
export declare class WorkTypeStore extends Store {
|
7
|
+
readonly endpoint: ApiEndPoint;
|
8
|
+
/** Name of the store */
|
9
|
+
readonly name: string;
|
10
|
+
constructor(endpoint: ApiEndPoint);
|
11
|
+
/** All currently used workType. */
|
12
|
+
readonly items: CountedMap<string, IWorkType>;
|
13
|
+
/** Create a new WorkType. */
|
14
|
+
create(options: WorkTypeCreateOptions): Promise<IWorkType>;
|
15
|
+
/** Edit an existing item on server. */
|
16
|
+
edit(id: string, options: WorkTypeEditOptions): Promise<void>;
|
17
|
+
loadList(options?: LoadDocumentListOptions): Promise<IWorkType[]>;
|
18
|
+
load(id: string, options: LoadWorkTypeOptions): Promise<IWorkType>;
|
19
|
+
}
|
20
|
+
/** 响应钩子检索 WorkTypeStore */
|
21
|
+
export declare const useWorkTypeStore: () => WorkTypeStore;
|
@@ -0,0 +1,75 @@
|
|
1
|
+
import { RequestBuilder } from "@voplus/api";
|
2
|
+
import { CountedMap, Store, useApplicationContext } from "@voplus/morpho-data";
|
3
|
+
import { observable } from "mobx";
|
4
|
+
const StoreName = "WorkTypeStore";
|
5
|
+
/** Corporate store supply backend functions. */
|
6
|
+
export class WorkTypeStore extends Store {
|
7
|
+
constructor(endpoint) {
|
8
|
+
super();
|
9
|
+
Object.defineProperty(this, "endpoint", {
|
10
|
+
enumerable: true,
|
11
|
+
configurable: true,
|
12
|
+
writable: true,
|
13
|
+
value: endpoint
|
14
|
+
});
|
15
|
+
/** Name of the store */
|
16
|
+
Object.defineProperty(this, "name", {
|
17
|
+
enumerable: true,
|
18
|
+
configurable: true,
|
19
|
+
writable: true,
|
20
|
+
value: StoreName
|
21
|
+
});
|
22
|
+
/** All currently used workType. */
|
23
|
+
Object.defineProperty(this, "items", {
|
24
|
+
enumerable: true,
|
25
|
+
configurable: true,
|
26
|
+
writable: true,
|
27
|
+
value: new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }))
|
28
|
+
});
|
29
|
+
}
|
30
|
+
/** Create a new WorkType. */
|
31
|
+
async create(options) {
|
32
|
+
// invariant(options.name, "Name cannot be empty.");
|
33
|
+
return await this.action(async () => {
|
34
|
+
const r = await this.endpoint.post(`/api/worktypes/create`, new RequestBuilder().json(options.data));
|
35
|
+
const t = (await r.json());
|
36
|
+
return t;
|
37
|
+
}, options);
|
38
|
+
}
|
39
|
+
/** Edit an existing item on server. */
|
40
|
+
async edit(id, options) {
|
41
|
+
await this.action(async () => {
|
42
|
+
const r = await this.endpoint.post(`/api/worktypes/${id}`, new RequestBuilder().json(options.data));
|
43
|
+
const t = await r.json();
|
44
|
+
this.items.overwrite(t.id, t);
|
45
|
+
}, options);
|
46
|
+
}
|
47
|
+
async loadList(options) {
|
48
|
+
let query = "";
|
49
|
+
if (options === null || options === void 0 ? void 0 : options.Includes) {
|
50
|
+
query = query.concat(`includes=${options.Includes}`);
|
51
|
+
}
|
52
|
+
if (query)
|
53
|
+
query = "?".concat(query);
|
54
|
+
const r = await this.endpoint.post(`/api/worktypes${query}`, new RequestBuilder().json(options ? options : { Filters: [] }));
|
55
|
+
return (await r.json());
|
56
|
+
}
|
57
|
+
async load(id, options) {
|
58
|
+
let query = "";
|
59
|
+
if (options.includes)
|
60
|
+
query = query.concat(`includes=${options.includes}`);
|
61
|
+
if (query)
|
62
|
+
query = "?".concat(query);
|
63
|
+
const r = await this.endpoint.get(`/api/worktypes/${id}${query}`);
|
64
|
+
return (await r.json());
|
65
|
+
}
|
66
|
+
}
|
67
|
+
/** 响应钩子检索 WorkTypeStore */
|
68
|
+
export const useWorkTypeStore = () => {
|
69
|
+
const context = useApplicationContext();
|
70
|
+
if (!context.getStore(StoreName)) {
|
71
|
+
context.addStore(new WorkTypeStore(context.api.currentEndPoint));
|
72
|
+
}
|
73
|
+
return context.getStore(StoreName);
|
74
|
+
};
|
75
|
+
//# sourceMappingURL=WorkTypeStore.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WorkTypeStore.js","sourceRoot":"","sources":["../../../src/data/worktype/WorkTypeStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CA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AAC;QAClE,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAAc,CAAC;IACtC,CAAC;CACD;AAED,2BAA2B;AAC3B,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE;IACpC,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE;QACjC,OAAO,CAAC,QAAQ,CAAC,IAAI,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC;KACjE;IACD,OAAO,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAmB,CAAC;AACtD,CAAC,CAAC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { IWorkType, LoadWorkTypeOptions } from ".";
|
2
|
+
import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
|
3
|
+
import { ListDataContextState } from "@voplus/morpho-ui/es/data";
|
4
|
+
/** React hook to retrieve a WorkType
|
5
|
+
* @param {string} id - id of the WorkType
|
6
|
+
* @param {LoadWorkTypeOptions} options - options
|
7
|
+
*/
|
8
|
+
export declare const useWorkType: (id: string, options?: LoadWorkTypeOptions | undefined) => IWorkType;
|
9
|
+
export declare const useWorkTypeListEffect: (list: ListDataContextState<IWorkType> | null, effect: (list: any[]) => void, options?: LoadDocumentListOptions | undefined) => void;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { useWorkTypeStore } from ".";
|
2
|
+
import { useDocumentListLoaderEffect, } from "@voplus/morpho-document-core";
|
3
|
+
import { useLoadCountedMapItem } from "@voplus/morpho-data";
|
4
|
+
/** React hook to retrieve a WorkType
|
5
|
+
* @param {string} id - id of the WorkType
|
6
|
+
* @param {LoadWorkTypeOptions} options - options
|
7
|
+
*/
|
8
|
+
export const useWorkType = (id, options) => {
|
9
|
+
options = options ? options : {};
|
10
|
+
const store = useWorkTypeStore();
|
11
|
+
// const documents = useDocumentStore();
|
12
|
+
return useLoadCountedMapItem(id, store.items, () => store.load(id, options), options);
|
13
|
+
};
|
14
|
+
export const useWorkTypeListEffect = (list, effect, options) => {
|
15
|
+
const deps = options ? options : {};
|
16
|
+
const workType = useWorkTypeStore();
|
17
|
+
// Call useDocumentListEffect and ensure won't load twice for same loading options.
|
18
|
+
return useDocumentListLoaderEffect(list, effect, () => workType.loadList(options), [deps]);
|
19
|
+
};
|
20
|
+
//# sourceMappingURL=hook.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hook.js","sourceRoot":"","sources":["../../../src/data/worktype/hook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,gBAAgB,EAAE,MAAM,GAAG,CAAC;AACrE,OAAO,EAGN,2BAA2B,GAE3B,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAAU,EAAE,OAA6B,EAAE,EAAE;IACxE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA0B,CAAC;IAC1D,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,wCAAwC;IACxC,OAAO,qBAAqB,CAC3B,EAAE,EACF,KAAK,CAAC,KAAK,EACX,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAC9B,OAAO,CACM,CAAC;AAChB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACpC,IAA4C,EAC5C,MAA6B,EAC7B,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IAEpC,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC5F,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/worktype/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
import { ILoadable } from "@voplus/morpho-data";
|
2
|
+
export interface ICheckListItem {
|
3
|
+
key?: string;
|
4
|
+
/** checked of the CheckListItem. */
|
5
|
+
checked: boolean;
|
6
|
+
/** item name of the CheckListItem. */
|
7
|
+
item: string;
|
8
|
+
}
|
9
|
+
export interface ISequenceInfo {
|
10
|
+
format?: string;
|
11
|
+
startfrom?: number;
|
12
|
+
}
|
13
|
+
export interface IAuditAuditorInfo {
|
14
|
+
/** a value indicating whether audit is enabled */
|
15
|
+
/** the rate in percentage audit shall be performed */
|
16
|
+
auditRate?: number;
|
17
|
+
/** list of default work member */
|
18
|
+
auditors?: {
|
19
|
+
name: string;
|
20
|
+
id: string;
|
21
|
+
}[];
|
22
|
+
}
|
23
|
+
export interface IWorkType extends ILoadable {
|
24
|
+
/** id of the workType */
|
25
|
+
id: string;
|
26
|
+
sequence?: ISequenceInfo;
|
27
|
+
/** name of the workType */
|
28
|
+
name?: string;
|
29
|
+
/** description of the workType */
|
30
|
+
description?: string;
|
31
|
+
defaultDue?: number;
|
32
|
+
status?: string;
|
33
|
+
defaultFolder?: {
|
34
|
+
id: string;
|
35
|
+
name: string;
|
36
|
+
};
|
37
|
+
document?: {
|
38
|
+
id: string;
|
39
|
+
name: string;
|
40
|
+
};
|
41
|
+
requester?: {
|
42
|
+
name: string;
|
43
|
+
id: string;
|
44
|
+
}[];
|
45
|
+
reviewers?: {
|
46
|
+
name: string;
|
47
|
+
id: string;
|
48
|
+
}[];
|
49
|
+
accepters?: {
|
50
|
+
name: string;
|
51
|
+
id: string;
|
52
|
+
}[];
|
53
|
+
/** audit info of the workType */
|
54
|
+
audit?: IAuditAuditorInfo;
|
55
|
+
rejectReasons?: string[];
|
56
|
+
errorTypes?: string[];
|
57
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/data/worktype/interfaces.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
import { IWorkType } from "./interfaces";
|
2
|
+
import { LoadOptions } from "@voplus/morpho-data";
|
3
|
+
import { StoreActionOptions } from "@voplus/morpho-data";
|
4
|
+
/** Custom load contact options type */
|
5
|
+
export declare type LoadWorkTypeOptions = {
|
6
|
+
/** Comma separated include options e.g. path */
|
7
|
+
includes?: string;
|
8
|
+
} & LoadOptions<IWorkType>;
|
9
|
+
export declare type WorkTypeCreateDataOptions = {
|
10
|
+
/** workspaceId of the new workType */
|
11
|
+
workspaceId: string;
|
12
|
+
/** name of the new workType */
|
13
|
+
Name: string;
|
14
|
+
};
|
15
|
+
export declare type SequenceEditOptions = {
|
16
|
+
/** gets the format of the sequence */
|
17
|
+
Format?: string;
|
18
|
+
/** gets the reset value of the sequence */
|
19
|
+
/** gets the start value of the sequence */
|
20
|
+
StartFrom?: number;
|
21
|
+
};
|
22
|
+
export declare type WorkTypeCreateOptions = {
|
23
|
+
data: WorkTypeCreateDataOptions;
|
24
|
+
} & StoreActionOptions;
|
25
|
+
export interface WorkTypeEditDataOptions {
|
26
|
+
/** name of the edit workType. */
|
27
|
+
Name?: string;
|
28
|
+
/** gets the description of the work */
|
29
|
+
Description?: string;
|
30
|
+
/** gets the format of the work number */
|
31
|
+
Sequence?: SequenceEditOptions;
|
32
|
+
/** gets the default folder id of the work type */
|
33
|
+
DefaultFolderId?: string;
|
34
|
+
/** gets the document id of the work type */
|
35
|
+
DocumentId?: string;
|
36
|
+
/** gets the default due date in this number of days from work create date */
|
37
|
+
DefaultDue?: number;
|
38
|
+
/** gets the audit rate of the work type */
|
39
|
+
AuditRate?: number;
|
40
|
+
/** gets list of unit ids who can rquest this job */
|
41
|
+
RequesterIds?: string[];
|
42
|
+
/** gets a list of accepter ids */
|
43
|
+
AccepterIds?: string[];
|
44
|
+
/** gets a list of reviewer ids */
|
45
|
+
ReviewerIds?: string[];
|
46
|
+
/** gets list of auditor ids */
|
47
|
+
AuditorIds?: string[];
|
48
|
+
/** gets or the reject reasons of the work type */
|
49
|
+
RejectReasons?: string[];
|
50
|
+
/** gets or the error types of the work type */
|
51
|
+
ErrorTypes?: string[];
|
52
|
+
}
|
53
|
+
export declare type WorkTypeEditOptions = {
|
54
|
+
data: WorkTypeEditDataOptions;
|
55
|
+
} & StoreActionOptions;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/data/worktype/types.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export interface IWorkTypeCompletedWork {
|
2
|
+
/** date of the completed-works. */
|
3
|
+
date: string;
|
4
|
+
/** total of the completed-works */
|
5
|
+
total: number;
|
6
|
+
}
|
7
|
+
/** React hook to retrieve worktype summary report.
|
8
|
+
* @param {string} id - id of the dashboard
|
9
|
+
*/
|
10
|
+
export declare const useWorkTypeCompletedWork: (id: string, effect: (data: IWorkTypeCompletedWork[]) => void) => void;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { useDeepDepEffect } from "@voplus/morpho-data";
|
2
|
+
import { useDocumentStore } from "@voplus/morpho-document-core";
|
3
|
+
/** React hook to retrieve worktype summary report.
|
4
|
+
* @param {string} id - id of the dashboard
|
5
|
+
*/
|
6
|
+
export const useWorkTypeCompletedWork = (id, effect) => {
|
7
|
+
const documents = useDocumentStore();
|
8
|
+
return useDeepDepEffect(() => {
|
9
|
+
documents.endpoint.get(`/api/workspaces/reports/completed-works/${id}`).then((r) => {
|
10
|
+
r.json().then((result) => effect(result));
|
11
|
+
});
|
12
|
+
}, [id]);
|
13
|
+
};
|
14
|
+
//# sourceMappingURL=useWorkTypeCompletedWorkEffect.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useWorkTypeCompletedWorkEffect.js","sourceRoot":"","sources":["../../../src/data/worktype/useWorkTypeCompletedWorkEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAShE;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACvC,EAAU,EACV,MAAgD,EAC/C,EAAE;IACH,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IAErC,OAAO,gBAAgB,CAAC,GAAG,EAAE;QAC5B,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,2CAA2C,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;YAClF,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;QAC3C,CAAC,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AACV,CAAC,CAAC"}
|
@@ -78,9 +78,7 @@ const Board = (props) => {
|
|
78
78
|
frame.PreExtra = observe(() => (React.createElement(QuickSearch, { title: "Search", onChange: onSearch })));
|
79
79
|
frame.Extra = observe(() => (React.createElement(FilterOptionsContext.Provider, { value: list.filters },
|
80
80
|
React.createElement(SortViewDropdown, { onSort: (sort) => list.triggerSort(sort), className: "margin-left-10" }),
|
81
|
-
React.createElement(FilterView, { columns: [React.createElement(CreateDateFilter, { key: "createDateFilter" }),
|
82
|
-
React.createElement(FlagFilter, { key: "flagFilter" }),
|
83
|
-
React.createElement(DocumentStatusFilter, { key: "documentStatusFilter" }),], className: "margin-left-10" }))));
|
81
|
+
React.createElement(FilterView, { columns: [React.createElement(CreateDateFilter, { key: "createDateFilter" }), React.createElement(FlagFilter, { key: "flagFilter" }), React.createElement(DocumentStatusFilter, { key: "documentStatusFilter" }),], className: "margin-left-10" }))));
|
84
82
|
}
|
85
83
|
};
|
86
84
|
export default Board;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/Board/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,GACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACN,gBAAgB,EAChB,oBAAoB,EACpB,UAAU,GACV,MAAM,6CAA6C,CAAC;AAErD,OAAO,gBAAgB,MAAM,2EAA2E,CAAC;AACzG,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,WAAW,MAAM,sEAAsE,CAAC;AAC/F,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,OAAO,MAAM,uCAAuC,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MA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a,CAChF,CACD,CACD,CACoB,CACC,CAC7B,CAAC,CAAC;IAEH,+BAA+B;IAC/B,SAAS,QAAQ,CAAC,KAAa;QAC9B,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IACzB,CAAC;IAAA,CAAC;IAEF,SAAS,UAAU;QAClB,IAAI,CAAC,KAAK;YAAE,OAAO;QACnB,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,oBAAC,WAAW,IAAC,KAAK,EAAC,QAAQ,EAAC,QAAQ,EAAE,QAAQ,GAAI,CAAC,CAAC,CAAA;QACpF,KAAK,CAAC,KAAK,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,CAC3B,oBAAC,oBAAoB,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI,CAAC,OAAO;YACjD,oBAAC,gBAAgB,IAChB,MAAM,EAAE,CAAC,IAAqB,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EACzD,SAAS,EAAC,gBAAgB,GACzB;YACF,oBAAC,UAAU,IACV,OAAO,EAAE,CAAC,oBAAC,gBAAgB,IAAC,GAAG,EAAC,kBAAkB,GAAG
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/Board/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,GACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACN,gBAAgB,EAChB,oBAAoB,EACpB,UAAU,GACV,MAAM,6CAA6C,CAAC;AAErD,OAAO,gBAAgB,MAAM,2EAA2E,CAAC;AACzG,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,C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AC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC;gBACtC,KAAK,CAAC,KAAK,EAAE,CAAC;gBACd,KAAK,CAAC,cAAe,CAAC,OAAO,EAAE,CAAC,CAAC;aACjC;SACD;QAED,IAAI,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,QAAQ,MAAK,KAAK,CAAC,EAAE,EAAE;YACvC,MAAM,GAAG,GAAG;gBACX,EAAE,EAAE,WAAW,CAAC,EAAE;aAClB,CAAC;YACF,OAAO,CAAC,MAAM,CAAC,GAAgB,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;YACpD,KAAK,CAAC,KAAK,EAAE,CAAC;YACd,KAAK,CAAC,cAAe,CAAC,OAAO,EAAE,CAAC,CAAC;SACjC;IACF,CAAC;IAED,kCAAkC;IAClC,SAAS,OAAO;QACf,MAAM,GAAG,GAAa,EAAE,CAAC;QACzB,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACxC,OAAO,EAAE,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;IAC7C,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC,eAAe,CAAC,CAAC"}
|
@@ -41,7 +41,7 @@ const AgendaItem = (props) => {
|
|
41
41
|
React.createElement("span", { className: classnames("agenda-item-index", { show: multiple || state.readonly }) }, `${(index || 0) + 1}.`))),
|
42
42
|
React.createElement(DocumentHeader, { id: id, clickNameEffect: "edit", autoSaveName: true, flagVisible: false, statusVisible: false, preVisible: false, tagsVisible: false, tools: React.createElement(ToolBar, { id: id }, !state.readonly && (React.createElement(Tooltip, { title: "Edit agenda description" },
|
43
43
|
React.createElement(Button, { size: "small", shape: "circle", onClick: () => runInAction(() => {
|
44
|
-
state.description = agenda.description || "";
|
44
|
+
// state.description = agenda.description || "";
|
45
45
|
state.desVisible = true;
|
46
46
|
}) },
|
47
47
|
React.createElement(FAIcon, { icon: faCommentAltEdit, color: "#666" }))))), quickDataBarVisible: false }),
|
@@ -68,7 +68,7 @@ const AgendaItem = (props) => {
|
|
68
68
|
state.desVisible && (React.createElement(Modal, { title: `${agenda.name} Description`, visible: true, bodyStyle: { padding: "0", height: "50vh" }, okText: "Save", onCancel: () => runInAction(() => (state.desVisible = false)), confirmLoading: state.loading, onOk: () => state.onEdit({
|
69
69
|
Description: state.description,
|
70
70
|
}) },
|
71
|
-
React.createElement(ProseMirror, { toolbarProps: { sticky: false }, defaultHtml:
|
71
|
+
React.createElement(ProseMirror, { toolbarProps: { sticky: false }, defaultHtml: agenda.description || "", scroll: true, className: "agenda-description_mirror", onChange: (opt) => runInAction(() => (state.description =
|
72
72
|
opt.editor.dom.innerHTML === "<p><br></p>" ? "" : opt.editor.dom.innerHTML)) }))))));
|
73
73
|
function onFoldIconClick() {
|
74
74
|
state.toggleExpand();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/meeting/components/AgendaList/AgendaItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAmB,KAAK,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EACN,WAAW,EACX,YAAY,EACZ,MAAM,EACN,gBAAgB,GAChB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,cAAc,M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G,MAAM,CAAC,IAAI,cAAc,EACnC,OAAO,QACP,SAAS,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,EAC3C,MAAM,EAAC,MAAM,EACb,QAAQ,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,CAAC,EAC7D,cAAc,EAAE,KAAK,CAAC,OAAO,EAC7B,IAAI,EAAE,GAAG,EAAE,CACV,KAAK,CAAC,MAAM,CAAC;gBACZ,WAAW,EAAE,KAAK,CAAC,WAAW;aAC9B,CAAC;YAGH,oBAAC,WAAW,IACX,YAAY,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAC/B,WAAW,EAAE,MAAM,CAAC,WAAW,IAAI,EAAE,EACrC,MAAM,QACN,SAAS,EAAC,2BAA2B,EACrC,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CACjB,WAAW,CACV,GAAG,EAAE,CACJ,CAAC,KAAK,CAAC,WAAW;oBACjB,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,KAAK,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,CAC7E,GAED,CACK,CACR,CACI,CACN,CAAC,CAAC;IAEH,SAAS,eAAe;QACvB,KAAK,CAAC,YAAY,EAAE,CAAC;IACtB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,UAAU,CAAC"}
|
@@ -72,8 +72,7 @@ const MeetingList = (props) => {
|
|
72
72
|
frame.Extra = observe(() => (React.createElement(FilterOptionsContext.Provider, { value: list.filters },
|
73
73
|
quickSearch ? undefined : (React.createElement(QuickSearch, { title: "Search", className: "view-title", onChange: onQuickSearch })),
|
74
74
|
React.createElement(SortViewDropdown, { onSort: (sort) => list.triggerSort(sort), className: "margin-left-10" }),
|
75
|
-
React.createElement(FilterView, { columns: [React.createElement(AssigneeViewFilter, { key: "AssigneeViewFilter" }),
|
76
|
-
React.createElement(StartDateFilter, { key: "StartDateFilter", title: "MeetingDate" }),], className: "margin-left-10" }),
|
75
|
+
React.createElement(FilterView, { columns: [React.createElement(AssigneeViewFilter, { key: "AssigneeViewFilter" }), React.createElement(StartDateFilter, { key: "StartDateFilter", title: "MeetingDate" }),], className: "margin-left-10" }),
|
77
76
|
React.createElement(AddForm, { formViewTitle: "Add Meeting", formView: React.createElement(NewMeetingForm, { parentId: parentId, simple: true }), onAdd: (addFormElement) => asideContext === null || asideContext === void 0 ? void 0 : asideContext.openAside(addFormElement, { span: 12 }), onClose: () => asideContext === null || asideContext === void 0 ? void 0 : asideContext.closeAside() }))));
|
78
77
|
}
|
79
78
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AAEtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,WAAW,MAAM,8BAA8B,CAAC;AACvD,OAAO,qBAAqB,MAAM,wCAAwC,CAAC;AAC3E,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,WAAW,MAAM,sEAAsE,CAAC;AAE/F,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,E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B;YACF,oBAAC,UAAU,IACV,OAAO,EAAE,CAAC,oBAAC,kBAAkB,IAAC,GAAG,EAAC,oBAAoB,GAAG,EACzD,oBAAC,eAAe,IAAC,GAAG,EAAC,iBAAiB,EAAC,KAAK,EAAC,aAAa,GAAG,EAAE,EAC/D,SAAS,EAAC,gBAAgB,GACzB;YACF,oBAAC,OAAO,IACP,aAAa,EAAC,aAAa,EAC3B,QAAQ,EAAE,oBAAC,cAAc,IAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,SAAG,EACvD,KAAK,EAAE,CAAC,cAAc,EAAE,EAAE,CAAC,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,SAAS,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,EAChF,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,UAAU,EAAE,GACxC,CAC6B,CAChC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { NotificationStatus } from "../../../../data/notification";
|
2
|
+
import React from "react";
|
3
|
+
declare const MentionNotificationCard: (props: {
|
4
|
+
id: string;
|
5
|
+
active?: boolean | undefined;
|
6
|
+
className?: string | undefined;
|
7
|
+
onClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
8
|
+
onChangeStatus?: ((state: NotificationStatus) => void) | undefined;
|
9
|
+
}) => JSX.Element;
|
10
|
+
export default MentionNotificationCard;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { Button, Space } from "@voplus/antd";
|
2
|
+
import { useNotification, } from "../../../../data/notification";
|
3
|
+
import Card from "@voplus/morpho-ui/es/controls/Card";
|
4
|
+
import ProseMirrorViewer from "@voplus/morpho-text/es/controls/ProseMirror/Viewer";
|
5
|
+
import React from "react";
|
6
|
+
import classnames from "classnames";
|
7
|
+
import moment from "moment";
|
8
|
+
import { observe } from "@voplus/morpho-ui";
|
9
|
+
import styles from "./index.less";
|
10
|
+
const MentionNotificationCard = (props) => {
|
11
|
+
const notification = useNotification(props.id);
|
12
|
+
return observe(() => (React.createElement(Card, { className: classnames(styles["notification-card"], props.className, { active: props.active }), bordered: true,
|
13
|
+
//hoverShadow
|
14
|
+
shadow: true },
|
15
|
+
React.createElement("div", { onClick: props.onClick },
|
16
|
+
React.createElement("h3", null, "Mention Notification"),
|
17
|
+
React.createElement(ProseMirrorViewer, { html: notification.content.content }),
|
18
|
+
React.createElement("div", { className: "notification-footer" },
|
19
|
+
React.createElement("div", { className: "notification-date" }, moment(notification.createDate).format("DD MMM yyyy")),
|
20
|
+
React.createElement("div", { className: "notification-btn" },
|
21
|
+
React.createElement(Space, null,
|
22
|
+
notification.status !== "Dismissed" && (React.createElement(Button, { onClick: (ev) => onChangeStatus(ev, "Dismissed") }, "Dismiss")),
|
23
|
+
notification.status !== "Later" && notification.status !== "Dismissed" && (React.createElement(Button, { onClick: (ev) => onChangeStatus(ev, "Later") }, "Later")))))))));
|
24
|
+
function onChangeStatus(ev, status) {
|
25
|
+
var _a;
|
26
|
+
(_a = props.onChangeStatus) === null || _a === void 0 ? void 0 : _a.call(props, status);
|
27
|
+
ev.stopPropagation();
|
28
|
+
}
|
29
|
+
};
|
30
|
+
export default MentionNotificationCard;
|
31
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/MentionNotificationCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAGN,eAAe,GACf,MAAM,+BAA+B,CAAC;AAEvC,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC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,CAAC,EAAO,EAAE,MAA0B;;QAC1D,MAAA,KAAK,CAAC,cAAc,+CAApB,KAAK,EAAkB,MAAM,CAAC,CAAC;QAC/B,EAAE,CAAC,eAAe,EAAE,CAAC;IACtB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
.notification-card {
|
2
|
+
cursor: pointer;
|
3
|
+
margin: 10px 30px 10px 30px;
|
4
|
+
&:hover {
|
5
|
+
border: 1px solid rgb(210, 210, 210);
|
6
|
+
box-shadow: 2px 2px 5px #ddddf7;
|
7
|
+
}
|
8
|
+
&:global(.active) {
|
9
|
+
border: 1px solid rgb(210, 210, 210);
|
10
|
+
box-shadow: 2px 2px 5px #ddddf7;
|
11
|
+
}
|
12
|
+
:global {
|
13
|
+
.notification-footer {
|
14
|
+
margin-top: 20px;
|
15
|
+
display: flex;
|
16
|
+
justify-content: space-between;
|
17
|
+
align-items: center;
|
18
|
+
.notification-date {
|
19
|
+
color: gray;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
@@ -1,7 +1,16 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { FilterOption } from "@voplus/morpho-data";
|
3
1
|
import "./index.less";
|
4
|
-
|
5
|
-
|
2
|
+
import { INotification, NotificationStatus } from "../../../../data/notification";
|
3
|
+
import React from "react";
|
4
|
+
declare const NotificationList: (props: {
|
5
|
+
/** status of notifications shown on the list. */
|
6
|
+
status: string;
|
7
|
+
/** The current active item */
|
8
|
+
active?: string | undefined;
|
9
|
+
/** Call back when an item has been clicked on the list. */
|
10
|
+
onClickItem?: ((ev: React.MouseEvent<HTMLDivElement, MouseEvent>, item: INotification) => void) | undefined;
|
11
|
+
/** Call back when received total number of notifications. */
|
12
|
+
onTotal?: ((total: number) => void) | undefined;
|
13
|
+
/** Call back when an item's status changed. */
|
14
|
+
onItemStatusChanged?: ((old: NotificationStatus, item: INotification) => void) | undefined;
|
6
15
|
}) => JSX.Element;
|
7
|
-
export default
|
16
|
+
export default NotificationList;
|