@voplus/morpho-workspace 1.3.63 → 1.3.65
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/data/task/types.d.ts +1 -0
- package/es/data/work/interfaces.d.ts +1 -0
- package/es/{pages → modules}/Routes.js +4 -4
- package/es/modules/Routes.js.map +1 -0
- package/es/modules/meeting/components/AgendaList/AgendaContext.d.ts +28 -0
- package/es/modules/meeting/components/AgendaList/AgendaContext.js +81 -0
- package/es/modules/meeting/components/AgendaList/AgendaContext.js.map +1 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +29 -27
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.less +39 -36
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.d.ts +4 -12
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.js +7 -73
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.less +1 -0
- package/es/modules/meeting/components/AgendaList/index.js +27 -27
- package/es/modules/meeting/components/AgendaList/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/index.less +35 -0
- package/es/modules/meeting/components/MeetingProperties/index.js +1 -1
- package/es/modules/meeting/components/MeetingProperties/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingDefaultView/index.js +1 -1
- package/es/modules/meeting/pages/MeetingDefaultView/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingDefaultView/index.less +4 -1
- package/es/modules/project/ProjectDefaultView/index.js.map +1 -0
- package/es/modules/project/data/ProjectStore.js.map +1 -0
- package/es/modules/project/data/hook.js.map +1 -0
- package/es/modules/project/data/index.js.map +1 -0
- package/es/modules/project/data/interfaces.js.map +1 -0
- package/es/modules/space/components/Notes/ColorSelect/index.js.map +1 -0
- package/es/modules/space/components/Notes/NewNoteDialog/index.js.map +1 -0
- package/es/modules/space/components/Notes/TextNoteCard/index.js.map +1 -0
- package/es/modules/space/components/Notes/TextNoteCard/state.js.map +1 -0
- package/es/modules/space/components/Notes/index.js.map +1 -0
- package/es/modules/space/components/Notifications/index.js.map +1 -0
- package/es/modules/space/components/Projects/index.js.map +1 -0
- package/es/modules/space/components/TaskMenu/index.js.map +1 -0
- package/es/modules/space/components/TaskMenu/state.js.map +1 -0
- package/es/modules/space/components/Tasks/index.js.map +1 -0
- package/es/modules/space/components/WorkMenu/index.js.map +1 -0
- package/es/modules/space/components/WorkMenu/state.js.map +1 -0
- package/es/modules/space/components/Works/index.js.map +1 -0
- package/es/modules/space/components/Workspaces/index.js.map +1 -0
- package/es/modules/space/pages/MySpace/index.js.map +1 -0
- package/es/modules/space/pages/MySpace/state.js.map +1 -0
- package/es/modules/tasks/components/TaskProperties/index.js +16 -2
- package/es/modules/tasks/components/TaskProperties/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskDefaultView/index.js +1 -1
- package/es/modules/tasks/pages/TaskDefaultView/index.js.map +1 -1
- package/es/modules/work/components/NewWorkForm/index.d.ts +1 -0
- package/es/modules/work/components/NewWorkForm/index.js +9 -2
- package/es/modules/work/components/NewWorkForm/index.js.map +1 -1
- package/es/modules/work/components/NewWorkForm/state.d.ts +2 -0
- package/es/modules/work/components/NewWorkForm/state.js +1 -0
- package/es/modules/work/components/NewWorkForm/state.js.map +1 -1
- package/es/modules/work/components/RelatedWorkList/index.d.ts +5 -0
- package/es/modules/work/components/RelatedWorkList/index.js +8 -0
- package/es/modules/work/components/RelatedWorkList/index.js.map +1 -0
- package/es/modules/work/components/WorkList/index.d.ts +31 -18
- package/es/modules/work/components/WorkList/index.js +10 -4
- package/es/modules/work/components/WorkList/index.js.map +1 -1
- package/es/modules/work/components/WorkTabs/index.js +4 -1
- package/es/modules/work/components/WorkTabs/index.js.map +1 -1
- package/es/modules/work/components/WorkTabs/index.less +7 -1
- package/es/modules/work/components/WorksProperties/index.d.ts +1 -0
- package/es/modules/work/components/WorksProperties/index.js +14 -13
- package/es/modules/work/components/WorksProperties/index.js.map +1 -1
- package/es/modules/work/pages/WorkDefaultView/index.js +2 -2
- package/es/modules/work/pages/WorkDefaultView/index.js.map +1 -1
- package/es/modules/{worktype → work/work-type}/components/NewTypeForm/index.js +1 -1
- package/es/modules/work/work-type/components/NewTypeForm/index.js.map +1 -0
- package/es/modules/work/work-type/components/NewTypeForm/index.less +8 -0
- package/es/modules/work/work-type/components/NewTypeForm/state.js.map +1 -0
- package/es/modules/work/work-type/components/RepeatTab/index.js.map +1 -0
- package/es/modules/{worktype → work/work-type}/components/WorkTypeCard/index.js +4 -4
- package/es/modules/work/work-type/components/WorkTypeCard/index.js.map +1 -0
- package/es/modules/{worktype → work/work-type}/components/WorkTypeCardList/index.d.ts +1 -1
- package/es/modules/{worktype → work/work-type}/components/WorkTypeCardList/index.js +2 -2
- package/es/modules/work/work-type/components/WorkTypeCardList/index.js.map +1 -0
- package/es/modules/{worktype → work/work-type}/components/WorkTypeItem/index.js +1 -1
- package/es/modules/work/work-type/components/WorkTypeItem/index.js.map +1 -0
- package/es/modules/{worktype → work/work-type}/components/WorkTypeList/index.d.ts +1 -1
- package/es/modules/{worktype → work/work-type}/components/WorkTypeList/index.js +3 -3
- package/es/modules/work/work-type/components/WorkTypeList/index.js.map +1 -0
- package/es/modules/{worktype → work/work-type}/components/WorkTypeProperties/index.js +1 -1
- package/es/modules/work/work-type/components/WorkTypeProperties/index.js.map +1 -0
- package/es/modules/{worktype → work/work-type}/components/WorkTypeProperties/state.d.ts +1 -1
- package/es/modules/work/work-type/components/WorkTypeProperties/state.js.map +1 -0
- package/es/modules/{worktype → work/work-type}/components/WorkTypePropertiesTabs/index.js +1 -1
- package/es/modules/work/work-type/components/WorkTypePropertiesTabs/index.js.map +1 -0
- package/es/modules/{worktype → work/work-type}/components/WorkTypePropertiesView/index.js +1 -1
- package/es/modules/work/work-type/components/WorkTypePropertiesView/index.js.map +1 -0
- package/es/modules/{worktype → work/work-type}/components/WorkTypePropertiesView/state.d.ts +1 -1
- package/es/modules/{worktype → work/work-type}/components/WorkTypePropertiesView/state.js +1 -1
- package/es/modules/work/work-type/components/WorkTypePropertiesView/state.js.map +1 -0
- package/es/modules/{worktype → work/work-type}/components/WorkTypeQA/index.js +5 -5
- package/es/modules/work/work-type/components/WorkTypeQA/index.js.map +1 -0
- package/es/modules/{worktype → work/work-type}/components/WorkTypeQA/state.d.ts +1 -1
- package/es/modules/work/work-type/components/WorkTypeQA/state.js.map +1 -0
- package/es/{pages/WorkType → modules/work/work-type/components}/WorkTypeSelect/index.d.ts +1 -1
- package/es/{pages/WorkType → modules/work/work-type/components}/WorkTypeSelect/index.js +2 -2
- package/es/modules/work/work-type/components/WorkTypeSelect/index.js.map +1 -0
- package/es/modules/work/work-type/components/WorkTypeStats/index.js.map +1 -0
- package/es/modules/work/work-type/components/WorkTypeStats/state.js.map +1 -0
- package/es/modules/{worktype → work/work-type}/components/WorkTypeTabs/index.js +3 -3
- package/es/modules/work/work-type/components/WorkTypeTabs/index.js.map +1 -0
- package/es/modules/work/work-type/components/WorkTypeTabs/index.less +27 -0
- package/es/modules/{worktype → work/work-type}/controls/WorkTypeMenu/index.js +1 -1
- package/es/modules/work/work-type/controls/WorkTypeMenu/index.js.map +1 -0
- package/es/modules/{worktype → work/work-type}/controls/WorktypeCompleteWorksChart/index.js +4 -4
- package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.js.map +1 -0
- package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/state.js.map +1 -0
- package/es/modules/{worktype → work/work-type}/pages/WorkTypeDefaultView/index.js +3 -3
- package/es/modules/work/work-type/pages/WorkTypeDefaultView/index.js.map +1 -0
- package/es/modules/workspace/components/WorkspaceTabs/index.js +1 -1
- package/es/modules/workspace/components/WorkspaceTabs/index.js.map +1 -1
- package/es/modules/workspace/components/WorkspaceTabs/index.less +6 -1
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.js +2 -2
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.js.map +1 -1
- package/es/routes.js +1 -1
- package/es/routes.js.map +1 -1
- package/package.json +1 -1
- package/es/modules/workspaces/components/Access/index.d.ts +0 -6
- package/es/modules/workspaces/components/Access/index.js +0 -20
- package/es/modules/workspaces/components/Access/index.js.map +0 -1
- package/es/modules/workspaces/components/Account/index.d.ts +0 -6
- package/es/modules/workspaces/components/Account/index.js +0 -20
- package/es/modules/workspaces/components/Account/index.js.map +0 -1
- package/es/modules/workspaces/components/AddUsers/index.d.ts +0 -3
- package/es/modules/workspaces/components/AddUsers/index.js +0 -37
- package/es/modules/workspaces/components/AddUsers/index.js.map +0 -1
- package/es/modules/workspaces/components/AddUsers/index.less +0 -7
- package/es/modules/workspaces/components/ListHeard/index.d.ts +0 -5
- package/es/modules/workspaces/components/ListHeard/index.js +0 -23
- package/es/modules/workspaces/components/ListHeard/index.js.map +0 -1
- package/es/modules/workspaces/components/ListHeard/index.less +0 -33
- package/es/modules/workspaces/components/Status/index.d.ts +0 -6
- package/es/modules/workspaces/components/Status/index.js +0 -20
- package/es/modules/workspaces/components/Status/index.js.map +0 -1
- package/es/modules/workspaces/components/UsersList/index.d.ts +0 -3
- package/es/modules/workspaces/components/UsersList/index.js +0 -132
- package/es/modules/workspaces/components/UsersList/index.js.map +0 -1
- package/es/modules/workspaces/components/UsersList/index.less +0 -72
- package/es/modules/workspaces/pages/BoardView/index.d.ts +0 -3
- package/es/modules/workspaces/pages/BoardView/index.js +0 -70
- package/es/modules/workspaces/pages/BoardView/index.js.map +0 -1
- package/es/modules/workspaces/pages/BoardView/index.less +0 -57
- package/es/modules/workspaces/pages/ListView/index.d.ts +0 -3
- package/es/modules/workspaces/pages/ListView/index.js +0 -81
- package/es/modules/workspaces/pages/ListView/index.js.map +0 -1
- package/es/modules/workspaces/pages/ListView/index.less +0 -92
- package/es/modules/workspaces/pages/Users/index.d.ts +0 -3
- package/es/modules/workspaces/pages/Users/index.js +0 -38
- package/es/modules/workspaces/pages/Users/index.js.map +0 -1
- package/es/modules/workspaces/pages/Users/index.less +0 -47
- package/es/modules/workspaces/pages/WorkSpacesRoutes.d.ts +0 -3
- package/es/modules/workspaces/pages/WorkSpacesRoutes.js +0 -12
- package/es/modules/workspaces/pages/WorkSpacesRoutes.js.map +0 -1
- package/es/modules/worktype/components/NewTypeForm/index.js.map +0 -1
- package/es/modules/worktype/components/NewTypeForm/index.less +0 -8
- package/es/modules/worktype/components/NewTypeForm/state.js.map +0 -1
- package/es/modules/worktype/components/RepeatTab/index.js.map +0 -1
- package/es/modules/worktype/components/WorkTypeCard/index.js.map +0 -1
- package/es/modules/worktype/components/WorkTypeCardList/index.js.map +0 -1
- package/es/modules/worktype/components/WorkTypeItem/index.js.map +0 -1
- package/es/modules/worktype/components/WorkTypeList/index.js.map +0 -1
- package/es/modules/worktype/components/WorkTypeProperties/index.js.map +0 -1
- package/es/modules/worktype/components/WorkTypeProperties/state.js.map +0 -1
- package/es/modules/worktype/components/WorkTypePropertiesTabs/index.js.map +0 -1
- package/es/modules/worktype/components/WorkTypePropertiesView/index.js.map +0 -1
- package/es/modules/worktype/components/WorkTypePropertiesView/state.js.map +0 -1
- package/es/modules/worktype/components/WorkTypeQA/index.js.map +0 -1
- package/es/modules/worktype/components/WorkTypeQA/state.js.map +0 -1
- package/es/modules/worktype/components/WorkTypeStats/index.js.map +0 -1
- package/es/modules/worktype/components/WorkTypeStats/state.js.map +0 -1
- package/es/modules/worktype/components/WorkTypeTabs/index.js.map +0 -1
- package/es/modules/worktype/components/WorkTypeTabs/index.less +0 -15
- package/es/modules/worktype/controls/WorkTypeMenu/index.js.map +0 -1
- package/es/modules/worktype/controls/WorktypeCompleteWorksChart/index.js.map +0 -1
- package/es/modules/worktype/controls/WorktypeCompleteWorksChart/state.js.map +0 -1
- package/es/modules/worktype/pages/WorkTypeDefaultView/index.js.map +0 -1
- package/es/pages/Project/ProjectDefaultView/index.js.map +0 -1
- package/es/pages/Project/data/ProjectStore.js.map +0 -1
- package/es/pages/Project/data/hook.js.map +0 -1
- package/es/pages/Project/data/index.js.map +0 -1
- package/es/pages/Project/data/interfaces.js.map +0 -1
- package/es/pages/Routes.js.map +0 -1
- package/es/pages/Space/components/Notes/ColorSelect/index.js.map +0 -1
- package/es/pages/Space/components/Notes/NewNoteDialog/index.js.map +0 -1
- package/es/pages/Space/components/Notes/TextNoteCard/index.js.map +0 -1
- package/es/pages/Space/components/Notes/TextNoteCard/state.js.map +0 -1
- package/es/pages/Space/components/Notes/index.js.map +0 -1
- package/es/pages/Space/components/Notifications/index.js.map +0 -1
- package/es/pages/Space/components/Projects/index.js.map +0 -1
- package/es/pages/Space/components/TaskMenu/index.js.map +0 -1
- package/es/pages/Space/components/TaskMenu/state.js.map +0 -1
- package/es/pages/Space/components/Tasks/index.js.map +0 -1
- package/es/pages/Space/components/WorkMenu/index.js.map +0 -1
- package/es/pages/Space/components/WorkMenu/state.js.map +0 -1
- package/es/pages/Space/components/Works/index.js.map +0 -1
- package/es/pages/Space/components/Workspaces/index.js.map +0 -1
- package/es/pages/Space/pages/MySpace/index.js.map +0 -1
- package/es/pages/Space/pages/MySpace/state.js.map +0 -1
- package/es/pages/Work/components/NewWorkDialog/index.d.ts +0 -11
- package/es/pages/Work/components/NewWorkDialog/index.js +0 -41
- package/es/pages/Work/components/NewWorkDialog/index.js.map +0 -1
- package/es/pages/Work/components/NewWorkDialog/index.less +0 -11
- package/es/pages/Work/components/WorkCheckList/index.d.ts +0 -5
- package/es/pages/Work/components/WorkCheckList/index.js +0 -38
- package/es/pages/Work/components/WorkCheckList/index.js.map +0 -1
- package/es/pages/Work/components/WorkSummaryCards/WorkActionsCard/index.d.ts +0 -6
- package/es/pages/Work/components/WorkSummaryCards/WorkActionsCard/index.js +0 -21
- package/es/pages/Work/components/WorkSummaryCards/WorkActionsCard/index.js.map +0 -1
- package/es/pages/Work/components/WorkSummaryCards/WorkBlockingsCard/index.d.ts +0 -5
- package/es/pages/Work/components/WorkSummaryCards/WorkBlockingsCard/index.js +0 -11
- package/es/pages/Work/components/WorkSummaryCards/WorkBlockingsCard/index.js.map +0 -1
- package/es/pages/Work/components/WorkSummaryCards/WorkDueCard/index.d.ts +0 -7
- package/es/pages/Work/components/WorkSummaryCards/WorkDueCard/index.js +0 -16
- package/es/pages/Work/components/WorkSummaryCards/WorkDueCard/index.js.map +0 -1
- package/es/pages/Work/components/WorkSummaryCards/index.d.ts +0 -5
- package/es/pages/Work/components/WorkSummaryCards/index.js +0 -69
- package/es/pages/Work/components/WorkSummaryCards/index.js.map +0 -1
- package/es/pages/Work/components/WorkSummaryCards/index.less +0 -35
- package/es/pages/Work/components/WorkSummaryCards/state.d.ts +0 -11
- package/es/pages/Work/components/WorkSummaryCards/state.js +0 -47
- package/es/pages/Work/components/WorkSummaryCards/state.js.map +0 -1
- package/es/pages/Work/components/WorkTrail/index.d.ts +0 -5
- package/es/pages/Work/components/WorkTrail/index.js +0 -14
- package/es/pages/Work/components/WorkTrail/index.js.map +0 -1
- package/es/pages/Work/components/WorkTrail/index.less +0 -20
- package/es/pages/Work/data/WorkStore.d.ts +0 -10
- package/es/pages/Work/data/WorkStore.js +0 -21
- package/es/pages/Work/data/WorkStore.js.map +0 -1
- package/es/pages/Work/data/hook.d.ts +0 -3
- package/es/pages/Work/data/hook.js +0 -10
- package/es/pages/Work/data/hook.js.map +0 -1
- package/es/pages/Work/data/index.d.ts +0 -3
- package/es/pages/Work/data/index.js +0 -4
- package/es/pages/Work/data/index.js.map +0 -1
- package/es/pages/Work/data/interfaces.d.ts +0 -14
- package/es/pages/Work/data/interfaces.js +0 -2
- package/es/pages/Work/data/interfaces.js.map +0 -1
- package/es/pages/Work/pages/WorkDefaultView/index.d.ts +0 -3
- package/es/pages/Work/pages/WorkDefaultView/index.js +0 -61
- package/es/pages/Work/pages/WorkDefaultView/index.js.map +0 -1
- package/es/pages/Work/pages/WorkDefaultView/index.less +0 -12
- package/es/pages/Work/pages/WorkDefaultView/state.d.ts +0 -5
- package/es/pages/Work/pages/WorkDefaultView/state.js +0 -18
- package/es/pages/Work/pages/WorkDefaultView/state.js.map +0 -1
- package/es/pages/WorkType/WorkTypeCheckList/index.d.ts +0 -4
- package/es/pages/WorkType/WorkTypeCheckList/index.js +0 -47
- package/es/pages/WorkType/WorkTypeCheckList/index.js.map +0 -1
- package/es/pages/WorkType/WorkTypeDefaultView/index.d.ts +0 -3
- package/es/pages/WorkType/WorkTypeDefaultView/index.js +0 -19
- package/es/pages/WorkType/WorkTypeDefaultView/index.js.map +0 -1
- package/es/pages/WorkType/WorkTypeDetail/index.d.ts +0 -6
- package/es/pages/WorkType/WorkTypeDetail/index.js +0 -84
- package/es/pages/WorkType/WorkTypeDetail/index.js.map +0 -1
- package/es/pages/WorkType/WorkTypeDetail/index.less +0 -35
- package/es/pages/WorkType/WorkTypeDetail/state.d.ts +0 -9
- package/es/pages/WorkType/WorkTypeDetail/state.js +0 -38
- package/es/pages/WorkType/WorkTypeDetail/state.js.map +0 -1
- package/es/pages/WorkType/WorkTypePropertiesView/index.d.ts +0 -5
- package/es/pages/WorkType/WorkTypePropertiesView/index.js +0 -32
- package/es/pages/WorkType/WorkTypePropertiesView/index.js.map +0 -1
- package/es/pages/WorkType/WorkTypePropertiesView/index.less +0 -31
- package/es/pages/WorkType/WorkTypeSelect/index.js.map +0 -1
- package/es/pages/WorkType/data/WorkTypeStore.d.ts +0 -21
- package/es/pages/WorkType/data/WorkTypeStore.js +0 -75
- package/es/pages/WorkType/data/WorkTypeStore.js.map +0 -1
- package/es/pages/WorkType/data/hook.d.ts +0 -9
- package/es/pages/WorkType/data/hook.js +0 -19
- package/es/pages/WorkType/data/hook.js.map +0 -1
- package/es/pages/WorkType/data/index.d.ts +0 -4
- package/es/pages/WorkType/data/index.js +0 -5
- package/es/pages/WorkType/data/index.js.map +0 -1
- package/es/pages/WorkType/data/interfaces.d.ts +0 -52
- package/es/pages/WorkType/data/interfaces.js +0 -2
- package/es/pages/WorkType/data/interfaces.js.map +0 -1
- package/es/pages/WorkType/data/types.d.ts +0 -42
- package/es/pages/WorkType/data/types.js +0 -2
- package/es/pages/WorkType/data/types.js.map +0 -1
- /package/es/{pages → modules}/Routes.d.ts +0 -0
- /package/es/{pages/Project → modules/project}/ProjectDefaultView/index.d.ts +0 -0
- /package/es/{pages/Project → modules/project}/ProjectDefaultView/index.js +0 -0
- /package/es/{pages/Project → modules/project}/ProjectDefaultView/index.less +0 -0
- /package/es/{pages/Project → modules/project}/data/ProjectStore.d.ts +0 -0
- /package/es/{pages/Project → modules/project}/data/ProjectStore.js +0 -0
- /package/es/{pages/Project → modules/project}/data/hook.d.ts +0 -0
- /package/es/{pages/Project → modules/project}/data/hook.js +0 -0
- /package/es/{pages/Project → modules/project}/data/index.d.ts +0 -0
- /package/es/{pages/Project → modules/project}/data/index.js +0 -0
- /package/es/{pages/Project → modules/project}/data/interfaces.d.ts +0 -0
- /package/es/{pages/Project → modules/project}/data/interfaces.js +0 -0
- /package/es/{pages/Space → modules/space}/components/Notes/ColorSelect/index.d.ts +0 -0
- /package/es/{pages/Space → modules/space}/components/Notes/ColorSelect/index.js +0 -0
- /package/es/{pages/Space → modules/space}/components/Notes/ColorSelect/index.less +0 -0
- /package/es/{pages/Space → modules/space}/components/Notes/NewNoteDialog/index.d.ts +0 -0
- /package/es/{pages/Space → modules/space}/components/Notes/NewNoteDialog/index.js +0 -0
- /package/es/{pages/Space → modules/space}/components/Notes/NewNoteDialog/index.less +0 -0
- /package/es/{pages/Space → modules/space}/components/Notes/TextNoteCard/index.d.ts +0 -0
- /package/es/{pages/Space → modules/space}/components/Notes/TextNoteCard/index.js +0 -0
- /package/es/{pages/Space → modules/space}/components/Notes/TextNoteCard/index.less +0 -0
- /package/es/{pages/Space → modules/space}/components/Notes/TextNoteCard/state.d.ts +0 -0
- /package/es/{pages/Space → modules/space}/components/Notes/TextNoteCard/state.js +0 -0
- /package/es/{pages/Space → modules/space}/components/Notes/index.d.ts +0 -0
- /package/es/{pages/Space → modules/space}/components/Notes/index.js +0 -0
- /package/es/{pages/Space → modules/space}/components/Notifications/index.d.ts +0 -0
- /package/es/{pages/Space → modules/space}/components/Notifications/index.js +0 -0
- /package/es/{pages/Space → modules/space}/components/Projects/index.d.ts +0 -0
- /package/es/{pages/Space → modules/space}/components/Projects/index.js +0 -0
- /package/es/{pages/Space → modules/space}/components/TaskMenu/index.d.ts +0 -0
- /package/es/{pages/Space → modules/space}/components/TaskMenu/index.js +0 -0
- /package/es/{pages/Space → modules/space}/components/TaskMenu/state.d.ts +0 -0
- /package/es/{pages/Space → modules/space}/components/TaskMenu/state.js +0 -0
- /package/es/{pages/Space → modules/space}/components/Tasks/index.d.ts +0 -0
- /package/es/{pages/Space → modules/space}/components/Tasks/index.js +0 -0
- /package/es/{pages/Space → modules/space}/components/Tasks/index.less +0 -0
- /package/es/{pages/Space → modules/space}/components/WorkMenu/index.d.ts +0 -0
- /package/es/{pages/Space → modules/space}/components/WorkMenu/index.js +0 -0
- /package/es/{pages/Space → modules/space}/components/WorkMenu/state.d.ts +0 -0
- /package/es/{pages/Space → modules/space}/components/WorkMenu/state.js +0 -0
- /package/es/{pages/Space → modules/space}/components/Works/index.d.ts +0 -0
- /package/es/{pages/Space → modules/space}/components/Works/index.js +0 -0
- /package/es/{pages/Space → modules/space}/components/Works/index.less +0 -0
- /package/es/{pages/Space → modules/space}/components/Workspaces/index.d.ts +0 -0
- /package/es/{pages/Space → modules/space}/components/Workspaces/index.js +0 -0
- /package/es/{pages/Space → modules/space}/pages/MySpace/index.d.ts +0 -0
- /package/es/{pages/Space → modules/space}/pages/MySpace/index.js +0 -0
- /package/es/{pages/Space → modules/space}/pages/MySpace/index.less +0 -0
- /package/es/{pages/Space → modules/space}/pages/MySpace/state.d.ts +0 -0
- /package/es/{pages/Space → modules/space}/pages/MySpace/state.js +0 -0
- /package/es/modules/{worktype → work/work-type}/components/NewTypeForm/index.d.ts +0 -0
- /package/es/modules/{worktype → work/work-type}/components/NewTypeForm/state.d.ts +0 -0
- /package/es/modules/{worktype → work/work-type}/components/NewTypeForm/state.js +0 -0
- /package/es/modules/{worktype → work/work-type}/components/RepeatTab/index.d.ts +0 -0
- /package/es/modules/{worktype → work/work-type}/components/RepeatTab/index.js +0 -0
- /package/es/modules/{worktype → work/work-type}/components/RepeatTab/index.less +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypeCard/index.d.ts +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypeCard/index.less +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypeCardList/index.less +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypeItem/index.d.ts +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypeItem/index.less +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypeList/index.less +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypeProperties/index.d.ts +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypeProperties/state.js +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypePropertiesTabs/index.d.ts +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypePropertiesTabs/index.less +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypePropertiesView/index.d.ts +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypePropertiesView/index.less +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypeQA/index.d.ts +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypeQA/index.less +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypeQA/state.js +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypeStats/index.d.ts +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypeStats/index.js +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypeStats/index.less +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypeStats/state.d.ts +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypeStats/state.js +0 -0
- /package/es/modules/{worktype → work/work-type}/components/WorkTypeTabs/index.d.ts +0 -0
- /package/es/modules/{worktype → work/work-type}/controls/WorkTypeMenu/index.d.ts +0 -0
- /package/es/modules/{worktype → work/work-type}/controls/WorkTypeMenu/index.less +0 -0
- /package/es/modules/{worktype → work/work-type}/controls/WorktypeCompleteWorksChart/index.d.ts +0 -0
- /package/es/modules/{worktype → work/work-type}/controls/WorktypeCompleteWorksChart/index.less +0 -0
- /package/es/modules/{worktype → work/work-type}/controls/WorktypeCompleteWorksChart/state.d.ts +0 -0
- /package/es/modules/{worktype → work/work-type}/controls/WorktypeCompleteWorksChart/state.js +0 -0
- /package/es/modules/{worktype → work/work-type}/pages/WorkTypeDefaultView/index.d.ts +0 -0
- /package/es/modules/{worktype → work/work-type}/pages/WorkTypeDefaultView/index.less +0 -0
@@ -1,84 +0,0 @@
|
|
1
|
-
import "./index.less";
|
2
|
-
import { Checkbox, InputNumber, Skeleton } from "@voplus/antd";
|
3
|
-
import React, { useState } from "react";
|
4
|
-
import { useApplicationContext, useLayout } from "@voplus/morpho-data";
|
5
|
-
import { useWorkType, useWorkTypeStore } from "../data";
|
6
|
-
import ActionPlan from "@voplus/morpho-collaboration-action/es/components/Action/ActionPlan";
|
7
|
-
import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
|
8
|
-
import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEditor";
|
9
|
-
import { State } from "./state";
|
10
|
-
import { observe } from "@voplus/morpho-ui";
|
11
|
-
import { runInAction } from "mobx";
|
12
|
-
const WorkTypeDetail = (props) => {
|
13
|
-
const id = props.id;
|
14
|
-
const layout = useLayout();
|
15
|
-
const { user } = useApplicationContext();
|
16
|
-
const workTypeStore = useWorkTypeStore();
|
17
|
-
const [state] = useState(new State());
|
18
|
-
const workType = useWorkType(id);
|
19
|
-
runInAction(() => {
|
20
|
-
var _a, _b, _c, _d;
|
21
|
-
state.audit = ((_a = workType.audit) === null || _a === void 0 ? void 0 : _a.audit) || false;
|
22
|
-
state.auditRate = ((_b = workType.audit) === null || _b === void 0 ? void 0 : _b.auditRate) || 0;
|
23
|
-
state.auditorIds = [];
|
24
|
-
(_d = (_c = workType.audit) === null || _c === void 0 ? void 0 : _c.auditors) === null || _d === void 0 ? void 0 : _d.map((i) => state.auditorIds.push(i.id));
|
25
|
-
});
|
26
|
-
return observe(() => {
|
27
|
-
var _a;
|
28
|
-
return (React.createElement("div", { className: "work-type-detail" }, workType.loading ? (React.createElement("div", { className: "document-description" },
|
29
|
-
React.createElement(Skeleton, { active: true }))) : (React.createElement(React.Fragment, null,
|
30
|
-
React.createElement(DescriptionEditor, { id: id, description: workType.description, padding: "0 0 10px 0", onSave: editDescription }),
|
31
|
-
React.createElement("div", { className: "work-perSon" },
|
32
|
-
React.createElement("div", { className: "work-perSon-title" }, "PerSon in charge")),
|
33
|
-
React.createElement("div", { className: "work-request-form" },
|
34
|
-
React.createElement("div", { className: "work-title" })),
|
35
|
-
React.createElement("div", { className: "work-audit" },
|
36
|
-
React.createElement("div", { className: "work-title" },
|
37
|
-
React.createElement(Checkbox, { checked: state.audit, onChange: (e) => {
|
38
|
-
runInAction(() => (state.audit = e.target.checked));
|
39
|
-
editAudit();
|
40
|
-
} }, "Audit")),
|
41
|
-
state.audit && (React.createElement("div", { className: "work-audit-content" },
|
42
|
-
React.createElement("div", { className: "work-audit-info" },
|
43
|
-
React.createElement("span", { className: "label" }, "Audit Rate"),
|
44
|
-
React.createElement(InputNumber, { value: state.auditRate, min: 0, max: 100, formatter: (value) => `${value}%`, parser: (value) => parseInt(value.replace("%", "")), onChange: (value) => {
|
45
|
-
runInAction(() => (state.auditRate = value));
|
46
|
-
editAudit();
|
47
|
-
} })),
|
48
|
-
React.createElement("div", { className: "work-audit-info" },
|
49
|
-
React.createElement("span", { className: "label" }, "Auditor"),
|
50
|
-
React.createElement(AvatarList, { organizationId: user.info.organizationId, list: ((_a = workType.audit) === null || _a === void 0 ? void 0 : _a.auditors) || [], onChange: async (ids) => {
|
51
|
-
runInAction(() => (state.auditorIds = ids));
|
52
|
-
await editAudit();
|
53
|
-
} }))))),
|
54
|
-
React.createElement(ActionPlan, { id: id })))));
|
55
|
-
});
|
56
|
-
/** edit description */
|
57
|
-
function editDescription(description) {
|
58
|
-
workTypeStore.edit(id, {
|
59
|
-
data: {
|
60
|
-
Description: description || "",
|
61
|
-
},
|
62
|
-
error: "message",
|
63
|
-
});
|
64
|
-
}
|
65
|
-
/** edit Audit */
|
66
|
-
async function editAudit() {
|
67
|
-
await workTypeStore.edit(id, {
|
68
|
-
data: {
|
69
|
-
// Audit: { Audit: state.audit, AuditRate: state.auditRate, AuditorIds: state.auditorIds },
|
70
|
-
},
|
71
|
-
error: "message",
|
72
|
-
});
|
73
|
-
}
|
74
|
-
/** edit MemberIds */
|
75
|
-
async function editMemberIds(ids) {
|
76
|
-
// await workTypeStore.edit(id, { data: { MemberIds: ids }, error: "message" });
|
77
|
-
}
|
78
|
-
/** edit Request Form */
|
79
|
-
function editRequestForm(e) {
|
80
|
-
// workTypeStore.edit(id, { data: { CreateForm: e.target.checked }, error: "message" });
|
81
|
-
}
|
82
|
-
};
|
83
|
-
export default WorkTypeDetail;
|
84
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/WorkTypeDetail/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAU,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAExD,OAAO,UAAU,MAAM,qEAAqE,CAAC;AAC7F,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,iB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
|
-
padding: 10px 0;
|
6
|
-
border-bottom: 1px solid #f2f2f2;
|
7
|
-
}
|
8
|
-
.work-perSon {
|
9
|
-
padding: 0 20px;
|
10
|
-
.work-perSon-title {
|
11
|
-
padding: 10px 0;
|
12
|
-
}
|
13
|
-
}
|
14
|
-
.work-request-form {
|
15
|
-
padding: 0 20px;
|
16
|
-
.work-btn {
|
17
|
-
margin-top: 10px;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
.work-audit {
|
21
|
-
padding: 0 20px;
|
22
|
-
.work-audit-content {
|
23
|
-
margin-top: 10px;
|
24
|
-
.work-audit-info {
|
25
|
-
display: flex;
|
26
|
-
padding-bottom: 20px;
|
27
|
-
.label {
|
28
|
-
display: inline-block;
|
29
|
-
width: 200px;
|
30
|
-
}
|
31
|
-
}
|
32
|
-
}
|
33
|
-
}
|
34
|
-
}
|
35
|
-
}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
import { __decorate } from "tslib";
|
2
|
-
import { makeObservable, observable } from "mobx";
|
3
|
-
export class State {
|
4
|
-
constructor() {
|
5
|
-
/** Audit Audit of the work type */
|
6
|
-
Object.defineProperty(this, "audit", {
|
7
|
-
enumerable: true,
|
8
|
-
configurable: true,
|
9
|
-
writable: true,
|
10
|
-
value: false
|
11
|
-
});
|
12
|
-
/** Audit AuditRate of the work type */
|
13
|
-
Object.defineProperty(this, "auditRate", {
|
14
|
-
enumerable: true,
|
15
|
-
configurable: true,
|
16
|
-
writable: true,
|
17
|
-
value: 0
|
18
|
-
});
|
19
|
-
/** Audit AuditorIds of the work type */
|
20
|
-
Object.defineProperty(this, "auditorIds", {
|
21
|
-
enumerable: true,
|
22
|
-
configurable: true,
|
23
|
-
writable: true,
|
24
|
-
value: void 0
|
25
|
-
});
|
26
|
-
makeObservable(this);
|
27
|
-
}
|
28
|
-
}
|
29
|
-
__decorate([
|
30
|
-
observable
|
31
|
-
], State.prototype, "audit", void 0);
|
32
|
-
__decorate([
|
33
|
-
observable
|
34
|
-
], State.prototype, "auditRate", void 0);
|
35
|
-
__decorate([
|
36
|
-
observable
|
37
|
-
], State.prototype, "auditorIds", void 0);
|
38
|
-
//# sourceMappingURL=state.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/WorkTypeDetail/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,OAAO,KAAK;IAUjB;QATA,mCAAmC;QACvB;;;;mBAAe,KAAK;WAAC;QAEjC,uCAAuC;QAC3B;;;;mBAAmB,CAAC;WAAC;QAEjC,wCAAwC;QAC5B;;;;;WAA4B;QAGvC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CACD;AAXY;IAAX,UAAU;oCAAsB;AAGrB;IAAX,UAAU;wCAAsB;AAGrB;IAAX,UAAU;yCAA6B"}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
import React, { useRef } from "react";
|
2
|
-
import { useWorkType, useWorkTypeStore } from "../data";
|
3
|
-
import { InlineEdit } from "@voplus/morpho-ui";
|
4
|
-
import { Scrollbars } from "react-custom-scrollbars";
|
5
|
-
import WorkTypeDetail from "../WorkTypeDetail";
|
6
|
-
import classnames from "classnames";
|
7
|
-
import { observe } from "@voplus/morpho-ui";
|
8
|
-
import styles from "./index.less";
|
9
|
-
import { useIsStickyActive } from "@voplus/morpho-ui";
|
10
|
-
const WorkTypePropertiesView = (props) => {
|
11
|
-
const id = props.id;
|
12
|
-
const workType = useWorkType(id, { reload: true });
|
13
|
-
const workTypeStore = useWorkTypeStore();
|
14
|
-
/** Document Head Sticky Top
|
15
|
-
Sticky 时显示shadow */
|
16
|
-
const element = useRef(null);
|
17
|
-
useIsStickyActive({ stickyOn: true, element });
|
18
|
-
return observe(() => (React.createElement("div", { className: styles["work-type-default-view"] },
|
19
|
-
React.createElement(Scrollbars, { autoHide: true, className: "scroll-bars" },
|
20
|
-
React.createElement("div", { className: classnames("work-type-header", { sticky: true }), ref: element },
|
21
|
-
React.createElement(InlineEdit, { defaultValue: workType.name, content: (v) => React.createElement(React.Fragment, null, v.store.value || workType.name), onSave: (v) => v &&
|
22
|
-
v !== workType.name &&
|
23
|
-
workTypeStore.edit(id, {
|
24
|
-
data: {
|
25
|
-
Name: v,
|
26
|
-
},
|
27
|
-
error: "message",
|
28
|
-
}) })),
|
29
|
-
React.createElement(WorkTypeDetail, { id: id })))));
|
30
|
-
};
|
31
|
-
export default WorkTypePropertiesView;
|
32
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/WorkTypePropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAExD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,sBAAsB,GAAG,CAAC,KAAqB,EAAE,EAAE;IACxD,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IACpB,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IACnD,MAAM,aAAa,GAAG,gBAAgB,EAAE,CAAC;IAEzC;uBACmB;IACnB,MAAM,OAAO,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC7C,iBAAiB,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IAE/C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,wBAAwB,CAAC;QAC/C,oBAAC,UAAU,IAAC,QAAQ,QAAC,SAAS,EAAC,aAAa;YAC3C,6BAAK,SAAS,EAAE,UAAU,CAAC,kBAAkB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,OAAO;gBAC7E,oBAAC,UAAU,IACV,YAAY,EAAE,QAAQ,CAAC,IAAI,EAC3B,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,oBAAC,KAAK,CAAC,QAAQ,QAAE,CAAC,CAAC,KAAK,CAAC,KAAK,IAAI,QAAQ,CAAC,IAAI,CAAkB,EACjF,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CACb,CAAC;wBACD,CAAC,KAAK,QAAQ,CAAC,IAAI;wBACnB,aAAa,CAAC,IAAI,CAAC,EAAE,EAAE;4BACtB,IAAI,EAAE;gCACL,IAAI,EAAE,CAAC;6BACP;4BACD,KAAK,EAAE,SAAS;yBAChB,CAAC,GAEF,CACG;YAcN,oBAAC,cAAc,IAAC,EAAE,EAAE,EAAE,GAAI,CACd,CACR,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
.work-type-default-view {
|
4
|
-
position: relative;
|
5
|
-
height: 100%;
|
6
|
-
background: #ffffff;
|
7
|
-
:global {
|
8
|
-
.scroll-bars {
|
9
|
-
> div:last-child {
|
10
|
-
z-index: 12;
|
11
|
-
}
|
12
|
-
}
|
13
|
-
.work-type-header {
|
14
|
-
font-size: 30px;
|
15
|
-
color: #000;
|
16
|
-
font-weight: 500;
|
17
|
-
word-break: break-all;
|
18
|
-
padding: 10px 20px;
|
19
|
-
background: #ffffff;
|
20
|
-
&.sticky {
|
21
|
-
position: sticky;
|
22
|
-
top: -1px;
|
23
|
-
left: 0;
|
24
|
-
z-index: 10;
|
25
|
-
&.sticky-active {
|
26
|
-
box-shadow: 0 8px 6px -6px lightgray;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/WorkTypeSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,MAAM,cAAc,GAAG,CAAC,KAGvB,EAAE,EAAE;IACJ,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAElC,MAAM,IAAI,GAAG,sBAAsB,CAAY;QAC9C,cAAc,EAAE;YACf,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC;SACrF;KACD,EAAE,EAAE,CAAC,CAAC;IAEP,qBAAqB,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAElF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,MAAM,IACN,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAClC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,WAAW,EAAC,iBAAiB,EAC7B,QAAQ,EAAE,YAAY,IAErB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACxB,oBAAC,MAAM,CAAC,MAAM,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,IACzC,IAAI,CAAC,IAAI,CACK,CAChB,CAAC,CACM,CACT,CAAC,CAAC;IAEH,SAAS,YAAY,CAAC,EAAU;QAC/B,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QACpD,IAAI,QAAQ;YAAE,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,EAAE,EAAE,QAAQ,CAAC,CAAC;IACxC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
@@ -1,21 +0,0 @@
|
|
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;
|
@@ -1,75 +0,0 @@
|
|
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
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"WorkTypeStore.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/data/WorkTypeStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAI/E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,SAAS,GAAG,eAAe,CAAC;AAElC,gDAAgD;AAChD,MAAM,OAAO,aAAc,SAAQ,KAAK;IAIvC,YAAmC,QAAqB;QACvD,KAAK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;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"}
|
@@ -1,9 +0,0 @@
|
|
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;
|
@@ -1,19 +0,0 @@
|
|
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
|
-
return useLoadCountedMapItem(id, store.items, () => store.load(id, options), options);
|
12
|
-
};
|
13
|
-
export const useWorkTypeListEffect = (list, effect, options) => {
|
14
|
-
const deps = options ? options : {};
|
15
|
-
const workType = useWorkTypeStore();
|
16
|
-
// Call useDocumentListEffect and ensure won't load twice for same loading options.
|
17
|
-
return useDocumentListLoaderEffect(list, effect, () => workType.loadList(options), [deps]);
|
18
|
-
};
|
19
|
-
//# sourceMappingURL=hook.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"hook.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/data/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;IAEjC,OAAO,qBAAqB,CAAC,EAAE,EAAE,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAAE,OAAO,CAAC,CAAC;AACxF,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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/data/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
@@ -1,52 +0,0 @@
|
|
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 IAuditAuditorInfo {
|
10
|
-
/** a value indicating whether audit is enabled */
|
11
|
-
audit?: boolean;
|
12
|
-
/** the rate in percentage audit shall be performed */
|
13
|
-
auditRate?: number;
|
14
|
-
/** list of default work member */
|
15
|
-
auditors?: {
|
16
|
-
name: string;
|
17
|
-
id: string;
|
18
|
-
}[];
|
19
|
-
}
|
20
|
-
export interface IWorkType extends ILoadable {
|
21
|
-
/** id of the workType */
|
22
|
-
id: string;
|
23
|
-
numberformat?: string;
|
24
|
-
/** name of the workType */
|
25
|
-
name?: string;
|
26
|
-
/** description of the workType */
|
27
|
-
description?: string;
|
28
|
-
defaultdue?: Date;
|
29
|
-
status?: string;
|
30
|
-
defaultfolder?: {
|
31
|
-
id: string;
|
32
|
-
name: string;
|
33
|
-
};
|
34
|
-
document?: {
|
35
|
-
id: string;
|
36
|
-
name: string;
|
37
|
-
};
|
38
|
-
requester?: {
|
39
|
-
name: string;
|
40
|
-
id: string;
|
41
|
-
}[];
|
42
|
-
reviewers?: {
|
43
|
-
name: string;
|
44
|
-
id: string;
|
45
|
-
}[];
|
46
|
-
accepters?: {
|
47
|
-
name: string;
|
48
|
-
id: string;
|
49
|
-
}[];
|
50
|
-
/** audit info of the workType */
|
51
|
-
audit?: IAuditAuditorInfo;
|
52
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/data/interfaces.ts"],"names":[],"mappings":""}
|
@@ -1,42 +0,0 @@
|
|
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 WorkTypeCreateOptions = {
|
16
|
-
data: WorkTypeCreateDataOptions;
|
17
|
-
} & StoreActionOptions;
|
18
|
-
export interface WorkTypeEditDataOptions {
|
19
|
-
/** name of the edit workType. */
|
20
|
-
Name?: string;
|
21
|
-
/** gets the description of the work */
|
22
|
-
Description?: string;
|
23
|
-
/** gets the format of the work number */
|
24
|
-
NumberFormat?: string;
|
25
|
-
/** gets the default folder id of the work type */
|
26
|
-
DefaultFolderId?: string;
|
27
|
-
/** gets the document id of the work type */
|
28
|
-
DocumentId?: string;
|
29
|
-
/** gets the default due date in this number of days from work create date */
|
30
|
-
DefaultDue?: Date;
|
31
|
-
/** gets list of unit ids who can rquest this job */
|
32
|
-
RequesterIds?: string[];
|
33
|
-
/** gets a list of accepter ids */
|
34
|
-
AccepterIds?: string[];
|
35
|
-
/** gets a list of reviewer ids */
|
36
|
-
ReviewerIds?: string[];
|
37
|
-
/** gets list of auditor ids */
|
38
|
-
AuditorIds?: string[];
|
39
|
-
}
|
40
|
-
export declare type WorkTypeEditOptions = {
|
41
|
-
data: WorkTypeEditDataOptions;
|
42
|
-
} & StoreActionOptions;
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/data/types.ts"],"names":[],"mappings":""}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|