@voplus/morpho-workspace 6.0.90 → 6.0.91

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,9 +7,9 @@ export interface IAgenda extends IDocument {
7
7
  }
8
8
  export interface IMeeting extends IDocument {
9
9
  /** Start date of the meeting */
10
- startTime?: Date;
10
+ startTime?: string;
11
11
  /** Due date of the meeting */
12
- endTime?: Date;
12
+ endTime?: string;
13
13
  /** Venue of the meeting */
14
14
  venue?: string;
15
15
  /** Members of the meeting */
@@ -8,9 +8,11 @@ import { useApplicationContext } from "@voplus/morpho-data";
8
8
  import { useMeeting } from "../../../../data/meeting";
9
9
  import { useMetaStore } from "@voplus/morpho-document-core";
10
10
  import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
11
+ import { utcdayjs, forceUTC } from "@voplus/morpho-ui/es/controls/UTCDatePicker/state";
11
12
  import { State } from "./state";
12
13
  import { Tooltip } from "antd";
13
14
  import classnames from "classnames";
15
+ import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
14
16
  import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
15
17
  import DataIconBar from "@voplus/morpho-document/es/controls/DataIconBar";
16
18
  import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
@@ -42,15 +44,19 @@ const MeetingItem = (props) => {
42
44
  meeting.startTime && (React.createElement("div", null,
43
45
  React.createElement("span", { className: "data-icon" },
44
46
  React.createElement(FAIcon, { icon: faClock }),
45
- React.createElement(Tooltip, { title: dayjs(meeting.startTime).format("YYYY-MM-DD HH:mm:ss") +
46
- " to " +
47
- dayjs(meeting.endTime).format("YYYY-MM-DD HH:mm:ss") },
48
- React.createElement("span", null, dayjs(meeting.startTime).format("hh:mm A") +
49
- " to " +
50
- dayjs(meeting.endTime).format("hh:mm A")))),
47
+ React.createElement(Tooltip, { title: React.createElement(React.Fragment, null,
48
+ React.createElement(UTCShortDate, { value: meeting.startTime, format: "YYYY-MM-DD HH:mm:ss" }),
49
+ " to",
50
+ " ",
51
+ React.createElement(UTCShortDate, { value: meeting.endTime, format: "YYYY-MM-DD HH:mm:ss" })) },
52
+ React.createElement("span", null,
53
+ React.createElement(UTCShortDate, { value: meeting.startTime, format: "hh:mm A" }),
54
+ " to",
55
+ " ",
56
+ React.createElement(UTCShortDate, { value: meeting.endTime, format: "hh:mm A" })))),
51
57
  React.createElement("span", { className: "data-icon" },
52
58
  React.createElement(FAIcon, { icon: faStopwatch }),
53
- dayjs(meeting.startTime).from(dayjs(meeting.endTime), true)))),
59
+ forceUTC(utcdayjs(meeting.startTime)).from(forceUTC(utcdayjs(meeting.endTime)), true)))),
54
60
  (meeting.venue || !!meeting.taskNumbers) && (React.createElement("div", null,
55
61
  meeting.venue && (React.createElement("span", { className: "data-icon" },
56
62
  React.createElement(FAIcon, { icon: faMapMarkerAlt }),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AACnG,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACxF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OA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E,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;wBAC9D,oBAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAI;wBACnD,oBAAC,OAAO,IAAC,IAAI,EAAC,QAAQ,GAAG,CAChB,CACL,CACN,CACe,GAEjB,CACF,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
@@ -7,6 +7,8 @@ import { useMeeting, useMeetingStore } from "../../../../data/meeting";
7
7
  import { useApplicationContext } from "@voplus/morpho-data";
8
8
  import { Scrollbars } from "react-custom-scrollbars-2";
9
9
  import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
10
+ import { utcdayjs, forceUTC } from "@voplus/morpho-ui/es/controls/UTCDatePicker/state";
11
+ import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
10
12
  import DocumentProperties from "@voplus/morpho-document/es/components/DocumentProperties";
11
13
  import MeetingTasksProgressDataIcon from "../../controls/MeetingTasksProgressDataIcon";
12
14
  import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
@@ -14,8 +16,10 @@ import Prop from "@voplus/morpho-ui/es/controls/Prop";
14
16
  import DocumentPanelHeader from "@voplus/morpho-document/es/components/DocumentPanelHeader";
15
17
  import relativeTime from "dayjs/plugin/relativeTime";
16
18
  import classnames from "classnames";
19
+ import utc from "dayjs/plugin/utc";
17
20
  import dayjs from "dayjs";
18
21
  dayjs.extend(relativeTime);
22
+ dayjs.extend(utc);
19
23
  const MeetingProperties = (props) => {
20
24
  /** 加class name 为了方便做integration tests */
21
25
  const classId = "meeting-properties";
@@ -42,19 +46,22 @@ const MeetingProperties = (props) => {
42
46
  case "Due Date":
43
47
  return (React.createElement(React.Fragment, null, editable && !meeting.readonly ? (React.createElement("div", { style: { padding: "5px 0" } },
44
48
  React.createElement(DatePicker.RangePicker, { autoFocus: true, showTime: { format: "HH:mm" }, format: "YYYY-MM-DD HH:mm", value: [dayjs(meeting.startTime), dayjs(meeting.endTime)], open: open, onChange: onChangeDate, onOpenChange: onOpenChange, onOk: onOk }))) : (React.createElement("div", null,
45
- React.createElement(Tooltip, { title: meeting.startTime
46
- ? dayjs(meeting.startTime).format("YYYY-MM-DD HH:mm") +
47
- " to " +
48
- dayjs(meeting.endTime).format("YYYY-MM-DD HH:mm")
49
- : "Add Meeting Time" },
49
+ React.createElement(Tooltip, { title: meeting.startTime ? (React.createElement(React.Fragment, null,
50
+ React.createElement(UTCShortDate, { value: meeting.startTime, format: "YYYY-MM-DD HH:mm" }),
51
+ " to",
52
+ " ",
53
+ React.createElement(UTCShortDate, { value: meeting.endTime, format: "YYYY-MM-DD HH:mm" }))) : ("Add Meeting Time") },
50
54
  React.createElement("span", { className: "meeting-clock", onClick: onEditDate },
51
55
  React.createElement(FAIcon, { icon: faClock }),
52
- meeting.startTime ? (React.createElement("span", { className: "properties-value" }, dayjs(meeting.startTime).format(!isAfterNow ? "DD MMM HH:mm" : "hh:mm A") +
53
- " to " +
54
- dayjs(meeting.endTime).format(!isAfterNow ? "DD MMM HH:mm" : "hh:mm nA"))) : (React.createElement("span", { className: "add-info-style" }, "Add Meeting Time")))),
56
+ meeting.startTime ? (React.createElement("span", { className: "properties-value" },
57
+ React.createElement(UTCShortDate, { value: meeting.startTime, format: !isAfterNow ? "DD MMM HH:mm" : "hh:mm A" }),
58
+ " ",
59
+ "to",
60
+ " ",
61
+ React.createElement(UTCShortDate, { value: meeting.endTime, format: !isAfterNow ? "DD MMM HH:mm" : "hh:mm nA" }))) : (React.createElement("span", { className: "add-info-style" }, "Add Meeting Time")))),
55
62
  meeting.startTime && (React.createElement("span", { className: classnames("data-icon", "properties-value") },
56
63
  React.createElement(FAIcon, { icon: faStopwatch }),
57
- dayjs(meeting.startTime).from(dayjs(meeting.endTime), true)))))));
64
+ forceUTC(utcdayjs(meeting.startTime)).from(forceUTC(utcdayjs(meeting.endTime)), true)))))));
58
65
  case "Enter Place":
