wargerm 0.3.7 → 0.3.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.
- package/dist/components/ModalTips/index.d.ts +1 -0
- package/dist/index.css +12 -2
- package/dist/index.esm.css +12 -2
- package/dist/index.esm.js +6 -4
- package/dist/index.js +6 -4
- package/package.json +2 -2
package/dist/index.css
CHANGED
@@ -269,6 +269,7 @@
|
|
269
269
|
display: flex;
|
270
270
|
align-items: center;
|
271
271
|
justify-content: center;
|
272
|
+
text-align: center;
|
272
273
|
position: relative;
|
273
274
|
z-index: 2;
|
274
275
|
}
|
@@ -318,9 +319,10 @@
|
|
318
319
|
display: flex;
|
319
320
|
align-items: center;
|
320
321
|
justify-content: center;
|
322
|
+
text-align: center;
|
321
323
|
position: relative;
|
322
324
|
z-index: 2;
|
323
|
-
height: 32px;
|
325
|
+
min-height: 32px;
|
324
326
|
}
|
325
327
|
[data-prefers-color='dark'] .container .tbody {
|
326
328
|
overflow: auto;
|
@@ -330,7 +332,7 @@
|
|
330
332
|
[data-prefers-color='dark'] .container .tbody .tr {
|
331
333
|
padding-left: 6px;
|
332
334
|
width: 100%;
|
333
|
-
height: 32px;
|
335
|
+
min-height: 32px;
|
334
336
|
display: flex;
|
335
337
|
margin-bottom: 17px;
|
336
338
|
position: relative;
|
@@ -369,6 +371,7 @@
|
|
369
371
|
display: flex;
|
370
372
|
align-items: center;
|
371
373
|
justify-content: center;
|
374
|
+
text-align: center;
|
372
375
|
position: relative;
|
373
376
|
z-index: 2;
|
374
377
|
}
|
@@ -377,6 +380,7 @@
|
|
377
380
|
display: flex;
|
378
381
|
align-items: center;
|
379
382
|
justify-content: center;
|
383
|
+
text-align: center;
|
380
384
|
position: relative;
|
381
385
|
z-index: 2;
|
382
386
|
}
|
@@ -426,6 +430,7 @@
|
|
426
430
|
display: flex;
|
427
431
|
align-items: center;
|
428
432
|
justify-content: center;
|
433
|
+
text-align: center;
|
429
434
|
position: relative;
|
430
435
|
z-index: 2;
|
431
436
|
min-height: 32px;
|
@@ -477,6 +482,7 @@
|
|
477
482
|
display: flex;
|
478
483
|
align-items: center;
|
479
484
|
justify-content: center;
|
485
|
+
text-align: center;
|
480
486
|
position: relative;
|
481
487
|
z-index: 2;
|
482
488
|
}
|
@@ -485,6 +491,7 @@
|
|
485
491
|
display: flex;
|
486
492
|
align-items: center;
|
487
493
|
justify-content: center;
|
494
|
+
text-align: center;
|
488
495
|
position: relative;
|
489
496
|
z-index: 2;
|
490
497
|
}
|
@@ -1839,6 +1846,9 @@ button.swiper-pagination-bullet {
|
|
1839
1846
|
.model_container-tips .model_wrap-tips .model_bottom-tips .okbtn:hover {
|
1840
1847
|
border: 1px solid #276588;
|
1841
1848
|
}
|
1849
|
+
.model_container-tips .model_wrap-tips .model_bottom-tips .okbtn .ant-btn-loading-icon {
|
1850
|
+
width: auto !important;
|
1851
|
+
}
|
1842
1852
|
.model_container-tips .model_wrap-tips .model_bottom-tips .concellbtn {
|
1843
1853
|
background: #1487c2;
|
1844
1854
|
font-size: 14px;
|
package/dist/index.esm.css
CHANGED
@@ -269,6 +269,7 @@
|
|
269
269
|
display: flex;
|
270
270
|
align-items: center;
|
271
271
|
justify-content: center;
|
272
|
+
text-align: center;
|
272
273
|
position: relative;
|
273
274
|
z-index: 2;
|
274
275
|
}
|
@@ -318,9 +319,10 @@
|
|
318
319
|
display: flex;
|
319
320
|
align-items: center;
|
320
321
|
justify-content: center;
|
322
|
+
text-align: center;
|
321
323
|
position: relative;
|
322
324
|
z-index: 2;
|
323
|
-
height: 32px;
|
325
|
+
min-height: 32px;
|
324
326
|
}
|
325
327
|
[data-prefers-color='dark'] .container .tbody {
|
326
328
|
overflow: auto;
|
@@ -330,7 +332,7 @@
|
|
330
332
|
[data-prefers-color='dark'] .container .tbody .tr {
|
331
333
|
padding-left: 6px;
|
332
334
|
width: 100%;
|
333
|
-
height: 32px;
|
335
|
+
min-height: 32px;
|
334
336
|
display: flex;
|
335
337
|
margin-bottom: 17px;
|
336
338
|
position: relative;
|
@@ -369,6 +371,7 @@
|
|
369
371
|
display: flex;
|
370
372
|
align-items: center;
|
371
373
|
justify-content: center;
|
374
|
+
text-align: center;
|
372
375
|
position: relative;
|
373
376
|
z-index: 2;
|
374
377
|
}
|
@@ -377,6 +380,7 @@
|
|
377
380
|
display: flex;
|
378
381
|
align-items: center;
|
379
382
|
justify-content: center;
|
383
|
+
text-align: center;
|
380
384
|
position: relative;
|
381
385
|
z-index: 2;
|
382
386
|
}
|
@@ -426,6 +430,7 @@
|
|
426
430
|
display: flex;
|
427
431
|
align-items: center;
|
428
432
|
justify-content: center;
|
433
|
+
text-align: center;
|
429
434
|
position: relative;
|
430
435
|
z-index: 2;
|
431
436
|
min-height: 32px;
|
@@ -477,6 +482,7 @@
|
|
477
482
|
display: flex;
|
478
483
|
align-items: center;
|
479
484
|
justify-content: center;
|
485
|
+
text-align: center;
|
480
486
|
position: relative;
|
481
487
|
z-index: 2;
|
482
488
|
}
|
@@ -485,6 +491,7 @@
|
|
485
491
|
display: flex;
|
486
492
|
align-items: center;
|
487
493
|
justify-content: center;
|
494
|
+
text-align: center;
|
488
495
|
position: relative;
|
489
496
|
z-index: 2;
|
490
497
|
}
|
@@ -1839,6 +1846,9 @@ button.swiper-pagination-bullet {
|
|
1839
1846
|
.model_container-tips .model_wrap-tips .model_bottom-tips .okbtn:hover {
|
1840
1847
|
border: 1px solid #276588;
|
1841
1848
|
}
|
1849
|
+
.model_container-tips .model_wrap-tips .model_bottom-tips .okbtn .ant-btn-loading-icon {
|
1850
|
+
width: auto !important;
|
1851
|
+
}
|
1842
1852
|
.model_container-tips .model_wrap-tips .model_bottom-tips .concellbtn {
|
1843
1853
|
background: #1487c2;
|
1844
1854
|
font-size: 14px;
|
package/dist/index.esm.js
CHANGED
@@ -9837,7 +9837,8 @@ var Modal$1 = /*#__PURE__*/function (_React$PureComponent) {
|
|
9837
9837
|
onCancel = _this$props.onCancel,
|
9838
9838
|
cancelText = _this$props.cancelText,
|
9839
9839
|
okText = _this$props.okText,
|
9840
|
-
footer = _this$props.footer
|
9840
|
+
footer = _this$props.footer,
|
9841
|
+
isLoading = _this$props.isLoading;
|
9841
9842
|
if (footer && /*#__PURE__*/React.isValidElement(footer)) return footer;
|
9842
9843
|
if (footer === false) return null;
|
9843
9844
|
return /*#__PURE__*/React.createElement("div", {
|
@@ -9849,14 +9850,15 @@ var Modal$1 = /*#__PURE__*/function (_React$PureComponent) {
|
|
9849
9850
|
}
|
9850
9851
|
}, /*#__PURE__*/React.createElement(WButton, {
|
9851
9852
|
className: "concellbtn",
|
9853
|
+
style: {
|
9854
|
+
marginRight: '10px'
|
9855
|
+
},
|
9852
9856
|
onClick: function onClick(e) {
|
9853
9857
|
onCancel && onCancel(e);
|
9854
9858
|
}
|
9855
9859
|
}, cancelText || '取消'), /*#__PURE__*/React.createElement(WButton, {
|
9856
9860
|
className: "okbtn",
|
9857
|
-
|
9858
|
-
marginLeft: '10px'
|
9859
|
-
},
|
9861
|
+
loading: isLoading || false,
|
9860
9862
|
onClick: function onClick(e) {
|
9861
9863
|
onOk && onOk(e);
|
9862
9864
|
}
|
package/dist/index.js
CHANGED
@@ -9871,7 +9871,8 @@ var Modal$1 = /*#__PURE__*/function (_React$PureComponent) {
|
|
9871
9871
|
onCancel = _this$props.onCancel,
|
9872
9872
|
cancelText = _this$props.cancelText,
|
9873
9873
|
okText = _this$props.okText,
|
9874
|
-
footer = _this$props.footer
|
9874
|
+
footer = _this$props.footer,
|
9875
|
+
isLoading = _this$props.isLoading;
|
9875
9876
|
if (footer && /*#__PURE__*/React__default['default'].isValidElement(footer)) return footer;
|
9876
9877
|
if (footer === false) return null;
|
9877
9878
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
@@ -9883,14 +9884,15 @@ var Modal$1 = /*#__PURE__*/function (_React$PureComponent) {
|
|
9883
9884
|
}
|
9884
9885
|
}, /*#__PURE__*/React__default['default'].createElement(WButton, {
|
9885
9886
|
className: "concellbtn",
|
9887
|
+
style: {
|
9888
|
+
marginRight: '10px'
|
9889
|
+
},
|
9886
9890
|
onClick: function onClick(e) {
|
9887
9891
|
onCancel && onCancel(e);
|
9888
9892
|
}
|
9889
9893
|
}, cancelText || '取消'), /*#__PURE__*/React__default['default'].createElement(WButton, {
|
9890
9894
|
className: "okbtn",
|
9891
|
-
|
9892
|
-
marginLeft: '10px'
|
9893
|
-
},
|
9895
|
+
loading: isLoading || false,
|
9894
9896
|
onClick: function onClick(e) {
|
9895
9897
|
onOk && onOk(e);
|
9896
9898
|
}
|
package/package.json
CHANGED