@voplus/morpho-workspace 1.2.0-dev04 → 1.2.0-dev06
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/data/task/interfaces.d.ts +2 -1
- package/es/modules/meeting/MeetingRoutes.js +1 -1
- package/es/modules/meeting/MeetingRoutes.js.map +1 -1
- package/es/modules/meeting/components/MeetingList/index.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js +2 -2
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/SubTaskItem.js +2 -2
- package/es/modules/tasks/components/TaskItem/SubTaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/state.d.ts +1 -1
- package/es/modules/tasks/components/TaskItem/state.js.map +1 -1
- package/es/modules/tasks/components/TaskPropertiesView/index.js +2 -2
- package/es/modules/tasks/components/TaskPropertiesView/index.js.map +1 -1
- package/es/modules/tasks/components/TaskQuickViewDialog/index.js +2 -2
- package/es/modules/tasks/components/TaskQuickViewDialog/index.js.map +1 -1
- package/es/modules/tasks/controls/TaskStatusLabel/index.d.ts +10 -0
- package/es/modules/tasks/controls/TaskStatusLabel/index.js +7 -0
- package/es/modules/tasks/controls/TaskStatusLabel/index.js.map +1 -0
- package/es/modules/tasks/controls/TaskStatusLabel/index.less +33 -0
- package/es/modules/tasks/pages/TaskTabView/index.js +2 -2
- package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -1
- package/package.json +3 -3
@@ -7,6 +7,7 @@ export interface IContactAvatar {
|
|
7
7
|
/** avatar image url */
|
8
8
|
avatarUrl: string;
|
9
9
|
}
|
10
|
+
export declare type TaskStatus = "NotStarted" | "Progress" | "Done" | "Pending" | "Closed";
|
10
11
|
export interface ITask extends IDocument {
|
11
12
|
/** Number of estimated hours to complete the task. */
|
12
13
|
estimatedHours?: number;
|
@@ -16,7 +17,7 @@ export interface ITask extends IDocument {
|
|
16
17
|
dueDate?: Date;
|
17
18
|
/** Id of the parent. */
|
18
19
|
parentId: string;
|
19
|
-
taskStatus:
|
20
|
+
taskStatus: TaskStatus;
|
20
21
|
/** Number of Subtasks of the task */
|
21
22
|
tasks?: number;
|
22
23
|
/** Number of comments */
|
@@ -13,7 +13,7 @@ const MeetingRoutes = () => {
|
|
13
13
|
const Routes = {
|
14
14
|
MeetingList: {
|
15
15
|
route: "/meetings/:id?",
|
16
|
-
tabPattern: RegExp("/meetings"),
|
16
|
+
tabPattern: RegExp("/meetings/[^/]+"),
|
17
17
|
getUrl: (id) => `/meetings${id ? "/" + id : ""}`,
|
18
18
|
component: MeetingListView,
|
19
19
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MeetingRoutes.js","sourceRoot":"","sources":["../../../src/modules/meeting/MeetingRoutes.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,eAAe,MAAM,yBAAyB,CAAC;AACtD,OAAO,gBAAgB,MAAM,0BAA0B,CAAC;AACxD,OAAO,cAAc,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,aAAa,GAAG,GAAG,EAAE;IAC1B,OAAO,CACN,oBAAC,MAAM;QACN,oBAAC,KAAK,IACL,IAAI,EAAE,MAAM,CAAC,WAAW,CAAC,KAAK,EAC9B,KAAK,EAAE,IAAI,EACX,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC,SAAS,GACtC;QACF,oBAAC,KAAK,IAAC,IAAI,EAAE,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,OAAO,CAAC,SAAS,GAAI;QACvF,oBAAC,KAAK,IACL,IAAI,EAAE,MAAM,CAAC,YAAY,CAAC,KAAK,EAC/B,KAAK,EAAE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,EAAE,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE;QACzD,SAAS,EAAE,eAAe;KAC1B;IACD,OAAO,EAAE;QACR,KAAK,EAAE,cAAc;QACrB,UAAU,EAAE,MAAM,CAAC,gBAAgB,CAAC;QACpC,MAAM,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,YAAY,EAAE,EAAE;QACxC,SAAS,EAAE,cAAc;KACzB;IACD,YAAY,EAAE;QACb,KAAK,EAAE,oBAAoB;QAC3B,UAAU,EAAE,MAAM,CAAC,gBAAgB,CAAC;QACpC,MAAM,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,kBAAkB,EAAE,EAAE;QAC9C,SAAS,EAAE,gBAAgB;KAC3B;IAED,SAAS,EAAE,GAAG,EAAE;QACf,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;YACtB,IAAI,EAAE,SAAS;YACf,cAAc,EAAE,MAAM,CAAC,OAAO,CAAC,UAAU;YACzC,SAAS,EAAE,oBAAC,aAAa,OAAG;SAC5B,CAAC,CAAC;QACH,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;YACtB,IAAI,EAAE,eAAe;YACrB,cAAc,EAAE,MAAM,CAAC,YAAY,CAAC,UAAU;YAC9C,SAAS,EAAE,oBAAC,aAAa,OAAG;SAC5B,CAAC,CAAC;QACH,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;YACtB,IAAI,EAAE,cAAc;YACpB,cAAc,EAAE,MAAM,CAAC,WAAW,CAAC,UAAU;YAC7C,SAAS,EAAE,oBAAC,aAAa,OAAG;SAC5B,CAAC,CAAC;IACJ,CAAC;CACD,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,
|
1
|
+
{"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AAY;oBACzB,oBAAoB,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE;oBAC1C,YAAY,EAAE,QAAQ;oBACtB,WAAW,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE;iBAClE,EACD,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;gBAEnC,oBAAC,WAAW,IAAC,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC,cAAc,EAAE,MAAM,EAAE,CAAC,CAAC,QAAQ,GAAI,CAC5D,CACpB,GACA;QAED,CAAC,CAAC,OAAO,IAAI,CACb,oBAAC,cAAc,IAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,QAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAAI,CAChF,CACyB,CAC3B,CAAC,CAAC;IACH,SAAS,KAAK;QACb,IAAI,CAAC,KAAK,CAAC,cAAc;YAAE,OAAO;QAClC,UAAU,CAAC,IAAI,CAAC,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
|
@@ -7,10 +7,10 @@ import { useTask, useTaskStore } from "../../../../data/task";
|
|
7
7
|
import AvatarList from "@voplus/morpho-document/es/components/AvatarList";
|
8
8
|
import DataIconBar from "@voplus/morpho-document/es/controls/DataIconBar";
|
9
9
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
10
|
-
import DocumentStatusLabel from "@voplus/morpho-document/es/controls/DocumentStatusLabel";
|
11
10
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
12
11
|
import FlagIcon from "@voplus/morpho-document/es/controls/FlagIcon";
|
13
12
|
import TaskAnalyticsDataIcon from "../../reports/TaskAnalyticsDataIcon";
|
13
|
+
import TaskStatusLabel from "../../controls/TaskStatusLabel";
|
14
14
|
import moment from "moment";
|
15
15
|
import { observe } from "@voplus/morpho-ui";
|
16
16
|
import { useApplicationContext } from "@voplus/morpho-data";
|
@@ -38,7 +38,7 @@ const DefaultTaskItem = (props) => {
|
|
38
38
|
React.createElement(CommentDataIcon, { id: id }),
|
39
39
|
React.createElement(UserQuickIcon, { id: id })),
|
40
40
|
React.createElement(TaskAnalyticsDataIcon, { id: id, className: "margin-left-10" }),
|
41
|
-
React.createElement(AvatarList, { organizationId: user.info.organizationId, editable: false, list: [...(task.members || []), ...(task.childMembers || [])] })), tools: React.createElement(
|
41
|
+
React.createElement(AvatarList, { organizationId: user.info.organizationId, editable: false, list: [...(task.members || []), ...(task.childMembers || [])] })), tools: React.createElement(TaskStatusLabel, { status: taskStatus, editable: !task.readonly, onChange: (TaskStatus) => {
|
42
42
|
setTaskStatus(TaskStatus);
|
43
43
|
taskStore.edit(task.id, {
|
44
44
|
data: { TaskStatus },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DefaultTaskItem.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskItem/DefaultTaskItem.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAC;AAEhC,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,
|
1
|
+
{"version":3,"file":"DefaultTaskItem.js","sourceRoot":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AAI,CACZ;gBACd,oBAAC,qBAAqB,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAC,gBAAgB,GAAG;gBAC5D,oBAAC,UAAU,IACV,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EACxC,QAAQ,EAAE,KAAK,EACf,IAAI,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,IAAI,EAAE,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,YAAY,IAAI,EAAE,CAAC,CAAC,GAC5D,CACc,EAElB,KAAK,EACJ,oBAAC,eAAe,IACf,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,CAAC,IAAI,CAAC,QAAQ,EACxB,QAAQ,EAAE,CAAC,UAAU,EAAE,EAAE;oBACxB,aAAa,CAAC,UAAU,CAAC,CAAC;oBAC1B,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;wBACvB,IAAI,EAAE,EAAE,UAAU,EAAE;wBACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE;4BACvB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;4BAC7B,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;wBAChC,CAAC;qBACD,CAAC,CAAC;gBACJ,CAAC,GACA,IAEC,KAAK,CAAC,WAAW,EACpB,CACF,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
@@ -9,11 +9,11 @@ import { useTask, useTaskStore } from "../../../../data/task";
|
|
9
9
|
import AvatarList from "@voplus/morpho-document/es/components/AvatarList";
|
10
10
|
import DataIconBar from "@voplus/morpho-document/es/controls/DataIconBar";
|
11
11
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
12
|
-
import DocumentStatusLabel from "@voplus/morpho-document/es/controls/DocumentStatusLabel";
|
13
12
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
14
13
|
import FlagIcon from "@voplus/morpho-document/es/controls/FlagIcon";
|
15
14
|
import TaskAnalyticsDataIcon from "../../reports/TaskAnalyticsDataIcon";
|
16
15
|
import TaskEstimatedTime from "../TaskEstimatedTime";
|
16
|
+
import TaskStatusLabel from "../../controls/TaskStatusLabel";
|
17
17
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
18
18
|
import classnames from "classnames";
|
19
19
|
import { observe } from "@voplus/morpho-ui";
|
@@ -48,7 +48,7 @@ const SubTaskItem = (props) => {
|
|
48
48
|
React.createElement(Button, { shape: "circle", onClick: () => state.undo() },
|
49
49
|
React.createElement(FAIcon, { icon: faUndo })),
|
50
50
|
React.createElement(Button, { type: "primary", ghost: true, shape: "circle", disabled: !state.hasChanges, loading: state.loading, className: "margin-left-10", onClick: () => state.save() },
|
51
|
-
React.createElement(FAIcon, { icon: faSave })))) : (React.createElement(
|
51
|
+
React.createElement(FAIcon, { icon: faSave })))) : (React.createElement(TaskStatusLabel, { status: state.task.taskStatus, editable: !state.task.readonly, onChange: (TaskStatus) => state.onEdit(TaskStatus), className: classnames("task-status-label", { hide: state.isHover }) })),
|
52
52
|
React.createElement("div", { className: classnames("hover-operate-icon", {
|
53
53
|
show: state.isHover,
|
54
54
|
}) },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SubTaskItem.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskItem/SubTaskItem.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAE5B,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,E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C,oBAAoB,EAAE;oBAC3C,IAAI,EAAE,KAAK,CAAC,OAAO;iBACnB,CAAC;gBAEF,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC7C,oBAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,GAAG,EAAE,UAAU,EAAE,EAAE,GAAI;oBAC3C,oBAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,QAAQ,EAAE,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,SAAS,EAAE,GAAI;oBACtF,oBAAC,OAAO,IAAC,IAAI,EAAC,QAAQ,GAAG,CAChB,CACL,CACU,GAEjB,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
@@ -42,7 +42,7 @@ export declare class State {
|
|
42
42
|
onDelete: () => Promise<void>;
|
43
43
|
undo(): void;
|
44
44
|
onChange: (ids: string[], members: IUnit[]) => Promise<void>;
|
45
|
-
onEdit(TaskStatus:
|
45
|
+
onEdit(TaskStatus: string): Promise<void>;
|
46
46
|
get childMembers(): {
|
47
47
|
disabled: boolean;
|
48
48
|
id: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskItem/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAM3C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAcvC,MAAM,OAAO,KAAK;IAqBjB,YAA2B,EAAU,EAAU,SAAoB;;;;;mBAAxC;;;;;;mBAAoB;;QApB/C,qBAAqB;QACT;;;;;WAAmB;QAC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AE,CAAC;QACnC,MAAM,YAAY,GAAG;YACpB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;YACtB,GAAG,EAAE,IAAI,CAAC,GAAG;SACb,CAAC;QACF,OAAO,CAAC,OAAO,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;IAC7C,CAAC;CACD;AAzGY;IAAX,UAAU;mCAAoB;AAEnB;IAAX,UAAU;kCAA2B;AAE1B;IAAX,UAAU;sCAA4B;AAE3B;IAAX,UAAU;mCAAkB;AAEjB;IAAX,UAAU;uCAA6B;AAE5B;IAAX,UAAU;6CAA2B;AAE1B;IAAX,UAAU;uCAAyB;AAExB;IAAX,UAAU;sCAAwB;AACvB;IAAX,UAAU;wCAAuB;AAEtB;IAAX,UAAU;sCAAwB;AAOnC;IADC,MAAM;wCAML;AAGF;IADC,MAAM;mCAUL;AAIF;IADC,MAAM;uCAGL;AAIF;IAFC,MAAM;iCAKN;AAED;IADC,MAAM;uCASL;AAGF;IAFC,MAAM;mCAYN;AAGD;IADC,QAAQ;yCAQR;AAED;IADC,QAAQ;wCAGR;AAGD;IADC,QAAQ;uCAWR"}
|
@@ -8,11 +8,11 @@ import AvatarList from "@voplus/morpho-document/es/components/AvatarList";
|
|
8
8
|
import DataIconBar from "@voplus/morpho-document/es/controls/DataIconBar";
|
9
9
|
import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEditor";
|
10
10
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
11
|
-
import DocumentStatusLabel from "@voplus/morpho-document/es/controls/DocumentStatusLabel";
|
12
11
|
import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
|
13
12
|
import SubTaskList from "../SubTaskList";
|
14
13
|
import TaskAnalyticsDataIcon from "../../reports/TaskAnalyticsDataIcon";
|
15
14
|
import TaskEstimatedTime from "../TaskEstimatedTime";
|
15
|
+
import TaskStatusLabel from "../../controls/TaskStatusLabel";
|
16
16
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
17
17
|
import { observe } from "@voplus/morpho-ui";
|
18
18
|
import { useApplicationContext } from "@voplus/morpho-data";
|
@@ -51,7 +51,7 @@ const TaskPropertiesView = (props) => {
|
|
51
51
|
React.createElement(Reload, { action: onReload }),
|
52
52
|
React.createElement(Open, { url: `/tasks/${id}` }),
|
53
53
|
React.createElement(Archive, null))),
|
54
|
-
React.createElement(
|
54
|
+
React.createElement(TaskStatusLabel, { status: taskStatus, editable: !task.readonly, onChange: (TaskStatus) => onEdit(TaskStatus), className: "margin-top-10" })), descriptionVisible: false }),
|
55
55
|
React.createElement(DocumentTabs, { id: id, exclude: ["Task"], details: React.createElement("div", { className: "task-properties-view" },
|
56
56
|
task.loading ? (React.createElement("div", { className: "task-description" },
|
57
57
|
React.createElement(Skeleton, { active: true }),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/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/es/components/AvatarList";
|
6
6
|
import DataIconBar from "@voplus/morpho-document/es/controls/DataIconBar";
|
7
7
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
8
|
-
import DocumentStatusLabel from "@voplus/morpho-document/es/controls/DocumentStatusLabel";
|
9
8
|
import QuickViewDialog from "@voplus/morpho-document/es/components/QuickViewDialog";
|
10
9
|
import TaskAnalyticsDataIcon from "../../reports/TaskAnalyticsDataIcon";
|
11
10
|
import TaskDescription from "../TaskDescription";
|
12
11
|
import TaskEstimatedTime from "../TaskEstimatedTime";
|
12
|
+
import TaskStatusLabel from "../../controls/TaskStatusLabel";
|
13
13
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
14
14
|
import { message } from "@voplus/antd";
|
15
15
|
import { observe } from "@voplus/morpho-ui";
|
@@ -50,7 +50,7 @@ const TaskQuickViewDialog = (props) => {
|
|
50
50
|
React.createElement(Reload, { action: onReload }),
|
51
51
|
React.createElement(Open, { url: `/tasks/${id}` }),
|
52
52
|
React.createElement(Archive, null)),
|
53
|
-
React.createElement(
|
53
|
+
React.createElement(TaskStatusLabel, { status: taskStatus, editable: !task.readonly, onChange: (TaskStatus) => onEdit(TaskStatus), className: "margin-top-5" })))) }, loaded && React.createElement(TaskDescription, { id: props.id }))));
|
54
54
|
/** reload data */
|
55
55
|
function onReload() {
|
56
56
|
setLoaded(false);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EA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,GAAI;wBAC5B,oBAAC,IAAI,IAAC,GAAG,EAAE,UAAU,EAAE,EAAE,GAAI;wBAC7B,oBAAC,OAAO,OAAG,CACF;oBACV,oBAAC,eAAe,IACf,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,CAAC,IAAI,CAAC,QAAQ,EACxB,QAAQ,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,EAC5C,SAAS,EAAC,cAAc,GACvB,CACG,CACD,CACU,IAGjB,MAAM,IAAI,oBAAC,eAAe,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,CAC3B,CAClB,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;IAED,2BAA2B;IAC3B,KAAK,UAAU,MAAM,CAAC,UAAe;QACpC,aAAa,CAAC,UAAU,CAAC,CAAC;QAC1B,MAAM,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE;YACxB,IAAI,EAAE,EAAE,UAAU,EAAE;YACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE;gBACvB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;gBAC7B,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAChC,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import "./index.less";
|
3
|
+
import { TaskStatus } from "../../../../data/task";
|
4
|
+
declare const TaskStatusLabel: (props: {
|
5
|
+
status: string;
|
6
|
+
editable: boolean;
|
7
|
+
className?: string | undefined;
|
8
|
+
onChange: (status: TaskStatus) => void;
|
9
|
+
}) => JSX.Element;
|
10
|
+
export default TaskStatusLabel;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import "./index.less";
|
2
|
+
import DocumentStatusLabel from "@voplus/morpho-document/es/controls/DocumentStatusLabel";
|
3
|
+
import React from "react";
|
4
|
+
import classnames from "classnames";
|
5
|
+
const TaskStatusLabel = (props) => (React.createElement(DocumentStatusLabel, { className: classnames("task-status", props.className), editable: props.editable, list: ["NotStarted", "Progress", "Done", "Closed"], status: props.status, onChange: props.onChange }));
|
6
|
+
export default TaskStatusLabel;
|
7
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/controls/TaskStatusLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,mBAAmB,MAAM,yDAAyD,CAAC;AAC1F,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,MAAM,eAAe,GAAG,CAAC,KAKxB,EAAE,EAAE,CAAC,CACL,oBAAC,mBAAmB,IACnB,SAAS,EAAE,UAAU,CAAC,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC,EACrD,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,IAAI,EAAE,CAAC,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,CAAC,EAClD,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,QAAQ,EAAE,KAAK,CAAC,QAAQ,GACvB,CACF,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
:global {
|
2
|
+
.task-status {
|
3
|
+
&.not-assigned,
|
4
|
+
&.not-assigned:hover {
|
5
|
+
border: unset;
|
6
|
+
background: #e6ad51;
|
7
|
+
color: white;
|
8
|
+
}
|
9
|
+
&.not-started,
|
10
|
+
&.not-started:hover {
|
11
|
+
border: unset;
|
12
|
+
background: #ff5c86;
|
13
|
+
color: white;
|
14
|
+
}
|
15
|
+
&.progress,
|
16
|
+
&.progress:hover {
|
17
|
+
border: unset;
|
18
|
+
background: #4bd8e0;
|
19
|
+
color: white;
|
20
|
+
}
|
21
|
+
&.closed,
|
22
|
+
&.closed:hover {
|
23
|
+
border: unset;
|
24
|
+
background: lightgrey;
|
25
|
+
}
|
26
|
+
&.pending,
|
27
|
+
&.pending:hover {
|
28
|
+
border: unset;
|
29
|
+
background: #d8e4ff;
|
30
|
+
color: #6b818c;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
@@ -8,12 +8,12 @@ import AvatarList from "@voplus/morpho-document/es/components/AvatarList";
|
|
8
8
|
import DataIconBar from "@voplus/morpho-document/es/controls/DataIconBar";
|
9
9
|
import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEditor";
|
10
10
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
11
|
-
import DocumentStatusLabel from "@voplus/morpho-document/es/controls/DocumentStatusLabel";
|
12
11
|
import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
|
13
12
|
import SubTaskItem from "../../components/TaskItem/SubTaskItem";
|
14
13
|
import SubTaskList from "../../components/SubTaskList";
|
15
14
|
import TaskAnalyticsDataIcon from "../../reports/TaskAnalyticsDataIcon";
|
16
15
|
import TaskEstimatedTime from "../../components/TaskEstimatedTime";
|
16
|
+
import TaskStatusLabel from "../../controls/TaskStatusLabel";
|
17
17
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
18
18
|
import classnames from "classnames";
|
19
19
|
import { observe } from "@voplus/morpho-ui";
|
@@ -84,7 +84,7 @@ const TaskTabView = () => {
|
|
84
84
|
? asideContext.closeAside()
|
85
85
|
: asideContext.openAside(AsideElement, { span: 12 })) }),
|
86
86
|
React.createElement(Archive, null))),
|
87
|
-
React.createElement(
|
87
|
+
React.createElement(TaskStatusLabel, { status: taskStatus, editable: !task.readonly, onChange: (TaskStatus) => onEdit(TaskStatus), className: "margin-top-10" })), descriptionVisible: false }),
|
88
88
|
task.loading ? (React.createElement("div", { className: "task-tab-description" },
|
89
89
|
React.createElement(Skeleton, { active: true }))) : (React.createElement(DescriptionEditor, { id: id, description: task.description, readonly: task.readonly, padding: "0 0 0.75rem 0" })),
|
90
90
|
task.loading ? (React.createElement("div", { className: "task-tab-description" },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/pages/TaskTabView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAO,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEnF,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/pages/TaskTabView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAO,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM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I,CAAC,MAAM,KAAK,UAAU,GAAI,CACnD,CACjB,CACI,CACQ,CACV,CACN,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;IAED,2BAA2B;IAC3B,KAAK,UAAU,MAAM,CAAC,UAAe;QACpC,aAAa,CAAC,UAAU,CAAC,CAAC;QAC1B,MAAM,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE;YACxB,IAAI,EAAE,EAAE,UAAU,EAAE;YACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE;gBACvB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;gBAC7B,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAChC,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@voplus/morpho-workspace",
|
3
|
-
"version": "1.2.0-
|
3
|
+
"version": "1.2.0-dev06",
|
4
4
|
"description": "morpho workspace module",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -38,9 +38,9 @@
|
|
38
38
|
"@voplus/morpho-client-test": "^1.2.0-dev01",
|
39
39
|
"@voplus/morpho-collaboration": "^1.2.0-dev01",
|
40
40
|
"@voplus/morpho-collaboration-action": "^1.2.0-dev01",
|
41
|
-
"@voplus/morpho-config": "^1.2.0-
|
41
|
+
"@voplus/morpho-config": "^1.2.0-dev11",
|
42
42
|
"@voplus/morpho-data": "^1.2.0-dev01",
|
43
|
-
"@voplus/morpho-document": "^1.2.0-
|
43
|
+
"@voplus/morpho-document": "^1.2.0-dev05",
|
44
44
|
"@voplus/morpho-document-core": "^1.2.0-dev01",
|
45
45
|
"@voplus/morpho-form": "^1.2.0-dev01",
|
46
46
|
"@voplus/morpho-org": "^1.2.0-dev01",
|