@voplus/morpho-workspace 10.0.7 → 10.0.9
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/modules/tasks/components/TaskItem/subTaskItem.css +1 -1
- package/es/modules/work/components/WorkItem/index.d.ts +0 -2
- package/es/modules/work/components/WorkItem/index.js +10 -12
- package/es/modules/work/components/WorkItem/index.js.map +1 -1
- package/es/modules/work/components/WorkTableList/TableCell.d.ts +7 -1
- package/es/modules/work/components/WorkTableList/TableCell.js +26 -13
- package/es/modules/work/components/WorkTableList/TableCell.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js +14 -14
- package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js.map +1 -1
- package/package.json +1 -1
- package/es/modules/work/components/WorkItem/index.css +0 -8
|
@@ -5,24 +5,18 @@ import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
|
|
5
5
|
import DocumentItem from "@voplus/morpho-document/es/components/DocumentItem/DocumentItem2";
|
|
6
6
|
import WorkDataIconBar from "../../controls/WorkDataIconBar";
|
|
7
7
|
import WorkStatusLabel from "../../controls/WorkStatusLabel";
|
|
8
|
-
import classnames from "classnames";
|
|
9
8
|
import { FontAwesomeIcon as FAIcon, faAlarmExclamationRegular } from "@voplus/morpho-ui/es/faIcons";
|
|
10
9
|
import { observe } from "@voplus/morpho-ui";
|
|
11
|
-
|
|
10
|
+
const HIDDEN_DUE_STATUSES = new Set(["Done", "Closed", "Rejected"]);
|
|
12
11
|
const WorkItem = (props) => {
|
|
13
12
|
const { id } = props;
|
|
14
13
|
const work = useWork(id);
|
|
15
14
|
const workStore = useWorkStore();
|
|
16
|
-
return observe(() => (React.createElement(DocumentItem, { id: work.id,
|
|
17
|
-
React.createElement("div", {
|
|
18
|
-
React.createElement(WorkStatusLabel, { status: work.workStatus, editable: !work.readonly, onChange:
|
|
19
|
-
work.workStatus
|
|
20
|
-
|
|
21
|
-
work.workStatus !== "Rejected" && (React.createElement(Tooltip, { title: "Due Date" },
|
|
22
|
-
React.createElement("div", { className: "due-date-sub" },
|
|
23
|
-
React.createElement(FAIcon, { icon: faAlarmExclamationRegular }),
|
|
24
|
-
React.createElement("span", { className: "margin-left-5" }, work.due ? React.createElement(UTCShortDate, { value: work.due, format: "DD MMM YYYY" }) : "no data"))))) })));
|
|
25
|
-
function workStatusEdit(workStatus) {
|
|
15
|
+
return observe(() => (React.createElement(DocumentItem, { id: work.id, quickDataBar: React.createElement(WorkDataIconBar, { id: id }), rightContent: React.createElement("div", { className: "work-statue-due-date" },
|
|
16
|
+
React.createElement("div", { className: "text-right" },
|
|
17
|
+
React.createElement(WorkStatusLabel, { status: work.workStatus, editable: !work.readonly, onChange: handleWorkStatusChange })),
|
|
18
|
+
!HIDDEN_DUE_STATUSES.has(work.workStatus) && React.createElement(DueDateDisplay, { due: work.due })) })));
|
|
19
|
+
function handleWorkStatusChange(workStatus) {
|
|
26
20
|
workStore.edit(work.id, {
|
|
27
21
|
data: { workStatus },
|
|
28
22
|
error: (error) => {
|
|
@@ -31,5 +25,9 @@ const WorkItem = (props) => {
|
|
|
31
25
|
});
|
|
32
26
|
}
|
|
33
27
|
};
|
|
28
|
+
const DueDateDisplay = ({ due }) => (React.createElement(Tooltip, { title: "Due Date" },
|
|
29
|
+
React.createElement("div", { className: "h-[15px] text-font-grey text-xs text-center" },
|
|
30
|
+
React.createElement(FAIcon, { icon: faAlarmExclamationRegular }),
|
|
31
|
+
React.createElement("span", { className: "ml-[5px]" }, due ? React.createElement(UTCShortDate, { value: due, format: "DD MMM YYYY" }) : "no data"))));
|
|
34
32
|
export default WorkItem;
|
|
35
33
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,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rowIndex?: number;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare const TableCell: (props: TableCellProps) => React.JSX.Element;
|
|
3
9
|
export default TableCell;
|
|
@@ -1,28 +1,41 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
3
|
import { Open } from "@voplus/morpho-document/es/controls/DocumentToolbar/buttons";
|
|
4
|
-
import { useDocumentStore } from "@voplus/morpho-document-core";
|
|
4
|
+
import { useDocumentStore, useMetaStore } from "@voplus/morpho-document-core";
|
|
5
5
|
import { FontAwesomeIcon as FAIcon, faEllipsisVerticalSolid } from "@voplus/morpho-ui/es/faIcons";
|
|
6
|
-
import { useMetaStore } from "@voplus/morpho-document-core";
|
|
7
6
|
import TagView from "@voplus/morpho-org/es/modules/tag/TagView/TagView2";
|
|
8
7
|
import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
|
|
9
8
|
import DocumentToolbar from "@voplus/morpho-document/es/controls/DocumentToolbar";
|
|
10
9
|
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
|
11
10
|
import WorkDataIconBar from "../../controls/WorkDataIconBar";
|
|
12
11
|
const TableCell = (props) => {
|
|
13
|
-
const { dataIndex, record,
|
|
12
|
+
const { dataIndex, record, children } = props;
|
|
14
13
|
const meta = useMetaStore();
|
|
15
14
|
const store = useDocumentStore();
|
|
16
|
-
return observe(() => {
|
|
17
|
-
return (React.createElement("td", { ...restProps }, dataIndex === "name" ? (React.createElement(React.Fragment, null,
|
|
18
|
-
React.createElement("div", { className: "table-item-name" },
|
|
19
|
-
record.name,
|
|
20
|
-
"-",
|
|
21
|
-
record.number),
|
|
22
|
-
React.createElement("div", { className: "table-item-dataIcon" },
|
|
23
|
-
React.createElement(WorkDataIconBar, { id: record.id })))) : dataIndex === "due" ? (React.createElement(UTCShortDate, { value: record.due, format: "DD MMM YYYY" })) : dataIndex === "tags" ? (React.createElement(TagView, { id: record.id, tags: record.tags, items: store.items, maxCount: 1 })) : dataIndex === "contact" ? (React.createElement(AvatarList, { editable: false, list: record.contact ? [record.contact] : [] })) : dataIndex === "menu" ? (React.createElement(DocumentToolbar, { id: record.id, moreProps: { icon: React.createElement(FAIcon, { icon: faEllipsisVerticalSolid }) } },
|
|
24
|
-
React.createElement(Open, { url: meta.getRoute(record) }))) : (children)));
|
|
25
|
-
});
|
|
15
|
+
return observe(() => (React.createElement("td", { ...props }, renderCell(dataIndex, record, children, { meta, store }))));
|
|
26
16
|
};
|
|
17
|
+
function renderCell(dataIndex, record, children, { meta, store }) {
|
|
18
|
+
switch (dataIndex) {
|
|
19
|
+
case "name":
|
|
20
|
+
return (React.createElement(React.Fragment, null,
|
|
21
|
+
React.createElement("div", { className: "table-item-name" },
|
|
22
|
+
record.name,
|
|
23
|
+
"-",
|
|
24
|
+
record.number),
|
|
25
|
+
React.createElement("div", { className: "table-item-dataIcon" },
|
|
26
|
+
React.createElement(WorkDataIconBar, { id: record.id }))));
|
|
27
|
+
case "due":
|
|
28
|
+
return React.createElement(UTCShortDate, { value: record.due, format: "DD MMM YYYY" });
|
|
29
|
+
case "tags":
|
|
30
|
+
return React.createElement(TagView, { id: record.id, tags: record.tags, items: store.items, maxCount: 1 });
|
|
31
|
+
case "contact":
|
|
32
|
+
return React.createElement(AvatarList, { editable: false, list: record.contact ? [record.contact] : [] });
|
|
33
|
+
case "menu":
|
|
34
|
+
return (React.createElement(DocumentToolbar, { id: record.id, moreProps: { icon: React.createElement(FAIcon, { icon: faEllipsisVerticalSolid }) } },
|
|
35
|
+
React.createElement(Open, { url: meta.getRoute(record) })));
|
|
36
|
+
default:
|
|
37
|
+
return children;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
27
40
|
export default TableCell;
|
|
28
41
|
//# sourceMappingURL=TableCell.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableCell.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkTableList/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,6DAA6D,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"TableCell.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkTableList/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,6DAA6D,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAClG,OAAO,OAAO,MAAM,oDAAoD,CAAC;AACzE,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAS7D,MAAM,SAAS,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC3C,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC9C,MAAM,IAAI,GAAG,YAAY,EAAE,CAAC;IAC5B,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IAEjC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,+BAAQ,KAAK,IAAG,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAM,CAC9E,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,SAAS,UAAU,CAClB,SAA6B,EAC7B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em, ColumnItemCol } from "@voplus/morpho-ui/es/controls/ColumnItem";
|
|
3
3
|
import { useMetaStore } from "@voplus/morpho-document-core";
|
|
4
4
|
import { useWorkSchedule } from "../../../../../data/work-schedule";
|
|
5
|
-
import { observe } from "@voplus/morpho-ui";
|
|
5
|
+
import { observe, useAsideContentContext } from "@voplus/morpho-ui";
|
|
6
6
|
import { FontAwesomeIcon as FAIcon, faIdBadgeRegular } from "@voplus/morpho-ui/es/faIcons";
|
|
7
7
|
import { Open } from "@voplus/morpho-document-core/es/controls/ToolBar/buttons";
|
|
8
8
|
import { Skeleton } from "antd";
|
|
@@ -25,24 +25,24 @@ const WorkScheduleItem = (props) => {
|
|
|
25
25
|
const meta = useMetaStore();
|
|
26
26
|
const [hover, setHover] = useState(false);
|
|
27
27
|
return observe(() => {
|
|
28
|
-
var _a, _b, _c, _d;
|
|
28
|
+
var _a, _b, _c, _d, _e;
|
|
29
|
+
const isAside = (_a = useAsideContentContext()) === null || _a === void 0 ? void 0 : _a.asideContent;
|
|
29
30
|
return (React.createElement(ListItemController, { className: "work-schedule-item", onMouseOver: () => setHover(true), onMouseLeave: () => setHover(false), propertiesView: React.createElement(WorkSchedulePropertiesView, { id: id }), quickViewDialog: (onCancel) => (React.createElement(WorkScheduleQuickViewDialog, { id: id, visible: true, onCancel: onCancel })) },
|
|
30
31
|
React.createElement(Skeleton, { avatar: avatar, paragraph: { rows: 1 }, loading: !workSchedule.loaded },
|
|
31
32
|
React.createElement(ColumnItem, { className: "workSchedule-column-item" },
|
|
32
|
-
React.createElement(ColumnItemCol, { span: 9 },
|
|
33
|
-
React.createElement("div", { className: "work-schedule-item-name" }, `${(
|
|
33
|
+
React.createElement(ColumnItemCol, { span: isAside ? 10 : 9 },
|
|
34
|
+
React.createElement("div", { className: "work-schedule-item-name" }, `${(_b = workSchedule.workType) === null || _b === void 0 ? void 0 : _b.name}`),
|
|
34
35
|
React.createElement("div", { className: "text-sm text-gray-500 margin-right-15" },
|
|
35
|
-
React.createElement(FAIcon, { icon: faIdBadgeRegular, className: "margin-right-5" }), (
|
|
36
|
-
|
|
37
|
-
React.createElement(ColumnItemCol, { span: 4, label: "Work Status" }, ((
|
|
36
|
+
React.createElement(FAIcon, { icon: faIdBadgeRegular, className: "margin-right-5" }), (_c = workSchedule.contact) === null || _c === void 0 ? void 0 :
|
|
37
|
+
_c.name)),
|
|
38
|
+
React.createElement(ColumnItemCol, { span: isAside ? 5 : 4, label: "Work Status" }, ((_d = workSchedule === null || workSchedule === void 0 ? void 0 : workSchedule.work) === null || _d === void 0 ? void 0 : _d.id) &&
|
|
38
39
|
user.can("view", workSchedule.p, { asset: "Work" }) &&
|
|
39
|
-
((
|
|
40
|
-
React.createElement(ColumnItemCol, { span: 4, label: "Owner(s)" },
|
|
41
|
-
React.createElement("div", { className: "work-schedule-item-data-info text-sm text-gray-500 margin-right-15" }, user.can("view", workSchedule.p, { asset: "Owners" }) &&
|
|
42
|
-
? workSchedule.owners.map((item) => (React.createElement("span", { key: item.id, className: "data-icon" },
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
React.createElement(ColumnItemCol, { span: 4, label: workSchedule.schedule ? (React.createElement(UTCShortDate, { value: workSchedule.schedule, className: "text-base text-font-primary font-bold" })) : ("IDENTITY STATUS") },
|
|
40
|
+
((_e = workSchedule.work) === null || _e === void 0 ? void 0 : _e.status) ? (React.createElement(StatusLabel, { size: "small", status: workSchedule.work.status })) : (React.createElement("span", { className: "text-font-primary" }, "__"))),
|
|
41
|
+
!isAside ? (React.createElement(ColumnItemCol, { span: 4, label: "Owner(s)" },
|
|
42
|
+
React.createElement("div", { className: "work-schedule-item-data-info text-sm text-gray-500 margin-right-15" }, user.can("view", workSchedule.p, { asset: "Owners" }) &&
|
|
43
|
+
workSchedule.owners.length ? (workSchedule.owners.map((item) => (React.createElement("span", { key: item.id, className: "data-icon" },
|
|
44
|
+
React.createElement(UnitReference, { unit: item }))))) : (React.createElement("span", { className: "text-font-primary" }, "__"))))) : null,
|
|
45
|
+
React.createElement(ColumnItemCol, { span: isAside ? 6 : 4, label: workSchedule.schedule ? (React.createElement(UTCShortDate, { value: workSchedule.schedule, className: "text-base text-font-primary font-bold" })) : ("IDENTITY STATUS") },
|
|
46
46
|
React.createElement(IdentityStatus, { id: workSchedule.id, className: "gap-2.5!" })),
|
|
47
47
|
React.createElement(ColumnItemCol, { span: 3, align: "flex-end" },
|
|
48
48
|
React.createElement("div", { className: classnames("work-schedule-item-tool", { show: hover }), onClick: (e) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAmB,OAAO,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAmB,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACrF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC3F,OAAO,EAAE,IAAI,EAAE,MAAM,0DAA0D,CAAC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