@voplus/morpho-workspace 6.0.38 → 6.0.40

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,44 +1,42 @@
1
- import { AsideContent, observe, useRenderOnChange } from "@voplus/morpho-ui";
2
- import { Button, Select } from "antd";
3
- import { UTCDatePicker as DatePicker } from "@voplus/morpho-ui";
1
+ import React, { useCallback, useEffect, useRef, useState } from "react";
2
+ import { AsideContent, observe, useRenderOnChange, UTCDatePicker as DatePicker, } from "@voplus/morpho-ui";
3
+ import { useMetaStore } from "@voplus/morpho-document-core";
4
4
  import { FilterOptionsContext, FilterOptionsContextState } from "@voplus/morpho-ui/es/data";
5
5
  import { useCalendarListEffect, useCalendarStore } from "../../../../data/calendar";
6
- import React, { useCallback, useEffect, useRef, useState } from "react";
7
6
  import { faAngleLeft, faAngleRight } from "@fortawesome/pro-light-svg-icons";
8
7
  import { useDeepMemo, useTabItem } from "@voplus/morpho-data";
8
+ import { faCalendar } from "@fortawesome/free-solid-svg-icons";
9
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
10
+ import { Scrollbars } from "react-custom-scrollbars-2";
11
+ import { Button, Select } from "antd";
12
+ import { runInAction } from "mobx";
13
+ import { State } from "./state";
9
14
  import CalendarEventContent from "../../components/CalendarEventContent";
10
15
  import EventsFilter from "../../../../controls/filters/EventsFilter";
11
- import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
12
16
  import FilterView from "@voplus/morpho-ui/es/controls/FilterView";
17
+ import interactionPlugin from "@fullcalendar/interaction";
18
+ import timeGridPlugin from "@fullcalendar/timegrid";
13
19
  import FullCalendar from "@fullcalendar/react";
14
- import { Scrollbars } from "react-custom-scrollbars-2";
15
- import { State } from "./state";
16
20
  import dayGridPlugin from "@fullcalendar/daygrid";
21
+ import crypto from "crypto-js";
17
22
  import dayjs from "dayjs";
18
- import { faCalendar } from "@fortawesome/free-solid-svg-icons";
19
- import interactionPlugin from "@fullcalendar/interaction";
20
- import { runInAction } from "mobx";
21
23
  import styles from "./index.less";
22
- import timeGridPlugin from "@fullcalendar/timegrid";
23
- import { useMetaStore } from "@voplus/morpho-document-core";
24
24
  const CalendarMonth = () => {
25
25
  const tab = useTabItem();
26
26
  const meta = useMetaStore();
27
27
  const filterState = useDeepMemo(() => new FilterOptionsContextState({
28
28
  defaults: {
29
- filters: [
30
- { c: "OwnerType", o: "contains", v1: JSON.stringify(["My"]), l: "And" },
31
- ],
29
+ filters: [{ c: "OwnerType", o: "contains", v1: JSON.stringify(["My"]), l: "And" }],
32
30
  page: { Page: 1, PageSize: 200 },
33
31
  },
34
32
  }), []);
35
- const [asideContext] = useState(AsideContent.createContext());
36
- const calendar = useCalendarStore();
37
33
  const Option = Select.Option;
38
34
  const [state] = useState(new State());
39
- const calendarRef = useRef(null);
35
+ const [asideContext] = useState(AsideContent.createContext());
40
36
  const [currentTime, setCurrentTime] = useState();
41
37
  const [calendarApi, setCalendarApi] = useState();
38
+ const calendarRef = useRef(null);
39
+ const calendar = useCalendarStore();
42
40
  /** 设置 日历 高度 */
43
41
  const boxRef = useCallback((node) => {
44
42
  if (node !== null) {
@@ -56,10 +54,11 @@ const CalendarMonth = () => {
56
54
  useRenderOnChange(() => filterState.options);
57
55
  useCalendarListEffect(null, (list) => {
58
56
  runInAction(() => {
59
- const colorList = ["#d3adf7", "#ffbb96", "#adc6ff", "#ffd591", "#b7eb8f", "#87e8de"];
60
57
  list.map((item, index) => {
61
- item.backgroundColor = colorList[(index || 0) % 6];
62
- item.borderColor = colorList[(index || 0) % 6];
58
+ var _a, _b, _c;
59
+ item.backgroundColor = generateLightColorFromHash((_a = item === null || item === void 0 ? void 0 : item.source) === null || _a === void 0 ? void 0 : _a.type);
60
+ item.borderColor = generateLightColorFromHash((_b = item === null || item === void 0 ? void 0 : item.source) === null || _b === void 0 ? void 0 : _b.type);
61
+ console.log("color", generateLightColorFromHash((_c = item === null || item === void 0 ? void 0 : item.source) === null || _c === void 0 ? void 0 : _c.type));
63
62
  });
64
63
  state.listOptions = list;
65
64
  });
@@ -108,6 +107,37 @@ const CalendarMonth = () => {
108
107
  height: "100%",
109
108
  //events={(dataInfo)=>getDate(dataInfo)}//这个要放在eventSources前,不然eventSources数据会被覆盖
110
109
  eventSources: [state.listOptions], eventDrop: eventDrop, eventContent: eventContent, datesSet: (info) => state.datesRender(info) })))))));
