@voplus/morpho-workspace 6.0.77 → 6.0.79

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,6 +3,12 @@ import React from "react";
3
3
  export type NotificationListProps = {
4
4
  /** 需要 corporate 或者 customer id */
5
5
  parentId: string;
6
+ addAble?: boolean;
7
+ };
8
+ declare const NotificationList: {
9
+ (props: NotificationListProps): React.JSX.Element;
10
+ defaultProps: {
11
+ addAble: boolean;
12
+ };
6
13
  };
7
- declare const NotificationList: (props: NotificationListProps) => React.JSX.Element;
8
14
  export default NotificationList;
@@ -11,8 +11,8 @@ import { useAutoUpdateListData } from "../../../../data/notification";
11
11
  import { useRenderOnChange } from "@voplus/morpho-ui";
12
12
  import { useViewContext } from "@voplus/morpho-document-core/es/data/context/ViewContext";
13
13
  const NotificationList = (props) => {
14
- const { parentId } = props;
15
- const [addAble, setAddAble] = useState(false);
14
+ const { parentId, addAble } = props;
15
+ const [addNotification, setAddNotification] = useState(false);
16
16
  const view = useViewContext();
17
17
  const list = useCreateListDataState({
18
18
  filterDefaults: {
@@ -32,14 +32,18 @@ const NotificationList = (props) => {
32
32
  return (React.createElement(ListDataContext.Provider, { value: list },
33
33
  React.createElement(ListView, { className: "notification-list-view", headerProps: {
34
34
  viewTitle: "Notification List",
35
+ addAble: addAble,
35
36
  sortable: false,
36
37
  quickSearch: true,
37
38
  onAdd: () => ((view === null || view === void 0 ? void 0 : view.Type) === "PropertiesView" || (view === null || view === void 0 ? void 0 : view.Type) === "QuickView") &&
38
- setAddAble(!addAble),
39
+ setAddNotification(!addNotification),
39
40
  }, formViewTitle: "Add Offiec", formView: (view === null || view === void 0 ? void 0 : view.Type) !== "PropertiesView" &&
40
41
  (view === null || view === void 0 ? void 0 : view.Type) !== "QuickView" && React.createElement(NotificationForm, { showView: true, targetId: props.parentId }), renderItem: ({ item, index }) => (React.createElement(NotificationItem, { key: item.id, id: item.id })) }),
41
- addAble && (React.createElement(NewNotificationFormDialog, { targetId: props.parentId, onCancel: () => setAddAble(false), onSave: () => setAddAble(false) }))));
42
+ addNotification && (React.createElement(NewNotificationFormDialog, { targetId: props.parentId, onCancel: () => setAddNotification(false), onSave: () => setAddNotification(false) }))));
42
43
  });
43
44
  };
45
+ NotificationList.defaultProps = {
46
+ addAble: true,
47
+ };
44
48
  export default NotificationList;
45
49
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationList2/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAGN,0BAA0B,GAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AACvE,OAAO,yBAAyB,MAAM,wBAAwB,CAAC;AAC/D,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAO1F,MAAM,gBAAgB,GAAG,CAAC,KAA4B,EAAE,EAAE;IACzD,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC3B,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,MAAM,IAAI,GAAG,cAAc,EAAE,CAAC;IAE9B,MAAM,IAAI,GAAG,sBAAsB,CAClC;QACC,cAAc,EAAE;YACf,QAAQ,EAAE,YAAY;YACtB,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,QAAQ,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,QAAQ,QAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ,GAAI,EAEtF,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAA0C,EAAE,EAAE,CAAC,CACxE,oBAAC,gBAAgB,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,CAC/C,GACA;YACD,OAAO,IAAI,CACX,oBAAC,yBAAyB,IACzB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EACjC,MAAM,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAC9B,CACF,CACyB,CAC3B,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationList2/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAGN,0BAA0B,GAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AACvE,OAAO,yBAAyB,MAAM,wBAAwB,CAAC;AAC/D,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAQ1F,MAAM,gBAAgB,GAAG,CA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J,IAAI,CAAE,IAAI,MAAK,gBAAgB,IAAI,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,MAAK,WAAW,CAAC;wBAC/D,kBAAkB,CAAC,CAAC,eAAe,CAAC;iBACrC,EACD,aAAa,EAAC,YAAY,EAC1B,QAAQ,EACP,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,MAAK,gBAAgB;oBAC/B,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,MAAK,WAAW,IAAI,oBAAC,gBAAgB,IAAC,QAAQ,QAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ,GAAI,EAEtF,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAA0C,EAAE,EAAE,CAAC,CACxE,oBAAC,gBAAgB,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,CAC/C,GACA;YACD,eAAe,IAAI,CACnB,oBAAC,yBAAyB,IACzB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,QAAQ,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,EACzC,MAAM,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,GACtC,CACF,CACyB,CAC3B,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,gBAAgB,CAAC,YAAY,GAAG;IAC/B,OAAO,EAAE,IAAI;CACb,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,9 +1,8 @@
1
+ import React, { useState, useMemo, useEffect } from "react";
1
2
  import { observe } from "@voplus/morpho-ui";
