@voplus/morpho-workspace 1.0.0-dev36 → 1.0.0-dev38
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 +2 -0
- package/es/components/AvatarList/index.js +19 -22
- package/es/components/AvatarList/index.js.map +1 -1
- package/es/components/PageListView/index.d.ts +21 -0
- package/es/components/PageListView/index.js +97 -0
- package/es/components/PageListView/index.js.map +1 -0
- package/es/components/PageListView/index.less +68 -0
- package/es/components/PageListView/state.d.ts +12 -0
- package/es/components/PageListView/state.js +48 -0
- package/es/components/PageListView/state.js.map +1 -0
- package/es/controls/FlagIcon/index.d.ts +16 -0
- package/es/controls/FlagIcon/index.js +42 -0
- package/es/controls/FlagIcon/index.js.map +1 -0
- package/es/controls/FlagIcon/index.less +17 -0
- package/es/data/meeting/AgendaStore.d.ts +3 -0
- package/es/data/meeting/AgendaStore.js +12 -0
- package/es/data/meeting/AgendaStore.js.map +1 -1
- package/es/data/task/TaskStore.d.ts +1 -1
- package/es/data/task/TaskStore.js +2 -1
- package/es/data/task/TaskStore.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.js +18 -17
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.less +15 -17
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js +18 -14
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.d.ts +4 -2
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js +17 -7
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.d.ts +2 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +70 -23
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.less +82 -23
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.d.ts +4 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.js +16 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/index.js +12 -10
- package/es/modules/meeting/components/AgendaList/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/index.less +5 -2
- package/es/modules/meeting/components/AgendaList/state.d.ts +7 -0
- package/es/modules/meeting/components/AgendaList/state.js +23 -1
- package/es/modules/meeting/components/AgendaList/state.js.map +1 -1
- package/es/modules/meeting/components/MeetingDetail/index.js +19 -5
- package/es/modules/meeting/components/MeetingDetail/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingItem/index.js +6 -10
- package/es/modules/meeting/components/MeetingItem/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingList/index.js +3 -0
- package/es/modules/meeting/components/MeetingList/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingTabView/index.js +10 -2
- package/es/modules/meeting/pages/MeetingTabView/index.js.map +1 -1
- package/es/modules/tasks/components/SubTaskList/index.js +8 -56
- package/es/modules/tasks/components/SubTaskList/index.js.map +1 -1
- package/es/modules/tasks/components/SubTaskList/state.d.ts +1 -1
- package/es/modules/tasks/components/SubTaskList/state.js +4 -4
- package/es/modules/tasks/components/SubTaskList/state.js.map +1 -1
- package/es/modules/tasks/components/TaskDetail/index.js +4 -7
- package/es/modules/tasks/components/TaskDetail/index.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/TaskItem.js +22 -25
- package/es/modules/tasks/components/TaskItem/TaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/index.less +11 -16
- package/es/modules/tasks/pages/TaskDefaultView/index.js +2 -3
- package/es/modules/tasks/pages/TaskDefaultView/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskTabView/index.js +2 -3
- package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -1
- package/package.json +6 -6
- package/es/controls/StarIcon/index.d.ts +0 -9
- package/es/controls/StarIcon/index.js +0 -14
- package/es/controls/StarIcon/index.js.map +0 -1
- package/es/controls/StarIcon/index.less +0 -8
package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAKxC,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,QAAQ,MAAM,wCAAwC,CAAC;AAG9D,OAAO,EAAE,SAAS,EAAE,MAAM,uDAAuD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,mBAAmB,MAAM,mDAAmD,CAAC;AACpF,OAAO,EAAS,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,cAAc,CAAC;AAEtB,MAAM,cAAc,GAAG,CAAC,KAAyC,EAAE,EAAE;IACpE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC/B,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,SAAS,EAAE,CAAC,CAAC;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c,GACvB;YAKF,8BAAM,SAAS,EAAC,gCAAgC,IAC9C,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAChC;YACP,oBAAC,mBAAmB,IACnB,IAAI,QACJ,KAAK,QACL,IAAI,EAAC,OAAO,EACZ,IAAI,EAAE,KAAK,EACX,GAAG,EAAE,UAAU,KAAK,CAAC,EAAE,EAAE,EACzB,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,EAChC,OAAO,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,EAAE,CAAC,EAChD,QAAQ,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,EAC9D,SAAS,EAAC,mBAAmB,GAC5B,CACG,CACD,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,cAAc,CAAC"}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
align-items: center;
|
7
7
|
position: relative;
|
8
8
|
color: #444;
|
9
|
-
|
9
|
+
line-height: 40px;
|
10
10
|
cursor: pointer;
|
11
11
|
& + .agenda-task-item:after {
|
12
12
|
position: absolute;
|
@@ -15,26 +15,24 @@
|
|
15
15
|
top: 0;
|
16
16
|
border-top: 1px solid @border-color-base;
|
17
17
|
}
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
&:hover {
|
32
|
-
color: #52c41a;
|
18
|
+
.agenda-task-item-left {
|
19
|
+
display: flex;
|
20
|
+
flex: 1;
|
21
|
+
max-width: 60%;
|
22
|
+
align-items: center;
|
23
|
+
.morpho-inline-edit {
|
24
|
+
flex: 1;
|
25
|
+
overflow: hidden;
|
26
|
+
.task-name {
|
27
|
+
overflow: hidden;
|
28
|
+
white-space: nowrap;
|
29
|
+
text-overflow: ellipsis;
|
30
|
+
}
|
33
31
|
}
|
34
32
|
}
|
35
33
|
.task-aside {
|
36
34
|
.task-more-operate {
|
37
|
-
opacity: 0;
|
35
|
+
// opacity: 0;
|
38
36
|
margin-left: 10px;
|
39
37
|
}
|
40
38
|
.priority-low,
|
@@ -1,15 +1,14 @@
|
|
1
1
|
import React, { useEffect, useState } from "react";
|
2
|
-
import TaskItem from "
|
3
|
-
import {
|
4
|
-
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
5
|
-
import { Modal, Skeleton } from "@voplus/antd";
|
2
|
+
import TaskItem from "../../../../../../tasks/components/TaskItem";
|
3
|
+
import { Skeleton, Button } from "@voplus/antd";
|
6
4
|
import { useObserver } from "mobx-react-lite";
|
7
5
|
import { useTaskListEffect, useTaskStore } from "../../../../../../../data/task";
|
8
6
|
import NewTaskForm from "../../../../../../tasks/components/NewTaskForm";
|
7
|
+
import SortDnD from "@voplus/morpho-ui/es/controls/SortDnD";
|
9
8
|
// import "./index.less";
|
10
9
|
import { State } from "./state";
|
11
10
|
const AgendaItem = (props) => {
|
12
|
-
const { id,
|
11
|
+
const { id, editable, onCancel } = props;
|
13
12
|
const taskStore = useTaskStore();
|
14
13
|
const [state] = useState(new State(taskStore));
|
15
14
|
state.props = props;
|
@@ -21,18 +20,23 @@ const AgendaItem = (props) => {
|
|
21
20
|
Filters: [{ c: "Document.ParentNodeId", o: "=", l: "And", v1: id }],
|
22
21
|
Page: { Page: 1, PageSize: 500 }
|
23
22
|
});
|
24
|
-
const
|
25
|
-
|
23
|
+
const moveAfter = async (id, afterId, list) => {
|
24
|
+
await taskStore.moveAfter(id, afterId);
|
25
|
+
state.tasks = list;
|
26
26
|
};
|
27
|
+
const onAddTask = () => {
|
28
|
+
state.addAble = !state.addAble;
|
29
|
+
state.showMore = false;
|
30
|
+
};
|
31
|
+
useEffect(() => {
|
32
|
+
state.loading = true;
|
33
|
+
state.showMore = false;
|
34
|
+
}, [id]);
|
27
35
|
// const [desc, setDesc] = useState(agenda.desc);
|
28
36
|
return useObserver(() => (React.createElement(Skeleton, { loading: state.loading },
|
29
|
-
state.tasks.
|
30
|
-
editable
|
31
|
-
React.createElement(
|
32
|
-
React.createElement(FAIcon, { icon: faPlus }),
|
33
|
-
" Add Task"))),
|
34
|
-
React.createElement(Modal, { title: name, visible: state.visible, onCancel: () => setVisible(false), footer: null },
|
35
|
-
React.createElement(NewTaskForm, { parentId: id, onCancel: () => (state.visible = false), onSave: () => setVisible(false) })))));
|
37
|
+
state.showMore ? ("") : !!state.tasks.length ? (React.createElement(SortDnD, { list: state.tasks, moveAfter: moveAfter, className: "agenda-task-list", text: (task, index, connectDragSource) => (React.createElement(TaskItem, { key: task.id, type: "sub", id: task.id, index: index })) })) : (React.createElement("div", null, "No Agenda Task")),
|
38
|
+
!editable ? ("") : state.addAble ? (React.createElement(NewTaskForm, { simple: true, parentId: id, block: true, onSave: onAddTask, onCancel: onAddTask, onShowMore: () => (state.showMore = !state.showMore) })) : (React.createElement("div", { className: "agenda-task-add-btn" },
|
39
|
+
React.createElement(Button, { block: true, onClick: onAddTask }, "+ Add Task"))))));
|
36
40
|
};
|
37
41
|
export default AgendaItem;
|
38
42
|
//# sourceMappingURL=index.js.map
|
package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,QAAQ,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.tsx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WAAW,IACX,MAAM,EAAE,IAAI,EACZ,QAAQ,EAAE,EAAE,EACZ,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,SAAS,EACjB,QAAQ,EAAE,SAAS,EACnB,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,GACnD,CACF,CAAC,CAAC,CAAC,CACH,6BAAK,SAAS,EAAC,qBAAqB;YACnC,oBAAC,MAAM,IAAC,KAAK,QAAC,OAAO,EAAE,SAAS,iBAEvB,CACJ,CACN,CACS,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,UAAU,CAAC"}
|
@@ -3,16 +3,18 @@ export declare type AgendaItemProps = {
|
|
3
3
|
id: string;
|
4
4
|
name: string;
|
5
5
|
editable?: boolean;
|
6
|
+
onCancel?: () => void;
|
6
7
|
};
|
7
8
|
export declare class State {
|
8
9
|
private _store;
|
9
10
|
props: AgendaItemProps;
|
10
11
|
constructor(_store: TaskStore);
|
11
12
|
tasks: ITask[];
|
12
|
-
|
13
|
+
addAble: boolean;
|
13
14
|
loading: boolean;
|
15
|
+
showMore: boolean;
|
14
16
|
onTaskCreated: (s: TaskStore, t: ITask) => void;
|
15
|
-
onTaskMoved: (
|
17
|
+
onTaskMoved: (targetId: string, list: ITask[]) => void;
|
16
18
|
onTaskDeleted: (s: TaskStore, t: ITask) => void;
|
17
19
|
subscribeOnTaskCreateCallback: () => () => void;
|
18
20
|
}
|
@@ -4,26 +4,33 @@ export class State {
|
|
4
4
|
constructor(_store) {
|
5
5
|
this._store = _store;
|
6
6
|
this.tasks = [];
|
7
|
-
this.
|
8
|
-
this.loading =
|
7
|
+
this.addAble = false;
|
8
|
+
this.loading = true;
|
9
|
+
this.showMore = false;
|
9
10
|
this.onTaskCreated = (s, t) => {
|
10
11
|
if (t.parentId === this.props.id) {
|
11
12
|
this.tasks.push(t);
|
12
13
|
}
|
13
14
|
};
|
14
|
-
this.onTaskMoved = (
|
15
|
-
if (
|
16
|
-
this.tasks = [
|
15
|
+
this.onTaskMoved = (targetId, list) => {
|
16
|
+
if (targetId === this.props.id)
|
17
|
+
this.tasks = [...list, ...this.tasks];
|
17
18
|
};
|
18
19
|
this.onTaskDeleted = (s, t) => {
|
19
|
-
this.tasks =
|
20
|
+
this.tasks =
|
21
|
+
t instanceof Array
|
22
|
+
? this.tasks.filter(task => !t.some(({ id }) => task.id === id))
|
23
|
+
: this.tasks.filter(task => task.id !== t.id);
|
24
|
+
// this.tasks = this.tasks.filter(task => task.id !== t.id);
|
20
25
|
};
|
21
26
|
this.subscribeOnTaskCreateCallback = () => {
|
22
27
|
this._store.ItemCreatedEvent.subscribe(this.onTaskCreated);
|
23
28
|
this._store.ItemDeletedEvent.subscribe(this.onTaskDeleted);
|
29
|
+
this._store.TaskMovedEvent.subscribe(this.onTaskMoved);
|
24
30
|
return () => {
|
25
31
|
this._store.ItemCreatedEvent.unsubscribe(this.onTaskCreated);
|
26
32
|
this._store.ItemDeletedEvent.unsubscribe(this.onTaskDeleted);
|
33
|
+
this._store.TaskMovedEvent.unsubscribe(this.onTaskMoved);
|
27
34
|
};
|
28
35
|
};
|
29
36
|
}
|
@@ -33,8 +40,11 @@ __decorate([
|
|
33
40
|
], State.prototype, "tasks", void 0);
|
34
41
|
__decorate([
|
35
42
|
observable
|
36
|
-
], State.prototype, "
|
43
|
+
], State.prototype, "addAble", void 0);
|
37
44
|
__decorate([
|
38
45
|
observable
|
39
46
|
], State.prototype, "loading", void 0);
|
47
|
+
__decorate([
|
48
|
+
observable
|
49
|
+
], State.prototype, "showMore", void 0);
|
40
50
|
//# sourceMappingURL=state.js.map
|
package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../../../src/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../../../src/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAUlC,MAAM,OAAO,KAAK;IAEjB,YAA2B,MAAiB;QAAjB,WAAM,GAAN,MAAM,CAAW;QAEzB,UAAK,GAAY,EAAE,CAAC;QACpB,YAAO,GAAY,KAAK,CAAC;QACzB,YAAO,GAAY,IAAI,CAAC;QACxB,aAAQ,GAAY,KAAK,CAAC;QAEtC,kBAAa,GAAG,CAAC,CAAY,EAAE,CAAQ,EAAE,EAAE;YACjD,IAAI,CAAC,CAAC,QAAQ,KAAK,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE;gBACjC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;aACnB;QACF,CAAC,CAAC;QAEK,gBAAW,GAAG,CAAC,QAAgB,EAAE,IAAa,EAAE,EAAE;YACxD,IAAI,QAAQ,KAAK,IAAI,CAAC,KAAK,CAAC,EAAE;gBAAE,IAAI,CAAC,KAAK,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;QACvE,CAAC,CAAC;QAEK,kBAAa,GAAG,CAAC,CAAY,EAAE,CAAQ,EAAE,EAAE;YACjD,IAAI,CAAC,KAAK;gBACT,CAAC,YAAY,KAAK;oBACjB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;oBAChE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;YAEhD,4DAA4D;QAC7D,CAAC,CAAC;QAEK,kCAA6B,GAAG,GAAG,EAAE;YAC3C,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;YAC3D,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;YAC3D,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YACvD,OAAO,GAAG,EAAE;gBACX,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,WAAW,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;gBAC7D,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,WAAW,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;gBAC7D,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YAC1D,CAAC,CAAC;QACH,CAAC,CAAC;IAnC6C,CAAC;CAoChD;AAlCY;IAAX,UAAU;oCAA4B;AAC3B;IAAX,UAAU;sCAAiC;AAChC;IAAX,UAAU;sCAAgC;AAC/B;IAAX,UAAU;uCAAkC"}
|
@@ -1,53 +1,100 @@
|
|
1
|
-
import React, { useState } from "react";
|
1
|
+
import React, { useEffect, useState } from "react";
|
2
2
|
import TaskList from "./components/TaskList";
|
3
3
|
import { faAngleRight, faBars, faUndo, faSave } from "@fortawesome/pro-light-svg-icons";
|
4
4
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
5
|
-
import {
|
5
|
+
import { Button, Checkbox, Input } from "@voplus/antd";
|
6
|
+
import { FileStore } from "@voplus/morpho-document/es/data/FileStore/FileContext";
|
6
7
|
import { TextEditor } from "@voplus/morpho-text";
|
7
8
|
import classnames from "classnames";
|
8
9
|
import { useObserver } from "mobx-react-lite";
|
10
|
+
import ToolBar from "../../../../../components/ToolBar";
|
9
11
|
import { useAgenda, useAgendaStore } from "../../../../../data/meeting";
|
12
|
+
import { useTaskStore } from "../../../../../data/task";
|
10
13
|
import "./index.less";
|
11
14
|
import { State } from "./state";
|
12
|
-
import
|
15
|
+
import RichTextEditor from "@voplus/morpho-ui/es/controls/RichTextEditor";
|
16
|
+
import { useDocumentStore } from "@voplus/morpho-document";
|
13
17
|
const AgendaItem = (props) => {
|
14
|
-
const { id, index, connectDragSource } = props;
|
18
|
+
const { id, index, multiple, connectDragSource } = props;
|
15
19
|
const agendaStore = useAgendaStore();
|
16
|
-
const
|
20
|
+
const taskStore = useTaskStore();
|
21
|
+
const documentStore = useDocumentStore();
|
17
22
|
const [state] = useState(new State());
|
23
|
+
const [store] = useState(new FileStore());
|
24
|
+
const agenda = useAgenda(id, { reload: state.readonly });
|
25
|
+
state.readonly = !!props.readonly ? true : agenda.status === "Readonly";
|
18
26
|
const onClick = () => {
|
27
|
+
// state.foldable = (state.editable && state.foldable) || !state.foldable;
|
19
28
|
state.foldable = !state.foldable;
|
20
29
|
};
|
21
30
|
const onSave = async () => {
|
22
|
-
if (!
|
31
|
+
if (!state.name ||
|
32
|
+
(state.name.trim() === agenda.name && state.description.trim() === agenda.description))
|
23
33
|
return;
|
24
|
-
|
34
|
+
state.loading = true;
|
35
|
+
await agendaStore.edit(id, { Name: state.name, Description: state.description });
|
36
|
+
state.loading = false;
|
37
|
+
state.editable = false;
|
25
38
|
};
|
26
39
|
const onEdit = () => {
|
40
|
+
state.name = agenda.name;
|
41
|
+
state.description = agenda.description || "";
|
27
42
|
state.editable = !state.editable;
|
28
|
-
state.foldable = true;
|
29
43
|
};
|
30
44
|
const onDelete = async () => {
|
31
45
|
await agendaStore.delete([id], { DeleteChilds: true });
|
32
46
|
};
|
33
|
-
|
47
|
+
const onMove = () => {
|
48
|
+
store.onMove([id]);
|
49
|
+
};
|
50
|
+
const onLock = async () => {
|
51
|
+
await documentStore.edit(id, { Status: "Readonly" });
|
52
|
+
state.readonly = true;
|
53
|
+
};
|
54
|
+
const onUnlock = async () => {
|
55
|
+
await documentStore.edit(id, { Status: "Normal" });
|
56
|
+
state.readonly = false;
|
57
|
+
};
|
58
|
+
// 多选操作不显示编辑模式
|
59
|
+
useEffect(() => {
|
60
|
+
if (multiple && state.editable)
|
61
|
+
state.editable = false;
|
62
|
+
}, [multiple]);
|
63
|
+
useEffect(() => {
|
64
|
+
if (!!props.readonly)
|
65
|
+
state.readonly = true;
|
66
|
+
}, [props.readonly]);
|
67
|
+
const { readonly } = state;
|
34
68
|
return useObserver(() => (React.createElement(React.Fragment, null,
|
35
69
|
React.createElement("div", { className: "agenda-item" },
|
36
|
-
React.createElement(
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
70
|
+
multiple && React.createElement(Checkbox, { value: id, className: "select-checkbox" }),
|
71
|
+
React.createElement("div", { style: { flex: "1" } },
|
72
|
+
React.createElement("div", { className: "agenda-item-header" },
|
73
|
+
React.createElement("div", { className: "agenda-item-name" },
|
74
|
+
!multiple &&
|
75
|
+
!readonly &&
|
76
|
+
connectDragSource &&
|
77
|
+
connectDragSource(React.createElement("span", { className: classnames("sort-icon-move", { show: state.editable }) },
|
78
|
+
React.createElement(FAIcon, { icon: faBars, color: "#222" }))),
|
79
|
+
!state.editable && (React.createElement("span", { className: classnames("agenda-item-index", { show: multiple || readonly }) }, (index || 0) + 1 + ".")),
|
80
|
+
state.editable ? (React.createElement(Input, { autoFocus: true, value: state.name, onChange: e => (state.name = e.target.value) })) : (React.createElement("div", { className: "section-title" }, agenda.name)),
|
81
|
+
!state.editable && !multiple && (React.createElement("div", { className: classnames("agenda-operate-icon") },
|
82
|
+
React.createElement(ToolBar, { size: "default", hoverEdit: !readonly, hoverDel: !readonly, hoverOpen: false, del: false, lock: !readonly, unlock: readonly, access: false, move: !readonly, paste: !readonly, onMove: onMove, onPaste: () => store.onPaste(() => taskStore.move(store.moveIds, id)), onDelete: onDelete, onEdit: onEdit, onLock: onLock, onUnlock: onUnlock })))),
|
83
|
+
React.createElement("span", { onClick: onClick, className: classnames("collapse-arrow", { "collapse-active": !state.foldable }) },
|
84
|
+
React.createElement(FAIcon, { icon: faAngleRight }))),
|
85
|
+
React.createElement("div", { className: "agenda-description" },
|
86
|
+
React.createElement(RichTextEditor, { readOnly: state.readonly || !state.editable, editable: state.editable, defaultValue: id, content: agenda.description || "", btn: false, placeholder: state.readonly ? "No description" : React.createElement("span", null, "Add Description"), onChange: v => (state.description = v) })),
|
87
|
+
state.editable && (React.createElement("div", { className: "save-btn" },
|
88
|
+
React.createElement(Button, { shape: "circle", onClick: () => (state.editable = false) },
|
45
89
|
React.createElement(FAIcon, { icon: faUndo })),
|
46
|
-
React.createElement(Button, { type: "primary",
|
47
|
-
React.createElement(FAIcon, { icon: faSave }))))
|
48
|
-
|
49
|
-
|
50
|
-
|
90
|
+
React.createElement(Button, { type: "primary", ghost: true, shape: "circle", loading: state.loading, onClick: onSave },
|
91
|
+
React.createElement(FAIcon, { icon: faSave })))),
|
92
|
+
state.foldable && (React.createElement("div", { className: classnames("agenda-item-box", { "collapse-inactive": !state.foldable }) },
|
93
|
+
React.createElement("div", { className: "section-title" }, "Agenda Minutes"),
|
94
|
+
React.createElement(TextEditor, { id: id, textOnly: true, className: classnames({ "agenda-description": state.editable }) }),
|
95
|
+
React.createElement("div", { className: "agenda-task-list-view" },
|
96
|
+
React.createElement("div", { className: "section-title" }, "Action Tasks"),
|
97
|
+
React.createElement(TaskList, { id: id, name: agenda.name, editable: !state.readonly })))))))));
|
51
98
|
};
|
52
99
|
export default AgendaItem;
|
53
100
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/meeting/components/AgendaList/AgendaItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,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E,CAAC,CAAC,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC;wBAC7D,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,GAAI,CAChB;oBACT,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,KAAK,QAAC,KAAK,EAAC,QAAQ,EAAC,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM;wBAClF,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,GAAI,CAChB,CACJ,CACN;gBACA,KAAK,CAAC,QAAQ,IAAI,CAClB,6BACC,SAAS,EAAE,UAAU,CAAC,iBAAiB,EAAE,EAAE,mBAAmB,EAAE,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;oBAElF,6BAAK,SAAS,EAAC,eAAe,qBAAqB;oBACnD,oBAAC,UAAU,IACV,EAAE,EAAE,EAAE,EACN,QAAQ,EAAE,IAAI,EACd,SAAS,EAAE,UAAU,CAAC,EAAE,oBAAoB,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC,GAC9D;oBACF,6BAAK,SAAS,EAAC,uBAAuB;wBACrC,6BAAK,SAAS,EAAC,eAAe,mBAAmB;wBACjD,oBAAC,QAAQ,IAAC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,QAAQ,EAAE,CAAC,KAAK,CAAC,QAAQ,GAAI,CAC7D,CACD,CACN,CACI,CACD,CACU,CACjB,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,UAAU,CAAC"}
|
@@ -1,53 +1,79 @@
|
|
1
1
|
@import "../../../../../styles/common.less";
|
2
2
|
:global {
|
3
3
|
.agenda-item {
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
4
|
+
display: flex;
|
5
|
+
position: relative;
|
6
|
+
padding: 0 20px;
|
7
|
+
&:after {
|
8
|
+
position: absolute;
|
9
|
+
content: "";
|
10
|
+
left: 20px;
|
11
|
+
bottom: 0;
|
12
|
+
right: 20px;
|
13
|
+
border-bottom: 1px solid #d9d9d9;
|
14
|
+
}
|
15
|
+
.select-checkbox {
|
16
|
+
margin: 10px 15px 0 0;
|
17
|
+
}
|
18
|
+
.section-title {
|
19
|
+
font-size: 15px;
|
20
|
+
font-weight: 500;
|
21
|
+
color: #000;
|
13
22
|
}
|
14
23
|
.agenda-item-header {
|
15
24
|
display: flex;
|
16
25
|
justify-content: space-between;
|
17
26
|
align-items: center;
|
18
|
-
padding: 10px 0;
|
27
|
+
// padding: 10px 0;
|
19
28
|
transition: all 0.3s;
|
20
29
|
cursor: pointer;
|
21
30
|
.agenda-item-index {
|
22
31
|
display: inline-block;
|
23
32
|
width: 30px;
|
24
33
|
}
|
34
|
+
.agenda-item-name {
|
35
|
+
display: flex;
|
36
|
+
position: relative;
|
37
|
+
align-items: center;
|
38
|
+
flex: 1;
|
39
|
+
height: 40px;
|
40
|
+
line-height: 40px;
|
41
|
+
overflow: hidden;
|
42
|
+
white-space: nowrap;
|
43
|
+
text-overflow: ellipsis;
|
44
|
+
color: #000;
|
45
|
+
&:hover .sort-icon-move,
|
46
|
+
.show,
|
47
|
+
&:hover .agenda-item-index.show,
|
48
|
+
&:hover .agenda-operate-icon {
|
49
|
+
display: block;
|
50
|
+
}
|
51
|
+
&:hover .agenda-item-index {
|
52
|
+
display: none;
|
53
|
+
}
|
54
|
+
}
|
25
55
|
.sort-icon-move {
|
26
56
|
display: none;
|
27
57
|
cursor: move;
|
28
58
|
width: 30px;
|
29
59
|
}
|
30
60
|
.agenda-operate-icon {
|
61
|
+
position: absolute;
|
31
62
|
display: none;
|
32
|
-
|
63
|
+
left: 30px;
|
64
|
+
top: 0px;
|
65
|
+
bottom: 0px;
|
66
|
+
right: 20px;
|
67
|
+
text-align: right;
|
68
|
+
.ant-btn {
|
33
69
|
margin-left: 10px;
|
34
70
|
}
|
35
71
|
}
|
36
|
-
|
37
|
-
&:hover .sort-icon-move,
|
38
|
-
.show,
|
39
|
-
&:hover .agenda-operate-icon {
|
40
|
-
display: block;
|
41
|
-
}
|
42
|
-
&:hover .agenda-item-index {
|
43
|
-
display: none;
|
44
|
-
}
|
45
72
|
.collapse-arrow {
|
46
73
|
display: inline-block;
|
47
|
-
|
74
|
+
padding: 10px;
|
48
75
|
font-size: 20px;
|
49
76
|
line-height: 1px;
|
50
|
-
margin-right: 10px;
|
51
77
|
vertical-align: bottom;
|
52
78
|
transition: transform 0.24s;
|
53
79
|
&.collapse-active {
|
@@ -55,15 +81,48 @@
|
|
55
81
|
}
|
56
82
|
}
|
57
83
|
}
|
84
|
+
.agenda-description {
|
85
|
+
padding-bottom: 10px;
|
86
|
+
.ant-btn {
|
87
|
+
margin-left: 10px;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
.save-btn {
|
91
|
+
text-align: right;
|
92
|
+
padding-bottom: 10px;
|
93
|
+
.ant-btn {
|
94
|
+
margin-left: 10px;
|
95
|
+
}
|
96
|
+
}
|
58
97
|
.agenda-item-box {
|
59
98
|
transition: height 0.2s @ease-out;
|
99
|
+
padding-bottom: 10px;
|
60
100
|
&.collapse-inactive {
|
61
101
|
display: none;
|
62
102
|
}
|
63
103
|
.agenda-description {
|
64
|
-
padding-bottom: 10px;
|
65
104
|
min-height: 150px;
|
66
105
|
}
|
106
|
+
.ql-disabled .ql-editor {
|
107
|
+
padding: 0;
|
108
|
+
// line-height: 0;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
.agenda-task-list-view {
|
113
|
+
.agenda-task-list {
|
114
|
+
margin: 0 -20px;
|
115
|
+
}
|
116
|
+
.sub-task-simply-form {
|
117
|
+
padding: 10px 0 0;
|
118
|
+
border: 0;
|
119
|
+
}
|
120
|
+
.agenda-task-add-btn {
|
121
|
+
opacity: 0;
|
122
|
+
padding: 0 20px 0 20px;
|
123
|
+
}
|
124
|
+
&:hover .agenda-task-add-btn {
|
125
|
+
opacity: 1;
|
67
126
|
}
|
68
127
|
}
|
69
128
|
}
|
@@ -2,14 +2,30 @@ import { __decorate } from "tslib";
|
|
2
2
|
import { observable } from "mobx";
|
3
3
|
export class State {
|
4
4
|
constructor() {
|
5
|
+
this.name = "";
|
6
|
+
this.description = "";
|
5
7
|
this.foldable = false;
|
6
8
|
this.editable = false;
|
9
|
+
this.loading = false;
|
10
|
+
this.readonly = false;
|
7
11
|
}
|
8
12
|
}
|
13
|
+
__decorate([
|
14
|
+
observable
|
15
|
+
], State.prototype, "name", void 0);
|
16
|
+
__decorate([
|
17
|
+
observable
|
18
|
+
], State.prototype, "description", void 0);
|
9
19
|
__decorate([
|
10
20
|
observable
|
11
21
|
], State.prototype, "foldable", void 0);
|
12
22
|
__decorate([
|
13
23
|
observable
|
14
24
|
], State.prototype, "editable", void 0);
|
25
|
+
__decorate([
|
26
|
+
observable
|
27
|
+
], State.prototype, "loading", void 0);
|
28
|
+
__decorate([
|
29
|
+
observable
|
30
|
+
], State.prototype, "readonly", void 0);
|
15
31
|
//# sourceMappingURL=state.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/meeting/components/AgendaList/AgendaItem/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,MAAM,OAAO,KAAK;IAAlB;QACoB,aAAQ,GAAY,KAAK,CAAC;QAC1B,aAAQ,GAAY,KAAK,CAAC;IAC9C,CAAC;CAAA;
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/meeting/components/AgendaList/AgendaItem/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,MAAM,OAAO,KAAK;IAAlB;QACoB,SAAI,GAAW,EAAE,CAAC;QAClB,gBAAW,GAAW,EAAE,CAAC;QACzB,aAAQ,GAAY,KAAK,CAAC;QAC1B,aAAQ,GAAY,KAAK,CAAC;QAC1B,YAAO,GAAY,KAAK,CAAC;QACzB,aAAQ,GAAY,KAAK,CAAC;IAC9C,CAAC;CAAA;AANY;IAAX,UAAU;mCAA0B;AACzB;IAAX,UAAU;0CAAiC;AAChC;IAAX,UAAU;uCAAkC;AACjC;IAAX,UAAU;uCAAkC;AACjC;IAAX,UAAU;sCAAiC;AAChC;IAAX,UAAU;uCAAkC"}
|
@@ -34,7 +34,7 @@ export default forwardRef((props, ref) => {
|
|
34
34
|
}));
|
35
35
|
const { single } = props;
|
36
36
|
return useObserver(() => single ? (React.createElement("div", { className: styles["agenda-new-form_single"] },
|
37
|
-
React.createElement(Input, { autoFocus: true, value: state.name, onChange: e => (state.name = e.target.value), placeholder: "Agenda", onPressEnter: onItemSave, onKeyDown: e => e.keyCode === 27 && props.onCancel() }))) : (React.createElement(React.Fragment, null,
|
37
|
+
React.createElement(Input, { autoFocus: true, value: state.name, onChange: e => (state.name = e.target.value), placeholder: "Name for Agenda", onPressEnter: onItemSave, onKeyDown: e => e.keyCode === 27 && props.onCancel() }))) : (React.createElement(React.Fragment, null,
|
38
38
|
state.params.map((item, index) => (React.createElement("div", { key: index, className: styles["agenda-new-form_default"] },
|
39
39
|
React.createElement("span", null, index + 1 + "、"),
|
40
40
|
React.createElement(Input, { autoFocus: true, value: item.Name, onChange: e => onChange(item, e.target.value), onKeyDown: e => onCancelAdd(index, e) }),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/meeting/components/AgendaList/AgendaNewForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OA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C,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;QACvE,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC;IACjB,CAAC,CAAC;IACF,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;QAC/B,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,MAAM,GAAG,EAAE,CAAC;KAChC,CAAC,CAAC,CAAC;IACJ,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACzB,OAAO,WAAW,CAAC,GAAG,EAAE,CACvB,MAAM,CAAC,CAAC,CAAC,CACR,6BAAK,SAAS,EAAE,MAAM,CAAC,wBAAwB,CAAC;QAC/C,oBAAC,KAAK,IACL,SAAS,QACT,KAAK,EAAE,KAAK,CAAC,IAAI,EACjB,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAC5C,WAAW,EAAC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/meeting/components/AgendaList/AgendaNewForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,eAAe,UAAU,CACxB,CACC,KAMC,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