@voplus/morpho-workspace 1.1.0-dev012 → 1.1.0-dev013
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/data/meeting/AgendaStore.d.ts +2 -5
- package/es/data/meeting/AgendaStore.js +1 -13
- package/es/data/meeting/AgendaStore.js.map +1 -1
- package/es/data/meeting/MeetingStore.d.ts +2 -5
- package/es/data/meeting/MeetingStore.js +1 -9
- package/es/data/meeting/MeetingStore.js.map +1 -1
- package/es/data/meeting/hooks.d.ts +3 -2
- package/es/data/meeting/hooks.js +4 -4
- package/es/data/meeting/hooks.js.map +1 -1
- package/es/data/task/TaskStore.d.ts +2 -12
- package/es/data/task/TaskStore.js +1 -23
- package/es/data/task/TaskStore.js.map +1 -1
- package/es/modules/board/components/TaskCard/index.js +1 -1
- package/es/modules/board/components/TaskCard/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.js +5 -5
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js +5 -4
- 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 +5 -5
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js +7 -16
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +1 -10
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.d.ts +0 -2
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.js +0 -7
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/index.js +52 -51
- package/es/modules/meeting/components/AgendaList/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/state.d.ts +2 -21
- package/es/modules/meeting/components/AgendaList/state.js +11 -71
- package/es/modules/meeting/components/AgendaList/state.js.map +1 -1
- package/es/modules/meeting/components/MeetingHeader/index.js +38 -50
- package/es/modules/meeting/components/MeetingHeader/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingList/index.js +25 -85
- package/es/modules/meeting/pages/MeetingList/index.js.map +1 -1
- package/es/modules/menus/pages/ListOptions/Teams/index.js +4 -4
- package/es/modules/menus/pages/ListOptions/Teams/index.js.map +1 -1
- package/es/modules/tasks/components/SubTaskList/index.js +15 -72
- package/es/modules/tasks/components/SubTaskList/index.js.map +1 -1
- package/es/modules/tasks/components/TaskHeader/index.js +11 -2
- package/es/modules/tasks/components/TaskHeader/index.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js +4 -3
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/SubTaskItem.js +4 -2
- package/es/modules/tasks/components/TaskItem/SubTaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/state.d.ts +3 -2
- package/es/modules/tasks/components/TaskItem/state.js +5 -8
- package/es/modules/tasks/components/TaskItem/state.js.map +1 -1
- package/es/modules/tasks/pages/TaskList/index.js +28 -110
- package/es/modules/tasks/pages/TaskList/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskList/state.d.ts +0 -14
- package/es/modules/tasks/pages/TaskList/state.js +0 -46
- package/es/modules/tasks/pages/TaskList/state.js.map +1 -1
- package/es/modules/workspaces/pages/BoardView/index.js +3 -3
- package/es/modules/workspaces/pages/BoardView/index.js.map +1 -1
- package/package.json +9 -9
- package/es/modules/meeting/pages/MeetingList/state.d.ts +0 -15
- package/es/modules/meeting/pages/MeetingList/state.js +0 -47
- package/es/modules/meeting/pages/MeetingList/state.js.map +0 -1
@@ -1,49 +1,3 @@
|
|
1
|
-
import { __decorate } from "tslib";
|
2
|
-
import { observable } from "mobx";
|
3
1
|
export class State {
|
4
|
-
constructor(_store, _documents) {
|
5
|
-
this._store = _store;
|
6
|
-
this._documents = _documents;
|
7
|
-
this.tasks = [];
|
8
|
-
this.page = 1;
|
9
|
-
this.filters = [];
|
10
|
-
this.data = {};
|
11
|
-
this.loading = true;
|
12
|
-
this.onTaskCreated = (s, t) => {
|
13
|
-
if (t.type === "Task" && !t.parentId)
|
14
|
-
this.tasks.push(t);
|
15
|
-
};
|
16
|
-
this.onTaskDeleted = (s, t) => {
|
17
|
-
if (t.type !== "Task")
|
18
|
-
return;
|
19
|
-
this.tasks =
|
20
|
-
t instanceof Array
|
21
|
-
? this.tasks.filter(task => !t.some(({ id }) => task.id === id))
|
22
|
-
: this.tasks.filter(task => task.id !== t.id);
|
23
|
-
};
|
24
|
-
this.subscribeOnTaskCreateCallback = () => {
|
25
|
-
this._documents.DocumentCreatedEvent.subscribe(this.onTaskCreated);
|
26
|
-
this._documents.DocumentDeletedEvent.subscribe(this.onTaskDeleted);
|
27
|
-
return () => {
|
28
|
-
this._documents.DocumentCreatedEvent.unsubscribe(this.onTaskCreated);
|
29
|
-
this._documents.DocumentDeletedEvent.unsubscribe(this.onTaskDeleted);
|
30
|
-
};
|
31
|
-
};
|
32
|
-
}
|
33
2
|
}
|
34
|
-
__decorate([
|
35
|
-
observable
|
36
|
-
], State.prototype, "tasks", void 0);
|
37
|
-
__decorate([
|
38
|
-
observable
|
39
|
-
], State.prototype, "page", void 0);
|
40
|
-
__decorate([
|
41
|
-
observable
|
42
|
-
], State.prototype, "filters", void 0);
|
43
|
-
__decorate([
|
44
|
-
observable
|
45
|
-
], State.prototype, "data", void 0);
|
46
|
-
__decorate([
|
47
|
-
observable
|
48
|
-
], State.prototype, "loading", void 0);
|
49
3
|
//# sourceMappingURL=state.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/pages/TaskList/state.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/pages/TaskList/state.ts"],"names":[],"mappings":"AAMA,MAAM,OAAO,KAAK;CAAG"}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import React from "react";
|
2
|
-
import ListHeard from "../../components/ListHeard";
|
3
1
|
import AvatarList from "../../../../components/AvatarList";
|
4
2
|
import DocumentMenu from "@voplus/morpho-document/es/components/DocumentMenu";
|
3
|
+
import ListHeard from "../../components/ListHeard";
|
4
|
+
import React from "react";
|
5
5
|
import style from "./index.less";
|
6
6
|
export default () => {
|
7
7
|
const list = [
|
@@ -53,7 +53,7 @@ export default () => {
|
|
53
53
|
return (React.createElement("div", { className: "list-item", key: item.id },
|
54
54
|
React.createElement("div", { className: "list-item-top" },
|
55
55
|
React.createElement("span", null, "Dropbox Inc"),
|
56
|
-
React.createElement(DocumentMenu,
|
56
|
+
React.createElement(DocumentMenu, { id: "dummy" })),
|
57
57
|
React.createElement("div", { className: "list-item-title" }, "Development"),
|
58
58
|
React.createElement("div", { className: "content-list-edit" },
|
59
59
|
React.createElement("span", null,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspaces/pages/BoardView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspaces/pages/BoardView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,mCAAmC,CAAC;AAC3D,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,SAAS,MAAM,4BAA4B,CAAC;AACnD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,MAAM,cAAc,CAAC;AAEjC,eAAe,GAAG,EAAE;IACnB,MAAM,IAAI,GAAG;QACZ;YACC,EAAE,EAAE,CAAC;YACL,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,eAAe;SACrB;QACD;YACC,EAA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AC,IAAI,EAAE,EAAE,GAAI,CACnB,CACD,CACN,CAAC;QACH,CAAC,CAAC,CACG,CACD,CACN,CAAC;AACH,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@voplus/morpho-workspace",
|
3
|
-
"version": "1.1.0-
|
3
|
+
"version": "1.1.0-dev013",
|
4
4
|
"description": "morpho workspace module",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -32,21 +32,21 @@
|
|
32
32
|
"@types/classnames": "^2.2.10",
|
33
33
|
"@types/lodash-es": "^4.17.3",
|
34
34
|
"@types/mockjs": "^1.0.2",
|
35
|
-
"@types/react": "^16.9.
|
35
|
+
"@types/react": "^16.9.35",
|
36
36
|
"@types/react-beautiful-dnd": "^12.1.2",
|
37
37
|
"@types/react-custom-scrollbars": "^4.0.6",
|
38
|
-
"@types/react-dom": "^16.9.
|
39
|
-
"@types/react-router": "^5.1.
|
40
|
-
"@types/react-router-dom": "^5.1.
|
38
|
+
"@types/react-dom": "^16.9.8",
|
39
|
+
"@types/react-router": "^5.1.7",
|
40
|
+
"@types/react-router-dom": "^5.1.5",
|
41
41
|
"@voplus/antd": "^4.0.3-vo1.0.0",
|
42
42
|
"@voplus/morpho-client-test": "^1.0.0-dev014",
|
43
|
-
"@voplus/morpho-collaboration": "^1.0.0-
|
44
|
-
"@voplus/morpho-config": "^1.0.0-
|
43
|
+
"@voplus/morpho-collaboration": "^1.0.0-dev024",
|
44
|
+
"@voplus/morpho-config": "^1.0.0-dev50",
|
45
45
|
"@voplus/morpho-data": "^1.0.0-dev095",
|
46
|
-
"@voplus/morpho-document": "^1.0.0-
|
46
|
+
"@voplus/morpho-document": "^1.0.0-dev225",
|
47
47
|
"@voplus/morpho-org": "^1.0.0-dev032-antd4",
|
48
48
|
"@voplus/morpho-text": "^1.0.0-dev016",
|
49
|
-
"@voplus/morpho-ui": "^1.0.0-
|
49
|
+
"@voplus/morpho-ui": "^1.0.0-dev113",
|
50
50
|
"draft-js": "^0.11.5",
|
51
51
|
"mobx": "^5.15.4",
|
52
52
|
"mobx-react-lite": "^1.5.1",
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { IMeeting, MeetingStore } from "../../../../data/meeting";
|
2
|
-
import { SortParameters } from "@voplus/morpho-data/es/types";
|
3
|
-
export declare class State {
|
4
|
-
private _store;
|
5
|
-
constructor(_store: MeetingStore);
|
6
|
-
meetings: IMeeting[];
|
7
|
-
loading: boolean;
|
8
|
-
page: number;
|
9
|
-
data: SortParameters;
|
10
|
-
filters: any[];
|
11
|
-
onMeetingCreated: (s: MeetingStore, t: IMeeting) => void;
|
12
|
-
onMeetingDeleted: (s: MeetingStore, t: IMeeting) => void;
|
13
|
-
onMeetingMoved: (targetId: string, t: string[]) => void;
|
14
|
-
subscribeOnMeetingCreateCallback: () => () => void;
|
15
|
-
}
|
@@ -1,47 +0,0 @@
|
|
1
|
-
import { __decorate } from "tslib";
|
2
|
-
import { observable } from "mobx";
|
3
|
-
export class State {
|
4
|
-
constructor(_store) {
|
5
|
-
this._store = _store;
|
6
|
-
this.meetings = [];
|
7
|
-
this.loading = true;
|
8
|
-
this.page = 1;
|
9
|
-
this.data = {};
|
10
|
-
this.filters = [];
|
11
|
-
this.onMeetingCreated = (s, t) => {
|
12
|
-
this.meetings.push(t);
|
13
|
-
};
|
14
|
-
this.onMeetingDeleted = (s, t) => {
|
15
|
-
this.meetings = this.meetings.filter(meeting => meeting.id !== t.id);
|
16
|
-
};
|
17
|
-
this.onMeetingMoved = (targetId, t) => {
|
18
|
-
this.meetings = this.meetings.filter(meeting => !t.some(id => meeting.id === id));
|
19
|
-
};
|
20
|
-
this.subscribeOnMeetingCreateCallback = () => {
|
21
|
-
this._store.ItemCreatedEvent.subscribe(this.onMeetingCreated);
|
22
|
-
this._store.ItemDeletedEvent.subscribe(this.onMeetingDeleted);
|
23
|
-
this._store.MeetingMovedEvent.subscribe(this.onMeetingMoved);
|
24
|
-
return () => {
|
25
|
-
this._store.ItemCreatedEvent.unsubscribe(this.onMeetingCreated);
|
26
|
-
this._store.ItemDeletedEvent.unsubscribe(this.onMeetingDeleted);
|
27
|
-
this._store.MeetingMovedEvent.unsubscribe(this.onMeetingMoved);
|
28
|
-
};
|
29
|
-
};
|
30
|
-
}
|
31
|
-
}
|
32
|
-
__decorate([
|
33
|
-
observable
|
34
|
-
], State.prototype, "meetings", void 0);
|
35
|
-
__decorate([
|
36
|
-
observable
|
37
|
-
], State.prototype, "loading", void 0);
|
38
|
-
__decorate([
|
39
|
-
observable
|
40
|
-
], State.prototype, "page", void 0);
|
41
|
-
__decorate([
|
42
|
-
observable
|
43
|
-
], State.prototype, "data", void 0);
|
44
|
-
__decorate([
|
45
|
-
observable
|
46
|
-
], State.prototype, "filters", void 0);
|
47
|
-
//# sourceMappingURL=state.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/pages/MeetingList/state.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,OAAO,KAAK;IACjB,YAA2B,MAAoB;QAApB,WAAM,GAAN,MAAM,CAAc;QAC5B,aAAQ,GAAe,EAAE,CAAC;QAC1B,YAAO,GAAG,IAAI,CAAC;QACf,SAAI,GAAG,CAAC,CAAC;QACT,SAAI,GAAmB,EAAE,CAAC;QAC1B,YAAO,GAAU,EAAE,CAAC;QAEhC,qBAAgB,GAAG,CAAC,CAAe,EAAE,CAAW,EAAE,EAAE;YAC1D,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QACvB,CAAC,CAAC;QAEK,qBAAgB,GAAG,CAAC,CAAe,EAAE,CAAW,EAAE,EAAE;YAC1D,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,KAAK,CA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