assui 2.1.23 → 2.1.26
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/text-input/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { ConditionInputProps } from '../condition-input';
|
|
2
3
|
export declare type TextInputProps = ConditionInputProps;
|
|
3
|
-
declare const TextInput:
|
|
4
|
+
declare const TextInput: React.ForwardRefExoticComponent<ConditionInputProps & React.RefAttributes<unknown>>;
|
|
4
5
|
export default TextInput;
|
package/es/text-input/index.js
CHANGED
|
@@ -67,8 +67,7 @@ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
|
|
|
67
67
|
import React from 'react';
|
|
68
68
|
import isArray from 'lodash/isArray';
|
|
69
69
|
import ConditionInput from '../condition-input';
|
|
70
|
-
|
|
71
|
-
var TextInput = function TextInput(props) {
|
|
70
|
+
var TextInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
72
71
|
var regexp = props.regexp,
|
|
73
72
|
restProps = __rest(props, ["regexp"]);
|
|
74
73
|
|
|
@@ -80,8 +79,8 @@ var TextInput = function TextInput(props) {
|
|
|
80
79
|
}
|
|
81
80
|
|
|
82
81
|
return /*#__PURE__*/React.createElement(ConditionInput, __assign({}, restProps, {
|
|
82
|
+
ref: ref,
|
|
83
83
|
regexp: resultRegexp
|
|
84
84
|
}));
|
|
85
|
-
};
|
|
86
|
-
|
|
85
|
+
});
|
|
87
86
|
export default TextInput;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { ConditionInputProps } from '../condition-input';
|
|
2
3
|
export declare type TextInputProps = ConditionInputProps;
|
|
3
|
-
declare const TextInput:
|
|
4
|
+
declare const TextInput: React.ForwardRefExoticComponent<ConditionInputProps & React.RefAttributes<unknown>>;
|
|
4
5
|
export default TextInput;
|
package/lib/text-input/index.js
CHANGED
|
@@ -82,7 +82,7 @@ var isArray_1 = __importDefault(require("lodash/isArray"));
|
|
|
82
82
|
|
|
83
83
|
var condition_input_1 = __importDefault(require("../condition-input"));
|
|
84
84
|
|
|
85
|
-
var TextInput = function
|
|
85
|
+
var TextInput = react_1["default"].forwardRef(function (props, ref) {
|
|
86
86
|
var regexp = props.regexp,
|
|
87
87
|
restProps = __rest(props, ["regexp"]);
|
|
88
88
|
|
|
@@ -94,8 +94,8 @@ var TextInput = function TextInput(props) {
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
return react_1["default"].createElement(condition_input_1["default"], __assign({}, restProps, {
|
|
97
|
+
ref: ref,
|
|
97
98
|
regexp: resultRegexp
|
|
98
99
|
}));
|
|
99
|
-
};
|
|
100
|
-
|
|
100
|
+
});
|
|
101
101
|
exports["default"] = TextInput;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "assui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.26",
|
|
4
4
|
"description": "react ui library",
|
|
5
5
|
"author": "jason <usochen@gmail.com>",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@tinymce/tinymce-react": "^4.0.0",
|
|
35
35
|
"@types/react-beautiful-dnd": "^13.1.2",
|
|
36
36
|
"@types/react-resizable": "^3.0.0",
|
|
37
|
-
"a-icons": "^1.0.
|
|
38
|
-
"aa-utils": "^2.0.
|
|
37
|
+
"a-icons": "^1.0.73",
|
|
38
|
+
"aa-utils": "^2.0.28",
|
|
39
39
|
"ahooks": "^3.0.8",
|
|
40
40
|
"bignumber.js": "^9.0.1",
|
|
41
41
|
"copy-to-clipboard": "^3.3.1",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"node": ">=10.0.0"
|
|
73
73
|
},
|
|
74
74
|
"license": "MIT",
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "7b65b69b7bd0217df6821340f6184199ae4b6092"
|
|
76
76
|
}
|