wargerm 0.6.6 → 0.6.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/index.esm.js
CHANGED
@@ -2640,7 +2640,7 @@ var WForm = function WForm(props, ref) {
|
|
2640
2640
|
className: "mr20",
|
2641
2641
|
onClick: handleRest,
|
2642
2642
|
icon: /*#__PURE__*/React.createElement(ReloadOutlined, null)
|
2643
|
-
}, search && search.resetText ? search.resetText : '重置')]))),
|
2643
|
+
}, search && search.resetText ? search.resetText : '重置')]))), search == undefined ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(WButton, {
|
2644
2644
|
key: 'submit',
|
2645
2645
|
type: "primary",
|
2646
2646
|
className: "mr20",
|
@@ -3417,15 +3417,18 @@ var Index$8 = function Index(props) {
|
|
3417
3417
|
}));
|
3418
3418
|
};
|
3419
3419
|
|
3420
|
-
var _excluded$c = ["duration"];
|
3420
|
+
var _excluded$c = ["duration", "className"];
|
3421
3421
|
|
3422
3422
|
var Index$9 = function Index(props) {
|
3423
3423
|
var _props$duration = props.duration,
|
3424
3424
|
duration = _props$duration === void 0 ? 2.75 : _props$duration,
|
3425
|
+
className = props.className,
|
3425
3426
|
extraProps = _objectWithoutProperties(props, _excluded$c);
|
3426
|
-
return /*#__PURE__*/React.createElement(CountUp, _objectSpread2({
|
3427
|
+
return /*#__PURE__*/React.createElement(CountUp, _objectSpread2(_objectSpread2({
|
3427
3428
|
duration: duration
|
3428
|
-
}, extraProps)
|
3429
|
+
}, extraProps), {}, {
|
3430
|
+
className: "".concat(className, " countUp")
|
3431
|
+
}));
|
3429
3432
|
};
|
3430
3433
|
|
3431
3434
|
Index$9.defaultProps = {};
|
@@ -5886,7 +5889,7 @@ var TabelCard = function TabelCard(props, ref) {
|
|
5886
5889
|
|
5887
5890
|
return (item === null || item === void 0 ? void 0 : (_item$renderColumn = item.renderColumn) === null || _item$renderColumn === void 0 ? void 0 : _item$renderColumn.call(item, item, modalFormConfig)) || item;
|
5888
5891
|
})
|
5889
|
-
})), /*#__PURE__*/React.createElement(WForm$1, _objectSpread2({
|
5892
|
+
})), search !== false && /*#__PURE__*/React.createElement(WForm$1, _objectSpread2({
|
5890
5893
|
ref: searchFormRef,
|
5891
5894
|
disabledRuler: true,
|
5892
5895
|
// search={
|
package/dist/index.js
CHANGED
@@ -2705,7 +2705,7 @@ var WForm = function WForm(props, ref) {
|
|
2705
2705
|
className: "mr20",
|
2706
2706
|
onClick: handleRest,
|
2707
2707
|
icon: /*#__PURE__*/React__default['default'].createElement(icons.ReloadOutlined, null)
|
2708
|
-
}, search && search.resetText ? search.resetText : '重置')]))),
|
2708
|
+
}, search && search.resetText ? search.resetText : '重置')]))), search == undefined ? /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(WButton, {
|
2709
2709
|
key: 'submit',
|
2710
2710
|
type: "primary",
|
2711
2711
|
className: "mr20",
|
@@ -3482,15 +3482,18 @@ var Index$8 = function Index(props) {
|
|
3482
3482
|
}));
|
3483
3483
|
};
|
3484
3484
|
|
3485
|
-
var _excluded$c = ["duration"];
|
3485
|
+
var _excluded$c = ["duration", "className"];
|
3486
3486
|
|
3487
3487
|
var Index$9 = function Index(props) {
|
3488
3488
|
var _props$duration = props.duration,
|
3489
3489
|
duration = _props$duration === void 0 ? 2.75 : _props$duration,
|
3490
|
+
className = props.className,
|
3490
3491
|
extraProps = _objectWithoutProperties(props, _excluded$c);
|
3491
|
-
return /*#__PURE__*/React__default['default'].createElement(CountUp__default['default'], _objectSpread2({
|
3492
|
+
return /*#__PURE__*/React__default['default'].createElement(CountUp__default['default'], _objectSpread2(_objectSpread2({
|
3492
3493
|
duration: duration
|
3493
|
-
}, extraProps)
|
3494
|
+
}, extraProps), {}, {
|
3495
|
+
className: "".concat(className, " countUp")
|
3496
|
+
}));
|
3494
3497
|
};
|
3495
3498
|
|
3496
3499
|
Index$9.defaultProps = {};
|
@@ -5951,7 +5954,7 @@ var TabelCard = function TabelCard(props, ref) {
|
|
5951
5954
|
|
5952
5955
|
return (item === null || item === void 0 ? void 0 : (_item$renderColumn = item.renderColumn) === null || _item$renderColumn === void 0 ? void 0 : _item$renderColumn.call(item, item, modalFormConfig)) || item;
|
5953
5956
|
})
|
5954
|
-
})), /*#__PURE__*/React__default['default'].createElement(WForm$1, _objectSpread2({
|
5957
|
+
})), search !== false && /*#__PURE__*/React__default['default'].createElement(WForm$1, _objectSpread2({
|
5955
5958
|
ref: searchFormRef,
|
5956
5959
|
disabledRuler: true,
|
5957
5960
|
// search={
|