shineout 3.5.7-beta.4 → 3.5.7-beta.6

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/cjs/index.js CHANGED
@@ -507,5 +507,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
507
507
  // 此文件由脚本自动生成,请勿直接修改。
508
508
  // This file was generated automatically by a script. Please do not modify it directly.
509
509
  var _default = exports.default = {
510
- version: '3.5.7-beta.4'
510
+ version: '3.5.7-beta.6'
511
511
  };
package/dist/shineout.js CHANGED
@@ -12040,7 +12040,7 @@ var handleStyle = function handleStyle(style) {
12040
12040
  };
12041
12041
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12042
12042
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12043
- /* harmony default export */ var version = ('3.5.7-beta.4');
12043
+ /* harmony default export */ var version = ('3.5.7-beta.6');
12044
12044
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12045
12045
 
12046
12046
 
@@ -34007,14 +34007,15 @@ var useInputFormat = function useInputFormat(props) {
34007
34007
  });
34008
34008
  function getValue(str) {
34009
34009
  if (type === 'number' && coin) {
34010
- if (showCoin && str) {
34011
- return "".concat(str).replace(/\d+/, function (n) {
34010
+ var _str = str;
34011
+ if (showCoin && _str) {
34012
+ return "".concat(_str).replace(/\d+/, function (n) {
34012
34013
  return n.replace(/(\d)(?=(\d{3})+$)/g, function ($1) {
34013
34014
  return "".concat($1, ",");
34014
34015
  });
34015
34016
  });
34016
34017
  }
34017
- return "".concat(str || '').replace(/,/g, '');
34018
+ return "".concat(_str === 0 ? _str : _str || '').replace(/,/g, '');
34018
34019
  }
34019
34020
  return str;
34020
34021
  }
@@ -65018,6 +65019,7 @@ var UploadButton = function UploadButton(props) {
65018
65019
  className: classnames_default()(uploadClasses === null || uploadClasses === void 0 ? void 0 : uploadClasses.button, uploading && (uploadClasses === null || uploadClasses === void 0 ? void 0 : uploadClasses.buttonUploading)),
65019
65020
  type: props.type || 'primary',
65020
65021
  size: props.size,
65022
+ mode: props.mode,
65021
65023
  onClick: onClick,
65022
65024
  onKeyDown: button_handleKeyDown,
65023
65025
  children: [uploading && [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@@ -67401,7 +67403,7 @@ var upload_interface = __webpack_require__(8821);
67401
67403
 
67402
67404
 
67403
67405
  /* harmony default export */ var src_0 = ({
67404
- version: '3.5.7-beta.4'
67406
+ version: '3.5.7-beta.6'
67405
67407
  });
67406
67408
  }();
67407
67409
  /******/ return __webpack_exports__;