@voplus/morpho-workspace 6.0.14 → 6.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,23 +14,27 @@ const DocumentNotificationCard = (props) => {
14
14
  const context = useApplicationContext();
15
15
  const asideContext = useAsideContentContext();
16
16
  const notification = useNotification(props.id);
17
- return observe(() => (React.createElement(Card, { className: classnames(styles["notification-card"], props.className, { active: props.active }), bordered: true,
18
- //hoverShadow
19
- shadow: true },
20
- React.createElement("div", { className: "notification-card-content", onClick: props.onClick },
21
- React.createElement("h3", null, notification.content.title),
22
- React.createElement(ProseMirrorViewer, { html: notification.content.content }),
23
- React.createElement("div", { className: "notification-footer" },
24
- React.createElement("div", { className: "notification-date" }, dayjs(notification.createDate).format("DD MMM YYYY")),
25
- React.createElement("div", { className: "notification-btn" },
26
- React.createElement(Space, null,
27
- context.host.isTest && notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-dismiss", onClick: (ev) => {
28
- ev.stopPropagation();
29
- 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 });
30
- } }, "Ceate Task")),
31
- notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-dismiss", onClick: (ev) => onChangeStatus(ev, "Dismissed") }, "Dismiss")),
32
- notification.status === "Dismissed" && (React.createElement(Button, { className: "btn-unDismiss", onClick: (ev) => onChangeStatus(ev, "Read") }, "UnDismiss")),
33
- notification.status !== "Later" && notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-later", onClick: (ev) => onChangeStatus(ev, "Later") }, "Later")))))))));
17
+ return observe(() => {
18
+ var _a, _b;
19
+ return (React.createElement(Card, { className: classnames(styles["notification-card"], props.className, { active: props.active }), bordered: true,
20
+ //hoverShadow
21
+ shadow: true },
22
+ React.createElement("div", { className: "notification-card-content", onClick: props.onClick },
23
+ React.createElement("h3", null, (_a = notification.content) === null || _a === void 0 ? void 0 : _a.title),
24
+ React.createElement(ProseMirrorViewer, { html: (_b = notification.content) === null || _b === void 0 ? void 0 : _b.content }),
25
+ React.createElement("div", { className: "notification-footer" },
26
+ React.createElement("div", { className: "notification-date" }, dayjs(notification.createDate).format("DD MMM YYYY")),
27
+ React.createElement("div", { className: "notification-btn" },
28
+ React.createElement(Space, null,
29
+ context.host.isTest && notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-dismiss", onClick: (ev) => {
30
+ var _a, _b;
31
+ ev.stopPropagation();
32
+ asideContext.openAside(React.createElement(NewTaskForm, { showView: true, self: true, description: (_a = notification.content) === null || _a === void 0 ? void 0 : _a.content, parentId: (_b = notification.content) === null || _b === void 0 ? void 0 : _b.documentId, onCancel: () => asideContext === null || asideContext === void 0 ? void 0 : asideContext.closeAside() }), { span: 12 });
33
+ } }, "Ceate Task")),
34
+ notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-dismiss", onClick: (ev) => onChangeStatus(ev, "Dismissed") }, "Dismiss")),
35
+ notification.status === "Dismissed" && (React.createElement(Button, { className: "btn-unDismiss", onClick: (ev) => onChangeStatus(ev, "Read") }, "UnDismiss")),
36
+ notification.status !== "Later" && notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-later", onClick: (ev) => onChangeStatus(ev, "Later") }, "Later"))))))));
37
+ });
34
38
  function onChangeStatus(ev, status) {
35
39
  var _a;
36
40
  (_a = props.onChangeStatus) === null || _a === void 0 ? void 0 : _a.call(props, status);
@@ -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;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,EAAE,sBAAsB,EA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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,MAAM,CAAC;AACrC,OAAO,EAGN,eAAe,GACf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,WAAW,MAAM,uCAAuC,CAAC;AAChE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,wBAAwB,GAAG,CAAC,KAMjC,EAAE,EAAE;IACJ,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,MAAM,YAAY,GAAG,sBAAsB,EAAE,CAAC;IAC9C,MAAM,YAAY,GAAG,eAAe,CAAC,KAAK,CAAC,EAAE,CAA0B,CAAC;IAExE,OAAO,OAAO,CAAC,GAAG,EAAE;;QAAC,OAAA,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;YACR,aAAa;YACb,MAAM;YAEN,6BAAK,SAAS,EAAC,2BAA2B,EAAC,OAAO,EAAE,KAAK,CAAC,OAAO;gBAChE,gCAAK,MAAA,YAAY,CAAC,OAAO,0CAAE,KAAK,CAAM;gB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AO,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,CAAA;KAAA,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,6 +1,6 @@
1
- import "./index.less";
2
- import { INotification, NotificationStatus } from "../../../../data/notification";
3
1
  import React from "react";
2
+ import { INotification, NotificationStatus } from "../../../../data/notification";
3
+ import "./index.less";
4
4
  declare const NotificationList: (props: {
5
5
  /** status of notifications shown on the list. */
6
6
  status: string;
@@ -1,16 +1,17 @@
1
- import "./index.less";
2
- import { useNotification, useNotificationListEffect, useNotificationStore, } from "../../../../data/notification";
1
+ import React, { useEffect, useState } from "react";
2
+ import { useNotificationListEffect, useNotificationStore, } from "../../../../data/notification";
3
3
  import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
4
- import React, { useState } from "react";
5
4
  import { observe, useRenderOnChange } from "@voplus/morpho-ui";
6
- import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
5
+ import { message } from "antd";
7
6
  import { CSSTransition } from "react-transition-group";
8
- import DocumentNotificationCard from "../DocumentNotificationCard";
7
+ import { runInAction } from "mobx";
9
8
  import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
9
+ import DocumentNotificationCard from "../DocumentNotificationCard";
10
10
  import PageHeader from "@voplus/morpho-ui/es/components/PageHeader";
11
+ import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
11
12
  import PropertiesView from "@voplus/morpho-document-core/es/components/PropertiesView";
12
13
  import S from "string";
13
- import { runInAction } from "mobx";
14
+ import "./index.less";
14
15
  const NotificationList = (props) => {
15
16
  const store = useNotificationStore();
16
17
  const [asideContext] = useState(AsideContent.createContext());
@@ -30,18 +31,29 @@ const NotificationList = (props) => {
30
31
  ...list.filters.options,
31
32
  });
32
33
  // try to load the active notification and add to list if it's not already there.
33
- useNotification(props.active, {
34
- onLoad: (item) => {
35
- /** 这里判断当list里有item了,就不会再进来 */
36
- if (!(list.data.filter((i) => i.id === item.id).length > 0))
37
- list.insert(item, 0);
38
- if (item.status === "Unread")
39
- editStatus(item.id, "Read");
40
- asideContext === null || asideContext === void 0 ? void 0 : asideContext.openAside(React.createElement(PropertiesView, { id: item.content.documentId }), {
41
- span: 12,
34
+ // useNotification(props.active!, {
35
+ // onLoad: (item) => {
36
+ // /** 这里判断当list里有item了,就不会再进来 */
37
+ // if (!(list.data.filter((i) => i.id === item.id).length > 0)) list.insert(item, 0);
38
+ // if (item.status === "Unread") editStatus(item.id, "Read");
39
+ // asideContext?.openAside(<PropertiesView id={(item as any).content.documentId} />, {
40
+ // span: 12,
41
+ // });
42
+ // },
43
+ // });
44
+ useEffect(() => {
45
+ runInAction(() => {
46
+ store.load(props.active, { onError: (e) => message.error(e) }).then((res) => {
47
+ if (!(list.data.filter((i) => i.id === res.id).length > 0))
48
+ list.insert(res, 0);
49
+ if (res.status === "Unread")
50
+ editStatus(res.id, "Read");
51
+ asideContext === null || asideContext === void 0 ? void 0 : asideContext.openAside(React.createElement(PropertiesView, { id: res.content.documentId }), {
52
+ span: 12,
53
+ });
42
54
  });
43
- },
44
- });
55
+ });
56
+ }, [props.active]);
45
57
  const header = (React.createElement(PageHeader, { titleView: `${firstToUpper(props.status)} Notifications`, addAble: false, quickSearch: true }));
46
58
  return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
47
59
  React.createElement("div", { className: "my-space-notifications" },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"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C,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,SAAS,OAAO;QACf,IAAI,CAAC,KAAK,CAAC,MAAM,IAAI,KAAK,CAAC,MAAM,IAAI,KAAK;YAAE,OAAO,EAAE,CAAC;QACtD,OAAO;YACN;gBACC,CAAC,EAAE,QAAQ;gBACX,CAAC,EAAE,GAAG;gBACN,CAAC,EAAE,KAAK;gBACR,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,CAAC,QAAQ,EAAE;aAC3B;SACjB,CAAC;IACH,CAAC;IAED,SAAS,UAAU,CAAC,EAAU,EAAE,MAA0B;QACzD,WAAW,CAAC,KAAK,IAAI,EAAE;;YACtB,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YACjC,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC;YACxB,MAAM,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;YACrE,MAAA,KAAK,CAAC,mBAAmB,sDAAG,GAAG,EAAE,IAAI,CAAC,CAAC;YACvC,IAAI,KAAK,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,KAAK,EAAE,EAAE,SAAS,EAAE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K,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.14",
3
+ "version": "6.0.15",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",