@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
@@ -1 +1 @@
1
- {"version":3,"file":"taskState.js","sourceRoot":"","sources":["../../../../../src/modules/space/pages/MySpace/taskState.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAMpE,OAAO,MAAM,MAAM,QAAQ,CAAC;AA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E,KAAK;oBACR,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;iBAC9C;gBACD;oBACC,CAAC,EAAE,SAAS;oBACZ,CAAC,EAAE,UAAU;oBACb,CAAC,EAAE,KAAK;oBACR,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;iBAC5C;aACD;SACD,CAAC;IACH,CAAC;CACD;AAxNmB;IAAlB,UAAU;yCAAuB;AACf;IAAlB,UAAU;yCAAuB;AACf;IAAlB,UAAU;gDAA2B;AACnB;IAAlB,UAAU;gDAA8E;AACtE;IAAlB,UAAU;8CAAyB;AACjB;IAAlB,UAAU;8CAA4E;AACpE;IAAlB,UAAU;6CAAwB;AAChB;IAAlB,UAAU;6CAA2E;AACnE;IAAlB,UAAU;8CAAyB;AACjB;IAAlB,UAAU;8CAA4E;AACpE;IAAlB,UAAU;oDAA+B;AACvB;IAAlB,UAAU;oDAAkF;AAC1E;IAAlB,UAAU;4CAAuB;AACf;IAAlB,UAAU;4CAA0E;AAMtE;IAAd,MAAM;6CA+BN;AAID;IADC,QAAQ;yCAeR;AAID;IADC,QAAQ;uCA4BR;AAID;IADC,QAAQ;sCA4BR;AAID;IADC,QAAQ;uCA4BR;AAID;IADC,QAAQ;6CAqBR;AAID;IADC,QAAQ;qCA2BR"}
1
+ {"version":3,"file":"taskState.js","sourceRoot":"","sources":["../../../../../src/modules/space/pages/MySpace/taskState.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAKpE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,SAAS;IAgBrB,YAAoB,MAAa,EAAU,IAAiB;QAAhD;;;;mBAAQ,MAAM;WAAO;QAAE;;;;mBAAQ,IAAI;WAAa;QAfz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BACZ,CAAC,EAAE,UAAU;oBACb,CAAC,EAAE,KAAK;oBACR,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;iBAC5C;aACD;SACD,CAAC;IACH,CAAC;CACD;AAxNmB;IAAlB,UAAU;yCAAuB;AACf;IAAlB,UAAU;yCAAuB;AACf;IAAlB,UAAU;gDAA2B;AACnB;IAAlB,UAAU;gDAA8E;AACtE;IAAlB,UAAU;8CAAyB;AACjB;IAAlB,UAAU;8CAA4E;AACpE;IAAlB,UAAU;6CAAwB;AAChB;IAAlB,UAAU;6CAA2E;AACnE;IAAlB,UAAU;8CAAyB;AACjB;IAAlB,UAAU;8CAA4E;AACpE;IAAlB,UAAU;oDAA+B;AACvB;IAAlB,UAAU;oDAAkF;AAC1E;IAAlB,UAAU;4CAAuB;AACf;IAAlB,UAAU;4CAA0E;AAMtE;IAAd,MAAM;6CA+BN;AAID;IADC,QAAQ;yCAeR;AAID;IADC,QAAQ;uCA4BR;AAID;IADC,QAAQ;sCA4BR;AAID;IADC,QAAQ;uCA4BR;AAID;IADC,QAAQ;6CAqBR;AAID;IADC,QAAQ;qCA2BR"}
@@ -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 WorkState {
5
5
  constructor(_state, user) {
6
6
  Object.defineProperty(this, "_state", {
@@ -142,8 +142,8 @@ export class WorkState {
142
142
  c: "DueDate",
143
143
  o: "between",
144
144
  l: "And",
145
- v1: moment().startOf("day").format("YYYY-MM-DD HH:mm:ss"),
146
- v2: moment().endOf("day").format("YYYY-MM-DD HH:mm:ss"),
145
+ v1: dayjs().startOf("day").format("YYYY-MM-DD HH:mm:ss"),
146
+ v2: dayjs().endOf("day").format("YYYY-MM-DD HH:mm:ss"),
147
147
  },
148
148
  { c: "WorkStatus", l: "And", o: "=", v1: "Active" },
149
149
  { c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Owner"]) },
@@ -160,8 +160,8 @@ export class WorkState {
160
160
  c: "DueDate",
161
161
  o: "between",
162
162
  l: "And",
163
- v1: moment().startOf("week").format("YYYY-MM-DD HH:mm:ss"),
164
- v2: moment().endOf("week").format("YYYY-MM-DD HH:mm:ss"),
163
+ v1: dayjs().startOf("week").format("YYYY-MM-DD HH:mm:ss"),
164
+ v2: dayjs().endOf("week").format("YYYY-MM-DD HH:mm:ss"),
165
165
  },
166
166
  { c: "WorkStatus", l: "And", o: "=", v1: "Active" },
167
167
  { c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Owner"]) },
@@ -178,8 +178,8 @@ export class WorkState {
178
178
  c: "DueDate",
179
179
  o: "between",
180
180
  l: "And",
181
- v1: moment().startOf("month").format("YYYY-MM-DD HH:mm:ss"),
182
- v2: moment().endOf("month").format("YYYY-MM-DD HH:mm:ss"),
181
+ v1: dayjs().startOf("month").format("YYYY-MM-DD HH:mm:ss"),
182
+ v2: dayjs().endOf("month").format("YYYY-MM-DD HH:mm:ss"),
183
183
  },
184
184
  { c: "WorkStatus", l: "And", o: "=", v1: "Active" },
185
185
  { c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Owner"]) },
@@ -196,7 +196,7 @@ export class WorkState {
196
196
  c: "DueDate",
197
197
  o: "<",
198
198
  l: "And",
199
- v1: moment().format("YYYY-MM-DD HH:mm:ss"),
199
+ v1: dayjs().format("YYYY-MM-DD HH:mm:ss"),
200
200
  },
201
201
  { c: "WorkStatus", l: "And", o: "=", v1: "Active" },
202
202
  { c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Owner"]) },
@@ -1 +1 @@
1
- {"version":3,"file":"workState.js","sourceRoot":"","sources":["../../../../../src/modules/space/pages/MySpace/workState.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAA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4E;AACpE;IAAlB,UAAU;6CAAwB;AAChB;IAAlB,UAAU;6CAA2E;AACnE;IAAlB,UAAU;8CAAyB;AACjB;IAAlB,UAAU;8CAA4E;AACpE;IAAlB,UAAU;4CAAuB;AACf;IAAlB,UAAU;4CAA0E;AAMtE;IAAd,MAAM;6CA0BN;AAID;IADC,QAAQ;2CAeR;AAID;IADC,QAAQ;uCAiBR;AAID;IADC,QAAQ;sCAiBR;AAID;IADC,QAAQ;uCAiBR;AAID;IADC,QAAQ;qCAgBR"}
1
+ {"version":3,"file":"workState.js","sourceRoot":"","sources":["../../../../../src/modules/space/pages/MySpace/workState.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAKpE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,SAAS;IAcrB,YAAoB,MAAa,EAAU,IAAiB;QAAhD;;;;mBAAQ,MAAM;WAAO;QAAE;;;;mBAAQ,IAAI;WAAa;QAbzC;;;;mBAAS,KAAK;WAAC;QACf;;;;mBAAS,KAAK;WAAC;QACf;;;;mBAAkB,EAAE;WAAC;QACrB;;;;mBAAmE,IAAI;WAAC;QACxE;;;;mBAAc,EAAE;WAAC;QACjB;;;;mBAA+D,IAAI;WAAC;QACpE;;;;mBAAa,EAAE;WAAC;QAChB;;;;mBAA8D,IAAI;WAAC;QACnE;;;;mBAAc,EAAE;WAAC;QACjB;;;;mBAA+D,IAAI;WAAC;QACpE;;;;mBAAY,EAAE;WAAC;QACf;;;;mBAA6D,IAAI;WAAC;QAGpF,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAEc,YAAY;QAC1B,eAAe;QACf,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,UAAU,CAAC;QACvC,IAAI,CAAC,eAAe,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;YACxC,IAAI,CAAC,MAAM,CAAC,UAAU,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AAqB,CAAC;iBACzC;gBACD,EAAE,CAAC,EAAE,YAAY,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,QAAQ,EAAE;gBACnD,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,EAAE;aACtE;SACD,CAAC;IACH,CAAC;CACD;AA7ImB;IAAlB,UAAU;yCAAuB;AACf;IAAlB,UAAU;yCAAuB;AACf;IAAlB,UAAU;kDAA6B;AACrB;IAAlB,UAAU;kDAAgF;AACxE;IAAlB,UAAU;8CAAyB;AACjB;IAAlB,UAAU;8CAA4E;AACpE;IAAlB,UAAU;6CAAwB;AAChB;IAAlB,UAAU;6CAA2E;AACnE;IAAlB,UAAU;8CAAyB;AACjB;IAAlB,UAAU;8CAA4E;AACpE;IAAlB,UAAU;4CAAuB;AACf;IAAlB,UAAU;4CAA0E;AAMtE;IAAd,MAAM;6CA0BN;AAID;IADC,QAAQ;2CAeR;AAID;IADC,QAAQ;uCAiBR;AAID;IADC,QAAQ;sCAiBR;AAID;IADC,QAAQ;uCAiBR;AAID;IADC,QAAQ;qCAgBR"}
@@ -5,7 +5,6 @@ import { State } from "./state";
5
5
  import { faHourglassEnd, faHourglassStart, faStopwatch } from "@fortawesome/pro-light-svg-icons";
6
6
  import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
7
7
  import dayjs from "dayjs";
8
- import moment from "moment";
9
8
  import { observe } from "@voplus/morpho-ui";
10
9
  import { runInAction } from "mobx";
11
10
  import { useTaskStore } from "@voplus/morpho-document-core";
@@ -60,7 +59,7 @@ const TaskEstimatedTime = (props) => {
60
59
  state.startDate && dayjs(state.startDate).format(state.dateFormat),
61
60
  state.startDate && state.dueDate && "~",
62
61
  state.dueDate && dayjs(state.dueDate).format(state.dateFormat),
63
- period && state.startDate && state.dueDate && (React.createElement("span", { className: "margin-left-5" }, moment(state.startDate).from(moment(state.dueDate), true))))) : editable ? (React.createElement("span", { className: "add-info-style" },
62
+ period && state.startDate && state.dueDate && (React.createElement("span", { className: "margin-left-5" }, dayjs(state.startDate).from(dayjs(state.dueDate), true))))) : editable ? (React.createElement("span", { className: "add-info-style" },
64
63
  React.createElement(FAIcon, { icon: faStopwatch, className: "margin-right-5" }),
65
64
  "Add Task Time")) : null))));
66
65
  function onVisibleChange(visible) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskEstimatedTime/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,KAAK,EAA0B,MAAM,SAAS,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEjG,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,MAAM,iBAAiB,GAAG,CAAC,KAA6B,EAAE,EAAE;IAC3D,MAAM,EAAE,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAEtF,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IAC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B,GACzB;YACD,KAAK,CAAC,SAAS,IAAI,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC;YAClE,KAAK,CAAC,SAAS,IAAI,KAAK,CAAC,OAAO,IAAI,GAAG;YACvC,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC;YAC9D,MAAM,IAAI,KAAK,CAAC,SAAS,IAAI,KAAK,CAAC,OAAO,IAAI,CAC9C,8BAAM,SAAS,EAAC,eAAe,IAC7B,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,CAClD,CACP,CACe,CACjB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CACd,8BAAM,SAAS,EAAC,gBAAgB;YAC/B,oBAAC,MAAM,IAAC,IAAI,EAAE,WAAW,EAAE,SAAS,EAAC,gBAAgB,GAAG;4BAElD,CACP,CAAC,CAAC,CAAC,IAAI,CACF,CACE,CACV,CAAC,CAAC;IACH,SAAS,eAAe,CAAC,OAAgB;QACxC,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,OAAO,IAAI,CAAC,CAAC,QAAQ,CAAC;YACtC,KAAK,CAAC,cAAc,GAAG,KAAK,CAAC,iBAAiB,CAAC;QAChD,CAAC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AACF,iBAAiB,CAAC,YAAY,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;AAClF,eAAe,iBAAiB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { action, makeObservable, observable, toJS } from "mobx";
3
- import moment from "moment";
3
+ import dayjs from "dayjs";
4
4
  export class State {
5
5
  constructor() {
6
6
  Object.defineProperty(this, "estimatedTime", {
@@ -95,8 +95,8 @@ export class State {
95
95
  c: "DueDate",
96
96
  o: "between",
97
97
  l: "And",
98
- v1: moment(dueDate[0]).format("YYYY-MM-DD"),
99
- v2: moment(dueDate[1]).format("YYYY-MM-DD"),
98
+ v1: dayjs(dueDate[0]).format("YYYY-MM-DD"),
99
+ v2: dayjs(dueDate[1]).format("YYYY-MM-DD"),
100
100
  },
101
101
  ];
102
102
  }
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/reports/MemberEstimatedDurationCard/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAIhE,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,MAAM,OAAO,KAAK;IASjB;QARmB;;;;mBAAwC,EAAE;WAAC;QAC3C;;;;mBAAO,CAAC;WAAC;QACT;;;;mBAAW,EAAE;WAAC;QACd;;;;mBAAU,IAAI;WAAC;QACf;;;;mBAAiB,EAAE;WAAC;QACpB;;;;mBAAuB,EAAE;WAAC;QAC1B;;;;mBAAY,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC;WAAC;QAGjG,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,WAAW;IAEJ,QAAQ;QACd,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC;IAC3B,CAAC;IAED,YAAY;IAEL,KAAK;QACX,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC;QACd,+BAA+B;IAChC,CAAC;IAED,gBAAgB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AAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC;iBAC3C;aACD,CAAC;IACJ,CAAC;IAED,kBAAkB;IAEX,OAAO,CAAC,IAAY;QAC1B,IAAI,GAAG,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;YAC7B,GAAG,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACvB,CAAC,CAAC,CAAC;QACH,OAAO,GAAG,CAAC;IACZ,CAAC;CACD;AAlFmB;IAAlB,UAAU;4CAAmD;AAC3C;IAAlB,UAAU;mCAAiB;AACT;IAAlB,UAAU;uCAAsB;AACd;IAAlB,UAAU;sCAAuB;AACf;IAAlB,UAAU;sCAA4B;AACpB;IAAlB,UAAU;mCAAkC;AAC1B;IAAlB,UAAU;wCAAuF;AAQ3F;IADN,MAAM;qCAIN;AAIM;IADN,MAAM;kCAMN;AAIM;IADN,MAAM;mCAIN;AAIM;IADN,MAAM;qCAmCN;AAIM;IADN,MAAM;oCAON"}
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/reports/MemberEstimatedDurationCard/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAGhE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAK;IASjB;QARmB;;;;mBAAwC,EAAE;WAAC;QAC3C;;;;mBAAO,CAAC;WAAC;QACT;;;;mBAAW,EAAE;WAAC;QACd;;;;mBAAU,IAAI;WAAC;QACf;;;;mBAAiB,EAAE;WAAC;QACpB;;;;mBAAuB,EAAE;WAAC;QAC1B;;;;mBAAY,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC;WA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EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAC5F,IAAI,OAAO,IAAI,OAAO,CAAC,MAAM;YAC5B,gCAAgC;YAChC,IAAI,CAAC,OAAO,GAAG;gBACd,GAAG,IAAI,CAAC,OAAO;gBACf;oBACC,CAAC,EAAE,SAAS;oBACZ,CAAC,EAAE,SAAS;oBACZ,CAAC,EAAE,KAAK;oBACR,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC;oBAC1C,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC;iBAC1C;aACD,CAAC;IACJ,CAAC;IAED,kBAAkB;IAEX,OAAO,CAAC,IAAY;QAC1B,IAAI,GAAG,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;YAC7B,GAAG,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACvB,CAAC,CAAC,CAAC;QACH,OAAO,GAAG,CAAC;IACZ,CAAC;CACD;AAlFmB;IAAlB,UAAU;4CAAmD;AAC3C;IAAlB,UAAU;mCAAiB;AACT;IAAlB,UAAU;uCAAsB;AACd;IAAlB,UAAU;sCAAuB;AACf;IAAlB,UAAU;sCAA4B;AACpB;IAAlB,UAAU;mCAAkC;AAC1B;IAAlB,UAAU;wCAAuF;AAQ3F;IADN,MAAM;qCAIN;AAIM;IADN,MAAM;kCAMN;AAIM;IADN,MAAM;mCAIN;AAIM;IADN,MAAM;qCAmCN;AAIM;IADN,MAAM;oCAON"}
@@ -43,7 +43,7 @@ const WorkCashReport = (props) => {
43
43
  onFilter((state.filterV1Val = ((_a = c === null || c === void 0 ? void 0 : c.options) === null || _a === void 0 ? void 0 : _a.Filters)
44
44
  ? JSON.parse((_b = c === null || c === void 0 ? void 0 : c.options) === null || _b === void 0 ? void 0 : _b.Filters[0].v1)
45
45
  : []));
46
- }, onReset: () => onFilter([]) })))),
46
+ }, onReset: () => onFilter(["Active"]) })))),
47
47
  React.createElement("div", { className: "work-report-content" },
48
48
  React.createElement(Skeleton, { loading: state.loading, active: true },
49
49
  React.createElement(WorkCashReportTemplate, { data: state.dataList }))))));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkCashReport/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,sBAAsB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,cAAc,GAAG,CAAC,KAGvB,EAAE,EAAE;IACJ,MAAM,IAAI,GAAG,sBAAsB,EAAE,CAAC;IACtC,MAAM,KAAK,GAAG,YAAY,EAAE,CAAC;IAE7B,MAAM,CAAC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AI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,YAAY,EAAE,IAAI,EAAC,IAAI,GAAG,EAC9C,OAAO,EAAE;oCACR,oBAAC,gBAAgB,IAAC,GAAG,EAAC,kBAAkB,EAAC,YAAY,EAAE,KAAK,CAAC,WAAW,GAAI;iCAC5E,EACD,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;;oCACf,CAAC,CAAC,MAAM,EAAE,CAAC;oCACX,QAAQ,CACP,CAAC,KAAK,CAAC,WAAW,GAAG,CAAA,MAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,OAAO,0CAAE,OAAO;wCACvC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,OAAO,0CAAE,OAAO,CAAC,CAAC,EAAE,EAAE,CAAC;wCACvC,CAAC,CAAC,EAAE,CAAC,CACN,CAAC;gCACH,CAAC,EACD,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,GAClC,CACG,CACD,CACyB;gBAEhC,6BAAK,SAAS,EAAC,qBAAqB;oBACnC,oBAAC,QAAQ,IAAC,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,MAAM;wBACvC,oBAAC,sBAAsB,IAAC,IAAI,EAAE,KAAK,CAAC,QAAQ,GAAI,CACtC,CACN,CACD,CACoB,CAC3B,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -10,7 +10,7 @@ import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemF
