wargerm 0.6.7 → 0.6.9

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
@@ -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 = {};
@@ -5787,6 +5790,7 @@ var TabelCard = function TabelCard(props, ref) {
5787
5790
  var onSubmit = function onSubmit(values) {
5788
5791
  var _actionRef$current6;
5789
5792
 
5793
+ (searchFormConfig === null || searchFormConfig === void 0 ? void 0 : searchFormConfig.handleSubmit) && searchFormConfig.handleSubmit(values);
5790
5794
  formSearchRef.current = values;
5791
5795
  actionRef === null || actionRef === void 0 ? void 0 : (_actionRef$current6 = actionRef.current) === null || _actionRef$current6 === void 0 ? void 0 : _actionRef$current6.reload(true);
5792
5796
  };
@@ -5794,6 +5798,7 @@ var TabelCard = function TabelCard(props, ref) {
5794
5798
  var onReset = function onReset() {
5795
5799
  var _actionRef$current7;
5796
5800
 
5801
+ (searchFormConfig === null || searchFormConfig === void 0 ? void 0 : searchFormConfig.onReset) && searchFormConfig.onReset();
5797
5802
  formSearchRef.current = {};
5798
5803
  actionRef === null || actionRef === void 0 ? void 0 : (_actionRef$current7 = actionRef.current) === null || _actionRef$current7 === void 0 ? void 0 : _actionRef$current7.reload(true);
5799
5804
  };
package/dist/index.js CHANGED
@@ -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 = {};
@@ -5852,6 +5855,7 @@ var TabelCard = function TabelCard(props, ref) {
5852
5855
  var onSubmit = function onSubmit(values) {
5853
5856
  var _actionRef$current6;
5854
5857
 
5858
+ (searchFormConfig === null || searchFormConfig === void 0 ? void 0 : searchFormConfig.handleSubmit) && searchFormConfig.handleSubmit(values);
5855
5859
  formSearchRef.current = values;
5856
5860
  actionRef === null || actionRef === void 0 ? void 0 : (_actionRef$current6 = actionRef.current) === null || _actionRef$current6 === void 0 ? void 0 : _actionRef$current6.reload(true);
5857
5861
  };
@@ -5859,6 +5863,7 @@ var TabelCard = function TabelCard(props, ref) {
5859
5863
  var onReset = function onReset() {
5860
5864
  var _actionRef$current7;
5861
5865
 
5866
+ (searchFormConfig === null || searchFormConfig === void 0 ? void 0 : searchFormConfig.onReset) && searchFormConfig.onReset();
5862
5867
  formSearchRef.current = {};
5863
5868
  actionRef === null || actionRef === void 0 ? void 0 : (_actionRef$current7 = actionRef.current) === null || _actionRef$current7 === void 0 ? void 0 : _actionRef$current7.reload(true);
5864
5869
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "wargerm",
4
- "version": "0.6.7",
4
+ "version": "0.6.9",
5
5
  "scripts": {
6
6
  "dev": "dumi dev",
7
7
  "docs:build": "dumi build",