@voplus/morpho-workspace 6.0.24 → 6.0.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. package/es/components/AutoSequenceDialog/Tip.js.map +1 -0
  2. package/es/{modules/work/work-type/components → components}/AutoSequenceDialog/index.d.ts +3 -6
  3. package/es/{modules/work/work-type/components → components}/AutoSequenceDialog/index.js +7 -13
  4. package/es/components/AutoSequenceDialog/index.js.map +1 -0
  5. package/es/{modules/work/work-type/components → components}/AutoSequenceDialog/state.d.ts +2 -2
  6. package/es/{modules/work/work-type/components → components}/AutoSequenceDialog/state.js +5 -5
  7. package/es/components/AutoSequenceDialog/state.js.map +1 -0
  8. package/es/components/AutoSequenceLink/index.d.ts +7 -0
  9. package/es/components/AutoSequenceLink/index.js +17 -0
  10. package/es/components/AutoSequenceLink/index.js.map +1 -0
  11. package/es/components/TeamTaskList/index.js +8 -8
  12. package/es/components/TeamTaskList/index.js.map +1 -1
  13. package/es/modules/meeting/components/MeetingHeader/index.js +2 -3
  14. package/es/modules/meeting/components/MeetingHeader/index.js.map +1 -1
  15. package/es/modules/meeting/components/MeetingItem/index.d.ts +1 -1
  16. package/es/modules/meeting/components/MeetingItem/index.js +18 -13
  17. package/es/modules/meeting/components/MeetingItem/index.js.map +1 -1
  18. package/es/modules/meeting/components/MeetingProperties/index.js +2 -3
  19. package/es/modules/meeting/components/MeetingProperties/index.js.map +1 -1
  20. package/es/modules/meeting/pages/MeetingPrintView/index.js +1 -2
  21. package/es/modules/meeting/pages/MeetingPrintView/index.js.map +1 -1
  22. package/es/modules/space/components/Tasks/index.js +8 -8
  23. package/es/modules/space/components/Tasks/index.js.map +1 -1
  24. package/es/modules/space/pages/MySpace/taskState.js +8 -8
  25. package/es/modules/space/pages/MySpace/taskState.js.map +1 -1
  26. package/es/modules/space/pages/MySpace/workState.js +8 -8
  27. package/es/modules/space/pages/MySpace/workState.js.map +1 -1
  28. package/es/modules/tasks/components/TaskEstimatedTime/index.js +1 -2
  29. package/es/modules/tasks/components/TaskEstimatedTime/index.js.map +1 -1
  30. package/es/modules/tasks/reports/MemberEstimatedDurationCard/state.js +3 -3
  31. package/es/modules/tasks/reports/MemberEstimatedDurationCard/state.js.map +1 -1
  32. package/es/modules/work/components/WorkCashReport/index.js +1 -1
  33. package/es/modules/work/components/WorkCashReport/index.js.map +1 -1
  34. package/es/modules/work/components/WorkList/index.js +8 -8
  35. package/es/modules/work/components/WorkList/index.js.map +1 -1
  36. package/es/modules/work/work-schedule/components/WorkScheduleList/index.js +10 -8
  37. package/es/modules/work/work-schedule/components/WorkScheduleList/index.js.map +1 -1
  38. package/es/modules/work/work-type/components/WorkTypeProperties/Properties.js +2 -2
  39. package/es/modules/work/work-type/components/WorkTypeProperties/Properties.js.map +1 -1
  40. package/es/modules/workspace/pages/WorkspacePage/state.js +8 -8
  41. package/es/modules/workspace/pages/WorkspacePage/state.js.map +1 -1
  42. package/package.json +1 -1
  43. package/es/modules/work/work-type/components/AutoSequenceDialog/Tip.js.map +0 -1
  44. package/es/modules/work/work-type/components/AutoSequenceDialog/index.js.map +0 -1
  45. package/es/modules/work/work-type/components/AutoSequenceDialog/state.js.map +0 -1
  46. package/es/modules/work/work-type/components/AutoSequenceLink/index.d.ts +0 -5
  47. package/es/modules/work/work-type/components/AutoSequenceLink/index.js +0 -17
  48. package/es/modules/work/work-type/components/AutoSequenceLink/index.js.map +0 -1
  49. /package/es/{modules/work/work-type/components → components}/AutoSequenceDialog/Tip.d.ts +0 -0
  50. /package/es/{modules/work/work-type/components → components}/AutoSequenceDialog/Tip.js +0 -0
  51. /package/es/{modules/work/work-type/components → components}/AutoSequenceDialog/index.less +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tip.js","sourceRoot":"","sources":["../../../src/components/AutoSequenceDialog/Tip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAElE,eAAe,CAAC,KAAuD,EAAE,EAAE;IAC1E,OAAO,CACN,oBAAC,OAAO,IAAC,OAAO,EAAE,kCAAO,KAAK,CAAC,OAAO,CAAQ;QAC7C;YACC,oBAAC,eAAe,IACf,IAAI,EAAE,YAAY,EAClB,IAAI,EAAC,IAAI,EACT,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,GAC/D,CACI,CACE,CACV,CAAC;AACH,CAAC,CAAC"}
