@voplus/morpho-workspace 1.0.0-dev25 → 1.0.0-dev27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/AvatarList/index.d.ts +1 -1
- package/es/components/AvatarList/index.js +13 -6
- package/es/components/AvatarList/index.js.map +1 -1
- package/es/components/AvatarList/state.d.ts +1 -0
- package/es/components/AvatarList/state.js +4 -0
- package/es/components/AvatarList/state.js.map +1 -1
- package/es/components/PermissionModal/index.d.ts +7 -0
- package/es/components/PermissionModal/index.js +18 -0
- package/es/components/PermissionModal/index.js.map +1 -0
- package/es/components/ToolBar/index.d.ts +1 -2
- package/es/components/ToolBar/index.js +11 -27
- package/es/components/ToolBar/index.js.map +1 -1
- package/es/controls/DocumentStatusLabel/index.js +1 -1
- package/es/controls/DocumentStatusLabel/index.js.map +1 -1
- package/es/controls/SortViewDropdown/index.d.ts +2 -2
- package/es/controls/SortViewDropdown/index.js +4 -3
- package/es/controls/SortViewDropdown/index.js.map +1 -1
- package/es/controls/StarIcon/index.js +1 -1
- package/es/controls/StarIcon/index.js.map +1 -1
- package/es/data/contexts/StoreContext/index.js +1 -1
- package/es/data/contexts/StoreContext/index.js.map +1 -1
- package/es/data/meeting/AgendaStore.d.ts +3 -2
- package/es/data/meeting/AgendaStore.js.map +1 -1
- package/es/data/meeting/interfaces.d.ts +2 -0
- package/es/data/meeting/types.d.ts +8 -3
- package/es/modules/document/components/DocumentDetail/index.js +1 -1
- package/es/modules/document/components/DocumentDetail/index.js.map +1 -1
- package/es/modules/document/components/DocumentItem/index.js +1 -1
- package/es/modules/document/components/DocumentItem/index.js.map +1 -1
- package/es/modules/document/pages/DocumentTabView/index.js +2 -2
- package/es/modules/document/pages/DocumentTabView/index.js.map +1 -1
- package/es/modules/meeting/MeetingRoutes.d.ts +17 -0
- package/es/modules/meeting/MeetingRoutes.js +38 -0
- package/es/modules/meeting/MeetingRoutes.js.map +1 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.d.ts +7 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.js +36 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.js.map +1 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.less +59 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.d.ts +4 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js +39 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js.map +1 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.d.ts +18 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js +40 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js.map +1 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.d.ts +5 -4
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +40 -16
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.less +47 -17
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.d.ts +4 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.js +15 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.js.map +1 -0
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.d.ts +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js +13 -14
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.less +16 -6
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.d.ts +1 -0
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js +4 -0
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/index.d.ts +2 -6
- package/es/modules/meeting/components/AgendaList/index.js +28 -38
- package/es/modules/meeting/components/AgendaList/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/index.less +9 -69
- package/es/modules/meeting/components/AgendaList/state.d.ts +15 -1
- package/es/modules/meeting/components/AgendaList/state.js +26 -4
- package/es/modules/meeting/components/AgendaList/state.js.map +1 -1
- package/es/modules/meeting/components/MeetingDetail/index.d.ts +2 -3
- package/es/modules/meeting/components/MeetingDetail/index.js +20 -13
- package/es/modules/meeting/components/MeetingDetail/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingDetail/index.less +14 -0
- package/es/modules/meeting/components/MeetingItem/index.d.ts +2 -2
- package/es/modules/meeting/components/MeetingItem/index.js +18 -18
- package/es/modules/meeting/components/MeetingItem/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingItem/index.less +1 -0
- package/es/modules/meeting/components/MeetingItem/state.js.map +1 -1
- package/es/modules/meeting/components/MeetingList/index.d.ts +2 -2
- package/es/modules/meeting/components/MeetingList/index.js +9 -8
- package/es/modules/meeting/components/MeetingList/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingList/state.js.map +1 -1
- package/es/modules/meeting/components/NewMeetingForm/index.js +8 -7
- package/es/modules/meeting/components/NewMeetingForm/index.js.map +1 -1
- package/es/modules/meeting/components/NewMeetingForm/state.d.ts +1 -0
- package/es/modules/meeting/components/NewMeetingForm/state.js +5 -0
- package/es/modules/meeting/components/NewMeetingForm/state.js.map +1 -1
- package/es/modules/meeting/pages/MeetingTabView/index.d.ts +2 -2
- package/es/modules/meeting/pages/MeetingTabView/index.js +18 -10
- package/es/modules/meeting/pages/MeetingTabView/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingTabView/index.less +3 -0
- package/es/modules/tasks/components/NewTaskForm/index.d.ts +4 -4
- package/es/modules/tasks/components/NewTaskForm/index.js +6 -4
- package/es/modules/tasks/components/NewTaskForm/index.js.map +1 -1
- package/es/modules/tasks/components/NewTaskForm/state.js.map +1 -1
- package/es/modules/tasks/components/SubTaskList/index.js +19 -19
- package/es/modules/tasks/components/SubTaskList/index.js.map +1 -1
- package/es/modules/tasks/components/TaskDetail/index.d.ts +2 -2
- package/es/modules/tasks/components/TaskDetail/index.js +13 -20
- package/es/modules/tasks/components/TaskDetail/index.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/TaskItem.d.ts +2 -4
- package/es/modules/tasks/components/TaskItem/TaskItem.js +15 -41
- package/es/modules/tasks/components/TaskItem/TaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/index.less +1 -1
- package/es/modules/tasks/components/TaskList/index.js +28 -28
- package/es/modules/tasks/components/TaskList/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskDefaultView/index.d.ts +2 -2
- package/es/modules/tasks/pages/TaskDefaultView/index.js +7 -12
- package/es/modules/tasks/pages/TaskDefaultView/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskTabView/index.d.ts +2 -2
- package/es/modules/tasks/pages/TaskTabView/index.js +26 -27
- package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -1
- package/es/routes.js +2 -0
- package/es/routes.js.map +1 -1
- package/package.json +7 -6
- package/es/components/SortDnD/Card.d.ts +0 -19
- package/es/components/SortDnD/Card.js +0 -58
- package/es/components/SortDnD/Card.js.map +0 -1
- package/es/components/SortDnD/Container.d.ts +0 -15
- package/es/components/SortDnD/Container.js +0 -34
- package/es/components/SortDnD/Container.js.map +0 -1
- package/es/components/SortDnD/index.d.ts +0 -9
- package/es/components/SortDnD/index.js +0 -13
- package/es/components/SortDnD/index.js.map +0 -1
- package/es/components/SortDnD/index.less +0 -21
- package/es/components/SortDnD/type.d.ts +0 -4
- package/es/components/SortDnD/type.js +0 -4
- package/es/components/SortDnD/type.js.map +0 -1
- package/es/modules/meeting/components/AgendaList/TaskItem/index.d.ts +0 -5
- package/es/modules/meeting/components/AgendaList/TaskItem/index.js +0 -40
- package/es/modules/meeting/components/AgendaList/TaskItem/index.js.map +0 -1
- package/es/modules/meeting/components/AgendaList/TaskItem/index.less +0 -50
- package/es/modules/meeting/pages/MeetingRoutes.d.ts +0 -3
- package/es/modules/meeting/pages/MeetingRoutes.js +0 -10
- package/es/modules/meeting/pages/MeetingRoutes.js.map +0 -1
- package/es/modules/tasks/components/PermissionModal/index.d.ts +0 -5
- package/es/modules/tasks/components/PermissionModal/index.js +0 -14
- package/es/modules/tasks/components/PermissionModal/index.js.map +0 -1
- package/es/modules/user/pages/Profile/index.d.ts +0 -11
- package/es/modules/user/pages/Profile/index.js +0 -79
- package/es/modules/user/pages/Profile/index.js.map +0 -1
- package/es/modules/user/pages/Profile/index.less +0 -45
- /package/es/{modules/tasks/components → components}/PermissionModal/index.less +0 -0
@@ -1,58 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
import { DragSource, DropTarget } from "react-dnd";
|
3
|
-
import ItemTypes from "./type";
|
4
|
-
import styles from "./index.less";
|
5
|
-
const Card = ({ text, isDragging, canDrag, connectDragPreview, connectDragSource, connectDropTarget }) => {
|
6
|
-
const opacity = isDragging ? 0 : 1;
|
7
|
-
// const ref = useRef(null);
|
8
|
-
// canDrag && connectDragSource(ref);
|
9
|
-
// canDrag && connectDropTarget(ref);
|
10
|
-
// return (
|
11
|
-
// <div ref={ref} style={{ ...{ cursor: canDrag ? "move" : "pointer" }, opacity }}>
|
12
|
-
// {text}
|
13
|
-
// </div>
|
14
|
-
// );
|
15
|
-
return connectDropTarget(connectDragPreview(React.createElement("div", { style: { opacity }, className: styles["sort-dnd-card"] }, text(connectDragSource))));
|
16
|
-
};
|
17
|
-
export default DropTarget(ItemTypes.CARD, {
|
18
|
-
// canDrop: (props: CardProps) => props.canDrag,
|
19
|
-
hover(props, monitor) {
|
20
|
-
const { id: draggedId } = monitor.getItem();
|
21
|
-
const { id: overId } = props;
|
22
|
-
if (draggedId !== overId) {
|
23
|
-
const { index: overIndex } = props.findCard(overId);
|
24
|
-
props.moveCard(draggedId, overIndex);
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}, connect => ({
|
28
|
-
connectDropTarget: connect.dropTarget()
|
29
|
-
}))(DragSource(ItemTypes.CARD, {
|
30
|
-
beginDrag: (props) => ({
|
31
|
-
id: props.id,
|
32
|
-
originalIndex: props.findCard(props.id).index
|
33
|
-
}),
|
34
|
-
endDrag(props, monitor) {
|
35
|
-
const { id: droppedId, originalIndex } = monitor.getItem();
|
36
|
-
const didDrop = monitor.didDrop();
|
37
|
-
if (!didDrop) {
|
38
|
-
props.moveCard(droppedId, originalIndex);
|
39
|
-
}
|
40
|
-
const { index } = props.findCard(droppedId);
|
41
|
-
const afterId = originalIndex > index
|
42
|
-
? props.list[index - 1]
|
43
|
-
? props.list[index - 1].id
|
44
|
-
: ""
|
45
|
-
: props.list[index]
|
46
|
-
? props.list[index].id
|
47
|
-
: "";
|
48
|
-
// eg: 1, 2, 3 => 1, 3, 2 === moveAfter(3.id, 1.id)
|
49
|
-
if (props.moveAfter)
|
50
|
-
props.moveAfter(droppedId, afterId);
|
51
|
-
}
|
52
|
-
// canDrag: (props: CardProps) => props.canDrag
|
53
|
-
}, (connect, monitor) => ({
|
54
|
-
connectDragSource: connect.dragSource(),
|
55
|
-
connectDragPreview: connect.dragPreview(),
|
56
|
-
isDragging: monitor.isDragging()
|
57
|
-
}))(Card));
|
58
|
-
//# sourceMappingURL=Card.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../src/components/SortDnD/Card.tsx"],"names":[],"mappings":"AACA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAStC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,SAAS,MAAM,QAAQ,CAAC;AAK/B,OAAO,MAAM,MAAM,cAAc,CAAC;AAgBlC,MAAM,IAAI,GAAwB,CAAC,EAClC,IAAI,EACJ,UAAU,EACV,OAAO,EACP,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,EAAE,EAAE;IACJ,MAAM,OAAO,GAAG,UAAU,CA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,CAAC;QAC3D,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;QAClC,IAAI,CAAC,OAAO,EAAE;YACb,KAAK,CAAC,QAAQ,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;SACzC;QACD,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QAC5C,MAAM,OAAO,GACZ,aAAa,GAAG,KAAK;YACpB,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;gBACtB,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE;gBAC1B,CAAC,CAAC,EAAE;YACL,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC;gBACnB,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE;gBACtB,CAAC,CAAC,EAAE,CAAC;QACP,mDAAmD;QACnD,IAAI,KAAK,CAAC,SAAS;YAAE,KAAK,CAAC,SAAU,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;IACD,+CAA+C;CAC/C,EACD,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC;IACtB,iBAAiB,EAAE,OAAO,CAAC,UAAU,EAAE;IACvC,kBAAkB,EAAE,OAAO,CAAC,WAAW,EAAE;IACzC,UAAU,EAAE,OAAO,CAAC,UAAU,EAAE;CAChC,CAAC,CACF,CAAC,IAAI,CAAC,CACP,CAAC"}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
import { ConnectDropTarget } from "react-dnd";
|
3
|
-
export interface ContainerProps {
|
4
|
-
connectDropTarget: ConnectDropTarget;
|
5
|
-
list: any[];
|
6
|
-
text: any;
|
7
|
-
canDrag: boolean;
|
8
|
-
moveAfter?: (id: string, afterId: string, list: any[]) => void;
|
9
|
-
className?: string;
|
10
|
-
}
|
11
|
-
export interface ContainerState {
|
12
|
-
cards: any[];
|
13
|
-
}
|
14
|
-
declare const _default: import("react-dnd").DndComponentClass<React.FC<ContainerProps>, Pick<ContainerProps, "text" | "list" | "className" | "canDrag" | "moveAfter">>;
|
15
|
-
export default _default;
|
@@ -1,34 +0,0 @@
|
|
1
|
-
import update from "immutability-helper";
|
2
|
-
import React, { useCallback, useEffect, useRef, useState } from "react";
|
3
|
-
import { DropTarget } from "react-dnd";
|
4
|
-
import ItemTypes from "./type";
|
5
|
-
import { useObserver } from "mobx-react-lite";
|
6
|
-
import Card from "./Card";
|
7
|
-
const Container = ({ connectDropTarget, list, text, canDrag, moveAfter, className }) => {
|
8
|
-
const ref = useRef(null);
|
9
|
-
const [cards, setCards] = useState(list);
|
10
|
-
const [beforeList, setBeforeList] = useState(list);
|
11
|
-
useEffect(() => {
|
12
|
-
setCards(list);
|
13
|
-
setBeforeList(list);
|
14
|
-
}, [list]);
|
15
|
-
const moveCard = useCallback((id, atIndex) => {
|
16
|
-
const { card, index } = findCard(id);
|
17
|
-
setCards(update(cards, {
|
18
|
-
$splice: [[index, 1], [atIndex, 0, card]]
|
19
|
-
}));
|
20
|
-
}, [cards]);
|
21
|
-
const findCard = useCallback((id) => {
|
22
|
-
const card = cards.filter(c => `${c.id}` === id)[0];
|
23
|
-
return {
|
24
|
-
card,
|
25
|
-
index: cards.indexOf(card)
|
26
|
-
};
|
27
|
-
}, [cards]);
|
28
|
-
connectDropTarget(ref);
|
29
|
-
return useObserver(() => (React.createElement("div", { ref: ref, className: className }, cards.map((card, index) => (React.createElement(Card, { list: beforeList, key: card.id, id: `${card.id}`, text: (connectDragSource) => text(card, index, connectDragSource), moveCard: moveCard, findCard: findCard, canDrag: canDrag, moveAfter: (id, afterId) => moveAfter(id, afterId, cards) }))))));
|
30
|
-
};
|
31
|
-
export default DropTarget(ItemTypes.CARD, {}, connect => ({
|
32
|
-
connectDropTarget: connect.dropTarget()
|
33
|
-
}))(Container);
|
34
|
-
//#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CAAC,SAAS,CAAC,CAAC"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
declare const _default: (props: {
|
3
|
-
list: any[];
|
4
|
-
text: React.ReactNode;
|
5
|
-
canDrag?: boolean | undefined;
|
6
|
-
moveAfter?: ((id: string, afterId: string, list: any[]) => void) | undefined;
|
7
|
-
className?: string | undefined;
|
8
|
-
}) => JSX.Element;
|
9
|
-
export default _default;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import React, { useState, useEffect } from "react";
|
2
|
-
import { DndProvider } from "react-dnd";
|
3
|
-
import HTML5Backend from "react-dnd-html5-backend";
|
4
|
-
import Container from "./Container";
|
5
|
-
export default (props) => {
|
6
|
-
const [beforeList, setBeforeList] = useState(props.list);
|
7
|
-
useEffect(() => {
|
8
|
-
setBeforeList(props.list);
|
9
|
-
}, [props.list]);
|
10
|
-
return (React.createElement(DndProvider, { backend: HTML5Backend },
|
11
|
-
React.createElement(Container, { list: beforeList, text: props.text, canDrag: !!props.canDrag, moveAfter: props.moveAfter, className: props.className })));
|
12
|
-
};
|
13
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/SortDnD/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,YAAY,MAAM,yBAAyB,CAAC;AAEnD,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,eAAe,CAAC,KAMf,EAAE,EAAE;IACJ,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACzD,SAAS,CAAC,GAAG,EAAE;QACd,aAAa,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;IACjB,OAAO,CACN,oBAAC,WAAW,IAAC,OAAO,EAAE,YAAY;QACjC,oBAAC,SAAS,IACT,IAAI,EAAE,UAAU,EAChB,IAAI,EAAE,KAAK,CAAC,IAAI,EAChB,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,EACxB,SAAS,EAAE,KAAK,CAAC,SAAS,EAC1B,SAAS,EAAE,KAAK,CAAC,SAAS,GACzB,CAEW,CACd,CAAC;AACH,CAAC,CAAC"}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
.sort-dnd-card {
|
2
|
-
// display: flex;
|
3
|
-
// align-items: center;
|
4
|
-
// > :global(div) {
|
5
|
-
// flex: 1;
|
6
|
-
// }
|
7
|
-
// :global {
|
8
|
-
// .icon-move {
|
9
|
-
// font-size: 16px;
|
10
|
-
// cursor: move;
|
11
|
-
// }
|
12
|
-
// .sort-appear {
|
13
|
-
// width: 0;
|
14
|
-
// transform: translateX(-100%);
|
15
|
-
// }
|
16
|
-
// .sort-appear-active {
|
17
|
-
// margin: 0 15px;
|
18
|
-
// transition: transform 0.2s ease-in;
|
19
|
-
// }
|
20
|
-
// }
|
21
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../src/components/SortDnD/type.ts"],"names":[],"mappings":"AAAA,eAAe;IACd,IAAI,EAAE,MAAM;CACZ,CAAC"}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
import React, { useState } from "react";
|
2
|
-
import { Avatar } from "@voplus/antd";
|
3
|
-
import { faPaperclip, faCheckCircle } from "@fortawesome/pro-light-svg-icons";
|
4
|
-
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
5
|
-
import StarIcon from "../../../../../controls/StarIcon";
|
6
|
-
import styles from "./index.less";
|
7
|
-
export default (props) => {
|
8
|
-
const fileList = [
|
9
|
-
{
|
10
|
-
uid: "1",
|
11
|
-
name: "abc.docx",
|
12
|
-
type: "done",
|
13
|
-
url: "https://i.zhaopin.com/resume/uploadextend/ResumeExport?resumeId=302446392&resumeNumber=JM163534531R90500004000&language=1&at=275ec6d379894fc99a1f1f75ba5123ae&rt=b706093593ad4903adcf784a431b1ca3",
|
14
|
-
thumbUrl: "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=3758464476,2579359185&fm=26&gp=0.jpg",
|
15
|
-
size: 55
|
16
|
-
},
|
17
|
-
{
|
18
|
-
uid: "2",
|
19
|
-
name: "1111.docx",
|
20
|
-
type: "done",
|
21
|
-
url: "https://i.zhaopin.com/resume/uploadextend/ResumeExport?resumeId=302446392&resumeNumber=JM163534531R90500004000&language=1&at=275ec6d379894fc99a1f1f75ba5123ae&rt=b706093593ad4903adcf784a431b1ca3",
|
22
|
-
thumbUrl: "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1558505605980&di=c0e8334f6e11efd2504ae918a0f66f58&imgtype=0&src=http%3A%2F%2Fimgsa.baidu.com%2Fexp%2Fw%3D500%2Fsign%3D5762f68bc4177f3e1034fc0d40ce3bb9%2Fd50735fae6cd7b8918fb5ebe022442a7d9330e73.jpg",
|
23
|
-
size: 55
|
24
|
-
}
|
25
|
-
];
|
26
|
-
const [isUpload, setIsUpload] = useState(false);
|
27
|
-
return (React.createElement(React.Fragment, null,
|
28
|
-
React.createElement("div", { className: styles["agenda-task-item"] },
|
29
|
-
React.createElement("div", null,
|
30
|
-
React.createElement(FAIcon, { icon: faCheckCircle, className: "task-icon" }),
|
31
|
-
React.createElement(StarIcon, { className: "task-icon" }),
|
32
|
-
props.info.name),
|
33
|
-
React.createElement("div", { className: "task-aside" },
|
34
|
-
React.createElement("span", { onClick: () => setIsUpload(!isUpload), className: "on-upload" },
|
35
|
-
React.createElement(FAIcon, { icon: faPaperclip })),
|
36
|
-
React.createElement("span", null, "Apr 30"),
|
37
|
-
React.createElement("span", null,
|
38
|
-
React.createElement(Avatar, { size: "small" }))))));
|
39
|
-
};
|
40
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/meeting/components/AgendaList/TaskItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,MAAM,EAAU,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAc,WAAW,EAAU,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAClG,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,QAAQ,MAAM,kCAAkC,CAAC;AAExD,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,eAAe,CAAC,KAAoB,EAAE,EAAE;IACvC,MAAM,QAAQ,GAAG;QAChB;YACC,GAAG,EAAE,GAAG;YACR,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,MAAM;YACZ,GAAG,EACF,mMAAmM;YACpM,QAAQ,EACP,gGAAgG;YACjG,IAAI,EAAE,EAAE;SACR;QACD;YACC,GAAG,EAAE,GAAG;YACR,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,MAAM;YACZ,GAAG,EACF,mMAAmM;YACpM,QAAQ,EACP,2QAA2Q;YAC5Q,IAAI,EAAE,EAAE;SACR;KACD,CAAC;IACF,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChD,OAAO,CACN,oBAAC,KAAK,CAAC,QAAQ;QACd,6BAAK,SAAS,EAAE,MAAM,CAAC,kBAAkB,CAAC;YACzC;gBACC,oBAAC,MAAM,IAAC,IAAI,EAAE,aAAa,EAAE,SAAS,EAAC,WAAW,GAAG;gBACrD,oBAAC,QAAQ,IAAC,SAAS,EAAC,WAAW,GAAG;gBACjC,KAAK,CAAC,IAAI,CAAC,IAAI,CACX;YACN,6BAAK,SAAS,EAAC,YAAY;gBAC1B,8BAAM,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,EAAE,SAAS,EAAC,WAAW;oBACjE,oBAAC,MAAM,IAAC,IAAI,EAAE,WAAW,GAAI,CACvB;gBACP,2CAAmB;gBACnB;oBACC,oBAAC,MAAM,IAAC,IAAI,EAAC,OAAO,GAAG,CACjB,CACF,CACD,CAEU,CACjB,CAAC;AACH,CAAC,CAAC"}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
@import "~@voplus/antd/es/style/themes/default.less";
|
2
|
-
.agenda-task-item {
|
3
|
-
display: flex;
|
4
|
-
justify-content: space-between;
|
5
|
-
align-items: center;
|
6
|
-
position: relative;
|
7
|
-
color: #444;
|
8
|
-
padding: 8px 0;
|
9
|
-
:global {
|
10
|
-
.task-icon {
|
11
|
-
// font-size: 15px;
|
12
|
-
margin-right: 8px;
|
13
|
-
}
|
14
|
-
.task-aside {
|
15
|
-
> span {
|
16
|
-
display: inline-block;
|
17
|
-
width: 70px;
|
18
|
-
text-align: center;
|
19
|
-
color: #333;
|
20
|
-
}
|
21
|
-
.on-upload {
|
22
|
-
cursor: pointer;
|
23
|
-
}
|
24
|
-
.priority-low,
|
25
|
-
.priority-high {
|
26
|
-
padding: 2px 8px;
|
27
|
-
font-size: 12px;
|
28
|
-
color: #fff;
|
29
|
-
font-style: normal;
|
30
|
-
border-radius: 12px;
|
31
|
-
}
|
32
|
-
.priority-low {
|
33
|
-
background: #ff0000;
|
34
|
-
}
|
35
|
-
.priority-high {
|
36
|
-
background: #ff9b00;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
.document-upload {
|
40
|
-
margin: 10px 20px;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
}
|
44
|
-
.agenda-task-item:after {
|
45
|
-
position: absolute;
|
46
|
-
content: "";
|
47
|
-
width: 100%;
|
48
|
-
bottom: 0;
|
49
|
-
border-bottom: 1px solid @border-color-base;
|
50
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
import { Route } from "react-router";
|
3
|
-
import MeetingListView from "./MeetingListView";
|
4
|
-
import MeetingTabView from "./MeetingTabView";
|
5
|
-
export default () => {
|
6
|
-
return (React.createElement(React.Fragment, null,
|
7
|
-
React.createElement(Route, { path: "/meetings/", exact: true, component: MeetingListView }),
|
8
|
-
React.createElement(Route, { path: "/meetings/:id", component: MeetingTabView })));
|
9
|
-
};
|
10
|
-
//# sourceMappingURL=MeetingRoutes.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"MeetingRoutes.js","sourceRoot":"","sources":["../../../../src/modules/meeting/pages/MeetingRoutes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAErC,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C,eAAe,GAAG,EAAE;IACnB,OAAO,CACN,oBAAC,KAAK,CAAC,QAAQ;QACd,oBAAC,KAAK,IAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,GAAI;QACpE,oBAAC,KAAK,IAAC,IAAI,EAAC,eAAe,EAAC,SAAS,EAAE,cAAc,GAAI,CACzC,CACjB,CAAC;AACH,CAAC,CAAC"}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import React, { useState, forwardRef, useImperativeHandle } from "react";
|
2
|
-
import { Modal } from "@voplus/antd";
|
3
|
-
import { PeopleAccess } from "@voplus/morpho-document/es/legacy/components/PeopleAccess";
|
4
|
-
import styles from "./index.less";
|
5
|
-
const PermissionModal = (props, ref) => {
|
6
|
-
const [visible, setVisible] = useState(false);
|
7
|
-
useImperativeHandle(ref, () => ({
|
8
|
-
setVisible: () => setVisible(true)
|
9
|
-
}));
|
10
|
-
return (React.createElement(Modal, { ref: ref, width: 600, className: styles["task-permission-modal"], title: "Permission", visible: visible, footer: null, onCancel: () => setVisible(false) },
|
11
|
-
React.createElement(PeopleAccess, { id: props.id })));
|
12
|
-
};
|
13
|
-
export default forwardRef(PermissionModal);
|
14
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/PermissionModal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAa,UAAU,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEpF,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,2DAA2D,CAAC;AAEzF,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,eAAe,GAAG,CAAC,KAAqB,EAAE,GAAQ,EAAE,EAAE;IAC3D,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;QAC/B,UAAU,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;KAClC,CAAC,CAAC,CAAC;IACJ,OAAO,CACN,oBAAC,KAAK,IACL,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,GAAG,EACV,SAAS,EAAE,MAAM,CAAC,uBAAuB,CAAC,EAC1C,KAAK,EAAC,YAAY,EAClB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,IAAI,EACZ,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;QAEjC,oBAAC,YAAY,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,CACvB,CACR,CAAC;AACH,CAAC,CAAC;AACF,eAAe,UAAU,CAAC,eAAe,CAAC,CAAC"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { Component } from "react";
|
2
|
-
export default class Subtask extends Component {
|
3
|
-
state: {
|
4
|
-
loading: boolean;
|
5
|
-
imageUrl: string;
|
6
|
-
};
|
7
|
-
getBase64: (img: any, callback: any) => void;
|
8
|
-
handleChange: (info: any) => void;
|
9
|
-
beforeUpload: (file: any) => boolean;
|
10
|
-
render(): JSX.Element;
|
11
|
-
}
|
@@ -1,79 +0,0 @@
|
|
1
|
-
import React, { Component } from "react";
|
2
|
-
import Positions from "../Positions";
|
3
|
-
import { Upload, Icon, message, Tabs, Form, Input, Button } from "@voplus/antd";
|
4
|
-
import style from "./index.less";
|
5
|
-
export default class Subtask extends Component {
|
6
|
-
constructor() {
|
7
|
-
super(...arguments);
|
8
|
-
this.state = {
|
9
|
-
loading: false,
|
10
|
-
imageUrl: " "
|
11
|
-
};
|
12
|
-
this.getBase64 = (img, callback) => {
|
13
|
-
const reader = new FileReader();
|
14
|
-
reader.addEventListener("load", () => callback(reader.result));
|
15
|
-
reader.readAsDataURL(img);
|
16
|
-
};
|
17
|
-
this.handleChange = (info) => {
|
18
|
-
if (info.file.status === "uploading") {
|
19
|
-
this.setState({ loading: true });
|
20
|
-
return;
|
21
|
-
}
|
22
|
-
if (info.file.status === "done") {
|
23
|
-
// Get this url from response in real world.
|
24
|
-
this.getBase64(info.file.originFileObj, (imageUrl) => this.setState({
|
25
|
-
imageUrl,
|
26
|
-
loading: false
|
27
|
-
}));
|
28
|
-
}
|
29
|
-
};
|
30
|
-
this.beforeUpload = (file) => {
|
31
|
-
const isJPG = file.type === "image/jpeg";
|
32
|
-
if (!isJPG) {
|
33
|
-
message.error("您只能上传JPG文件!");
|
34
|
-
}
|
35
|
-
const isLt2M = file.size / 1024 / 1024 < 2;
|
36
|
-
if (!isLt2M) {
|
37
|
-
message.error("图像必须小于2MB!");
|
38
|
-
}
|
39
|
-
return isJPG && isLt2M;
|
40
|
-
};
|
41
|
-
}
|
42
|
-
render() {
|
43
|
-
const { TabPane } = Tabs;
|
44
|
-
function callback(key) {
|
45
|
-
console.log(key);
|
46
|
-
}
|
47
|
-
const { imageUrl } = this.state;
|
48
|
-
return (React.createElement("div", { className: style.situation },
|
49
|
-
React.createElement("div", { className: "head-portrait " },
|
50
|
-
React.createElement("img", { src: imageUrl }),
|
51
|
-
React.createElement(Upload, { name: "avatar", listType: "picture-card", className: "avatar-uploader", showUploadList: false, action: "https://www.mocky.io/v2/5cc8019d300000980a055e76", beforeUpload: this.beforeUpload, onChange: this.handleChange },
|
52
|
-
React.createElement("div", null,
|
53
|
-
React.createElement(Icon, { type: this.state.loading ? "loading" : "plus" }),
|
54
|
-
React.createElement("div", { className: "ant-upload-text" }, "Upload a picture")))),
|
55
|
-
React.createElement(Tabs, { defaultActiveKey: "1", onChange: callback },
|
56
|
-
React.createElement(TabPane, { tab: "Personal Info", key: "1" },
|
57
|
-
React.createElement("div", { className: "Persona" },
|
58
|
-
React.createElement(Form, null,
|
59
|
-
React.createElement(Form.Item, { label: "Username", required: true, style: { width: 400, marginRight: 200, display: "inline-block" } },
|
60
|
-
React.createElement(Input, null)),
|
61
|
-
React.createElement(Form.Item, { label: "Display name", required: true, style: { width: 400, marginRight: 200, display: "inline-block" } },
|
62
|
-
React.createElement(Input, null)),
|
63
|
-
React.createElement(Form.Item, { label: "Email address", required: true, style: { width: 400, marginRight: 200, display: "inline-block" } },
|
64
|
-
React.createElement(Input, null)),
|
65
|
-
React.createElement(Form.Item, { className: "Button" },
|
66
|
-
React.createElement(Button, { type: "primary" }, "SAVE"))))),
|
67
|
-
React.createElement(TabPane, { tab: "Changes Password", key: "2" },
|
68
|
-
React.createElement("div", { className: "Persona" },
|
69
|
-
React.createElement(Form, null,
|
70
|
-
React.createElement(Form.Item, { label: "Current Password", required: true, style: { width: 400, marginRight: 200 } }, React.createElement(Input.Password, null)),
|
71
|
-
React.createElement(Form.Item, { label: "New Password", required: true, style: { width: 400, marginRight: 200 } }, React.createElement(Input.Password, null)),
|
72
|
-
React.createElement(Form.Item, { label: "Confirm Password", required: true, style: { width: 400, marginRight: 200 } }, React.createElement(Input.Password, null)),
|
73
|
-
React.createElement(Form.Item, null,
|
74
|
-
React.createElement(Button, { type: "primary" }, "SAVE"))))),
|
75
|
-
React.createElement(TabPane, { tab: "Positions", key: "3" },
|
76
|
-
React.createElement(Positions, null)))));
|
77
|
-
}
|
78
|
-
}
|
79
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/user/pages/Profile/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAChF,OAAO,KAAK,MAAM,cAAc,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,SAAS;IAA9C;;QACC,UAAK,GAAG;YACP,OAAO,EAAE,KAAK;YACd,QAAQ,EAAE,GAAG;SACb,CAAC;QACF,cAAS,GAAG,CAAC,GAAQ,EAAE,QAAa,EAAE,EAAE;YACvC,MAAM,MAAM,GAAG,IAAI,UAAU,EAAE,CAAC;YAChC,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;YAC/D,MAAM,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;QAC3B,CAAC,CAAC;QACF,iBAAY,GAAG,CAAC,IAAS,EAAE,EAAE;YAC5B,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,WAAW,EAAE;gBACrC,IAAI,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;gBACjC,OAAO;aACP;YACD,IAAI,IAAI,CAAC,IAA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,IAAI;4BACJ,oBAAC,IAAI,CAAC,IAAI,IACT,KAAK,EAAC,kBAAkB,EACxB,QAAQ,QACR,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,IAEtC,oBAAC,KAAK,CAAC,QAAQ,OAAG,CACR;4BACZ,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,cAAc,EAAC,QAAQ,QAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,IAC9E,oBAAC,KAAK,CAAC,QAAQ,OAAG,CACR;4BACZ,oBAAC,IAAI,CAAC,IAAI,IACT,KAAK,EAAC,kBAAkB,EACxB,QAAQ,QACR,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,IAEtC,oBAAC,KAAK,CAAC,QAAQ,OAAG,CACR;4BACZ,oBAAC,IAAI,CAAC,IAAI;gCACT,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,WAAc,CACzB,CACN,CACF,CACG;gBACV,oBAAC,OAAO,IAAC,GAAG,EAAC,WAAW,EAAC,GAAG,EAAC,GAAG;oBAC/B,oBAAC,SAAS,OAAG,CACJ,CACJ,CACF,CACN,CAAC;IACH,CAAC;CACD"}
|
@@ -1,45 +0,0 @@
|
|
1
|
-
@import "~@voplus/antd/es/style/themes/default.less";
|
2
|
-
|
3
|
-
.situation {
|
4
|
-
padding: 40px 100px;
|
5
|
-
height: 100%;
|
6
|
-
display: flex;
|
7
|
-
flex-direction: column;
|
8
|
-
:global {
|
9
|
-
.head-portrait {
|
10
|
-
width: 230px;
|
11
|
-
height: 100px;
|
12
|
-
display: flex;
|
13
|
-
justify-content: space-between;
|
14
|
-
align-items: center;
|
15
|
-
.ant-upload.ant-upload-select-picture-card {
|
16
|
-
width: 150px;
|
17
|
-
height: 20px;
|
18
|
-
border: 1px solid #d9d9d9;
|
19
|
-
.anticon-plus {
|
20
|
-
display: none;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
img {
|
24
|
-
width: 59px;
|
25
|
-
height: 59px;
|
26
|
-
border: 1px solid #a1a1a1;
|
27
|
-
border-radius: 50%;
|
28
|
-
}
|
29
|
-
}
|
30
|
-
.Persona {
|
31
|
-
height: 100%;
|
32
|
-
width: 100%;
|
33
|
-
overflow: auto;
|
34
|
-
}
|
35
|
-
.ant-tabs {
|
36
|
-
height: 100%;
|
37
|
-
display: flex;
|
38
|
-
flex-direction: column;
|
39
|
-
.ant-tabs-content {
|
40
|
-
height: 100%;
|
41
|
-
padding-bottom: 60px;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
}
|
45
|
-
}
|
File without changes
|