@voplus/morpho-workspace 1.2.0-dev09 → 1.2.1
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/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/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/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/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/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 +2 -2
- 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/components/TaskPropertiesView/index.js +2 -3
- package/es/modules/tasks/components/TaskPropertiesView/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskTabView/index.js +2 -3
- 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 -31
- package/changelog.md +0 -83
@@ -8,7 +8,7 @@ const AssignButton = (props) => {
|
|
8
8
|
const buttonProps = Object.assign({}, props);
|
9
9
|
delete buttonProps["confirmTitle"];
|
10
10
|
delete buttonProps["execute"];
|
11
|
-
return (React.createElement(Button,
|
11
|
+
return (React.createElement(Button, { type: "link", onClick: onClick, ...buttonProps }, "Assign"));
|
12
12
|
function onClick() {
|
13
13
|
if (props.execute)
|
14
14
|
props.execute(batch);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controls/AssignButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAE5F,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAO5C,MAAM,YAAY,GAAG,CAAC,KAAwB,EAAE,EAAE;IACjD,MAAM,KAAK,GAAG,eAAe,EAAE,CAAC;IAChC,OAAO,OAAO,CAAC,GAAG,EAAE;QACnB,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;QAC7C,OAAO,WAAW,CAAC,cAAc,CAAC,CAAC;QACnC,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;QAE9B,OAAO,CACN,oBAAC,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controls/AssignButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAE5F,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAO5C,MAAM,YAAY,GAAG,CAAC,KAAwB,EAAE,EAAE;IACjD,MAAM,KAAK,GAAG,eAAe,EAAE,CAAC;IAChC,OAAO,OAAO,CAAC,GAAG,EAAE;QACnB,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;QAC7C,OAAO,WAAW,CAAC,cAAc,CAAC,CAAC;QACnC,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;QAE9B,OAAO,CACN,oBAAC,MAAM,IAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAE,OAAO,KAAM,WAAW,aAE5C,CACT,CAAC;QAEF,SAAS,OAAO;YACf,IAAI,KAAK,CAAC,OAAO;gBAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACzC,CAAC;IACF,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
@@ -6,7 +6,7 @@ import React from "react";
|
|
6
6
|
import { faPlus } from "@fortawesome/pro-light-svg-icons";
|
7
7
|
import { observe } from "@voplus/morpho-ui";
|
8
8
|
const StickyAddButton = (props) => {
|
9
|
-
return observe(() => (React.createElement(Corner,
|
9
|
+
return observe(() => (React.createElement(Corner, { ...props },
|
10
10
|
React.createElement("span", { className: "sticky-add-button" },
|
11
11
|
React.createElement(FAIcon, { icon: faPlus })))));
|
12
12
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controls/StickyAddButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AACtB,OAAO,cAAc,CAAC;AAEtB,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,eAAe,GAAG,CAAC,KAKxB,EAAE,EAAE;IACJ,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controls/StickyAddButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AACtB,OAAO,cAAc,CAAC;AAEtB,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,eAAe,GAAG,CAAC,KAKxB,EAAE,EAAE;IACJ,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,MAAM,OAAK,KAAK;QAChB,8BAAM,SAAS,EAAC,mBAAmB;YAClC,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,GAAI,CAClB,CACC,CACT,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,eAAe,CAAC"}
|
@@ -51,13 +51,13 @@ const Board = (props) => {
|
|
51
51
|
const board = observe(() => (React.createElement(Droppable, { droppableId: props.parentId, type: "COLUMN", direction: "horizontal" }, (provided) => (React.createElement(Panable, { scroll: true },
|
52
52
|
React.createElement(Observer, null, () => {
|
53
53
|
var _a;
|
54
|
-
return (React.createElement("div",
|
54
|
+
return (React.createElement("div", { style: {
|
55
55
|
flex: 1,
|
56
56
|
height: "100%",
|
57
57
|
display: "inline-flex",
|
58
58
|
},
|
59
59
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
60
|
-
ref: provided.innerRef
|
60
|
+
ref: provided.innerRef, ...provided.droppableProps }, (_a = state.boardcolumns) === null || _a === void 0 ? void 0 :
|
61
61
|
_a.map((item, index) => (React.createElement(BoardColumn, { key: item.id, index: index, id: item.id, reload: state.reload, colorStyle: state.colorList[index % 6], destination: state.destination, source: state.source, onIds: (v) => state.onIds(v) }))),
|
62
62
|
provided.placeholder));
|
63
63
|
}))))));
|
@@ -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,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C,CAAC,CAAC;IACJ,CAAC,EACD;QACC,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,cAAc,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;KACtE,CACD,CAAC;IACF,+BAA+B;IAC/B,MAAM,QAAQ,GAAG,CAAC,KAAa,EAAE,EAAE;QAClC,IAAI,KAAK,CAAC,OAAO,EAAE;YAClB,YAAY,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;SAC5B;QACD,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,UAAU,CAAC,GAAG,EAAE;gBAC/B,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC;gBACrB,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC;YACpB,CAAC,EAAE,IAAI,CAAC,CAAC;QACV,CAAC,CAAC,CAAC;IACJ,CAAC,CAAC;IAEF,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,CAC3B,oBAAC,SAAS,IAAC,WAAW,EAAE,KAAK,CAAC,QAAQ,EAAE,IAAI,EAAC,QAAQ,EAAC,SAAS,EAAC,YAAY,IAC1E,CAAC,QAAQ,EAAE,EAAE,CAAC,CACd,oBAAC,OAAO,IAAC,MAAM,EAAE,IAAI;QACpB,oBAAC,QAAQ,QACP,GAAG,EAAE;;YAAC,OAAA,CACN,
|
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,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19 +21,20 @@ const BoardColumn = (props) => {
|
|
21
21
|
const boardStore = useBoardColumnStore();
|
22
22
|
const [state] = useState(new State(boardStore, documentStore));
|
23
23
|
state.props = props;
|
24
|
-
|
24
|
+
const boardcolumn = useBoardColumn(props.id, { reload: state.reload });
|
25
|
+
state.update(boardcolumn);
|
25
26
|
return observe(() => (React.createElement(Draggable, { draggableId: state.boardcolumn.id, index: index }, (provided, snapshot) => (React.createElement(Observer, null, () => {
|
26
27
|
var _a;
|
27
|
-
return (React.createElement("div",
|
28
|
+
return (React.createElement("div", { className: classnames(styles["board-column"], snapshot.isDragging && "action"),
|
28
29
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
29
|
-
ref: provided.innerRef
|
30
|
-
React.createElement("div",
|
30
|
+
ref: provided.innerRef, ...provided.draggableProps },
|
31
|
+
React.createElement("div", { className: "content-top", style: { borderTop: ` solid 2px ${props.colorStyle}` }, ...provided.dragHandleProps,
|
31
32
|
// avoid mouse down propagate to panable
|
32
|
-
onMouseDown: (e) => e.stopPropagation() }
|
33
|
+
onMouseDown: (e) => e.stopPropagation() },
|
33
34
|
React.createElement("div", { className: "board-name" },
|
34
35
|
state.checked && (React.createElement(Checkbox, { onChange: state.onCheckAllChange, checked: state.checkAll })),
|
35
36
|
state.editable ? (React.createElement(Spin, { spinning: state.loading },
|
36
|
-
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" },
|
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", onClick: state.onEdit }, ((_a = state.boardcolumn.name) === null || _a === void 0 ? void 0 : _a.length) > 15 ? (React.createElement(Tooltip, { title: state.boardcolumn.name, placement: "topLeft" },
|
37
38
|
React.createElement("span", null, state.boardcolumn.name))) : (state.boardcolumn.name))),
|
38
39
|
!state.editable && React.createElement("span", { className: "board-length" }, state.documents)),
|
39
40
|
React.createElement("div", { className: "board-control" },
|
@@ -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,kBAAkB,MAAM,0DAA0D,CAAC;AAC1F,OAAO,eAAe,MAAM,uDAAuD,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEhE,MAAM,WAAW,GAAG,CAAC,KAAuB,EAAE,EAAE;IAC/C,MAAM,EAAE,KAAK,EAAE,WAAW,E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EAC3B,WAAW,EAAE,CAAC,GAAY,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,EACrD,aAAa,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,MAAM,EAAE,GAClC,CACG,CACD;YACN,oBAAC,UAAU,IAAC,QAAQ;gBACnB,oBAAC,WAAW,IACX,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,QAAQ,EAAC,OAAO,EAChB,cAAc,EAAE,KAAK,CAAC,cAAc,EACpC,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM,GACb,CACU;YACZ,KAAK,CAAC,QAAQ,IAAI,CAClB,oBAAC,oBAAoB,IACpB,QAAQ,EAAE,CAAC,GAAmC,EAAE,EAAE,CAAC,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAC7E,CACF;YACA,KAAK,CAAC,OAAO,IAAI,CACjB,oBAAC,eAAe,IACf,SAAS,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,CACI,CACN,CAAA;KAAA,CACS,CACX,CACU,CACZ,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
@@ -41,6 +41,7 @@
|
|
41
41
|
overflow: hidden;
|
42
42
|
text-overflow: ellipsis;
|
43
43
|
white-space: nowrap;
|
44
|
+
cursor: text;
|
44
45
|
}
|
45
46
|
.ant-spin-container {
|
46
47
|
display: flex;
|
@@ -68,6 +69,7 @@
|
|
68
69
|
.board-control {
|
69
70
|
display: flex;
|
70
71
|
align-items: center;
|
72
|
+
margin-left: 5px;
|
71
73
|
.svg-inline--fa {
|
72
74
|
cursor: pointer;
|
73
75
|
}
|
@@ -39,6 +39,7 @@ export declare class State {
|
|
39
39
|
addAble: boolean;
|
40
40
|
type: docType;
|
41
41
|
constructor(boardColumnStore: BoardColumnStore, docStore: DocumentStore);
|
42
|
+
update(boardcolumn: IBoardColumn): void;
|
42
43
|
/** DocumentMenu click edit */
|
43
44
|
onEdit: () => void;
|
44
45
|
/**@documents BoardColumn documents number
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { __decorate } from "tslib";
|
2
|
-
import { action, computed, makeObservable, observable, toJS } from "mobx";
|
2
|
+
import { action, computed, makeObservable, observable, runInAction, toJS } from "mobx";
|
3
3
|
import { message } from "@voplus/antd";
|
4
4
|
export class State {
|
5
5
|
constructor(boardColumnStore, docStore) {
|
@@ -155,6 +155,9 @@ export class State {
|
|
155
155
|
});
|
156
156
|
makeObservable(this);
|
157
157
|
}
|
158
|
+
update(boardcolumn) {
|
159
|
+
this.boardcolumn = boardcolumn;
|
160
|
+
}
|
158
161
|
/** edit save BoardColumn name function*/
|
159
162
|
async save() {
|
160
163
|
if (!this.name) {
|
@@ -165,7 +168,7 @@ export class State {
|
|
165
168
|
return (this.editable = false);
|
166
169
|
}
|
167
170
|
await this.docStore.edit(this.props.id, { data: { Name: this.name }, error: "message" });
|
168
|
-
this.editable = !this.editable;
|
171
|
+
runInAction(() => (this.editable = !this.editable));
|
169
172
|
}
|
170
173
|
/** BoardColumn文件是否 readonly */
|
171
174
|
get readonly() {
|
@@ -237,6 +240,9 @@ __decorate([
|
|
237
240
|
__decorate([
|
238
241
|
observable
|
239
242
|
], State.prototype, "type", void 0);
|
243
|
+
__decorate([
|
244
|
+
action
|
245
|
+
], State.prototype, "update", null);
|
240
246
|
__decorate([
|
241
247
|
action
|
242
248
|
], State.prototype, "onEdit", void 0);
|
@@ -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,IAAI,EAAE,MAAM,MAAM,CAAC;
|
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,WAAW,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAGvF,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAiBvC,MAAM,OAAO,KAAK;IAsBjB,YAA2B,gBAAkC,EAAU,QAAuB;;;;;mBAAnE;;;;;;mBAA4C;;QArBvE;;;;;WAA+B;QACnB;;;;;WAAiC;QACjC;;;;mBAAc,EAAE;WAAC;QAC7B,kCAAkC;QACtB;;;;mBAAmB,CAAC;WAAC;QACjC,uCAAuC;QAC3B;;;;mBAAa,EAAE;WAAC;QAChB;;;;mBAAgB,KAAK;WAAC;QAClC,4BAA4B;QAChB;;;;mBAAkB,KAAK;WAAC;QACpC,0BAA0B;QACd;;;;mBAAiB,KAAK;WAAC;QACvB;;;;mBAAiB,KAAK;WAAC;QACvB;;;;mBAA4B,EAAE;WAAC;QAC/B;;;;mBAAkB,KAAK;WAAC;QACxB;;;;mBAAkB,KAAK;WAAC;QACpC,yBAAyB;QACb;;;;mBAAkB,KAAK;WAAC;QACxB;;;;mBAAiB,KAAK;WAAC;QACvB;;;;;WAAqB;QAWjC,8BAA8B;QAE9B;;;;mBAAgB,GAAG,EAAE;gBACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;gBAClC,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;YAChC,CAAC;WAAC;QAEF;sDAC8C;QAE9C;;;;mBAAwB,CAAC,EAAE,SAAS,EAAE,GAAG,EAAO,EAAE,EAAE;;gBACnD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;gBAC3B,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,IAAI,C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UAAU;sCAAwB;AACvB;IAAX,UAAU;uCAAgC;AAC/B;IAAX,UAAU;uCAAyB;AACxB;IAAX,UAAU;uCAAyB;AAExB;IAAX,UAAU;uCAAyB;AACxB;IAAX,UAAU;sCAAwB;AACvB;IAAX,UAAU;mCAAsB;AAOjC;IADC,MAAM;mCAGN;AAID;IADC,MAAM;qCAIL;AAKF;IADC,MAAM;6CAKL;AAIF;IADC,MAAM;sCAIL;AAIF;IADC,MAAM;+CAIL;AAIF;IADC,MAAM;iCAWN;AAID;IADC,QAAQ;qCAGR;AAID;IADC,MAAM;wCAQN;AAID;IADC,MAAM;mCAIN;AAEO;IAAP,MAAM;6CAON"}
|
@@ -4,7 +4,7 @@ import SubDocumentList from "../SubDocumentList";
|
|
4
4
|
import { observe } from "@voplus/morpho-ui";
|
5
5
|
const SubDocument = (props) => {
|
6
6
|
const { id = "LIST", listType, destination, source } = props;
|
7
|
-
return observe(() => (React.createElement(Droppable, { droppableId: id, type: listType }, (dropProvided, dropSnapshot) => (React.createElement("div",
|
7
|
+
return observe(() => (React.createElement(Droppable, { droppableId: id, type: listType }, (dropProvided, dropSnapshot) => (React.createElement("div", { className: "wrapper", isdraggingover: dropSnapshot.isDraggingOver.toString(), isdraggingfrom: Boolean(dropSnapshot.draggingFromThisWith).toString(), ...dropProvided.droppableProps },
|
8
8
|
React.createElement("div", { className: "dropZone", ref: dropProvided.innerRef },
|
9
9
|
React.createElement(SubDocumentList, { id: id, onDocumentData: props.onDocumentData, destination: destination, source: source }),
|
10
10
|
dropProvided.placeholder))))));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/SubDocument/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,mB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,cAAc,EACpC,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM,GACb;YACD,YAAY,CAAC,WAAW,CACpB,CACD,CACN,CACU,CACZ,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
@@ -112,9 +112,9 @@ const SubDocumentList = (props) => {
|
|
112
112
|
});
|
113
113
|
return observe(() => (React.createElement("div", { className: styles["link-list-page"] },
|
114
114
|
React.createElement(Upload.Dragger, { className: classnames("link-upload", !disabled && "doc-drag-hover"), disabled: disabled, customRequest: (option) => customRequest(option), showUploadList: false, openFileDialogOnClick: false, multiple: true },
|
115
|
-
React.createElement(InfiniteScrollView, { empty: false, loading: docList.loading, hasMore: docList.hasMore, loadMore: () => docList.triggerNextPage() }, docList.data.map((item, index) => (React.createElement(Draggable, { key: item.id, draggableId: item.id, index: index }, (dragProvided, dragSnapshot) => (React.createElement("div",
|
115
|
+
React.createElement(InfiniteScrollView, { empty: false, loading: docList.loading, hasMore: docList.hasMore, loadMore: () => docList.triggerNextPage() }, docList.data.map((item, index) => (React.createElement(Draggable, { key: item.id, draggableId: item.id, index: index }, (dragProvided, dragSnapshot) => (React.createElement("div", { className: "link-container", isdragging: dragSnapshot.isDragging.toString(), isgroupedover: Boolean(dragSnapshot.combineTargetFor).toString(), ref: dragProvided.innerRef, ...dragProvided.draggableProps, ...dragProvided.dragHandleProps, "data-is-dragging": dragSnapshot.isDragging, "data-testid": props.id, "data-index": index,
|
116
116
|
// avoid mouse down propagate to panable
|
117
|
-
onMouseDown: (e) => e.stopPropagation() }
|
117
|
+
onMouseDown: (e) => e.stopPropagation() },
|
118
118
|
React.createElement("div", { className: "link-content" }, ui.renderDocumentCard({
|
119
119
|
id: item.id,
|
120
120
|
headerProps: { onShowQuickView: onChangeDisabled },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/SubDocumentList/index.tsx"],"names":[],"mappings":"AAAA,OAAO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B,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;YACpD,KAAK,CAAC,KAAK,EAAE,CAAC;YACd,KAAK,CAAC,cAAe,CAAC,OAAO,EAAE,CAAC,CAAC;SACjC;IACF,CAAC;IAED,kCAAkC;IAClC,SAAS,OAAO;QACf,MAAM,GAAG,GAAa,EAAE,CAAC;QACzB,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACxC,OAAO,EAAE,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;IAC7C,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC,eAAe,CAAC,CAAC"}
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import "./index.less";
|
2
2
|
import { State } from "./state";
|
3
|
-
import { Button, Checkbox, Row } from "@voplus/antd";
|
3
|
+
import { Button, Checkbox, Modal, Row, Tooltip } from "@voplus/antd";
|
4
4
|
import React, { useEffect, useState } from "react";
|
5
|
-
import { faAngleDown, faAngleRight, faBars } from "@fortawesome/pro-light-svg-icons";
|
6
|
-
import { faClipboard,
|
5
|
+
import { faAngleDown, faAngleRight, faBars, faCommentAltEdit, } from "@fortawesome/pro-light-svg-icons";
|
6
|
+
import { faClipboard, faTasksAlt } from "@fortawesome/pro-duotone-svg-icons";
|
7
7
|
import { useAgenda, useAgendaStore } from "../../../../../data/meeting";
|
8
|
-
import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEditor";
|
9
8
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
10
9
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
10
|
+
import ProseMirror from "@voplus/morpho-text/es/controls/ProseMirror";
|
11
11
|
import TaskList from "./components/TaskList";
|
12
12
|
import { TextEditor } from "@voplus/morpho-text";
|
13
13
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
@@ -39,14 +39,15 @@ const AgendaItem = (props) => {
|
|
39
39
|
connectDragSource(React.createElement("span", { className: classnames("sort-icon-move", { show: state.editable }) },
|
40
40
|
React.createElement(FAIcon, { icon: faBars, color: "#222" }))),
|
41
41
|
React.createElement("span", { className: classnames("agenda-item-index", { show: multiple || state.readonly }) }, `${(index || 0) + 1}.`))),
|
42
|
-
React.createElement(DocumentHeader, { id: id, clickNameEffect: "edit", autoSaveName: true, flagVisible: false, statusVisible: false, preVisible: false, tagsVisible: false, tools: React.createElement(ToolBar, { id: id }
|
42
|
+
React.createElement(DocumentHeader, { id: id, clickNameEffect: "edit", autoSaveName: true, flagVisible: false, statusVisible: false, preVisible: false, tagsVisible: false, tools: React.createElement(ToolBar, { id: id }, !state.readonly && (React.createElement(Tooltip, { title: "Edit agenda description" },
|
43
|
+
React.createElement(Button, { size: "small", shape: "circle", onClick: () => runInAction(() => {
|
44
|
+
state.description = agenda.description || "";
|
45
|
+
state.desVisible = true;
|
46
|
+
}) },
|
47
|
+
React.createElement(FAIcon, { icon: faCommentAltEdit, color: "#666" }))))), quickDataBarVisible: false }),
|
43
48
|
React.createElement("span", { onClick: onFoldIconClick, className: classnames("collapse-arrow", { "collapse-active": !state.expand }) },
|
44
49
|
React.createElement(FAIcon, { icon: state.expand ? faAngleDown : faAngleRight }))),
|
45
50
|
state.expand && (React.createElement("div", { className: classnames("agenda-item-box", { "collapse-inactive": state.expand }) },
|
46
|
-
React.createElement("div", { className: "section-title" },
|
47
|
-
React.createElement(FAIcon, { icon: faCommentAltLines, color: "#666" }),
|
48
|
-
"Agenda Description"),
|
49
|
-
React.createElement(DescriptionEditor, { id: id, description: agenda.description, readonly: state.readonly, collapsible: false }),
|
50
51
|
React.createElement("div", { className: "section-title" },
|
51
52
|
React.createElement(FAIcon, { icon: faClipboard, color: "#666" }),
|
52
53
|
"Agenda Minutes"),
|
@@ -63,7 +64,12 @@ const AgendaItem = (props) => {
|
|
63
64
|
React.createElement(FAIcon, { icon: faTasksAlt, color: "#666" }),
|
64
65
|
" Action Tasks"),
|
65
66
|
!state.readonly && (React.createElement(Button, { type: state.addAble ? "text" : "link", onClick: () => state.onAddTask(!state.addAble), style: { padding: 0, fontStyle: "italic" } }, state.addAble ? "Cancel" : "Add Task"))),
|
66
|
-
React.createElement(TaskList, { id: id, editable: state.addAble && !state.readonly }))))
|
67
|
+
React.createElement(TaskList, { id: id, editable: state.addAble && !state.readonly })))),
|
68
|
+
state.desVisible && (React.createElement(Modal, { title: `${agenda.name} Description`, visible: true, bodyStyle: { padding: "0", height: "50vh" }, okText: "Save", onCancel: () => runInAction(() => (state.desVisible = false)), confirmLoading: state.loading, onOk: () => state.onEdit({
|
69
|
+
Description: state.description,
|
70
|
+
}) },
|
71
|
+
React.createElement(ProseMirror, { toolbarProps: { sticky: false }, defaultHtml: state.description, scroll: true, className: "agenda-description_mirror", onChange: (opt) => runInAction(() => (state.description =
|
72
|
+
opt.editor.dom.innerHTML === "<p><br></p>" ? "" : opt.editor.dom.innerHTML)) }))))));
|
67
73
|
function onFoldIconClick() {
|
68
74
|
state.toggleExpand();
|
69
75
|
}
|
@@ -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,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,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,CAAC,EAC7D,cAAc,EAAE,KAAK,CAAC,OAAO,EAC7B,IAAI,EAAE,GAAG,EAAE,CACV,KAAK,CAAC,MAAM,CAAC;gBACZ,WAAW,EAAE,KAAK,CAAC,WAAW;aAC9B,CAAC;YAGH,oBAAC,WAAW,IACX,YAAY,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAC/B,WAAW,EAAE,KAAK,CAAC,WAAW,EAC9B,MAAM,QACN,SAAS,EAAC,2BAA2B,EACrC,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CACjB,WAAW,CACV,GAAG,EAAE,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;;;;mBAA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AwB;AAEvB;IAAX,UAAU;yCAA2B;AAOtC;IADC,QAAQ;qCAGR;AAGD;IADC,MAAM;mCAGN;AAGD;IADC,MAAM;qCAML;AAGF;IADC,MAAM;yCAGN;AAID;IAFC,MAAM;wCAIL"}
|
@@ -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,MAA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AAC,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,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;S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,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;YACC,EAAE,EAAE,CAAC;YACL,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,sBAAsB;YAC5B,GAAG,EACF,gGAAgG;SACjG;QACD;YACC,EAAE,EAAE,CAAC;YACL,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,sBAAsB;YAC5B,GAAG,EACF,gGAAgG;SACjG;QACD;YACC,EAAE,EAAE,CAAC;YACL,KA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AE,EAAE,EAAE,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,GAAI,CAC7D,CACA,CACI,CACZ,GACA,CACG,CACD,CACN,CAAC,CAAC;AACJ,CAAC,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,QAAQ,MAAM,yDAAyD,CAAC;AAC/E,OAAO,qBAAqB,MAAM,qCAAqC,CAAC;AAExE,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,eAAe,GAAG,CAAC,KAAoB,EAAE,EAAE;IAChD,MAAM,EAAE,EAAE,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IAExC,MAAM,EAAE,IAAI,EAAE,GAAG,qBAAqB,EAAE,CAAC;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AW,GACpB,CACF,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
@@ -24,11 +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
|
-
|
31
|
+
state.update(task);
|
32
32
|
useLayoutEffect(() => {
|
33
33
|
runInAction(() => (state.members = state.taskMembers));
|
34
34
|
}, []);
|
@@ -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,MAA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AC1B,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE;oBAE3B,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,GAAI,CAChB,CACJ,CACN,CAAC,CAAC,CAAC,CACH,oBAAC,eAAe,IACf,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,UAAU,EAC7B,QAAQ,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAC9B,QAAQ,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,EAClD,SAAS,EAAE,UAAU,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,GAClE,CACF;YACD,6BACC,SAAS,EAAE,UAAU,CAAC,oBAAoB,EAAE;oBAC3C,IAAI,EAAE,KAAK,CAAC,OAAO;iBACnB,CAAC;gBAEF,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;oBAC9D,oBAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,GAAG,EAAE,UAAU,EAAE,EAAE,GAAI;oBAC3C,oBAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,QAAQ,EAAE,KAAK,CAAC,IAAI,CAAC,QAAQ,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,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I,EAAE,CAAC,EAAE,GAAG,IAAI,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;QAC3F,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QAC/D,MAAM,YAAY,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC;QACnC,MAAM,YAAY,GAAG;YACpB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;YACtB,GAAG,EAAE,IAAI,CAAC,GAAG;SACb,CAAC;QACF,OAAO,CAAC,OAAO,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;IAC7C,CAAC;CACD;AA9GY;IAAX,UAAU;mCAAoB;AAEnB;IAAX,UAAU;kCAA2B;AAE1B;IAAX,UAAU;sCAA4B;AAE3B;IAAX,UAAU;mCAAkB;AAEjB;IAAX,UAAU;uCAA6B;AAE5B;IAAX,UAAU;6CAA2B;AAE1B;IAAX,UAAU;uCAAyB;AAExB;IAAX,UAAU;sCAAwB;AACvB;IAAX,UAAU;wCAAuB;AAEtB;IAAX,UAAU;sCAAwB;AAOnC;IADC,MAAM;mCAGN;AAGD;IADC,MAAM;wCAML;AAGF;IADC,MAAM;mCAUL;AAIF;IADC,MAAM;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"}
|
@@ -14,6 +14,7 @@ import TaskAnalyticsDataIcon from "../../reports/TaskAnalyticsDataIcon";
|
|
14
14
|
import TaskEstimatedTime from "../TaskEstimatedTime";
|
15
15
|
import TaskStatusLabel from "../../controls/TaskStatusLabel";
|
16
16
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
17
|
+
import { autorun } from "mobx";
|
17
18
|
import { observe } from "@voplus/morpho-ui";
|
18
19
|
import { useApplicationContext } from "@voplus/morpho-data";
|
19
20
|
const TaskPropertiesView = (props) => {
|
@@ -23,9 +24,7 @@ const TaskPropertiesView = (props) => {
|
|
23
24
|
const taskStore = useTaskStore();
|
24
25
|
const [taskStatus, setTaskStatus] = useState(task.taskStatus);
|
25
26
|
const [loaded, setLoaded] = useState(true);
|
26
|
-
useEffect(() =>
|
27
|
-
setTaskStatus(task.taskStatus);
|
28
|
-
}, [task.taskStatus]);
|
27
|
+
useEffect(() => autorun(() => setTaskStatus(task.taskStatus)), [task.taskStatus]);
|
29
28
|
return observe(() => (React.createElement("div", { className: "module-detail-view" }, loaded && (React.createElement(React.Fragment, null,
|
30
29
|
React.createElement(DocumentHeader, { id: id, size: "h3", quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, className: "task-properties-view-header", quickDataBar: React.createElement(React.Fragment, null,
|
31
30
|
React.createElement("div", null,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,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,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,iBAAiB,MAAM,uDAAuD,CAA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;oBAChC,oBAAC,QAAQ,IAAC,MAAM,SAAG;oBAAC,GAAG,CAClB,CACN,CAAC,CAAC,CAAC,CACH,oBAAC,iBAAiB,IACjB,EAAE,EAAE,EAAE,EACN,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,GACtB,CACF;gBAED,oBAAC,WAAW,IAAC,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,MAAM,KAAK,UAAU,GAAI,CAC9D,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;IAED,2BAA2B;IAC3B,KAAK,UAAU,MAAM,CAAC,UAAe;QACpC,aAAa,CAAC,UAAU,CAAC,CAAC;QAC1B,MAAM,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE;YACxB,IAAI,EAAE,EAAE,UAAU,EAAE;YACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE;gBACvB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;gBAC7B,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAChC,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AACF,eAAe,kBAAkB,CAAC"}
|
@@ -16,6 +16,7 @@ import TaskAnalyticsDataIcon from "../../reports/TaskAnalyticsDataIcon";
|
|
16
16
|
import TaskEstimatedTime from "../../components/TaskEstimatedTime";
|
17
17
|
import TaskStatusLabel from "../../controls/TaskStatusLabel";
|
18
18
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
19
|
+
import { autorun } from "mobx";
|
19
20
|
import classnames from "classnames";
|
20
21
|
import { runInAction } from "mobx";
|
21
22
|
import styles from "./index.less";
|
@@ -36,9 +37,7 @@ const TaskTabView = () => {
|
|
36
37
|
useEffect(() => {
|
37
38
|
runInAction(() => asideContext.openAside(AsideElement, { span: 12 }));
|
38
39
|
}, []);
|
39
|
-
useEffect(() =>
|
40
|
-
setTaskStatus(task.taskStatus);
|
41
|
-
}, [task.taskStatus]);
|
40
|
+
useEffect(() => autorun(() => setTaskStatus(task.taskStatus)), [task.taskStatus]);
|
42
41
|
useAutorunEffect(() => {
|
43
42
|
tab.title = task === null || task === void 0 ? void 0 : task.name;
|
44
43
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/pages/TaskTabView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAO,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAClE,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,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEnF,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAE9E,OAAO,WAAW,MAAM,uCAAuC,CAAC;AAChE,OAAO,WAAW,MAAM,8BAA8B,CAAC;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C,IAAI,CAAC,CAAC,CAAC,EAAE,CAAQ;wBAC7D,oBAAC,WAAW,IACX,EAAE,EACD,IAAI,CAAC,KAAK;gCACT,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE;oCACrB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;oCACd,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;gCAChB,CAAC,CAAC,EAAE,EAEN,MAAM,SACL,CACG,CACN,CAAC,CACE,CACN,CACD;gBACD,oBAAC,WAAW,IAAC,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,MAAM,KAAK,UAAU,GAAI,CACnD,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;IAED,2BAA2B;IAC3B,KAAK,UAAU,MAAM,CAAC,UAAe;QACpC,aAAa,CAAC,UAAU,CAAC,CAAC;QAC1B,MAAM,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE;YACxB,IAAI,EAAE,EAAE,UAAU,EAAE;YACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE;gBACvB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;gBAC7B,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAChC,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AACF,eAAe,WAAW,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/workspaces/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/workspaces/components/AddUsers/index.tsx"],"names":[],"mappings":"AAAA,OAAO,E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,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"}
|
@@ -44,7 +44,7 @@ const WorkTypeDetail = (props) => {
|
|
44
44
|
state.audit && (React.createElement("div", { className: "work-audit-content" },
|
45
45
|
React.createElement("div", { className: "work-audit-info" },
|
46
46
|
React.createElement("span", { className: "label" }, "Audit Rate"),
|
47
|
-
React.createElement(InputNumber, { value: state.auditRate, min: 0, max: 100, formatter: (value) => `${value}%`, parser: (value) => value.replace("%", ""), onChange: (value) => {
|
47
|
+
React.createElement(InputNumber, { value: state.auditRate, min: 0, max: 100, formatter: (value) => `${value}%`, parser: (value) => parseInt(value.replace("%", "")), onChange: (value) => {
|
48
48
|
runInAction(() => (state.auditRate = value));
|
49
49
|
editAudit();
|
50
50
|
} })),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/WorkTypeDetail/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAExD,OAAO,UAAU,MAAM,qEA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ACjB,KAAK,UAAU,SAAS;QACvB,MAAM,aAAa,CAAC,IAAI,CAAC,EAAE,EAAE;YAC5B,IAAI,EAAE;gBACL,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,UAAU,EAAE,KAAK,CAAC,UAAU,EAAE;aACvF;YACD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;IACJ,CAAC;IACD,qBAAqB;IACrB,KAAK,UAAU,aAAa,CAAC,GAAa;QACzC,MAAM,aAAa,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IAC9E,CAAC;IACD,wBAAwB;IACxB,SAAS,eAAe,CAAC,CAAM;QAC9B,aAAa,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IACtF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@voplus/morpho-workspace",
|
3
|
-
"version": "1.2.
|
3
|
+
"version": "1.2.1",
|
4
4
|
"description": "morpho workspace module",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -28,42 +28,32 @@
|
|
28
28
|
"pre-push": "npx eslint -c .eslintrc.js --ext .ts --ext .tsx src"
|
29
29
|
}
|
30
30
|
},
|
31
|
+
"dependencies": {
|
32
|
+
"@fullcalendar/core": "^5.6.0",
|
33
|
+
"@fullcalendar/daygrid": "^5.6.0",
|
34
|
+
"@fullcalendar/interaction": "^5.6.0",
|
35
|
+
"@fullcalendar/react": "^5.6.0",
|
36
|
+
"@fullcalendar/timegrid": "^5.6.0",
|
37
|
+
"@voplus/morpho-collaboration": "1.x",
|
38
|
+
"@voplus/morpho-collaboration-action": "1.x",
|
39
|
+
"@voplus/morpho-form": "1.x",
|
40
|
+
"@voplus/morpho-report": "1.x",
|
41
|
+
"react-beautiful-dnd": "^13.1.0",
|
42
|
+
"tippy.js": "^5.1.4"
|
43
|
+
},
|
31
44
|
"devDependencies": {
|
32
|
-
"@types/lodash-es": "^4.17.4",
|
33
45
|
"@types/mockjs": "^1.0.3",
|
34
|
-
"@types/object-hash": "^1.3.4",
|
35
|
-
"@types/react": "^17.0.3",
|
36
46
|
"@types/react-beautiful-dnd": "^13.0.0",
|
37
|
-
"@voplus/
|
38
|
-
"@voplus/morpho-
|
39
|
-
"@voplus/morpho-
|
40
|
-
"@voplus/morpho-collaboration-action": "^1.2.0-dev01",
|
41
|
-
"@voplus/morpho-config": "^1.2.0-dev12",
|
42
|
-
"@voplus/morpho-data": "^1.2.0-dev01",
|
43
|
-
"@voplus/morpho-document": "^1.2.0-dev12",
|
44
|
-
"@voplus/morpho-document-core": "^1.2.0-dev05",
|
45
|
-
"@voplus/morpho-form": "^1.2.0-dev01",
|
46
|
-
"@voplus/morpho-org": "^1.2.0-dev04",
|
47
|
-
"@voplus/morpho-report": "^1.2.0-dev01",
|
48
|
-
"@voplus/morpho-text": "^1.2.0-dev02",
|
49
|
-
"@voplus/morpho-ui": "^1.2.0-dev05",
|
47
|
+
"@voplus/morpho-client-test": "1.x",
|
48
|
+
"@voplus/morpho-storybook": "1.x",
|
49
|
+
"@voplus/morpho-test": "1.x",
|
50
50
|
"mockjs": "^1.1.0",
|
51
|
+
"react": "17.x",
|
52
|
+
"react-dom": "17.x",
|
51
53
|
"typemoq": "^2.1.0"
|
52
54
|
},
|
53
55
|
"peerDependencies": {
|
54
|
-
"
|
55
|
-
"
|
56
|
-
"@voplus/morpho-text": "^1.2.*",
|
57
|
-
"@voplus/morpho-report": "^1.2.*"
|
58
|
-
},
|
59
|
-
"dependencies": {
|
60
|
-
"@fullcalendar/core": "^5.5.1",
|
61
|
-
"@fullcalendar/daygrid": "^5.5.0",
|
62
|
-
"@fullcalendar/interaction": "^5.5.0",
|
63
|
-
"@fullcalendar/react": "^5.5.0",
|
64
|
-
"@fullcalendar/timegrid": "^5.5.1",
|
65
|
-
"object-hash": "^2.1.1",
|
66
|
-
"react-beautiful-dnd": "^13.0.0",
|
67
|
-
"tippy.js": "^5.1.4"
|
56
|
+
"react": "17.x",
|
57
|
+
"react-dom": "17.x"
|
68
58
|
}
|
69
59
|
}
|
package/changelog.md
DELETED
@@ -1,83 +0,0 @@
|
|
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
|
-
[Fix]: Task Quick View不能改成员、Task Quick View不能改成员
|
9
|
-
【Upgrade】React升級至17
|
10
|
-
【Fix】project 打开 Tasks 和 Calendar 报错
|
11
|
-
|
12
|
-
#25 Jan 2021
|
13
|
-
[Improve] AvatarList点击Save Button才Update List
|
14
|
-
【Fix】Board View Move 文件(Column -> Column) 有时refresh后发现没有Move
|
15
|
-
|
16
|
-
#12 Jan 2021
|
17
|
-
[Improve] Board column list 需要include tags减少不必要的 document 读取
|
18
|
-
【Improvement】改进edit处理,错误时UI重设回原值
|
19
|
-
[Improve] AvatarList 加 OrganizationId
|
20
|
-
feature: Meeting List 新增Filter Parent Id
|
21
|
-
【Fix】Board 起始/documents 请求数量比column数高
|
22
|
-
[Improvement] 改进Store action 错误处理,适当使用StoreActionOptions显示错误信息
|
23
|
-
|
24
|
-
# 15 Sep 2020
|
25
|
-
|
26
|
-
【Fix】Board View filter 没有更新内容
|
27
|
-
[Improve] improvement:Task 可以只输入开始或结束时间
|
28
|
-
[Improve] Calendar 修改滾動條样式
|
29
|
-
【Improvement】Board Default View 新增 Tool 打開 Board 的 PropertiesView
|
30
|
-
把 Action 相關代码移去 morpho-collaboration-actions
|
31
|
-
|
32
|
-
# 21 Aug 2020
|
33
|
-
|
34
|
-
【Improvement】Work Summary, Trial Heading 下方要和其它地方保持一致性有橫線
|
35
|
-
【Improvement】Project Nav 使用 haha 新加的收起功能
|
36
|
-
improvement:Meeting Agenda Item UI 改進
|
37
|
-
|
38
|
-
## 13 Jul 2020
|
39
|
-
|
40
|
-
[Fix]Meeting Agenda 下拉目录 Item 不能按
|
41
|
-
[Fix] 直接打开 live1.voplus.app/tasks/id 内容显示空白
|
42
|
-
[Fix] Task Item mouse 失焦無法加 tag
|
43
|
-
[Fix] calendar 之 click 显示 quickview, upgrade full calendar
|
44
|
-
[Improve] DocumentHeader 改進對 Task List Item 支援
|
45
|
-
[Fix]:SubTaskList 新增 Task 成功, 但有時沒反應, 要人手 reload 才看得到新增的 task
|
46
|
-
[Improve] Board 為 panable
|
47
|
-
[Feature] calendar 把假资料换了
|
48
|
-
[Improve] SubTaskItem 添加 TaskAnalyticsDataIcon
|
49
|
-
|
50
|
-
## 27 May 2020
|
51
|
-
|
52
|
-
[Improve] Board 文件 Column 下拉目录加回 Access
|
53
|
-
[Improve] Column 下建立文件有 placeholder 不用在 input 上显示 type
|
54
|
-
[Fix] Column 建立文件输入盒按 Esc 可以消失
|
55
|
-
[Improve] 加 DocumentHeader 給 BoardView.
|
56
|
-
[Improve] : 改進 Board
|
57
|
-
[UX] : 顯示 inheritedMember 改成顯示 childMembers
|
58
|
-
|
59
|
-
## 14 Apr 2020
|
60
|
-
|
61
|
-
[Fix] : Task subList tem 按名字沒有 QuickView, 按 Tag 也沒反應
|
62
|
-
[Improvement]:把 TabView 的 Tags 從右方移去文件名後和其它地方保持一致、TaskItem 顯示 UsersQuickIcon
|
63
|
-
[Fix] Subtask List Tag 和 QuickView
|
64
|
-
[Refactor] TaskStatusFilter 用戶不选时要为空.
|
65
|
-
[Improvement] Task Tab view 顯示 Dependent Task (1 天)
|
66
|
-
[Fix] Task Filter function not working Fix:Task 排序不能
|
67
|
-
Upgrade antd 4.0
|
68
|
-
|
69
|
-
## 25 Mar 2020
|
70
|
-
|
71
|
-
[Fix] Fix task sub items archive not removing item from list.
|
72
|
-
|
73
|
-
## 19 Mar 2020
|
74
|
-
|
75
|
-
[Feature] Task 预估时间
|
76
|
-
[Improvement]:成员选择应该限高
|
77
|
-
[Fix] Meeting Tab View 內的 Agenda 沒有理會 Readonly
|
78
|
-
[Fix] Task Item tags not showing
|
79
|
-
|
80
|
-
## 03 Mar 2020
|
81
|
-
|
82
|
-
[Fix] BoardColumn scroll bar 不會自動隐藏
|
83
|
-
[Issuse] Links, Activities, Tag 在很多地方還沒有更新或不能用
|