59
66
  return (React.createElement(InlineEdit, { editable: !meeting.readonly, defaultValue: meeting.venue || "", content: (v) => (React.createElement(React.Fragment, null,
60
67
  React.createElement(FAIcon, { icon: faMapMarkerAlt, className: "margin-right-10" }),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACxF,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,kBAEN,MAAM,0DAA0D,CAAC;AAClE,OAAO,4BAA4B,MAAM,6CAA6C,CAAC;AACvF,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,mBAAmB,MAAM,2DAA2D,CAAC;AAC5F,OAAO,YAAY,MAAM,2BAA2B,CAAC;AACrD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,KAAK,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;AAI3B,MAAM,iBAAiB,GAAG,CAAC,KAU1B,EAAE,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AK,CAAC,SAAS,IAAI,IAAI,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,yBAAyB,CAAC;gBACjF,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,IAAI,IAAI,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,yBAAyB,CAAC;aAC7E;YACD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,OAAO,CAAC,KAAK,CAAC,CAAC;QACf,WAAW,CAAC,KAAK,CAAC,CAAC;IACpB,CAAC;IACD,SAAS,YAAY,CAAC,KAAU,EAAE,UAAoB;QACrD,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QAC3B,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IAC1B,CAAC;IACD,SAAS,UAAU;QAClB,OAAO,CAAC,IAAI,CAAC,CAAC;QACd,WAAW,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC;IACD,SAAS,YAAY,CAAC,IAAa;QAClC,WAAW,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC;AACF,CAAC,CAAC;AAEF,iBAAiB,CAAC,YAAY,GAAG;IAChC,YAAY,EAAE,oBAAoB;IAClC,aAAa,EAAE,qBAAqB;IACpC,iBAAiB,EAAE;QAClB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,SAAS,EAAE;QACnB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,aAAa,EAAE;KACvB;CACD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAW,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,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AE,KAAK,CAAC,KAAK,CAAC,OAAO,IAAI,IAAI,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,yBAAyB,CAAC;aAC7E;YACD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,OAAO,CAAC,KAAK,CAAC,CAAC;QACf,WAAW,CAAC,KAAK,CAAC,CAAC;IACpB,CAAC;IACD,SAAS,YAAY,CAAC,KAAU,EAAE,UAAoB;QACrD,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QAC3B,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IAC1B,CAAC;IACD,SAAS,UAAU;QAClB,OAAO,CAAC,IAAI,CAAC,CAAC;QACd,WAAW,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC;IACD,SAAS,YAAY,CAAC,IAAa;QAClC,WAAW,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC;AACF,CAAC,CAAC;AAEF,iBAAiB,CAAC,YAAY,GAAG;IAChC,YAAY,EAAE,oBAAoB;IAClC,aAAa,EAAE,qBAAqB;IACpC,iBAAiB,EAAE;QAClB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,SAAS,EAAE;QACnB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,aAAa,EAAE;KACvB;CACD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -50,7 +50,7 @@ const WorkErrorProperties = (props) => {
50
50
  case "Incident Date":
51
51
  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
52
  // date未变更不保存
53
- if (workerror.incidentDate && isSame(v, workerror.incidentDate))
53
+ if (isSame(v, workerror.incidentDate))
54
54
  return;
55
55
  save({ IncidentDate: v });
56
56
  } }));
@@ -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,oCAAoC,CAAC;AACtD,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,mDAAmD,CAAC;AACrF,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,aAAa,MAAM,8BAA8B,CAAC;AACzD,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAK7D,MAAM,mBAAmB,GAAG,CAAC,KAW5B,EAAE,EAAE;IACJ,yCAAyC;IACzC,MAAM,OAAO,GAAG,sBAAsB,CAAC;IAEvC,MAAM,EAAE,EAAE,EAAE,aAAa,EAAE,cAAc,EAAE,mBAAmB,EAAE,GAAG,KAAK,CAAC;IACzE,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IACtC,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Aa;wBACb,IAAI,SAAS,CAAC,YAAY,IAAI,MAAM,CAAC,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC;4BAAE,OAAO;wBACxE,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
+ {"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,gCAA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J,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"}
@@ -69,7 +69,7 @@ const WorksProperties = (props) => {
69
69
  return ((_a = work.document) === null || _a === void 0 ? void 0 : _a.id) ? React.createElement(DocumentReference, { file: work.document }) : noData;
70
70
  case "Due":
71
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) => {
72
- if (work.due && isSame(date, work.due))
72
+ if (isSame(date, work.due))
73
73
  return;
74
74
  state.dueDateEdit(date !== null && date !== void 0 ? date : undefined);
75
75
  } }));