@@ -1,12 +1,9 @@
1
1
  import React from "react";
2
+ import { ISequenceInfo, SequenceEditOptions } from "../../data/worktype";
2
3
  import "./index.less";
3
4
  declare const AutoSequenceDialog: (props: {
4
- id: string;
5
- defaultDocument?: {
6
- id: string;
7
- name: string;
8
- } | undefined;
5
+ sequence?: ISequenceInfo | undefined;
9
6
  onCancel?: (() => void) | undefined;
10
- onSubmit?: (() => void) | undefined;
7
+ onSubmit?: ((Sequence: SequenceEditOptions) => void) | undefined;
11
8
  }) => React.JSX.Element;
12
9
  export default AutoSequenceDialog;
@@ -1,5 +1,5 @@
1
1
  import React, { useState } from "react";
2
- import { useWorkTypeStore, useWorkType } from "../../../../../data/worktype";
2
+ import { useWorkTypeStore } from "../../data/worktype";
3
3
  import { State } from "./state";
4
4
  import { observe } from "@voplus/morpho-ui";
5
5
  import { Form, Select, Modal, Input, InputNumber, Row, Col } from "antd";
@@ -10,8 +10,7 @@ const AutoSequenceDialog = (props) => {
10
10
  const [state] = useState(new State(store));
11
11
  const dateFormat = "{0:date format}";
12
12
  const sequenceFormat = "{1:sequence format}";
13
- const worktype = useWorkType(props.id);
14
- state.update(worktype);
13
+ state.update(props.sequence);
15
14
  return observe(() => {
16
15
  var _a;
17
16
  return (React.createElement(Modal, { width: 550, open: true, title: "Auto Sequence", okText: "Save", onCancel: props.onCancel, onOk: onSubmit },
@@ -81,17 +80,12 @@ const AutoSequenceDialog = (props) => {
81
80
  });
82
81
  async function onSubmit() {
83
82
  var _a;
84
- store.edit(props.id, {
85
- data: {
86
- Sequence: {
87
- Format: state.format,
88
- Sequence: state.sequence,
89
- Reset: state.reset,
90
- StartFrom: state.startFrom,
91
- },
92
- },
83
+ (_a = props.onSubmit) === null || _a === void 0 ? void 0 : _a.call(props, {
84
+ Format: state.format,
85
+ Sequence: state.sequence,
86
+ Reset: state.reset,
87
+ StartFrom: state.startFrom,
93
88
  });
94
- (_a = props.onSubmit) === null || _a === void 0 ? void 0 : _a.call(props);
95
89
  }
96
90
  };
97
91
  export default AutoSequenceDialog;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/AutoSequenceDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAsC,MAAM,qBAAqB,CAAC;AAC3F,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AACzE,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,OAAO,cAAc,CAAC;AAEtB,MAAM,kBAAkB,GAAG,CAAC,KAI3B,EAAE,EAAE;IACJ,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3C,MAAM,UAAU,GAAG,iBAAiB,CAAC;IACrC,MAAM,cAAc,GAAG,qBAAqB,CAAC;IAC7C,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,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ACtB,MAAA,KAAK,CAAC,QAAQ,sDAAG;YAChB,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,SAAS,EAAE,KAAK,CAAC,SAAS;SAC1B,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { IPreview, SequenceReset, IWorkType, WorkTypeStore } from "../../../../../data/worktype";
1
+ import { IPreview, SequenceReset, WorkTypeStore, ISequenceInfo } from "../../data/worktype";
2
2
  export declare class State {
3
3
  private store;
4
4
  constructor(store: WorkTypeStore);
@@ -7,6 +7,6 @@ export declare class State {
7
7
  reset: SequenceReset;
8
8
  startFrom?: number;
9
9
  preview?: IPreview;
10
- update(data: IWorkType): void;
10
+ update(data?: ISequenceInfo): void;
11
11
  getPreview(): Promise<void>;
12
12
  }
@@ -41,11 +41,11 @@ export class State {
41
41
  makeObservable(this);
42
42
  }
43
43
  update(data) {
44
- var _a, _b, _c, _d, _e, _f;
45
- this.format = (_a = data === null || data === void 0 ? void 0 : data.sequence) === null || _a === void 0 ? void 0 : _a.format;
46
- this.sequence = (_c = (_b = data === null || data === void 0 ? void 0 : data.sequence) === null || _b === void 0 ? void 0 : _b.sequence) !== null && _c !== void 0 ? _c : 0;
47
- this.reset = (_e = (_d = data === null || data === void 0 ? void 0 : data.sequence) === null || _d === void 0 ? void 0 : _d.reset) !== null && _e !== void 0 ? _e : "None";
48
- this.startFrom = (_f = data === null || data === void 0 ? void 0 : data.sequence) === null || _f === void 0 ? void 0 : _f.startFrom;
44
+ var _a, _b;
45
+ this.format = data === null || data === void 0 ? void 0 : data.format;
46
+ this.sequence = (_a = data === null || data === void 0 ? void 0 : data.sequence) !== null && _a !== void 0 ? _a : 0;
47
+ this.reset = (_b = data === null || data === void 0 ? void 0 : data.reset) !== null && _b !== void 0 ? _b : "None";
48
+ this.startFrom = data === null || data === void 0 ? void 0 : data.startFrom;
49
49
  this.getPreview();
50
50
  }
51
51
  async getPreview() {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../src/components/AutoSequenceDialog/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAQ1D,MAAM,OAAO,KAAK;IACjB,YAA2B,KAAoB;QAA5B;;;;mBAAQ,KAAK;WAAe;QAI5B;;;;;WAAgB;QAChB;;;;mBAAmB,CAAC;WAAC;QACrB;;;;mBAAuB,MAAM;WAAC;QAC9B;;;;mBAAqB,CAAC;WAAC;QACvB;;;;;WAAmB;QAPrC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAQc,MAAM,CAAC,IAAoB;;QACzC,IAAI,CAAC,MAAM,GAAG,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,CAAC;QAC3B,IAAI,CAAC,QAAQ,GAAG,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,mCAAI,CAAC,CAAC;QACpC,IAAI,CAAC,KAAK,GAAG,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,mCAAI,MAAM,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,CAAC;QACjC,IAAI,CAAC,UAAU,EAAE,CAAC;IACnB,CAAC;IAEoB,AAAN,KAAK,CAAC,UAAU;QAC9B,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YACjB,IAAI,CAAC,OAAO,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC;gBACvC,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACvB,CAAC,CAAC;QACJ,CAAC;IACF,CAAC;CACD;AAtBmB;IAAlB,UAAU;qCAAwB;AAChB;IAAlB,UAAU;uCAA6B;AACrB;IAAlB,UAAU;oCAAsC;AAC9B;IAAlB,UAAU;wCAA+B;AACvB;IAAlB,UAAU;sCAA2B;AAEvB;IAAd,MAAM;mCAMN;AAEoB;IAApB,MAAM;uCAON"}
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { ISequenceInfo, SequenceEditOptions } from "../../data/worktype";
3
+ declare const AutoSequenceLink: (props: {
4
+ sequence?: ISequenceInfo | undefined;
5
+ onSubmit?: ((Sequence: SequenceEditOptions) => void) | undefined;
6
+ }) => React.JSX.Element;
7
+ export default AutoSequenceLink;
@@ -0,0 +1,17 @@
1
+ import React, { useState } from "react";
2
+ import { observe } from "@voplus/morpho-ui";
3
+ import AutoSequenceDialog from "../AutoSequenceDialog";
4
+ import classnames from "classnames";
5
+ const AutoSequenceLink = (props) => {
6
+ const [open, setOpen] = useState(false);
7
+ const { sequence } = props;
8
+ return observe(() => (React.createElement(React.Fragment, null,
9
+ React.createElement("span", { className: classnames({ "add-info-style": !(sequence === null || sequence === void 0 ? void 0 : sequence.format) }), style: { cursor: "pointer" }, onClick: () => setOpen(true) }, (sequence === null || sequence === void 0 ? void 0 : sequence.format) ? sequence.format : "Add NumberFormat"),
10
+ open && (React.createElement(AutoSequenceDialog, { sequence: sequence, onCancel: () => setOpen(false), onSubmit: (data) => {
11
+ var _a;
12
+ setOpen(false);
13
+ (_a = props.onSubmit) === null || _a === void 0 ? void 0 : _a.call(props, data);
14
+ } })))));
15
+ };
16
+ export default AutoSequenceLink;
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/AutoSequenceLink/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,UAAU,MAAM,YAAY,CAAC;AAGpC,MAAM,gBAAgB,GAAG,CAAC,KAGzB,EAAE,EAAE;IACJ,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxC,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAE3B,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB;QACC,8BACC,SAAS,EAAE,UAAU,CAAC,EAAE,gBAAgB,EAAE,CAAC,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,CAAA,EAAE,CAAC,EAC9D,KAAK,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAC5B,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAE3B,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,EAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,kBAAkB,CAClD;QACN,IAAI,IAAI,CACR,oBAAC,kBAAkB,IAClB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAC9B,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE;;gBAClB,OAAO,CAAC,KAAK,CAAC,CAAC;gBACf,MAAA,KAAK,CAAC,QAAQ,sDAAG,IAAI,CAAC,CAAC;YACxB,CAAC,GACA,CACF,CACC,CACH,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -14,7 +14,7 @@ import MemberTaskDueDateFilter from "../../controls/filters/MemberTaskDueDateFil
14
14
  import TaskPropertiesView from "../../modules/tasks/components/TaskPropertiesView";
15
15
  import { TaskStatusFilter } from "../../controls/filters";
16
16
  import { generatePath } from "react-router";
17
- import moment from "moment";
17
+ import dayjs from "dayjs";
18
18
  import { observe } from "@voplus/morpho-ui";
19
19
  import { runInAction } from "mobx";
20
20
  import { useRenderOnChange } from "@voplus/morpho-ui";
@@ -100,28 +100,28 @@ const TeamTaskList = (props) => {
100
100
  c: "DueDate",
101
101
  o: "between",
102
102
  l: "And",
103
- v1: moment().startOf("day").format("YYYY-MM-DD HH:mm:ss"),
104
- v2: moment().endOf("day").format("YYYY-MM-DD HH:mm:ss"),
103
+ v1: dayjs().startOf("day").format("YYYY-MM-DD HH:mm:ss"),
104
+ v2: dayjs().endOf("day").format("YYYY-MM-DD HH:mm:ss"),
105
105
  };
106
106
  const weekFilter = {
107
107
  c: "DueDate",
108
108
  o: "between",
109
109
  l: "And",
110
- v1: moment().startOf("week").format("YYYY-MM-DD HH:mm:ss"),
111
- v2: moment().endOf("week").format("YYYY-MM-DD HH:mm:ss"),
110
+ v1: dayjs().startOf("week").format("YYYY-MM-DD HH:mm:ss"),
111
+ v2: dayjs().endOf("week").format("YYYY-MM-DD HH:mm:ss"),
112
112
  };
113
113
  const monthFilter = {
114
114
  c: "DueDate",
115
115
  o: "between",
116
116
  l: "And",
117
- v1: moment().startOf("month").format("YYYY-MM-DD HH:mm:ss"),
118
- v2: moment().endOf("month").format("YYYY-MM-DD HH:mm:ss"),
117
+ v1: dayjs().startOf("month").format("YYYY-MM-DD HH:mm:ss"),
118
+ v2: dayjs().endOf("month").format("YYYY-MM-DD HH:mm:ss"),
119
119
  };
120
120
  const dueFilter = {
121
121
  c: "DueDate",
122
122
  o: "<",
123
123
  l: "And",
124
- v1: moment().format("YYYY-MM-DD HH:mm:ss"),
124
+ v1: dayjs().format("YYYY-MM-DD HH:mm:ss"),
125
125
  };
126
126
  const unscheduledFilter = [
127
127
  {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/TeamTaskList/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAgB,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAS,iBAAiB,EAAE,MAAM,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"@fortawesome/react-fontawesome";
8
8
  import { InlineEdit, observe } from "@voplus/morpho-ui";
9
9
  import { useApplicationContext } from "@voplus/morpho-data";
10
10
  import { useMetaStore } from "@voplus/morpho-document-core";
11
+ import { State } from "./state";
11
12
  import MeetingTasksProgressDataIcon from "../../controls/MeetingTasksProgressDataIcon";
12
13
  import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
13
14
  import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
14
15
  import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
15
- import moment from "moment";
16
16
  import dayjs from "dayjs";
17
- import { State } from "./state";
18
17
  import "./index.less";
19
18
  const MeetingHeader = (props) => {
20
19
  const { id, onReLoad, onExpand } = props;
@@ -52,7 +51,7 @@ const MeetingHeader = (props) => {
52
51
  : "Add Meeting Time")),
53
52
  meeting.startTime && (React.createElement("span", { className: "data-icon" },
54
53
  React.createElement(FAIcon, { icon: faStopwatch }),
55
- moment(meeting.startTime).from(moment(meeting.endTime), true))))),
54
+ dayjs(meeting.startTime).from(dayjs(meeting.endTime), true))))),
56
55
  React.createElement(Row, { justify: "start", align: "middle" },
57
56
  React.createElement("div", { className: "meeting-clock" },
58
57
  React.createElement(InlineEdit, { editable: !meeting.readonly, defaultValue: meeting.venue || "", content: (v) => (React.createElement(React.Fragment, null,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACN,OAAO,EACP,IAAI,EACJ,KAAK,EACL,MAAM,EACN,OAAO,GACP,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AACnG,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAChD,OAA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AAE,CAAC,CAAC;IACrF,CAAC;IACD,KAAK,UAAU,MAAM,CAAC,CAAS,EAAE,IAAY,EAAE,MAA+B;QAC7E,IAAI,CAAC,CAAC,IAAI,EAAE,KAAK,IAAI;YAAE,OAAO;QAC9B,MAAM,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IACzE,CAAC;IACD,wBAAwB;IACxB,KAAK,UAAU,IAAI;QAClB,MAAM,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,EAAE;YACnC,IAAI,EAAE;gBACL,SAAS,EAAE,KAAK,CAAC,KAAK,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;AACF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingHeader/index.tsx"],"names":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AAO,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;AACF,eAAe,aAAa,CAAC"}
@@ -1,5 +1,5 @@
1
- import "./index.less";
2
1
  import React from "react";
2
+ import "./index.less";
3
3
  declare const MeetingItem: (props: {
4
4
  id: string;
5
5
  /** MeetingListView route? */
@@ -1,24 +1,29 @@
1
- import "./index.less";
1
+ import React, { useState } from "react";
2
2
  import { Archive, Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
3
3
  import { CommentDataIcon, DocumentDataIcon } from "@voplus/morpho-document/es/controls/data-icons";
4
- import React, { useState } from "react";
5
4
  import { faClock, faMapMarkerAlt, faStopwatch } from "@fortawesome/pro-light-svg-icons";
5
+ import { observe } from "@voplus/morpho-ui";
6
+ import { runInAction } from "mobx";
7
+ import { useApplicationContext } from "@voplus/morpho-data";
8
+ import { useMeeting } from "../../../../data/meeting";
9
+ import { useMetaStore } from "@voplus/morpho-document-core";
10
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
11
+ import { State } from "./state";
12
+ import { Tooltip } from "antd";
13
+ import classnames from "classnames";
6
14
  import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
7
15
  import DataIconBar from "@voplus/morpho-document/es/controls/DataIconBar";
8
16
  import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
9
- import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
10
17
  import MeetingTasksProgressDataIcon from "../../controls/MeetingTasksProgressDataIcon";
11
- import { State } from "./state";
12
18
  import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
13
- import { Tooltip } from "antd";
14
- import classnames from "classnames";
15
- import moment from "moment";
19
+ import relativeTime from "dayjs/plugin/relativeTime";
16
20
  import dayjs from "dayjs";
17
- import { observe } from "@voplus/morpho-ui";
18
- import { runInAction } from "mobx";
19
- import { useApplicationContext } from "@voplus/morpho-data";
20
- import { useMeeting } from "../../../../data/meeting";
21
- import { useMetaStore } from "@voplus/morpho-document-core";
21
+ import "./index.less";
22
+ /**
23
+ * 直接用 dayjs 替代 moment.js 并不能直接使用 end.from(start, true) 方法
24
+ * 可以使用 dayjs relativeTime 插件来实现相似的功能。
25
+ * */
26
+ dayjs.extend(relativeTime);
22
27
  const MeetingItem = (props) => {
23
28
  const { id, isList, reload } = props;
24
29
  const meta = useMetaStore();
@@ -45,7 +50,7 @@ const MeetingItem = (props) => {
45
50
  dayjs(meeting.endTime).format("hh:mm A")))),
46
51
  React.createElement("span", { className: "data-icon" },
47
52
  React.createElement(FAIcon, { icon: faStopwatch }),
48
- moment(meeting.startTime).from(moment(meeting.endTime), true)))),
53
+ dayjs(meeting.startTime).from(dayjs(meeting.endTime), true)))),
49
54
  (meeting.venue || !!meeting.taskNumbers) && (React.createElement("div", null,
50
55
  meeting.venue && (React.createElement("span", { className: "data-icon" },
51
56
  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,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AACnG,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAExF,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,eAAe,IAAI,MAAM,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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"}
@@ -1,4 +1,5 @@
1
1
  import React, { useState } from "react";
2
+ import { State } from "./state";
2
3
  import { DatePicker, Form, Tooltip } from "antd";
3
4
  import { InlineEdit, observe, PropertiesSection } from "@voplus/morpho-ui";
4
5
  import { faClock, faMapMarkerAlt, faStopwatch } from "@fortawesome/pro-light-svg-icons";
@@ -11,8 +12,6 @@ import MeetingTasksProgressDataIcon from "../../controls/MeetingTasksProgressDat
11
12
  import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
12
13
  import DocumentPanelHeader from "@voplus/morpho-document/es/components/DocumentPanelHeader";
13
14
  import classnames from "classnames";
14
- import { State } from "./state";
15
- import moment from "moment";
16
15
  import dayjs from "dayjs";
17
16
  const MeetingProperties = (props) => {
18
17
  /** 加class name 为了方便做integration tests */
@@ -54,7 +53,7 @@ const MeetingProperties = (props) => {
54
53
  dayjs(meeting.endTime).format(!isAfterNow ? "DD MMM HH:mm" : "hh:mm nA"))) : (React.createElement("span", { className: "add-info-style" }, "Add Meeting Time")))),
55
54
  meeting.startTime && (React.createElement("span", { className: classnames("data-icon", "properties-value") },
56
55
  React.createElement(FAIcon, { icon: faStopwatch }),
57
- moment(meeting.startTime).from(moment(meeting.endTime), true)))))));
56
+ dayjs(meeting.startTime).from(dayjs(meeting.endTime), true)))))));
58
57
  case "Enter Place":