110
+ function generateLightColorFromHash(type) {
111
+ // 使用SHA-256哈希算法生成哈希值
112
+ const hash = crypto.SHA256(type).toString();
113
+ // 从哈希值中提取一部分用于生成颜色值
114
+ // 这里我们使用前6个字符来生成RGB值,你可以根据需要调整
115
+ let hexColor = "#" + hash.slice(0, 6);
116
+ // 确保颜色足够浅(这里是一个简单的启发式方法,你可以根据需要调整)
117
+ let r = parseInt(hexColor.slice(1, 3), 16);
118
+ let g = parseInt(hexColor.slice(3, 5), 16);
119
+ let b = parseInt(hexColor.slice(5, 7), 16);
120
+ const brightness = r * 0.299 + g * 0.587 + b * 0.114; // 使用RGB到亮度的简单转换
121
+ // 如果亮度不够高,则增加亮度值
122
+ if (brightness < 192) {
123
+ // 192是一个阈值,你可以根据需要进行调整
124
+ const adjustment = 255 - brightness;
125
+ r += Math.round((255 - r) * (adjustment / 255));
126
+ g += Math.round((255 - g) * (adjustment / 255));
127
+ b += Math.round((255 - b) * (adjustment / 255));
128
+ // 确保颜色值不超过255
129
+ r = Math.min(r, 255);
130
+ g = Math.min(g, 255);
131
+ b = Math.min(b, 255);
132
+ // 转换为16进制字符串
133
+ hexColor =
134
+ "#" +
135
+ r.toString(16).padStart(2, "0") +
136
+ g.toString(16).padStart(2, "0") +
137
+ b.toString(16).padStart(2, "0");
138
+ }
139
+ return hexColor;
140
+ }
111
141
  /** 切换month,week,day视图 */
112
142
  function handleChange(value) {
113
143
  runInAction(() => (state.type = value));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/calendar/pages/CalendarMonth/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,OAAO,EAA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heckActiveTab = (props) => {
65
65
  key: "Due",
66
66
  label: "Due",
67
67
  children: (React.createElement(React.Fragment, null, state.dueList.map((item) => (React.createElement(DocumentItemFrame, { key: item.id },
68
- React.createElement(TaskCheckItem, { id: item.id, dueDate: true })))))),
68
+ React.createElement(TaskCheckItem, { id: item.id })))))),
69
69
  });
70
70
  if (state.todayList.length)
71
71
  items.push({
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskCheckActiveTab/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,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACjD,OAAO,EAAiB,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACpG,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAE7C,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAS,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,cAAc,CAAC;AAEtB,MAAM,kBAAkB,GAAG,CAAC,KAA2D,EAAE,EAAE;IAC1F,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IAC3C,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IACtC,MAAM,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,GACX;oBACD,CAAC,KAAK,CAAC,MAAM,IAAI,oBAAC,KAAK,OAAG,CACjB,CACN,CACoB,CAC3B,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -17,7 +17,7 @@ const TaskCheckDoneTab = (props) => {
17
17
  includes: "tags",
18
18
  filters: [
19
19
  { c: "ParentNodeId", o: "=", l: "And", v1: parentId },
20
- { c: "TaskStatus", o: "contains", l: "And", v1: "['Done']" },
20
+ { c: "TaskStatus", o: "contains", l: "And", v1: JSON.stringify(["Done"]) },
21
21
  /** 必須提供parent node id或assignee filter */
22
22
  // {
23
23
  // c: "Members",
@@ -54,7 +54,7 @@ const TaskCheckDoneTab = (props) => {
54
54
  });
55
55
  return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
56
56
  React.createElement(ListView, { renderId: props.parentId, asideable: false, headerProps: { visible: false }, renderItem: ({ item }) => (React.createElement(DocumentItemFrame, { key: item.id },
57
- React.createElement(TaskCheckItem, { id: item.id, dueDate: true }))) }))));
57
+ React.createElement(TaskCheckItem, { id: item.id }))) }))));
58
58
  };
