@voplus/morpho-workspace 6.0.137 → 6.0.139
Sign up to get free protection for your applications and to get access to all the features.
- 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/DndList/index.d.ts +12 -0
- package/es/modules/tasks/components/DndList/index.js +29 -0
- package/es/modules/tasks/components/DndList/index.js.map +1 -0
- package/es/modules/tasks/components/DndList/state.d.ts +4 -0
- package/es/modules/tasks/components/DndList/state.js +17 -0
- package/es/modules/tasks/components/DndList/state.js.map +1 -0
- 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/TaskCheckActiveTab/index.js +16 -11
- package/es/modules/tasks/components/TaskCheckActiveTab/index.js.map +1 -1
- package/es/modules/tasks/components/TaskCheckItem/index.js +44 -29
- package/es/modules/tasks/components/TaskCheckItem/index.js.map +1 -1
- package/es/modules/tasks/components/TaskCheckItem/index.less +14 -0
- 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/package.json +1 -1
- package/es/modules/tasks/components/AddTaskDropdown/index.less +0 -37
@@ -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"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import React from "react";
|
2
|
+
export type SortDnDProps<T extends {
|
3
|
+
id: string;
|
4
|
+
}> = {
|
5
|
+
list: T[];
|
6
|
+
text: (card: T, index: number) => React.ReactNode;
|
7
|
+
moveAfter?: (id: string, afterId: string, list: T[]) => void;
|
8
|
+
};
|
9
|
+
declare const DndList: <T extends {
|
10
|
+
id: string;
|
11
|
+
}>(props: SortDnDProps<T>) => React.JSX.Element;
|
12
|
+
export default DndList;
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import React, { useState } from "react";
|
2
|
+
import { observe } from "@voplus/morpho-ui";
|
3
|
+
import { DndContext } from "@dnd-kit/core";
|
4
|
+
import { State } from "./state";
|
5
|
+
import { arrayMove, SortableContext, verticalListSortingStrategy } from "@dnd-kit/sortable";
|
6
|
+
const DndList = (props) => {
|
7
|
+
const { list, text } = props;
|
8
|
+
const [state] = useState(new State());
|
9
|
+
state.cards = list;
|
10
|
+
return observe(() => {
|
11
|
+
return (React.createElement(DndContext, { onDragEnd: handleDragEnd },
|
12
|
+
React.createElement(SortableContext, { items: state.cards.map((i) => i.id), strategy: verticalListSortingStrategy }, state.cards.map((item, index) => text(item, index)))));
|
13
|
+
});
|
14
|
+
function handleDragEnd({ active, over }) {
|
15
|
+
var _a;
|
16
|
+
if (active.id !== (over === null || over === void 0 ? void 0 : over.id)) {
|
17
|
+
const activeIndex = state.cards.findIndex((i) => i.id === active.id);
|
18
|
+
const overIndex = state.cards.findIndex((i) => i.id === (over === null || over === void 0 ? void 0 : over.id));
|
19
|
+
state.cards = arrayMove(state.cards, activeIndex, overIndex);
|
20
|
+
/** 查找drop card end drag 后的前一个card的id */
|
21
|
+
const index = state.cards.findIndex((i) => i.id === active.id);
|
22
|
+
const afterId = state.cards[index - 1] ? state.cards[index - 1].id : "";
|
23
|
+
/** api 需要用到drop card 完成 drag 位于哪个card 的id */
|
24
|
+
(_a = props.moveAfter) === null || _a === void 0 ? void 0 : _a.call(props, active.id, afterId, state.cards);
|
25
|
+
}
|
26
|
+
}
|
27
|
+
};
|
28
|
+
export default DndList;
|
29
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/DndList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAQ5F,MAAM,OAAO,GAAG,CAA2B,KAAsB,EAAE,EAAE;IACpE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAC7B,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAK,CAAC,CAAC;IACzC,KAAK,CAAC,KAAK,GAAG,IAAI,CAAC;IAEnB,OAAO,OAAO,CAAC,GAAG,EAAE;QACnB,OAAO,CACN,oBAAC,UAAU,IAAC,SAAS,EAAE,aAAa;YACnC,oBAAC,eAAe,IACf,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EACnC,QAAQ,EAAE,2BAA2B,IAEpC,KAAK,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AAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { __decorate } from "tslib";
|
2
|
+
import { makeObservable, observable } from "mobx";
|
3
|
+
export class State {
|
4
|
+
constructor() {
|
5
|
+
Object.defineProperty(this, "cards", {
|
6
|
+
enumerable: true,
|
7
|
+
configurable: true,
|
8
|
+
writable: true,
|
9
|
+
value: void 0
|
10
|
+
});
|
11
|
+
makeObservable(this);
|
12
|
+
}
|
13
|
+
}
|
14
|
+
__decorate([
|
15
|
+
observable
|
16
|
+
], State.prototype, "cards", void 0);
|
17
|
+
//# sourceMappingURL=state.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/DndList/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAU,MAAM,MAAM,CAAC;AAE1D,MAAM,OAAO,KAAK;IACjB;QAImB;;;;;WAAW;QAH7B,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAGD;AADmB;IAAlB,UAAU;oCAAmB"}
|
@@ -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":["../../../../../src/modules/tasks/components/SubTaskList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,EACN,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,YAAY,GACZ,MAAM,yDAAyD,CAAC;AACjE,OAAO,EAEN,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,GACxB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,aAAa,EACb,eAAe,EACf,UAAU,EACV,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAS,iBAAiB,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACtF,OAAO,EACN,eAAe,EACf,sBAAsB,EACtB,YAAY,EACZ,iBAAiB,GACjB,MAAM,2BAA2B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AC,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC;QAC9E,CAAC;QACD,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC;QAC1B,aAAa;QACb,MAAM,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACvB,KAAK,CAAC,YAAY,GAAG,KAAK,CAAC;IAC5B,CAAC;IAED,oBAAoB;IACpB,KAAK,UAAU,SAAS,CAAC,EAAU,EAAE,OAAe;QACnD,MAAM,SAAS,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IACxC,CAAC;IACD,KAAK,UAAU,QAAQ,CAAC,KAAwB;QAC/C,MAAM,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC;IAC3D,CAAC;AACF,CAAC,CAAC;AACF,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"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
3
3
|
import { Skeleton, Collapse, Empty } from "antd";
|
4
|
-
import { useOnNewDocument, useOnDeleteDocument } from "@voplus/morpho-document-core";
|
4
|
+
import { useDocumentStore, useOnNewDocument, useOnDeleteDocument, } from "@voplus/morpho-document-core";
|
5
5
|
import { CaretRightOutlined } from "@ant-design/icons";
|
6
6
|
import TaskCheckItem from "../TaskCheckItem";
|
7
7
|
import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemFrame";
|
@@ -10,9 +10,11 @@ import { State } from "./state";
|
|
10
10
|
import { runInAction } from "mobx";
|
11
11
|
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
12
12
|
import { useTaskListEffect } from "@voplus/morpho-document-core";
|
13
|
+
import DndList from "../DndList";
|
13
14
|
import "./index.less";
|
14
15
|
const TaskCheckActiveTab = (props) => {
|
15
16
|
const { parentId, taskCheckState } = props;
|
17
|
+
const store = useDocumentStore();
|
16
18
|
const [state] = useState(new State());
|
17
19
|
const list = useCreateListDataState({
|
18
20
|
filterDefaults: {
|
@@ -64,36 +66,36 @@ const TaskCheckActiveTab = (props) => {
|
|
64
66
|
items.push({
|
65
67
|
key: "Due",
|
66
68
|
label: "Due",
|
67
|
-
children: (React.createElement(
|
68
|
-
|
69
|
+
children: (React.createElement(DndList, { list: state.dueList, text: (item) => (React.createElement(DocumentItemFrame, { key: item.id },
|
70
|
+
React.createElement(TaskCheckItem, { id: item.id, onChangeDueDate: (date) => state.onChangeDueDate(item, date) }))), moveAfter: moveAfter })),
|
69
71
|
});
|
70
72
|
if (state.todayList.length)
|
71
73
|
items.push({
|
72
74
|
key: "Today",
|
73
75
|
label: "Today",
|
74
|
-
children: (React.createElement(
|
75
|
-
|
76
|
+
children: (React.createElement(DndList, { list: state.todayList, text: (item) => (React.createElement(DocumentItemFrame, { key: item.id },
|
77
|
+
React.createElement(TaskCheckItem, { id: item.id, onChangeDueDate: (date) => state.onChangeDueDate(item, date) }))), moveAfter: moveAfter })),
|
76
78
|
});
|
77
79
|
if (state.tomorrowList.length)
|
78
80
|
items.push({
|
79
81
|
key: "Tomorrow",
|
80
82
|
label: "Tomorrow",
|
81
|
-
children: (React.createElement(
|
82
|
-
|
83
|
+
children: (React.createElement(DndList, { list: state.tomorrowList, text: (item) => (React.createElement(DocumentItemFrame, { key: item.id },
|
84
|
+
React.createElement(TaskCheckItem, { id: item.id, onChangeDueDate: (date) => state.onChangeDueDate(item, date) }))), moveAfter: moveAfter })),
|
83
85
|
});
|
84
86
|
if (state.thisWeekList.length)
|
85
87
|
items.push({
|
86
88
|
key: "This Week",
|
87
89
|
label: "This Week",
|
88
|
-
children: (React.createElement(
|
89
|
-
|
90
|
+
children: (React.createElement(DndList, { list: state.thisWeekList, text: (item) => (React.createElement(DocumentItemFrame, { key: item.id },
|
91
|
+
React.createElement(TaskCheckItem, { id: item.id, onChangeDueDate: (date) => state.onChangeDueDate(item, date) }))), moveAfter: moveAfter })),
|
90
92
|
});
|
91
93
|
if (state.upcomingList.length)
|
92
94
|
items.push({
|
93
95
|
key: "Upcoming",
|
94
96
|
label: "Upcoming",
|
95
|
-
children: (React.createElement(
|
96
|
-
|
97
|
+
children: (React.createElement(DndList, { list: state.upcomingList, text: (item) => (React.createElement(DocumentItemFrame, { key: item.id },
|
98
|
+
React.createElement(TaskCheckItem, { id: item.id, onChangeDueDate: (date) => state.onChangeDueDate(item, date) }))), moveAfter: moveAfter })),
|
97
99
|
});
|
98
100
|
return (React.createElement(ListDataContext.Provider, { value: list },
|
99
101
|
React.createElement("div", { className: "active-tab-task-list" },
|
@@ -101,6 +103,9 @@ const TaskCheckActiveTab = (props) => {
|
|
101
103
|
React.createElement(Collapse, { className: "active-task-collapse", bordered: false, defaultActiveKey: ["Due", "Today", "Tomorrow", "This Week", "Upcoming"], expandIcon: ({ isActive }) => React.createElement(CaretRightOutlined, { rotate: isActive ? 90 : 0 }), items: items }),
|
102
104
|
!items.length && React.createElement(Empty, null)))));
|
103
105
|
});
|
106
|
+
async function moveAfter(id, afterId) {
|
107
|
+
await store.moveAfter(id, afterId);
|
108
|
+
}
|
104
109
|
};
|
105
110
|
export default TaskCheckActiveTab;
|
106
111
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskCheckActiveTab/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,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACjD,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskCheckActiveTab/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,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACjD,OAAO,EAEN,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,GACnB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAE7C,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAE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I,EAAE,EAAE,CAAC,KAAK,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC,GAC3D,CACiB,CACpB,EACD,SAAS,EAAE,SAAS,GACnB,CACF;aACD,CAAC,CAAC;QAEJ,OAAO,CACN,oBAAC,eAAe,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;YACpC,6BAAK,SAAS,EAAC,sBAAsB;gBACpC,oBAAC,QAAQ,IAAC,OAAO,EAAE,IAAI,CAAC,OAAO;oBAC9B,oBAAC,QAAQ,IACR,SAAS,EAAC,sBAAsB,EAChC,QAAQ,EAAE,KAAK,EACf,gBAAgB,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,CAAC,EACvE,UAAU,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,oBAAC,kBAAkB,IAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAI,EAC/E,KAAK,EAAE,KAAK,GACX;oBACD,CAAC,KAAK,CAAC,MAAM,IAAI,oBAAC,KAAK,OAAG,CACjB,CACN,CACoB,CAC3B,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,KAAK,UAAU,SAAS,CAAC,EAAU,EAAE,OAAe;QACnD,MAAM,KAAK,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IACpC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
@@ -8,12 +8,16 @@ import FlagIcon from "@voplus/morpho-document/es/controls/data-icons/FlagIcon";
|
|
8
8
|
import { useTask, useTaskStore, useMetaStore } from "@voplus/morpho-document-core";
|
9
9
|
import dayjs from "dayjs";
|
10
10
|
import { State } from "./state";
|
11
|
+
import { MenuOutlined } from "@ant-design/icons";
|
11
12
|
import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
|
12
13
|
import PresetDatePicker from "@voplus/morpho-ui/es/controls/PresetDatePicker";
|
13
14
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
14
15
|
import { faCalendar } from "@fortawesome/pro-light-svg-icons";
|
15
16
|
import { useApplicationContext } from "@voplus/morpho-data";
|
16
17
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
18
|
+
import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemFrame";
|
19
|
+
import { useSortable } from "@dnd-kit/sortable";
|
20
|
+
import { CSS } from "@dnd-kit/utilities";
|
17
21
|
import "./index.less";
|
18
22
|
const TaskCheckItem = (props) => {
|
19
23
|
const { id, dueDate } = props;
|
@@ -23,43 +27,54 @@ const TaskCheckItem = (props) => {
|
|
23
27
|
const taskStore = useTaskStore();
|
24
28
|
const task = useTask(id);
|
25
29
|
state.update(task);
|
30
|
+
const { attributes, listeners, setNodeRef, setActivatorNodeRef, transform, transition } = useSortable({
|
31
|
+
id: props.id,
|
32
|
+
});
|
33
|
+
const style = {
|
34
|
+
transform: CSS.Transform.toString(transform),
|
35
|
+
transition,
|
36
|
+
marginTop: 8,
|
37
|
+
};
|
26
38
|
return observe(() => {
|
27
39
|
var _a;
|
28
|
-
return (React.createElement(
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
state.openDate =
|
43
|
-
|
44
|
-
data: { DueDate: date ? dayjs(date).format("YYYY-MM-DD") : "" },
|
45
|
-
error: (error) => message.error(error.message),
|
46
|
-
});
|
47
|
-
(_a = props.onChangeDueDate) === null || _a === void 0 ? void 0 : _a.call(props, task.dueDate);
|
48
|
-
}, handleOpenChange: (open) => (state.openDate = open), style: { width: "100%" } }))),
|
49
|
-
React.createElement("div", { className: classnames("hover-operate-icon", { show: state.isHover }) },
|
50
|
-
React.createElement(ToolBar, { id: id, moreProps: { buttonProps: { size: "middle" } } },
|
51
|
-
React.createElement(Open, { size: "middle", url: meta.getRoute(task) }),
|
52
|
-
!dueDate && (React.createElement(Button, { type: "link", key: "dueDate", className: "task-toolbar-dueDate", onClick: () => (state.openToolbarDate = true) },
|
53
|
-
React.createElement(FAIcon, { icon: faCalendar }),
|
54
|
-
React.createElement(PresetDatePicker, { className: "task-toolbar-preset-date-picker", open: state.openToolbarDate, value: task.dueDate ? dayjs(task.dueDate) : undefined, onChange: async (preset, date) => {
|
40
|
+
return (React.createElement("div", { style: style, ref: setNodeRef, ...attributes },
|
41
|
+
React.createElement(DocumentItemFrame, null,
|
42
|
+
React.createElement(DocumentHeader, { id: id, flagVisible: false, tagsVisible: false, quickDataBarVisible: false, className: "task-check-item", clickNameEffect: "default", onMouse: (over) => (state.isHover = over), pre: React.createElement("div", { className: "task-pre" },
|
43
|
+
React.createElement(MenuOutlined, { ref: setActivatorNodeRef, style: { touchAction: "none", cursor: "move" }, className: classnames("task-move", { show: state.isHover }), ...listeners }),
|
44
|
+
React.createElement(Checkbox, { checked: task.taskStatus === "Done", onChange: async (e) => {
|
45
|
+
await taskStore.edit(task.id, {
|
46
|
+
data: { TaskStatus: e.target.checked === true ? "Done" : "Progress" },
|
47
|
+
error: (error) => message.error(error.message),
|
48
|
+
});
|
49
|
+
} }),
|
50
|
+
React.createElement(FlagIcon, { id: task.id, flag: task.flag, editable: !task.readonly })), tools: React.createElement(React.Fragment, null,
|
51
|
+
((_a = task.members) === null || _a === void 0 ? void 0 : _a.length) ? (React.createElement("div", { className: classnames("task-members", { hide: state.isHover }) },
|
52
|
+
React.createElement(AvatarList, { organizationId: user.info.organizationId, maxCount: 3, list: task.members, editable: false }))) : null,
|
53
|
+
dueDate && (React.createElement("span", { className: classnames("task-dueDate", { hide: state.isHover }) },
|
54
|
+
React.createElement("span", { className: classnames("no-dueDate", { open: state.openDate }), onClick: () => (state.openDate = true) }, task.dueDate ? dayjs(task.dueDate).format("DD MMM YYYY") : "No due date"),
|
55
|
+
React.createElement(PresetDatePicker, { className: "task-item-preset-date-picker", open: state.openDate, value: task.dueDate ? dayjs(task.dueDate) : undefined, onChange: async (preset, date) => {
|
55
56
|
var _a;
|
56
|
-
state.
|
57
|
+
state.openDate = false;
|
57
58
|
await taskStore.edit(task.id, {
|
58
59
|
data: { DueDate: date ? dayjs(date).format("YYYY-MM-DD") : "" },
|
59
60
|
error: (error) => message.error(error.message),
|
60
61
|
});
|
61
62
|
(_a = props.onChangeDueDate) === null || _a === void 0 ? void 0 : _a.call(props, task.dueDate);
|
62
|
-
}, handleOpenChange: (open) => (state.
|
63
|
+
}, handleOpenChange: (open) => (state.openDate = open), style: { width: "100%" } }))),
|
64
|
+
React.createElement("div", { className: classnames("hover-operate-icon", { show: state.isHover }) },
|
65
|
+
React.createElement(ToolBar, { id: id, moreProps: { buttonProps: { size: "middle" } } },
|
66
|
+
React.createElement(Open, { size: "middle", url: meta.getRoute(task) }),
|
67
|
+
!dueDate && (React.createElement(Button, { type: "link", key: "dueDate", className: "task-toolbar-dueDate", onClick: () => (state.openToolbarDate = true) },
|
68
|
+
React.createElement(FAIcon, { icon: faCalendar }),
|
69
|
+
React.createElement(PresetDatePicker, { className: "task-toolbar-preset-date-picker", open: state.openToolbarDate, value: task.dueDate ? dayjs(task.dueDate) : undefined, onChange: async (preset, date) => {
|
70
|
+
var _a;
|
71
|
+
state.openToolbarDate = false;
|
72
|
+
await taskStore.edit(task.id, {
|
73
|
+
data: { DueDate: date ? dayjs(date).format("YYYY-MM-DD") : "" },
|
74
|
+
error: (error) => message.error(error.message),
|
75
|
+
});
|
76
|
+
(_a = props.onChangeDueDate) === null || _a === void 0 ? void 0 : _a.call(props, task.dueDate);
|
77
|
+
}, handleOpenChange: (open) => (state.openToolbarDate = open), style: { width: "100%" } })))))) }))));
|
63
78
|
});
|
64
79
|
};
|
65
80
|
export default TaskCheckItem;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskCheckItem/index.tsx"],"names":[],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,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,EACrD,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE;;4CACrC,KAAK,CAAC,eAAe,GAAG,KAAK,CAAC;4CAC9B,MAAM,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;gDAC7B,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE;gDAC/D,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC;6CACrD,CAAC,CAAC;4CACH,MAAA,KAAK,CAAC,eAAe,sDAAG,IAAI,CAAC,OAAO,CAAC,CAAC;wCACvC,CAAC,EACD,gBAAgB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,GAAG,IAAI,CAAC,EAC1D,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,GACvB,CACM,CACT,CACQ,CACL,CACJ,GAEH,CACiB,CACf,CACN,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
@@ -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":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,MAAM,eAAe,GAAG,CAAC,KAAyC,EAAE,EAAE;IACrE,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IAEpB,SAAS,CAAC,GAAG,EAAE;QACd,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;IAErB,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,IAAI,GAAG,OAAO,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7C,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;IAC3D,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,EAAO,CAAC;IAE9D,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,GAA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AAE,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,kBAAkB,CAAC,GAAG,CAAC;QACjF,oBAAC,UAAU,IAAC,QAAQ;YAcnB,oBAAC,WAAW,IACX,QAAQ,EAAE,EAAE,EACZ,QAAQ,EAAE,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/TaskTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,WAAW,MAAM,4DAA4D,CAAC;AACrF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,KAAK,MAAM,6CAA6C,CAAC;AAChE,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAEzC,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,MAAM,QAAQ,GAAG,CAAC,KAA2C,EAAE,EAAE;IAChE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IACjC,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,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChD,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,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G,CAAC,GACnC,CACQ,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
@@ -28,7 +28,7 @@ const WorkTabs = (props) => {
|
|
28
28
|
{
|
29
29
|
key: "Tasks",
|
30
30
|
label: (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,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,EAAE,EAAE,KAAK,EAAC,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAI;SACtF;QACD;YACC,GAAG,EAAE,OAAO;YACZ,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,oBAAC,KAAK,IAAC,EAAE,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,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O;gBACd,QAAQ,EAAE,oBAAC,QAAQ,IAAC,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,GAAI;aAClD;YACD;gBACC,GAAG,EAAE,WAAW;gBAChB,KAAK,EAAE,WAAW;gBAClB,QAAQ,EAAE,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,YA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rF,oBAAC,IAAI,IACJ,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,MAAM,CAAC,qBAAqB,CAAC,EACxC,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE;4BACN;gCACC,GAAG,EAAE,UAAU;gCACf,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;gCACD,QAAQ,EAAE,CACT,oBAAC,QAAQ,IACR,
|
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,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,MAAM,gBAAgB,GAAG,CAAC,KAAqB,EAAE,EAAE;IAClD,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,2BAA2B;IAC3B,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC;IACvD,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,CAA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AS,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAC5D,cAAc,EAAE,CAAC,CAAS,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,GAC7C,CACF;6BACD;4BACD;gCACC,GAAG,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":"A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,GAAG,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,GAAI,EAAE;YAC5E,EAAE,GAAG,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,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,E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,SAAS,GAAI,CACzB,CACH;4CACD,SAAS,EAAE,OAAO,GAAG,qBAAqB;yCAC1C;wCACD;4CACC,GAAG,EAAE,6BAA6B;4CAClC,KAAK,EAAE,mBAAmB;4CAC1B,SAAS,EAAE,OAAO,GAAG,6BAA6B;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,CA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EF;oBACF,oBAAC,KAAK,IAAC,IAAI,EAAE,4BAA4B,EAAE,OAAO,EAAE,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,GAAI,GAAI;oBAC9E,oBAAC,KAAK,IAAC,IAAI,EAAC,GAAG,EAAC,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
|
-
}
|