@voplus/morpho-workspace 6.0.85 → 6.0.87
Sign up to get free protection for your applications and to get access to all the features.
- package/es/data/notification/interfaces.d.ts +1 -1
- package/es/data/notification/types.d.ts +2 -2
- package/es/data/work/interfaces.d.ts +2 -1
- package/es/modules/notification/components/NotificationProperties/index.js +4 -3
- package/es/modules/notification/components/NotificationProperties/index.js.map +1 -1
- package/es/modules/work/components/WorkErrorProperties/index.js +2 -1
- package/es/modules/work/components/WorkErrorProperties/index.js.map +1 -1
- package/es/modules/work/components/WorksProperties/index.js +4 -3
- package/es/modules/work/components/WorksProperties/index.js.map +1 -1
- package/es/modules/work/components/WorksProperties/state.d.ts +2 -1
- package/es/modules/work/components/WorksProperties/state.js +2 -2
- package/es/modules/work/components/WorksProperties/state.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleProperties/index.js +2 -1
- package/es/modules/work/work-schedule/components/WorkScheduleProperties/index.js.map +1 -1
- package/package.json +1 -1
@@ -2,6 +2,7 @@ import { INotification, INewNotification, NotificationStatus } from ".";
|
|
2
2
|
import { LoadOptions, StoreActionOptions } from "@voplus/morpho-data";
|
3
3
|
import { DeleteDocumentOptions } from "@voplus/morpho-document-core";
|
4
4
|
import { FilterOption, PageParameters } from "@voplus/morpho-data/es/types";
|
5
|
+
import dayjs from "dayjs";
|
5
6
|
/** Custom load notification list options type */
|
6
7
|
export type LoadNotificationListOptions = {
|
7
8
|
Includes?: string;
|
@@ -21,8 +22,7 @@ export type LoadNewNotificationOptions = {
|
|
21
22
|
} & LoadOptions<INewNotification>;
|
22
23
|
export type NotificationEditDataOptions = {
|
23
24
|
status?: NotificationStatus;
|
24
|
-
Date?: string;
|
25
|
-
createDate?: string;
|
25
|
+
Date?: dayjs.Dayjs | string;
|
26
26
|
Subject?: string;
|
27
27
|
Channels?: ("Email" | "Instant Message")[];
|
28
28
|
};
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { EditDocumentDataOptions, IDocument } from "@voplus/morpho-document-core";
|
2
2
|
import { StoreActionOptions } from "@voplus/morpho-data";
|
3
|
+
import dayjs from "dayjs";
|
3
4
|
import { ICheckListItem } from "../worktype";
|
4
5
|
export type WorkStatus = "Draft" | "New" | "Rejected" | "Active" | "Closed" | "Done";
|
5
6
|
export interface IWork extends IDocument {
|
@@ -57,7 +58,7 @@ export interface IWorkEditOptions extends EditDocumentDataOptions {
|
|
57
58
|
Checked: boolean;
|
58
59
|
Item: string;
|
59
60
|
}[];
|
60
|
-
DueDate?: string;
|
61
|
+
DueDate?: dayjs.Dayjs | string;
|
61
62
|
OwnerIds?: string[];
|
62
63
|
ContactId?: string;
|
63
64
|
}
|
@@ -6,6 +6,7 @@ import PropertiesSection from "@voplus/morpho-ui/es/controls/PropertiesSection";
|
|
6
6
|
import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
7
7
|
import { Radio } from "antd";
|
8
8
|
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
9
|
+
import { utcdayjs } from "@voplus/morpho-ui/es/controls/UTCDatePicker/state";
|
9
10
|
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
10
11
|
import React from "react";
|
11
12
|
import { Scrollbars } from "react-custom-scrollbars-2";
|
@@ -39,11 +40,11 @@ const NotificationProperties = (props) => {
|
|
39
40
|
React.createElement(Radio, { value: "Email" }, "Email"),
|
40
41
|
React.createElement(Radio, { value: "Instant Message" }, "Instant Message"))) }));
|
41
42
|
case "Date":
|
42
|
-
return (React.createElement(InlineEdit, { defaultValue: notification.
|
43
|
-
if (notification.
|
43
|
+
return (React.createElement(InlineEdit, { defaultValue: notification.date ? utcdayjs(notification.date) : undefined, content: (v) => notification.date ? (React.createElement(UTCShortDate, { className: "properties-value", value: notification.date })) : (React.createElement("span", { className: "add-info-style" }, "Add Date")), editor: DateInputEditor, onSave: (date) => {
|
44
|
+
if (notification.date && dayjs(date).isSame(notification.date, "day"))
|
44
45
|
return;
|
45
46
|
store.newEdit(id, {
|
46
|
-
data: {
|
47
|
+
data: { Date: date !== null && date !== void 0 ? date : "" },
|
47
48
|
});
|
48
49
|
} }));
|
49
50
|
case "Notification Status":
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACvF,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,uBAAuB,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,sBAAsB,GAAG,CAAC,KAK/B,EAAE,EAAE;IACJ,yCAAyC;IACzC,MAAM,OAAO,GAAG,yBAAyB,CAAC;IAE1C,MAAM,EAAE,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,GAAG,KAAK,CAAC;IAE/E,MAAM,YAAY,GAAG,gBAAgB,CAAC,EAAE,CAAC,CAAC;IAC1C,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IAErC,MAAM,SAAS,GAAG,sBAAsB,aAA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AAC,CAAC,CACtB,8BAAM,SAAS,EAAC,kBAAkB,IAAE,YAAY,CAAC,OAAO,CAAQ,CAChE,CAAC,CAAC,CAAC,CACH,8BAAM,SAAS,EAAC,gBAAgB,iBAAkB,CAClD,EAEF,MAAM,EAAE,CAAC,KAAU,EAAE,EAAE,CACtB,KAAK,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAEjE,CACF,CAAC;YACH,KAAK,UAAU;gBACd,OAAO,CACN,oBAAC,UAAU,IACV,YAAY,EAAE,YAAY,CAAC,QAAQ,EACnC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CACd,oBAAC,KAAK,CAAC,KAAK,IACX,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;4BACf,CAAC,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;4BAC/B,KAAK,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;4BAC5E,CAAC,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;wBAClB,CAAC,EACD,KAAK,EAAE,YAAY,CAAC,QAAQ;wBAE5B,oBAAC,KAAK,IAAC,KAAK,EAAC,OAAO,YAAc;wBAClC,oBAAC,KAAK,IAAC,KAAK,EAAC,iBAAiB,sBAAwB,CACzC,CACd,GACA,CACF,CAAC;YACH,KAAK,MAAM;gBACV,OAAO,CACN,oBAAC,UAAU,IACV,YAAY,EAAE,YAAY,CAAC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAC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AAe,EACvB,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;wBAChB,IAAI,YAAY,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC;4BAAE,OAAO;wBAC9E,KAAK,CAAC,OAAO,CAAC,EAAE,EAAE;4BACjB,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,EAAE;yBAC1B,CAAC,CAAC;oBACJ,CAAC,GACA,CACF,CAAC;YACH,KAAK,qBAAqB;gBACzB,OAAO,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAC3B,oBAAC,uBAAuB,IAAC,MAAM,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAI,CACtE,CAAC,CAAC,CAAC,IAAI,CAAC;QACX,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,sBAAsB,CAAC,YAAY,GAAG;IACrC,iBAAiB,EAAE,yBAAyB;IAC5C,sBAAsB,EAAE;QACvB,EAAE,IAAI,EAAE,qBAAqB,EAAE;QAC/B,EAAE,IAAI,EAAE,SAAS,EAAE;QACnB,wBAAwB;QACxB,EAAE,IAAI,EAAE,MAAM,EAAE;KAChB;CACD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
@@ -9,6 +9,7 @@ import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
|
9
9
|
import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
10
10
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
11
11
|
import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
|
12
|
+
import { utcdayjs } from "@voplus/morpho-ui/es/controls/UTCDatePicker/state";
|
12
13
|
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
13
14
|
import WorkErrorMenu from "../../controls/WorkErrorMenu";
|
14
15
|
import SeveritySelect from "../../controls/SeveritySelect";
|
@@ -48,7 +49,7 @@ const WorkErrorProperties = (props) => {
|
|
48
49
|
state.onBulurSeverity();
|
49
50
|
}, onBlur: () => state.onBulurSeverity() })) : workerror.severity ? (React.createElement("span", { className: "properties-value" }, workerror.severity)) : (React.createElement("span", { className: "add-info-style" }, "ADD Severity")), onEditIconClick: () => state.onEditSeverity() }));
|
50
51
|
case "Incident Date":
|
51
|
-
return (React.createElement(InlineEdit, { defaultValue: workerror.incidentDate ?
|
52
|
+
return (React.createElement(InlineEdit, { defaultValue: workerror.incidentDate ? utcdayjs(workerror.incidentDate) : undefined, content: (v) => workerror.incidentDate ? (React.createElement(UTCShortDate, { className: "properties-value", value: workerror.incidentDate })) : (React.createElement("span", { className: "add-info-style" }, "Add Date")), editor: DateInputEditor, onSave: (v) => {
|
52
53
|
// date未变更不保存
|
53
54
|
if (dayjs(v).isSame(workerror.incidentDate, "day"))
|
54
55
|
return;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkErrorProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,IAAI,MAAM,oCAA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YAAY,GAAI,CAC5E,CAAC,CAAC,CAAC,CACH,8BAAM,SAAS,EAAC,gBAAgB,eAAgB,CAChD,EAEF,MAAM,EAAE,eAAe,EACvB,MAAM,EAAE,CAAC,CAAc,EAAE,EAAE;wBAC1B,aAAa;wBACb,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,YAAY,EAAE,KAAK,CAAC;4BAAE,OAAO;wBAC3D,IAAI,CAAC,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC,CAAC;oBAC3B,CAAC,GACA,CACF,CAAC;YACH,KAAK,SAAS;gBACb,OAAO,CACN,oBAAC,UAAU,IACV,IAAI,EAAE,SAAS,CAAC,OAAO,IAAI,EAAE,EAC7B,QAAQ,QACR,UAAU,EAAC,IAAI,EACf,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EACxC,QAAQ,EAAE,CAAC,GAAa,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,GACpD,CACF,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,mBAAmB,CAAC,YAAY,GAAG;IAClC,cAAc,EAAE,uBAAuB;IACvC,aAAa,EAAE,qBAAqB;IACpC,mBAAmB,EAAE;QACpB,EAAE,IAAI,EAAE,MAAM,EAAE;QAChB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,eAAe,EAAE;QACzB,EAAE,IAAI,EAAE,SAAS,EAAE;KACnB;CACD,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React, { useEffect, useMemo } from "react";
|
2
2
|
import { Avatar } from "antd";
|
3
|
-
import { InlineEdit, observe, PropertiesSection
|
3
|
+
import { InlineEdit, observe, PropertiesSection } from "@voplus/morpho-ui";
|
4
4
|
import { useWork, useWorkStore } from "../../../../data/work";
|
5
5
|
import { Scrollbars } from "react-custom-scrollbars-2";
|
6
6
|
import { State } from "./state";
|
@@ -16,11 +16,12 @@ import UnitsSelectDialog from "@voplus/morpho-org/es/components/UnitsSelectDialo
|
|
16
16
|
import AvatarItem from "@voplus/morpho-org/es/components/AvatarList/AvatarItem/LoadedAvatarItem";
|
17
17
|
import ChangeAvatarDialog from "@voplus/morpho-org/es/controls/ChangeAvatarDialog";
|
18
18
|
import DocumentPanelHeader from "@voplus/morpho-document/es/components/DocumentPanelHeader";
|
19
|
+
import { utcdayjs } from "@voplus/morpho-ui/es/controls/UTCDatePicker/state";
|
20
|
+
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
19
21
|
import DocumentReference from "@voplus/morpho-document/es/controls/DocumentReference/LoadedDocumentReference";
|
20
22
|
import WorkStatusLabel from "../../controls/WorkStatusLabel";
|
21
23
|
import classnames from "classnames";
|
22
24
|
import styles from "./index.less";
|
23
|
-
import dayjs from "dayjs";
|
24
25
|
const WorksProperties = (props) => {
|
25
26
|
/** 加class name 为了方便做integration tests */
|
26
27
|
const classId = "work-properties";
|
@@ -67,7 +68,7 @@ const WorksProperties = (props) => {
|
|
67
68
|
case "Document":
|
68
69
|
return ((_a = work.document) === null || _a === void 0 ? void 0 : _a.id) ? React.createElement(DocumentReference, { file: work.document }) : noData;
|
69
70
|
case "Due":
|
70
|
-
return
|
71
|
+
return (React.createElement(InlineEdit, { defaultValue: work.due ? utcdayjs(work.due) : undefined, content: (v) => work.due ? (React.createElement(UTCShortDate, { className: "properties-value", value: work.due, format: "DD MMM YYYY" })) : (React.createElement("span", { className: "add-info-style" }, "noData")), editor: DateInputEditor, onSave: (date) => state.dueDateEdit(date !== null && date !== void 0 ? date : undefined) }));
|
71
72
|
case "Owner":
|
72
73
|
return (React.createElement(InlineEdit, { defaultValue: "", showEditIcon: true, editable: false, onEditIconClick: () => runInAction(() => (state.ownerEditable = true)), content: (v) => {
|
73
74
|
var _a;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorksProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorksProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,kBAEN,MAAM,0DAA0D,CAAC;AAClE,OAAO,QAAQ,MAAM,+BAA+B,CAAC;AACrD,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,aAAa,MAAM,kEAAkE,CAAC;AAC7F,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,UAAU,MAAM,yEAAyE,CAAC;AACjG,OAAO,kBAAkB,MAAM,mDAAmD,CAAC;AACnF,OAAO,mBAAmB,MAAM,2DAA2D,CAAC;AAC5F,OAAO,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC7E,OAAO,eAAe,MAAM,kEAAkE,CAAC;AA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IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI;4BACtC,oBAAC,UAAU,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,GAAI,CACzB,CAChB,CAAC,CACY,CACf,CAAC,CAAC,CAAC,CACH,MAAM,CACN,CAAA;qBAAA,GAED,CACF,CAAC;YACH,KAAK,WAAW;gBACf,OAAO,oBAAC,QAAQ,IAAC,IAAI,EAAE,IAAI,CAAC,QAAS,EAAE,GAAG,EAAE,oBAAoB,MAAA,IAAI,CAAC,QAAQ,0CAAE,EAAE,EAAE,GAAI,CAAC;YACzF,KAAK,QAAQ;gBACZ,OAAO,8BAAM,SAAS,EAAC,kBAAkB,IAAE,IAAI,CAAC,MAAM,CAAQ,CAAC;QACjE,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,CAAC,YAAY,GAAG;IAC9B,SAAS,EAAE,iBAAiB;IAC5B,aAAa,EAAE,qBAAqB;IACpC,cAAc,EAAE;QACf,EAAE,IAAI,EAAE,WAAW,EAAE;QACrB,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClB,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClB,EAAE,IAAI,EAAE,SAAS,EAAE;QACnB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,KAAK,EAAE;QACf,EAAE,IAAI,EAAE,OAAO,EAAE;KACjB;CACD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import dayjs from "dayjs";
|
1
2
|
import { WorkStore } from "../../../../data/work";
|
2
3
|
export declare class State {
|
3
4
|
private id;
|
@@ -10,5 +11,5 @@ export declare class State {
|
|
10
11
|
workStatusEdit(workStatus: string): void;
|
11
12
|
ownerEdit(ids: string[]): Promise<void>;
|
12
13
|
contactEdit(ids: string): Promise<void>;
|
13
|
-
dueDateEdit(date
|
14
|
+
dueDateEdit(date?: dayjs.Dayjs): Promise<void>;
|
14
15
|
}
|
@@ -56,8 +56,8 @@ export class State {
|
|
56
56
|
await this.store.edit(this.id, { data: { ContactId: ids }, error: "message" });
|
57
57
|
this.contactEditable = false;
|
58
58
|
}
|
59
|
-
async dueDateEdit(date
|
60
|
-
await this.store.edit(this.id, { data: { DueDate:
|
59
|
+
async dueDateEdit(date) {
|
60
|
+
await this.store.edit(this.id, { data: { DueDate: date }, error: "message" });
|
61
61
|
this.dueDateEditable = false;
|
62
62
|
}
|
63
63
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorksProperties/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAG1D,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,MAAM,OAAO,KAAK;IAKjB,YAAoB,EAAU,EAAU,KAAgB;QAA5C;;;;mBAAQ,EAAE;WAAQ;QAAE;;;;mBAAQ,KAAK;WAAW;QAJrC;;;;mBAAkB,KAAK;WAAC;QACxB;;;;mBAAgB,KAAK;WAAC;QACtB;;;;mBAAkB,KAAK;WAAC;QAG1C,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAEc,KAAK;QACnB,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC3B,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;IAC9B,CAAC;IAEc,cAAc,CAAC,UAAkB;QAC/C,IAAI,CAAC,KAAK,CAAC,IAAI,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;YAC9B,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;IAEoB,AAAN,KAAK,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@ -11,6 +11,7 @@ import MentionList from "@voplus/morpho-org/es/controls/MentionList";
|
|
11
11
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
12
12
|
import FolderEdit from "@voplus/morpho-document/es/controls/FolderEdit";
|
13
13
|
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
14
|
+
import { utcdayjs } from "@voplus/morpho-ui/es/controls/UTCDatePicker/state";
|
14
15
|
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
15
16
|
import VerificationInformation from "@voplus/morpho-org/es/modules/verification/VerificationInformation";
|
16
17
|
import WorkScheduleMenu from "../../controls/WorkScheduleMenu";
|
@@ -42,7 +43,7 @@ const WorkScheduleProperties = (props) => {
|
|
42
43
|
var _a, _b, _c;
|
43
44
|
switch (item.name) {
|
44
45
|
case "Schedule":
|
45
|
-
return (React.createElement(InlineEdit, { defaultValue: workSchedule.schedule ?
|
46
|
+
return (React.createElement(InlineEdit, { defaultValue: workSchedule.schedule ? utcdayjs(workSchedule.schedule) : undefined, content: (v) => workSchedule.schedule ? (React.createElement(UTCShortDate, { className: "properties-value", value: workSchedule.schedule })) : (React.createElement("span", { className: "add-info-style" }, "Add Schedule")), editor: DateInputEditor, onSave: (date) => {
|
46
47
|
if (workSchedule.schedule && dayjs(date).isSame(workSchedule.schedule, "day"))
|
47
48
|
return;
|
48
49
|
store.edit(props.id, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC1F,OAAO,EAAE,kBAAkB,EAA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
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,aAAa,MAAM,mDAAmD,CAAC;AAC9E,OAAO,WAAW,MAAM,4CAA4C,CAAC;AACrE,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,UAAU,MAAM,gDAAgD,CAAC;AACxE,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC7E,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,uBAAuB,MAAM,oEAAoE,CAAC;AACzG,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,cAAc,MAAM,8CAA8C,CAAC;AAC1E,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,sBAAsB,GAAG,CAAC,KAK/B,EAAE,EAAE;IACJ,yCAAyC;IACzC,MAAM,OAAO,GAAG,yBAAyB,CAAC;IAE1C,MAAM,EAAE,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,GAAG,KAAK,CAAC;IAE/E,MAAM,YAAY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