59
59
  export default TaskCheckDoneTab;
60
60
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskCheckDoneTab/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAiB,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACpG,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,E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AC;IACF,CAAC,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;QACpC,oBAAC,QAAQ,IACR,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,SAAS,EAAE,KAAK,EAChB,WAAW,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,EAC/B,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CACzB,oBAAC,iBAAiB,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE;gBAC9B,oBAAC,aAAa,IAAC,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,CACX,CACpB,GACA,CACwB,CAC3B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -8,29 +8,37 @@ import FlagIcon from "@voplus/morpho-document/es/controls/data-icons/FlagIcon";
8
8
  import { useTask, useTaskStore, useMetaStore } from "@voplus/morpho-document-core";
9
9
  import dayjs from "dayjs";
10
10
  import { State } from "./state";
11
+ import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
12
+ import { useApplicationContext } from "@voplus/morpho-data";
11
13
  import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
12
14
  import "./index.less";
13
15
  const TaskCheckItem = (props) => {
14
16
  const { id, dueDate } = props;
15
17
  const [state] = useState(new State());
16
18
  const meta = useMetaStore();
19
+ const { user } = useApplicationContext();
17
20
  const taskStore = useTaskStore();
18
21
  const task = useTask(id);
19
22
  state.update(task);
20
- return observe(() => (React.createElement(DocumentHeader, { id: id, flagVisible: false, tagsVisible: false, quickDataBarVisible: false, className: "task-check-item", clickNameEffect: "default", onMouse: (over) => (state.isHover = over), pre: React.createElement("div", null,
21
- React.createElement(Checkbox, { checked: state.checked, onChange: async (e) => {
22
- state.checked = e.target.checked;
23
- await taskStore.edit(task.id, {
24
- data: { TaskStatus: e.target.checked === true ? "Done" : "Progress" },
25
- error: (error) => message.error(error.message),
26
- });
27
- state.checked = task.taskStatus === "Done";
28
- } }),
29
- React.createElement(FlagIcon, { id: task.id, flag: task.flag, editable: !task.readonly })), tools: React.createElement(React.Fragment, null,
30
- dueDate && task.dueDate && (React.createElement("span", { className: classnames("task-dueDate", { hide: state.isHover }) }, dayjs(task.dueDate).format("DD MMM YYYY"))),
31
- React.createElement("div", { className: classnames("hover-operate-icon", { show: state.isHover }) },
32
- React.createElement(ToolBar, { id: id, moreProps: { buttonProps: { size: "middle" } } },
33
- React.createElement(Open, { size: "middle", url: meta.getRoute(task) })))) })));
23
+ return observe(() => {
24
+ var _a;
25
+ return (React.createElement(DocumentHeader, { id: id, flagVisible: false, tagsVisible: false, quickDataBarVisible: false, className: "task-check-item", clickNameEffect: "default", onMouse: (over) => (state.isHover = over), pre: React.createElement("div", null,
26
+ React.createElement(Checkbox, { checked: state.checked, onChange: async (e) => {
27
+ state.checked = e.target.checked;
28
+ await taskStore.edit(task.id, {
29
+ data: { TaskStatus: e.target.checked === true ? "Done" : "Progress" },
30
+ error: (error) => message.error(error.message),
31
+ });
32
+ state.checked = task.taskStatus === "Done";
33
+ } }),
34
+ React.createElement(FlagIcon, { id: task.id, flag: task.flag, editable: !task.readonly })), tools: React.createElement(React.Fragment, null,
35
+ ((_a = task.members) === null || _a === void 0 ? void 0 : _a.length) ? (React.createElement("div", { className: classnames("task-members", { hide: state.isHover, noDate: dueDate }) },
36
+ React.createElement(AvatarList, { organizationId: user.info.organizationId, maxCount: 3, list: task.members, editable: false }))) : null,
37
+ dueDate && (React.createElement("span", { className: classnames("task-dueDate", { hide: state.isHover }) }, task.dueDate && dayjs(task.dueDate).format("DD MMM YYYY"))),
38
+ React.createElement("div", { className: classnames("hover-operate-icon", { show: state.isHover }) },
39
+ React.createElement(ToolBar, { id: id, moreProps: { buttonProps: { size: "middle" } } },
40
+ React.createElement(Open, { size: "middle", url: meta.getRoute(task) })))) }));
41
+ });
34
42
  };
