@voplus/morpho-workspace 1.2.0-dev08 → 1.2.0-dev10
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/modules/tasks/components/TaskItem/SubTaskItem.js +2 -1
- package/es/modules/tasks/components/TaskItem/SubTaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/state.d.ts +1 -0
- package/es/modules/tasks/components/TaskItem/state.js +6 -0
- package/es/modules/tasks/components/TaskItem/state.js.map +1 -1
- package/es/modules/tasks/controls/TaskStatusLabel/index.js +1 -1
- package/es/modules/tasks/controls/TaskStatusLabel/index.js.map +1 -1
- package/package.json +9 -8
@@ -24,10 +24,11 @@ const SubTaskItem = (props) => {
|
|
24
24
|
const { user } = useApplicationContext();
|
25
25
|
const taskStore = useTaskStore();
|
26
26
|
const [state] = useState(new State(id, taskStore));
|
27
|
-
|
27
|
+
const task = useTask(id, {
|
28
28
|
reload: !!reload,
|
29
29
|
includes: "tags,versions",
|
30
30
|
});
|
31
|
+
state.update(task);
|
31
32
|
// const [taskStatus, setTaskStatus] = useState(state.task.taskStatus);
|
32
33
|
useLayoutEffect(() => {
|
33
34
|
runInAction(() => (state.members = state.taskMembers));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SubTaskItem.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskItem/SubTaskItem.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAE5B,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,KAAK,EAAiB,MAAM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AAQ,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,SAAS,EAAE,GAAI;oBACtF,oBAAC,OAAO,IAAC,IAAI,EAAC,QAAQ,GAAG,CAChB,CACL,CACU,GAEjB,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
@@ -137,6 +137,9 @@ export class State {
|
|
137
137
|
});
|
138
138
|
makeObservable(this);
|
139
139
|
}
|
140
|
+
update(task) {
|
141
|
+
this.task = task;
|
142
|
+
}
|
140
143
|
undo() {
|
141
144
|
this.editable = false;
|
142
145
|
this.members = this.taskMembers;
|
@@ -206,6 +209,9 @@ __decorate([
|
|
206
209
|
__decorate([
|
207
210
|
observable
|
208
211
|
], State.prototype, "isHover", void 0);
|
212
|
+
__decorate([
|
213
|
+
action
|
214
|
+
], State.prototype, "update", null);
|
209
215
|
__decorate([
|
210
216
|
action
|
211
217
|
], State.prototype, "startEdit", void 0);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskItem/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACvF,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAK3C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAcvC,MAAM,OAAO,KAAK;IAqBjB,YAA2B,EAAU,EAAU,SAAoB;;;;;mBAAxC;;;;;;mBAAoB;;QApB/C,qBAAqB;QACT;;;;;WAAmB;QAC/B,mCAAmC;QACvB;;;;mBAAuB,EAAE;WAAC;QACtC,sBAAsB;QACV;;;;mBAAwB,EAAE;WAAC;QACvC,mBAAmB;QACP;;;;mBAAc,EAAE;WAAC;QAC7B,uBAAuB;QACX;;;;mBAAyB,EAAE;WAAC;QACxC,6BAA6B;QACjB;;;;mBAAwB,CAAC;WAAC;QACtC,0BAA0B;QACd;;;;mBAAkB,KAAK;WAAC;QACpC,uBAAuB;QACX;;;;mBAAiB,KAAK;WAAC;QACvB;;;;mBAAmB,EAAE;WAAC;QAClC,6BAA6B;QACjB;;;;mBAAiB,KAAK;WAAC;
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskItem/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACvF,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAK3C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAcvC,MAAM,OAAO,KAAK;IAqBjB,YAA2B,EAAU,EAAU,SAAoB;;;;;mBAAxC;;;;;;mBAAoB;;QApB/C,qBAAqB;QACT;;;;;WAAmB;QAC/B,mCAAmC;QACvB;;;;mBAAuB,EAAE;WAAC;QACtC,sBAAsB;QACV;;;;mBAAwB,EAAE;WAAC;QACvC,mBAAmB;QACP;;;;mBAAc,EAAE;WAAC;QAC7B,uBAAuB;QACX;;;;mBAAyB,EAAE;WAAC;QACxC,6BAA6B;QACjB;;;;mBAAwB,CAAC;WAAC;QACtC,0BAA0B;QACd;;;;mBAAkB,KAAK;WAAC;QACpC,uBAAuB;QACX;;;;mBAAiB,KAAK;WAAC;QACvB;;;;mBAAmB,EAAE;WAAC;QAClC,6BAA6B;QACjB;;;;mBAAiB,KAAK;WAAC;QAYnC;;;;mBAAmB,GAAG,EAAE;gBACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;gBAC3B,IAAI,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,E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uCAGL;AAIF;IAFC,MAAM;iCAKN;AAED;IADC,MAAM;uCASL;AAGF;IAFC,MAAM;mCAYN;AAGD;IADC,QAAQ;yCAQR;AAED;IADC,QAAQ;wCAGR;AAGD;IADC,QAAQ;uCAWR"}
|
@@ -3,7 +3,7 @@ import DocumentStatusLabel from "@voplus/morpho-document/es/controls/DocumentSta
|
|
3
3
|
import React from "react";
|
4
4
|
import classnames from "classnames";
|
5
5
|
const TaskStatusLabel = (props) => {
|
6
|
-
return (React.createElement(DocumentStatusLabel, { className: classnames("task-status", props.className), editable: props.editable, list: ["NotStarted", "Progress", "Done", "Closed"], status: props.status, onChange: props.onChange }));
|
6
|
+
return (React.createElement(DocumentStatusLabel, { className: classnames("task-status", props.className), editable: props.editable, list: [{ name: "NotStarted" }, { name: "Progress" }, { name: "Done" }, { name: "Closed" }], status: props.status, onChange: props.onChange }));
|
7
7
|
};
|
8
8
|
export default TaskStatusLabel;
|
9
9
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/controls/TaskStatusLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,mBAAmB,MAAM,yDAAyD,CAAC;AAC1F,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,MAAM,eAAe,GAAG,CAAC,KAKxB,EAAE,EAAE;IACJ,OAAO,CACN,oBAAC,mBAAmB,IACnB,SAAS,EAAE,UAAU,CAAC,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC,EACrD,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,IAAI,EAAE,CAAC,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,CAAC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/controls/TaskStatusLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,mBAAmB,MAAM,yDAAyD,CAAC;AAC1F,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,MAAM,eAAe,GAAG,CAAC,KAKxB,EAAE,EAAE;IACJ,OAAO,CACN,oBAAC,mBAAmB,IACnB,SAAS,EAAE,UAAU,CAAC,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC,EACrD,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAC1F,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,QAAQ,EAAE,KAAK,CAAC,QAAQ,GACvB,CACF,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@voplus/morpho-workspace",
|
3
|
-
"version": "1.2.0-
|
3
|
+
"version": "1.2.0-dev10",
|
4
4
|
"description": "morpho workspace module",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -32,21 +32,21 @@
|
|
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.3",
|
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-dev13",
|
42
42
|
"@voplus/morpho-data": "^1.2.0-dev01",
|
43
|
-
"@voplus/morpho-document": "^1.2.0-
|
44
|
-
"@voplus/morpho-document-core": "^1.2.0-
|
43
|
+
"@voplus/morpho-document": "^1.2.0-dev18",
|
44
|
+
"@voplus/morpho-document-core": "^1.2.0-dev05",
|
45
45
|
"@voplus/morpho-form": "^1.2.0-dev01",
|
46
|
-
"@voplus/morpho-org": "^1.2.0-
|
46
|
+
"@voplus/morpho-org": "^1.2.0-dev05",
|
47
47
|
"@voplus/morpho-report": "^1.2.0-dev01",
|
48
|
-
"@voplus/morpho-text": "^1.2.0-
|
49
|
-
"@voplus/morpho-ui": "^1.2.0-
|
48
|
+
"@voplus/morpho-text": "^1.2.0-dev03",
|
49
|
+
"@voplus/morpho-ui": "^1.2.0-dev09",
|
50
50
|
"mockjs": "^1.1.0",
|
51
51
|
"typemoq": "^2.1.0"
|
52
52
|
},
|
@@ -62,6 +62,7 @@
|
|
62
62
|
"@fullcalendar/interaction": "^5.5.0",
|
63
63
|
"@fullcalendar/react": "^5.5.0",
|
64
64
|
"@fullcalendar/timegrid": "^5.5.1",
|
65
|
+
"@uiw/react-codemirror": "^3.0.6",
|
65
66
|
"object-hash": "^2.1.1",
|
66
67
|
"react-beautiful-dnd": "^13.0.0",
|
67
68
|
"tippy.js": "^5.1.4"
|