@@ -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,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,WA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C9B,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
+ {"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,kB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
44
44
  case "Schedule":
45
45
  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
- if (!workSchedule.schedule && !date)
47
- return;
48
- if (workSchedule.schedule && isSame(date, workSchedule.schedule))
46
+ if (isSame(date, workSchedule.schedule))
49
47
  return;
50
48
  store.edit(props.id, {
51
49
  data: { Schedule: date !== null && date !== void 0 ? date : "" },
@@ -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,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,EAAE,MAAM,mDAAmD,CAAC;AACrF,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/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AQ,EAAE,CAAA,MAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,MAAM,0CAAE,MAAM,EAAC,CAAC,CAAC,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAClE,QAAQ,EAAE,CACT,IAGG,EACF,EAAE;wBACH,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;wBACrC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE;4BACd,IAAI,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE;4BAC5B,KAAK,EAAE,SAAS;yBAChB,CAAC,CAAC;oBACJ,CAAC,GACA,CACF,CAAC;QACJ,CAAC;IACF,CAAC;IAED,SAAS,cAAc;QACtB,mBAAmB,CAAC,IAAI,CAAC,CAAC;QAC1B,uBAAuB,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC;IAED,SAAS,eAAe;QACvB,uBAAuB,CAAC,IAAI,CAAC,CAAC;QAC9B,mBAAmB,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;AACF,CAAC,CAAC;AAEF,sBAAsB,CAAC,YAAY,GAAG;IACrC,iBAAiB,EAAE,yBAAyB;IAC5C,sBAAsB,EAAE;QACvB,EAAE,IAAI,EAAE,OAAO,EAAE;QACjB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,MAAM,EAAE;KAChB;CACD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
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,MA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AAmB,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;AACF,CAAC,CAAC;AAEF,sBAAsB,CAAC,YAAY,GAAG;IACrC,iBAAiB,EAAE,yBAAyB;IAC5C,sBAAsB,EAAE;QACvB,EAAE,IAAI,EAAE,OAAO,EAAE;QACjB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,MAAM,EAAE;KAChB;CACD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.90",
3
+ "version": "6.0.91",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",