35
43
  export default TaskCheckItem;
36
44
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskCheckItem/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,QAAQ,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACzC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,QAAQ,MAAM,yDAAyD,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,cAAc,CAAC;AAEtB,MAAM,aAAa,GAAG,CAAC,KAItB,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAC9B,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IACtC,MAAM,IAAI,GAAG,YAAY,EAAE,CAAC;IAC5B,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IACjC,MAAM,IAAI,GAAG,OAAO,CAAC,EAAE,CAAC,CAAC;IACzB,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAEnB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,cAAc,IACd,EAAE,EAAE,EAAE,EACN,WAAW,EAAE,KAAK,EAClB,WAAW,EAAE,KAAK,EAClB,mBAAmB,EA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3s;
11
+ flex-shrink: 0;
12
+ &.hide {
13
+ opacity: 0;
14
+ }
15
+ &.noDate {
16
+ flex: 1;
17
+ opacity: 1;
18
+ }
19
+ }
8
20
  .task-dueDate {
21
+ width: 100px;
9
22
  opacity: 1;
10
23
  // transition: opacity 0.3s;
11
24
  flex-shrink: 0;
25
+ text-align: right;
12
26
  &.hide {
13
27
  opacity: 0;
14
28
  }
@@ -31,16 +31,16 @@ const TaskCheckList = (props) => {
31
31
  List: false,
32
32
  Filters: [
33
33
  { c: "ParentNodeId", o: "=", l: "And", v1: id },
34
- { c: "TaskStatus", o: "contains", l: "And", v1: "['Done']" },
34
+ { c: "TaskStatus", o: "contains", l: "And", v1: JSON.stringify(["Done"]) },
35
35
  ],
36
36
  });
