@kmkf-fe-packages/services-components 0.15.1-alpha.3 → 0.15.1-alpha.4
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.
|
@@ -625,6 +625,12 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref13) {
|
|
|
625
625
|
}
|
|
626
626
|
});
|
|
627
627
|
};
|
|
628
|
+
// interface MsgItemType {
|
|
629
|
+
// msgRuleId: string
|
|
630
|
+
// msgType: string
|
|
631
|
+
// ruleName: string
|
|
632
|
+
// status: string
|
|
633
|
+
// }
|
|
628
634
|
export var MsgContent = function MsgContent(_ref14) {
|
|
629
635
|
var _ref14$horizontal = _ref14.horizontal,
|
|
630
636
|
horizontal = _ref14$horizontal === void 0 ? true : _ref14$horizontal,
|
|
@@ -640,7 +646,7 @@ export var MsgContent = function MsgContent(_ref14) {
|
|
|
640
646
|
qq: 'QQ',
|
|
641
647
|
qywx: '企业微信'
|
|
642
648
|
};
|
|
643
|
-
var detailContent = function detailContent(item
|
|
649
|
+
var detailContent = function detailContent(item) {
|
|
644
650
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
645
651
|
style: {
|
|
646
652
|
textAlign: 'left'
|
|
@@ -660,18 +666,16 @@ export var MsgContent = function MsgContent(_ref14) {
|
|
|
660
666
|
var key = item.msgType || 'ding';
|
|
661
667
|
return /*#__PURE__*/React.createElement("div", {
|
|
662
668
|
style: {
|
|
663
|
-
color: color
|
|
669
|
+
color: color,
|
|
670
|
+
cursor: 'pointer'
|
|
664
671
|
}
|
|
665
672
|
}, /*#__PURE__*/React.createElement(Popover, {
|
|
666
|
-
content: detailContent(item
|
|
673
|
+
content: detailContent(item),
|
|
667
674
|
overlayStyle: {
|
|
668
|
-
zIndex:
|
|
675
|
+
zIndex: 9999
|
|
669
676
|
}
|
|
670
|
-
}, /*#__PURE__*/React.createElement(
|
|
671
|
-
key: index
|
|
672
|
-
|
|
673
|
-
cursor: 'pointer'
|
|
674
|
-
}
|
|
675
|
-
}, msgTypeCh[key], "-"), /*#__PURE__*/React.createElement("span", null, currentOption ? currentOption.label : (item === null || item === void 0 ? void 0 : item[valueKey]) || ''))));
|
|
677
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
678
|
+
key: index
|
|
679
|
+
}, msgTypeCh[key], "-", currentOption ? currentOption.label : (item === null || item === void 0 ? void 0 : item[valueKey]) || '')));
|
|
676
680
|
}) : null);
|
|
677
681
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.15.1-alpha.
|
|
3
|
+
"version": "0.15.1-alpha.4",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "b3ce1d500118ce1c96310e38d68fe91047af4774",
|
|
41
41
|
"gitHooks": {
|
|
42
42
|
"pre-commit": "lint-staged"
|
|
43
43
|
}
|