@next-bricks/presentational-bricks 1.306.9 → 1.306.11
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/deploy/contract.yaml +82 -82
- package/dist/bricks.json +2 -2
- package/dist/index.c617ebbb.js +2 -0
- package/dist/index.c617ebbb.js.map +1 -0
- package/dist/stories.json +186 -0
- package/package.json +5 -5
- package/dist/index.742232bd.js +0 -2
- package/dist/index.742232bd.js.map +0 -1
package/dist/stories.json
CHANGED
|
@@ -1089,6 +1089,192 @@
|
|
|
1089
1089
|
]
|
|
1090
1090
|
}
|
|
1091
1091
|
}
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"description": {
|
|
1095
|
+
"title": "折叠按钮换行展示",
|
|
1096
|
+
"message": "配置messageStyle,使折叠按钮换行展示"
|
|
1097
|
+
},
|
|
1098
|
+
"brick": "presentational-bricks.brick-alert",
|
|
1099
|
+
"properties": {
|
|
1100
|
+
"id": "pseudoSlot",
|
|
1101
|
+
"type": "info",
|
|
1102
|
+
"message": "这是一段通知信息的标题",
|
|
1103
|
+
"messageStyle": {
|
|
1104
|
+
"fontSize": "14px",
|
|
1105
|
+
"display": "block",
|
|
1106
|
+
"marginTop": "-20px"
|
|
1107
|
+
},
|
|
1108
|
+
"showIcon": true,
|
|
1109
|
+
"enableDescSlot": true,
|
|
1110
|
+
"enableMessageSlot": true,
|
|
1111
|
+
"iconSize": "small",
|
|
1112
|
+
"foldDesc": true
|
|
1113
|
+
},
|
|
1114
|
+
"slots": {
|
|
1115
|
+
"message": {
|
|
1116
|
+
"bricks": [
|
|
1117
|
+
{
|
|
1118
|
+
"brick": "span",
|
|
1119
|
+
"slots": {
|
|
1120
|
+
"": {
|
|
1121
|
+
"bricks": [
|
|
1122
|
+
{
|
|
1123
|
+
"brick": "span",
|
|
1124
|
+
"properties": {
|
|
1125
|
+
"textContent": "展示当前运行的采集实例。因为采集范围是动态的,可能与预期不符,请等待最长10分钟后查看,你也可以点击"
|
|
1126
|
+
}
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
"brick": "presentational-bricks.brick-link",
|
|
1130
|
+
"events": {
|
|
1131
|
+
"link.click": {
|
|
1132
|
+
"action": "console.log"
|
|
1133
|
+
}
|
|
1134
|
+
},
|
|
1135
|
+
"properties": {
|
|
1136
|
+
"style": {
|
|
1137
|
+
"padding": "0 3px",
|
|
1138
|
+
"position": "relative",
|
|
1139
|
+
"bottom": "1px"
|
|
1140
|
+
},
|
|
1141
|
+
"label": "立即同步"
|
|
1142
|
+
}
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
"brick": "span",
|
|
1146
|
+
"properties": {
|
|
1147
|
+
"textContent": "。如果发现有采集实例,但没数据上报,请点击查看"
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
],
|
|
1151
|
+
"type": "bricks"
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
],
|
|
1156
|
+
"type": "bricks"
|
|
1157
|
+
},
|
|
1158
|
+
"description": {
|
|
1159
|
+
"type": "bricks",
|
|
1160
|
+
"bricks": [
|
|
1161
|
+
{
|
|
1162
|
+
"brick": "div",
|
|
1163
|
+
"slots": {
|
|
1164
|
+
"": {
|
|
1165
|
+
"type": "bricks",
|
|
1166
|
+
"bricks": [
|
|
1167
|
+
{
|
|
1168
|
+
"brick": "span",
|
|
1169
|
+
"properties": {
|
|
1170
|
+
"style": {
|
|
1171
|
+
"fontWeight": 500
|
|
1172
|
+
},
|
|
1173
|
+
"textContent": "1、采集状态为\"失败\":"
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
]
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"brick": "div",
|
|
1182
|
+
"slots": {
|
|
1183
|
+
"": {
|
|
1184
|
+
"type": "bricks",
|
|
1185
|
+
"bricks": [
|
|
1186
|
+
{
|
|
1187
|
+
"brick": "span",
|
|
1188
|
+
"properties": {
|
|
1189
|
+
"style": {
|
|
1190
|
+
"paddingLeft": "2em"
|
|
1191
|
+
},
|
|
1192
|
+
"textContent": "﹣ 如果报错信息为get metric none,strategy:5ab3beb512b40,instance:5a14561111841,该instance是指主机的instanceid,请升级该主机Agent至3.24.14以上,且agent有与服务端8823端口的长链接"
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
]
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
"brick": "div",
|
|
1201
|
+
"slots": {
|
|
1202
|
+
"": {
|
|
1203
|
+
"type": "bricks",
|
|
1204
|
+
"bricks": [
|
|
1205
|
+
{
|
|
1206
|
+
"brick": "span",
|
|
1207
|
+
"properties": {
|
|
1208
|
+
"style": {
|
|
1209
|
+
"paddingLeft": "2em"
|
|
1210
|
+
},
|
|
1211
|
+
"textContent": "﹣ 如果报错信息为get metric error,session timeout,请确认对应的agent升级到3.24.10以上,且agent有与服务端8823端口的长链接"
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
]
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
"brick": "div",
|
|
1220
|
+
"slots": {
|
|
1221
|
+
"": {
|
|
1222
|
+
"type": "bricks",
|
|
1223
|
+
"bricks": [
|
|
1224
|
+
{
|
|
1225
|
+
"brick": "span",
|
|
1226
|
+
"properties": {
|
|
1227
|
+
"style": {
|
|
1228
|
+
"paddingLeft": "2em"
|
|
1229
|
+
},
|
|
1230
|
+
"textContent": "﹣ 如果是Prometheus插件,报错信息为connection refused,请确保exporter启动正常或可尝试手动curl对应的metrics接口"
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
]
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
"brick": "div",
|
|
1239
|
+
"slots": {
|
|
1240
|
+
"": {
|
|
1241
|
+
"type": "bricks",
|
|
1242
|
+
"bricks": [
|
|
1243
|
+
{
|
|
1244
|
+
"brick": "span",
|
|
1245
|
+
"properties": {
|
|
1246
|
+
"style": {
|
|
1247
|
+
"fontWeight": 500
|
|
1248
|
+
},
|
|
1249
|
+
"textContent": "2、如果采集状态为\"正常\",那说明采集通道是正常的,是数据处理层的问题,可查看clickhouse或flink_taskmanager/log/monitor.log查看日志"
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
]
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
"brick": "div",
|
|
1258
|
+
"slots": {
|
|
1259
|
+
"": {
|
|
1260
|
+
"type": "bricks",
|
|
1261
|
+
"bricks": [
|
|
1262
|
+
{
|
|
1263
|
+
"brick": "span",
|
|
1264
|
+
"properties": {
|
|
1265
|
+
"style": {
|
|
1266
|
+
"fontWeight": 500
|
|
1267
|
+
},
|
|
1268
|
+
"textContent": "3、如果还有问题,请咨询技术人员。"
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
]
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1275
|
+
]
|
|
1276
|
+
}
|
|
1277
|
+
}
|
|
1092
1278
|
}
|
|
1093
1279
|
],
|
|
1094
1280
|
"previewColumns": 2,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational-bricks",
|
|
3
|
-
"version": "1.306.
|
|
3
|
+
"version": "1.306.11",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-basics/tree/master/bricks/presentational-bricks",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@fortawesome/fontawesome-svg-core": "^1.2.35",
|
|
44
44
|
"@next-core/custom-antd-styles": "^1.26.1",
|
|
45
|
-
"@next-libs/basic-components": "^5.3.
|
|
45
|
+
"@next-libs/basic-components": "^5.3.6",
|
|
46
46
|
"@next-libs/clipboard": "^3.0.4",
|
|
47
|
-
"@next-libs/cmdb-utils": "^3.4.
|
|
47
|
+
"@next-libs/cmdb-utils": "^3.4.1",
|
|
48
48
|
"@next-libs/crontab": "^2.0.8",
|
|
49
49
|
"@next-libs/datetime": "^2.0.4",
|
|
50
50
|
"@next-libs/datetime-components": "^3.2.2",
|
|
51
|
-
"@next-libs/forms": "^3.5.
|
|
51
|
+
"@next-libs/forms": "^3.5.3",
|
|
52
52
|
"@next-libs/hooks": "^2.2.6",
|
|
53
53
|
"@next-sdk/cmdb-sdk": "^2.1.1",
|
|
54
54
|
"@next-sdk/monitor-sdk": "^2.1.1",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"@next-dll/ace": "*",
|
|
74
74
|
"@next-dll/react-dnd": "*"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "5a3da73cf436be79aac41f16cbdebf9c866ee702"
|
|
77
77
|
}
|