@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,84 @@
|
|
1
|
+
@import "../../../../styles/ScrollBar.less";
|
2
|
+
.all {
|
3
|
+
height: 100%;
|
4
|
+
display: flex;
|
5
|
+
justify-content: space-between;
|
6
|
+
margin: 10px;
|
7
|
+
padding: 0 10px;
|
8
|
+
background-color: rgb(248, 249, 250);
|
9
|
+
:global {
|
10
|
+
.content-body {
|
11
|
+
height: 100%;
|
12
|
+
width: 19.5%;
|
13
|
+
padding-bottom: 20px;
|
14
|
+
overflow: hidden;
|
15
|
+
.content-top {
|
16
|
+
display: flex;
|
17
|
+
justify-content: space-between;
|
18
|
+
height: 50px;
|
19
|
+
line-height: 50px;
|
20
|
+
padding: 0 10px;
|
21
|
+
background-color: rgb(234, 238, 238);
|
22
|
+
span {
|
23
|
+
font-size: 16px;
|
24
|
+
color: #000;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
.list-body {
|
28
|
+
height: 100%;
|
29
|
+
display: flex;
|
30
|
+
flex-direction: column;
|
31
|
+
overflow: auto;
|
32
|
+
.list-body-content {
|
33
|
+
height: fit-content;
|
34
|
+
background-color: rgb(234, 238, 238);
|
35
|
+
.content-list {
|
36
|
+
background-color: #fff;
|
37
|
+
margin: 10px 10px;
|
38
|
+
padding: 10px 6px;
|
39
|
+
box-shadow: 6px 6px 6px #888888;
|
40
|
+
.content-status {
|
41
|
+
background-color: red;
|
42
|
+
color: #fff;
|
43
|
+
line-height: 20px;
|
44
|
+
width: 80px;
|
45
|
+
text-align: center;
|
46
|
+
border-radius: 5px;
|
47
|
+
}
|
48
|
+
i {
|
49
|
+
font-size: 18px;
|
50
|
+
display: block;
|
51
|
+
color: #000;
|
52
|
+
line-height: 24px;
|
53
|
+
margin-top: 6px;
|
54
|
+
}
|
55
|
+
.content-list-bottom {
|
56
|
+
margin-top: 20px;
|
57
|
+
display: flex;
|
58
|
+
justify-content: space-between;
|
59
|
+
align-items: center;
|
60
|
+
span {
|
61
|
+
margin-right: 14px;
|
62
|
+
.svg-inline--fa {
|
63
|
+
margin-right: 3px;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
span:hover {
|
67
|
+
color: #1890ff;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
p {
|
74
|
+
height: 60px;
|
75
|
+
line-height: 60px;
|
76
|
+
text-align: center;
|
77
|
+
font-size: 16px;
|
78
|
+
color: #000;
|
79
|
+
margin-bottom: 26px;
|
80
|
+
background-color: rgb(234, 238, 238);
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import React, { useState } from "react";
|
2
|
+
import ListHeader from "../../../../components/ListHeader";
|
3
|
+
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
4
|
+
// import VoLayout from "../../../../components/VoLayout";
|
5
|
+
import BoardViewItem from "../../components/BoardViewItem";
|
6
|
+
import Add from "../../components/Add";
|
7
|
+
import styles from "./index.less";
|
8
|
+
import { library } from "@fortawesome/fontawesome-svg-core";
|
9
|
+
import { faFolderOpen, faFileAlt, faTimes } from "@fortawesome/pro-light-svg-icons";
|
10
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
11
|
+
library.add(faFolderOpen, faFileAlt);
|
12
|
+
export default (props) => {
|
13
|
+
const [asideContext] = useState(AsideContent.createContext());
|
14
|
+
const addFormElement = (React.createElement("div", { className: "vo-new-form" },
|
15
|
+
React.createElement("div", { className: "new-form-header" },
|
16
|
+
React.createElement("span", null, "Add Document"),
|
17
|
+
React.createElement("span", { onClick: () => asideContext.closeAside(), className: "close-icon" },
|
18
|
+
React.createElement(FAIcon, { icon: faTimes, size: "lg", color: "#666" }))),
|
19
|
+
React.createElement("div", { className: "new-form-view" },
|
20
|
+
React.createElement(Add, null))));
|
21
|
+
return (React.createElement("div", { className: styles["vo-layout"] },
|
22
|
+
React.createElement(ListHeader, { onAddNewForm: () => asideContext.openAside(addFormElement, { span: 12 }) }),
|
23
|
+
React.createElement(AsideContent, { context: asideContext },
|
24
|
+
React.createElement("div", { className: "vo-layout-main" },
|
25
|
+
React.createElement(BoardViewItem, null)))));
|
26
|
+
};
|
27
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/BoardView/pages/BoardViewList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAA0B,MAAM,OAAO,CAAC;AAChE,OAAO,UAAU,MAAM,mCAAmC,CAAC;AAE3D,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAE/E,0DAA0D;AAC1D,OAAO,aAAa,MAAM,gCAAgC,CAAC;AAC3D,OAAO,GAAG,MAAM,sBAAsB,CAAC;AACvC,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;AACrC,eAAe,CAAC,KAAoB,EAAE,EAAE;IACvC,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;IAC9D,MAAM,cAAc,GAAG,CACtB,6BAAK,SAAS,EAAC,aAAa;QAC3B,6BAAK,SAAS,EAAC,iBAAiB;YAC/B,iDAAyB;YACzB,8BAAM,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,UAAU,EAAE,EAAE,SAAS,EAAC,YAAY;gBACrE,oBAAC,MAAM,IAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAC,IAAI,EAAC,KAAK,EAAC,MAAM,GAAG,CAC1C,CACF;QACN,6BAAK,SAAS,EAAC,eAAe;YAC7B,oBAAC,GAAG,OAAG,CACF,CACD,CACN,CAAC;IAEF,OAAO,CACN,6BAAK,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC;QAClC,oBAAC,UAAU,IACV,YAAY,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,GAEvE;QACF,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAY;YAClC,6BAAK,SAAS,EAAE,gBAAgB;gBAC/B,oBAAC,aAAa,OAAG,CACZ,CACQ,CACV,CACN,CAAC;AACH,CAAC,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
@import "~@voplus/antd/es/style/themes/default.less";
|
2
|
+
.vo-layout {
|
3
|
+
display: flex;
|
4
|
+
flex-direction: column;
|
5
|
+
height: 100%;
|
6
|
+
:global {
|
7
|
+
.vo-layout-main {
|
8
|
+
height: 100%;
|
9
|
+
overflow: hidden;
|
10
|
+
position: relative;
|
11
|
+
display: flex;
|
12
|
+
flex-direction: column;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { Route } from "react-router";
|
3
|
+
import BoardViewList from "./BoardViewList";
|
4
|
+
export default () => {
|
5
|
+
return (React.createElement(React.Fragment, null,
|
6
|
+
React.createElement(Route, { path: "/BoardView/", exact: true, component: BoardViewList })));
|
7
|
+
};
|
8
|
+
//# sourceMappingURL=BoardViewRoutes.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"BoardViewRoutes.js","sourceRoot":"","sources":["../../../../src/modules/BoardView/pages/BoardViewRoutes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,eAAe,GAAG,EAAE;IACnB,OAAO,CACN,oBAAC,KAAK,CAAC,QAAQ;QACd,oBAAC,KAAK,IAAC,IAAI,EAAC,aAAa,EAAC,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,aAAa,GAAI,CACnD,CACjB,CAAC;AACH,CAAC,CAAC"}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
import React, { useState } from "react";
|
2
|
+
import classnames from "classnames";
|
3
|
+
import { Form, Input, DatePicker, Button, Select, Upload, Icon, message } from "@voplus/antd";
|
4
|
+
import { faListAlt } from "@fortawesome/pro-light-svg-icons";
|
5
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
6
|
+
import styles from "./index.less";
|
7
|
+
export default (props) => {
|
8
|
+
const { simple, className } = props;
|
9
|
+
const [isDetailed, setIsDetailed] = useState(false);
|
10
|
+
const [showNewForm, setShowNewForm] = useState(false);
|
11
|
+
const [params] = useState({ title: "" });
|
12
|
+
// save new task
|
13
|
+
const onSubmit = () => {
|
14
|
+
if (isDetailed)
|
15
|
+
return;
|
16
|
+
if (!params.title)
|
17
|
+
return message.warning("Title is required");
|
18
|
+
return;
|
19
|
+
};
|
20
|
+
// cancel add task
|
21
|
+
const onCancelAdd = (e) => {
|
22
|
+
if (e.keyCode === 27)
|
23
|
+
setShowNewForm(false);
|
24
|
+
};
|
25
|
+
const items = [
|
26
|
+
{ id: 1, name: "001" },
|
27
|
+
{ id: 2, name: "002" },
|
28
|
+
{ id: 3, name: "003" },
|
29
|
+
{ id: 4, name: "004" },
|
30
|
+
{ id: 5, name: "005" },
|
31
|
+
{ id: 6, name: "006" }
|
32
|
+
];
|
33
|
+
const { Option } = Select;
|
34
|
+
function handleChange(value) {
|
35
|
+
console.log(`selected ${value}`);
|
36
|
+
}
|
37
|
+
return (React.createElement("div", { className: classnames(styles["new-task-form"], className) },
|
38
|
+
(showNewForm || !simple) && (React.createElement(Form, null,
|
39
|
+
React.createElement(Form.Item, null,
|
40
|
+
React.createElement("div", { className: "form-item-layout" },
|
41
|
+
React.createElement(Input, { value: params.title, placeholder: "Enter a title for this task", onPressEnter: onSubmit, onKeyDown: onCancelAdd }),
|
42
|
+
simple && (React.createElement("span", { className: "detailed", onClick: () => setIsDetailed(!isDetailed) },
|
43
|
+
React.createElement(FAIcon, { icon: faListAlt }))))),
|
44
|
+
(!simple || isDetailed) && (React.createElement("div", null,
|
45
|
+
React.createElement(Form.Item, null,
|
46
|
+
React.createElement(Input.TextArea, { placeholder: "Description" })),
|
47
|
+
React.createElement(Form.Item, null,
|
48
|
+
React.createElement("div", { className: "form-item-layout" },
|
49
|
+
React.createElement("div", null,
|
50
|
+
React.createElement("p", { className: "form-label" }, "Assign people"),
|
51
|
+
React.createElement(Select, { mode: "multiple", style: { width: "100%" }, placeholder: "Please select", defaultValue: ["a10", "c12"], onChange: handleChange }, items.map(item => {
|
52
|
+
return React.createElement(Option, { key: item.name }, item.name);
|
53
|
+
}))),
|
54
|
+
React.createElement("div", { className: styles["margin-left-30"] },
|
55
|
+
React.createElement("p", { className: "form-label" }, "Assign Manager"),
|
56
|
+
React.createElement(Select, null,
|
57
|
+
React.createElement(Select.Option, { value: "jack" }, "Jack"),
|
58
|
+
React.createElement(Select.Option, { value: "lucy" }, "Lucy"),
|
59
|
+
React.createElement(Select.Option, { value: "Yiminghe" }, "yiminghe"))))),
|
60
|
+
React.createElement(Form.Item, null,
|
61
|
+
React.createElement("div", { className: "form-item-layout" },
|
62
|
+
React.createElement("div", null,
|
63
|
+
React.createElement("p", { className: "form-label" }, "Start"),
|
64
|
+
React.createElement(DatePicker, null)),
|
65
|
+
React.createElement("div", { className: styles["margin-left-30"] },
|
66
|
+
React.createElement("p", { className: "form-label" }, "Due"),
|
67
|
+
React.createElement(DatePicker, null)))),
|
68
|
+
React.createElement(Form.Item, null,
|
69
|
+
React.createElement(Upload.Dragger, { name: "files", action: "/upload.do" },
|
70
|
+
React.createElement("div", null, "Drag & Drop files here"))),
|
71
|
+
React.createElement(Form.Item, null,
|
72
|
+
React.createElement("div", { className: "form-item-layout" },
|
73
|
+
React.createElement(Button, { block: true, onClick: () => setShowNewForm(false) }, "Cancel"),
|
74
|
+
React.createElement(Button, { type: "primary", block: true, className: styles["margin-left-30"] }, "Submit"))))))),
|
75
|
+
!showNewForm && simple && (React.createElement("div", { className: "add-subtask-btn" },
|
76
|
+
React.createElement(Button, { block: true, onClick: () => setShowNewForm(true) },
|
77
|
+
React.createElement(Icon, { type: "plus" }),
|
78
|
+
" +New Subtask")))));
|
79
|
+
};
|
80
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/document/components/Add/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC9F,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,eAAe,IAAI,MAAM,EA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IAAI,CAAC;gBAChD,oBAAC,IAAI,IAAC,IAAI,EAAC,MAAM,GAAG;gCACZ,CACJ,CACN,CACI,CACN,CAAC;AACH,CAAC,CAAC"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
@import "../../../../styles/common.less";
|
2
|
+
.new-task-form {
|
3
|
+
:global {
|
4
|
+
.form-item-layout {
|
5
|
+
display: flex;
|
6
|
+
align-items: center;
|
7
|
+
.detailed {
|
8
|
+
font-size: 22px;
|
9
|
+
margin-left: 10px;
|
10
|
+
cursor: pointer;
|
11
|
+
}
|
12
|
+
> div {
|
13
|
+
flex: 1;
|
14
|
+
.form-label {
|
15
|
+
line-height: 24px;
|
16
|
+
}
|
17
|
+
.ant-calendar-picker {
|
18
|
+
width: 100%;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
.add-subtask-btn {
|
23
|
+
padding: 0 10% 20px 10%;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,129 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { Select } from "@voplus/antd";
|
3
|
+
import style from "./index.less";
|
4
|
+
export default () => {
|
5
|
+
const { Option } = Select;
|
6
|
+
const data = [
|
7
|
+
[
|
8
|
+
{ id: 1, name: "Any Type" },
|
9
|
+
{ id: 2, name: "Audio" },
|
10
|
+
{ id: 3, name: "Note" },
|
11
|
+
{ id: 4, name: "Document" },
|
12
|
+
{ id: 5, name: "Drawing" },
|
13
|
+
{ id: 6, name: "Folder" },
|
14
|
+
{ id: 7, name: "Image" },
|
15
|
+
{ id: 8, name: "PDF" },
|
16
|
+
{ id: 9, name: "Presentation" },
|
17
|
+
{ id: 10, name: "Spreadsheet" },
|
18
|
+
{ id: 12, name: "Video" },
|
19
|
+
{ id: 13, name: "3D" }
|
20
|
+
],
|
21
|
+
[
|
22
|
+
{ id: 1, name: "Any Type" },
|
23
|
+
{ id: 2, name: "Audio" },
|
24
|
+
{ id: 3, name: "Note" },
|
25
|
+
{ id: 4, name: "Document" },
|
26
|
+
{ id: 5, name: "Drawing" },
|
27
|
+
{ id: 6, name: "Folder" },
|
28
|
+
{ id: 7, name: "Image" },
|
29
|
+
{ id: 8, name: "PDF" },
|
30
|
+
{ id: 9, name: "Presentation" },
|
31
|
+
{ id: 10, name: "Spreadsheet" },
|
32
|
+
{ id: 12, name: "Video" },
|
33
|
+
{ id: 13, name: "3D" }
|
34
|
+
],
|
35
|
+
[
|
36
|
+
{ id: 1, name: "Any Type" },
|
37
|
+
{ id: 2, name: "Audio" },
|
38
|
+
{ id: 3, name: "Note" },
|
39
|
+
{ id: 4, name: "Document" },
|
40
|
+
{ id: 5, name: "Drawing" },
|
41
|
+
{ id: 6, name: "Folder" },
|
42
|
+
{ id: 7, name: "Image" },
|
43
|
+
{ id: 8, name: "PDF" },
|
44
|
+
{ id: 9, name: "Presentation" },
|
45
|
+
{ id: 10, name: "Spreadsheet" },
|
46
|
+
{ id: 12, name: "Video" },
|
47
|
+
{ id: 13, name: "3D" }
|
48
|
+
],
|
49
|
+
[
|
50
|
+
{ id: 1, name: "Any Type" },
|
51
|
+
{ id: 2, name: "Audio" },
|
52
|
+
{ id: 3, name: "Note" },
|
53
|
+
{ id: 4, name: "Document" },
|
54
|
+
{ id: 5, name: "Drawing" },
|
55
|
+
{ id: 6, name: "Folder" },
|
56
|
+
{ id: 7, name: "Image" },
|
57
|
+
{ id: 8, name: "PDF" },
|
58
|
+
{ id: 9, name: "Presentation" },
|
59
|
+
{ id: 10, name: "Spreadsheet" },
|
60
|
+
{ id: 12, name: "Video" },
|
61
|
+
{ id: 13, name: "3D" }
|
62
|
+
],
|
63
|
+
[
|
64
|
+
{ id: 1, name: "Any Type" },
|
65
|
+
{ id: 2, name: "Audio" },
|
66
|
+
{ id: 3, name: "Note" },
|
67
|
+
{ id: 4, name: "Document" },
|
68
|
+
{ id: 5, name: "Drawing" },
|
69
|
+
{ id: 6, name: "Folder" },
|
70
|
+
{ id: 7, name: "Image" },
|
71
|
+
{ id: 8, name: "PDF" },
|
72
|
+
{ id: 9, name: "Presentation" },
|
73
|
+
{ id: 10, name: "Spreadsheet" },
|
74
|
+
{ id: 12, name: "Video" },
|
75
|
+
{ id: 13, name: "3D" }
|
76
|
+
],
|
77
|
+
[
|
78
|
+
{ id: 1, name: "Any Type" },
|
79
|
+
{ id: 2, name: "Audio" },
|
80
|
+
{ id: 3, name: "Note" },
|
81
|
+
{ id: 4, name: "Document" },
|
82
|
+
{ id: 5, name: "Drawing" },
|
83
|
+
{ id: 6, name: "Folder" },
|
84
|
+
{ id: 7, name: "Image" },
|
85
|
+
{ id: 8, name: "PDF" },
|
86
|
+
{ id: 9, name: "Presentation" },
|
87
|
+
{ id: 10, name: "Spreadsheet" },
|
88
|
+
{ id: 12, name: "Video" },
|
89
|
+
{ id: 13, name: "3D" }
|
90
|
+
],
|
91
|
+
[
|
92
|
+
{ id: 1, name: "Any Type" },
|
93
|
+
{ id: 2, name: "Audio" },
|
94
|
+
{ id: 3, name: "Note" },
|
95
|
+
{ id: 4, name: "Document" },
|
96
|
+
{ id: 5, name: "Drawing" },
|
97
|
+
{ id: 6, name: "Folder" },
|
98
|
+
{ id: 7, name: "Image" },
|
99
|
+
{ id: 8, name: "PDF" },
|
100
|
+
{ id: 9, name: "Presentation" },
|
101
|
+
{ id: 10, name: "Spreadsheet" },
|
102
|
+
{ id: 12, name: "Video" },
|
103
|
+
{ id: 13, name: "3D" }
|
104
|
+
],
|
105
|
+
[
|
106
|
+
{ id: 1, name: "Any Type" },
|
107
|
+
{ id: 2, name: "Audio" },
|
108
|
+
{ id: 3, name: "Note" },
|
109
|
+
{ id: 4, name: "Document" },
|
110
|
+
{ id: 5, name: "Drawing" },
|
111
|
+
{ id: 6, name: "Folder" },
|
112
|
+
{ id: 7, name: "Image" },
|
113
|
+
{ id: 8, name: "PDF" },
|
114
|
+
{ id: 9, name: "Presentation" },
|
115
|
+
{ id: 10, name: "Spreadsheet" },
|
116
|
+
{ id: 12, name: "Video" },
|
117
|
+
{ id: 13, name: "3D" }
|
118
|
+
]
|
119
|
+
];
|
120
|
+
function handleChange(value) {
|
121
|
+
console.log(`selected ${value}`);
|
122
|
+
}
|
123
|
+
return (React.createElement("div", { className: style.screen }, data.map(items => {
|
124
|
+
return (React.createElement(Select, { defaultValue: "Any Type", dropdownClassName: style["fffff"], style: { width: 130 }, dropdownStyle: { maxHeight: "auto" }, onChange: handleChange }, items.map(items => {
|
125
|
+
return React.createElement(Option, { key: items.name }, items.name);
|
126
|
+
})));
|
127
|
+
})));
|
128
|
+
};
|
129
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/document/components/AdvanceSearch/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,MAAM,cAAc,CAAC;AACjC,eAAe,GAAG,EAAE;IACnB,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IAC1B,MAAM,IAAI,GAAG;QACZ;YACC,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE;YAC3B,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE;YACxB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE;YACvB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE;YAC3B,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE;YAC1B,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE;YACzB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE;YACxB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;YACtB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,E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6
|
+
border: 1px solid #000000;
|
7
|
+
margin: 0 25px 0 38px;
|
8
|
+
:global {
|
9
|
+
.ant-select-selection--single {
|
10
|
+
border: none;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
.fffff {
|
15
|
+
:global {
|
16
|
+
.ant-select-dropdown-menu {
|
17
|
+
height: 100%;
|
18
|
+
max-height: 60%;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,79 @@
|
|
1
|
+
import React, { useState } from "react";
|
2
|
+
import classnames from "classnames";
|
3
|
+
import { Tabs, Button, Row } from "@voplus/antd";
|
4
|
+
import ToolBar from "../../../../components/ToolBar";
|
5
|
+
import DocumentItem from "../../components/DocumentItem";
|
6
|
+
import CommentList from "../../../../components/Comments";
|
7
|
+
import DocumentList from "../../../../components/DocumentList";
|
8
|
+
import ActivityLog from "../../../../components/ActivityLog";
|
9
|
+
// import NewTaskForm from "../../components/NewTaskForm";
|
10
|
+
import style from "./index.less";
|
11
|
+
import styles from "../../../../styles/common.less";
|
12
|
+
import { library } from "@fortawesome/fontawesome-svg-core";
|
13
|
+
import { faFolderOpen, faFileAlt } from "@fortawesome/pro-light-svg-icons";
|
14
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
15
|
+
import { useObserver } from "mobx-react-lite";
|
16
|
+
library.add(faFolderOpen, faFileAlt);
|
17
|
+
export default (props) => {
|
18
|
+
const list = [
|
19
|
+
{
|
20
|
+
title: "Project Plan",
|
21
|
+
list: [],
|
22
|
+
created: "May 13,2019,2:03",
|
23
|
+
icon: React.createElement(FAIcon, { icon: ["fal", "folder-open"] })
|
24
|
+
},
|
25
|
+
{
|
26
|
+
title: "Project Plan",
|
27
|
+
list: []
|
28
|
+
},
|
29
|
+
{
|
30
|
+
title: "Team Structure",
|
31
|
+
list: []
|
32
|
+
},
|
33
|
+
{
|
34
|
+
title: "Team Structure",
|
35
|
+
list: []
|
36
|
+
},
|
37
|
+
{
|
38
|
+
title: "Team Structure",
|
39
|
+
list: []
|
40
|
+
}
|
41
|
+
];
|
42
|
+
const property = (React.createElement("div", { className: "property" },
|
43
|
+
React.createElement("p", null,
|
44
|
+
React.createElement("span", null, "Created"),
|
45
|
+
React.createElement("span", null, "May 13, 2019, 2:03PM")),
|
46
|
+
React.createElement("p", null,
|
47
|
+
React.createElement("span", null, "Crested By"),
|
48
|
+
React.createElement("span", null, "Melverick Ng")),
|
49
|
+
React.createElement("p", null,
|
50
|
+
React.createElement("span", null, "Updated"),
|
51
|
+
React.createElement("span", null, "May 13, 2019, 2:03PM")),
|
52
|
+
React.createElement("p", null,
|
53
|
+
React.createElement("span", null, "Updated Dy"),
|
54
|
+
React.createElement("span", null, "Melverick Ng")),
|
55
|
+
React.createElement("p", null,
|
56
|
+
React.createElement("span", null, "Revision"),
|
57
|
+
React.createElement("span", null, "2"))));
|
58
|
+
const [activeKey, setActiveKey] = useState("1");
|
59
|
+
return useObserver(() => (React.createElement("div", { className: classnames(styles["module-detail-view"], styles[activeKey === "2" ? "module-comment-view" : ""], style["all"]) },
|
60
|
+
React.createElement("div", { className: "module-detail-view_header" },
|
61
|
+
React.createElement(Row, { type: "flex", justify: "space-between" },
|
62
|
+
React.createElement(DocumentItem, { type: 1, doc: list[0] }),
|
63
|
+
React.createElement("div", null,
|
64
|
+
React.createElement(ToolBar, { lock: false, show: true, echo: true }),
|
65
|
+
React.createElement("div", { className: styles["margin-top-10"] },
|
66
|
+
React.createElement(Button, { size: "small" }, "+tag"))))),
|
67
|
+
React.createElement(Tabs, { activeKey: activeKey, onChange: activeKey => setActiveKey(activeKey) },
|
68
|
+
React.createElement(Tabs.TabPane, { tab: "Details", key: "1", className: "supreme" },
|
69
|
+
React.createElement("div", null,
|
70
|
+
React.createElement("div", { className: "module-box" },
|
71
|
+
React.createElement("div", null, property),
|
72
|
+
React.createElement(DocumentList, null)))),
|
73
|
+
React.createElement(Tabs.TabPane, { tab: "Comments", key: "2" },
|
74
|
+
React.createElement(CommentList, null)),
|
75
|
+
React.createElement(Tabs.TabPane, { tab: "Activities", key: "3", className: "supreme" },
|
76
|
+
React.createElement("div", { className: "module-box" },
|
77
|
+
React.createElement(ActivityLog, null)))))));
|
78
|
+
};
|
79
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/document/components/DocumentDetail/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAO,MAAM,cAAc,CAAC;AACtD,OAAO,OAAO,MAAM,gCAAgC,CAAC;AACrD,OAAO,YAAY,MAAM,+BAA+B,CAAC;AACzD,OAAO,WAAW,MAAM,iCAAiC,CAAC;AAC1D,OAAO,YAAY,MAAM,qCAAqC,CAAC;AAC/D,OAAO,WAAW,MAAM,oCAAoC,CAAC;AAC7D,0DAA0D;AAE1D,OAAO,KAAK,MAAM,cAAc,CAAC;AACjC,OAAO,MAAM,MAAM,gCAAgC,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAiB,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE7D,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;AAErC,eAAe,CAAC,KAAqB,EAAE,EAAE;IACxC,MAAM,IAAI,GAAG;QACZ;YACC,KAAK,EAAE,cAAc;YACrB,IAAI,EAAE,EAAE;YACR,OAAO,EAAE,kBAAkB;YAC3B,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,CAAC,KA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AAC,IAAI,EAAC,OAAO,WAAc,CAC7B,CACD,CACD,CACD;QACN,oBAAC,IAAI,IAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,CAAC,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC;YACzE,oBAAC,IAAI,CAAC,OAAO,IAAC,GAAG,EAAC,SAAS,EAAC,GAAG,EAAC,GAAG,EAAC,SAAS,EAAC,SAAS;gBACtD;oBACC,6BAAK,SAAS,EAAC,YAAY;wBAC1B,iCAAM,QAAQ,CAAO;wBACrB,oBAAC,YAAY,OAAG,CACX,CACD,CACQ;YACf,oBAAC,IAAI,CAAC,OAAO,IAAC,GAAG,EAAC,UAAU,EAAC,GAAG,EAAC,GAAG;gBACnC,oBAAC,WAAW,OAAG,CACD;YACf,oBAAC,IAAI,CAAC,OAAO,IAAC,GAAG,EAAC,YAAY,EAAC,GAAG,EAAC,GAAG,EAAC,SAAS,EAAC,SAAS;gBACzD,6BAAK,SAAS,EAAC,YAAY;oBAC1B,oBAAC,WAAW,OAAG,CACV,CACQ,CACT,CACF,CACN,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
// .supreme {
|
2
|
+
// :global {
|
3
|
+
// .property {
|
4
|
+
// margin: 20px 0;
|
5
|
+
// p {
|
6
|
+
// width: 340px;
|
7
|
+
// height: 40px;
|
8
|
+
// display: flex;
|
9
|
+
// justify-content: space-between;
|
10
|
+
// align-items: center;
|
11
|
+
// span {
|
12
|
+
// display: inline-block;
|
13
|
+
// color: #000;
|
14
|
+
// font-size: 16px;
|
15
|
+
// }
|
16
|
+
// }
|
17
|
+
// }
|
18
|
+
// }
|
19
|
+
// }
|
20
|
+
|
21
|
+
.all {
|
22
|
+
height: 100%;
|
23
|
+
overflow: hidden;
|
24
|
+
display: flex;
|
25
|
+
flex-direction: column;
|
26
|
+
:global {
|
27
|
+
.ant-tabs {
|
28
|
+
height: 100%;
|
29
|
+
display: flex;
|
30
|
+
flex-direction: column;
|
31
|
+
.ant-tabs-content {
|
32
|
+
height: 100%;
|
33
|
+
padding-bottom: 0 !important;
|
34
|
+
.supreme {
|
35
|
+
height: 100%;
|
36
|
+
overflow: auto;
|
37
|
+
.property {
|
38
|
+
margin: 20px 0;
|
39
|
+
p {
|
40
|
+
width: 340px;
|
41
|
+
height: 40px;
|
42
|
+
display: flex;
|
43
|
+
justify-content: space-between;
|
44
|
+
align-items: center;
|
45
|
+
span {
|
46
|
+
display: inline-block;
|
47
|
+
color: #000;
|
48
|
+
font-size: 16px;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|