2
3
  import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
3
- import ProseMirrorViewer from "@voplus/morpho-text/es/controls/ProseMirror/Viewer";
4
4
  import { Tabs } from "antd";
5
5
  import { useNotifications } from "../../../../data/notification";
6
- import React, { useState, useMemo, useEffect } from "react";
7
6
  import NotificationProperties from "../NotificationProperties";
8
7
  import NotificationRecipients from "../NotificationRecipients";
9
8
  import "./index.less";
@@ -19,8 +18,8 @@ const NotificationTabs = (props) => {
19
18
  {
20
19
  key: "Content",
21
20
  label: "Content",
22
- children: observe(() => (React.createElement("div", { style: { padding: "20px" } },
23
- React.createElement(ProseMirrorViewer, { html: notification.body })))),
21
+ children: observe(() => (React.createElement("div", { className: "notification-iframe" },
22
+ React.createElement("iframe", { srcDoc: notification.body })))),
24
23
  },
25
24
  {
26
25
  key: "Recipients",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,sBAAsB,MAAM,2BAA2B,CAAC;AAC/D,OAAO,sBAAsB,MAAM,2BAA2B,CAAC;AAC/D,OAAO,cAAc,CAAC;AAEtB,MAAM,gBAAgB,GAAG,CAAC,KAA2C,EAAE,EAAE;IACxE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IACjC,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAS,UAAU,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC1F,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,WAAW,CAA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D;YACC,GAAG,EAAE,YAAY;YACjB,KAAK,EAAE,YAAY;YACnB,QAAQ,EAAE,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAE,GAAI;SAC5C;KACD,CAAC;IAEF,UAAU;QACT,KAAK,CAAC,OAAO,CAAC;YACb,GAAG,EAAE,YAAY;YACjB,KAAK,EAAE,YAAY;YACnB,QAAQ,EAAE,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAE,GAAI;SAC5C,CAAC,CAAC;IAEJ,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;QAChC,oBAAC,IAAI,IACJ,SAAS,EAAC,mBAAmB,EAC7B,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,GACnC,CACoB,CACvB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -4,5 +4,25 @@
4
4
  margin: 0;
5
5
  padding-left: 20px;
6
6
  }
7
+
8
+ .notification-iframe {
9
+ background-color: rgb(249, 249, 249);
10
+ width: 100%;
11
+ height: 100%;
12
+ position: relative;
13
+ overflow: hidden;
14
+
15
+ iframe {
16
+ width: 100%;
17
+ height: 100%;
18
+ border: none;
19
+ position: absolute;
20
+ right: -15px;
21
+ top: 0;
22
+ bottom: 0;
23
+ overflow-x: hidden;
24
+ overflow-y: scroll;
25
+ }
26
+ }
7
27
  }
8
- }
28
+ }
@@ -6,7 +6,7 @@
6
6
  padding-left: 20px;
7
7
  }
8
8
 
9
- .list-view-header {
9
+ .list-header-content {
10
10
  border-bottom: none !important;
11
11
  }
12
12
  }
@@ -10,7 +10,7 @@
10
10
  margin-left: 10px;
11
11
  }
12
12
 
