@kmkf-fe-packages/services-components 1.8.0-beta.7 → 1.8.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1072,15 +1072,20 @@ export var MsgContent = function MsgContent(_ref14) {
|
|
|
1072
1072
|
var _item$msgReceivers;
|
|
1073
1073
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
1074
1074
|
style: {
|
|
1075
|
-
textAlign:
|
|
1075
|
+
textAlign: "left"
|
|
1076
1076
|
}
|
|
1077
|
-
},
|
|
1077
|
+
}, (_item$msgReceivers = item.msgReceivers) !== null && _item$msgReceivers !== void 0 && _item$msgReceivers.length ? item.msgReceivers.map(function (msgItem, index) {
|
|
1078
1078
|
return /*#__PURE__*/React.createElement("div", {
|
|
1079
|
+
key: index,
|
|
1079
1080
|
style: {
|
|
1080
1081
|
color: getColorByStatus(msgItem.status)
|
|
1081
1082
|
}
|
|
1082
1083
|
}, msgItem.failReason ? "".concat(msgItem.name, "\uFF0C").concat(msgItem.status, "\uFF0C\u5931\u8D25\u539F\u56E0\uFF1A").concat(msgItem.failReason) : "".concat(msgItem.name, "\uFF0C").concat(msgItem.status, ";"));
|
|
1083
|
-
})
|
|
1084
|
+
}) : item.failReason && /*#__PURE__*/React.createElement("div", {
|
|
1085
|
+
style: {
|
|
1086
|
+
color: getColorByStatus(item.status)
|
|
1087
|
+
}
|
|
1088
|
+
}, "\u5931\u8D25\u539F\u56E0\uFF1A", item.failReason)));
|
|
1084
1089
|
};
|
|
1085
1090
|
return /*#__PURE__*/React.createElement(Space, {
|
|
1086
1091
|
direction: !horizontal ? 'vertical' : 'horizontal'
|
|
@@ -1095,13 +1100,14 @@ export var MsgContent = function MsgContent(_ref14) {
|
|
|
1095
1100
|
key: index
|
|
1096
1101
|
}, msgTypeCh[key], "-", item.ruleName, "-", currentOption ? currentOption.label : (item === null || item === void 0 ? void 0 : item[valueKey]) || "");
|
|
1097
1102
|
return /*#__PURE__*/React.createElement("div", {
|
|
1103
|
+
key: "wrap_".concat(index),
|
|
1098
1104
|
style: {
|
|
1099
1105
|
color: color,
|
|
1100
1106
|
cursor: "pointer"
|
|
1101
1107
|
}
|
|
1102
1108
|
}, (_item$msgReceivers2 = item.msgReceivers) !== null && _item$msgReceivers2 !== void 0 && _item$msgReceivers2.some(function (msgItem) {
|
|
1103
1109
|
return (msgItem === null || msgItem === void 0 ? void 0 : msgItem.status) === failValue;
|
|
1104
|
-
}) ? /*#__PURE__*/React.createElement(Popover, {
|
|
1110
|
+
}) || item.failReason ? /*#__PURE__*/React.createElement(Popover, {
|
|
1105
1111
|
content: detailContent(item),
|
|
1106
1112
|
overlayStyle: {
|
|
1107
1113
|
zIndex: 9999
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "1.8.0-beta.
|
|
3
|
+
"version": "1.8.0-beta.8",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "8c26ba1cf0927ea9ef615cab934852aa76298223",
|
|
43
43
|
"gitHooks": {
|
|
44
44
|
"pre-commit": "lint-staged"
|
|
45
45
|
}
|