@voplus/morpho-workspace 6.0.1 → 6.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -73,7 +73,7 @@ const MeetingList = (props) => {
73
73
  React.createElement(StartDateFilter, { key: "StartDateFilter", title: "MeetingDate" }),
74
74
  ], className: "margin-left-10" }),
75
75
  React.createElement(AddFormView, { id: parentId },
76
- React.createElement(NewMeetingForm, { parentId: parentId, simple: true })))));
76
+ React.createElement(NewMeetingForm, { parentId: parentId })))));
77
77
  }
78
78
  };
79
79
  export default MeetingList;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEpE,OAAO,WAAW,MAAM,mDAAmD,CAAC;AAC5E,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAElE,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,WAAW,MAAM,8BAA8B,CAAC;AACvD,OAAO,qBAAqB,MAAM,wCAAwC,CAAC;AAC3E,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,WAAW,MAAM,sEAAsE,CAAC;AAE/F,OAAO,gBAAgB,MAAM,2EAA2E,CAAC;AACzG,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,MAAM,kEAAkE,CAAC;AAC5F,OAAO,EAAE,oBAAoB,EAAE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AC,KAAK;YAAE,OAAO;QAEnB,KAAK,CAAC,KAAK,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,CAC3B,oBAAC,oBAAoB,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI,CAAC,OAAO;YAChD,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAC1B,oBAAC,WAAW,IAAC,KAAK,EAAC,QAAQ,EAAC,SAAS,EAAC,YAAY,EAAC,QAAQ,EAAE,aAAa,GAAI,CAC9E;YACD,oBAAC,gBAAgB,IAChB,MAAM,EAAE,CAAC,IAAqB,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EACzD,SAAS,EAAC,gBAAgB,GACzB;YACF,oBAAC,UAAU,IACV,OAAO,EAAE;oBACR,oBAAC,kBAAkB,IAAC,GAAG,EAAC,oBAAoB,GAAG;oBAC/C,oBAAC,eAAe,IAAC,GAAG,EAAC,iBAAiB,EAAC,KAAK,EAAC,aAAa,GAAG;iBAC7D,EACD,SAAS,EAAC,gBAAgB,GACzB;YACF,oBAAC,WAAW,IAAC,EAAE,EAAE,QAAS;gBACzB,oBAAC,cAAc,IAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,SAAG,CAChC,CACiB,CAChC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEpE,OAAO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BACzB,oBAAC,cAAc,IAAC,QAAQ,EAAE,QAAQ,GAAI,CACzB,CACiB,CAChC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
@@ -1,13 +1,16 @@
1
1
  import { Button, Space } from "antd";
2
2
  import { useNotification, } from "../../../../data/notification";
3
3
  import Card from "@voplus/morpho-ui/es/controls/Card";
4
+ import { useAsideContentContext } from "@voplus/morpho-ui/es/components/layout/AsideContent";
4
5
  import ProseMirrorViewer from "@voplus/morpho-text/es/controls/ProseMirror/Viewer";
5
6
  import React from "react";
7
+ import NewTaskForm from "../../../tasks/components/NewTaskForm";
6
8
  import classnames from "classnames";
7
- import moment from "moment";
9
+ import dayjs from "dayjs";
8
10
  import { observe } from "@voplus/morpho-ui";
9
11
  import styles from "./index.less";
