shineout 3.5.7-beta.3 → 3.5.7-beta.5
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 +1 -1
- package/dist/shineout.js +9 -6
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/index.js +1 -1
- package/package.json +5 -5
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.
|
|
510
|
+
version: '3.5.7-beta.5'
|
|
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.
|
|
12043
|
+
/* harmony default export */ var version = ('3.5.7-beta.5');
|
|
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
|
-
|
|
34011
|
-
|
|
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(
|
|
34018
|
+
return "".concat(_str === 0 ? _str : _str || '').replace(/,/g, '');
|
|
34018
34019
|
}
|
|
34019
34020
|
return str;
|
|
34020
34021
|
}
|
|
@@ -64825,7 +64826,9 @@ var Upload = function Upload(props0) {
|
|
|
64825
64826
|
value: value,
|
|
64826
64827
|
files: files,
|
|
64827
64828
|
onFileRemove: func.removeFile,
|
|
64828
|
-
onValueRemove: func.removeValue
|
|
64829
|
+
onValueRemove: func.removeValue,
|
|
64830
|
+
recoverValue: recycleValues,
|
|
64831
|
+
onValueRecover: func.recoverValue
|
|
64829
64832
|
}), !shouldRenderLeft && renderHandler()]
|
|
64830
64833
|
}) : /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
64831
64834
|
children: [shouldRenderLeft && renderHandler(), renderValue(), renderFile(), !shouldRenderLeft && renderHandler(), renderRecover()]
|
|
@@ -67399,7 +67402,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
67399
67402
|
|
|
67400
67403
|
|
|
67401
67404
|
/* harmony default export */ var src_0 = ({
|
|
67402
|
-
version: '3.5.7-beta.
|
|
67405
|
+
version: '3.5.7-beta.5'
|
|
67403
67406
|
});
|
|
67404
67407
|
}();
|
|
67405
67408
|
/******/ return __webpack_exports__;
|