37
37
  return observe(() => (React.createElement(ViewContext.Provider, { value: view },
38
38
  React.createElement("div", { className: "task-check-list" },
39
39
  React.createElement("div", { className: "task-check-header" },
40
40
  React.createElement("h3", { className: "text-lg font-medium leading-6 text-gray-900" }, "Tasks"),
41
- React.createElement("div", null,
41
+ React.createElement("div", { className: "task-check-tabbar" },
42
42
  React.createElement(Popover, { content: React.createElement(React.Fragment, null, "Show Done Tasts") },
43
- React.createElement(Button, { type: "primary", onClick: onMore },
43
+ React.createElement(Button, { onClick: onMore, className: "task-check-trigger" },
44
44
  React.createElement(FAIcon, { icon: state.showTabbar ? faEllipsis : faEllipsisLight }))),
45
45
  React.createElement(Button, { onClick: onCreate, className: "task-check-add" },
46
46
  React.createElement(PlusOutlined, null)))),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskCheckList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,gBAAgB,MAAM,qB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K,GAAI,CACnD,CACb;qBACD;iBACD,GACA;YACD,KAAK,CAAC,OAAO,IAAI,CACjB,oBAAC,gBAAgB,IAChB,QAAQ,EAAE,KAAK,CAAC,EAAE,EAClB,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,EACvC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,GACpC,CACF,CACI,CACgB,CACvB,CAAC,CAAC;IAEH,SAAS,QAAQ;QAChB,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC;QACrB,KAAK,CAAC,SAAS,GAAG,QAAQ,CAAC;IAC5B,CAAC;IAED,SAAS,MAAM;QACd,KAAK,CAAC,UAAU,GAAG,CAAC,KAAK,CAAC,UAAU,CAAC;QACrC,IAAI,CAAC,KAAK,CAAC,UAAU;YAAE,KAAK,CAAC,SAAS,GAAG,QAAQ,CAAC;IACnD,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -9,9 +9,15 @@
9
9
  justify-content: space-between;
10
10
  padding: 10px 20px 10px 20px;
11
11
  border-bottom: 1px solid #e6e6e6;
12
- .task-check-add {
12
+ .task-check-tabbar {
13
+ display: flex;
14
+ }
15
+ .task-check-add,
16
+ .task-check-trigger {
17
+ width: 32px;
13
18
  display: inline-flex;
14
19
  align-items: center;
20
+ justify-content: center;
15
21
  margin-left: 10px;
16
22
  }
17
23
  }
@@ -1,5 +1,5 @@
1
1
  import React, { useState } from "react";
2
- import { Col, Spin, Form, Input, Row, message, Button } from "antd";
2
+ import { Col, Spin, Form, Input, Row, message } from "antd";
3
3
  import { State } from "./state";
4
4
  import { observe } from "@voplus/morpho-ui";
5
5
  import PresetDatePicker from "@voplus/morpho-ui/es/controls/PresetDatePicker";
@@ -24,7 +24,8 @@ const TaskCheckNewForm = (props) => {
24
24
  React.createElement("div", { className: "task-due-date-content" },
25
25
  state.dueDateString ? (React.createElement("div", { className: "due-val-content", onClick: () => (state.openDate = true) },
26
26
  React.createElement("div", { className: "dueDate" }, "Due"),
27
- React.createElement(React.Fragment, null, state.dueDateString))) : (React.createElement(Button, { type: "primary", className: "task-due-date-bnt", icon: React.createElement(FAIcon, { icon: faCalendar }), onClick: () => (state.openDate = true) })),
27
+ React.createElement(React.Fragment, null, state.dueDateString))) : (React.createElement("span", { onClick: () => (state.openDate = true), className: "task-due-date-bnt" },
28
+ React.createElement(FAIcon, { icon: faCalendar, size: "lg" }))),
28
29
  React.createElement(PresetDatePicker, { className: "task-preset-date-picker", open: state.openDate, onChange: (preset, date) => {
29
30
  state.params.DueDate = dayjs(date).format("YYYY-MM-DD");
30
31
  state.dueDateString = preset ? preset : dayjs(date).format("YYYY-MM-DD");
@@ -33,7 +34,7 @@ const TaskCheckNewForm = (props) => {
33
34
  if (inputlement) {
34
35
  inputlement.focus();
35
36
  }
36
- }, style: { width: "100%" } }))))))))));
37
+ }, handleOpenChange: (open) => (state.openDate = open), style: { width: "100%" } }))))))))));
37
38
  function onKeyDown(e) {
38
39
  if (e.keyCode !== 27)
39
40
  return;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskCheckNewForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO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M;QACxB,IAAI,CAAC,CAAC,OAAO,KAAK,EAAE;YAAE,OAAO;QAC7B,QAAQ,EAAE,CAAC;IACZ,CAAC;IAED,KAAK,UAAU,QAAQ;;QACtB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI;YAAE,OAAO,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;QACpE,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC;QAC1C,MAAM,KAAK,CAAC,MAAM,CAAC;YAClB,IAAI,EAAE,EAAE,GAAG,KAAK,CAAC,MAAM,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAS;YAC1D,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC7B,CAAC,CAAC,CAAC;QACH,MAAA,KAAK,CAAC,MAAM,qDAAI,CAAC;QACjB,OAAO;IACR,CAAC;IACD,kBAAkB;IAClB,SAAS,QAAQ;;QAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,gBAAgB,CAAC"}
@@ -2,7 +2,7 @@
2
2
 
3
3
  :global {
4
4
  .new-task-check-form {
5
- padding: 10px 20px 0;
5
+ padding: 10px 16px 0;
6
6
  .ant-form-item {
7
7
  margin-bottom: 10px;
8
8
  .task-due-date-content {
@@ -17,14 +17,16 @@
17
17
  }
18
18
  .task-due-date-bnt {
19
19
  width: 40px;
20
- font-size: 18px;
20
+ height: 32px;
21
+ font-size: 20px;
21
22
  cursor: pointer;
22
23
  display: inline-flex;
23
24
  align-items: center;
24
25
  justify-content: center;
26
+ background-color: #fff;
25
27
  }
26
28
  .due-val-content {
27
- min-width: 30px;
29
+ min-width: 32px;
28
30
  line-height: 18px;
29
31
  background-color: #fff;
30
32
  cursor: pointer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.38",
3
+ "version": "6.0.40",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -39,15 +39,17 @@
39
39
  "@fullcalendar/timegrid": "6.x",
40
40
  "@voplus/morpho-collaboration-action": "6.x",
41
41
  "@voplus/morpho-report": "6.x",
42
+ "crypto-js": "^4.2.0",
42
43
  "react-beautiful-dnd": "^13.1.0",
43
44
  "swiper": "9.x",
44
45
  "tippy.js": "^5.1.4"
45
46
  },
46
47
  "devDependencies": {
48
+ "@types/crypto-js": "^4.2.2",
47
49
  "@types/mockjs": "^1.0.3",
48
50
  "@types/react-beautiful-dnd": "^13.0.0",
49
- "@voplus/morpho-client-test": "6.x",
50
51
  "@voplus/morpho-build": "5.x",
52
+ "@voplus/morpho-client-test": "6.x",
51
53
  "@voplus/morpho-storybook": "6.x",
52
54
  "@voplus/morpho-test": "2.x",
53
55
  "mockjs": "^1.1.0",