assui 3.1.89 → 3.1.91
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/es/number-format-input/index.d.ts +1 -1
- package/es/number-format-input/index.js +3 -2
- package/es/single-img-upload/style/index.css +0 -1
- package/es/single-img-upload/style/index.less +0 -1
- package/lib/number-format-input/index.d.ts +1 -1
- package/lib/number-format-input/index.js +3 -2
- package/lib/single-img-upload/style/index.css +0 -1
- package/lib/single-img-upload/style/index.less +0 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { NumberFormatBaseProps as ReactNumberFormatProps } from 'react-number-format';
|
|
3
3
|
export type NumberFormatInputProps = ReactNumberFormatProps;
|
|
4
4
|
declare const NumberFormatInput: React.FC<NumberFormatInputProps>;
|
|
5
5
|
export default NumberFormatInput;
|
|
@@ -17,12 +17,13 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
17
17
|
return t;
|
|
18
18
|
};
|
|
19
19
|
import React from 'react';
|
|
20
|
-
import
|
|
20
|
+
import { NumberFormatBase } from 'react-number-format';
|
|
21
21
|
import classNames from 'classnames';
|
|
22
|
+
// TODO react-number-format 分别封装导出
|
|
22
23
|
var NumberFormatInput = function NumberFormatInput(_a) {
|
|
23
24
|
var className = _a.className,
|
|
24
25
|
restProps = __rest(_a, ["className"]);
|
|
25
|
-
return /*#__PURE__*/React.createElement(
|
|
26
|
+
return /*#__PURE__*/React.createElement(NumberFormatBase, __assign({}, restProps, {
|
|
26
27
|
className: classNames('rc-number-format-input', className)
|
|
27
28
|
}));
|
|
28
29
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { NumberFormatBaseProps as ReactNumberFormatProps } from 'react-number-format';
|
|
3
3
|
export type NumberFormatInputProps = ReactNumberFormatProps;
|
|
4
4
|
declare const NumberFormatInput: React.FC<NumberFormatInputProps>;
|
|
5
5
|
export default NumberFormatInput;
|
|
@@ -27,12 +27,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
27
27
|
value: true
|
|
28
28
|
});
|
|
29
29
|
var react_1 = __importDefault(require("react"));
|
|
30
|
-
var react_number_format_1 =
|
|
30
|
+
var react_number_format_1 = require("react-number-format");
|
|
31
31
|
var classnames_1 = __importDefault(require("classnames"));
|
|
32
|
+
// TODO react-number-format 分别封装导出
|
|
32
33
|
var NumberFormatInput = function NumberFormatInput(_a) {
|
|
33
34
|
var className = _a.className,
|
|
34
35
|
restProps = __rest(_a, ["className"]);
|
|
35
|
-
return react_1["default"].createElement(react_number_format_1
|
|
36
|
+
return react_1["default"].createElement(react_number_format_1.NumberFormatBase, __assign({}, restProps, {
|
|
36
37
|
className: (0, classnames_1["default"])('rc-number-format-input', className)
|
|
37
38
|
}));
|
|
38
39
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "assui",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.91",
|
|
4
4
|
"description": "react ui library",
|
|
5
5
|
"author": "jason <usochen@gmail.com>",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@types/react-beautiful-dnd": "^13.1.2",
|
|
36
36
|
"@types/react-color": "^3.0.6",
|
|
37
37
|
"@types/react-resizable": "^3.0.0",
|
|
38
|
-
"a-icons": "^1.1.
|
|
38
|
+
"a-icons": "^1.1.75",
|
|
39
39
|
"aa-utils": "^2.1.26",
|
|
40
40
|
"ahooks": "^3.0.8",
|
|
41
41
|
"bignumber.js": "^9.0.1",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"node": ">=10.0.0"
|
|
83
83
|
},
|
|
84
84
|
"license": "MIT",
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "25e6a881072df2bce97a7c69885020ad18685bdf"
|
|
86
86
|
}
|