@voplus/morpho-workspace 6.0.119 → 6.0.121
Sign up to get free protection for your applications and to get access to all the features.
- package/es/modules/notification/components/AllNewNotificationList/index.js +22 -21
- package/es/modules/notification/components/AllNewNotificationList/index.js.map +1 -1
- package/es/modules/notification/components/AllNewNotificationList/index.less +26 -11
- package/es/modules/work/components/WorkCashReport/WorkCashReportTemplate.js +10 -1
- package/es/modules/work/components/WorkCashReport/WorkCashReportTemplate.js.map +1 -1
- package/es/{modules/notification/components → obsolete}/NotificationItem/index.js +6 -6
- package/es/obsolete/NotificationItem/index.js.map +1 -0
- package/es/{modules/notification/components → obsolete}/NotificationList2/index.js +4 -4
- package/es/obsolete/NotificationList2/index.js.map +1 -0
- package/package.json +2 -1
- package/es/modules/notification/components/NotificationItem/index.js.map +0 -1
- package/es/modules/notification/components/NotificationList2/index.js.map +0 -1
- /package/es/{modules/notification/components → obsolete}/NotificationItem/index.d.ts +0 -0
- /package/es/{modules/notification/components → obsolete}/NotificationItem/index.less +0 -0
- /package/es/{modules/notification/components → obsolete}/NotificationList2/index.d.ts +0 -0
- /package/es/{modules/notification/components → obsolete}/NotificationList2/index.less +0 -0
@@ -36,27 +36,28 @@ const AllNewNotificationList = (props) => {
|
|
36
36
|
React.createElement(AllNewNotificationListHeader, { onAdd: () => asideContext === null || asideContext === void 0 ? void 0 : asideContext.openAside(React.createElement(NotificationForm, { showView: true, targetId: props.parentId, recipient: props.recipient }), {
|
37
37
|
span: 12,
|
38
38
|
}) }),
|
39
|
-
React.createElement(
|
40
|
-
React.createElement(
|
41
|
-
React.createElement(
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
React.createElement(
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
React.createElement(
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
React.createElement(
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
39
|
+
React.createElement("div", { className: "all-new-notification-body" },
|
40
|
+
React.createElement(Row, { align: "middle", className: "all-new-list-fixed-header" },
|
41
|
+
React.createElement(Col, { span: 8 },
|
42
|
+
React.createElement(FAIcon, { icon: faThumbtack }),
|
43
|
+
" ",
|
44
|
+
React.createElement("span", { className: "sub-title" }, "Subject")),
|
45
|
+
React.createElement(Col, { span: 4 },
|
46
|
+
React.createElement(FAIcon, { icon: faUserGroup }),
|
47
|
+
" ",
|
48
|
+
React.createElement("span", { className: "sub-title" }, "Create by")),
|
49
|
+
React.createElement(Col, { span: 4 },
|
50
|
+
React.createElement(FAIcon, { icon: faCalendarDays }),
|
51
|
+
" ",
|
52
|
+
React.createElement("span", { className: "sub-title" }, "Date")),
|
53
|
+
React.createElement(Col, { span: 4 },
|
54
|
+
React.createElement(FAIcon, { icon: faBarsProgress }),
|
55
|
+
" ",
|
56
|
+
React.createElement("span", { className: "sub-title" }, "Status")),
|
57
|
+
React.createElement(Col, { span: 4 })),
|
58
|
+
React.createElement(ListView, { className: "all-new-list-view", headerProps: { visible: false }, renderItem: ({ item }) => (React.createElement(AllNewNotificationItem, { key: item.id, id: item.id, onClick: () => asideContext === null || asideContext === void 0 ? void 0 : asideContext.openAside(React.createElement(PropertiesView, { id: item.id }), {
|
59
|
+
span: 12,
|
60
|
+
}) })) }))))));
|
60
61
|
});
|
61
62
|
};
|
62
63
|
export default AllNewNotificationList;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/AllNewNotificationList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAGN,qBAAqB,EACrB,0BAA0B,GAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBA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K;QACZ,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO;KACvB,CACD,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE;QACnB,OAAO,CACN,oBAAC,eAAe,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;YACpC,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAY;gBAClC,6BAAK,SAAS,EAAC,2BAA2B;oBACzC,oBAAC,4BAA4B,IAC5B,KAAK,EAAE,GAAG,EAAE,CACX,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,SAAS,CACtB,oBAAC,gBAAgB,IAChB,QAAQ,QACR,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,SAAS,EAAE,KAAK,CAAC,SAAS,GACzB,EACF;4BACC,IAAI,EAAE,EAAE;yBACR,CACD,GAED;oBACF,oBAAC,GAAG,IAAC,KAAK,EAAC,QAAQ,EAAC,SAAS,EAAC,2BAA2B;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/AllNewNotificationList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAGN,qBAAqB,EACrB,0BAA0B,GAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EACN,cAAc,EACd,WAAW,EACX,WAAW,EACX,cAAc,GACd,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,4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AAO,EAAE,GAAG,EAAE,CACb,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,SAAS,CAAC,oBAAC,cAAc,IAAC,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,EAAE;oCACxD,IAAI,EAAE,EAAE;iCACR,CAAC,GAEF,CACF,GACA,CACG,CACD,CACQ,CACW,CAC3B,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
@@ -4,6 +4,7 @@
|
|
4
4
|
.all-new-notification-list {
|
5
5
|
height: 100%;
|
6
6
|
display: flex;
|
7
|
+
background: #f7fbff;
|
7
8
|
flex-direction: column;
|
8
9
|
|
9
10
|
.all-new-notifications-header {
|
@@ -11,6 +12,7 @@
|
|
11
12
|
display: flex;
|
12
13
|
padding: 30px 0 20px;
|
13
14
|
padding-left: 20px;
|
15
|
+
background-color: #fff;
|
14
16
|
|
15
17
|
.header-icon {
|
16
18
|
font-size: 30px;
|
@@ -67,20 +69,33 @@
|
|
67
69
|
}
|
68
70
|
}
|
69
71
|
|
70
|
-
.all-new-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
72
|
+
.all-new-notification-body {
|
73
|
+
height: 100%;
|
74
|
+
display: flex;
|
75
|
+
margin: 0 20px 20px;
|
76
|
+
background: #fff;
|
77
|
+
flex-direction: column;
|
78
|
+
border-radius: @border-radius;
|
75
79
|
|
76
|
-
.
|
77
|
-
|
78
|
-
|
80
|
+
.all-new-list-fixed-header {
|
81
|
+
margin: 12px 7px 0;
|
82
|
+
padding: 10px 20px;
|
83
|
+
background: #f7fbff;
|
84
|
+
border-bottom: 1px solid #e6e6e6;
|
85
|
+
|
86
|
+
.svg-inline--fa {
|
87
|
+
color: #5d5d5d;
|
88
|
+
font-size: 14px;
|
89
|
+
}
|
90
|
+
|
91
|
+
.sub-title {
|
92
|
+
color: #217eb2;
|
93
|
+
font: normal normal bold 14px/19px Open Sans;
|
94
|
+
}
|
79
95
|
}
|
80
96
|
|
81
|
-
.
|
82
|
-
|
83
|
-
font: normal normal bold 14px/19px Open Sans;
|
97
|
+
.all-new-list-view {
|
98
|
+
margin: 0 7px;
|
84
99
|
}
|
85
100
|
}
|
86
101
|
}
|
@@ -9,7 +9,16 @@ const WorkCashReportTemplate = (props) => {
|
|
9
9
|
autoFit: true,
|
10
10
|
height: 280,
|
11
11
|
});
|
12
|
-
chart.
|
12
|
+
chart.data(props.data);
|
13
|
+
chart.scale("total", {
|
14
|
+
nice: true,
|
15
|
+
});
|
16
|
+
chart.axis("total", {
|
17
|
+
title: { text: "Monthly Works" },
|
18
|
+
});
|
19
|
+
chart.interval().position("date*total");
|
20
|
+
chart.interaction("active-region");
|
21
|
+
chart.interaction("element-active");
|
13
22
|
chart.render();
|
14
23
|
};
|
15
24
|
return observe(() => React.createElement("div", { id: "work-report-container" }));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WorkCashReportTemplate.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkCashReport/WorkCashReportTemplate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,sBAAsB,GAAG,CAAC,KAAkD,EAAE,EAAE;IACrF,SAAS,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IAE5B,MAAM,IAAI,GAAG,GAAG,EAAE;QACjB,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC;YACvB,SAAS,EAAE,uBAAuB;YAClC,OAAO,EAAE,IAAI;YACb,MAAM,EAAE,GAAG;SACX,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"WorkCashReportTemplate.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkCashReport/WorkCashReportTemplate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,sBAAsB,GAAG,CAAC,KAAkD,EAAE,EAAE;IACrF,SAAS,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IAE5B,MAAM,IAAI,GAAG,GAAG,EAAE;QACjB,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC;YACvB,SAAS,EAAE,uBAAuB;YAClC,OAAO,EAAE,IAAI;YACb,MAAM,EAAE,GAAG;SACX,CAAC,CAAC;QAEH,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACvB,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE;YACpB,IAAI,EAAE,IAAI;SACV,CAAC,CAAC;QAEH,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE;YACnB,KAAK,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE;SAChC,CAAC,CAAC;QAEH,KAAK,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;QAExC,KAAK,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;QACnC,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;QAEpC,KAAK,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,6BAAK,EAAE,EAAC,uBAAuB,GAAG,CAAC,CAAC;AAC1D,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
@@ -5,13 +5,13 @@ import { observe } from "@voplus/morpho-ui";
|
|
5
5
|
import { ColumnItem, ColumnItemCol } from "@voplus/morpho-ui/es/controls/ColumnItem";
|
6
6
|
import classnames from "classnames";
|
7
7
|
import React, { useState } from "react";
|
8
|
-
import { useNotifications } from "
|
9
|
-
import Routes from "
|
8
|
+
import { useNotifications } from "../../data/notification";
|
9
|
+
import Routes from "../../modules/Routes";
|
10
10
|
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
11
|
-
import NotificationMenu from "../../controls/NotificationMenu";
|
12
|
-
import PropertiesView from "
|
13
|
-
import NotificationQuickViewDialog from "
|
14
|
-
import NotificationStatusLabel from "../../controls/NotificationStatusLabel";
|
11
|
+
import NotificationMenu from "../../modules/notification/controls/NotificationMenu";
|
12
|
+
import PropertiesView from "../../modules/notification/components/NotificationPropertiesView";
|
13
|
+
import NotificationQuickViewDialog from "../../modules/notification/components/NotificationQuickViewDialog";
|
14
|
+
import NotificationStatusLabel from "../../modules/notification/controls/NotificationStatusLabel";
|
15
15
|
import "./index.less";
|
16
16
|
const NotificationItem = (props) => {
|
17
17
|
const { id } = props;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/obsolete/NotificationItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,6CAA6C,CAAC;AACvE,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,gBAAgB,MAAM,sDAAsD,CAAC;AACpF,OAAO,cAAc,MAAM,kEAAkE,CAAC;AAC9F,OAAO,2BAA2B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AC,CAC/B,oBAAC,uBAAuB,IAAC,MAAM,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAI,CACtE,CAAC,CAAC,CAAC,IAAI;gBACR,6BAAK,SAAS,EAAE,UAAU,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;oBACpE,oBAAC,OAAO,IAAC,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE;wBAC3B,oBAAC,IAAI,IAAC,GAAG,EAAE,MAAM,CAAC,uBAAuB,CAAC,MAAM,CAAC,EAAE,CAAC,GAAI;wBACvD,YAAY,CAAC,KAAK,IAAI,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CAC5D,CACL,CACS,CACJ,CACC,CACf,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import "./index.less";
|
2
|
-
import { useNotificationsListEffect, } from "
|
2
|
+
import { useNotificationsListEffect, } from "../../data/notification";
|
3
3
|
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data/ListDataContext";
|
4
4
|
import React, { useState } from "react";
|
5
5
|
import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
|
6
|
-
import NotificationForm from "
|
7
|
-
import NewNotificationFormDialog from "
|
6
|
+
import NotificationForm from "../../modules/notification/components/NewNotificationForm/NotificationForm";
|
7
|
+
import NewNotificationFormDialog from "../../modules/notification/components/NewNotificationForm";
|
8
8
|
import NotificationItem from "../NotificationItem";
|
9
9
|
import { observe } from "@voplus/morpho-ui";
|
10
|
-
import { useAutoUpdateListData } from "
|
10
|
+
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 N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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,SAAS,EAAE,KAAK,CAAC,SAAS,EAC1B,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"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@voplus/morpho-workspace",
|
3
|
-
"version": "6.0.
|
3
|
+
"version": "6.0.121",
|
4
4
|
"description": "morpho workspace module",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -32,6 +32,7 @@
|
|
32
32
|
}
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
|
+
"@antv/g2": "^4.2.11",
|
35
36
|
"@fullcalendar/core": "6.x",
|
36
37
|
"@fullcalendar/daygrid": "6.x",
|
37
38
|
"@fullcalendar/interaction": "6.x",
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,6CAA6C,CAAC;AACvE,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC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E,EAAE,EAAE,KAAK,EAAC,SAAS;gBACvC,6BAAK,SAAS,EAAC,wBAAwB,IAAE,YAAY,CAAC,OAAO,CAAO,CACrD;YAChB,oBAAC,aAAa,IAAC,IAAI,EAAE,EAAE,EAAE,KAAK,EAAC,MAAM;gBACpC,oBAAC,YAAY,IAAC,KAAK,EAAE,YAAY,CAAC,UAAU,EAAE,MAAM,EAAC,aAAa,GAAG,CACtD;YAChB,oBAAC,aAAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,UAAU;gBACtC,CAAC,KAAK,IAAI,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAC/B,oBAAC,uBAAuB,IAAC,MAAM,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAI,CACtE,CAAC,CAAC,CAAC,IAAI;gBACR,6BAAK,SAAS,EAAE,UAAU,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;oBACpE,oBAAC,OAAO,IAAC,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE;wBAC3B,oBAAC,IAAI,IAAC,GAAG,EAAE,MAAM,CAAC,uBAAuB,CAAC,MAAM,CAAC,EAAE,CAAC,GAAI;wBACvD,YAAY,CAAC,KAAK,IAAI,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CAC5D,CACL,CACS,CACJ,CACC,CACf,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
@@ -1 +0,0 @@
|
|
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,C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