@voplus/morpho-workspace 1.2.0-dev.12 → 1.2.0-dev01
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 +0 -7
- package/es/controls/MoreOperateDropdown/index.d.ts +1 -1
- package/es/controls/filters/DueDateFilter/state.js.map +1 -1
- package/es/controls/filters/StartDateFilter/state.js.map +1 -1
- package/es/data/board/mock.js +0 -21
- package/es/data/board/mock.js.map +1 -1
- package/es/data/task/interfaces.d.ts +1 -2
- package/es/modules/board/components/Board/index.js.map +1 -1
- package/es/modules/board/components/BoardColumn/index.js +8 -6
- package/es/modules/board/components/BoardColumn/index.js.map +1 -1
- package/es/modules/board/components/BoardColumn/index.less +0 -2
- package/es/modules/board/components/BoardColumn/state.d.ts +3 -1
- package/es/modules/board/components/BoardColumn/state.js +18 -8
- package/es/modules/board/components/BoardColumn/state.js.map +1 -1
- package/es/modules/board/components/SubDocumentList/index.js.map +1 -1
- package/es/modules/board/pages/BoardViewList/index.js.map +1 -1
- package/es/modules/calendar/pages/CalendarMonth/index.js.map +1 -1
- package/es/modules/meeting/MeetingRoutes.js +1 -1
- package/es/modules/meeting/MeetingRoutes.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.d.ts +2 -2
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js +25 -17
- 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 +3 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js +15 -10
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +18 -39
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.less +1 -9
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.d.ts +2 -8
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.js +5 -45
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js +4 -6
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/index.js +1 -2
- package/es/modules/meeting/components/AgendaList/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingHeader/index.js +1 -1
- package/es/modules/meeting/components/MeetingItem/index.js +1 -1
- package/es/modules/meeting/components/MeetingItem/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingList/index.d.ts +2 -2
- package/es/modules/meeting/components/MeetingList/index.js +3 -9
- package/es/modules/meeting/components/MeetingList/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingTaskList/index.js +1 -1
- package/es/modules/meeting/components/MeetingTaskList/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js +7 -3
- package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js +1 -3
- package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js.map +1 -1
- package/es/modules/meeting/components/NewMeetingForm/index.js +6 -8
- package/es/modules/meeting/components/NewMeetingForm/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingListView/index.js +6 -6
- package/es/modules/meeting/pages/MeetingListView/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingTabView/index.js +4 -4
- package/es/modules/meeting/pages/MeetingTabView/index.js.map +1 -1
- package/es/modules/menus/pages/ListOptions/Teams/index.js +4 -2
- package/es/modules/menus/pages/ListOptions/Teams/index.js.map +1 -1
- package/es/modules/tasks/components/NewTaskForm/index.js +5 -10
- package/es/modules/tasks/components/NewTaskForm/index.js.map +1 -1
- package/es/modules/tasks/components/SubTaskList/index.js +2 -6
- package/es/modules/tasks/components/SubTaskList/index.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js +8 -7
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/SubTaskItem.js +7 -7
- 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 +2 -8
- package/es/modules/tasks/components/TaskItem/state.js.map +1 -1
- package/es/modules/tasks/components/TaskPropertiesView/index.js +6 -5
- package/es/modules/tasks/components/TaskPropertiesView/index.js.map +1 -1
- package/es/modules/tasks/components/TaskQuickViewDialog/index.js +2 -2
- package/es/modules/tasks/components/TaskQuickViewDialog/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskList/index.js +1 -2
- package/es/modules/tasks/pages/TaskList/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskTabView/index.js +9 -8
- package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskTabView/index.less +1 -1
- package/es/modules/workspaces/pages/BoardView/index.js +3 -2
- package/es/modules/workspaces/pages/BoardView/index.js.map +1 -1
- package/es/pages/Space/components/Tasks/index.less +1 -1
- package/es/pages/Space/pages/MySpace/state.js.map +1 -1
- package/es/pages/Work/components/WorkSummaryCards/WorkDueCard/index.js.map +1 -1
- package/es/pages/WorkType/WorkTypeDetail/index.js.map +1 -1
- package/es/pages/WorkType/WorkTypeSelect/index.js.map +1 -1
- package/package.json +22 -24
- package/es/controls/InlineSearch/index.d.ts +0 -6
- package/es/controls/InlineSearch/index.js +0 -42
- package/es/controls/InlineSearch/index.js.map +0 -1
- package/es/controls/InlineSearch/index.less +0 -10
- package/es/modules/meeting/components/MeetingList/QuickSearch/index.d.ts +0 -20
- package/es/modules/meeting/components/MeetingList/QuickSearch/index.js +0 -52
- package/es/modules/meeting/components/MeetingList/QuickSearch/index.js.map +0 -1
- package/es/modules/meeting/components/MeetingList/QuickSearch/index.less +0 -12
- package/es/modules/tasks/controls/TaskStatusLabel/index.d.ts +0 -10
- package/es/modules/tasks/controls/TaskStatusLabel/index.js +0 -9
- package/es/modules/tasks/controls/TaskStatusLabel/index.js.map +0 -1
- package/es/modules/tasks/controls/TaskStatusLabel/index.less +0 -33
package/changelog.md
CHANGED
@@ -1,10 +1,3 @@
|
|
1
|
-
#15 Feb 2021
|
2
|
-
[Improve] Meeting Task List allow quick view.
|
3
|
-
[Fix] agenda cannot open issue, cannot add task issue
|
4
|
-
|
5
|
-
#15 Feb 2021
|
6
|
-
Upgrade to Mobx 6
|
7
|
-
Fix:Task List on hover Tool 显示/隐藏不正常
|
8
1
|
[Fix]: Task Quick View不能改成员、Task Quick View不能改成员
|
9
2
|
【Upgrade】React升級至17
|
10
3
|
【Fix】project 打开 Tasks 和 Calendar 报错
|
@@ -10,7 +10,7 @@ declare const MoreOperateDropdown: {
|
|
10
10
|
access?: boolean | undefined;
|
11
11
|
url?: string | undefined;
|
12
12
|
shape?: boolean | undefined;
|
13
|
-
size?: "
|
13
|
+
size?: import("@voplus/antd/es/button").ButtonSize;
|
14
14
|
onEdit?: ((params?: any) => void) | undefined;
|
15
15
|
onDelete?: ((params?: any) => void) | undefined;
|
16
16
|
onMove?: (() => void) | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/DueDateFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClD,OAAO,MAAkB,MAAM,QAAQ,CAAC;AAMxC,MAAM,OAAO,KAAK;IAGjB;QAFY;;;;;WAAmC;QAG9C,cAAc,CAAC,IAAI,CAAC,CAAC;QACrB,IAAI,CAAC,KAAK,EAAE,CAAC;IACd,CAAC;IAED,6FAA6F;IAC7F,IAAW,OAAO;;QACjB,IAAI,
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/DueDateFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClD,OAAO,MAAkB,MAAM,QAAQ,CAAC;AAMxC,MAAM,OAAO,KAAK;IAGjB;QAFY;;;;;WAAmC;QAG9C,cAAc,CAAC,IAAI,CAAC,CAAC;QACrB,IAAI,CAAC,KAAK,EAAE,CAAC;IACd,CAAC;IAED,6FAA6F;IAC7F,IAAW,OAAO;;QACjB,IAAI,OAAA,IAAI,CAAC,OAAO,0CAAG,CAAC,OAAM,IAAI,IAAI,OAAA,IAAI,CAAC,OAAO,0CAAG,CAAC,OAAM,IAAI;YAAE,OAAO,EAAE,CAAC;QACxE,MAAM,KAAK,eAAG,IAAI,CAAC,OAAO,0CAAG,CAAC,oCAAK,MAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC;QAC5E,MAAM,GAAG,eAAG,IAAI,CAAC,OAAO,0CAAG,CAAC,oCAAK,MAAM,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACxD,OAAO;YACN;gBACC,CAAC,EAAE,SAAS;gBACZ,CAAC,EAAE,SAAS;gBACZ,CAAC,EAAE,KAAK;gBACR,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC;gBACvD,EAAE,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC;aACnC;SACjB,CAAC;IACH,CAAC;IAEM,KAAK;QACX,IAAI,CAAC,OAAO,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC7B,CAAC;CACD;AA1BY;IAAX,UAAU;sCAAoC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/StartDateFilter/state.ts"],"names":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B,CAAC;gBACvD,EAAE,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC;aACnC;SACjB,CAAC;IACH,CAAC;IAEM,KAAK;QACX,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC/B,CAAC;CACD;AA1BY;IAAX,UAAU;wCAAsC"}
|
package/es/data/board/mock.js
CHANGED
@@ -7,27 +7,6 @@ const boardList = Mock.mock({
|
|
7
7
|
type: "board",
|
8
8
|
"status|+1": ["Open", "Pending", "InPRogress", "Reiew", "Ready"],
|
9
9
|
"tasks|0-10": 1,
|
10
|
-
// "boardColumn|1-2": [
|
11
|
-
// {
|
12
|
-
// // 随机生成1到2个数组元素
|
13
|
-
// "name|1": ["Fix routing problems", "Implement pretty URLs", "Document build plans"], // 名称
|
14
|
-
// "id|+1": 1, // 属性值自动加 1,初始值0
|
15
|
-
// "tasks|0-10": 1,
|
16
|
-
// "comments|0-10": 1,
|
17
|
-
// "documents|0-10": 1,
|
18
|
-
// "status|1": ["Draft", "Normal", "Readonly", "Archived", "Deleted"],
|
19
|
-
// "flag|1": ["None", "Star", "Urgent"],
|
20
|
-
// "label|0-1": ["very critical", "project"],
|
21
|
-
// startDate: '@date("yyyy-MM-dd")', // 日期
|
22
|
-
// dueDate: '@date("yyyy-MM-dd")',
|
23
|
-
// "members|0-10": [
|
24
|
-
// {
|
25
|
-
// "id|+1": 10,
|
26
|
-
// name: "@last"
|
27
|
-
// }
|
28
|
-
// ]
|
29
|
-
// }
|
30
|
-
// ]
|
31
10
|
},
|
32
11
|
],
|
33
12
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mock.js","sourceRoot":"","sources":["../../../src/data/board/mock.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC;IAC3B,QAAQ,EAAE;QACT;YACC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AAE;oBACX,IAAI,EAAE,OAAO;iBACb;aACD;SACD;KACD;CACD,CAAC,CAAC;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC"}
|
@@ -7,7 +7,6 @@ export interface IContactAvatar {
|
|
7
7
|
/** avatar image url */
|
8
8
|
avatarUrl: string;
|
9
9
|
}
|
10
|
-
export declare type TaskStatus = "NotStarted" | "Progress" | "Done" | "Pending" | "Closed";
|
11
10
|
export interface ITask extends IDocument {
|
12
11
|
/** Number of estimated hours to complete the task. */
|
13
12
|
estimatedHours?: number;
|
@@ -17,7 +16,7 @@ export interface ITask extends IDocument {
|
|
17
16
|
dueDate?: Date;
|
18
17
|
/** Id of the parent. */
|
19
18
|
parentId: string;
|
20
|
-
taskStatus:
|
19
|
+
taskStatus: "NotAssigned" | "NotStarted" | "InProgress" | "Done";
|
21
20
|
/** Number of Subtasks of the task */
|
22
21
|
tasks?: number;
|
23
22
|
/** Number of comments */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/Board/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,GACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACN,gBAAgB,EAChB,oBAAoB,EACpB,UAAU,GACV,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,WAAW,MAAM,gBAAgB,CAAC;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AC,CAAC,KAAK,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAAC,YAAa,CAChF,CACD,CACD,CACoB,CACC,CAC7B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
@@ -3,14 +3,16 @@ import { Checkbox, Input, Spin, Tooltip } from "@voplus/antd";
|
|
3
3
|
import React, { useState } from "react";
|
4
4
|
import { useBoardColumn, useBoardColumnStore } from "../../../../data/board";
|
5
5
|
import AddDocDropdown from "@voplus/morpho-document/es/components/AddDocDropdown";
|
6
|
+
import DocumentMenu from "@voplus/morpho-document/es/components/DocumentMenu";
|
6
7
|
import DocumentSelectDialog from "@voplus/morpho-document/es/components/DocumentSelectDialog";
|
7
8
|
import { Draggable } from "react-beautiful-dnd";
|
8
|
-
import MoreDropdownButton from "@voplus/morpho-document/es/controls/ToolBar/buttons/More";
|
9
9
|
import NewDocumentForm from "@voplus/morpho-document/es/components/NewDocumentForm";
|
10
10
|
import { Observer } from "mobx-react-lite";
|
11
|
+
import PermissionModal from "@voplus/morpho-org/es/controls/PermissionModal";
|
11
12
|
import { Scrollbars } from "react-custom-scrollbars";
|
12
13
|
import SubDocument from "../SubDocument";
|
13
14
|
import classnames from "classnames";
|
15
|
+
import { faEllipsisH } from "@fortawesome/pro-light-svg-icons";
|
14
16
|
import { observe } from "@voplus/morpho-ui";
|
15
17
|
import { runInAction } from "mobx";
|
16
18
|
import styles from "./index.less";
|
@@ -21,8 +23,7 @@ const BoardColumn = (props) => {
|
|
21
23
|
const boardStore = useBoardColumnStore();
|
22
24
|
const [state] = useState(new State(boardStore, documentStore));
|
23
25
|
state.props = props;
|
24
|
-
|
25
|
-
state.update(boardcolumn);
|
26
|
+
state.boardcolumn = useBoardColumn(props.id, { reload: state.reload });
|
26
27
|
return observe(() => (React.createElement(Draggable, { draggableId: state.boardcolumn.id, index: index }, (provided, snapshot) => (React.createElement(Observer, null, () => {
|
27
28
|
var _a;
|
28
29
|
return (React.createElement("div", Object.assign({ className: classnames(styles["board-column"], snapshot.isDragging && "action"),
|
@@ -34,16 +35,17 @@ const BoardColumn = (props) => {
|
|
34
35
|
React.createElement("div", { className: "board-name" },
|
35
36
|
state.checked && (React.createElement(Checkbox, { onChange: state.onCheckAllChange, checked: state.checkAll })),
|
36
37
|
state.editable ? (React.createElement(Spin, { spinning: state.loading },
|
37
|
-
React.createElement(Input.TextArea, { autoSize: true, autoFocus: true, value: state.name, onBlur: () => state.save(), onChange: (e) => runInAction(() => (state.name = e.target.value)) }))) : (React.createElement("div", { className: "task-card-title"
|
38
|
+
React.createElement(Input.TextArea, { autoSize: true, autoFocus: true, value: state.name, onBlur: () => state.save(), onChange: (e) => runInAction(() => (state.name = e.target.value)) }))) : (React.createElement("div", { className: "task-card-title" }, ((_a = state.boardcolumn.name) === null || _a === void 0 ? void 0 : _a.length) > 15 ? (React.createElement(Tooltip, { title: state.boardcolumn.name, placement: "topLeft" },
|
38
39
|
React.createElement("span", null, state.boardcolumn.name))) : (state.boardcolumn.name))),
|
39
40
|
!state.editable && React.createElement("span", { className: "board-length" }, state.documents)),
|
40
41
|
React.createElement("div", { className: "board-control" },
|
41
|
-
React.createElement(
|
42
|
+
React.createElement(DocumentMenu, { id: state.boardcolumn.id, access: true, icon: faEllipsisH, lock: !state.readonly, unlock: state.readonly, onEdit: state.onEdit, onAccess: () => state.onAccess() }),
|
42
43
|
React.createElement(AddDocDropdown, { className: "board-drodown", iconColor: props.colorStyle, onItemClick: (val) => state.onItemClick(val), onCancelClick: () => state.cancel() }))),
|
43
44
|
React.createElement(Scrollbars, { autoHide: true },
|
44
45
|
React.createElement(SubDocument, { id: props.id, listType: "QUOTE", onDocumentData: state.onDocumentData, destination: destination, source: source })),
|
45
46
|
state.shortcut && (React.createElement(DocumentSelectDialog, { onSelect: (doc) => state.onCreateShortcut(doc) })),
|
46
|
-
state.addAble && (React.createElement(NewDocumentForm, { className: "new-sub-doc", parentId: props.id, type: state.type, onCancel: () => runInAction(() => (state.addAble = false)) }))
|
47
|
+
state.addAble && (React.createElement(NewDocumentForm, { className: "new-sub-doc", parentId: props.id, type: state.type, onCancel: () => runInAction(() => (state.addAble = false)) })),
|
48
|
+
state.permissionVisible && (React.createElement(PermissionModal, { id: props.id, onChange: () => state.onAccess() }))));
|
47
49
|
})))));
|
48
50
|
};
|
49
51
|
export default BoardColumn;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/BoardColumn/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,oBAAoB,MAAM,4DAA4D,CAAC;AAC9F,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/BoardColumn/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,oBAAoB,MAAM,4DAA4D,CAAC;AAC9F,OAAO,EAAE,SAAS,EA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,EAAC,aAAa,EACvB,QAAQ,EAAE,KAAK,CAAC,EAAE,EAClB,IAAI,EAAE,KAAK,CAAC,IAAI,EAChB,QAAQ,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,GACzD,CACF;YACA,KAAK,CAAC,iBAAiB,IAAI,CAC3B,oBAAC,eAAe,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,EAAE,GAAI,CACnE,CACI,CACN,CAAA;KAAA,CACS,CACX,CACU,CACZ,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
@@ -41,7 +41,6 @@
|
|
41
41
|
overflow: hidden;
|
42
42
|
text-overflow: ellipsis;
|
43
43
|
white-space: nowrap;
|
44
|
-
cursor: text;
|
45
44
|
}
|
46
45
|
.ant-spin-container {
|
47
46
|
display: flex;
|
@@ -69,7 +68,6 @@
|
|
69
68
|
.board-control {
|
70
69
|
display: flex;
|
71
70
|
align-items: center;
|
72
|
-
margin-left: 5px;
|
73
71
|
.svg-inline--fa {
|
74
72
|
cursor: pointer;
|
75
73
|
}
|
@@ -35,11 +35,11 @@ export declare class State {
|
|
35
35
|
checkAll: boolean;
|
36
36
|
multiple: boolean;
|
37
37
|
/** BoardColumn access */
|
38
|
+
permissionVisible: boolean;
|
38
39
|
shortcut: boolean;
|
39
40
|
addAble: boolean;
|
40
41
|
type: docType;
|
41
42
|
constructor(boardColumnStore: BoardColumnStore, docStore: DocumentStore);
|
42
|
-
update(boardcolumn: IBoardColumn): void;
|
43
43
|
/** DocumentMenu click edit */
|
44
44
|
onEdit: () => void;
|
45
45
|
/**@documents BoardColumn documents number
|
@@ -57,6 +57,8 @@ export declare class State {
|
|
57
57
|
onItemClick(val: docType): void;
|
58
58
|
/** documentList add Drop down more menus hidden*/
|
59
59
|
cancel(): void;
|
60
|
+
/** access */
|
61
|
+
onAccess(): void;
|
60
62
|
onCreateShortcut(doc: {
|
61
63
|
id: string;
|
62
64
|
name: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { __decorate } from "tslib";
|
2
|
-
import { action, computed, makeObservable, observable,
|
2
|
+
import { action, computed, makeObservable, observable, toJS } from "mobx";
|
3
3
|
import { message } from "@voplus/antd";
|
4
4
|
export class State {
|
5
5
|
constructor(boardColumnStore, docStore) {
|
@@ -92,6 +92,12 @@ export class State {
|
|
92
92
|
value: false
|
93
93
|
});
|
94
94
|
/** BoardColumn access */
|
95
|
+
Object.defineProperty(this, "permissionVisible", {
|
96
|
+
enumerable: true,
|
97
|
+
configurable: true,
|
98
|
+
writable: true,
|
99
|
+
value: false
|
100
|
+
});
|
95
101
|
Object.defineProperty(this, "shortcut", {
|
96
102
|
enumerable: true,
|
97
103
|
configurable: true,
|
@@ -155,9 +161,6 @@ export class State {
|
|
155
161
|
});
|
156
162
|
makeObservable(this);
|
157
163
|
}
|
158
|
-
update(boardcolumn) {
|
159
|
-
this.boardcolumn = boardcolumn;
|
160
|
-
}
|
161
164
|
/** edit save BoardColumn name function*/
|
162
165
|
async save() {
|
163
166
|
if (!this.name) {
|
@@ -168,7 +171,7 @@ export class State {
|
|
168
171
|
return (this.editable = false);
|
169
172
|
}
|
170
173
|
await this.docStore.edit(this.props.id, { data: { Name: this.name }, error: "message" });
|
171
|
-
|
174
|
+
this.editable = !this.editable;
|
172
175
|
}
|
173
176
|
/** BoardColumn文件是否 readonly */
|
174
177
|
get readonly() {
|
@@ -189,6 +192,10 @@ export class State {
|
|
189
192
|
this.shortcut = false;
|
190
193
|
this.addAble = false;
|
191
194
|
}
|
195
|
+
/** access */
|
196
|
+
onAccess() {
|
197
|
+
this.permissionVisible = !this.permissionVisible;
|
198
|
+
}
|
192
199
|
onCreateShortcut(doc) {
|
193
200
|
const shortcuts = [];
|
194
201
|
doc.map((item) => {
|
@@ -231,6 +238,9 @@ __decorate([
|
|
231
238
|
__decorate([
|
232
239
|
observable
|
233
240
|
], State.prototype, "multiple", void 0);
|
241
|
+
__decorate([
|
242
|
+
observable
|
243
|
+
], State.prototype, "permissionVisible", void 0);
|
234
244
|
__decorate([
|
235
245
|
observable
|
236
246
|
], State.prototype, "shortcut", void 0);
|
@@ -240,9 +250,6 @@ __decorate([
|
|
240
250
|
__decorate([
|
241
251
|
observable
|
242
252
|
], State.prototype, "type", void 0);
|
243
|
-
__decorate([
|
244
|
-
action
|
245
|
-
], State.prototype, "update", null);
|
246
253
|
__decorate([
|
247
254
|
action
|
248
255
|
], State.prototype, "onEdit", void 0);
|
@@ -267,6 +274,9 @@ __decorate([
|
|
267
274
|
__decorate([
|
268
275
|
action
|
269
276
|
], State.prototype, "cancel", null);
|
277
|
+
__decorate([
|
278
|
+
action
|
279
|
+
], State.prototype, "onAccess", null);
|
270
280
|
__decorate([
|
271
281
|
action
|
272
282
|
], State.prototype, "onCreateShortcut", null);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/BoardColumn/state.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/BoardColumn/state.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAG1E,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAiBvC,MAAM,OAAO,KAAK;IAuBjB,YAA2B,gBAAkC,EAAU,QAAuB;;;;;mBAAnE;;;;;;mBAA4C;;QAtBvE;;;;;WAA+B;QACnB;;;;;WAAiC;QACjC;;;;mBAAc,EAAE;WAAC;QAC7B,kCAAkC;QACtB;;;;mBAAmB,CAAC;WAAC;QACjC,uCAA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AC;IACjE,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,YAAY,GAAG,oBAAC,mBAAmB,IAAC,EAAE,EAAE,EAAE,GAAI,CAAC;IAErD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC;QAClC,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAY;YAClC,6BAAK,SAAS,EAAE,gBAAgB;gBAC/B,oBAAC,cAAc,IACd,EAAE,EAAE,EAAE,EACN,IAAI,EAAC,IAAI,EACT,YAAY,EAAE,KAAK,EACnB,iBAAiB,EAAC,MAAM,EACxB,eAAe,EAAC,MAAM,EACtB,YAAY,QACZ,KAAK,EACJ,6BAAK,SAAS,EAAC,WAAW;wBACzB,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE;4BACd,oBAAC,OAAO,IACP,MAAM,EAAE,GAAG,EAAE,CACZ,WAAW,CAAC,GAAG,EAAE,CAChB,YAAY,CAAC,YAAY;oCACxB,CAAC,CAAC,YAAY,CAAC,UAAU,EAAE;oCAC3B,CAAC,CAAC,YAAY,CAAC,SAAS,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CACrD,GAED;4BACF,oBAAC,OAAO,OAAG,CACF,CACL,EAEP,kBAAkB,EAAE,KAAK,GACxB;gBACF,oBAAC,KAAK,IAAC,QAAQ,EAAE,EAAE,GAAI,CAClB,CACQ,CACV,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/calendar/pages/CalendarMonth/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EA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13,7 +13,7 @@ const MeetingRoutes = () => {
|
|
13
13
|
const Routes = {
|
14
14
|
MeetingList: {
|
15
15
|
route: "/meetings/:id?",
|
16
|
-
tabPattern: RegExp("/meetings
|
16
|
+
tabPattern: RegExp("/meetings"),
|
17
17
|
getUrl: (id) => `/meetings${id ? "/" + id : ""}`,
|
18
18
|
component: MeetingListView,
|
19
19
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MeetingRoutes.js","sourceRoot":"","sources":["../../../src/modules/meeting/MeetingRoutes.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,eAAe,MAAM,yBAAyB,CAAC;AACtD,OAAO,gBAAgB,MAAM,0BAA0B,CAAC;AACxD,OAAO,cAAc,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,aAAa,GAAG,GAAG,EAAE;IAC1B,OAAO,CACN,oBAAC,MAAM;QACN,oBAAC,KAAK,IACL,IAAI,EAAE,MAAM,CAAC,WAAW,CAAC,KAAK,EAC9B,KAAK,EAAE,IAAI,EACX,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC,SAAS,GACtC;QACF,oBAAC,KAAK,IAAC,IAAI,EAAE,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,OAAO,CAAC,SAAS,GAAI;QACvF,oBAAC,KAAK,IACL,IAAI,EAAE,MAAM,CAAC,YAAY,CAAC,KAAK,EAC/B,KAAK,EAAE,IAAI,EACX,SAAS,EAAE,MAAM,CAAC,YAAY,CAAC,SAAS,GACvC,CACM,CACT,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG;IACd,WAAW,EAAE;QACZ,KAAK,EAAE,gBAAgB;QACvB,UAAU,EAA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AE,MAAM,CAAC,gBAAgB,CAAC;QACpC,MAAM,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,YAAY,EAAE,EAAE;QACxC,SAAS,EAAE,cAAc;KACzB;IACD,YAAY,EAAE;QACb,KAAK,EAAE,oBAAoB;QAC3B,UAAU,EAAE,MAAM,CAAC,gBAAgB,CAAC;QACpC,MAAM,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,kBAAkB,EAAE,EAAE;QAC9C,SAAS,EAAE,gBAAgB;KAC3B;IAED,SAAS,EAAE,GAAG,EAAE;QACf,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;YACtB,IAAI,EAAE,SAAS;YACf,cAAc,EAAE,MAAM,CAAC,OAAO,CAAC,UAAU;YACzC,SAAS,EAAE,oBAAC,aAAa,OAAG;SAC5B,CAAC,CAAC;QACH,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;YACtB,IAAI,EAAE,eAAe;YACrB,cAAc,EAAE,MAAM,CAAC,YAAY,CAAC,UAAU;YAC9C,SAAS,EAAE,oBAAC,aAAa,OAAG;SAC5B,CAAC,CAAC;QACH,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;YACtB,IAAI,EAAE,cAAc;YACpB,cAAc,EAAE,MAAM,CAAC,WAAW,CAAC,UAAU;YAC7C,SAAS,EAAE,oBAAC,aAAa,OAAG;SAC5B,CAAC,CAAC;IACJ,CAAC;CACD,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import "../../index.less";
|
3
3
|
import { AgendaItemProps } from "./state";
|
4
|
-
declare const
|
5
|
-
export default
|
4
|
+
declare const AgendaItem: (props: AgendaItemProps) => JSX.Element;
|
5
|
+
export default AgendaItem;
|
@@ -1,32 +1,40 @@
|
|
1
1
|
import "../../index.less";
|
2
2
|
import { State } from "./state";
|
3
|
-
import {
|
4
|
-
import { useTaskListEffect } from "../../../../../../../data/task";
|
5
|
-
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
3
|
+
import { Button, Skeleton } from "@voplus/antd";
|
6
4
|
import React, { useEffect, useState } from "react";
|
7
|
-
import { useAutoUpdateListData, useDocumentStore } from "@voplus/morpho-document-core";
|
8
5
|
import NewTaskForm from "../../../../../../tasks/components/NewTaskForm";
|
9
6
|
import SortDnD from "@voplus/morpho-ui/es/controls/SortDnD";
|
10
7
|
import SubTaskItem from "../../../../../../tasks/components/TaskItem/SubTaskItem";
|
11
8
|
import { observe } from "@voplus/morpho-ui";
|
12
|
-
|
9
|
+
import { runInAction } from "mobx";
|
10
|
+
import { useDocumentStore } from "@voplus/morpho-document-core";
|
11
|
+
import { useTaskListEffect } from "../../../../../../../data/task";
|
12
|
+
const AgendaItem = (props) => {
|
13
13
|
const { id, editable } = props;
|
14
14
|
const documents = useDocumentStore();
|
15
15
|
const [state] = useState(new State(documents));
|
16
16
|
state.props = props;
|
17
17
|
useEffect(state.subscribeOnTaskCreateCallback, []);
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
}
|
18
|
+
useTaskListEffect(null, (list) => {
|
19
|
+
runInAction(() => {
|
20
|
+
state.tasks = list || [];
|
21
|
+
state.loading = false;
|
22
|
+
});
|
23
|
+
}, {
|
24
|
+
Filters: [{ c: "ParentNodeId", o: "=", l: "And", v1: id }],
|
25
|
+
Page: { Page: 1, PageSize: 500 },
|
26
|
+
});
|
27
|
+
useEffect(() => {
|
28
|
+
runInAction(() => {
|
29
|
+
state.loading = true;
|
30
|
+
state.showMore = false;
|
31
|
+
});
|
23
32
|
}, [id]);
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
React.createElement(
|
29
|
-
editable && (React.createElement(NewTaskForm, { simple: true, parentId: id, block: true, onSave: state.onAddTask, onCancel: state.onAddTask })))));
|
33
|
+
// const [desc, setDesc] = useState(agenda.desc);
|
34
|
+
return observe(() => (React.createElement(Skeleton, { loading: state.loading },
|
35
|
+
state.showMore ? ("") : !!state.tasks.length ? (React.createElement(SortDnD, { list: state.tasks, moveAfter: (id, afterId, list) => state.moveAfter(id, afterId, list), text: (task, index, connectDragSource) => (React.createElement(SubTaskItem, { key: task.id, id: task.id })) })) : (React.createElement("div", { className: "agenda-task-nothing" }, "No Agenda Task")),
|
36
|
+
!editable ? ("") : state.addAble ? (React.createElement(NewTaskForm, { simple: true, parentId: id, block: true, onSave: state.onAddTask, onCancel: state.onAddTask, onShowMore: () => (state.showMore = !state.showMore) })) : (React.createElement("div", { className: "agenda-task-add-btn" },
|
37
|
+
React.createElement(Button, { block: true, onClick: state.onAddTask }, "+ Add Task"))))));
|
30
38
|
};
|
31
|
-
export default
|
39
|
+
export default AgendaItem;
|
32
40
|
//# 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,kBAAkB,CAAC;AAE1B,OAAO,EAAmB,KAAK,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EAAmB,KAAK,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,WAAW,MAAM,gDAAgD,CAAC;AACzE,OAAO,OAAO,MAAM,uCAAuC,CAAC;AAC5D,OAAO,WAAW,MAAM,yDAAyD,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,MAAM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
|
@@ -2,6 +2,7 @@ import { DocumentStore, IDocument } from "@voplus/morpho-document-core";
|
|
2
2
|
import { ITask } from "../../../../../../../data/task";
|
3
3
|
export declare type AgendaItemProps = {
|
4
4
|
id: string;
|
5
|
+
name: string;
|
5
6
|
editable?: boolean;
|
6
7
|
onCancel?: () => void;
|
7
8
|
};
|
@@ -12,9 +13,10 @@ export declare class State {
|
|
12
13
|
tasks: ITask[];
|
13
14
|
addAble: boolean;
|
14
15
|
loading: boolean;
|
16
|
+
showMore: boolean;
|
15
17
|
onTaskCreated: (s: DocumentStore, t: IDocument) => void;
|
16
18
|
onTaskDeleted: (s: DocumentStore, t: IDocument) => void;
|
17
19
|
subscribeOnTaskCreateCallback: () => () => void;
|
18
|
-
onAddTask
|
20
|
+
onAddTask(): void;
|
19
21
|
moveAfter: (id: string, afterId: string, list: any[]) => Promise<void>;
|
20
22
|
}
|
@@ -32,6 +32,12 @@ export class State {
|
|
32
32
|
writable: true,
|
33
33
|
value: true
|
34
34
|
});
|
35
|
+
Object.defineProperty(this, "showMore", {
|
36
|
+
enumerable: true,
|
37
|
+
configurable: true,
|
38
|
+
writable: true,
|
39
|
+
value: false
|
40
|
+
});
|
35
41
|
Object.defineProperty(this, "onTaskCreated", {
|
36
42
|
enumerable: true,
|
37
43
|
configurable: true,
|
@@ -64,25 +70,21 @@ export class State {
|
|
64
70
|
};
|
65
71
|
}
|
66
72
|
});
|
67
|
-
Object.defineProperty(this, "onAddTask", {
|
68
|
-
enumerable: true,
|
69
|
-
configurable: true,
|
70
|
-
writable: true,
|
71
|
-
value: () => {
|
72
|
-
this.addAble = !this.addAble;
|
73
|
-
}
|
74
|
-
});
|
75
73
|
Object.defineProperty(this, "moveAfter", {
|
76
74
|
enumerable: true,
|
77
75
|
configurable: true,
|
78
76
|
writable: true,
|
79
77
|
value: async (id, afterId, list) => {
|
80
78
|
await this._store.moveAfter(id, afterId);
|
81
|
-
|
79
|
+
this.tasks = list;
|
82
80
|
}
|
83
81
|
});
|
84
82
|
makeObservable(this);
|
85
83
|
}
|
84
|
+
onAddTask() {
|
85
|
+
this.addAble = !this.addAble;
|
86
|
+
this.showMore = false;
|
87
|
+
}
|
86
88
|
}
|
87
89
|
__decorate([
|
88
90
|
observable
|
@@ -93,6 +95,9 @@ __decorate([
|
|
93
95
|
__decorate([
|
94
96
|
observable
|
95
97
|
], State.prototype, "loading", void 0);
|
98
|
+
__decorate([
|
99
|
+
observable
|
100
|
+
], State.prototype, "showMore", void 0);
|
96
101
|
__decorate([
|
97
102
|
action
|
98
103
|
], State.prototype, "onTaskCreated", void 0);
|
@@ -104,7 +109,7 @@ __decorate([
|
|
104
109
|
], State.prototype, "subscribeOnTaskCreateCallback", void 0);
|
105
110
|
__decorate([
|
106
111
|
action
|
107
|
-
], State.prototype, "onAddTask",
|
112
|
+
], State.prototype, "onAddTask", null);
|
108
113
|
__decorate([
|
109
114
|
action
|
110
115
|
], State.prototype, "moveAfter", void 0);
|