@voplus/morpho-workspace 6.0.128 → 6.0.129
Sign up to get free protection for your applications and to get access to all the features.
- package/es/modules/notification/components/AllNewNotificationList/index.d.ts +2 -0
- package/es/modules/notification/components/AllNewNotificationList/index.js +1 -1
- package/es/modules/notification/components/AllNewNotificationList/index.js.map +1 -1
- package/es/modules/notification/components/AllNewNotificationList/index.less +2 -7
- package/es/modules/notification/components/AllNewNotificationListHeader/index.d.ts +14 -3
- package/es/modules/notification/components/AllNewNotificationListHeader/index.js +5 -1
- package/es/modules/notification/components/AllNewNotificationListHeader/index.js.map +1 -1
- package/es/modules/notification/components/NotificationList/index.less +1 -1
- package/es/modules/notification/components/NotificationListHeader/index.js +1 -1
- package/es/modules/notification/components/NotificationListHeader/index.js.map +1 -1
- package/es/modules/work/components/WorkList2/index.less +5 -2
- package/es/modules/work/components/WorkListHeader/index.js +1 -1
- package/es/modules/work/components/WorkListHeader/index.js.map +1 -1
- package/package.json +1 -1
@@ -1,4 +1,5 @@
|
|
1
1
|
import React from "react";
|
2
|
+
import { AllNewNotificationListHeaderProps } from "../AllNewNotificationListHeader";
|
2
3
|
import "./index.less";
|
3
4
|
export type AllNewNotificationListProps = {
|
4
5
|
/** 需要 corporate 或者 customer id */
|
@@ -12,6 +13,7 @@ export type AllNewNotificationListProps = {
|
|
12
13
|
name: string;
|
13
14
|
body: string;
|
14
15
|
};
|
16
|
+
headerProps?: AllNewNotificationListHeaderProps;
|
15
17
|
};
|
16
18
|
declare const AllNewNotificationList: (props: AllNewNotificationListProps) => React.JSX.Element;
|
17
19
|
export default AllNewNotificationList;
|
@@ -33,7 +33,7 @@ const AllNewNotificationList = (props) => {
|
|
33
33
|
return (React.createElement(ListDataContext.Provider, { value: list },
|
34
34
|
React.createElement(AsideContent, { context: asideContext },
|
35
35
|
React.createElement("div", { className: "all-new-notification-list" },
|
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, defaultTemplate: props.defaultTemplate }), {
|
36
|
+
React.createElement(AllNewNotificationListHeader, { ...props.headerProps, onAdd: () => asideContext === null || asideContext === void 0 ? void 0 : asideContext.openAside(React.createElement(NotificationForm, { showView: true, targetId: props.parentId, recipient: props.recipient, defaultTemplate: props.defaultTemplate }), {
|
37
37
|
span: 12,
|
38
38
|
}) }),
|
39
39
|
React.createElement("div", { className: "all-new-notification-body" },
|
@@ -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,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,
|
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,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,IAAC,IAAI,EAAE,CAAC;gCACX,oBAAC,MAAM,IAAC,IAAI,EAAE,cAAc,GAAI;;gCAAC,8BAAM,SAAS,EAAC,WAAW,aAAc,CACrE;4BACN,oBAAC,GAAG,IAAC,IAAI,EAAE,CAAC,GAAQ,CACf;wBACN,oBAAC,QAAQ,IACR,SAAS,EAAC,mBAAmB,EAC7B,WAAW,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,EAC/B,UAAU,EAAE,CAAC,EAAE,IAAI,EAA2B,EAAE,EAAE,CAAC,CAClD,oBAAC,sBAAsB,IACtB,GAAG,EAAE,IAAI,CAAC,EAAE,EACZ,EAAE,EAAE,IAAI,CAAC,EAAE,EACX,OAAO,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,7 +4,7 @@
|
|
4
4
|
.all-new-notification-list {
|
5
5
|
height: 100%;
|
6
6
|
display: flex;
|
7
|
-
background: #f7fbff;
|
7
|
+
// background: #f7fbff;
|
8
8
|
flex-direction: column;
|
9
9
|
|
10
10
|
.all-new-notifications-header {
|
@@ -26,7 +26,6 @@
|
|
26
26
|
border-radius: @border-radius;
|
27
27
|
|
28
28
|
.all-new-list-fixed-header {
|
29
|
-
margin: 12px 7px 0;
|
30
29
|
padding: 10px 20px;
|
31
30
|
background: #f7fbff;
|
32
31
|
border-bottom: 1px solid #e6e6e6;
|
@@ -43,10 +42,6 @@
|
|
43
42
|
line-height: 19px;
|
44
43
|
}
|
45
44
|
}
|
46
|
-
|
47
|
-
.all-new-list-view {
|
48
|
-
margin: 0 7px;
|
49
|
-
}
|
50
45
|
}
|
51
46
|
}
|
52
|
-
}
|
47
|
+
}
|
@@ -1,5 +1,16 @@
|
|
1
|
-
import React from "react";
|
2
|
-
|
1
|
+
import React, { ReactNode } from "react";
|
2
|
+
export type AllNewNotificationListHeaderProps = {
|
3
|
+
/** title */
|
4
|
+
title?: ReactNode;
|
5
|
+
/** description */
|
6
|
+
description?: ReactNode;
|
3
7
|
onAdd?: () => void;
|
4
|
-
}
|
8
|
+
};
|
9
|
+
declare const AllNewNotificationListHeader: {
|
10
|
+
(props: AllNewNotificationListHeaderProps): React.JSX.Element;
|
11
|
+
defaultProps: {
|
12
|
+
title: string;
|
13
|
+
description: string;
|
14
|
+
};
|
15
|
+
};
|
5
16
|
export default AllNewNotificationListHeader;
|
@@ -4,7 +4,7 @@ import { faBell } from "@fortawesome/pro-solid-svg-icons";
|
|
4
4
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
5
5
|
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
6
6
|
const AllNewNotificationListHeader = (props) => {
|
7
|
-
return observe(() => (React.createElement(PageHeadDashboard, { className: "all-new-notifications-header", avatarIcon: React.createElement(FAIcon, { icon: faBell }), title:
|
7
|
+
return observe(() => (React.createElement(PageHeadDashboard, { className: "all-new-notifications-header", headerType: "page", avatarIcon: React.createElement(FAIcon, { icon: faBell }), title: props.title, description: props.description, listHeaderProps: {
|
8
8
|
visible: true,
|
9
9
|
addAble: true,
|
10
10
|
sortable: false,
|
@@ -12,5 +12,9 @@ const AllNewNotificationListHeader = (props) => {
|
|
12
12
|
searchOptions: { placeholder: "Search in notifications" },
|
13
13
|
} })));
|
14
14
|
};
|
15
|
+
AllNewNotificationListHeader.defaultProps = {
|
16
|
+
title: "Notification Creation",
|
17
|
+
description: "Set up your notification list effortlessly.",
|
18
|
+
};
|
15
19
|
export default AllNewNotificationListHeader;
|
16
20
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/AllNewNotificationListHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/AllNewNotificationListHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AAUjG,MAAM,4BAA4B,GAAG,CAAC,KAAwC,EAAE,EAAE;IACjF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,iBAAiB,IACjB,SAAS,EAAC,8BAA8B,EACxC,UAAU,EAAC,MAAM,EACjB,UAAU,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,GAAI,EACpC,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,WAAW,EAAE,KAAK,CAAC,WAAW,EAC9B,eAAe,EAAE;YAChB,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,IAAI;YACb,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,aAAa,EAAE,EAAE,WAAW,EAAE,yBAAyB,EAAE;SACzD,GACA,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,4BAA4B,CAAC,YAAY,GAAG;IAC3C,KAAK,EAAE,uBAAuB;IAC9B,WAAW,EAAE,6CAA6C;CAC1D,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
@@ -51,7 +51,7 @@ const NotificationListHeader = (props) => {
|
|
51
51
|
},
|
52
52
|
];
|
53
53
|
return (React.createElement("div", { className: "notifications-header" },
|
54
|
-
React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faBell }), title: "Your Notifications Center", description: "Stay updated: your latest alerts and notifications" }),
|
54
|
+
React.createElement(PageHeadDashboard, { headerType: "page", avatarIcon: React.createElement(FAIcon, { icon: faBell }), title: "Your Notifications Center", description: "Stay updated: your latest alerts and notifications" }),
|
55
55
|
React.createElement(ListHeaderTool, { addAble: false, filterViewProps: context.host.isTest
|
56
56
|
? {
|
57
57
|
columns: [React.createElement(FlagFilter, { key: "Flag" })],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationListHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AACzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,cAAc,MAAM,wEAAwE,CAAC;AACpG,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AACjG,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,MAAM,sBAAsB,GAAG,CAAC,KAK/B,EAAE,EAAE;IACJ,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,MAAM,QAAQ,GAAG,0BAA0B,EAAE,CA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AAM,IACN,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,SAAS,EAAE,UAAU,CAAC,IAAI,EAAE;4BAC3B,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC,GAAG;yBACjC,CAAC,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC;wBAErC,IAAI,CAAC,KAAK;;wBAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAC,CAAC,CAAC,KAAK,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,CAC3C,CACT,CAAC;oBAED,OAAO,CAAC,IAAI,CAAC,MAAM,IAAI,oBAAC,OAAO,IAAC,IAAI,EAAC,UAAU,GAAG,CAC9C,CACN,GACA,CACG,CACN,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,SAAS,aAAa,CAAC,IAAY;;QAClC,eAAe,CAAC,IAAI,CAAC,CAAC;QACtB,MAAA,KAAK,CAAC,aAAa,sDAAG,IAAI,CAAC,CAAC;IAC7B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationListHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AACzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAA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ate]);
|
13
13
|
return observe(() => (React.createElement("div", { className: "work-header" },
|
14
|
-
React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faBriefcase }), title: viewTitle, description: "Your tasks: prioritize and complete your work" }),
|
14
|
+
React.createElement(PageHeadDashboard, { headerType: "page", avatarIcon: React.createElement(FAIcon, { icon: faBriefcase }), title: viewTitle, description: "Your tasks: prioritize and complete your work" }),
|
15
15
|
React.createElement(ListHeaderTool, { filterViewProps: filterProps, addAble: addAble, onAdd: props.onAdd, sortable: false, searchHeader: true, searchOptions: { placeholder: "search in work list" }, preExtra: () => (React.createElement("div", { className: "work-status-menu" }, workMenu === null || workMenu === void 0 ? void 0 : workMenu.map((item, index) => (React.createElement(Button, { key: index, className: classnames(item, {
|
16
16
|
active: active === item.key,
|
17
17
|
}), onClick: () => onChangeFilter(item.key) },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkListHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,cAAc,MAAM,wEAAwE,CAAC;AACpG,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AACjG,OAAO,UAAU,MAAM,YAAY,CAAC;AAYpC,MAAM,cAAc,GAAG,CAAC,KAA0B,EAAE,EAAE;IACrD,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAErE,MAAM,CAAC,MAAM,EAAE,SAAS,C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