10
12
  const DocumentNotificationCard = (props) => {
13
+ const asideContext = useAsideContentContext();
11
14
  const notification = useNotification(props.id);
12
15
  return observe(() => (React.createElement(Card, { className: classnames(styles["notification-card"], props.className, { active: props.active }), bordered: true,
13
16
  //hoverShadow
@@ -16,9 +19,13 @@ const DocumentNotificationCard = (props) => {
16
19
  React.createElement("h3", null, notification.content.title),
17
20
  React.createElement(ProseMirrorViewer, { html: notification.content.content }),
18
21
  React.createElement("div", { className: "notification-footer" },
19
- React.createElement("div", { className: "notification-date" }, moment(notification.createDate).format("DD MMM yyyy")),
22
+ React.createElement("div", { className: "notification-date" }, dayjs(notification.createDate).format("DD MMM yyyy")),
20
23
  React.createElement("div", { className: "notification-btn" },
21
24
  React.createElement(Space, null,
25
+ notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-dismiss", onClick: (ev) => {
26
+ ev.stopPropagation();
27
+ asideContext.openAside(React.createElement(NewTaskForm, { showView: true, self: true, description: notification.content.content, parentId: notification.content.documentId, onCancel: () => asideContext === null || asideContext === void 0 ? void 0 : asideContext.closeAside() }), { span: 12 });
28
+ } }, "Ceate Task")),
22
29
  notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-dismiss", onClick: (ev) => onChangeStatus(ev, "Dismissed") }, "Dismiss")),
23
30
  notification.status === "Dismissed" && (React.createElement(Button, { className: "btn-unDismiss", onClick: (ev) => onChangeStatus(ev, "Read") }, "UnDismiss")),
24
31
  notification.status !== "Later" && notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-later", onClick: (ev) => onChangeStatus(ev, "Later") }, "Later")))))))));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/DocumentNotificationCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAGN,eAAe,GACf,MAAM,+BAA+B,CAAC;AAEvC,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,wBAAwB,GAAG,CAAC,KAMjC,EAAE,EAAE;IACJ,MAAM,YAAY,GAAG,eAAe,CAAC,KAAK,CAAC,EAAE,CAA0B,CAAC;IAExE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,IAAI,IACJ,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,EAC7F,QAAQ;QACR,aAAa;QACb,MAAM;QAEN,6BAAK,SAAS,EAAC,2BAA2B,EAAC,OAAO,EAAE,KAAK,CAAC,OAAO;YAChE,gCAAK,YAAY,CAAC,OAAO,CAAC,KAAK,CAAM;YACrC,oBAAC,iBAAiB,IAAC,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,OAAO,GAAI;YACzD,6BAAK,SAAS,EAAC,qBAAqB;gBACnC,6BAAK,SAAS,EAAC,mBAAmB,IAChC,MAAM,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CACjD;gBACN,6BAAK,SAAS,EAAC,kBAAkB;oBAChC,oBAAC,KAAK;wBACJ,YAAY,CAAC,MAAM,KAAK,WAAW,IAAI,CACvC,oBAAC,MAAM,IAAC,SAAS,EAAC,aAAa,EAAC,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,WAAW,CAAC,cAEvE,CACT;wBACA,YAAY,CAAC,MAAM,KAAK,WAAW,IAAI,CACvC,oBAAC,MAAM,IAAC,SAAS,EAAC,eAAe,EAAC,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,MAAM,CAAC,gBAEpE,CACT;wBACA,YAAY,CAAC,MAAM,KAAK,OAAO,IAAI,YAAY,CAAC,MAAM,KAAK,WAAW,IAAI,CAC1E,oBAAC,MAAM,IAAC,SAAS,EAAC,WAAW,EAAC,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,OAAO,CAAC,YAEjE,CACT,CACM,CACH,CACD,CACD,CACA,CACP,CAAC,CAAC;IAEH,SAAS,cAAc,CAAC,EAAO,EAAE,MAA0B;;QAC1D,MAAA,KAAK,CAAC,cAAc,sDAAG,MAAM,CAAC,CAAC;QAC/B,EAAE,CAAC,eAAe,EAAE,CAAC;IACtB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/DocumentNotificationCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MA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AAe,EAAE,CAAC;IACtB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -45,7 +45,7 @@ const NotificationList = (props) => {
45
45
  return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
46
46
  React.createElement("div", { className: "my-space-notifications" },
47
47
  React.createElement(AsideContent, { context: asideContext },
48
- React.createElement(ListView, { headerProps: { header: header, sortable: false, addAble: false }, className: "notifications-list", renderItem: ({ item }) => {
48
+ React.createElement(ListView, { headerProps: { header: header, sortable: false, addAble: false }, className: "notifications-list", asideable: false, renderItem: ({ item }) => {
49
49
  return (React.createElement(CSSTransition, { key: item.id, in: list.isRemoving(item.id) !== true, timeout: 300, classNames: "notification-card" },
50
50
  React.createElement(DocumentNotificationCard, { id: item.id, active: props.active === item.id ? true : false, onClick: (ev) => {
51
51
  var _a;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAGN,eAAe,EACf,yBAAyB,EACzB,oBAAoB,GACpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,wBAAwB,MAAM,6BAA6B,CAAC;AAEnE,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,cAAc,MAAM,2DAA2D,CAAC;AACvF,OAAO,CAAC,MAAM,QAAQ,CAAC;AAEvB,OAAO,EAAE,WAAW,EAA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AAK,CAAC,MAAM,KAAK,QAAQ,IAAI,IAAI,CAAC,MAAM,KAAK,MAAM;gBAAE,OAAO;YAChE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAGN,eAAe,EACf,yBAAyB,EACzB,oBAAoB,GACpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,wBAAwB,MAAM,6BAA6B,CAAC;AAEnE,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,cAAc,MAAM,2DAA2D,CAAC;AACvF,OAAO,CAAC,MAAM,QAAQ,CAAC;AAEvB,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAEnC,MAAM,gBAAgB,GAAG,CAAC,KAezB,EAAE,EAAE;IACJ,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IACrC,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;IAC9D,8DAA8D;IAC9D,MAAM,IAAI,GAAG,sBAAsB,CAAgB,EAAE,cAAc,EAAE,EA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}
@@ -8,7 +8,7 @@ import { Modal } from "antd";
8
8
  import ProseMirror from "@voplus/morpho-text/es/controls/ProseMirror";
9
9
  import { RequestBuilder } from "@voplus/api";
10
10
  import { localFormat } from "../../../../../data/contexts/StoreContext";
11
- import moment from "moment";
11
+ import dayjs from "dayjs";
12
12
  import { observe } from "@voplus/morpho-ui";
13
13
  const NewNoteDialog = (props) => {
14
14
  const { parentId, visible, onCancel, onOk } = props;
@@ -17,7 +17,7 @@ const NewNoteDialog = (props) => {
17
17
  const documentStore = useDocumentStore();
18
18
  return observe(() => (React.createElement(Modal, { title: React.createElement(React.Fragment, null,
19
19
  React.createElement("div", null, "Add Note"),
20
- React.createElement("div", { className: "date" }, localFormat(moment(), "dddd, MMM Do, h:mm A"))), width: "660px", open: visible, closable: false, footer: null, className: "new-note-dialog" },
20
+ React.createElement("div", { className: "date" }, localFormat(dayjs(), "dddd, MMM Do, h:mm A"))), width: "660px", open: visible, closable: false, footer: null, className: "new-note-dialog" },
21
21
  React.createElement("div", { className: "note-header" },
22
22
  React.createElement(ColorSelect, { onChange: (c) => setColor(c.name) }),
23
23
  React.createElement("div", null,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/space/components/Notes/NewNoteDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAa,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,WAAW,MAAM,6CAA6C,CAAC;AACtE,OAAO,EAAE,cAAc,EAA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CACD;QACN,oBAAC,WAAW,IACX,YAAY,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAC/B,MAAM;YACN,kCAAkC;YAClC,yCAAyC;YACzC,SAAS,EAAE,WAAW,KAAK,EAAE;YAC7B,+CAA+C;YAC/C,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CACjB,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,KAAK,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,GAEnF,CACK,CACR,CAAC,CAAC;IACH,KAAK,UAAU,IAAI;QAClB,MAAM,CAAC,GAAG,MAAM,aAAa,CAAC,QAAQ,CAAC,IAAI,CAC1C,uBAAuB,EACvB,IAAI,cAAc,EAAE,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAC/E,CAAC;QACF,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;QACzB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;QACpB,IAAI,IAAI;YAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACnB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/space/components/Notes/NewNoteDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAa,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,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AE,GAAG,EAAE,CAAC,QAAQ,IAAI,QAAQ,EAAE,GAAI;gBAC7E,oBAAC,MAAM,IAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAC,SAAS,EAAC,OAAO,EAAE,IAAI,GAAI,CACnD,CACD;QACN,oBAAC,WAAW,IACX,YAAY,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAC/B,MAAM;YACN,kCAAkC;YAClC,yCAAyC;YACzC,SAAS,EAAE,WAAW,KAAK,EAAE;YAC7B,+CAA+C;YAC/C,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CACjB,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,KAAK,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,GAEnF,CACK,CACR,CAAC,CAAC;IACH,KAAK,UAAU,IAAI;QAClB,MAAM,CAAC,GAAG,MAAM,aAAa,CAAC,QAAQ,CAAC,IAAI,CAC1C,uBAAuB,EACvB,IAAI,cAAc,EAAE,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAC/E,CAAC;QACF,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;QACzB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;QACpB,IAAI,IAAI;YAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACnB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,aAAa,CAAC"}
@@ -9,7 +9,7 @@ import TextQuickViewDialog from "@voplus/morpho-document/es/components/TextQuick
9
9
  import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
10
10
  import Viewer from "@voplus/morpho-text/es/controls/ProseMirror/Viewer";
11
11
  import classnames from "classnames";
12
- import moment from "moment";
12
+ import dayjs from "dayjs";
13
13
  import { observe } from "@voplus/morpho-ui";
14
14
  import { runInAction } from "mobx";
15
15
  import { useText } from "@voplus/morpho-text/es/data";
@@ -25,7 +25,7 @@ const TextNoteCard = (props) => {
25
25
  React.createElement("div", { className: "text-note-card_header" },
26
26
  React.createElement("div", { className: classnames("text-note-card_theme", { show: state.isHover }) },
27
27
  React.createElement(ColorSelect, { color: "", onChange: (c) => runInAction(() => (state.color = c.color)) })),
28
- React.createElement("div", { className: classnames("text-note-card_date", { hide: state.isHover }) }, moment(note.date).format("D MMM YYYY HH:mm")),
28
+ React.createElement("div", { className: classnames("text-note-card_date", { hide: state.isHover }) }, dayjs(note.date).format("D MMM YYYY HH:mm")),
29
29
  React.createElement(ToolBar, { id: id },
30
30
  React.createElement(Open, { url: `/document/${props.id}` }))),
31
31
  React.createElement(Viewer, { html: note.text, onClick: () => runInAction(() => (state.visible = true)) }))),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/space/components/Notes/TextNoteCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,mBAAmB,MAAM,2DAA2D,CAAC;AAC5F,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,MAAM,MAAM,oDAAoD,CAAC;AACxE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC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,EACT,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,GAC1D,CACG;gBACN,6BAAK,SAAS,EAAE,UAAU,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,IACxE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,kBAAkB,CAAC,CACxC;gBACN,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE;oBACd,oBAAC,IAAI,IAAC,GAAG,EAAE,aAAa,KAAK,CAAC,EAAE,EAAE,GAAI,CAC7B,CACL;YACN,oBAAC,MAAM,IAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC,GAAI,CAChF,CACN;QACD,oBAAC,mBAAmB,IACnB,EAAE,EAAE,EAAE,EACN,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,QAAQ,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,GACzD,CACI,CACP,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/space/components/Notes/TextNoteCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,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,CAAC"}
@@ -8,6 +8,8 @@ declare const NewTaskForm: (props: {
8
8
  showView?: boolean | undefined;
9
9
  /** New Task (For Self) */
10
10
  self?: boolean | undefined;
11
+ /** Description 默认值 */
12
+ description?: string | undefined;
11
13
  onSave?: ((params?: any) => void) | undefined;
12
14
  onSubmitSave?: ((params?: any) => void) | undefined;
13
15
  onCancel?: (() => void) | undefined;
@@ -22,12 +22,16 @@ const NewTaskForm = (props) => {
22
22
  useEffect(() => {
23
23
  state.params.MemberIds = props.self ? [user.info.id] : [];
24
24
  }, [props.self]);
25
+ useEffect(() => {
26
+ var _a;
27
+ state.params.Description = (_a = props.description) !== null && _a !== void 0 ? _a : "";
28
+ }, [props.parentId]);
25
29
  const content = observe(() => (React.createElement("div", { className: classnames("new-task-form", { "sub-task-simply-form": !!props.simple && !state.showMore }, props.className) },
26
30
  React.createElement(Form, { layout: "vertical" }, state.showMore || !props.simple ? (React.createElement(React.Fragment, null,
27
31
  React.createElement(Form.Item, { label: "Title for your task" },
28
32
  React.createElement(Input, { autoFocus: true, value: state.params.Name, onChange: (e) => runInAction(() => (state.params.Name = e.target.value)), onPressEnter: () => (!!props.simple && !state.showMore ? onSubmit() : null), onKeyDown: onKeyDown })),
29
33
  React.createElement(Form.Item, { label: "Description of your task" },
30
- React.createElement(ProseMirror, { toolbarProps: { sticky: false }, scroll: true, className: "proseMirror", onChange: (opt) => (state.params.Description =
34
+ React.createElement(ProseMirror, { toolbarProps: { sticky: false }, scroll: true, className: "proseMirror", defaultHtml: state.params.Description, onChange: (opt) => (state.params.Description =
31
35
  opt.editor.dom.innerHTML === "<p><br></p>" ? "" : opt.editor.dom.innerHTML) })),
32
36
  props.parentId && (React.createElement(Form.Item, null,
33
37
  React.createElement(Checkbox, { checked: state.params.InheritMembers, onChange: (e) => (state.params.InheritMembers = e.target.checked) }, "Add main task members to the sub task"))),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/NewTaskForm/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AE,OAAO;QAC7B,QAAQ,EAAE,CAAC;IACZ,CAAC;IACD,kBAAkB;IAClB,SAAS,QAAQ;QAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,IAAI,KAAK,CAAC,QAAQ;YAAE,OAAO,YAAa,CAAC,UAAU,EAAE,CAAC;QACtD,IAAI,KAAK,CAAC,MAAM;YAAE,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC;QACzC,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;IACD,SAAS,UAAU;QAClB,KAAK,CAAC,QAAQ,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC;QACjC,IAAI,KAAK,CAAC,UAAU;YAAE,KAAK,CAAC,UAAU,EAAE,CAAC;IAC1C,CAAC;IACD,SAAS,iBAAiB,CAAC,SAAkC;QAC5D,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC;QACjC,IAAI,CAAC,SAAS,IAAI,CAAC,OAAO,EAAE,CAAC;YAC5B,OAAO,KAAK,CAAC;QACd,CAAC;QACD,OAAO,SAAS,GAAI,OAAuB,CAAC;IAC7C,CAAC;IACD,SAAS,eAAe,CAAC,OAAgC;QACxD,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC;QACnC,IAAI,CAAC,OAAO,IAAI,CAAC,SAAS,EAAE,CAAC;YAC5B,OAAO,KAAK,CAAC;QACd,CAAC;QACD,OAAO,OAAO,IAAK,SAAyB,CAAC;IAC9C,CAAC;AACF,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.1",
3
+ "version": "6.0.2",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",