@voplus/morpho-workspace 6.0.91 → 6.0.93
Sign up to get free protection for your applications and to get access to all the features.
- package/es/modules/board/components/Board/index.js +5 -12
- package/es/modules/board/components/Board/index.js.map +1 -1
- package/es/modules/board/components/Board/state.d.ts +4 -1
- package/es/modules/board/components/Board/state.js +22 -1
- package/es/modules/board/components/Board/state.js.map +1 -1
- package/es/modules/board/components/BoardColumn/index.js +13 -5
- package/es/modules/board/components/BoardColumn/index.js.map +1 -1
- package/es/modules/board/components/BoardColumn/index.less +15 -22
- package/es/modules/board/components/BoardColumn/state.d.ts +4 -1
- package/es/modules/board/components/NewBoardColumnDialog/index.d.ts +7 -0
- package/es/modules/board/components/NewBoardColumnDialog/index.js +29 -0
- package/es/modules/board/components/NewBoardColumnDialog/index.js.map +1 -0
- package/es/modules/board/pages/BoardViewList/index.less +1 -1
- package/es/modules/work/components/WorksProperties/index.js +1 -1
- package/es/modules/work/components/WorksProperties/index.js.map +1 -1
- package/package.json +1 -1
@@ -3,14 +3,11 @@ import { BoardListContextState, BoardtListContext, useBoard, useBoardColumnListE
|
|
3
3
|
import { CreateDateFilter, DocumentStatusFilter, FlagFilter, } from "@voplus/morpho-document/es/controls/filters";
|
4
4
|
import { DragDropContext, Droppable } from "react-beautiful-dnd";
|
5
5
|
import { FilterOptionsContext, ListDataContext, useCreateListDataState, } from "@voplus/morpho-ui/es/data";
|
6
|
-
import { Input, Spin } from "antd";
|
7
6
|
import React, { useEffect, useState } from "react";
|
8
7
|
import { useLayout } from "@voplus/morpho-data";
|
9
8
|
import { Swiper, SwiperSlide } from "swiper/react";
|
10
|
-
import
|
9
|
+
import NewBoardColumnDialog from "../NewBoardColumnDialog";
|
11
10
|
import BoardColumn from "../BoardColumn";
|
12
|
-
import Card from "@voplus/morpho-ui/es/controls/Card";
|
13
|
-
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
14
11
|
import FilterView from "@voplus/morpho-ui/es/controls/FilterView";
|
15
12
|
import { Observer } from "mobx-react-lite";
|
16
13
|
import Panable from "@voplus/morpho-ui/es/controls/Panable";
|
@@ -59,7 +56,7 @@ const Board = (props) => {
|
|
59
56
|
},
|
60
57
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
61
58
|
ref: provided.innerRef, ...provided.droppableProps }, (_a = state.boardcolumns) === null || _a === void 0 ? void 0 :
|
62
|
-
_a.map((item, index) => (React.createElement(BoardColumn, { key: item.id, index: index, id: item.id, reload: state.reload, colorStyle: state.colorList[index %
|
59
|
+
_a.map((item, index) => (React.createElement(BoardColumn, { key: item.id, index: index, id: item.id, reload: state.reload, colorStyle: state.colorList[index % 5], destination: state.destination, source: state.source, onIds: (v) => state.onIds(v), onAdd: (parentId, type, name) => {
|
63
60
|
props.onAdd && props.onAdd(parentId, type, name);
|
64
61
|
} }))),
|
65
62
|
provided.placeholder));
|
@@ -72,7 +69,7 @@ const Board = (props) => {
|
|
72
69
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
73
70
|
ref: provided.innerRef, ...provided.droppableProps },
|
74
71
|
React.createElement(Swiper, { slidesPerView: "auto", centeredSlides: true, spaceBetween: 20, className: "mySwiper" }, (_a = state.boardcolumns) === null || _a === void 0 ? void 0 : _a.map((item, index) => (React.createElement(SwiperSlide, { key: index },
|
75
|
-
React.createElement(BoardColumn, { key: item.id, index: index, id: item.id, reload: state.reload, colorStyle: state.colorList[index %
|
72
|
+
React.createElement(BoardColumn, { key: item.id, index: index, id: item.id, reload: state.reload, colorStyle: state.colorList[index % 5], destination: state.destination, source: state.source, onIds: (v) => state.onIds(v) }))))),
|
76
73
|
provided.placeholder));
|
77
74
|
})))));
|
78
75
|
return observe(() => (React.createElement(BoardtListContext.Provider, { value: lists },
|
@@ -80,13 +77,9 @@ const Board = (props) => {
|
|
80
77
|
React.createElement("div", { className: styles["board-context"] },
|
81
78
|
React.createElement("div", { className: "board-list" },
|
82
79
|
React.createElement(DragDropContext, { onDragEnd: (result) => state.onDragEnd(result) }, board),
|
83
|
-
React.createElement("div", { className: "add-board-controls" }, state.addBoardColumnAble && (React.createElement(Spin, { spinning: state.addLoading },
|
84
|
-
React.createElement(Card, { className: "add-board-able", padding: "0 15px", style: { borderTop: ` solid 2px #3AC43A` } },
|
85
|
-
React.createElement(Input, { placeholder: "STATUS NAME", value: state.name, onChange: (e) => runInAction(() => (state.name = e.target.value)) }),
|
86
|
-
React.createElement(FAIcon, { icon: faCheck, onClick: () => state.onSave() }),
|
87
|
-
React.createElement(FAIcon, { icon: faTimes, onClick: () => runInAction(() => (state.addBoardColumnAble = false)) }))))),
|
88
80
|
data.status !== "Readonly" && (React.createElement("div", { className: "add-board" },
|
89
|
-
React.createElement("div", { onClick: () => runInAction(() => (state.addBoardColumnAble = true)) }, "+ ADD"))))
|
81
|
+
React.createElement("div", { onClick: () => runInAction(() => (state.addBoardColumnAble = true)) }, "+ ADD")))),
|
82
|
+
state.addBoardColumnAble && (React.createElement(NewBoardColumnDialog, { parentId: props.parentId, onCancel: () => (state.addBoardColumnAble = false) })))))));
|
90
83
|
/** BoardColumn filters name */
|
91
84
|
function onSearch(value) {
|
92
85
|
list.triggerSearch(value);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/Board/index.tsx"],"names":[],"mappings":"AAAA,OAAO,YAAY,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/Board/index.tsx"],"names":[],"mappings":"AAAA,OAAO,YAAY,CAAC;AACpB,OAAO,EACN,qBAAqB,EACrB,iBAAiB,EACjB,QAAQ,EACR,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,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB,MA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,oBAAoB,IACpB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,GAAG,KAAK,CAAC,GACjD,CACF,CACI,CACoB,CACC,CAC7B,CAAC,CAAC;IAEH,+BAA+B;IAC/B,SAAS,QAAQ,CAAC,KAAa;QAC9B,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAC3B,CAAC;IAED,SAAS,UAAU;QAClB,IAAI,CAAC,KAAK;YAAE,OAAO;QACnB,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,oBAAC,WAAW,IAAC,KAAK,EAAC,QAAQ,EAAC,QAAQ,EAAE,QAAQ,GAAI,CAAC,CAAC;QACnF,KAAK,CAAC,KAAK,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,CAC3B,oBAAC,oBAAoB,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI,CAAC,OAAO;YACjD,oBAAC,gBAAgB,IAChB,MAAM,EAAE,CAAC,IAAqB,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EACzD,SAAS,EAAC,gBAAgB,GACzB;YACF,oBAAC,UAAU,IACV,OAAO,EAAE;oBACR,oBAAC,gBAAgB,IAAC,GAAG,EAAC,kBAAkB,GAAG;oBAC3C,oBAAC,UAAU,IAAC,GAAG,EAAC,YAAY,GAAG;oBAC/B,oBAAC,oBAAoB,IAAC,GAAG,EAAC,sBAAsB,GAAG;iBACnD,EACD,SAAS,EAAC,gBAAgB,GACzB,CAC6B,CAChC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
@@ -29,7 +29,10 @@ export declare class State {
|
|
29
29
|
/** move 目标数据 */
|
30
30
|
destination: any;
|
31
31
|
/** BoardColumn head border-top color */
|
32
|
-
colorList:
|
32
|
+
colorList: {
|
33
|
+
color: string;
|
34
|
+
background: string;
|
35
|
+
}[];
|
33
36
|
/** documentlist filter name */
|
34
37
|
filterName: string;
|
35
38
|
filterList?: FilterOption[];
|
@@ -86,7 +86,28 @@ export class State {
|
|
86
86
|
enumerable: true,
|
87
87
|
configurable: true,
|
88
88
|
writable: true,
|
89
|
-
value: [
|
89
|
+
value: [
|
90
|
+
{
|
91
|
+
color: "#8CA55F",
|
92
|
+
background: "#F1FDD9",
|
93
|
+
},
|
94
|
+
{
|
95
|
+
color: "#A28C5B",
|
96
|
+
background: "#FFFAEB",
|
97
|
+
},
|
98
|
+
{
|
99
|
+
color: "#217EB2",
|
100
|
+
background: "#E0EFFE",
|
101
|
+
},
|
102
|
+
{
|
103
|
+
color: "#945BA2",
|
104
|
+
background: "#F6EBFF",
|
105
|
+
},
|
106
|
+
{
|
107
|
+
color: "#8E3F42",
|
108
|
+
background: "#FEE8E5",
|
109
|
+
},
|
110
|
+
]
|
90
111
|
});
|
91
112
|
/** documentlist filter name */
|
92
113
|
Object.defineProperty(this, "filterName", {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/Board/state.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGpE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAW/B,MAAM,OAAO,KAAK;IAEjB,YAA2B,MAAwB,EAAU,SAAwB;QAAlE;;;;mBAAQ,MAAM;WAAkB;QAAE;;;;mBAAQ,SAAS;WAAe;QAD9E;;;;;WAAsB;QAIV;;;;mBAA+B,EAAE;WAAC;QAClC;;;;;WAAgC;QACnD,gBAAgB;QACG;;;;mBAAmB,EAAE;WAAC;QACzC,2BAA2B;QACR;;;;mBAAO,EAAE;WAAC;QACV;;;;mBAAS,KAAK;WAAC;QAClC,mCAAmC;QAChB;;;;mBAAa,KAAK;WAAC;QACtC,sBAAsB;QACH;;;;mBAAqB,KAAK;WAAC;QAC9C,eAAe;QACI;;;;;WAAY;QAC/B,gBAAgB;QACG;;;;;WAAiB;QACpC,wCAAwC;QACrB;;;;mBAAY,
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/Board/state.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGpE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAW/B,MAAM,OAAO,KAAK;IAEjB,YAA2B,MAAwB,EAAU,SAAwB;QAAlE;;;;mBAAQ,MAAM;WAAkB;QAAE;;;;mBAAQ,SAAS;WAAe;QAD9E;;;;;WAAsB;QAIV;;;;mBAA+B,EAAE;WAAC;QAClC;;;;;WAAgC;QACnD,gBAAgB;QACG;;;;mBAAmB,EAAE;WAAC;QACzC,2BAA2B;QACR;;;;mBAAO,EAAE;WAAC;QACV;;;;mBAAS,KAAK;WAAC;QAClC,mCAAmC;QAChB;;;;mBAAa,KAAK;WAAC;QACtC,sBAAsB;QACH;;;;mBAAqB,KAAK;WAAC;QAC9C,eAAe;QACI;;;;;WAAY;QAC/B,gBAAgB;QACG;;;;;WAAiB;QACpC,wCAAwC;QACrB;;;;mBAAY;gBAC9B;oBACC,KAAK,EAAE,SAAS;oBAChB,UAAU,EAAE,SAAS;iBACrB;gBACD;oBACC,KAAK,EAAE,SAAS;oBAChB,UAAU,EAAE,SAAS;iBACrB;gBACD;oBACC,KAAK,EAAE,SAAS;oBAChB,UAAU,EAAE,SAAS;iBACrB;gBACD;oBACC,KAAK,EAAE,SAAS;oBAChB,UAAU,EAAE,SAAS;iBACrB;gBACD;oBACC,KAAK,EAAE,SAAS;oBAChB,UAAU,EAAE,SAAS;iBACrB;aACD;WAAC;QACF,+BAA+B;QACZ;;;;mBAAa,EAAE;WAAC;QAChB;;;;mBAA8B,EAAE;WAAC;QACpD,2EAA2E;QACx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ACjB,IAAI,OAAO,GAAG,EAAE,CAAC;QACjB,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACrB,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QAC7F,CAAC;QACD,OAAO,GAAG,CAAC,GAAG,OAAO,EAAE,GAAG,IAAI,CAAC,UAAW,CAAC,CAAC;QAC5C,OAAO,OAAO,CAAC;IAChB,CAAC;CACD;AA3KmB;IAAlB,UAAU;2CAA0C;AAClC;IAAlB,UAAU;8CAAwC;AAEhC;IAAlB,UAAU;kCAA8B;AAEtB;IAAlB,UAAU;mCAAkB;AACV;IAAlB,UAAU;qCAAuB;AAEf;IAAlB,UAAU;yCAA2B;AAEnB;IAAlB,UAAU;iDAAmC;AAE3B;IAAlB,UAAU;qCAAoB;AAEZ;IAAlB,UAAU;0CAAyB;AAEjB;IAAlB,UAAU;wCAqBT;AAEiB;IAAlB,UAAU;yCAAwB;AAChB;IAAlB,UAAU;yCAAyC;AAEjC;IAAlB,UAAU;0CAA4B;AAGhC;IADN,MAAM;mDAOL;AAGK;IADN,MAAM;mDAKL;AAGK;IADN,MAAM;6DAQL;AAIK;IADN,MAAM;qCAWL;AAIW;IADZ,MAAM;sCA6DN;AAGc;IAAd,MAAM;kCAON;AAOD;IADC,QAAQ;oCAQR"}
|
@@ -2,6 +2,8 @@ import { State } from "./state";
|
|
2
2
|
import { Checkbox, Input, Spin, Tooltip } from "antd";
|
3
3
|
import React, { useState } from "react";
|
4
4
|
import { useBoardColumn, useBoardColumnStore } from "../../../../data/board";
|
5
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
6
|
+
import { faEllipsis } from "@fortawesome/pro-light-svg-icons";
|
5
7
|
import AddDocDropdown from "@voplus/morpho-document/es/components/AddDocDropdown";
|
6
8
|
import DocumentSelectDialog from "@voplus/morpho-document/es/components/DocumentSelectDialog";
|
7
9
|
import { Draggable } from "react-beautiful-dnd";
|
@@ -16,7 +18,7 @@ import { runInAction } from "mobx";
|
|
16
18
|
import styles from "./index.less";
|
17
19
|
import { useDocumentStore } from "@voplus/morpho-document-core";
|
18
20
|
const BoardColumn = (props) => {
|
19
|
-
const { index, destination, source } = { ...props };
|
21
|
+
const { index, destination, source, colorStyle } = { ...props };
|
20
22
|
const documentStore = useDocumentStore();
|
21
23
|
const boardStore = useBoardColumnStore();
|
22
24
|
const [state] = useState(new State(boardStore, documentStore));
|
@@ -28,18 +30,24 @@ const BoardColumn = (props) => {
|
|
28
30
|
return (React.createElement("div", { className: classnames(styles["board-column"], snapshot.isDragging && "action"),
|
29
31
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
30
32
|
ref: provided.innerRef, ...provided.draggableProps },
|
31
|
-
React.createElement("div", { className: "content-top",
|
33
|
+
React.createElement("div", { className: "content-top", ...provided.dragHandleProps,
|
32
34
|
// avoid mouse down propagate to panable
|
33
35
|
onMouseDown: (e) => e.stopPropagation() },
|
34
36
|
React.createElement("div", { className: "board-name" },
|
35
37
|
state.checked && (React.createElement(Checkbox, { onChange: state.onCheckAllChange, checked: state.checkAll })),
|
36
38
|
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", onClick: state.onEdit
|
39
|
+
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, style: {
|
40
|
+
color: colorStyle === null || colorStyle === void 0 ? void 0 : colorStyle.color,
|
41
|
+
background: colorStyle === null || colorStyle === void 0 ? void 0 : colorStyle.background,
|
42
|
+
} }, ((_a = state.boardcolumn.name) === null || _a === void 0 ? void 0 : _a.length) > 15 ? (React.createElement(Tooltip, { title: state.boardcolumn.name, placement: "topLeft" },
|
38
43
|
React.createElement("span", null, state.boardcolumn.name))) : (state.boardcolumn.name))),
|
39
44
|
!state.editable && React.createElement("span", { className: "board-length" }, state.documents)),
|
40
45
|
React.createElement("div", { className: "board-control" },
|
41
|
-
React.createElement(ToolBar, { id: state.boardcolumn.id, moreProps: {
|
42
|
-
|
46
|
+
React.createElement(ToolBar, { id: state.boardcolumn.id, moreProps: {
|
47
|
+
closeAside: true,
|
48
|
+
icon: React.createElement(FAIcon, { icon: faEllipsis, color: "#CBCBCB" }),
|
49
|
+
} }),
|
50
|
+
React.createElement(AddDocDropdown, { id: props.id, className: "board-drodown", iconColor: colorStyle === null || colorStyle === void 0 ? void 0 : colorStyle.color,
|
43
51
|
// onCancelClick={() => state.cancel()}
|
44
52
|
onItemClick: (val) => state.onItemClick(val) }))),
|
45
53
|
React.createElement(Scrollbars, { autoHide: true },
|
@@ -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,MAAM,CAAC;AACtD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;
|
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,O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AC,GACpD,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;YAEA,KAAK,CAAC,OAAO,IAAI,CACjB,oBAAC,eAAe,IACf,QAAQ,QACR,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,EAC1D,QAAQ,EAAE,QAAQ,GACjB,CACF,CACI,CACN,CAAA;KAAA,CACS,CACX,CACU,CACZ,CAAC,CAAC;IAEH,SAAS,QAAQ;QAChB,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;YACjB,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;YAC1D,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;QACvB,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
@@ -1,8 +1,12 @@
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
2
|
+
|
1
3
|
.board-column {
|
2
4
|
min-width: 290px;
|
3
5
|
margin: 8px;
|
4
6
|
display: flex;
|
5
7
|
flex-direction: column;
|
8
|
+
background-color: #f4f9ff;
|
9
|
+
border-radius: 5px;
|
6
10
|
|
7
11
|
&:global(.action) {
|
8
12
|
opacity: 0.5;
|
@@ -26,11 +30,7 @@
|
|
26
30
|
.content-top {
|
27
31
|
width: 290px;
|
28
32
|
display: flex;
|
29
|
-
|
30
|
-
line-height: 50px;
|
31
|
-
padding: 0 15px;
|
32
|
-
background: #ffffff;
|
33
|
-
margin-bottom: 15px;
|
33
|
+
padding: 15px 12px 20px;
|
34
34
|
|
35
35
|
.board-name {
|
36
36
|
flex: 1;
|
@@ -41,12 +41,14 @@
|
|
41
41
|
overflow: hidden;
|
42
42
|
|
43
43
|
.task-card-title {
|
44
|
-
height: 50px;
|
44
|
+
// height: 50px;
|
45
45
|
display: block;
|
46
46
|
overflow: hidden;
|
47
47
|
text-overflow: ellipsis;
|
48
48
|
white-space: nowrap;
|
49
49
|
cursor: text;
|
50
|
+
border-radius: 2px;
|
51
|
+
padding: 4px 10px;
|
50
52
|
}
|
51
53
|
|
52
54
|
.ant-spin-container {
|
@@ -60,20 +62,14 @@
|
|
60
62
|
|
61
63
|
.board-length {
|
62
64
|
display: inline-block;
|
63
|
-
height: 20px;
|
64
65
|
font-size: 14px;
|
65
|
-
|
66
|
-
|
67
|
-
line-height: 18px;
|
68
|
-
padding: 0 8px;
|
69
|
-
border-radius: 15px;
|
70
|
-
border: solid 1px #888888;
|
71
|
-
margin-left: 15px;
|
66
|
+
color: #5d5d5d;
|
67
|
+
margin-left: 8px;
|
72
68
|
}
|
73
69
|
|
74
70
|
span {
|
75
71
|
font-size: 16px;
|
76
|
-
color: #000;
|
72
|
+
// color: #000;
|
77
73
|
}
|
78
74
|
|
79
75
|
.board-control {
|
@@ -130,9 +126,7 @@
|
|
130
126
|
flex: 1;
|
131
127
|
display: flex;
|
132
128
|
flex-direction: column;
|
133
|
-
|
134
|
-
border: 8px;
|
135
|
-
padding-bottom: 0;
|
129
|
+
padding: 0 12px;
|
136
130
|
transition: background-color 0.2s ease, opacity 0.1s ease;
|
137
131
|
user-select: none;
|
138
132
|
width: 290px;
|
@@ -147,9 +141,8 @@
|
|
147
141
|
}
|
148
142
|
|
149
143
|
.link-container {
|
150
|
-
border-radius: 2px;
|
151
144
|
min-height: 40px;
|
152
|
-
margin-bottom:
|
145
|
+
margin-bottom: 12px;
|
153
146
|
user-select: none;
|
154
147
|
|
155
148
|
/* anchor overrides */
|
@@ -257,7 +250,7 @@
|
|
257
250
|
|
258
251
|
.new-sub-doc {
|
259
252
|
width: 290px;
|
260
|
-
padding: 0;
|
253
|
+
padding: 0 12px;
|
261
254
|
|
262
255
|
.ant-form-item {
|
263
256
|
margin-bottom: 0;
|
@@ -268,4 +261,4 @@
|
|
268
261
|
}
|
269
262
|
}
|
270
263
|
}
|
271
|
-
}
|
264
|
+
}
|
@@ -8,7 +8,10 @@ export type BoardColumnProps = {
|
|
8
8
|
/** BoardColumn item index */
|
9
9
|
index: number;
|
10
10
|
/** BoardColumn head border-top color */
|
11
|
-
colorStyle?:
|
11
|
+
colorStyle?: {
|
12
|
+
color: string;
|
13
|
+
background: string;
|
14
|
+
};
|
12
15
|
/** move 目标数据 */
|
13
16
|
destination?: any;
|
14
17
|
/** move 原数据 */
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import React, { useState } from "react";
|
2
|
+
import { observe } from "@voplus/morpho-ui";
|
3
|
+
import { Form, Modal, Input, message } from "antd";
|
4
|
+
import { useBoardColumnStore } from "../../../../data/board";
|
5
|
+
const NewBoardColumnDialog = (props) => {
|
6
|
+
const [name, setName] = useState("");
|
7
|
+
const [loading, setLoading] = useState(false);
|
8
|
+
const store = useBoardColumnStore();
|
9
|
+
return observe(() => (React.createElement(Modal, { title: "New Board Column Dialog", okText: "Create", className: "new-boardColumn-dialog", open: true, destroyOnClose: true, onOk: onOk, confirmLoading: loading, onCancel: props.onCancel },
|
10
|
+
React.createElement(Form, { layout: "vertical" },
|
11
|
+
React.createElement(Form.Item, { label: "Name" },
|
12
|
+
React.createElement(Input, { onChange: (e) => setName(e.target.value) }))))));
|
13
|
+
async function onOk() {
|
14
|
+
var _a, _b;
|
15
|
+
(_a = props.onCreate) === null || _a === void 0 ? void 0 : _a.call(props, name);
|
16
|
+
if (!name)
|
17
|
+
return message.warning("Title is required");
|
18
|
+
setLoading(true);
|
19
|
+
await store.create({
|
20
|
+
data: { Name: name, ParentId: props.parentId },
|
21
|
+
error: "message",
|
22
|
+
});
|
23
|
+
setName("");
|
24
|
+
setLoading(false);
|
25
|
+
return (_b = props.onCancel) === null || _b === void 0 ? void 0 : _b.call(props);
|
26
|
+
}
|
27
|
+
};
|
28
|
+
export default NewBoardColumnDialog;
|
29
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/NewBoardColumnDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,MAAM,oBAAoB,GAAG,CAAC,KAI7B,EAAE,EAAE;IACJ,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IACrC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,MAAM,KAAK,GAAG,mBAAmB,EAAE,CAAC;IAEpC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,IACL,KAAK,EAAC,yBAAyB,EAC/B,MAAM,EAAC,QAAQ,EACf,SAAS,EAAC,wBAAwB,EAClC,IAAI,EAAE,IAAI,EACV,cAAc,EAAE,IAAI,EACpB,IAAI,EAAE,IAAI,EACV,cAAc,EAAE,OAAO,EACvB,QAAQ,EAAE,KAAK,CAAC,QAAQ;QAExB,oBAAC,IAAI,IAAC,MAAM,EAAC,UAAU;YACtB,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,MAAM;gBACtB,oBAAC,KAAK,IAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,GAAI,CACxC,CACN,CACA,CACR,CAAC,CAAC;IAEH,KAAK,UAAU,IAAI;;QAClB,MAAA,KAAK,CAAC,QAAQ,sDAAG,IAAI,CAAC,CAAC;QACvB,IAAI,CAAC,IAAI;YAAE,OAAO,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;QACvD,UAAU,CAAC,IAAI,CAAC,CAAC;QACjB,MAAM,KAAK,CAAC,MAAM,CAAC;YAClB,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE;YAC9C,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,OAAO,CAAC,EAAE,CAAC,CAAC;QACZ,UAAU,CAAC,KAAK,CAAC,CAAC;QAClB,OAAO,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IAC3B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
@@ -71,7 +71,7 @@ const WorksProperties = (props) => {
|
|
71
71
|
return (React.createElement(InlineEdit, { defaultValue: work.due ? utcdayjs(work.due) : undefined, content: (v) => work.due ? (React.createElement(UTCShortDate, { className: "properties-value", value: work.due, format: "DD MMM YYYY" })) : (React.createElement("span", { className: "add-info-style" }, "noData")), editor: DateInputEditor, onSave: (date) => {
|
72
72
|
if (isSame(date, work.due))
|
73
73
|
return;
|
74
|
-
state.dueDateEdit(date
|
74
|
+
state.dueDateEdit(date);
|
75
75
|
} }));
|
76
76
|
case "Owner":
|
77
77
|
return (React.createElement(InlineEdit, { defaultValue: "", showEditIcon: true, editable: false, onEditIconClick: () => runInAction(() => (state.ownerEditable = true)), content: (v) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorksProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,kBAEN,MAAM,0DAA0D,CAAC;AAClE,OAAO,QAAQ,MAAM,+BAA+B,CAAC;AACrD,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,aAAa,MAAM,kEAAkE,CAAC;AAC7F,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,UAAU,MAAM,yEAAyE,CAAC;AACjG,OAAO,kBAAkB,MAAM,mDAAmD,CAAC;AACnF,OAAO,mBAAmB,MAAM,2DAA2D,CAAC;AAC5F,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,mDAAmD,CAAC;AACrF,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,iBAAiB,MAAM,+EAA+E,CAAC;AAC9G,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,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