shineout 3.4.4-beta.4 → 3.4.4-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 +18 -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
|
@@ -492,5 +492,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
492
492
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
493
493
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
494
494
|
var _default = exports.default = {
|
|
495
|
-
version: '3.4.4-beta.
|
|
495
|
+
version: '3.4.4-beta.5'
|
|
496
496
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -11984,7 +11984,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
11984
11984
|
};
|
|
11985
11985
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
11986
11986
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
11987
|
-
/* harmony default export */ var version = ('3.4.4-beta.
|
|
11987
|
+
/* harmony default export */ var version = ('3.4.4-beta.5');
|
|
11988
11988
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
11989
11989
|
|
|
11990
11990
|
|
|
@@ -34017,7 +34017,17 @@ var input_Input = function Input(props) {
|
|
|
34017
34017
|
var forwardProps = removeProps(commonProps, objectSpread2_default()({}, inputFormatParams));
|
|
34018
34018
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(simple_input, objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({}, forwardProps), inputFormatProps), {}, {
|
|
34019
34019
|
value: (_inputFormatProps$val = inputFormatProps.value) !== null && _inputFormatProps$val !== void 0 ? _inputFormatProps$val : '',
|
|
34020
|
-
hasSuffix: !!props.suffix
|
|
34020
|
+
hasSuffix: !!props.suffix,
|
|
34021
|
+
onKeyDown: function onKeyDown(e) {
|
|
34022
|
+
var _props$onKeyDown;
|
|
34023
|
+
e.preventDefault();
|
|
34024
|
+
if (e.key === 'Enter' && !e.defaultPrevented) {
|
|
34025
|
+
var _props$onChange;
|
|
34026
|
+
var value = e.target.value;
|
|
34027
|
+
(_props$onChange = props.onChange) === null || _props$onChange === void 0 || _props$onChange.call(props, value);
|
|
34028
|
+
}
|
|
34029
|
+
(_props$onKeyDown = props.onKeyDown) === null || _props$onKeyDown === void 0 || _props$onKeyDown.call(props, e);
|
|
34030
|
+
}
|
|
34021
34031
|
}));
|
|
34022
34032
|
};
|
|
34023
34033
|
/* harmony default export */ var base_src_input_input = (/*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().memo(input_Input));
|
|
@@ -46265,10 +46275,12 @@ var useForm = function useForm(props) {
|
|
|
46265
46275
|
});
|
|
46266
46276
|
var handleSubmit = function handleSubmit(other) {
|
|
46267
46277
|
return function (e) {
|
|
46268
|
-
var _other$onSubmit;
|
|
46269
46278
|
e.preventDefault();
|
|
46270
|
-
|
|
46271
|
-
|
|
46279
|
+
setTimeout(function () {
|
|
46280
|
+
var _other$onSubmit;
|
|
46281
|
+
submit();
|
|
46282
|
+
other === null || other === void 0 || (_other$onSubmit = other.onSubmit) === null || _other$onSubmit === void 0 || _other$onSubmit.call(other, e);
|
|
46283
|
+
}, 10);
|
|
46272
46284
|
};
|
|
46273
46285
|
};
|
|
46274
46286
|
var validateFieldset = function validateFieldset(name) {
|
|
@@ -65269,7 +65281,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
65269
65281
|
|
|
65270
65282
|
|
|
65271
65283
|
/* harmony default export */ var src_0 = ({
|
|
65272
|
-
version: '3.4.4-beta.
|
|
65284
|
+
version: '3.4.4-beta.5'
|
|
65273
65285
|
});
|
|
65274
65286
|
}();
|
|
65275
65287
|
/******/ return __webpack_exports__;
|