shineout 3.5.7-beta.7 → 3.5.7-fix.1
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 +11 -9
- 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-
|
|
510
|
+
version: '3.5.7-fix.1'
|
|
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-
|
|
12043
|
+
/* harmony default export */ var version = ('3.5.7-fix.1');
|
|
12044
12044
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12045
12045
|
|
|
12046
12046
|
|
|
@@ -33559,19 +33559,18 @@ function useInputAble(props) {
|
|
|
33559
33559
|
var render = useRender(syncValue);
|
|
33560
33560
|
var shouldUseState = delay || !control;
|
|
33561
33561
|
var value = shouldUseState ? stateValue : valuePo;
|
|
33562
|
-
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.
|
|
33563
|
-
if (context.timer) {
|
|
33564
|
-
clearTimeout(context.timer);
|
|
33565
|
-
context.timer = null;
|
|
33566
|
-
}
|
|
33562
|
+
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
|
|
33567
33563
|
if (delay && control && props.value !== stateValue) {
|
|
33568
33564
|
changeStateValue(props.value);
|
|
33565
|
+
} else if (context.timer) {
|
|
33566
|
+
clearTimeout(context.timer);
|
|
33567
|
+
context.timer = null;
|
|
33569
33568
|
}
|
|
33570
33569
|
}, [props.value, delay, control]);
|
|
33571
33570
|
var forceDelayChange = use_persist_fn(function () {
|
|
33572
|
-
if (context.
|
|
33571
|
+
if (context.delayChange) context.delayChange();
|
|
33572
|
+
if (context.timer) {
|
|
33573
33573
|
clearTimeout(context.timer);
|
|
33574
|
-
context.delayChange();
|
|
33575
33574
|
context.timer = null;
|
|
33576
33575
|
context.delayChange = null;
|
|
33577
33576
|
}
|
|
@@ -34340,6 +34339,9 @@ var getCompleteFieldKeys = function getCompleteFieldKeys(fields, allFields) {
|
|
|
34340
34339
|
var completeFields = [];
|
|
34341
34340
|
fieldsArray.forEach(function (field) {
|
|
34342
34341
|
var na = "".concat(field, "[");
|
|
34342
|
+
if (field.endsWith(']')) {
|
|
34343
|
+
na = field;
|
|
34344
|
+
}
|
|
34343
34345
|
var no = "".concat(field, ".");
|
|
34344
34346
|
completeFields.push(field);
|
|
34345
34347
|
var childFields = allFields.filter(function (f) {
|
|
@@ -67410,7 +67412,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
67410
67412
|
|
|
67411
67413
|
|
|
67412
67414
|
/* harmony default export */ var src_0 = ({
|
|
67413
|
-
version: '3.5.7-
|
|
67415
|
+
version: '3.5.7-fix.1'
|
|
67414
67416
|
});
|
|
67415
67417
|
}();
|
|
67416
67418
|
/******/ return __webpack_exports__;
|