13
- .list-view-header {
13
+ .list-header-content {
14
14
  border-bottom: none !important;
15
15
  }
16
16
 
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { Col, Row } from "antd";
3
3
  import { observe } from "@voplus/morpho-ui";
4
- import RelatedDocument from "@voplus/morpho-document/es/controls/RelatedDocument";
4
+ import RelatedDocument from "@voplus/morpho-org/es/controls/RelatedDocument";
5
5
  import WorkListCard from "../../../components/WorkListCard";
6
6
  import WorkTypeStatsCard from "../../components/WorkTypeStats/WorkTypeStatsCard";
7
7
  import styles from "./index.less";
@@ -1 +1 @@
1
- {"version":3,"file":"Dashboard.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/pages/WorkTypePage/Dashboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,YAAY,MAAM,kCAAkC,CAAC;AAC5D,OAAO,iBAAiB,MAAM,kDAAkD,CAAC;AACjF,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,SAAS,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC3C,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,6BAA6B,CAAC;QACpD,oBAAC,eAAe;YACf,oBAAC,GAAG,IAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;gBACnB,oBAAC,GAAG,IAAC,IAAI,EAAE,EAAE;oBACZ,oBAAC,iBAAiB,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,GAAI;oBACzD,oBAAC,YAAY,IAAC,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,GAAI,CACpD,CACD,CACW,CACb,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"Dashboard.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/pages/WorkTypePage/Dashboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,eAAe,MAAM,gDAAgD,CAAC;AAC7E,OAAO,YAAY,MAAM,kCAAkC,CAAC;AAC5D,OAAO,iBAAiB,MAAM,kDAAkD,CAAC;AACjF,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,SAAS,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC3C,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,6BAA6B,CAAC;QACpD,oBAAC,eAAe;YACf,oBAAC,GAAG,IAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;gBACnB,oBAAC,GAAG,IAAC,IAAI,EAAE,EAAE;oBACZ,oBAAC,iBAAiB,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,GAAI;oBACzD,oBAAC,YAAY,IAAC,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,GAAI,CACpD,CACD,CACW,CACb,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { Col, Row } from "antd";
3
3
  import { observe } from "@voplus/morpho-ui";
4
- import RelatedDocument from "@voplus/morpho-document/es/controls/RelatedDocument";
4
+ import RelatedDocument from "@voplus/morpho-org/es/controls/RelatedDocument";
5
5
  import WorkTypePropertiesCard from "../../components/WorkTypeProperties/WorkTypePropertiesCard";
6
6
  import WorkTypeTabsCard from "../../components/WorkTypeTabs/WorkTypeTabsCard";
7
7
  import WorkTypeDescriptionCard from "./WorkTypeDescriptionCard";
@@ -1 +1 @@
1
- {"version":3,"file":"Summary.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/pages/WorkTypePage/Summary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,sBAAsB,MAAM,4DAA4D,CAAC;AAChG,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAChE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,OAAO,GAAG,CAAC,KAAqB,EAAE,EAAE;IACzC,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,6BAA6B,CAAC;QACpD,oBAAC,eAAe;YACf,oBAAC,GAAG,IAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;gBACnB,oBAAC,GAAG,IAAC,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;oBACrC,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAE,GAAI,CAC7B;gBACN,oBAAC,GAAG,IAAC,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;oBACtC,oBAAC,uBAAuB,IAAC,EAAE,EAAE,EAAE,GAAI;oBACnC,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,GAAI,CACvB;gBACN,oBAAC,GAAG,IAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;oBACzC,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAE,GAAI;oBAClC,oBAAC,uBAAuB,IAAC,EAAE,EAAE,EAAE,GAAI;oBACnC,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,GAAI,CACvB,CACD,CACW,CACb,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Summary.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/pages/WorkTypePage/Summary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,eAAe,MAAM,gDAAgD,CAAC;AAC7E,OAAO,sBAAsB,MAAM,4DAA4D,CAAC;AAChG,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAChE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,OAAO,GAAG,CAAC,KAAqB,EAAE,EAAE;IACzC,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,6BAA6B,CAAC;QACpD,oBAAC,eAAe;YACf,oBAAC,GAAG,IAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;gBACnB,oBAAC,GAAG,IAAC,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;oBACrC,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAE,GAAI,CAC7B;gBACN,oBAAC,GAAG,IAAC,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;oBACtC,oBAAC,uBAAuB,IAAC,EAAE,EAAE,EAAE,GAAI;oBACnC,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,GAAI,CACvB;gBACN,oBAAC,GAAG,IAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;oBACzC,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAE,GAAI;oBAClC,oBAAC,uBAAuB,IAAC,EAAE,EAAE,EAAE,GAAI;oBACnC,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,GAAI,CACvB,CACD,CACW,CACb,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -6,8 +6,8 @@
6
6
  padding-left: 20px;
7
7
  }
8
8
 
9
- .list-view-header {
9
+ .list-header-content {
10
10
  border-bottom: none !important;
11
11
  }
12
12
  }
13
- }
13
+ }
@@ -5,7 +5,7 @@ import { useLayout } from "@voplus/morpho-data";
5
5
  import { useParams } from "react-router-dom";
