@voplus/morpho-workspace 6.0.136 → 6.0.138
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 +10 -1
- package/es/modules/board/components/Board/index.js.map +1 -1
- package/es/modules/board/components/Board/index.less +15 -0
- package/es/modules/tasks/components/AddTaskDropdown/index.js +3 -20
- package/es/modules/tasks/components/AddTaskDropdown/index.js.map +1 -1
- package/es/modules/tasks/components/SubTaskList/index.d.ts +1 -1
- package/es/modules/tasks/components/SubTaskList/index.js +60 -49
- package/es/modules/tasks/components/SubTaskList/index.js.map +1 -1
- package/es/modules/tasks/components/SubTaskList/index.less +17 -4
- package/es/modules/tasks/components/SubTaskList/state.d.ts +2 -0
- package/es/modules/tasks/components/SubTaskList/state.js.map +1 -1
- package/es/modules/tasks/components/TaskDescription/index.js +1 -1
- package/es/modules/tasks/components/TaskDescription/index.js.map +1 -1
- package/es/modules/tasks/components/TaskPageHead/index.d.ts +15 -0
- package/es/modules/tasks/components/TaskPageHead/index.js +18 -0
- package/es/modules/tasks/components/TaskPageHead/index.js.map +1 -0
- package/es/modules/tasks/components/TaskTabs/index.js +1 -1
- package/es/modules/tasks/components/TaskTabs/index.js.map +1 -1
- package/es/modules/work/components/WorkTabs/index.js +1 -1
- package/es/modules/work/components/WorkTabs/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypePropertiesTabs/index.js +1 -1
- package/es/modules/work/work-type/components/WorkTypePropertiesTabs/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeTabs/WorkTypeTabsCard.js +1 -1
- package/es/modules/work/work-type/components/WorkTypeTabs/WorkTypeTabsCard.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeTabs/index.js +1 -1
- package/es/modules/work/work-type/components/WorkTypeTabs/index.js.map +1 -1
- package/es/modules/work/work-type/pages/WorkTypePage/index.js +1 -1
- package/es/modules/work/work-type/pages/WorkTypePage/index.js.map +1 -1
- package/es/modules/work/work-type/pages/WorkTypePage/index.less +0 -4
- package/es/modules/workspace/pages/WorkspacePage/index.less +0 -10
- package/package.json +1 -1
- package/es/modules/tasks/components/AddTaskDropdown/index.less +0 -37
@@ -8,14 +8,19 @@ import { useLayout } from "@voplus/morpho-data";
|
|
8
8
|
import { Swiper, SwiperSlide } from "swiper/react";
|
9
9
|
import BoardColumn from "../BoardColumn";
|
10
10
|
import { Observer } from "mobx-react-lite";
|
11
|
+
import { Button } from "antd";
|
12
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
13
|
+
import { faList, faFolderTree } from "@fortawesome/pro-solid-svg-icons";
|
11
14
|
import Panable from "@voplus/morpho-ui/es/controls/Panable";
|
12
15
|
import ListHeaderTool from "@voplus/morpho-ui/es/components/layout/ListView/headers/ListHeaderTool";
|
13
16
|
import { State } from "./state";
|
14
17
|
import { observe } from "@voplus/morpho-ui";
|
15
18
|
import { runInAction } from "mobx";
|
16
19
|
import styles from "./index.less";
|
20
|
+
import { useFrame } from "@voplus/morpho-document/es/components/ViewFrame/ViewFrameContext";
|
17
21
|
import { useDocumentStore } from "@voplus/morpho-document-core";
|
18
22
|
const Board = (props) => {
|
23
|
+
const frame = useFrame();
|
19
24
|
const layout = useLayout();
|
20
25
|
const boards = useBoardColumnStore();
|
21
26
|
const documentStore = useDocumentStore();
|
@@ -73,7 +78,11 @@ const Board = (props) => {
|
|
73
78
|
React.createElement(FlagFilter, { key: "flagFilter" }),
|
74
79
|
React.createElement(DocumentStatusFilter, { key: "documentStatusFilter" }),
|
75
80
|
],
|
76
|
-
}
|
81
|
+
}, rightExtra: () => (React.createElement(React.Fragment, null,
|
82
|
+
React.createElement(Button, { className: "table-view-btn current", onClick: () => frame.navigate(null, "explorer") },
|
83
|
+
React.createElement(FAIcon, { icon: faList })),
|
84
|
+
React.createElement(Button, { className: "tree-view-btn", onClick: () => frame.navigate(null, "tree") },
|
85
|
+
React.createElement(FAIcon, { icon: faFolderTree })))) }),
|
77
86
|
React.createElement("div", { className: "board-list" },
|
78
87
|
React.createElement(DragDropContext, { onDragEnd: (result) => state.onDragEnd(result) }, board)))))));
|
79
88
|
};
|
@@ -1 +1 @@
|
|
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,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,OAAO,MAAM,uCAAuC,CAAC;AAC5D,OAAO,cAAc,MAAM,wEAAwE,CAAC;AACpG,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,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,KAAK,GAAG,CAAC,KAGd,EAAE,EAAE;IACJ,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,MAAM,GAAG,mBAAmB,EAAE,CAAC;IACrC,MAAM,a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CAAC,MAAW,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,IAClE,KAAK,CACW,CACb,CACD,CACoB,CACC,CAC7B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,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,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,OAAO,MAAM,uCAAuC,CAAC;AAC5D,OAAO,cAAc,MAAM,wEAAwE,CAAC;AACpG,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAA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,SAAS,EAAE,MAAM,CAAC,eAAe,CAAC;gBACtC,oBAAC,cAAc,IACd,OAAO,EAAE,KAAK,EACd,eAAe,EAAE;wBAChB,OAAO,EAAE;4BACR,oBAAC,gBAAgB,IAAC,GAAG,EAAC,kBAAkB,GAAG;4BAC3C,oBAAC,UAAU,IAAC,GAAG,EAAC,YAAY,GAAG;4BAC/B,oBAAC,oBAAoB,IAAC,GAAG,EAAC,sBAAsB,GAAG;yBACnD;qBACD,EACD,UAAU,EAAE,GAAG,EAAE,CAAC,CACjB;wBACC,oBAAC,MAAM,IACN,SAAS,EAAC,wBAAwB,EAClC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;4BAE/C,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,GAAI,CAChB;wBACT,oBAAC,MAAM,IAAC,SAAS,EAAC,eAAe,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;4BAC5E,oBAAC,MAAM,IAAC,IAAI,EAAE,YAAY,GAAI,CACtB,CACP,CACH,GACA;gBACF,6BAAK,SAAS,EAAC,YAAY;oBAC1B,oBAAC,eAAe,IAAC,SAAS,EAAE,CAAC,MAAW,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,IAClE,KAAK,CACW,CACb,CACD,CACoB,CACC,CAC7B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
@@ -8,6 +8,21 @@
|
|
8
8
|
.search-header-tool .ant-input-outlined {
|
9
9
|
width: 310px;
|
10
10
|
}
|
11
|
+
.tree-view-btn,
|
12
|
+
.table-view-btn {
|
13
|
+
color: #868686;
|
14
|
+
border: 1px solid #868686;
|
15
|
+
padding: 0 10px;
|
16
|
+
margin-left: 10px;
|
17
|
+
&.current {
|
18
|
+
color: #217eb2;
|
19
|
+
border-color: #217eb2;
|
20
|
+
}
|
21
|
+
&:hover {
|
22
|
+
color: #217eb2;
|
23
|
+
border-color: #217eb2;
|
24
|
+
}
|
25
|
+
}
|
11
26
|
}
|
12
27
|
.board-list {
|
13
28
|
height: 100%;
|
@@ -1,34 +1,17 @@
|
|
1
|
-
import React
|
2
|
-
import {
|
3
|
-
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
1
|
+
import React from "react";
|
2
|
+
import { Menu } from "antd";
|
4
3
|
import { useApplicationContext } from "@voplus/morpho-data";
|
5
|
-
import { faPlus } from "@fortawesome/pro-light-svg-icons";
|
6
4
|
import { observe } from "@voplus/morpho-ui";
|
7
|
-
import classnames from "classnames";
|
8
|
-
import styles from "./index.less";
|
9
5
|
/** taskList 新增 下列更多菜单*/
|
10
6
|
const AddTaskDropdown = (props) => {
|
11
|
-
const [visible, setVisible] = useState(false);
|
12
7
|
const context = useApplicationContext();
|
13
8
|
let menuList = [{ key: "Task", label: "Task" }];
|
14
9
|
context.host.isTest && menuList.push({ key: "Task (Self)", label: "Task (Self) (Test)" });
|
15
|
-
|
16
|
-
const menu = observe(() => (React.createElement("div", { className: styles["task-operate-dropdown"] },
|
17
|
-
React.createElement(Menu, { onClick: (val) => moreOperate(val), items: menuList }))));
|
18
|
-
return observe(() => (React.createElement(React.Fragment, null,
|
19
|
-
React.createElement(Dropdown, { dropdownRender: () => menu, placement: "bottomRight", trigger: ["click"], open: visible, onOpenChange: (visible) => onVisibleChange(visible) },
|
20
|
-
React.createElement("span", { className: classnames("doc-plus-icon", props.className), onClick: (e) => e.preventDefault() },
|
21
|
-
React.createElement(FAIcon, { icon: faPlus, color: props.iconColor }))))));
|
10
|
+
return observe(() => React.createElement(Menu, { onClick: (val) => moreOperate(val), items: menuList }));
|
22
11
|
function moreOperate({ key, domEvent }) {
|
23
12
|
domEvent.stopPropagation();
|
24
|
-
setVisible(false);
|
25
13
|
props.onItemClick(key);
|
26
14
|
}
|
27
|
-
function onVisibleChange(visible) {
|
28
|
-
var _a;
|
29
|
-
setVisible(visible);
|
30
|
-
(_a = props.onCancelClick) === null || _a === void 0 ? void 0 : _a.call(props);
|
31
|
-
}
|
32
15
|
};
|
33
16
|
export default AddTaskDropdown;
|
34
17
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/AddTaskDropdown/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/AddTaskDropdown/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,wBAAwB;AACxB,MAAM,eAAe,GAAG,CAAC,KAMxB,EAAE,EAAE;IACJ,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,IAAI,QAAQ,GAAG,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC;IAChD,OAAO,CAAC,IAAI,CAAC,MAAM,IAAI,QAAQ,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,oBAAoB,EAAE,CAAC,CAAC;IAE1F,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,oBAAC,IAAI,IAAC,OAAO,EAAE,CAAC,GAAQ,EAAE,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,QAAQ,GAAI,CAAC,CAAC;IAEzF,SAAS,WAAW,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAO;QAC1C,QAAQ,CAAC,eAAe,EAAE,CAAC;QAC3B,KAAK,CAAC,WAAY,CAAC,GAAG,CAAC,CAAC;IACzB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,eAAe,CAAC"}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import React, { useEffect } from "react";
|
1
|
+
import React, { useEffect, useState } from "react";
|
2
2
|
import { Badge, message } from "antd";
|
3
|
-
import {
|
3
|
+
import { DeleteButton, SelectButton, LockButton, UnLockButton, } from "@voplus/morpho-ui/es/components/layout/ListView/headers";
|
4
4
|
import { useAutoUpdateListData, useDocumentStore, useOnDeleteDocument, useOnNewDocument, useSelectNodeInfoService, } from "@voplus/morpho-document-core";
|
5
5
|
import { DueDateFilter, StartDateFilter, TaskFilter, TaskStatusFilter, } from "../../../../controls/filters";
|
6
6
|
import { useTaskListEffect, useTaskStore } from "@voplus/morpho-document-core";
|
7
|
-
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
7
|
+
import { ListDataContext, useCreateListDataState, BatchContext, BatchContextState, } from "@voplus/morpho-ui/es/data";
|
8
8
|
import { State } from "./state";
|
9
9
|
import { useApplicationContext, useDeepMemo } from "@voplus/morpho-data";
|
10
10
|
import { FlagFilter } from "@voplus/morpho-document/es/controls/filters";
|
@@ -15,16 +15,19 @@ import AddTaskDropdown from "../AddTaskDropdown";
|
|
15
15
|
import AssignButton from "../../../../controls/AssignButton";
|
16
16
|
import ChildTaskItem from "../TaskItem/ChildTaskItem";
|
17
17
|
import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemFrame";
|
18
|
-
import
|
18
|
+
import List from "@voplus/morpho-ui/es/components/layout/ListView/List";
|
19
19
|
import NewTaskForm from "../NewTaskForm";
|
20
20
|
import SubTaskItem from "../TaskItem/SubTaskItem";
|
21
21
|
import UnitsSelectDialog from "@voplus/morpho-org/es/components/UnitsSelectDialog";
|
22
|
+
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
23
|
+
import TaskPageHead from "../TaskPageHead";
|
22
24
|
import classnames from "classnames";
|
23
25
|
import "./index.less";
|
24
26
|
const SubTaskList = (props) => {
|
25
27
|
var _a;
|
26
|
-
const { readonly, total, header, simple, viewTitle } = props;
|
28
|
+
const { readonly, total, header, simple, headerType, viewTitle } = props;
|
27
29
|
const { user } = useApplicationContext();
|
30
|
+
const [asideContext] = useState(AsideContent.createContext());
|
28
31
|
const select = useSelectNodeInfoService();
|
29
32
|
const documents = useDocumentStore();
|
30
33
|
const taskStore = useTaskStore();
|
@@ -37,6 +40,7 @@ const SubTaskList = (props) => {
|
|
37
40
|
filters: defaultFilter.concat((_a = props.filters) !== null && _a !== void 0 ? _a : []),
|
38
41
|
},
|
39
42
|
}, [props.parentId, props.filters]);
|
43
|
+
const batch = useDeepMemo(() => new BatchContextState(list), [props.parentId]);
|
40
44
|
/** useOnNewDocument, useOnDeleteDocument的sugar syntax 自動更新list. */
|
41
45
|
useAutoUpdateListData(list, (d) => {
|
42
46
|
if ((d.parentId === props.parentId && d.type === "Task") ||
|
@@ -74,45 +78,56 @@ const SubTaskList = (props) => {
|
|
74
78
|
return observe(() => (
|
75
79
|
/** 建立新ListView所需Context. */
|
76
80
|
React.createElement(ListDataContext.Provider, { value: list },
|
77
|
-
React.createElement(
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
81
|
+
React.createElement(BatchContext.Provider, { value: batch },
|
82
|
+
React.createElement(AsideContent, { context: asideContext },
|
83
|
+
React.createElement("div", { style: props.style, className: classnames("sub-task-list", props.className) },
|
84
|
+
!state.showMore && (React.createElement(React.Fragment, null,
|
85
|
+
React.createElement(TaskPageHead, { className: classnames({ "sub-page-head": headerType === "sub" }), listHeaderProps: {
|
86
|
+
visible: !!header,
|
87
|
+
addAble: !readonly,
|
88
|
+
filterViewProps: {
|
89
|
+
columns: [
|
90
|
+
React.createElement(TaskFilter, { id: user.info.unit.id, key: "TaskFilter" }),
|
91
|
+
React.createElement(TaskStatusFilter, { key: "TaskStatusFilter", ...props.taskStatusFilterProps }),
|
92
|
+
React.createElement(FlagFilter, { key: "FlagFilter" }),
|
93
|
+
// <AssigneeViewFilter key="AssigneeViewFilter" />,
|
94
|
+
React.createElement(StartDateFilter, { key: "StartDateFilter" }),
|
95
|
+
React.createElement(DueDateFilter, { key: "DueDateFilter" }),
|
96
|
+
],
|
97
|
+
},
|
98
|
+
addOptions: {
|
99
|
+
btnType: "text",
|
100
|
+
overlay: headerType === "sub" ? (React.createElement(AddTaskDropdown, { id: props.parentId,
|
101
|
+
// onCancelClick={() => (state.addAble = false)}
|
102
|
+
onItemClick: (val) => {
|
103
|
+
state.addAble = true;
|
104
|
+
state.self = val === "Task (Self)";
|
105
|
+
} })) : undefined,
|
106
|
+
},
|
107
|
+
onAdd: () => {
|
108
|
+
if (headerType === "page")
|
109
|
+
asideContext.openAside(React.createElement(NewTaskForm, { showView: true }), { span: 12 });
|
110
|
+
},
|
111
|
+
batchProps: {
|
112
|
+
visible: headerType === "sub" ? true : false,
|
113
|
+
props: {
|
114
|
+
viewTitle: (React.createElement(React.Fragment, null,
|
115
|
+
viewTitle,
|
116
|
+
total && (React.createElement(Badge, { count: state.total, overflowCount: 9999, className: "site-badge-count" })))),
|
117
|
+
buttons: [
|
118
|
+
React.createElement(DeleteButton, { execute: onDelete, key: "DeleteButton", disabled: state.batchLoading }),
|
119
|
+
React.createElement(SelectButton, { execute: onMove, key: "SelectButton", disabled: state.batchLoading }),
|
120
|
+
React.createElement(AssignButton, { execute: onAssign, loading: state.batchLoading, key: "AssignButton" }),
|
121
|
+
React.createElement(LockButton, { execute: onLock, loading: state.batchLoading, key: "LockButton" }),
|
122
|
+
React.createElement(UnLockButton, { execute: onUnLock, loading: state.batchLoading, key: "UnLockButton" }),
|
123
|
+
],
|
124
|
+
},
|
125
|
+
},
|
126
|
+
} }),
|
127
|
+
React.createElement(List, { renderId: props.parentId, moveAfter: moveAfter, renderItem: ({ item, connectDragSource, multiple }) => (React.createElement(DocumentItemFrame, { key: item.id }, simple ? (React.createElement(ChildTaskItem, { id: item.id })) : (React.createElement(SubTaskItem, { id: item.id, multiple: batch.multiple, reload: !!readonly, connectDragSource: connectDragSource })))) }))),
|
128
|
+
state.addAble && (React.createElement(NewTaskForm, { simple: true, self: state.self, parentId: props.parentId, block: true, onSave: () => {
|
129
|
+
state.clearAdd();
|
130
|
+
}, onCancel: () => state.clearAdd(), onShowMore: () => (state.showMore = !state.showMore) }))))),
|
116
131
|
state.batchAssign && (React.createElement(UnitsSelectDialog, { onSelect: onSelectMember, onCancel: () => (state.batchAssign = false) })))));
|
117
132
|
function onMove(state) {
|
118
133
|
if (!state.ids.length) {
|
@@ -166,15 +181,11 @@ const SubTaskList = (props) => {
|
|
166
181
|
async function onDelete(state) {
|
167
182
|
await documents.delete(state.ids, { DeleteChilds: true });
|
168
183
|
}
|
169
|
-
function onFilter(context) {
|
170
|
-
context.paging.Page = 1;
|
171
|
-
context.filter();
|
172
|
-
}
|
173
184
|
};
|
174
185
|
SubTaskList.defaultProps = {
|
175
186
|
header: true,
|
176
187
|
total: true,
|
177
|
-
|
188
|
+
headerType: "sub",
|
178
189
|
};
|
179
190
|
export default SubTaskList;
|
180
191
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/SubTaskList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../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F,WAAW,CAAC,YAAY,GAAG;IAC1B,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,KAAK;CACjB,CAAC;AACF,eAAe,WAAW,CAAC"}
|
@@ -4,10 +4,23 @@
|
|
4
4
|
display: flex;
|
5
5
|
flex-direction: column;
|
6
6
|
height: 100%;
|
7
|
-
.
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
.page-head-dashboard {
|
8
|
+
margin-bottom: 20px;
|
9
|
+
}
|
10
|
+
.sub-page-head {
|
11
|
+
margin-bottom: 0;
|
12
|
+
.page-head-general {
|
13
|
+
border: none;
|
14
|
+
padding-bottom: 5px;
|
15
|
+
}
|
16
|
+
.page-head-content {
|
17
|
+
display: none;
|
18
|
+
}
|
19
|
+
.list-view-header-tool {
|
20
|
+
flex: 1;
|
21
|
+
.site-badge-count {
|
22
|
+
margin-left: 10px;
|
23
|
+
}
|
11
24
|
}
|
12
25
|
}
|
13
26
|
.vo-plus-column-item > div {
|
@@ -16,6 +16,8 @@ export type SubTaskListProps = {
|
|
16
16
|
filters?: FilterOption[];
|
17
17
|
taskStatusFilterProps?: TaskStatusFilterProps;
|
18
18
|
onTotalChanged?: (c: number) => void;
|
19
|
+
/** 头部的显示方式 */
|
20
|
+
headerType?: "page" | "sub";
|
19
21
|
};
|
20
22
|
export declare class State {
|
21
23
|
addAble: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/SubTaskList/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/SubTaskList/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAwB1D,MAAM,OAAO,KAAK;IAejB;QAdmB;;;;mBAAU,KAAK;WAAC;QAChB;;;;mBAAW,KAAK;WAAC;QACjB;;;;mBAAgB,EAAE;WAAC;QACtC,0BAA0B;QACP;;;;mBAAc,KAAK;WAAC;QACvC,4BAA4B;QACT;;;;mBAAqB,EAAE;WAAC;QAC3C,gCAAgC;QACb;;;;mBAAe,KAAK;WAAC;QACxC,oBAAoB;QACD;;;;mBAAQ,CAAC;WAAC;QAC7B,sBAAsB;QACH;;;;;WAAe;QAGjC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAGM,QAAQ;QACd,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;IACvB,CAAC;CACD;AAvBmB;IAAlB,UAAU;sCAAwB;AAChB;IAAlB,UAAU;uCAAyB;AACjB;IAAlB,UAAU;kCAA2B;AAEnB;IAAlB,UAAU;0CAA4B;AAEpB;IAAlB,UAAU;uCAAgC;AAExB;IAAlB,UAAU;2CAA6B;AAErB;IAAlB,UAAU;oCAAkB;AAEV;IAAlB,UAAU;mCAAuB;AAO3B;IADN,MAAM;qCAIN"}
|
@@ -15,7 +15,7 @@ const TaskDescription = (props) => {
|
|
15
15
|
const [scrollParentRef, setScrollParentRef] = useState();
|
16
16
|
return observe(() => (React.createElement("div", { className: styles["sub-task-tab-view"], ref: (ref) => setScrollParentRef(ref) },
|
17
17
|
React.createElement(Scrollbars, { autoHide: true },
|
18
|
-
React.createElement(SubTaskList, { parentId: id, readonly: readonly, scrollParentRef: scrollParentRef })))));
|
18
|
+
React.createElement(SubTaskList, { parentId: id, readonly: readonly, scrollParentRef: scrollParentRef, viewTitle: "Sub-Tasks" })))));
|
19
19
|
};
|
20
20
|
export default TaskDescription;
|
21
21
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskDescription/index.tsx"],"names":[],"mappings":"AA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,QAAQ,EAClB,eAAe,EAAE,eAAe,EAChC,SAAS,EAAC,WAAW,GACpB,CACU,CACR,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,eAAe,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import React, { ReactNode } from "react";
|
2
|
+
import { ListHeaderToolProps } from "@voplus/morpho-ui/es/components/layout/ListView/headers/ListHeaderTool";
|
3
|
+
declare const TaskPageHead: {
|
4
|
+
(props: {
|
5
|
+
className?: string;
|
6
|
+
title?: ReactNode;
|
7
|
+
description?: ReactNode;
|
8
|
+
listHeaderProps?: ListHeaderToolProps;
|
9
|
+
}): React.JSX.Element;
|
10
|
+
defaultProps: {
|
11
|
+
title: string;
|
12
|
+
description: string;
|
13
|
+
};
|
14
|
+
};
|
15
|
+
export default TaskPageHead;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { observe } from "@voplus/morpho-ui";
|
3
|
+
import { faListCheck } from "@fortawesome/pro-solid-svg-icons";
|
4
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
5
|
+
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
6
|
+
const TaskPageHead = (props) => {
|
7
|
+
return observe(() => (React.createElement(PageHeadDashboard, { className: props.className, headerType: "page", avatarIcon: React.createElement(FAIcon, { icon: faListCheck }), title: props.title, description: props.description, listHeaderProps: {
|
8
|
+
visible: true,
|
9
|
+
searchOptions: { placeholder: "Search in task list" },
|
10
|
+
...props.listHeaderProps,
|
11
|
+
} })));
|
12
|
+
};
|
13
|
+
TaskPageHead.defaultProps = {
|
14
|
+
title: "My Task List",
|
15
|
+
description: "Stay on track: manage and prioritize your tasks",
|
16
|
+
};
|
17
|
+
export default TaskPageHead;
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskPageHead/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AAGjG,MAAM,YAAY,GAAG,CAAC,KAKrB,EAAE,EAAE;IACJ,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,iBAAiB,IACjB,SAAS,EAAE,KAAK,CAAC,SAAS,EAC1B,UAAU,EAAC,MAAM,EACjB,UAAU,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,WAAW,GAAI,EACzC,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,WAAW,EAAE,KAAK,CAAC,WAAW,EAC9B,eAAe,EAAE;YAChB,OAAO,EAAE,IAAI;YACb,aAAa,EAAE,EAAE,WAAW,EAAE,qBAAqB,EAAE;YACrD,GAAG,KAAK,CAAC,eAAe;SACxB,GACA,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,YAAY,CAAC,YAAY,GAAG;IAC3B,KAAK,EAAE,cAAc;IACrB,WAAW,EAAE,iDAAiD;CAC9D,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
@@ -42,7 +42,7 @@ const TaskTabs = (props) => {
|
|
42
42
|
{
|
43
43
|
key: "Tasks",
|
44
44
|
label: React.createElement(TasksTotal, { id: id, count: taskTotal }),
|
45
|
-
children: (React.createElement(SubTaskList, { parentId: id,
|
45
|
+
children: (React.createElement(SubTaskList, { parentId: id, total: false, onTotalChanged: (c) => setTaskTotal(c) })),
|
46
46
|
},
|
47
47
|
{
|
48
48
|
key: "Document",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/Task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(React.createElement(TasksTotal, { id: id, count: taskTotal, defaultStatus: [], filters: [{ c: "Template", o: "", l: "And", v1: "" }] })),
|
31
|
-
children: (React.createElement(TaskList, {
|
31
|
+
children: (React.createElement(TaskList, { total: false, parentId: id, filters: [{ c: "Template", o: "", l: "And", v1: "" }], onTotalChanged: (c) => setTaskTotal(c) })),
|
32
32
|
},
|
33
33
|
{
|
34
34
|
key: "RelatedWorks",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,WAAW,MAAM,4DAA4D,CAAC;AACrF,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,KAAK,MAAM,6CAA6C,CAAC;AAChE,OAAO,eAAe,MAAM,oBAAoB,CAAC;AAEjD,OAAO,QAAQ,MAAM,uCAAuC,CAAC;AAC7D,OAAO,UAAU,MAAM,oCAAoC,CAAC;AAC5D,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,MAAM,QAAQ,GAAG,CAAC,KAA0C,EAAE,EAAE;IAC/D,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAChC,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC9C,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,EAAsB,CAAC;IACjE,MAAM,CAAC,SAAS,EAAE,Y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EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,GAAI;SAC3C;KACD,CAAC;IAEF,SAAS;QACR,KAAK,CAAC,OAAO,CAAC;YACb,GAAG,EAAE,YAAY;YACjB,KAAK,EAAE,uDAAe;YACtB,QAAQ,EAAE,oBAAC,eAAe,IAAC,EAAE,EAAE,EAAE,GAAI;SACrC,CAAC,CAAC;IAEJ,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,YAAY,IACZ,EAAE,EAAE,EAAE,EACN,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,OAAO,EAC1C,QAAQ,EAAE,KAAK,EACf,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,GACnC,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
@@ -20,7 +20,7 @@ const WorkTypePropertiesTabs = (props) => {
|
|
20
20
|
{
|
21
21
|
key: "Tasks",
|
22
22
|
label: "Tasks",
|
23
|
-
children: React.createElement(TaskList, { parentId: id,
|
23
|
+
children: React.createElement(TaskList, { parentId: id, total: false }),
|
24
24
|
},
|
25
25
|
{
|
26
26
|
key: "Documents",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypePropertiesTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,WAAW,MAAM,4DAA4D,CAAC;AACrF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,QAAQ,MAAM,0CAA0C,CAAC;AAChE,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,EA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AE,CACT,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,QAAC,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,MAAM,CAAC,GAAI,CACpF;aACD;YACD,EAAE,GAAG,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,GAAI,EAAE;SAC5E,GACA,CACF,CAAC,CAAC;IAEH,YAAY;IACZ,SAAS,QAAQ,CAAC,SAAiB;QAClC,YAAY,CAAC,SAAS,CAAC,CAAC;IACzB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
@@ -29,7 +29,7 @@ const WorkTypeTabsCard = (props) => {
|
|
29
29
|
{
|
30
30
|
key: "TaskList",
|
31
31
|
label: (React.createElement(TasksTotal, { id: id, count: taskTotal, filters: [{ c: "Template", o: "", l: "And", v1: "" }] })),
|
32
|
-
children: (React.createElement(TaskList, {
|
32
|
+
children: (React.createElement(TaskList, { total: false, parentId: id, filters: [{ c: "Template", o: "", l: "And", v1: "" }], onTotalChanged: (c) => setTaskTotal(c) })),
|
33
33
|
},
|
34
34
|
{
|
35
35
|
key: "Document",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WorkTypeTabsCard.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeTabs/WorkTypeTabsCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,QAAQ,MAAM,0CAA0C,CAAC;AAChE,OAAO,UAAU,MAAM,uCAAuC,CAAC;AAC/D,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,OAAO,EAA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AAG,EAAE,UAAU;gCACf,KAAK,EAAE,CACN;;oCAEC,oBAAC,KAAK,IAAC,KAAK,EAAE,SAAS,EAAE,SAAS,EAAC,kBAAkB,GAAG,CACtD,CACH;gCACD,QAAQ,EAAE,CACT,oBAAC,YAAY,IACZ,EAAE,EAAE,EAAE,EACN,QAAQ,QACR,SAAS,EAAE,GAAG,EACd,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,CAAC,MAAM,CAAC,GAChB,CACF;6BACD;4BACD,EAAE,GAAG,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,GAAI,EAAE;yBAC5E,GACA,CACG,CACD,CACD,CACD,CACN,CAAC,CAAC;IAEH,YAAY;IACZ,SAAS,QAAQ,CAAC,SAAiB;QAClC,YAAY,CAAC,SAAS,CAAC,CAAC;IACzB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
@@ -32,7 +32,7 @@ const WorkTypeTabs = (props) => {
|
|
32
32
|
{
|
33
33
|
key: "TaskList",
|
34
34
|
label: (React.createElement(TasksTotal, { id: id, count: taskTotal, filters: [{ c: "Template", o: "", l: "And", v1: "" }] })),
|
35
|
-
children: (React.createElement(TaskList, {
|
35
|
+
children: (React.createElement(TaskList, { total: false, parentId: id, filters: [{ c: "Template", o: "", l: "And", v1: "" }], onTotalChanged: (c) => setTaskTotal(c) })),
|
36
36
|
},
|
37
37
|
{
|
38
38
|
key: "Document",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,WAAW,MAAM,4DAA4D,CA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AAU,EAAE;SAC9D;KACD,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,IAAI,IACJ,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,MAAM,CAAC,gBAAgB,CAAC,EACnC,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE;YACN,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,oBAAC,aAAa,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,EAAE;YAC3E;gBACC,GAAG,EAAE,UAAU;gBACf,KAAK,EAAE,CACN,oBAAC,UAAU,IACV,EAAE,EAAE,EAAE,EACN,KAAK,EAAE,SAAS,EAChB,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,EAAS,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,GAC3D,CACF;gBACD,QAAQ,EAAE,CACT,oBAAC,QAAQ,IACR,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,WAAW,MAAM,4DAA4D,CAAC;AACrF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,QAAQ,MAAM,0CAA0C,CAAC;AAChE,OAAO,UAAU,MAAM,uCAAuC,CAAC;AAC/D,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CA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AAE,QAAQ,EAAE,oBAAC,SAAS,IAAC,EAAE,EAAE,EAAE,GAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;SAC3F,GACA,CACF,CAAC,CAAC;IAEH,YAAY;IACZ,SAAS,QAAQ,CAAC,SAAiB;QAClC,YAAY,CAAC,SAAS,CAAC,CAAC;IACzB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
@@ -166,7 +166,7 @@ const WorkTypePage = () => {
|
|
166
166
|
React.createElement(Route, { path: `activities`, element: React.createElement(ActivityLog, { id: id }) }),
|
167
167
|
React.createElement(Route, { path: `settings/summary`, element: React.createElement(Summary, { id: id }) }),
|
168
168
|
React.createElement(Route, { path: `settings/work-type-tasks`, element: React.createElement(AsideContent, { context: asideContext },
|
169
|
-
React.createElement(TaskList, {
|
169
|
+
React.createElement(TaskList, { parentId: id, headerType: "page", filters: [{ c: "Template", o: "", l: "And", v1: "" }], onTotalChanged: (c) => (state.taskTotals = c) })) }),
|
170
170
|
React.createElement(Route, { path: `settings/documents`, element: React.createElement(DocumentPage, { root: id, exclude: ["Task"], route: `/settings/documents`, tabTitle: worktype.name }) }),
|
171
171
|
React.createElement(Route, { path: `settings/quality-assurance`, element: React.createElement(WorkTypeQA, { id: id }) }),
|
172
172
|
React.createElement(Route, { path: "/", element: React.createElement(Navigate, { to: `dashboard` }) })))))));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/pages/WorkTypePage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvF,OAAO,KAA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6B;yCAClD;qCACD;iCACD;6BACD,GACA,CACU,CACH,CACM;YAClB,6BAAK,SAAS,EAAC,wBAAwB;gBACtC,oBAAC,MAAM;oBACN,oBAAC,KAAK,IAAC,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,oBAAC,SAAS,IAAC,EAAE,EAAE,EAAE,GAAI,GAAI;oBAC5D,oBAAC,KAAK,IACL,IAAI,EAAE,6BAA6B,EACnC,OAAO,EAAE,oBAAC,YAAY,IAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,GAAG,8BAA8B,GAAI,GAClF;oBACF,oBAAC,KAAK,IAAC,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,oBAAC,WAAW,IAAC,EAAE,EAAE,EAAE,GAAI,GAAI;oBAC/D,oBAAC,KAAK,IAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,EAAE,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,GAAI,GAAI;oBACjE,oBAAC,KAAK,IACL,IAAI,EAAE,0BAA0B,EAChC,OAAO,EACN,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAY;4BAClC,oBAAC,QAAQ,IACR,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/pages/WorkTypePage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvF,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC1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OAAO,EAAE,oBAAC,QAAQ,IAAC,EAAE,EAAE,WAAW,GAAI,GAAI,CAClD,CACJ,CACO,CACW,CAC1B,CAAC,CAAC;IAEH,SAAS,OAAO,CAAC,GAAW;QAC3B,GAAG,KAAK,2BAA2B,IAAI,eAAe,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;QACrF,UAAU,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;QAE3B,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;QACrF,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,GAAG,EAAE,CAAC,CAAC;IACtC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/package.json
CHANGED
@@ -1,37 +0,0 @@
|
|
1
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
2
|
-
|
3
|
-
.task-operate-dropdown {
|
4
|
-
display: flex;
|
5
|
-
flex-direction: column;
|
6
|
-
background: #ffffff;
|
7
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
8
|
-
:global {
|
9
|
-
.ant-menu-vertical > .ant-menu-item {
|
10
|
-
height: 36px;
|
11
|
-
line-height: 36px;
|
12
|
-
margin: 0;
|
13
|
-
}
|
14
|
-
.ant-menu-vertical {
|
15
|
-
border-right: none;
|
16
|
-
}
|
17
|
-
.ant-menu-item-selected {
|
18
|
-
color: #000000a6;
|
19
|
-
background: none;
|
20
|
-
}
|
21
|
-
.ant-menu-item-active {
|
22
|
-
color: #000000a6;
|
23
|
-
background: #e6f7ff;
|
24
|
-
}
|
25
|
-
.ant-empty {
|
26
|
-
padding: 10px 0;
|
27
|
-
color: #00000040;
|
28
|
-
.ant-empty-image {
|
29
|
-
width: 100%;
|
30
|
-
height: 30px;
|
31
|
-
font-size: 18px;
|
32
|
-
color: #0000005c;
|
33
|
-
margin: 0;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}
|