59
58
  return (React.createElement(Form.Item, { label: "Enter Place", className: classId + "-enterPlace" },
60
59
  React.createElement(InlineEdit, { editable: !meeting.readonly, defaultValue: meeting.venue || "", content: (v) => (React.createElement(React.Fragment, null,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../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,6 @@ import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
8
8
  import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEditor";
9
9
  import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
10
10
  import Scrollbars from "react-custom-scrollbars-2";
11
- import moment from "moment";
12
11
  import dayjs from "dayjs";
13
12
  import { observe } from "@voplus/morpho-ui";
14
13
  import { useMeeting } from "../../../../data/meeting";
@@ -34,7 +33,7 @@ const MeetingTabView = () => {
34
33
  dayjs(meeting.endTime).format("MM-DD hh:mm A")),
35
34
  React.createElement("span", { className: "duration" },
36
35
  React.createElement(FAIcon, { icon: faStopwatch }),
37
- moment(meeting.startTime).from(moment(meeting.endTime), true)))),
36
+ dayjs(meeting.startTime).from(dayjs(meeting.endTime), true)))),
38
37
  React.createElement(Row, { justify: "start", align: "middle" },
39
38
  meeting.venue && (React.createElement("div", { className: "print-clock" },
40
39
  React.createElement(FAIcon, { icon: faMapMarkerAlt }),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/pages/MeetingPrintView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EACN,OAAO,EACP,cAAc,EACd,WAAW,EACX,aAAa,GACb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEvE,OAAO,UAAU,MAAM,6BAA6B,CAAC;AACrD,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,MAAM,MAAM,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QAAQ,EAAE,OAAO,CAAC,QAAQ,EAC1B,OAAO,EAAC,eAAe,GACtB,CACQ,CACN;YAEN,oBAAC,UAAU,IAAC,OAAO,QAAC,QAAQ,EAAE,EAAE,GAAI,CACxB,CACR,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,cAAc,CAAC"}
@@ -11,7 +11,7 @@ import NewTaskForm from "../../../../modules/tasks/components/NewTaskForm";
11
11
  import TaskPropertiesView from "../../../../modules/tasks/components/TaskPropertiesView";
12
12
  import { TaskStatusFilter } from "../../../../controls/filters";
13
13
  import { generatePath } from "react-router";
14
- import moment from "moment";
14
+ import dayjs from "dayjs";
15
15
  import { observe } from "@voplus/morpho-ui";
16
16
  import { runInAction } from "mobx";
17
17
  import { useParams } from "react-router-dom";
@@ -80,28 +80,28 @@ const TaskList = (props) => {
80
80
  c: "DueDate",
81
81
  o: "between",
82
82
  l: "And",
83
- v1: moment().startOf("day").format("YYYY-MM-DD HH:mm:ss"),
84
- v2: moment().endOf("day").format("YYYY-MM-DD HH:mm:ss"),
83
+ v1: dayjs().startOf("day").format("YYYY-MM-DD HH:mm:ss"),
84
+ v2: dayjs().endOf("day").format("YYYY-MM-DD HH:mm:ss"),
85
85
  };
86
86
  const weekFilter = {
87
87
  c: "DueDate",
88
88
  o: "between",
89
89
  l: "And",
90
- v1: moment().startOf("week").format("YYYY-MM-DD HH:mm:ss"),
91
- v2: moment().endOf("week").format("YYYY-MM-DD HH:mm:ss"),
90
+ v1: dayjs().startOf("week").format("YYYY-MM-DD HH:mm:ss"),
91
+ v2: dayjs().endOf("week").format("YYYY-MM-DD HH:mm:ss"),
92
92
  };
93
93
  const monthFilter = {
94
94
  c: "DueDate",
95
95
  o: "between",
96
96
  l: "And",
97
- v1: moment().startOf("month").format("YYYY-MM-DD HH:mm:ss"),
98
- v2: moment().endOf("month").format("YYYY-MM-DD HH:mm:ss"),
97
+ v1: dayjs().startOf("month").format("YYYY-MM-DD HH:mm:ss"),
98
+ v2: dayjs().endOf("month").format("YYYY-MM-DD HH:mm:ss"),
99
99
  };
100
100
  const dueFilter = {
101
101
  c: "DueDate",
102
102
  o: "<",
103
103
  l: "And",
104
- v1: moment().format("YYYY-MM-DD HH:mm:ss"),
104
+ v1: dayjs().format("YYYY-MM-DD HH:mm:ss"),
105
105
  };
106
106
  const unscheduledFilter = [
107
107
  {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/space/components/Tasks/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAgB,qBAAqB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,EAAS,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACN,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,eAAe,MAAM,+DAA+D,CAAC;AAC5F,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,WAAW,MAAM,kDAAkD,CAAC;AAE3E,OAAO,kBAAkB,MAAM,yDAAyD,CAAC;AACzF,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAA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CAAC,CAAC;gBACjC,MAAM;YACP,KAAK,OAAO;gBACX,MAAM,GAAG,CAAC,WAAW,EAAE,GAAG,MAAM,CAAC,CAAC;gBAClC,MAAM;YACP,KAAK,KAAK;gBACT,MAAM,GAAG,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,CAAC;gBAChC,MAAM;YACP,KAAK,SAAS;gBACb,MAAM,GAAG,CAAC,GAAG,cAAc,CAAC,CAAC;gBAC7B,MAAM;YACP;gBACC,OAAO,MAAM,CAAC;QAChB,CAAC;QACD,OAAO,MAAM,CAAC;IACf,CAAC;IAED,KAAK,UAAU,SAAS,CAAC,EAAU,EAAE,OAAe;QACnD,MAAM,aAAa,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC;IACD,SAAS,QAAQ,CAAC,OAAY;QAC7B,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/space/components/Tasks/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAgB,qBAAqB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,EAAS,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACN,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,eAAe,MAAM,+DAA+D,CAAC;AAC5F,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC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Ae;QACf,eAAe;QACf,wCAAwC;QACxC,6DAA6D;QAE7D,gDAAgD;QAChD,kFAAkF;QAClF,gFAAgF;QAChF,WAAW;QACX,8DAA8D;QAC9D,4DAA4D;QAC5D,IAAI;QACJ,yFAAyF;QAEzF,QAAQ,MAAM,CAAC,OAAO,EAAE,CAAC;YACxB,KAAK,aAAa;gBACjB,MAAM,GAAG,iBAAiB,CAAC;gBAC3B,MAAM;YACP,KAAK,OAAO;gBACX,MAAM,GAAG,CAAC,WAAW,EAAE,GAAG,MAAM,CAAC,CAAC;gBAClC,MAAM;YACP,KAAK,MAAM;gBACV,MAAM,GAAG,CAAC,UAAU,EAAE,GAAG,MAAM,CAAC,CAAC;gBACjC,MAAM;YACP,KAAK,OAAO;gBACX,MAAM,GAAG,CAAC,WAAW,EAAE,GAAG,MAAM,CAAC,CAAC;gBAClC,MAAM;YACP,KAAK,KAAK;gBACT,MAAM,GAAG,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,CAAC;gBAChC,MAAM;YACP,KAAK,SAAS;gBACb,MAAM,GAAG,CAAC,GAAG,cAAc,CAAC,CAAC;gBAC7B,MAAM;YACP;gBACC,OAAO,MAAM,CAAC;QAChB,CAAC;QACD,OAAO,MAAM,CAAC;IACf,CAAC;IAED,KAAK,UAAU,SAAS,CAAC,EAAU,EAAE,OAAe;QACnD,MAAM,aAAa,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC;IACD,SAAS,QAAQ,CAAC,OAAY;QAC7B,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { action, computed, makeObservable, observable } from "mobx";
3
- import moment from "moment";
3
+ import dayjs from "dayjs";
4
4
  export class TaskState {
5
5
  constructor(_state, user) {
6
6
  Object.defineProperty(this, "_state", {
@@ -159,8 +159,8 @@ export class TaskState {
159
159
  c: "DueDate",
160
160
  o: "between",
161
161
  l: "And",
162
- v1: moment().startOf("day").format("YYYY-MM-DD HH:mm:ss"),
163
- v2: moment().endOf("day").format("YYYY-MM-DD HH:mm:ss"),
162
+ v1: dayjs().startOf("day").format("YYYY-MM-DD HH:mm:ss"),
163
+ v2: dayjs().endOf("day").format("YYYY-MM-DD HH:mm:ss"),
164
164
  },
165
165
  { c: "Status", o: "!=", l: "And", v1: "Draft" },
166
166
  {
@@ -188,8 +188,8 @@ export class TaskState {
188
188
  c: "DueDate",
189
189
  o: "between",
190
190
  l: "And",
191
- v1: moment().startOf("week").format("YYYY-MM-DD HH:mm:ss"),
192
- v2: moment().endOf("week").format("YYYY-MM-DD HH:mm:ss"),
191
+ v1: dayjs().startOf("week").format("YYYY-MM-DD HH:mm:ss"),
192
+ v2: dayjs().endOf("week").format("YYYY-MM-DD HH:mm:ss"),
193
193
  },
194
194
  { c: "Status", o: "!=", l: "And", v1: "Draft" },
195
195
  {
@@ -217,8 +217,8 @@ export class TaskState {
217
217
  c: "DueDate",
218
218
  o: "between",
219
219
  l: "And",
220
- v1: moment().startOf("month").format("YYYY-MM-DD HH:mm:ss"),
221
- v2: moment().endOf("month").format("YYYY-MM-DD HH:mm:ss"),
220
+ v1: dayjs().startOf("month").format("YYYY-MM-DD HH:mm:ss"),
221
+ v2: dayjs().endOf("month").format("YYYY-MM-DD HH:mm:ss"),
222
222
  },
223
223
  { c: "Status", o: "!=", l: "And", v1: "Draft" },
224
224
  {
@@ -268,7 +268,7 @@ export class TaskState {
268
268
  c: "DueDate",
269
269
  o: "<",
270
270
  l: "And",
271
- v1: moment().format("YYYY-MM-DD HH:mm:ss"),
271
+ v1: dayjs().format("YYYY-MM-DD HH:mm:ss"),
272
272
  },
273
273
  { c: "Status", o: "!=", l: "And", v1: "Draft" },
274
274
  {