@voplus/morpho-workspace 1.2.0-dev01 → 1.2.0-dev03
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/changelog.md +4 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.d.ts +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js +10 -5
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +16 -5
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.d.ts +2 -2
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.js +5 -5
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.js.map +1 -1
- package/package.json +5 -5
package/changelog.md
CHANGED
@@ -17,6 +17,6 @@ export declare class State {
|
|
17
17
|
onTaskCreated: (s: DocumentStore, t: IDocument) => void;
|
18
18
|
onTaskDeleted: (s: DocumentStore, t: IDocument) => void;
|
19
19
|
subscribeOnTaskCreateCallback: () => () => void;
|
20
|
-
onAddTask()
|
20
|
+
onAddTask: () => void;
|
21
21
|
moveAfter: (id: string, afterId: string, list: any[]) => Promise<void>;
|
22
22
|
}
|
@@ -70,6 +70,15 @@ export class State {
|
|
70
70
|
};
|
71
71
|
}
|
72
72
|
});
|
73
|
+
Object.defineProperty(this, "onAddTask", {
|
74
|
+
enumerable: true,
|
75
|
+
configurable: true,
|
76
|
+
writable: true,
|
77
|
+
value: () => {
|
78
|
+
this.addAble = !this.addAble;
|
79
|
+
this.showMore = false;
|
80
|
+
}
|
81
|
+
});
|
73
82
|
Object.defineProperty(this, "moveAfter", {
|
74
83
|
enumerable: true,
|
75
84
|
configurable: true,
|
@@ -81,10 +90,6 @@ export class State {
|
|
81
90
|
});
|
82
91
|
makeObservable(this);
|
83
92
|
}
|
84
|
-
onAddTask() {
|
85
|
-
this.addAble = !this.addAble;
|
86
|
-
this.showMore = false;
|
87
|
-
}
|
88
93
|
}
|
89
94
|
__decorate([
|
90
95
|
observable
|
@@ -109,7 +114,7 @@ __decorate([
|
|
109
114
|
], State.prototype, "subscribeOnTaskCreateCallback", void 0);
|
110
115
|
__decorate([
|
111
116
|
action
|
112
|
-
], State.prototype, "onAddTask",
|
117
|
+
], State.prototype, "onAddTask", void 0);
|
113
118
|
__decorate([
|
114
119
|
action
|
115
120
|
], State.prototype, "moveAfter", void 0);
|
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":";AACA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAW1D,MAAM,OAAO,KAAK;IAEjB,YAA2B,MAAqB;;;;;mBAArB;;QAD3B;;;;;WAA8B;QAKlB;;;;mBAAwB,EAAE;WAAC;QAC3B;;;;mBAAiB,KAAK;WAAC;QACvB;;;;mBAAiB,IAAI;WAAC;QACtB;;;;mBAAkB,KAAK;WAAC;QAGpC;;;;mBAAuB,CAAC,CAAgB,EAAE,CAAY,EAAE,EAAE;gBACzD,IAAI,CAAC,CAAC,QAAQ,KAAK,IAAI,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC,CAAC,IAAI,IAAI,MAAM,EAAE;oBACrD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAU,CAAC,CAAC;iBAC5B;YACF,CAAC;WAAC;QAGF;;;;mBAAuB,CAAC,CAAgB,EAAE,CAAY,EAAE,EAAE;gBACzD,IAAI,CAAC,CAAC,IAAI,IAAI,MAAM;oBAAE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;YAClF,CAAC;WAAC;QAGF;;;;mBAAuC,GAAG,EAAE;gBAC3C,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;gBAC/D,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;gBAE/D,OAAO,GAAG,EAAE;oBACX,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,WAAW,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;oBACjE,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,WAAW,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;gBAClE,CAAC,CAAC;YACH,CAAC;WAAC;
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../../../src/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAW1D,MAAM,OAAO,KAAK;IAEjB,YAA2B,MAAqB;;;;;mBAArB;;QAD3B;;;;;WAA8B;QAKlB;;;;mBAAwB,EAAE;WAAC;QAC3B;;;;mBAAiB,KAAK;WAAC;QACvB;;;;mBAAiB,IAAI;WAAC;QACtB;;;;mBAAkB,KAAK;WAAC;QAGpC;;;;mBAAuB,CAAC,CAAgB,EAAE,CAAY,EAAE,EAAE;gBACzD,IAAI,CAAC,CAAC,QAAQ,KAAK,IAAI,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC,CAAC,IAAI,IAAI,MAAM,EAAE;oBACrD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAU,CAAC,CAAC;iBAC5B;YACF,CAAC;WAAC;QAGF;;;;mBAAuB,CAAC,CAAgB,EAAE,CAAY,EAAE,EAAE;gBACzD,IAAI,CAAC,CAAC,IA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DASL;AAEM;IAAP,MAAM;wCAGL;AAEM;IAAP,MAAM;wCAGL"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import "./index.less";
|
2
2
|
import { State } from "./state";
|
3
3
|
import React, { useEffect, useState } from "react";
|
4
|
-
import { faAngleRight, faBars } from "@fortawesome/pro-light-svg-icons";
|
4
|
+
import { faAngleDown, faAngleRight, faBars } from "@fortawesome/pro-light-svg-icons";
|
5
5
|
import { faClipboard, faCommentAltLines, faTasksAlt } from "@fortawesome/pro-duotone-svg-icons";
|
6
6
|
import { useAgenda, useAgendaStore } from "../../../../../data/meeting";
|
7
7
|
import { Checkbox } from "@voplus/antd";
|
@@ -9,6 +9,7 @@ import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEd
|
|
9
9
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
10
10
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
11
11
|
import TaskList from "./components/TaskList";
|
12
|
+
import { TextEditor } from "@voplus/morpho-text";
|
12
13
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
13
14
|
import classnames from "classnames";
|
14
15
|
import { observe } from "@voplus/morpho-ui";
|
@@ -25,7 +26,7 @@ const AgendaItem = (props) => {
|
|
25
26
|
});
|
26
27
|
}, [multiple]);
|
27
28
|
useEffect(() => {
|
28
|
-
runInAction(() => (state.
|
29
|
+
runInAction(() => (state.expand = !!props.preview));
|
29
30
|
}, [preview]);
|
30
31
|
return observe(() => (React.createElement("div", { className: "agenda-item-view" },
|
31
32
|
React.createElement("div", { className: "agenda-item-header" },
|
@@ -37,9 +38,9 @@ const AgendaItem = (props) => {
|
|
37
38
|
React.createElement(FAIcon, { icon: faBars, color: "#222" }))),
|
38
39
|
React.createElement("span", { className: classnames("agenda-item-index", { show: multiple || state.readonly }) }, `${(index || 0) + 1}.`))),
|
39
40
|
React.createElement(DocumentHeader, { id: id, clickNameEffect: "edit", autoSaveName: true, flagVisible: false, statusVisible: false, preVisible: false, tagsVisible: false, tools: React.createElement(ToolBar, { id: id }), quickDataBarVisible: false }),
|
40
|
-
React.createElement("span", { onClick:
|
41
|
-
React.createElement(FAIcon, { icon: faAngleRight }))),
|
42
|
-
state.
|
41
|
+
React.createElement("span", { onClick: onFoldIconClick, className: classnames("collapse-arrow", { "collapse-active": !state.expand }) },
|
42
|
+
React.createElement(FAIcon, { icon: state.expand ? faAngleDown : faAngleRight }))),
|
43
|
+
state.expand && (React.createElement("div", { className: classnames("agenda-item-box", { "collapse-inactive": state.expand }) },
|
43
44
|
React.createElement("div", { className: "section-title" },
|
44
45
|
React.createElement(FAIcon, { icon: faCommentAltLines, color: "#666" }),
|
45
46
|
"Agenda Description"),
|
@@ -47,11 +48,21 @@ const AgendaItem = (props) => {
|
|
47
48
|
React.createElement("div", { className: "section-title" },
|
48
49
|
React.createElement(FAIcon, { icon: faClipboard, color: "#666" }),
|
49
50
|
"Agenda Minutes"),
|
51
|
+
React.createElement(TextEditor, { id: id, proseMirrorProps: {
|
52
|
+
readonly: state.textOnly,
|
53
|
+
onClick: () => (state.textOnly = state.readonly),
|
54
|
+
onBlur: () => (state.textOnly = true),
|
55
|
+
showNoContent: true,
|
56
|
+
className: classnames({ "agenda-minutes": !state.textOnly }),
|
57
|
+
} }),
|
50
58
|
React.createElement("div", { className: "agenda-task-list-view" },
|
51
59
|
React.createElement("div", { className: "section-title" },
|
52
60
|
React.createElement(FAIcon, { icon: faTasksAlt, color: "#666" }),
|
53
61
|
" Action Tasks"),
|
54
62
|
React.createElement(TaskList, { id: id, name: state.agenda.name, editable: !state.readonly })))))));
|
63
|
+
function onFoldIconClick() {
|
64
|
+
state.toggleExpand();
|
65
|
+
}
|
55
66
|
};
|
56
67
|
export default AgendaItem;
|
57
68
|
//# 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,cAAc,CAAC;AAEtB,OAAO,EAAmB,KAAK,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/meeting/components/AgendaList/AgendaItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAmB,KAAK,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChG,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAEnC,MAAM,UAAU,GAAG,CAAC,KAAsB,EAAE,EAAE;IAC7C,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,i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EAAC,MAAM,GAAG;iCAErC;YACN,oBAAC,UAAU,IACV,EAAE,EAAE,EAAE,EACN,gBAAgB,EAAE;oBACjB,QAAQ,EAAE,KAAK,CAAC,QAAQ;oBACxB,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;oBAChD,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;oBACrC,aAAa,EAAE,IAAI;oBACnB,SAAS,EAAE,UAAU,CAAC,EAAE,gBAAgB,EAAE,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;iBAC5D,GACA;YACF,6BAAK,SAAS,EAAC,uBAAuB;gBACrC,6BAAK,SAAS,EAAC,eAAe;oBAC7B,oBAAC,MAAM,IAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAC,MAAM,GAAG;oCACpC;gBACN,oBAAC,QAAQ,IAAC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,EAAE,CAAC,KAAK,CAAC,QAAQ,GAAI,CACnE,CACD,CACN,CAEI,CACN,CAAC,CAAC;IAEH,SAAS,eAAe;QACvB,KAAK,CAAC,YAAY,EAAE,CAAC;IACtB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,UAAU,CAAC"}
|
@@ -13,7 +13,7 @@ export declare class State {
|
|
13
13
|
agenda: IAgenda;
|
14
14
|
name: string;
|
15
15
|
description: string;
|
16
|
-
|
16
|
+
expand: boolean;
|
17
17
|
editable: boolean;
|
18
18
|
loading: boolean;
|
19
19
|
textOnly: boolean;
|
@@ -22,5 +22,5 @@ export declare class State {
|
|
22
22
|
constructor(agendaStore: AgendaStore);
|
23
23
|
get readonly(): boolean;
|
24
24
|
onEdit: (option: EditAgendaOptions) => Promise<void>;
|
25
|
-
|
25
|
+
toggleExpand(): void;
|
26
26
|
}
|
@@ -26,7 +26,7 @@ export class State {
|
|
26
26
|
writable: true,
|
27
27
|
value: ""
|
28
28
|
});
|
29
|
-
Object.defineProperty(this, "
|
29
|
+
Object.defineProperty(this, "expand", {
|
30
30
|
enumerable: true,
|
31
31
|
configurable: true,
|
32
32
|
writable: true,
|
@@ -70,8 +70,8 @@ export class State {
|
|
70
70
|
get readonly() {
|
71
71
|
return this.agenda && this.agenda.status === "Readonly";
|
72
72
|
}
|
73
|
-
|
74
|
-
this.
|
73
|
+
toggleExpand() {
|
74
|
+
this.expand = !this.expand;
|
75
75
|
}
|
76
76
|
}
|
77
77
|
__decorate([
|
@@ -85,7 +85,7 @@ __decorate([
|
|
85
85
|
], State.prototype, "description", void 0);
|
86
86
|
__decorate([
|
87
87
|
observable
|
88
|
-
], State.prototype, "
|
88
|
+
], State.prototype, "expand", void 0);
|
89
89
|
__decorate([
|
90
90
|
observable
|
91
91
|
], State.prototype, "editable", void 0);
|
@@ -106,5 +106,5 @@ __decorate([
|
|
106
106
|
], State.prototype, "onEdit", void 0);
|
107
107
|
__decorate([
|
108
108
|
action
|
109
|
-
], State.prototype, "
|
109
|
+
], State.prototype, "toggleExpand", null);
|
110
110
|
//# sourceMappingURL=state.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/meeting/components/AgendaList/AgendaItem/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAYpE,MAAM,OAAO,KAAK;IAWjB,YAA2B,WAAwB;;;;;mBAAxB;;QAVf;;;;;WAAuB;QACvB;;;;mBAAc,EAAE;WAAC;QACjB;;;;mBAAqB,EAAE;WAAC;QACxB;;;;
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/meeting/components/AgendaList/AgendaItem/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE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1.2.0-dev03",
|
4
4
|
"description": "morpho workspace module",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -32,20 +32,20 @@
|
|
32
32
|
"@types/lodash-es": "^4.17.4",
|
33
33
|
"@types/mockjs": "^1.0.3",
|
34
34
|
"@types/object-hash": "^1.3.4",
|
35
|
-
"@types/react": "^17.0.
|
35
|
+
"@types/react": "^17.0.2",
|
36
36
|
"@types/react-beautiful-dnd": "^13.0.0",
|
37
37
|
"@voplus/antd": "^4.10.3-vo1.0.2",
|
38
38
|
"@voplus/morpho-client-test": "^1.2.0-dev01",
|
39
39
|
"@voplus/morpho-collaboration": "^1.2.0-dev01",
|
40
40
|
"@voplus/morpho-collaboration-action": "^1.2.0-dev01",
|
41
|
-
"@voplus/morpho-config": "^1.2.0-
|
41
|
+
"@voplus/morpho-config": "^1.2.0-dev08",
|
42
42
|
"@voplus/morpho-data": "^1.2.0-dev01",
|
43
|
-
"@voplus/morpho-document": "^1.2.0-
|
43
|
+
"@voplus/morpho-document": "^1.2.0-dev02",
|
44
44
|
"@voplus/morpho-document-core": "^1.2.0-dev01",
|
45
45
|
"@voplus/morpho-form": "^1.2.0-dev01",
|
46
46
|
"@voplus/morpho-org": "^1.2.0-dev01",
|
47
47
|
"@voplus/morpho-report": "^1.2.0-dev01",
|
48
|
-
"@voplus/morpho-text": "^1.2.0-
|
48
|
+
"@voplus/morpho-text": "^1.2.0-dev02",
|
49
49
|
"@voplus/morpho-ui": "^1.2.0-dev01",
|
50
50
|
"mockjs": "^1.1.0",
|
51
51
|
"typemoq": "^2.1.0"
|