10
10
  import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
11
11
  import NewWorkForm from "../NewWorkForm";
12
12
  import WorkItem from "../WorkItem";
13
- import moment from "moment";
13
+ import dayjs from "dayjs";
14
14
  import S from "string";
15
15
  import "./index.less";
16
16
  const WorkList = (props) => {
@@ -80,7 +80,7 @@ const WorkList = (props) => {
80
80
  c: "DueDate",
81
81
  o: "<",
82
82
  l: "And",
83
- v1: moment().format("YYYY-MM-DD HH:mm:ss"),
83
+ v1: dayjs().format("YYYY-MM-DD HH:mm:ss"),
84
84
  };
85
85
  const requestedFilter = [
86
86
  {
@@ -146,14 +146,14 @@ const WorkList = (props) => {
146
146
  let v2 = "";
147
147
  if (dueDate !== "today")
148
148
  date = dueDate;
149
- v1 = moment().startOf(date).format("YYYY-MM-DD HH:mm:ss");
150
- v2 = moment().endOf(date).format("YYYY-MM-DD HH:mm:ss");
149
+ v1 = dayjs().startOf(date).format("YYYY-MM-DD HH:mm:ss");
150
+ v2 = dayjs().endOf(date).format("YYYY-MM-DD HH:mm:ss");
151
151
  // if (dueDate === "unscheduled") {
152
- // v1 = moment().add(1, "months").startOf("month").format("YYYY-MM-DD HH:mm:ss");
153
- // v2 = moment().add(1, "months").endOf("month").format("YYYY-MM-DD HH:mm:ss");
152
+ // v1 = dayjs().add(1, "months").startOf("month").format("YYYY-MM-DD HH:mm:ss");
153
+ // v2 = dayjs().add(1, "months").endOf("month").format("YYYY-MM-DD HH:mm:ss");
154
154
  // } else {
155
- // v1 = moment().startOf(date).format("YYYY-MM-DD HH:mm:ss");
156
- // v2 = moment().endOf(date).format("YYYY-MM-DD HH:mm:ss");
155
+ // v1 = dayjs().startOf(date).format("YYYY-MM-DD HH:mm:ss");
156
+ // v2 = dayjs().endOf(date).format("YYYY-MM-DD HH:mm:ss");
157
157
  // }
158
158
  filter.push({
159
159
  c: "DueDate",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAS,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAa,WAAW,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAC1F,OAAO,EAAE,eAA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E,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC;IAED,SAAS,YAAY;QACpB,QAAQ,OAAO,EAAE,CAAC;YACjB,KAAK,OAAO,CAAC;YACb,KAAK,MAAM,CAAC;YACZ,KAAK,OAAO,CAAC;YACb,KAAK,KAAK;gBACT,OAAO,CAAC,QAAQ,CAAC,CAAC;YACnB,KAAK,WAAW;gBACf,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;YACnC;gBACC,MAAM;QACR,CAAC;QACD,IAAI,SAAS;YAAE,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QACxC,IAAI,OAAO;YAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC/B,OAAO,EAAE,CAAC;IACX,CAAC;IAED,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,QAAQ,CAAC,YAAY,GAAG;IACvB,SAAS,EAAE,IAAI;IACf,aAAa,EAAE,IAAI;CACnB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -12,8 +12,10 @@ import WorkSchedulePropertiesView from "../WorkSchedulePropertiesView";
12
12
  import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemFrame";
13
13
  import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
14
14
  import WorkScheduleItem from "../WorkScheduleItem";
15
- import moment from "moment";
15
+ import quarterOfYear from "dayjs/plugin/quarterOfYear";
16
+ import dayjs from "dayjs";
16
17
  import styles from "./index.less";
18
+ dayjs.extend(quarterOfYear);
17
19
  const WorkScheduleList = (props) => {
18
20
  const { contact, viewTitle, asideable, scheduleDate } = props;
19
21
  const [activeId, setActiveId] = useState("");
@@ -73,28 +75,28 @@ const WorkScheduleList = (props) => {
73
75
  c: "ScheduleDate",
74
76
  o: "<",
75
77
  l: "And",
76
- v1: moment().format("YYYY-MM-DD HH:mm:ss"),
78
+ v1: dayjs().format("YYYY-MM-DD HH:mm:ss"),
77
79
  };
78
80
  const weekFilter = {
79
81
  c: "ScheduleDate",
80
82
  o: "between",
81
83
  l: "And",
82
- v1: moment().startOf("week").format("YYYY-MM-DD HH:mm:ss"),
83
- v2: moment().endOf("week").format("YYYY-MM-DD HH:mm:ss"),
84
+ v1: dayjs().startOf("week").format("YYYY-MM-DD HH:mm:ss"),
85
+ v2: dayjs().endOf("week").format("YYYY-MM-DD HH:mm:ss"),
84
86
  };
85
87
  const monthFilter = {
86
88
  c: "ScheduleDate",
87
89
  o: "between",
88
90
  l: "And",
89
- v1: moment().startOf("month").format("YYYY-MM-DD HH:mm:ss"),
90
- v2: moment().endOf("month").format("YYYY-MM-DD HH:mm:ss"),
91
+ v1: dayjs().startOf("month").format("YYYY-MM-DD HH:mm:ss"),
92
+ v2: dayjs().endOf("month").format("YYYY-MM-DD HH:mm:ss"),
91
93
  };
92
94
  const quarterFilter = {
93
95
  c: "ScheduleDate",
94
96
  o: "between",
95
97
  l: "And",
96
- v1: moment().startOf("quarter").format("YYYY-MM-DD HH:mm:ss"),
97
- v2: moment().endOf("quarter").format("YYYY-MM-DD HH:mm:ss"),
98
+ v1: dayjs().startOf("quarter").format("YYYY-MM-DD HH:mm:ss"),
99
+ v2: dayjs().endOf("quarter").format("YYYY-MM-DD HH:mm:ss"),
98
100
  };
99
101
  if (contact) {
100
102
  filter.push({ c: "Contact", o: "=", l: "And", v1: contact.id });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAA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AAM,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QAClE,CAAC;aAAM,CAAC;YACP,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QAC1D,CAAC;QAED,QAAQ,YAAY,EAAE,CAAC;YACtB,KAAK,aAAa;gBACjB,MAAM,GAAG,CAAC,iBAAiB,EAAE,GAAG,MAAM,CAAC,CAAC;gBACxC,MAAM;YACP,KAAK,KAAK;gBACT,MAAM,GAAG,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,CAAC;gBAChC,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,SAAS;gBACb,MAAM,GAAG,CAAC,aAAa,EAAE,GAAG,MAAM,CAAC,CAAC;gBACpC,MAAM;YACP;gBACC,OAAO,MAAM,CAAC;QAChB,CAAC;QAED,OAAO,MAAM,CAAC;IACf,CAAC;IAED,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,gBAAgB,CAAC,YAAY,GAAG;IAC/B,SAAS,EAAE,GAAG;CACd,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBA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ho-document/es/controls/DocumentRefer
11
11
  import DocumentSelectDialog from "@voplus/morpho-document/es/components/DocumentSelectDialog";
12
12
  import ChangeWorkDefaultFolderDialog from "../ChangeWorkDefaultFolderDialog";
13
13
  import WorkTypeStatusLabel from "../../controls/WorkTypeStatusLabel";
14
- import AutoSequenceLink from "../AutoSequenceLink";
14
+ import AutoSequenceLink from "../../../../../components/AutoSequenceLink";
15
15
  const Properties = (props) => {
16
16
  const { id, propertiesName } = props;
17
17
  const worktype = useWorkType(id);
@@ -29,7 +29,7 @@ const Properties = (props) => {
29
29
  case "Work Space":
30
30
  return (React.createElement(NodeLink, { node: worktype === null || worktype === void 0 ? void 0 : worktype.workspace, url: `/workspaces/${(_a = worktype.workspace) === null || _a === void 0 ? void 0 : _a.id}` }));
31
31
  case "Number Format":
32
- return React.createElement(AutoSequenceLink, { id: id });
32
+ return (React.createElement(AutoSequenceLink, { sequence: worktype.sequence, onSubmit: (sequence) => store.edit(worktype.id, { data: { Sequence: sequence } }) }));
33
33
  case "Status":
34
34
  return (React.createElement(WorkTypeStatusLabel, { editable: true, status: worktype.status, onChange: (status) => {
35
35
  store.edit(worktype.id, { data: { Status: status }, error: "message" });
@@ -1 +1 @@
1
- {"version":3,"file":"Properties.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/Properties.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,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC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,GACA,CACF,CAAC;YACH,KAAK,aAAa;gBACjB,OAAO,CACN,oBAAC,MAAM,IACN,OAAO,EAAE,QAAQ,CAAC,UAAU,EAC5B,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE,CACrB,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAE5E,CACF,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"Properties.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/Properties.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,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,QAAQ,MAAM,kCAAkC,CAAC;AACxD,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,iBAAiB,MAAM,+EAA+E,CAAC;AAC9G,OAAO,oBAAoB,MAAM,4DAA4D,CAAC;AAC9F,OAAO,6BAA6B,MAAM,kCAAkC,CAAC;AAC7E,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;AAc1E,MAAM,UAAU,GAAG,CAAC,KAA6D,EAAE,EAAE;IACpF,MAAM,EAAE,EAAE,EAAE,cAAc,E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EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAE5E,CACF,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,UAAU,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 State {
5
5
  constructor(_id, _layout, _url) {
6
6
  Object.defineProperty(this, "_id", {
@@ -159,8 +159,8 @@ export class State {
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: "WorkStatus", l: "And", o: "=", v1: "Active" },
166
166
  // { c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Owner"]) },
@@ -178,8 +178,8 @@ export class State {
178
178
  c: "DueDate",
179
179
  o: "between",
180
180
  l: "And",
181
- v1: moment().startOf("week").format("YYYY-MM-DD HH:mm:ss"),
182
- v2: moment().endOf("week").format("YYYY-MM-DD HH:mm:ss"),
181
+ v1: dayjs().startOf("week").format("YYYY-MM-DD HH:mm:ss"),
182
+ v2: dayjs().endOf("week").format("YYYY-MM-DD HH:mm:ss"),
183
183
  },
184
184
  { c: "WorkStatus", l: "And", o: "=", v1: "Active" },
185
185
  // { c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Owner"]) },
@@ -197,8 +197,8 @@ export class State {
197
197
  c: "DueDate",
198
198
  o: "between",
199
199
  l: "And",
200
- v1: moment().startOf("month").format("YYYY-MM-DD HH:mm:ss"),
201
- v2: moment().endOf("month").format("YYYY-MM-DD HH:mm:ss"),
200
+ v1: dayjs().startOf("month").format("YYYY-MM-DD HH:mm:ss"),
201
+ v2: dayjs().endOf("month").format("YYYY-MM-DD HH:mm:ss"),
202
202
  },
203
203
  { c: "WorkStatus", l: "And", o: "=", v1: "Active" },
204
204
  // { c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Owner"]) },
@@ -216,7 +216,7 @@ export class State {
216
216
  c: "DueDate",
217
217
  o: "<",
218
218
  l: "And",
219
- v1: moment().format("YYYY-MM-DD HH:mm:ss"),
219
+ v1: dayjs().format("YYYY-MM-DD HH:mm:ss"),
220
220
  },
221
221
  { c: "WorkStatus", l: "And", o: "=", v1: "Active" },
222
222
  // { c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Owner"]) },
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspacePage/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAMpE,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,MAAM,OAAO,KAAK;IAqBjB,YAAoB,GAAW,EAAU,OAAsB,EAAU,IAAY;QAAzE;;;;mBAAQ,GAAG;WAAQ;QAAE;;;;mBAAQ,OAAO;WAAe;QAAE;;;;mBAAQ,IAAI;WAAQ;QApBlE;;;;mBAAU,SAAiC;WAAC;QAC5C;;;;;WAA0B;QAC1B;;;;mBAA2C;gBAC7D,GAAG,EAAE,CAAC;gBACN,QAAQ,EAAE,CAAC;gBACX,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;gBACT,IAAI,EAAE,CAAC;aACP;WAAC;QACiB;;;;mBAA0C,EAAE;WAAC;QAChE,sCAAsC;QACnB;;;;mBAAqC;gBACvD,KAAK,EAAE,CAAC;gBACR,IAAI,EAAE,CAAC;gBACP,KAAK,EAAE,CAAC;gBACR,GAAG,EAAE,CAAC;aACN;WAAC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U;qCAAgF;AACxE;IAAlB,UAAU;yCAA2B;AAMvB;IAAd,MAAM;yCAKN;AAEc;IAAd,MAAM;qCAGN;AAGM;IADN,MAAM;kDAIN;AAGM;IADN,MAAM;iDAIN;AAGM;IADN,MAAM;4CAIN;AA2DD;IADC,QAAQ;mCAkBR;AAID;IADC,QAAQ;kCAkBR;AAID;IADC,QAAQ;mCAkBR;AAID;IADC,QAAQ;iCAiBR;AAOD;IADC,QAAQ;oCAWR"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.24",
3
+ "version": "6.0.26",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tip.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/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 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/AutoSequenceDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,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,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,OAAO,EAAE;oCACR,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE;oCACpC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE;oCACxC,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE;iCACtC,EACD,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC,GACzC,CACS,CACP;oBACN,oBAAC,GAAG,IAAC,IAAI,EAAE,CAAC;wBACX,oBAAC,IAAI,CAAC,IAAI,IACT,KAAK,EACJ;;gCAEC,oBAAC,GAAG,IACH,OAAO,EACN;;wCAEC,+BAAM;iHAEJ,GAEH,CACA;4BAGJ,oBAAC,WAAW,IACX,KAAK,EAAE,KAAK,CAAC,SAAS,EACtB,QAAQ,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,GACrD,CACS,CACP,CACD,CACA,CACA,CACR,CAAA;KAAA,CAAC,CAAC;IAEH,KAAK,UAAU,QAAQ;;QACtB,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE;YACpB,IAAI,EAAE;gBACL,QAAQ,EAAE;oBACT,MAAM,EAAE,KAAK,CAAC,MAAM;oBACpB,QAAQ,EAAE,KAAK,CAAC,QAAQ;oBACxB,KAAK,EAAE,KAAK,CAAC,KAAK;oBAClB,SAAS,EAAE,KAAK,CAAC,SAAS;iBAC1B;aACD;SACD,CAAC,CAAC;QACH,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/AutoSequenceDialog/state.ts"],"names":[],"mappings":";AAAA,O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ACvB;IAAlB,UAAU;sCAA2B;AAEvB;IAAd,MAAM;mCAMN;AAEoB;IAApB,MAAM;uCAON"}
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- declare const AutoSequenceLink: (props: {
3
- id: string;
4
- }) => React.JSX.Element;
5
- export default AutoSequenceLink;
@@ -1,17 +0,0 @@
1
- import React, { useState } from "react";
2
- import { observe } from "@voplus/morpho-ui";
3
- import AutoSequenceDialog from "../AutoSequenceDialog";
4
- import classnames from "classnames";
5
- import { useWorkType } from "../../../../../data/worktype";
6
- const AutoSequenceLink = (props) => {
7
- const [open, setOpen] = useState(false);
8
- const worktype = useWorkType(props.id);
9
- return observe(() => {
10
- var _a, _b;
11
- return (React.createElement(React.Fragment, null,
12
- React.createElement("span", { className: classnames({ "add-info-style": !((_a = worktype.sequence) === null || _a === void 0 ? void 0 : _a.format) }), style: { cursor: "pointer" }, onClick: () => setOpen(true) }, ((_b = worktype.sequence) === null || _b === void 0 ? void 0 : _b.format) ? worktype.sequence.format : "Add NumberFormat"),
13
- open && (React.createElement(AutoSequenceDialog, { id: props.id, onCancel: () => setOpen(false), onSubmit: () => setOpen(false) }))));
14
- });
15
- };
16
- export default AutoSequenceLink;
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/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;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,MAAM,gBAAgB,GAAG,CAAC,KAAqB,EAAE,EAAE;IAClD,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,K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