@titaui/pc 1.5.69-beta.21 → 1.5.69-beta.22
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.
- package/lib/components/communication/index.js +1 -0
- package/lib/components/dynamic/dynamic-item/dynamic-align/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-announcement/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-kr/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-relative/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-replay/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-report/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-share/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.css +1 -1
- package/lib/components/dynamic/util.js +25 -5
- package/package.json +1 -1
|
@@ -412,6 +412,7 @@ var Communication = /*#__PURE__*/function (_PureComponent) {
|
|
|
412
412
|
userSelectorPopAlign: userSelectorPopAlign,
|
|
413
413
|
emotionsSelectorPopAlign: emotionsSelectorPopAlign,
|
|
414
414
|
autoFocus: autoFocus,
|
|
415
|
+
autoResizing: false,
|
|
415
416
|
onMblogSubmit: function onMblogSubmit(submitType, sentData) {
|
|
416
417
|
return _this2.handlerReply(submitType, sentData);
|
|
417
418
|
}
|
|
@@ -43,8 +43,8 @@ var getFeedTypeAndTypeColor = function getFeedTypeAndTypeColor(feedType) {
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
if (feedType === _constant.EFeedType.Progress) {
|
|
46
|
-
feedTypeText = "
|
|
47
|
-
feedTypeColor = "linear-gradient(90deg, #
|
|
46
|
+
feedTypeText = "进展";
|
|
47
|
+
feedTypeColor = "linear-gradient(90deg, #FFAB67 0%, #FFD5A0 100%)";
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
if (feedType === _constant.EFeedType.Relative) {
|
|
@@ -52,9 +52,29 @@ var getFeedTypeAndTypeColor = function getFeedTypeAndTypeColor(feedType) {
|
|
|
52
52
|
feedTypeColor = "linear-gradient(270deg, #FFE18B 0%, #F6BD16 100%)";
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
if (feedType === _constant.EFeedType.
|
|
56
|
-
feedTypeText =
|
|
57
|
-
feedTypeColor =
|
|
55
|
+
if (feedType === _constant.EFeedType.O) {
|
|
56
|
+
feedTypeText = 'OKRs';
|
|
57
|
+
feedTypeColor = 'linear-gradient(90deg, #2879FF 0%, #9FBFFF 100%)';
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if (feedType === _constant.EFeedType.Kr) {
|
|
61
|
+
feedTypeText = 'KR';
|
|
62
|
+
feedTypeColor = 'linear-gradient(90deg, #2879FF 0%, #9FBFFF 100%)';
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
if (feedType === _constant.EFeedType.Project) {
|
|
66
|
+
feedTypeText = '项目';
|
|
67
|
+
feedTypeColor = 'linear-gradient(90deg, #624DFF 0%, #CDC7FF 100%)';
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
if (feedType === _constant.EFeedType.MileStone) {
|
|
71
|
+
feedTypeText = '里程碑';
|
|
72
|
+
feedTypeColor = 'linear-gradient(90deg, #624DFF 0%, #CDC7FF 100%)';
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
if (feedType === _constant.EFeedType.Task) {
|
|
76
|
+
feedTypeText = '任务';
|
|
77
|
+
feedTypeColor = 'linear-gradient(90deg, #BB4DFF 0%, #EAC7FF 100%)';
|
|
58
78
|
}
|
|
59
79
|
|
|
60
80
|
return {
|