6
6
  import { Card } from "antd";
7
7
  import { runInAction } from "mobx";
8
- import RelatedDocument from "@voplus/morpho-document/es/controls/RelatedDocument";
8
+ import RelatedDocument from "@voplus/morpho-org/es/controls/RelatedDocument";
9
9
  import WorkListCard from "../../../work/components/WorkListCard";
10
10
  import WorkCashReport from "../../../work/components/WorkCashReport";
11
11
  import styles from "./index.less";
@@ -1 +1 @@
1
- {"version":3,"file":"WorkTypeWorksDashBoard.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspacePage/WorkTypeWorksDashBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAEnC,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,YAAY,MAAM,uCAAuC,CAAC;AACjE,OAAO,cAAc,MAAM,yCAAyC,CAAC;AACrE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,SAAS,GAAG,CAAC,KAAqC,EAAE,EAAE;IAC3D,MAAM,GAAG,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IACzC,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,EAAU,CAAC;IACjE,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAW,EAAE,CAAC,CAAC;IAEzD,eAAe,CAAC,GAAG,EAAE;;QACpB,kBAAkB,CAAC,MAAA,GAAG,CAAC,OAAO,0CAAE,YAAY,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,0BAA0B,CAAC,EAAE,GAAG,EAAE,GAAG;QAC3D,oBAAC,eAAe;YACf,oBAAC,IAAI,IAAC,SAAS,EAAC,kBAAkB;gBACjC,oBAAC,cAAc,IACd,EAAE,EAAE,MAAM,CAAC,OAAQ,EACnB,WAAW,EAAE,MAAM,CAAC,EAAG,EACvB,cAAc,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,GACrD,CACI;YAEP,6BAAK,SAAS,EAAC,gBAAgB;gBAC9B,oBAAC,YAAY,IACZ,KAAK,EAAE,EAAE,MAAM,EAAE,GAAG,eAAgB,GAAG,GAAG,IAAI,EAAE,EAChD,aAAa,EAAE,KAAK,EACpB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,OAAO,EAAE,MAAM,CAAC,OAAO,EACvB,WAAW,EAAE,MAAM,CAAC,EAAE,EACtB,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE;wBACrB,MAAM,CAAC,OAAO,CAAC,OAAO,CACrB,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE;4BACxB,EAAE,EAAE,MAAM,CAAC,EAAG;4BACd,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,EAAE;4BAC7B,MAAM,EAAE,IAAI,CAAC,EAAE;yBACf,CAAC,CACF,CAAC;oBACH,CAAC,EACD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CAClB,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,MAAM,CAAC,OAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,GAEzE,CACG,CACW,CACb,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"WorkTypeWorksDashBoard.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspacePage/WorkTypeWorksDashBoard.tsx"],"names":[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EAAE,MAAM,CAAC,OAAQ,EACnB,WAAW,EAAE,MAAM,CAAC,EAAG,EACvB,cAAc,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,GACrD,CACI;YAEP,6BAAK,SAAS,EAAC,gBAAgB;gBAC9B,oBAAC,YAAY,IACZ,KAAK,EAAE,EAAE,MAAM,EAAE,GAAG,eAAgB,GAAG,GAAG,IAAI,EAAE,EAChD,aAAa,EAAE,KAAK,EACpB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,OAAO,EAAE,MAAM,CAAC,OAAO,EACvB,WAAW,EAAE,MAAM,CAAC,EAAE,EACtB,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE;wBACrB,MAAM,CAAC,OAAO,CAAC,OAAO,CACrB,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE;4BACxB,EAAE,EAAE,MAAM,CAAC,EAAG;4BACd,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,EAAE;4BAC7B,MAAM,EAAE,IAAI,CAAC,EAAE;yBACf,CAAC,CACF,CAAC;oBACH,CAAC,EACD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CAClB,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,MAAM,CAAC,OAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,GAEzE,CACG,CACW,CACb,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.77",
3
+ "version": "6.0.79",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",