@voplus/morpho-workspace 1.0.0-dev01
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/LICENSE +1 -0
- package/es/MySpace.d.ts +7 -0
- package/es/MySpace.js +14 -0
- package/es/MySpace.js.map +1 -0
- package/es/components/ActivityLog/index.d.ts +5 -0
- package/es/components/ActivityLog/index.js +82 -0
- package/es/components/ActivityLog/index.js.map +1 -0
- package/es/components/ActivityLog/index.less +35 -0
- package/es/components/AssignPeople/index.d.ts +3 -0
- package/es/components/AssignPeople/index.js +23 -0
- package/es/components/AssignPeople/index.js.map +1 -0
- package/es/components/AssignPeople/index.less +0 -0
- package/es/components/AvatarList/index.d.ts +14 -0
- package/es/components/AvatarList/index.js +61 -0
- package/es/components/AvatarList/index.js.map +1 -0
- package/es/components/AvatarList/index.less +48 -0
- package/es/components/AvatarList/state.d.ts +6 -0
- package/es/components/AvatarList/state.js +23 -0
- package/es/components/AvatarList/state.js.map +1 -0
- package/es/components/Comments/ChartInput.d.ts +5 -0
- package/es/components/Comments/ChartInput.js +42 -0
- package/es/components/Comments/ChartInput.js.map +1 -0
- package/es/components/Comments/Message.d.ts +7 -0
- package/es/components/Comments/Message.js +64 -0
- package/es/components/Comments/Message.js.map +1 -0
- package/es/components/Comments/Message.less +202 -0
- package/es/components/Comments/index.d.ts +5 -0
- package/es/components/Comments/index.js +124 -0
- package/es/components/Comments/index.js.map +1 -0
- package/es/components/Comments/index.less +63 -0
- package/es/components/DocumentList/index.d.ts +13 -0
- package/es/components/DocumentList/index.js +116 -0
- package/es/components/DocumentList/index.js.map +1 -0
- package/es/components/DocumentList/index.less +66 -0
- package/es/components/ListHeader/index.d.ts +20 -0
- package/es/components/ListHeader/index.js +38 -0
- package/es/components/ListHeader/index.js.map +1 -0
- package/es/components/ListHeader/index.less +23 -0
- package/es/components/PageListView/data/index.d.ts +9 -0
- package/es/components/PageListView/data/index.js +29 -0
- package/es/components/PageListView/data/index.js.map +1 -0
- package/es/components/PageListView/index.d.ts +25 -0
- package/es/components/PageListView/index.js +42 -0
- package/es/components/PageListView/index.js.map +1 -0
- package/es/components/PageListView/index.less +4 -0
- package/es/components/SortDnD/Card.d.ts +18 -0
- package/es/components/SortDnD/Card.js +55 -0
- package/es/components/SortDnD/Card.js.map +1 -0
- package/es/components/SortDnD/Container.d.ts +14 -0
- package/es/components/SortDnD/Container.js +32 -0
- package/es/components/SortDnD/Container.js.map +1 -0
- package/es/components/SortDnD/index.d.ts +8 -0
- package/es/components/SortDnD/index.js +12 -0
- package/es/components/SortDnD/index.js.map +1 -0
- package/es/components/SortDnD/index.less +21 -0
- package/es/components/SortDnD/type.d.ts +4 -0
- package/es/components/SortDnD/type.js +4 -0
- package/es/components/SortDnD/type.js.map +1 -0
- package/es/components/TimeLog/index.d.ts +3 -0
- package/es/components/TimeLog/index.js +72 -0
- package/es/components/TimeLog/index.js.map +1 -0
- package/es/components/TimeLog/index.less +87 -0
- package/es/components/ToolBar/index.d.ts +13 -0
- package/es/components/ToolBar/index.js +100 -0
- package/es/components/ToolBar/index.js.map +1 -0
- package/es/components/ToolBar/index.less +55 -0
- package/es/components/VoLayout/index.d.ts +18 -0
- package/es/components/VoLayout/index.js +57 -0
- package/es/components/VoLayout/index.js.map +1 -0
- package/es/components/VoLayout/index.less +64 -0
- package/es/controls/DocumentStatusLabel/index.d.ts +12 -0
- package/es/controls/DocumentStatusLabel/index.js +39 -0
- package/es/controls/DocumentStatusLabel/index.js.map +1 -0
- package/es/controls/DocumentStatusLabel/index.less +47 -0
- package/es/controls/FilterListDropdown/index.d.ts +3 -0
- package/es/controls/FilterListDropdown/index.js +104 -0
- package/es/controls/FilterListDropdown/index.js.map +1 -0
- package/es/controls/FilterListDropdown/index.less +64 -0
- package/es/controls/FilterViewsDropdown/index.d.ts +3 -0
- package/es/controls/FilterViewsDropdown/index.js +90 -0
- package/es/controls/FilterViewsDropdown/index.js.map +1 -0
- package/es/controls/FilterViewsDropdown/index.less +64 -0
- package/es/controls/MoreOperateDropdown/index.d.ts +18 -0
- package/es/controls/MoreOperateDropdown/index.js +46 -0
- package/es/controls/MoreOperateDropdown/index.js.map +1 -0
- package/es/controls/MoreOperateDropdown/index.less +12 -0
- package/es/controls/SortViewDropdown/index.d.ts +3 -0
- package/es/controls/SortViewDropdown/index.js +57 -0
- package/es/controls/SortViewDropdown/index.js.map +1 -0
- package/es/controls/SortViewDropdown/index.less +63 -0
- package/es/controls/StarIcon/index.d.ts +9 -0
- package/es/controls/StarIcon/index.js +12 -0
- package/es/controls/StarIcon/index.js.map +1 -0
- package/es/data/contexts/SortContext/index.d.ts +13 -0
- package/es/data/contexts/SortContext/index.js +45 -0
- package/es/data/contexts/SortContext/index.js.map +1 -0
- package/es/data/contexts/StoreContext/index.d.ts +6 -0
- package/es/data/contexts/StoreContext/index.js +41 -0
- package/es/data/contexts/StoreContext/index.js.map +1 -0
- package/es/data/contexts/index.d.ts +1 -0
- package/es/data/contexts/index.js +2 -0
- package/es/data/contexts/index.js.map +1 -0
- package/es/data/meeting/MeetingStore.d.ts +54 -0
- package/es/data/meeting/MeetingStore.js +65 -0
- package/es/data/meeting/MeetingStore.js.map +1 -0
- package/es/data/meeting/hooks.d.ts +11 -0
- package/es/data/meeting/hooks.js +24 -0
- package/es/data/meeting/hooks.js.map +1 -0
- package/es/data/meeting/index.d.ts +3 -0
- package/es/data/meeting/index.js +3 -0
- package/es/data/meeting/index.js.map +1 -0
- package/es/data/meeting/interfaces.d.ts +16 -0
- package/es/data/meeting/interfaces.js +1 -0
- package/es/data/meeting/interfaces.js.map +1 -0
- package/es/data/task/TaskStore.d.ts +71 -0
- package/es/data/task/TaskStore.js +71 -0
- package/es/data/task/TaskStore.js.map +1 -0
- package/es/data/task/hooks.d.ts +11 -0
- package/es/data/task/hooks.js +24 -0
- package/es/data/task/hooks.js.map +1 -0
- package/es/data/task/index.d.ts +3 -0
- package/es/data/task/index.js +3 -0
- package/es/data/task/index.js.map +1 -0
- package/es/data/task/interfaces.d.ts +26 -0
- package/es/data/task/interfaces.js +1 -0
- package/es/data/task/interfaces.js.map +1 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +13 -0
- package/es/index.js.map +1 -0
- package/es/modules/BoardView/components/Add/index.d.ts +7 -0
- package/es/modules/BoardView/components/Add/index.js +80 -0
- package/es/modules/BoardView/components/Add/index.js.map +1 -0
- package/es/modules/BoardView/components/Add/index.less +26 -0
- package/es/modules/BoardView/components/BoardViewItem/index.d.ts +3 -0
- package/es/modules/BoardView/components/BoardViewItem/index.js +198 -0
- package/es/modules/BoardView/components/BoardViewItem/index.js.map +1 -0
- package/es/modules/BoardView/components/BoardViewItem/index.less +84 -0
- package/es/modules/BoardView/pages/BoardViewList/index.d.ts +5 -0
- package/es/modules/BoardView/pages/BoardViewList/index.js +27 -0
- package/es/modules/BoardView/pages/BoardViewList/index.js.map +1 -0
- package/es/modules/BoardView/pages/BoardViewList/index.less +15 -0
- package/es/modules/BoardView/pages/BoardViewRoutes.d.ts +3 -0
- package/es/modules/BoardView/pages/BoardViewRoutes.js +8 -0
- package/es/modules/BoardView/pages/BoardViewRoutes.js.map +1 -0
- package/es/modules/document/components/Add/index.d.ts +7 -0
- package/es/modules/document/components/Add/index.js +80 -0
- package/es/modules/document/components/Add/index.js.map +1 -0
- package/es/modules/document/components/Add/index.less +26 -0
- package/es/modules/document/components/AdvanceSearch/index.d.ts +3 -0
- package/es/modules/document/components/AdvanceSearch/index.js +129 -0
- package/es/modules/document/components/AdvanceSearch/index.js.map +1 -0
- package/es/modules/document/components/AdvanceSearch/index.less +21 -0
- package/es/modules/document/components/DocumentDetail/index.d.ts +5 -0
- package/es/modules/document/components/DocumentDetail/index.js +79 -0
- package/es/modules/document/components/DocumentDetail/index.js.map +1 -0
- package/es/modules/document/components/DocumentDetail/index.less +56 -0
- package/es/modules/document/components/DocumentItem/index.d.ts +7 -0
- package/es/modules/document/components/DocumentItem/index.js +56 -0
- package/es/modules/document/components/DocumentItem/index.js.map +1 -0
- package/es/modules/document/components/DocumentItem/index.less +128 -0
- package/es/modules/document/pages/DocumentListView/index.d.ts +3 -0
- package/es/modules/document/pages/DocumentListView/index.js +141 -0
- package/es/modules/document/pages/DocumentListView/index.js.map +1 -0
- package/es/modules/document/pages/DocumentRoutes.d.ts +3 -0
- package/es/modules/document/pages/DocumentRoutes.js +12 -0
- package/es/modules/document/pages/DocumentRoutes.js.map +1 -0
- package/es/modules/document/pages/DocumentTabView/index.d.ts +3 -0
- package/es/modules/document/pages/DocumentTabView/index.js +237 -0
- package/es/modules/document/pages/DocumentTabView/index.js.map +1 -0
- package/es/modules/document/pages/DocumentTabView/index.less +63 -0
- package/es/modules/meeting/components/AgendaList/AgendaHeader/index.d.ts +6 -0
- package/es/modules/meeting/components/AgendaList/AgendaHeader/index.js +12 -0
- package/es/modules/meeting/components/AgendaList/AgendaHeader/index.js.map +1 -0
- package/es/modules/meeting/components/AgendaList/AgendaHeader/index.less +14 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.d.ts +6 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +28 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js.map +1 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.less +28 -0
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.d.ts +7 -0
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js +42 -0
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js.map +1 -0
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.less +47 -0
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.d.ts +3 -0
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js +11 -0
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js.map +1 -0
- package/es/modules/meeting/components/AgendaList/TaskItem/index.d.ts +5 -0
- package/es/modules/meeting/components/AgendaList/TaskItem/index.js +42 -0
- package/es/modules/meeting/components/AgendaList/TaskItem/index.js.map +1 -0
- package/es/modules/meeting/components/AgendaList/TaskItem/index.less +50 -0
- package/es/modules/meeting/components/AgendaList/index.d.ts +9 -0
- package/es/modules/meeting/components/AgendaList/index.js +63 -0
- package/es/modules/meeting/components/AgendaList/index.js.map +1 -0
- package/es/modules/meeting/components/AgendaList/index.less +95 -0
- package/es/modules/meeting/components/AgendaList/state.d.ts +9 -0
- package/es/modules/meeting/components/AgendaList/state.js +38 -0
- package/es/modules/meeting/components/AgendaList/state.js.map +1 -0
- package/es/modules/meeting/components/MeetingDetail/index.d.ts +5 -0
- package/es/modules/meeting/components/MeetingDetail/index.js +40 -0
- package/es/modules/meeting/components/MeetingDetail/index.js.map +1 -0
- package/es/modules/meeting/components/MeetingItem/index.d.ts +7 -0
- package/es/modules/meeting/components/MeetingItem/index.js +84 -0
- package/es/modules/meeting/components/MeetingItem/index.js.map +1 -0
- package/es/modules/meeting/components/MeetingItem/index.less +131 -0
- package/es/modules/meeting/components/MeetingItem/state.d.ts +5 -0
- package/es/modules/meeting/components/MeetingItem/state.js +14 -0
- package/es/modules/meeting/components/MeetingItem/state.js.map +1 -0
- package/es/modules/meeting/components/MeetingList/index.d.ts +3 -0
- package/es/modules/meeting/components/MeetingList/index.js +36 -0
- package/es/modules/meeting/components/MeetingList/index.js.map +1 -0
- package/es/modules/meeting/components/MeetingList/state.d.ts +11 -0
- package/es/modules/meeting/components/MeetingList/state.js +34 -0
- package/es/modules/meeting/components/MeetingList/state.js.map +1 -0
- package/es/modules/meeting/components/NewMeetingForm/index.d.ts +5 -0
- package/es/modules/meeting/components/NewMeetingForm/index.js +137 -0
- package/es/modules/meeting/components/NewMeetingForm/index.js.map +1 -0
- package/es/modules/meeting/components/NewMeetingForm/index.less +26 -0
- package/es/modules/meeting/components/NewMeetingForm/state.d.ts +6 -0
- package/es/modules/meeting/components/NewMeetingForm/state.js +30 -0
- package/es/modules/meeting/components/NewMeetingForm/state.js.map +1 -0
- package/es/modules/meeting/components/VoEditor/index.d.ts +13 -0
- package/es/modules/meeting/components/VoEditor/index.js +46 -0
- package/es/modules/meeting/components/VoEditor/index.js.map +1 -0
- package/es/modules/meeting/components/VoEditor/index.less +12 -0
- package/es/modules/meeting/pages/MeetingListView/index.d.ts +3 -0
- package/es/modules/meeting/pages/MeetingListView/index.js +8 -0
- package/es/modules/meeting/pages/MeetingListView/index.js.map +1 -0
- package/es/modules/meeting/pages/MeetingRoutes.d.ts +3 -0
- package/es/modules/meeting/pages/MeetingRoutes.js +10 -0
- package/es/modules/meeting/pages/MeetingRoutes.js.map +1 -0
- package/es/modules/meeting/pages/MeetingTabView/index.d.ts +3 -0
- package/es/modules/meeting/pages/MeetingTabView/index.js +48 -0
- package/es/modules/meeting/pages/MeetingTabView/index.js.map +1 -0
- package/es/modules/meeting/styles/MeetingMinView.less +32 -0
- package/es/modules/menus/components/Access/index.d.ts +6 -0
- package/es/modules/menus/components/Access/index.js +19 -0
- package/es/modules/menus/components/Access/index.js.map +1 -0
- package/es/modules/menus/components/Account/index.d.ts +6 -0
- package/es/modules/menus/components/Account/index.js +19 -0
- package/es/modules/menus/components/Account/index.js.map +1 -0
- package/es/modules/menus/components/AddUsers/index.d.ts +3 -0
- package/es/modules/menus/components/AddUsers/index.js +41 -0
- package/es/modules/menus/components/AddUsers/index.js.map +1 -0
- package/es/modules/menus/components/AddUsers/index.less +7 -0
- package/es/modules/menus/components/Status/index.d.ts +6 -0
- package/es/modules/menus/components/Status/index.js +19 -0
- package/es/modules/menus/components/Status/index.js.map +1 -0
- package/es/modules/menus/components/UsersList/index.d.ts +3 -0
- package/es/modules/menus/components/UsersList/index.js +130 -0
- package/es/modules/menus/components/UsersList/index.js.map +1 -0
- package/es/modules/menus/components/UsersList/index.less +66 -0
- package/es/modules/menus/pages/ListOptions/Company/index.d.ts +3 -0
- package/es/modules/menus/pages/ListOptions/Company/index.js +116 -0
- package/es/modules/menus/pages/ListOptions/Company/index.js.map +1 -0
- package/es/modules/menus/pages/ListOptions/Company/index.less +20 -0
- package/es/modules/menus/pages/ListOptions/Config/index.d.ts +3 -0
- package/es/modules/menus/pages/ListOptions/Config/index.js +5 -0
- package/es/modules/menus/pages/ListOptions/Config/index.js.map +1 -0
- package/es/modules/menus/pages/ListOptions/Teams/index.d.ts +3 -0
- package/es/modules/menus/pages/ListOptions/Teams/index.js +70 -0
- package/es/modules/menus/pages/ListOptions/Teams/index.js.map +1 -0
- package/es/modules/menus/pages/ListOptions/Teams/index.less +46 -0
- package/es/modules/menus/pages/ListOptions/Users/index.d.ts +3 -0
- package/es/modules/menus/pages/ListOptions/Users/index.js +33 -0
- package/es/modules/menus/pages/ListOptions/Users/index.js.map +1 -0
- package/es/modules/menus/pages/ListOptions/Users/index.less +44 -0
- package/es/modules/menus/pages/ListOptions/index.d.ts +3 -0
- package/es/modules/menus/pages/ListOptions/index.js +52 -0
- package/es/modules/menus/pages/ListOptions/index.js.map +1 -0
- package/es/modules/menus/pages/MenusRoutes.d.ts +3 -0
- package/es/modules/menus/pages/MenusRoutes.js +8 -0
- package/es/modules/menus/pages/MenusRoutes.js.map +1 -0
- package/es/modules/routes.d.ts +4 -0
- package/es/modules/routes.js +8 -0
- package/es/modules/routes.js.map +1 -0
- package/es/modules/tasks/TasksRoutes.d.ts +17 -0
- package/es/modules/tasks/TasksRoutes.js +39 -0
- package/es/modules/tasks/TasksRoutes.js.map +1 -0
- package/es/modules/tasks/components/NewTaskForm/index.d.ts +9 -0
- package/es/modules/tasks/components/NewTaskForm/index.js +107 -0
- package/es/modules/tasks/components/NewTaskForm/index.js.map +1 -0
- package/es/modules/tasks/components/NewTaskForm/index.less +43 -0
- package/es/modules/tasks/components/NewTaskForm/state.d.ts +16 -0
- package/es/modules/tasks/components/NewTaskForm/state.js +33 -0
- package/es/modules/tasks/components/NewTaskForm/state.js.map +1 -0
- package/es/modules/tasks/components/SubTaskList/index.d.ts +5 -0
- package/es/modules/tasks/components/SubTaskList/index.js +91 -0
- package/es/modules/tasks/components/SubTaskList/index.js.map +1 -0
- package/es/modules/tasks/components/SubTaskList/index.less +43 -0
- package/es/modules/tasks/components/SubTaskList/state.d.ts +23 -0
- package/es/modules/tasks/components/SubTaskList/state.js +60 -0
- package/es/modules/tasks/components/SubTaskList/state.js.map +1 -0
- package/es/modules/tasks/components/TaskDetail/index.d.ts +6 -0
- package/es/modules/tasks/components/TaskDetail/index.js +62 -0
- package/es/modules/tasks/components/TaskDetail/index.js.map +1 -0
- package/es/modules/tasks/components/TaskItem/TaskItem.d.ts +9 -0
- package/es/modules/tasks/components/TaskItem/TaskItem.js +119 -0
- package/es/modules/tasks/components/TaskItem/TaskItem.js.map +1 -0
- package/es/modules/tasks/components/TaskItem/index.d.ts +6 -0
- package/es/modules/tasks/components/TaskItem/index.js +7 -0
- package/es/modules/tasks/components/TaskItem/index.js.map +1 -0
- package/es/modules/tasks/components/TaskItem/index.less +76 -0
- package/es/modules/tasks/components/TaskItem/state.d.ts +5 -0
- package/es/modules/tasks/components/TaskItem/state.js +14 -0
- package/es/modules/tasks/components/TaskItem/state.js.map +1 -0
- package/es/modules/tasks/components/TaskList/index.d.ts +3 -0
- package/es/modules/tasks/components/TaskList/index.js +42 -0
- package/es/modules/tasks/components/TaskList/index.js.map +1 -0
- package/es/modules/tasks/components/TaskList/state.d.ts +7 -0
- package/es/modules/tasks/components/TaskList/state.js +23 -0
- package/es/modules/tasks/components/TaskList/state.js.map +1 -0
- package/es/modules/tasks/pages/TaskListView/index.d.ts +3 -0
- package/es/modules/tasks/pages/TaskListView/index.js +8 -0
- package/es/modules/tasks/pages/TaskListView/index.js.map +1 -0
- package/es/modules/tasks/pages/TaskTabView/index.d.ts +3 -0
- package/es/modules/tasks/pages/TaskTabView/index.js +53 -0
- package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -0
- package/es/modules/tasks/pages/TaskTestView/index.d.ts +3 -0
- package/es/modules/tasks/pages/TaskTestView/index.js +55 -0
- package/es/modules/tasks/pages/TaskTestView/index.js.map +1 -0
- package/es/modules/tasks/pages/TaskTestView/index.less +51 -0
- package/es/modules/user/pages/Positions/index.d.ts +3 -0
- package/es/modules/user/pages/Positions/index.js +94 -0
- package/es/modules/user/pages/Positions/index.js.map +1 -0
- package/es/modules/user/pages/Positions/index.less +60 -0
- package/es/modules/user/pages/Profile/index.d.ts +11 -0
- package/es/modules/user/pages/Profile/index.js +79 -0
- package/es/modules/user/pages/Profile/index.js.map +1 -0
- package/es/modules/user/pages/Profile/index.less +45 -0
- package/es/modules/workspaces/components/Access/index.d.ts +6 -0
- package/es/modules/workspaces/components/Access/index.js +19 -0
- package/es/modules/workspaces/components/Access/index.js.map +1 -0
- package/es/modules/workspaces/components/Account/index.d.ts +6 -0
- package/es/modules/workspaces/components/Account/index.js +19 -0
- package/es/modules/workspaces/components/Account/index.js.map +1 -0
- package/es/modules/workspaces/components/AddUsers/index.d.ts +3 -0
- package/es/modules/workspaces/components/AddUsers/index.js +41 -0
- package/es/modules/workspaces/components/AddUsers/index.js.map +1 -0
- package/es/modules/workspaces/components/AddUsers/index.less +7 -0
- package/es/modules/workspaces/components/ListHeard/index.d.ts +5 -0
- package/es/modules/workspaces/components/ListHeard/index.js +24 -0
- package/es/modules/workspaces/components/ListHeard/index.js.map +1 -0
- package/es/modules/workspaces/components/ListHeard/index.less +33 -0
- package/es/modules/workspaces/components/Status/index.d.ts +6 -0
- package/es/modules/workspaces/components/Status/index.js +19 -0
- package/es/modules/workspaces/components/Status/index.js.map +1 -0
- package/es/modules/workspaces/components/UsersList/index.d.ts +3 -0
- package/es/modules/workspaces/components/UsersList/index.js +131 -0
- package/es/modules/workspaces/components/UsersList/index.js.map +1 -0
- package/es/modules/workspaces/components/UsersList/index.less +74 -0
- package/es/modules/workspaces/pages/BoardView/index.d.ts +3 -0
- package/es/modules/workspaces/pages/BoardView/index.js +68 -0
- package/es/modules/workspaces/pages/BoardView/index.js.map +1 -0
- package/es/modules/workspaces/pages/BoardView/index.less +57 -0
- package/es/modules/workspaces/pages/ListView/index.d.ts +3 -0
- package/es/modules/workspaces/pages/ListView/index.js +78 -0
- package/es/modules/workspaces/pages/ListView/index.js.map +1 -0
- package/es/modules/workspaces/pages/ListView/index.less +92 -0
- package/es/modules/workspaces/pages/Users/index.d.ts +3 -0
- package/es/modules/workspaces/pages/Users/index.js +37 -0
- package/es/modules/workspaces/pages/Users/index.js.map +1 -0
- package/es/modules/workspaces/pages/Users/index.less +47 -0
- package/es/modules/workspaces/pages/WorkSpacesRoutes.d.ts +3 -0
- package/es/modules/workspaces/pages/WorkSpacesRoutes.js +12 -0
- package/es/modules/workspaces/pages/WorkSpacesRoutes.js.map +1 -0
- package/es/styles/ScrollBar.less +30 -0
- package/es/styles/common.less +187 -0
- package/es/styles/index.less +13 -0
- package/package.json +132 -0
- package/readme.md +146 -0
@@ -0,0 +1,40 @@
|
|
1
|
+
import React, { useState } from "react";
|
2
|
+
import classnames from "classnames";
|
3
|
+
import { Row, Button, Tabs } from "@voplus/antd";
|
4
|
+
import MeetingItem from "../MeetingItem";
|
5
|
+
import ToolBar from "../../../../components/ToolBar";
|
6
|
+
import styles from "../../../../styles/common.less";
|
7
|
+
import { InlineEdit } from "@voplus/morpho-ui";
|
8
|
+
import DocumentList from "@voplus/morpho-document/es/legacy/components/DocumentList";
|
9
|
+
import AgendaList from "../AgendaList";
|
10
|
+
import Comment from "@voplus/morpho-collaboration/es/components/Comment";
|
11
|
+
import ActivityLog from "../../../../components/ActivityLog";
|
12
|
+
import { useMeeting, useMeetingStore } from "../../../../data/meeting";
|
13
|
+
export default (props) => {
|
14
|
+
const [activeKey, setActiveKey] = useState("1");
|
15
|
+
const meetingStore = useMeetingStore();
|
16
|
+
const meeting = useMeeting(props.id, { reload: true });
|
17
|
+
return (React.createElement("div", { className: classnames("module-detail-view", { "module-comment-view": activeKey === "3" }) },
|
18
|
+
React.createElement("div", { className: "module-view-header" },
|
19
|
+
React.createElement(Row, { type: "flex", justify: "space-between" },
|
20
|
+
React.createElement(MeetingItem, { id: props.id, isDetail: true }),
|
21
|
+
React.createElement("div", null,
|
22
|
+
React.createElement(ToolBar, { lock: true, routeUrl: `/meetings/${props.id}` }),
|
23
|
+
React.createElement("div", { className: styles["margin-top-10"] },
|
24
|
+
React.createElement(Button, { size: "small" }, "+tag"))))),
|
25
|
+
React.createElement(Tabs, { activeKey: activeKey, onChange: activeKey => setActiveKey(activeKey) },
|
26
|
+
React.createElement(Tabs.TabPane, { tab: "Details", key: "1" },
|
27
|
+
React.createElement("div", { className: "module-box" },
|
28
|
+
React.createElement("div", { className: styles["padding-bottom-20"] },
|
29
|
+
React.createElement(InlineEdit, { defaultValue: meeting.description || "", content: v => (React.createElement("div", null, v.store.value.toString() || React.createElement("i", null, "click on edit description"))), onSave: v => meetingStore.edit(meeting.id, { Description: v }) })),
|
30
|
+
React.createElement(AgendaList, { parentId: props.id, className: styles["margin-bottom-15"] }))),
|
31
|
+
React.createElement(Tabs.TabPane, { tab: "Documents", key: "2" },
|
32
|
+
React.createElement("div", { className: "module-box" },
|
33
|
+
React.createElement(DocumentList, { id: props.id }))),
|
34
|
+
React.createElement(Tabs.TabPane, { tab: "Comments", key: "3" },
|
35
|
+
React.createElement(Comment, { channelId: props.id })),
|
36
|
+
React.createElement(Tabs.TabPane, { tab: "Activities", key: "4" },
|
37
|
+
React.createElement("div", { className: "module-box" },
|
38
|
+
React.createElement(ActivityLog, null))))));
|
39
|
+
};
|
40
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingDetail/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,OAAO,MAAM,gCAAgC,CAAC;AAErD,OAA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
4
|
+
import AvatarList from "../../../../components/AvatarList";
|
5
|
+
import MoreOperateDropdown from "../../../../controls/MoreOperateDropdown";
|
6
|
+
import { faMapMarkerAlt, faClock, faStopwatch, faUserFriends } from "@fortawesome/pro-light-svg-icons";
|
7
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
8
|
+
import styles from "./index.less";
|
9
|
+
import { useMeeting, useMeetingStore } from "../../../../data/meeting";
|
10
|
+
import { InlineEdit } from "@voplus/morpho-ui";
|
11
|
+
import { useObserver } from "mobx-react-lite";
|
12
|
+
import moment from "moment";
|
13
|
+
import { State } from "./state";
|
14
|
+
export default (props) => {
|
15
|
+
const list = [
|
16
|
+
{ name: "HaHa1", url: "https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png" },
|
17
|
+
{ name: "HaHa2", url: "https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png" },
|
18
|
+
{ name: "HaHa3", url: "https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png" },
|
19
|
+
{ name: "HaHa4", url: "https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png" },
|
20
|
+
{ name: "HaHa5", url: "https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png" },
|
21
|
+
{ name: "HaHa6", url: "https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png" }
|
22
|
+
];
|
23
|
+
const meetingStore = useMeetingStore();
|
24
|
+
const [state] = useState(new State());
|
25
|
+
state.meeting = useMeeting(props.id);
|
26
|
+
const onEdit = () => {
|
27
|
+
console.log("edit");
|
28
|
+
};
|
29
|
+
const onDelete = () => {
|
30
|
+
console.log("delete");
|
31
|
+
};
|
32
|
+
const onRefresh = () => {
|
33
|
+
console.log("onRefresh");
|
34
|
+
};
|
35
|
+
const onSave = async (v) => {
|
36
|
+
if (v.trim() === state.meeting.name)
|
37
|
+
return;
|
38
|
+
state.loading = true;
|
39
|
+
await meetingStore.edit(state.meeting.id, { Name: v });
|
40
|
+
state.loading = false;
|
41
|
+
};
|
42
|
+
return useObserver(() => (React.createElement(React.Fragment, null, props.isDetail ? (React.createElement("div", { className: "meeting-item-detail" },
|
43
|
+
React.createElement(Spin, { spinning: state.loading, indicator: React.createElement(Icon, { type: "loading", spin: true }) },
|
44
|
+
React.createElement(InlineEdit, { defaultValue: state.meeting.name, content: v => React.createElement("div", { className: "meeting-item-name" }, v.store.value), onSave: onSave })),
|
45
|
+
React.createElement("div", null,
|
46
|
+
React.createElement("span", { className: "meeting-clock" },
|
47
|
+
React.createElement(FAIcon, { icon: faClock }),
|
48
|
+
moment(state.meeting.startTime).format("HH:mm A") +
|
49
|
+
" to " +
|
50
|
+
moment(state.meeting.endTime).format("HH:mm A")),
|
51
|
+
React.createElement("span", { className: "duration" },
|
52
|
+
React.createElement(FAIcon, { icon: faStopwatch }),
|
53
|
+
moment(state.meeting.startTime).from(moment(state.meeting.endTime), true))),
|
54
|
+
React.createElement(Row, { type: "flex", align: "middle" },
|
55
|
+
React.createElement("span", { className: "meeting-clock" },
|
56
|
+
React.createElement(FAIcon, { icon: faMapMarkerAlt }),
|
57
|
+
state.meeting.venue || "One Raffles Place"),
|
58
|
+
React.createElement(FAIcon, { icon: faUserFriends, flip: "horizontal", color: "#666", size: "sm" }),
|
59
|
+
React.createElement(AvatarList, { list: list, num: 4 })))) : (React.createElement(Row, { type: "flex", align: "middle", className: classnames("meeting-item-list", props.className) },
|
60
|
+
React.createElement("div", { className: "meeting-item-date" },
|
61
|
+
React.createElement("div", null, moment(state.meeting.startTime).format("DD")),
|
62
|
+
React.createElement("div", { className: "month" }, moment(state.meeting.startTime).format("ddd"))),
|
63
|
+
React.createElement("div", { className: "meeting-item-content" },
|
64
|
+
React.createElement("div", null,
|
65
|
+
React.createElement(InlineEdit, { editable: false, defaultValue: state.meeting.name, content: v => React.createElement("div", { className: "meeting-item-name" }, v.store.value) }),
|
66
|
+
React.createElement("div", null,
|
67
|
+
React.createElement("span", { className: "meeting-clock" },
|
68
|
+
React.createElement(FAIcon, { icon: faClock }),
|
69
|
+
React.createElement(Tooltip, { title: moment(state.meeting.startTime).format("YYYY-MM-DD HH:mm:ss") +
|
70
|
+
" to " +
|
71
|
+
moment(state.meeting.endTime).format("YYYY-MM-DD HH:mm:ss") }, moment(state.meeting.startTime).format("hh:mm A") +
|
72
|
+
" to " +
|
73
|
+
moment(state.meeting.endTime).format("hh:mm A"))),
|
74
|
+
React.createElement("span", null,
|
75
|
+
React.createElement(FAIcon, { icon: faStopwatch }),
|
76
|
+
moment(state.meeting.startTime).from(moment(state.meeting.endTime), true))),
|
77
|
+
React.createElement("div", null,
|
78
|
+
React.createElement(FAIcon, { icon: faMapMarkerAlt }),
|
79
|
+
state.meeting.venue || "One Raffles Place")),
|
80
|
+
React.createElement("div", null,
|
81
|
+
React.createElement(AvatarList, { list: list, num: 4, className: styles["margin-right-5"] }),
|
82
|
+
React.createElement(MoreOperateDropdown, { onEdit: onEdit, onDelete: onDelete }))))))));
|
83
|
+
};
|
84
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,EAAE,GAAG,EAAuB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC7E,OAAO,UAAU,MAAM,mCAAmC,CAAC;AAC3D,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EACN,cAAc,EACd,OAAO,EACP,WAAW,EACX,aAAa,EACb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,C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ACC,8BAAM,SAAS,EAAC,eAAe;wBAC9B,oBAAC,MAAM,IAAC,IAAI,EAAE,OAAO,GAAI;wBACzB,oBAAC,OAAO,IACP,KAAK,EACJ,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC;gCAC7D,MAAM;gCACN,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC,IAG3D,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC;4BACjD,MAAM;4BACN,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CACvC,CACJ;oBACP;wBACC,oBAAC,MAAM,IAAC,IAAI,EAAE,WAAW,GAAI;wBAC5B,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,CACpE,CACF;gBACN;oBACC,oBAAC,MAAM,IAAC,IAAI,EAAE,cAAc,GAAI;oBAC/B,KAAK,CAAC,OAAO,CAAC,KAAK,IAAI,mBAAmB,CACtC,CACD;YACN;gBACC,oBAAC,UAAU,IAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,CAAC,gBAAgB,CAAC,GAAI;gBACvE,oBAAC,mBAAmB,IAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAI,CACtD,CACD,CACD,CACN,CACe,CACjB,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
@@ -0,0 +1,131 @@
|
|
1
|
+
@import "~@voplus/antd/es/style/themes/default.less";
|
2
|
+
@import "../../../../styles/common.less";
|
3
|
+
:global {
|
4
|
+
.meeting-item-list,
|
5
|
+
.meeting-item-detail {
|
6
|
+
font-size: 13px;
|
7
|
+
.meeting-item-name {
|
8
|
+
font-size: 15px;
|
9
|
+
line-height: 26px;
|
10
|
+
color: #000;
|
11
|
+
font-weight: 500;
|
12
|
+
}
|
13
|
+
.meeting-clock {
|
14
|
+
display: inline-block;
|
15
|
+
min-width: 160px;
|
16
|
+
margin-right: 10px;
|
17
|
+
}
|
18
|
+
.svg-inline--fa {
|
19
|
+
margin-right: 5px;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
.meeting-item-list {
|
23
|
+
position: relative;
|
24
|
+
padding: 5px 10px 5px 0;
|
25
|
+
border-bottom: 1px solid @border-color-base;
|
26
|
+
cursor: pointer;
|
27
|
+
.meeting-item-date {
|
28
|
+
position: relative;
|
29
|
+
width: 70px;
|
30
|
+
margin-right: 10px;
|
31
|
+
color: #000;
|
32
|
+
font-size: 16px;
|
33
|
+
text-align: center;
|
34
|
+
.month {
|
35
|
+
color: #777;
|
36
|
+
font-size: 13px;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
.meeting-item-date:before {
|
40
|
+
content: "";
|
41
|
+
position: absolute;
|
42
|
+
top: 0;
|
43
|
+
right: 0;
|
44
|
+
height: 100%;
|
45
|
+
border-right: 1px solid @border-color-base;
|
46
|
+
}
|
47
|
+
.meeting-item-content {
|
48
|
+
display: flex;
|
49
|
+
flex: 1;
|
50
|
+
justify-content: space-between;
|
51
|
+
align-items: center;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
.meeting-item-list:before {
|
55
|
+
content: "";
|
56
|
+
position: absolute;
|
57
|
+
left: 0;
|
58
|
+
height: 100%;
|
59
|
+
border-left: 2px solid #faad14;
|
60
|
+
}
|
61
|
+
.meeting-item-detail {
|
62
|
+
.meeting-item-name {
|
63
|
+
height: 32px;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
.meeting-item {
|
68
|
+
min-width: 200px;
|
69
|
+
line-height: 22px;
|
70
|
+
font-size: 13px;
|
71
|
+
color: #666;
|
72
|
+
text-align: left;
|
73
|
+
.horizontal-item {
|
74
|
+
position: relative;
|
75
|
+
padding: 5px 0;
|
76
|
+
// line-height: 22px;
|
77
|
+
border-bottom: 1px solid @border-color-base;
|
78
|
+
.horizontal-aside {
|
79
|
+
flex: 1;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
.horizontal-item:before {
|
83
|
+
content: "";
|
84
|
+
position: absolute;
|
85
|
+
left: 0;
|
86
|
+
height: 100%;
|
87
|
+
border-left: 2px solid #faad14;
|
88
|
+
}
|
89
|
+
.vertical-item {
|
90
|
+
h5 {
|
91
|
+
padding-bottom: 5px;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
.meeting-date {
|
95
|
+
position: relative;
|
96
|
+
width: 70px;
|
97
|
+
color: #000;
|
98
|
+
font-size: 16px;
|
99
|
+
text-align: center;
|
100
|
+
.month {
|
101
|
+
color: #777;
|
102
|
+
font-size: 13px;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
.meeting-date:before {
|
106
|
+
content: "";
|
107
|
+
position: absolute;
|
108
|
+
top: 0;
|
109
|
+
right: 0;
|
110
|
+
height: 100%;
|
111
|
+
border-right: 1px solid @border-color-base;
|
112
|
+
}
|
113
|
+
h5 {
|
114
|
+
font-size: 14px;
|
115
|
+
color: #000;
|
116
|
+
font-weight: 500;
|
117
|
+
}
|
118
|
+
.svg-inline--fa {
|
119
|
+
margin-right: 5px;
|
120
|
+
}
|
121
|
+
.text {
|
122
|
+
display: inline-block;
|
123
|
+
min-width: 160px;
|
124
|
+
margin-right: 20px;
|
125
|
+
}
|
126
|
+
.description {
|
127
|
+
line-height: 18px;
|
128
|
+
margin: 15px 0;
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { __decorate } from "tslib";
|
2
|
+
import { observable } from "mobx";
|
3
|
+
export class State {
|
4
|
+
constructor() {
|
5
|
+
this.loading = false;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
__decorate([
|
9
|
+
observable
|
10
|
+
], State.prototype, "meeting", void 0);
|
11
|
+
__decorate([
|
12
|
+
observable
|
13
|
+
], State.prototype, "loading", void 0);
|
14
|
+
//# sourceMappingURL=state.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingItem/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGlC,MAAM,OAAO,KAAK;IAAlB;QAEa,YAAO,GAAY,KAAK,CAAC;IACtC,CAAC;CAAA;AAFY;IAAX,UAAU;sCAAmB;AAClB;IAAX,UAAU;sCAA0B"}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import React, { useState, useEffect } from "react";
|
2
|
+
import VoLayout from "../../../../components/VoLayout";
|
3
|
+
import MeetingItem from "../MeetingItem";
|
4
|
+
import NewMeetingForm from "../NewMeetingForm";
|
5
|
+
import MeetingDetail from "../MeetingDetail";
|
6
|
+
import { useObserver } from "mobx-react-lite";
|
7
|
+
import { useMeetingStore, useMeetingListEffect } from "../../../../data/meeting";
|
8
|
+
import { useSort } from "../../../../data/contexts/SortContext";
|
9
|
+
import { State } from "./state";
|
10
|
+
import { toJS } from "mobx";
|
11
|
+
export default () => {
|
12
|
+
const meetings = useMeetingStore();
|
13
|
+
const [state] = useState(new State(meetings));
|
14
|
+
const sortStore = useSort();
|
15
|
+
useEffect(() => {
|
16
|
+
state.page = 1;
|
17
|
+
state.subscribeOnMeetingCreateCallback();
|
18
|
+
}, []);
|
19
|
+
useObserver(() => {
|
20
|
+
useMeetingListEffect(list => {
|
21
|
+
state.meetings = list;
|
22
|
+
state.loading = false;
|
23
|
+
console.log(4456454);
|
24
|
+
}, { Sort: toJS(sortStore.data), ...{ page: state.page } });
|
25
|
+
// state.loading = false;
|
26
|
+
});
|
27
|
+
const loadData = () => {
|
28
|
+
// state.page = page;
|
29
|
+
// state.loading = true;
|
30
|
+
};
|
31
|
+
return useObserver(() => (React.createElement(VoLayout, { data: state.meetings, loading: state.loading, formViewTitle: "Add Meeting", formView: React.createElement(NewMeetingForm, { onDisplayView: (id) => React.createElement(MeetingDetail, { id: id }) }), defaultView: (id) => React.createElement(MeetingDetail, { id: id }), renderItem: (meeting, className) => (React.createElement(MeetingItem, { id: meeting.id, className: className })),
|
32
|
+
// seek={false}
|
33
|
+
// iconStyle={{ padding: "10px" }}
|
34
|
+
loadData: loadData })));
|
35
|
+
};
|
36
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,QAAQ,MAAM,iCAAiC,CAAC;AACvD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,eAAe,GAAG,EAAE;IACnB,MAAM,QAAQ,GAAG,eAAe,EAAE,CAAC;IACnC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC9C,MAAM,SAAS,GAAG,OAAO,EAAE,CAAC;IAC5B,SAAS,CAAC,GAAG,EAAE;QACd,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC;QACf,KAAK,CAAC,gCAA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3
|
+
private _store;
|
4
|
+
constructor(_store: MeetingStore);
|
5
|
+
meetings: IMeeting[];
|
6
|
+
loading: Boolean;
|
7
|
+
page: number;
|
8
|
+
onMeetingCreated: (s: MeetingStore, t: IMeeting) => void;
|
9
|
+
onMeetingDeleted: (s: MeetingStore, t: IMeeting) => void;
|
10
|
+
subscribeOnMeetingCreateCallback: () => () => void;
|
11
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import { __decorate } from "tslib";
|
2
|
+
import { observable } from "mobx";
|
3
|
+
export class State {
|
4
|
+
constructor(_store) {
|
5
|
+
this._store = _store;
|
6
|
+
this.meetings = [];
|
7
|
+
this.loading = true;
|
8
|
+
this.page = 1;
|
9
|
+
this.onMeetingCreated = (s, t) => {
|
10
|
+
this.meetings.push(t);
|
11
|
+
};
|
12
|
+
this.onMeetingDeleted = (s, t) => {
|
13
|
+
this.meetings = this.meetings.filter(meeting => meeting.id !== t.id);
|
14
|
+
};
|
15
|
+
this.subscribeOnMeetingCreateCallback = () => {
|
16
|
+
this._store.MeetingCreatedEvent.subscribe(this.onMeetingCreated);
|
17
|
+
this._store.MeetingDeletedEvent.subscribe(this.onMeetingDeleted);
|
18
|
+
return () => {
|
19
|
+
this._store.MeetingCreatedEvent.unsubscribe(this.onMeetingCreated);
|
20
|
+
this._store.MeetingDeletedEvent.unsubscribe(this.onMeetingDeleted);
|
21
|
+
};
|
22
|
+
};
|
23
|
+
}
|
24
|
+
}
|
25
|
+
__decorate([
|
26
|
+
observable
|
27
|
+
], State.prototype, "meetings", void 0);
|
28
|
+
__decorate([
|
29
|
+
observable
|
30
|
+
], State.prototype, "loading", void 0);
|
31
|
+
__decorate([
|
32
|
+
observable
|
33
|
+
], State.prototype, "page", void 0);
|
34
|
+
//# sourceMappingURL=state.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingList/state.ts"],"names":[],"mappings":";AAAA,OAAO,E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select } from "@voplus/antd";
|
3
|
+
const { TextArea } = Input;
|
4
|
+
import { faMapMarkerAlt, faPodcast, faUserFriends, faClock } from "@fortawesome/pro-light-svg-icons";
|
5
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
6
|
+
import AvatarList from "../../../../components/AvatarList";
|
7
|
+
import AgendaNewForm from "../AgendaList/AgendaNewForm";
|
8
|
+
import styles from "./index.less";
|
9
|
+
import { useAsideContentContext } from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
10
|
+
import moment from "moment";
|
11
|
+
import { State } from "./state";
|
12
|
+
import { useObserver } from "mobx-react-lite";
|
13
|
+
import { useMeetingStore } from "../../../../data/meeting";
|
14
|
+
import { useSort } from "../../../../data/contexts/SortContext";
|
15
|
+
const NewMeetingForm = (props) => {
|
16
|
+
const list = [
|
17
|
+
{ name: "HaHa1", url: "https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png" },
|
18
|
+
{ name: "HaHa2", url: "https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png" }
|
19
|
+
];
|
20
|
+
const Params = {
|
21
|
+
Name: "",
|
22
|
+
Description: "",
|
23
|
+
StartTime: undefined,
|
24
|
+
EndTime: undefined,
|
25
|
+
Venue: "",
|
26
|
+
Url: ""
|
27
|
+
};
|
28
|
+
const sortStore = useSort();
|
29
|
+
const meetings = useMeetingStore();
|
30
|
+
const [state] = useState(new State());
|
31
|
+
const asideContext = useAsideContentContext();
|
32
|
+
// const [params, setParams] = useState(Params);
|
33
|
+
const disabledStartTime = (StartTime) => {
|
34
|
+
const { EndTime } = state.params;
|
35
|
+
if (!StartTime || !EndTime) {
|
36
|
+
return false;
|
37
|
+
}
|
38
|
+
return +moment(StartTime) > +moment(EndTime);
|
39
|
+
};
|
40
|
+
const disabledEndTime = (EndTime) => {
|
41
|
+
const { StartTime } = state.params;
|
42
|
+
if (!EndTime || !StartTime) {
|
43
|
+
return false;
|
44
|
+
}
|
45
|
+
return +moment(EndTime) <= +moment(StartTime);
|
46
|
+
};
|
47
|
+
// 不可选hour
|
48
|
+
const hours = Array.from(new Array(24).keys());
|
49
|
+
const disabledHours = (value, type) => {
|
50
|
+
const { StartTime, EndTime } = state.params;
|
51
|
+
if (!value || +moment(EndTime).startOf("day") > +moment(StartTime).startOf("day"))
|
52
|
+
return [];
|
53
|
+
const hour = moment(value).get("hour");
|
54
|
+
return hours.filter(h => (type === "EndTime" ? h <= hour : h > hour));
|
55
|
+
};
|
56
|
+
// 不可选minute
|
57
|
+
const minutes = Array.from(new Array(60).keys());
|
58
|
+
const disabledMinutes = (value, type) => {
|
59
|
+
const { StartTime, EndTime } = state.params;
|
60
|
+
if (moment(EndTime).get("hour") === moment(StartTime).get("hour")) {
|
61
|
+
const minute = moment(value).get("minute");
|
62
|
+
return minutes.filter(m => (type === "EndTime" ? m <= minute : m > minute));
|
63
|
+
}
|
64
|
+
return [];
|
65
|
+
};
|
66
|
+
const onChangeAgenda = (params) => {
|
67
|
+
state.params.agenda = params;
|
68
|
+
};
|
69
|
+
const changeAllDay = (e) => {
|
70
|
+
state.allDay = e.target.checked;
|
71
|
+
if (e.target.checked)
|
72
|
+
state.params.StartTime = moment().endOf("day");
|
73
|
+
};
|
74
|
+
let agendaRef = createRef();
|
75
|
+
const onSubmit = async () => {
|
76
|
+
if (!state.params.Name)
|
77
|
+
return message.warning("Title is required");
|
78
|
+
state.loading = true;
|
79
|
+
const res = await meetings.create(state.params);
|
80
|
+
state.loading = false;
|
81
|
+
sortStore.id = res.id;
|
82
|
+
asideContext.openAside(props.onDisplayView(res.id), {
|
83
|
+
span: 12
|
84
|
+
});
|
85
|
+
state.params = Params;
|
86
|
+
agendaRef.current && agendaRef.current.clear();
|
87
|
+
};
|
88
|
+
return useObserver(() => (React.createElement(Form, { layout: "vertical", className: styles["new-meeting-form"] },
|
89
|
+
React.createElement(Form.Item, { label: "Title for your meeting" },
|
90
|
+
React.createElement(Input, { autoFocus: true, value: state.params.Name, onChange: e => (state.params.Name = e.target.value) })),
|
91
|
+
React.createElement(Form.Item, { label: "Description or objectives of you meeting" },
|
92
|
+
React.createElement(TextArea, { value: state.params.Description, rows: 2, onChange: e => (state.params.Description = e.target.value) })),
|
93
|
+
React.createElement(Form.Item, { label: "" },
|
94
|
+
React.createElement(Row, null,
|
95
|
+
React.createElement(Col, { span: 12 },
|
96
|
+
React.createElement("span", { className: "date-title" }, "Start"),
|
97
|
+
React.createElement(DatePicker, { value: state.params.StartTime, disabledDate: disabledStartTime, onChange: value => (state.params.StartTime = value), getCalendarContainer: (triggerNode) => triggerNode.parentElement })),
|
98
|
+
React.createElement(Col, { span: 8 },
|
99
|
+
React.createElement(TimePicker, { value: state.params.StartTime, disabled: !!state.allDay, format: "hh:mm A", disabledHours: () => disabledHours(state.params.EndTime, "StartTime"), disabledMinutes: () => disabledMinutes(state.params.EndTime, "StartTime"), getPopupContainer: (triggerNode) => triggerNode.parentElement, onChange: value => (state.params.StartTime = value) })),
|
100
|
+
React.createElement(Col, { span: 4 },
|
101
|
+
React.createElement(Row, { type: "flex", justify: "space-between", align: "middle" },
|
102
|
+
React.createElement(FAIcon, { icon: faClock }),
|
103
|
+
React.createElement(Checkbox, { value: state.allDay, onChange: changeAllDay }, "All day"))))),
|
104
|
+
React.createElement(Form.Item, { label: "" },
|
105
|
+
React.createElement(Row, null,
|
106
|
+
React.createElement(Col, { span: 12 },
|
107
|
+
React.createElement("span", { className: "date-title" }, "End"),
|
108
|
+
React.createElement(DatePicker, { value: state.params.EndTime, disabledDate: disabledEndTime, getCalendarContainer: (triggerNode) => triggerNode.parentElement, onChange: value => (state.params.EndTime = value) })),
|
109
|
+
React.createElement(Col, { span: 8 },
|
110
|
+
React.createElement(TimePicker, { value: state.params.EndTime, format: "hh:mm A", disabledHours: () => disabledHours(state.params.StartTime, "EndTime"), disabledMinutes: () => disabledMinutes(state.params.StartTime, "EndTime"), getPopupContainer: (triggerNode) => triggerNode.parentElement, onChange: value => (state.params.EndTime = value) })),
|
111
|
+
React.createElement(Col, { span: 4 },
|
112
|
+
React.createElement(Row, { type: "flex", justify: "space-between", align: "middle" },
|
113
|
+
React.createElement(FAIcon, { icon: faClock }),
|
114
|
+
React.createElement(Select, { value: state.endTimeType, onChange: (value) => (state.endTimeType = value) },
|
115
|
+
React.createElement(Select.Option, { value: "Once" }, "Once"),
|
116
|
+
React.createElement(Select.Option, { value: "Daily" }, "Daily"),
|
117
|
+
React.createElement(Select.Option, { value: "Weekly" }, "Weekly")))))),
|
118
|
+
React.createElement(Form.Item, null,
|
119
|
+
React.createElement(FAIcon, { icon: faUserFriends, className: styles["margin-right-10"] }),
|
120
|
+
React.createElement(AvatarList, { list: list })),
|
121
|
+
React.createElement(Form.Item, { label: "Enter Place" },
|
122
|
+
React.createElement(Input, { prefix: React.createElement(FAIcon, { icon: faMapMarkerAlt }), value: state.params.Venue, onChange: e => (state.params.Venue = e.target.value) })),
|
123
|
+
React.createElement(Form.Item, { label: "Meeting Url" },
|
124
|
+
React.createElement(Input, { prefix: React.createElement(FAIcon, { icon: faPodcast }), value: state.params.Url, onChange: e => (state.params.Url = e.target.value) })),
|
125
|
+
React.createElement(Form.Item, { label: "Agenda" },
|
126
|
+
React.createElement(AgendaNewForm, { ref: agendaRef, addOnly: true, onChange: onChangeAgenda })),
|
127
|
+
React.createElement(Form.Item, null,
|
128
|
+
React.createElement("div", { className: "dropbox" },
|
129
|
+
React.createElement(Upload.Dragger, { name: "files", action: "/upload.do" },
|
130
|
+
React.createElement("div", null, "Drag & Drop files here")))),
|
131
|
+
React.createElement(Form.Item, null,
|
132
|
+
React.createElement(Row, { type: "flex", justify: "end" },
|
133
|
+
React.createElement(Button, { type: "danger", ghost: true, onClick: () => asideContext.closeAside() }, "Cancel"),
|
134
|
+
React.createElement(Button, { loading: state.loading, type: "primary", className: styles["margin-left-20"], onClick: onSubmit }, "Submit"))))));
|
135
|
+
};
|
136
|
+
export default NewMeetingForm;
|
137
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/NewMeetingForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EACN,IAAI,EACJ,KAAK,EACL,MAAM,EACN,MAAM,EACN,UAAU,EACV,UAAU,EACV,QAAQ,EACR,GAAG,EACH,GAAG,EAEH,OAAO,EACP,MAAM,EACN,MAAM,cAAc,CAAC;AACtB,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;AAC3B,OAAO,EACN,cAAc,EACd,SAAS,EACT,aAAa,EACb,OAAO,EACP,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,UAAU,MAAM,mCAAmC,CAAC;AAC3D,OAAO,aAAa,MAAM,6BAA6B,CAAC;AAExD,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAEhE,MAAM,cAAc,GAAG,CAAC,KAA8B,EAAE,EAAE;IACzD,MAAM,IAAI,GAAG;QACZ,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,kEAAkE,EAAE;QAC1F,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,kEAAkE,EAAE;KAC1F,CAAC;IACF,MAAM,MAAM,GAAG;QACd,IAAI,EAAE,EAAE;QACR,WAAW,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,oBAAC,KAAK,IACL,MAAM,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,SAAS,GAAI,EACnC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,EACvB,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,GACjD,CACS;QACZ,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,QAAQ;YACxB,oBAAC,aAAa,IAAC,GAAG,EAAE,SAAS,EAAE,OAAO,QAAC,QAAQ,EAAE,cAAc,GAAI,CAExD;QACZ,oBAAC,IAAI,CAAC,IAAI;YACT,6BAAK,SAAS,EAAC,SAAS;gBACvB,oBAAC,MAAM,CAAC,OAAO,IAAC,IAAI,EAAC,OAAO,EAAC,MAAM,EAAC,YAAY;oBAC/C,0DAAiC,CACjB,CACZ,CACK;QACZ,oBAAC,IAAI,CAAC,IAAI;YACT,oBAAC,GAAG,IAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAC,KAAK;gBAC7B,oBAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,QAAC,OAAO,EAAE,GAAG,EAAE,CAAC,YAAa,CAAC,UAAU,EAAE,aAE5D;gBACT,oBAAC,MAAM,IACN,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,IAAI,EAAC,SAAS,EACd,SAAS,EAAE,MAAM,CAAC,gBAAgB,CAAC,EACnC,OAAO,EAAE,QAAQ,aAGT,CACJ,CACK,CACN,CACP,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,cAAc,CAAC"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
@import "../../../../styles/common.less";
|
2
|
+
.new-meeting-form {
|
3
|
+
font-size: 13px;
|
4
|
+
color: #333;
|
5
|
+
:global {
|
6
|
+
.date-title {
|
7
|
+
display: inline-block;
|
8
|
+
width: 50px;
|
9
|
+
}
|
10
|
+
.ant-form-item-label {
|
11
|
+
line-height: normal;
|
12
|
+
padding-bottom: 10px;
|
13
|
+
}
|
14
|
+
.ant-form-item {
|
15
|
+
padding-bottom: 15px;
|
16
|
+
margin-bottom: 0;
|
17
|
+
}
|
18
|
+
.ant-select {
|
19
|
+
width: auto;
|
20
|
+
}
|
21
|
+
.ant-select-selection {
|
22
|
+
border: none;
|
23
|
+
box-shadow: none;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { __decorate } from "tslib";
|
2
|
+
import { observable } from "mobx";
|
3
|
+
export class State {
|
4
|
+
constructor() {
|
5
|
+
this.params = {
|
6
|
+
Name: "",
|
7
|
+
Description: "",
|
8
|
+
StartTime: undefined,
|
9
|
+
EndTime: undefined,
|
10
|
+
Url: "",
|
11
|
+
agenda: []
|
12
|
+
};
|
13
|
+
this.loading = false;
|
14
|
+
this.allDay = false;
|
15
|
+
this.endTimeType = "Once";
|
16
|
+
}
|
17
|
+
}
|
18
|
+
__decorate([
|
19
|
+
observable
|
20
|
+
], State.prototype, "params", void 0);
|
21
|
+
__decorate([
|
22
|
+
observable
|
23
|
+
], State.prototype, "loading", void 0);
|
24
|
+
__decorate([
|
25
|
+
observable
|
26
|
+
], State.prototype, "allDay", void 0);
|
27
|
+
__decorate([
|
28
|
+
observable
|
29
|
+
], State.prototype, "endTimeType", void 0);
|
30
|
+
//# sourceMappingURL=state.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/NewMeetingForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,OAAO,KAAK;IAAlB;QACa,WAAM,GAAQ;YACzB,IAAI,EAAE,EAAE;YACR,WAAW,EAAE,EAAE;YACf,SAAS,EAAE,SAAS;YACpB,OAAO,EAAE,SAAS;YAClB,GAAG,EAAE,EAAE;YACP,MAAM,EAAE,EAAE;SACV,CAAC;QACU,YAAO,GAAY,KAAK,CAAC;QACzB,WAAM,GAAY,KAAK,CAAC;QACxB,gBAAW,GAAW,MAAM,CAAC;IAC1C,CAAC;CAAA;AAXY;IAAX,UAAU;qCAOT;AACU;IAAX,UAAU;sCAA0B;AACzB;IAAX,UAAU;qCAAyB;AACxB;IAAX,UAAU;0CAA8B"}
|