@lemon-fe/kits 1.2.0-alpha.2 → 1.2.0
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.
|
@@ -232,9 +232,12 @@ var BatchOperate = /*#__PURE__*/function (_Component) {
|
|
|
232
232
|
flex: 1
|
|
233
233
|
},
|
|
234
234
|
children: [/*#__PURE__*/_jsx(Icons.Tip, {
|
|
235
|
-
type: "warning"
|
|
235
|
+
type: "warning",
|
|
236
|
+
style: {
|
|
237
|
+
marginRight: 2
|
|
238
|
+
}
|
|
236
239
|
}), /*#__PURE__*/_jsxs("span", {
|
|
237
|
-
children: [
|
|
240
|
+
children: [error.message, " "]
|
|
238
241
|
})]
|
|
239
242
|
}), /*#__PURE__*/_jsx("a", {
|
|
240
243
|
onClick: function onClick() {
|
|
@@ -255,9 +258,12 @@ var BatchOperate = /*#__PURE__*/function (_Component) {
|
|
|
255
258
|
tooltip: error.message
|
|
256
259
|
},
|
|
257
260
|
children: [/*#__PURE__*/_jsx(Icons.Tip, {
|
|
258
|
-
type: "error"
|
|
259
|
-
|
|
260
|
-
|
|
261
|
+
type: "error",
|
|
262
|
+
style: {
|
|
263
|
+
marginRight: 2
|
|
264
|
+
}
|
|
265
|
+
}), /*#__PURE__*/_jsx("span", {
|
|
266
|
+
children: error.message
|
|
261
267
|
})]
|
|
262
268
|
}), /*#__PURE__*/_jsx(Icons.Reload, {
|
|
263
269
|
onClick: function onClick() {
|
|
@@ -272,9 +278,12 @@ var BatchOperate = /*#__PURE__*/function (_Component) {
|
|
|
272
278
|
tooltip: resultInfo
|
|
273
279
|
},
|
|
274
280
|
children: [/*#__PURE__*/_jsx(Icons.Tip, {
|
|
275
|
-
type: "success"
|
|
276
|
-
|
|
277
|
-
|
|
281
|
+
type: "success",
|
|
282
|
+
style: {
|
|
283
|
+
marginRight: 2
|
|
284
|
+
}
|
|
285
|
+
}), /*#__PURE__*/_jsx("span", {
|
|
286
|
+
children: resultInfo
|
|
278
287
|
})]
|
|
279
288
|
});
|
|
280
289
|
}
|
|
@@ -415,9 +424,12 @@ var BatchOperate = /*#__PURE__*/function (_Component) {
|
|
|
415
424
|
tooltip: error.message
|
|
416
425
|
},
|
|
417
426
|
children: [/*#__PURE__*/_jsx(Icons.Tip, {
|
|
418
|
-
type: "error"
|
|
419
|
-
|
|
420
|
-
|
|
427
|
+
type: "error",
|
|
428
|
+
style: {
|
|
429
|
+
marginRight: 2
|
|
430
|
+
}
|
|
431
|
+
}), /*#__PURE__*/_jsx("span", {
|
|
432
|
+
children: error.message
|
|
421
433
|
})]
|
|
422
434
|
}), /*#__PURE__*/_jsx(Icons.Reload, {
|
|
423
435
|
onClick: function onClick() {
|
|
@@ -452,9 +464,12 @@ var BatchOperate = /*#__PURE__*/function (_Component) {
|
|
|
452
464
|
tooltip: resultInfo
|
|
453
465
|
},
|
|
454
466
|
children: [/*#__PURE__*/_jsx(Icons.Tip, {
|
|
455
|
-
type: "success"
|
|
456
|
-
|
|
457
|
-
|
|
467
|
+
type: "success",
|
|
468
|
+
style: {
|
|
469
|
+
marginRight: 2
|
|
470
|
+
}
|
|
471
|
+
}), /*#__PURE__*/_jsx("span", {
|
|
472
|
+
children: resultInfo
|
|
458
473
|
})]
|
|
459
474
|
});
|
|
460
475
|
}
|
|
@@ -539,7 +554,10 @@ var BatchOperate = /*#__PURE__*/function (_Component) {
|
|
|
539
554
|
if (!state) {
|
|
540
555
|
return /*#__PURE__*/_jsxs("span", {
|
|
541
556
|
children: [/*#__PURE__*/_jsx(Icons.Tip, {
|
|
542
|
-
type: "warning"
|
|
557
|
+
type: "warning",
|
|
558
|
+
style: {
|
|
559
|
+
marginRight: 2
|
|
560
|
+
}
|
|
543
561
|
}), /*#__PURE__*/_jsx("span", {
|
|
544
562
|
children: pendingStateText
|
|
545
563
|
})]
|
|
@@ -550,7 +568,8 @@ var BatchOperate = /*#__PURE__*/function (_Component) {
|
|
|
550
568
|
children: [/*#__PURE__*/_jsx(Spin, {
|
|
551
569
|
size: "small",
|
|
552
570
|
style: {
|
|
553
|
-
lineHeight: 1
|
|
571
|
+
lineHeight: 1,
|
|
572
|
+
marginRight: 2
|
|
554
573
|
}
|
|
555
574
|
}), /*#__PURE__*/_jsx("span", {
|
|
556
575
|
children: progressStateText
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lemon-fe/kits",
|
|
3
|
-
"version": "1.2.0
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@ant-design/icons": "^4.7.0",
|
|
26
|
-
"@lemon-fe/components": "^1.2.0
|
|
27
|
-
"@lemon-fe/hooks": "^1.2.0
|
|
26
|
+
"@lemon-fe/components": "^1.2.0",
|
|
27
|
+
"@lemon-fe/hooks": "^1.2.0",
|
|
28
28
|
"@lemon-fe/utils": "^1.1.0",
|
|
29
29
|
"antd": "4.24.8",
|
|
30
30
|
"classnames": "^2.2.6",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"registry": "https://registry.npmjs.org"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "bc6eefb9acd1c267e15c7cf8132b4d866d3eb9ca"
|
|
48
48
|
}
|