hrsass-components 2.5.1 → 2.5.2

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.
@@ -65,7 +65,7 @@ var contentStyle = _interopDefault(require('!!raw-loader!tinymce/skins/content/d
65
65
  var SvgPanZoom = _interopDefault(require('svg-pan-zoom'));
66
66
  var saveSvgAsPng = require('save-svg-as-png');
67
67
 
68
- var version = "2.5.1";
68
+ var version = "2.5.2";
69
69
 
70
70
  /**
71
71
  * 版本号
@@ -9849,7 +9849,8 @@ var HrButton = {
9849
9849
  width: VuePropTypes.string,
9850
9850
  size: VuePropTypes.string,
9851
9851
  disabled: VuePropTypes.bool,
9852
- icon: VuePropTypes.string
9852
+ icon: VuePropTypes.string,
9853
+ loading: VuePropTypes.bool
9853
9854
  }, {
9854
9855
  prefixCls: 'hr-button'
9855
9856
  }),
@@ -9863,10 +9864,12 @@ var HrButton = {
9863
9864
  _getOptionProps$disab = _getOptionProps.disabled,
9864
9865
  disabled = _getOptionProps$disab === void 0 ? false : _getOptionProps$disab,
9865
9866
  width = _getOptionProps.width,
9867
+ _getOptionProps$loadi = _getOptionProps.loading,
9868
+ loading = _getOptionProps$loadi === void 0 ? false : _getOptionProps$loadi,
9866
9869
  icon = _getOptionProps.icon,
9867
9870
  _getOptionProps$size = _getOptionProps.size,
9868
9871
  size = _getOptionProps$size === void 0 ? 'default' : _getOptionProps$size;
9869
- var classWrapper = classNames(prefixCls, cls, _defineProperty(_defineProperty({}, "".concat(prefixCls, "-disabled"), disabled), "".concat(prefixCls, "-").concat(icon), icon));
9872
+ var classWrapper = classNames(prefixCls, cls, _defineProperty(_defineProperty(_defineProperty({}, "".concat(prefixCls, "-disabled"), disabled), "".concat(prefixCls, "-").concat(icon), icon), "".concat(prefixCls, "-loading"), loading));
9870
9873
  var hrButtonProps = {
9871
9874
  props: {
9872
9875
  disabled: disabled,
@@ -9875,7 +9878,8 @@ var HrButton = {
9875
9878
  icon: icon,
9876
9879
  style: {
9877
9880
  width: width
9878
- }
9881
+ },
9882
+ loading: loading
9879
9883
  },
9880
9884
  on: _objectSpread$g({}, _objectSpread$g({}, this.$listeners))
9881
9885
  };