@voplus/morpho-workspace 1.2.0-dev10 → 1.2.2
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.js +4 -0
- package/es/Modules.js.map +1 -1
- package/es/controls/AssignButton/index.js +1 -1
- package/es/controls/AssignButton/index.js.map +1 -1
- package/es/controls/StickyAddButton/index.js +1 -1
- package/es/controls/StickyAddButton/index.js.map +1 -1
- package/es/data/meeting/metas.d.ts +6 -2
- package/es/data/meeting/metas.js +8 -6
- package/es/data/meeting/metas.js.map +1 -1
- package/es/data/task/metas.d.ts +3 -1
- package/es/data/task/metas.js +4 -3
- package/es/data/task/metas.js.map +1 -1
- package/es/modules/board/components/Board/index.js +2 -2
- package/es/modules/board/components/Board/index.js.map +1 -1
- package/es/modules/board/components/BoardColumn/index.js +7 -6
- package/es/modules/board/components/BoardColumn/index.js.map +1 -1
- package/es/modules/board/components/BoardColumn/index.less +2 -0
- package/es/modules/board/components/BoardColumn/state.d.ts +1 -0
- package/es/modules/board/components/BoardColumn/state.js +8 -2
- package/es/modules/board/components/BoardColumn/state.js.map +1 -1
- package/es/modules/board/components/SubDocument/index.js +1 -1
- package/es/modules/board/components/SubDocument/index.js.map +1 -1
- package/es/modules/board/components/SubDocumentList/index.js +2 -2
- package/es/modules/board/components/SubDocumentList/index.js.map +1 -1
- package/es/modules/meeting/MeetingRoutes.d.ts +3 -10
- package/es/modules/meeting/MeetingRoutes.js +3 -22
- package/es/modules/meeting/MeetingRoutes.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +16 -10
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.less +9 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.d.ts +2 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.js +13 -0
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.js.map +1 -1
- package/es/modules/meeting/components/MeetingHeader/index.js +3 -1
- package/es/modules/meeting/components/MeetingHeader/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingItem/index.js +3 -1
- package/es/modules/meeting/components/MeetingItem/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js +3 -1
- package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js +3 -1
- package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingListView/index.d.ts +3 -2
- package/es/modules/meeting/pages/MeetingListView/index.js +3 -5
- package/es/modules/meeting/pages/MeetingListView/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingTabView/index.d.ts +4 -1
- package/es/modules/meeting/pages/MeetingTabView/index.js +3 -5
- package/es/modules/meeting/pages/MeetingTabView/index.js.map +1 -1
- package/es/modules/menus/components/AddUsers/index.js +1 -1
- package/es/modules/menus/components/AddUsers/index.js.map +1 -1
- package/es/modules/menus/pages/ListOptions/Company/index.js +2 -2
- package/es/modules/menus/pages/ListOptions/Company/index.js.map +1 -1
- package/es/modules/menus/pages/ListOptions/Teams/index.js.map +1 -1
- package/es/modules/tasks/TasksRoutes.d.ts +2 -4
- package/es/modules/tasks/TasksRoutes.js +3 -12
- package/es/modules/tasks/TasksRoutes.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js +4 -5
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/SubTaskItem.js +3 -2
- package/es/modules/tasks/components/TaskItem/SubTaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskPropertiesView/index.js +5 -4
- package/es/modules/tasks/components/TaskPropertiesView/index.js.map +1 -1
- package/es/modules/tasks/components/TaskQuickViewDialog/index.js +3 -1
- package/es/modules/tasks/components/TaskQuickViewDialog/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskTabView/index.d.ts +4 -1
- package/es/modules/tasks/pages/TaskTabView/index.js +6 -24
- package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -1
- package/es/modules/workspaces/components/AddUsers/index.js +1 -1
- package/es/modules/workspaces/components/AddUsers/index.js.map +1 -1
- package/es/pages/WorkType/WorkTypeDetail/index.js +1 -1
- package/es/pages/WorkType/WorkTypeDetail/index.js.map +1 -1
- package/package.json +21 -32
- package/changelog.md +0 -83
@@ -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,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;
|
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,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EACN,WAAW,EACX,YAAY,EACZ,MAAM,EACN,gBAAgB,GAChB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,WAAW,MA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E,CACJ,CAAC,KAAK,CAAC,WAAW;oBACjB,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,KAAK,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,CAC7E,GAED,CACK,CACR,CACI,CACN,CAAC,CAAC;IAEH,SAAS,eAAe;QACvB,KAAK,CAAC,YAAY,EAAE,CAAC;IACtB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,UAAU,CAAC"}
|
@@ -51,7 +51,7 @@
|
|
51
51
|
visibility: hidden;
|
52
52
|
}
|
53
53
|
&:hover {
|
54
|
-
.agenda-item-index {
|
54
|
+
.agenda-item-index:not(.show) {
|
55
55
|
display: none;
|
56
56
|
}
|
57
57
|
.sort-icon-move {
|
@@ -95,4 +95,12 @@
|
|
95
95
|
opacity: 1;
|
96
96
|
}
|
97
97
|
}
|
98
|
+
.agenda-description_mirror {
|
99
|
+
.editor-toolbar {
|
100
|
+
border-top: 0;
|
101
|
+
}
|
102
|
+
.ProseMirror-container {
|
103
|
+
border: none;
|
104
|
+
}
|
105
|
+
}
|
98
106
|
}
|
@@ -64,12 +64,22 @@ export class State {
|
|
64
64
|
writable: true,
|
65
65
|
value: false
|
66
66
|
});
|
67
|
+
/** visible of edit description */
|
68
|
+
Object.defineProperty(this, "desVisible", {
|
69
|
+
enumerable: true,
|
70
|
+
configurable: true,
|
71
|
+
writable: true,
|
72
|
+
value: false
|
73
|
+
});
|
67
74
|
Object.defineProperty(this, "onEdit", {
|
68
75
|
enumerable: true,
|
69
76
|
configurable: true,
|
70
77
|
writable: true,
|
71
78
|
value: async (option) => {
|
79
|
+
this.loading = true;
|
72
80
|
await this.agendaStore.edit(this.agenda.id, { data: option, error: "message" });
|
81
|
+
this.loading = false;
|
82
|
+
this.desVisible = false;
|
73
83
|
}
|
74
84
|
});
|
75
85
|
Object.defineProperty(this, "onAddTask", {
|
@@ -119,6 +129,9 @@ __decorate([
|
|
119
129
|
__decorate([
|
120
130
|
observable
|
121
131
|
], State.prototype, "addAble", void 0);
|
132
|
+
__decorate([
|
133
|
+
observable
|
134
|
+
], State.prototype, "desVisible", void 0);
|
122
135
|
__decorate([
|
123
136
|
computed
|
124
137
|
], State.prototype, "readonly", null);
|
@@ -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;
|
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;IAejB,YAA2B,WAAwB;;;;;mBAAxB;;QAdf;;;;;WAAuB;QACvB;;;;mBAAc,EAAE;WAAC;QACjB;;;;mBAAqB,EAAE;WAAC;QACxB;;;;mBAAgB,KAAK;WAAC;QACtB;;;;mBAAkB,KAAK;WAAC;QACxB;;;;mBAAiB,KAAK;WAAC;QACvB;;;;mBAAkB,IAAI;WAAC;QACnC,oBAAoB;QACR;;;;mBAAiB,KAAK;WAAC;QACnC,MAAM;QACM;;;;mBAAiB,KAAK;WAAC;QACnC,kCAAkC;QACtB;;;;mBAAoB,KAAK;WAAC;QAiBtC;;;;mBAAgB,KAAK,EAAE,MAAyB,EAAE,EAAE;gBACnD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;gBACpB,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;gBAChF,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;gBACrB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;YACzB,CAAC;WAAC;QASF;;;;mBAAmB,CAAC,OAAgB,EAAE,EAAE;gBACvC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;YACxB,CAAC;WAAC;QA9BD,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAGD,IAAW,QAAQ;QAClB,OAAO,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,KAAK,UAAU,CAAC;IACzD,CAAC;IAGM,MAAM,CAAC,MAAe;QAC5B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACtB,CAAC;IAWM,YAAY;QAClB,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC;IAC5B,CAAC;CAOD;AA9CY;IAAX,UAAU;qCAAwB;AACvB;IAAX,UAAU;mCAAkB;AACjB;IAAX,UAAU;0CAAyB;AACxB;IAAX,UAAU;qCAAuB;AACtB;IAAX,UAAU;uCAAyB;AACxB;IAAX,UAAU;sCAAwB;AACvB;IAAX,UAAU;uCAAwB;AAEvB;IAAX,UAAU;sCAAwB;AAEvB;IAAX,UAAU;sCAAwB;AAEvB;IAAX,UAAU;yCAA2B;AAOtC;IADC,QAAQ;qCAGR;AAGD;IADC,MAAM;mCAGN;AAGD;IADC,MAAM;qCAML;AAGF;IADC,MAAM;yCAGN;AAID;IAFC,MAAM;wCAIL"}
|
@@ -15,8 +15,10 @@ import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
15
15
|
import moment from "moment";
|
16
16
|
import { observe } from "@voplus/morpho-ui";
|
17
17
|
import { useApplicationContext } from "@voplus/morpho-data";
|
18
|
+
import { useMetaStore } from "@voplus/morpho-document";
|
18
19
|
const MeetingHeader = (props) => {
|
19
20
|
const { id, onReLoad, onExpand } = props;
|
21
|
+
const meta = useMetaStore();
|
20
22
|
const meetingStore = useMeetingStore();
|
21
23
|
const meeting = useMeeting(id, { reload: true, includes: "tags,task-number-reports" });
|
22
24
|
const [editable, setEditable] = useState(false);
|
@@ -29,7 +31,7 @@ const MeetingHeader = (props) => {
|
|
29
31
|
React.createElement(CommentDataIcon, { id: id }),
|
30
32
|
React.createElement(MeetingTasksProgressDataIcon, { id: id })), tools: React.createElement(ToolBar, { id: id, moreProps: { closeAside: true } },
|
31
33
|
React.createElement(Reload, { action: onReLoad }),
|
32
|
-
onExpand ? React.createElement(Sidebar, { action: onExpand }) : React.createElement(Open, { url:
|
34
|
+
onExpand ? React.createElement(Sidebar, { action: onExpand }) : React.createElement(Open, { url: meta.getRoute(meeting) }),
|
33
35
|
React.createElement(Archive, null),
|
34
36
|
React.createElement(Print, { url: `meeting/print/${id}` })) }),
|
35
37
|
editable && !meeting.readonly ? (React.createElement("div", { style: { padding: "5px 0" } },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EACN,OAAO,EACP,IAAI,EACJ,KAAK,EACL,MAAM,EACN,OAAO,GACP,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EACN,eAAe,EACf,gBAAgB,GAEhB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACN,OAAO,EACP,cAAc,EACd,WAAW,EACX,aAAa,GACb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEvE,OAAO,UAAU,MAAM,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AAE;gBAC1C,OAAO,EAAE,OAAO,CAAC,OAAO,IAAI,IAAI,IAAI,EAAE;aACtC;YACD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,OAAO,CAAC,KAAK,CAAC,CAAC;QACf,WAAW,CAAC,KAAK,CAAC,CAAC;IACpB,CAAC;IACD,SAAS,YAAY,CAAC,KAAU,EAAE,UAAoB;QACrD,OAAO,CAAC,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QAC7B,OAAO,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IAC5B,CAAC;IACD,SAAS,UAAU;QAClB,OAAO,CAAC,IAAI,CAAC,CAAC;QACd,WAAW,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC;IACD,SAAS,YAAY,CAAC,IAAa;QAClC,WAAW,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,aAAa,CAAC"}
|
@@ -18,8 +18,10 @@ import { observe } from "@voplus/morpho-ui";
|
|
18
18
|
import { runInAction } from "mobx";
|
19
19
|
import { useApplicationContext } from "@voplus/morpho-data";
|
20
20
|
import { useMeeting } from "../../../../data/meeting";
|
21
|
+
import { useMetaStore } from "@voplus/morpho-document";
|
21
22
|
const MeetingItem = (props) => {
|
22
23
|
const { id, isList, reload } = props;
|
24
|
+
const meta = useMetaStore();
|
23
25
|
const { user } = useApplicationContext();
|
24
26
|
const [state] = useState(new State());
|
25
27
|
const meeting = useMeeting(id, { reload: !!reload, includes: "tags,task-number-reports" });
|
@@ -57,7 +59,7 @@ const MeetingItem = (props) => {
|
|
57
59
|
show: state.hover,
|
58
60
|
}) },
|
59
61
|
React.createElement(ToolBar, { id: id, moreProps: { buttonProps: { size: "middle" } } },
|
60
|
-
React.createElement(Open, { size: "middle", url:
|
62
|
+
React.createElement(Open, { size: "middle", url: meta.getRoute(meeting) }),
|
61
63
|
React.createElement(Archive, { size: "middle" }))))) }));
|
62
64
|
});
|
63
65
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAQ,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,EACN,eAAe,EACf,gBAAgB,GAEhB,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAExF,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,4BAA4B,MAAM,6CAA6C,CAAC;AACvF,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OA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AAU,IACV,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EACxC,IAAI,EAAE,OAAO,CAAC,OAAO,IAAI,EAAE,EAC3B,QAAQ,EAAE,KAAK,EACf,SAAS,EAAE,UAAU,CAAC,EAAE,KAAK,EAAE,CAAC,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,KAAK,EAAE,CAAC,GAC/D;gBACD,CAAC,MAAM,IAAI,CACX,6BACC,SAAS,EAAE,UAAU,CAAC,oBAAoB,EAAE;wBAC3C,IAAI,EAAE,KAAK,CAAC,KAAK;qBACjB,CAAC;oBAEF,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;wBAC9D,oBAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAI;wBACnD,oBAAC,OAAO,IAAC,IAAI,EAAC,QAAQ,GAAG,CAChB,CACL,CACN,CACe,GAEjB,CACF,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
|
@@ -7,13 +7,15 @@ import MeetingList from "../MeetingList";
|
|
7
7
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
8
8
|
import { observe } from "@voplus/morpho-ui";
|
9
9
|
import { useDocument } from "@voplus/morpho-document-core";
|
10
|
+
import { useMetaStore } from "@voplus/morpho-document";
|
10
11
|
const MeetingsFolderPropertiesView = (props) => {
|
11
12
|
const { id } = props;
|
13
|
+
const meta = useMetaStore();
|
12
14
|
const document = useDocument(id);
|
13
15
|
const [reload, setReload] = useState(true);
|
14
16
|
return observe(() => (React.createElement("div", { className: "module-detail-view" }, reload && (React.createElement(React.Fragment, null,
|
15
17
|
React.createElement(DocumentHeader, { id: id, size: "h3", quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, tools: React.createElement(ToolBar, { id: id, moreProps: { closeAside: true } },
|
16
|
-
React.createElement(Open, { url:
|
18
|
+
React.createElement(Open, { url: meta.getRoute(document) }),
|
17
19
|
React.createElement(Reload, { action: onReload }),
|
18
20
|
React.createElement(Archive, null)) }),
|
19
21
|
React.createElement(DocumentTabs, { id: id, exclude: ["Meeting"], detailTitle: "Meetings", details: React.createElement("div", { className: "meetings-folder-properties-view" },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingsFolderProperitesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingsFolderProperitesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,OAAO,MAAM,sDAA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AAC,QAAQ,GAAI,CACpE,GAEN,CACc,CACjB,CACI,CACN,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
@@ -9,11 +9,13 @@ import { Skeleton } from "@voplus/antd";
|
|
9
9
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
10
10
|
import { observe } from "@voplus/morpho-ui";
|
11
11
|
import { useDocument } from "@voplus/morpho-document-core";
|
12
|
+
import { useMetaStore } from "@voplus/morpho-document";
|
12
13
|
const MeetingsFolderQuickViewDialog = (props) => {
|
14
|
+
const meta = useMetaStore();
|
13
15
|
const document = useDocument(props.id);
|
14
16
|
const [reload, setReload] = useState(true);
|
15
17
|
return observe(() => (React.createElement(QuickViewDialog, { id: props.id, exclude: ["Meeting"], visible: props.visible, onCancel: props.onCancel, className: "meetings-folder-quick-view", header: React.createElement(React.Fragment, null, reload && (React.createElement(DocumentHeader, { id: props.id, size: "h3", quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, tools: React.createElement(ToolBar, { id: props.id },
|
16
|
-
React.createElement(Open, { url:
|
18
|
+
React.createElement(Open, { url: meta.getRoute(document) }),
|
17
19
|
React.createElement(Reload, { action: onReload }),
|
18
20
|
React.createElement(Archive, null)) }))) }, reload && (React.createElement(React.Fragment, null,
|
19
21
|
document.loading ? (React.createElement("div", { style: { padding: "10px 20px" } },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingsFolderQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,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AC,WAAW,IACX,QAAQ,EAAE,KAAK,CAAC,EAAE;YAClB,mBAAmB;YACnB,cAAc,QACd,QAAQ,EAAE,QAAQ,CAAC,QAAQ,GAC1B,CACc,CACjB,CACgB,CAClB,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,6BAA6B,CAAC"}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
|
3
|
-
|
2
|
+
/** The Meeting Page component with router parameters support. */
|
3
|
+
declare const MeetingListView: ({ id }: {
|
4
|
+
id: string;
|
4
5
|
}) => JSX.Element;
|
5
6
|
export default MeetingListView;
|
@@ -1,12 +1,10 @@
|
|
1
|
-
import React
|
2
|
-
import { __RouterContext } from "react-router";
|
1
|
+
import React from "react";
|
3
2
|
import { observe, useAutorunEffect } from "@voplus/morpho-ui";
|
4
3
|
import MeetingList from "../../components/MeetingList";
|
5
4
|
import { useDocument } from "@voplus/morpho-document-core";
|
6
5
|
import { useTabItem } from "@voplus/morpho-data";
|
7
|
-
|
8
|
-
|
9
|
-
const id = props.parentId || match.params.id;
|
6
|
+
/** The Meeting Page component with router parameters support. */
|
7
|
+
const MeetingListView = ({ id }) => {
|
10
8
|
const tab = useTabItem();
|
11
9
|
const document = useDocument(id);
|
12
10
|
useAutorunEffect(() => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/pages/MeetingListView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/pages/MeetingListView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,WAAW,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,iEAAiE;AACjE,MAAM,eAAe,GAAG,CAAC,EAAE,EAAE,EAAkB,EAAE,EAAE;IAElD,MAAM,GAAG,GAAG,UAAU,EAAE,CAAC;IAEzB,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IAEjC,gBAAgB,CAAC,GAAG,EAAE;;QACrB,GAAG,CAAC,KAAK,GAAG,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,mCAAI,UAAU,CAAC;IAC1C,CAAC,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,oBAAC,WAAW,IAAC,QAAQ,EAAE,EAAE,EAAE,WAAW,SAAG,CAAC,CAAC;AACjE,CAAC,CAAC;AACF,eAAe,eAAe,CAAC"}
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import React, {
|
2
|
-
import { __RouterContext } from "react-router";
|
1
|
+
import React, { useEffect, useState } from "react";
|
3
2
|
import { observe, useAutorunEffect } from "@voplus/morpho-ui";
|
4
3
|
import AgendaList from "../../components/AgendaList";
|
5
4
|
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
@@ -11,9 +10,8 @@ import { runInAction } from "mobx";
|
|
11
10
|
import styles from "./index.less";
|
12
11
|
import { useMeeting } from "../../../../data/meeting";
|
13
12
|
import { useTabItem } from "@voplus/morpho-data";
|
14
|
-
|
15
|
-
|
16
|
-
const id = match.params.id;
|
13
|
+
/** The Meeting Page component with router parameters support. */
|
14
|
+
const MeetingTabView = ({ id }) => {
|
17
15
|
const [loaded, setLoaded] = useState(true);
|
18
16
|
const meeting = useMeeting(id, { includes: "tags,task-number-reports" });
|
19
17
|
const tab = useTabItem();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/pages/MeetingTabView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/pages/MeetingTabView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,UAAU,MAAM,6BAA6B,CAAC;AACrD,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,aAAa,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,iEAAiE;AACjE,MAAM,cAAc,GAAG,CAAC,EAAE,EAAE,EAAkB,EAAE,EAAE;IACjD,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE3C,MAAM,OAAO,GAAG,UAAU,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,0BAA0B,EAAE,CAAC,CAAC;IAEzE,MAAM,GAAG,GAAG,UAAU,EAAE,CAAC;IAEzB,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CA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AC,QAAQ,EAC1B,OAAO,EAAC,eAAe,GACtB,CACF;gBAED,oBAAC,UAAU,IAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAAE,QAAQ,EAAE,EAAE,GAAI,CACxC,CACjB,CACI,CACQ,CACV,CACN,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AACF,eAAe,cAAc,CAAC"}
|
@@ -20,7 +20,7 @@ export default ({ form }) => {
|
|
20
20
|
console.log(values, "---values");
|
21
21
|
};
|
22
22
|
return observe(() => (React.createElement("div", { className: style.all },
|
23
|
-
React.createElement(Form,
|
23
|
+
React.createElement(Form, { ...formItemLayout, onFinish: handleSubmit },
|
24
24
|
React.createElement(Form.Item, { label: React.createElement("span", null, "Name\u00A0"), style: { paddingTop: 30 } },
|
25
25
|
React.createElement(Input, null)),
|
26
26
|
React.createElement(Form.Item, { label: React.createElement("span", null, "Email\u00A0") },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/menus/components/AddUsers/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAW,MAAM,cAAc,CAAC;AAC5D,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,OAAO,MAAM,YAAY,CAAC;AACjC,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,cAAc,CAAC;AAEjC,eAAe,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE;IAChC,MAAM,cAAc,GAAG;QACtB,QAAQ,EAAE;YACT,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;YAChB,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;SACf;QACD,UAAU,EAAE;YACX,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;YAChB,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;SAChB;KACD,CAAC;IAEF,MAAM,YAAY,GAAG,CAAC,MAAW,EAAE,EAAE;QACpC,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAClC,CAAC,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,KAAK,CAAC,GAAG;QACxB,oBAAC,IAAI,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/menus/components/AddUsers/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAW,MAAM,cAAc,CAAC;AAC5D,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,OAAO,MAAM,YAAY,CAAC;AACjC,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,cAAc,CAAC;AAEjC,eAAe,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE;IAChC,MAAM,cAAc,GAAG;QACtB,QAAQ,EAAE;YACT,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;YAChB,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;SACf;QACD,UAAU,EAAE;YACX,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;YAChB,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;SAChB;KACD,CAAC;IAEF,MAAM,YAAY,GAAG,CAAC,MAAW,EAAE,EAAE;QACpC,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAClC,CAAC,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,KAAK,CAAC,GAAG;QACxB,oBAAC,IAAI,OAAK,cAAc,EAAE,QAAQ,EAAE,YAAY;YAC/C,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAE,+CAAuB,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE;gBACnE,oBAAC,KAAK,OAAG,CACE;YACZ,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAE,gDAAwB;gBACzC,oBAAC,KAAK,OAAG,CACE;YACZ,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAE,uDAA+B;gBAChD,oBAAC,OAAO,OAAG,CACA;YACZ,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAE,iDAAyB;gBAC1C,oBAAC,MAAM,OAAG,CACC;YACZ,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAE,iDAAyB;gBAC1C,oBAAC,MAAM,OAAG,CACC;YACZ,6BAAK,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,EAAE;gBACrD,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,QAAQ,EAAC,QAAQ,kBAE/B,CACJ,CACA,CACF,CACN,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
@@ -79,7 +79,7 @@ const Company = () => {
|
|
79
79
|
React.createElement(Option, { value: "87" }, "+87"))));
|
80
80
|
const websiteOptions = autoCompleteResult.map((website) => (React.createElement(AutoCompleteOption, { key: website, value: website }, website)));
|
81
81
|
return observe(() => (React.createElement("div", { className: style.all },
|
82
|
-
React.createElement(Form,
|
82
|
+
React.createElement(Form, { ...formItemLayout, form: form, initialValues: { ["residence"]: ["zhejiang", "hangzhou", "xihu"], ["prefix"]: 86 }, onFinish: handleSubmit },
|
83
83
|
React.createElement("h1", null, "Company"),
|
84
84
|
React.createElement(Form.Item, { name: "nickname", label: React.createElement("span", null,
|
85
85
|
"Nickname\u00A0",
|
@@ -107,7 +107,7 @@ const Company = () => {
|
|
107
107
|
, {
|
108
108
|
// dataSource={websiteOptions}
|
109
109
|
onChange: handleWebsiteChange, placeholder: "website", style: { width: "50%" } }, websiteOptions)),
|
110
|
-
React.createElement(Form.Item,
|
110
|
+
React.createElement(Form.Item, { ...tailFormItemLayout },
|
111
111
|
React.createElement(Button, { type: "primary", htmlType: "submit", className: "button" }, "Save"))))));
|
112
112
|
};
|
113
113
|
export default Company;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/menus/pages/ListOptions/Company/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5F,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,cAAc,CAAC;AAEjC,MAAM,OAAO,GAAG,GAAG,EAAE;IACpB,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;IAE9B,MAAM,UAAU,GAAG;QAClB;YACC,KAAK,EAAE,UAAU;YACjB,KAAK,EAAE,UAAU;YACjB,QAAQ,EAAE;gBACT;oBACC,KAAK,EAAE,UAAU;oBACjB,KAAK,EAAE,UAAU;iBACjB;aACD;SACD;QACD;YACC,KAAK,EAAE,SAAS;YAChB,KAAK,EAAE,SAAS;YAChB,QAAQ,EAAE;gBACT;oBACC,KAAK,EAAE,SAAS;oBAChB,KAAK,EAAE,SAAS;iBAChB;aACD;SACD;KACD,CAAC;IAEF,MAA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Q,WAElD,CACE,CACN,CACF,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,OAAO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/menus/pages/ListOptions/Teams/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,cAAc,CAAC;AACjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,gFAAgF;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/menus/pages/ListOptions/Teams/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,cAAc,CAAC;AACjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,gFAAgF;AAEhF,eAAe,GAAG,EAAE;IACnB,MAAM,EAAE,IAAI,EAAE,GAAG,qBAAqB,EAAE,CAAC;IAEzC,MAAM,IAAI,GAAG;QACZ;YACC,EAAE,EAAE,CAAC;YACL,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,sBAAsB;YAC5B,GAAG,EACF,gGAAgG;SACjG;QACD;YAC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,IAAI,CAAC,KAAK,CAEN;4BACN,oBAAC,MAAM,IAAC,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,CAAC,EAAE,GAAI;4BAC7D,IAAI,CAAC,IAAI,CACL;wBAGP;4BACC,2CAAgB;4BAChB,oBAAC,UAAU,IAAC,IAAI,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,GAAI,CAC7D,CACA,CACI,CACZ,GACA,CACG,CACD,CACN,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
+
import { DocumentRoute } from "@voplus/morpho-document/es/routes";
|
2
3
|
declare const Routes: {
|
3
4
|
TaskList: {
|
4
5
|
route: string;
|
@@ -9,10 +10,7 @@ declare const Routes: {
|
|
9
10
|
}) => JSX.Element;
|
10
11
|
};
|
11
12
|
Task: {
|
12
|
-
|
13
|
-
tabPattern: RegExp;
|
14
|
-
getUrl: (id: string) => string;
|
15
|
-
component: () => JSX.Element;
|
13
|
+
getUrl: typeof DocumentRoute;
|
16
14
|
};
|
17
15
|
addRoutes: () => void;
|
18
16
|
};
|
@@ -1,12 +1,11 @@
|
|
1
1
|
import { Route, Switch } from "react-router";
|
2
2
|
import { BaseRoutes } from "@voplus/morpho-data";
|
3
|
+
import { DocumentRoute } from "@voplus/morpho-document/es/routes";
|
3
4
|
import React from "react";
|
4
5
|
import TaskList from "./pages/TaskList";
|
5
|
-
import TaskTabView from "./pages/TaskTabView";
|
6
6
|
const TaskRoutes = () => {
|
7
7
|
return (React.createElement(Switch, null,
|
8
|
-
React.createElement(Route, { path: Routes.TaskList.route, exact: true, component: Routes.TaskList.component })
|
9
|
-
React.createElement(Route, { path: Routes.Task.route, exact: true, component: Routes.Task.component })));
|
8
|
+
React.createElement(Route, { path: Routes.TaskList.route, exact: true, component: Routes.TaskList.component })));
|
10
9
|
};
|
11
10
|
const Routes = {
|
12
11
|
TaskList: {
|
@@ -16,17 +15,9 @@ const Routes = {
|
|
16
15
|
component: TaskList,
|
17
16
|
},
|
18
17
|
Task: {
|
19
|
-
|
20
|
-
tabPattern: RegExp("/tasks/[^/]+"),
|
21
|
-
getUrl: (id) => `/tasks/${id}`,
|
22
|
-
component: TaskTabView,
|
18
|
+
getUrl: DocumentRoute,
|
23
19
|
},
|
24
20
|
addRoutes: () => {
|
25
|
-
BaseRoutes.routes.push({
|
26
|
-
name: "task",
|
27
|
-
tabBasePattern: Routes.Task.tabPattern,
|
28
|
-
component: React.createElement(TaskRoutes, null),
|
29
|
-
});
|
30
21
|
BaseRoutes.routes.push({
|
31
22
|
name: "task-list",
|
32
23
|
tabBasePattern: Routes.TaskList.tabPattern,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TasksRoutes.js","sourceRoot":"","sources":["../../../src/modules/tasks/TasksRoutes.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,
|
1
|
+
{"version":3,"file":"TasksRoutes.js","sourceRoot":"","sources":["../../../src/modules/tasks/TasksRoutes.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AAExC,MAAM,UAAU,GAAG,GAAG,EAAE;IACvB,OAAO,CACN,oBAAC,MAAM;QACN,oBAAC,KAAK,IAAC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,SAAS,GAAI,CACjF,CACT,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG;IACd,QAAQ,EAAE;QACT,KAAK,EAAE,QAAQ;QACf,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC;QAC5B,MAAM,EAAE,GAAG,EAAE,CAAC,QAAQ;QACtB,SAAS,EAAE,QAAQ;KACnB;IACD,IAAI,EAAE;QACL,MAAM,EAAE,aAAa;KACrB;IAED,SAAS,EAAE,GAAG,EAAE;QACf,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;YACtB,IAAI,EAAE,WAAW;YACjB,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,UAAU;YAC1C,SAAS,EAAE,oBAAC,UAAU,OAAG;SACzB,CAAC,CAAC;IACJ,CAAC;CACD,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
@@ -11,6 +11,7 @@ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
11
11
|
import FlagIcon from "@voplus/morpho-document/es/controls/data-icons/FlagIcon";
|
12
12
|
import TaskAnalyticsDataIcon from "../../reports/TaskAnalyticsDataIcon";
|
13
13
|
import TaskStatusLabel from "../../controls/TaskStatusLabel";
|
14
|
+
import { autorun } from "mobx";
|
14
15
|
import moment from "moment";
|
15
16
|
import { observe } from "@voplus/morpho-ui";
|
16
17
|
import { useApplicationContext } from "@voplus/morpho-data";
|
@@ -20,12 +21,10 @@ const DefaultTaskItem = (props) => {
|
|
20
21
|
const taskStore = useTaskStore();
|
21
22
|
const task = useTask(id, { reload: false, includes: "tags,versions" });
|
22
23
|
const [taskStatus, setTaskStatus] = useState(task.taskStatus);
|
23
|
-
useEffect(() =>
|
24
|
-
setTaskStatus(task.taskStatus);
|
25
|
-
}, [task.taskStatus]);
|
24
|
+
useEffect(() => autorun(() => setTaskStatus(task.taskStatus)), [task.taskStatus]);
|
26
25
|
return observe(() => {
|
27
26
|
var _a;
|
28
|
-
return (React.createElement(DocumentHeader,
|
27
|
+
return (React.createElement(DocumentHeader, { id: task.id, quickDataBarAlign: "left", flagVisible: false, tagsVisible: !!((_a = task.tags) === null || _a === void 0 ? void 0 : _a.length), className: "default-task-item", pre: React.createElement(FlagIcon, { id: task.id, flag: task.flag, editable: !task.readonly }), quickDataBar: React.createElement(React.Fragment, null,
|
29
28
|
connectDragSource &&
|
30
29
|
connectDragSource(React.createElement("span", { className: "task-move" }, React.createElement(FAIcon, { icon: faBars }))),
|
31
30
|
task.dueDate && (React.createElement(Tooltip, { title: "DueDate" },
|
@@ -47,7 +46,7 @@ const DefaultTaskItem = (props) => {
|
|
47
46
|
setTaskStatus(task.taskStatus);
|
48
47
|
},
|
49
48
|
});
|
50
|
-
} })
|
49
|
+
} }), ...props.headerProps }));
|
51
50
|
});
|
52
51
|
};
|
53
52
|
export default DefaultTaskItem;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DefaultTaskItem.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskItem/DefaultTaskItem.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAC;AAEhC,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,QA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,IAAI,CAAC,QAAQ,EACxB,QAAQ,EAAE,CAAC,UAAU,EAAE,EAAE;oBACxB,aAAa,CAAC,UAAU,CAAC,CAAC;oBAC1B,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;wBACvB,IAAI,EAAE,EAAE,UAAU,EAAE;wBACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE;4BACvB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;4BAC7B,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;wBAChC,CAAC;qBACD,CAAC,CAAC;gBACJ,CAAC,GACA,KAEC,KAAK,CAAC,WAAW,GACpB,CACF,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
@@ -19,8 +19,10 @@ import classnames from "classnames";
|
|
19
19
|
import { observe } from "@voplus/morpho-ui";
|
20
20
|
import { runInAction } from "mobx";
|
21
21
|
import { useApplicationContext } from "@voplus/morpho-data";
|
22
|
+
import { useMetaStore } from "@voplus/morpho-document";
|
22
23
|
const SubTaskItem = (props) => {
|
23
24
|
const { id, multiple, reload, connectDragSource, memberAlign } = props;
|
25
|
+
const meta = useMetaStore();
|
24
26
|
const { user } = useApplicationContext();
|
25
27
|
const taskStore = useTaskStore();
|
26
28
|
const [state] = useState(new State(id, taskStore));
|
@@ -29,7 +31,6 @@ const SubTaskItem = (props) => {
|
|
29
31
|
includes: "tags,versions",
|
30
32
|
});
|
31
33
|
state.update(task);
|
32
|
-
// const [taskStatus, setTaskStatus] = useState(state.task.taskStatus);
|
33
34
|
useLayoutEffect(() => {
|
34
35
|
runInAction(() => (state.members = state.taskMembers));
|
35
36
|
}, []);
|
@@ -54,7 +55,7 @@ const SubTaskItem = (props) => {
|
|
54
55
|
show: state.isHover,
|
55
56
|
}) },
|
56
57
|
React.createElement(ToolBar, { id: id, moreProps: { buttonProps: { size: "middle" } } },
|
57
|
-
React.createElement(Open, { size: "middle", url:
|
58
|
+
React.createElement(Open, { size: "middle", url: meta.getRoute(state.task) }),
|
58
59
|
React.createElement(Edit, { size: "middle", disabled: state.task.readonly, action: () => state.startEdit() }),
|
59
60
|
React.createElement(Archive, { size: "middle" })))) })));
|
60
61
|
};
|
@@ -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,SAAS,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,QAAQ,MAAM,yDAAyD,CAAC;AAC/E,OAAO,qBAAqB,MAAM,qCAAqC,CAAC;AACxE,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAA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