shineout 3.5.6-beta.7 → 3.5.6-beta.8
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 +17 -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.6-beta.
|
|
510
|
+
version: '3.5.6-beta.8'
|
|
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.6-beta.
|
|
12043
|
+
/* harmony default export */ var version = ('3.5.6-beta.8');
|
|
12044
12044
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12045
12045
|
|
|
12046
12046
|
|
|
@@ -47814,10 +47814,21 @@ var useForm = function useForm(props) {
|
|
|
47814
47814
|
} else {
|
|
47815
47815
|
var names = isArray(name) ? name : [name];
|
|
47816
47816
|
names.forEach(function (key) {
|
|
47817
|
-
var _context$
|
|
47818
|
-
|
|
47819
|
-
|
|
47820
|
-
|
|
47817
|
+
var _context$flowMap$key;
|
|
47818
|
+
// 外部直接设置user.name这种格式的,但是又没有显性的声明user.name绑定的表单元素;
|
|
47819
|
+
// 这里需要手动触发,否则会导致Input输入过程中光标跳到末尾的异常
|
|
47820
|
+
if (!context.updateMap[key]) {
|
|
47821
|
+
var _context$updateMap$pa;
|
|
47822
|
+
var parentKey = key.split('.')[0];
|
|
47823
|
+
(_context$updateMap$pa = context.updateMap[parentKey]) === null || _context$updateMap$pa === void 0 || _context$updateMap$pa.forEach(function (update) {
|
|
47824
|
+
update(context.value, context.errors, context.serverErrors);
|
|
47825
|
+
});
|
|
47826
|
+
} else {
|
|
47827
|
+
var _context$updateMap$ke2;
|
|
47828
|
+
(_context$updateMap$ke2 = context.updateMap[key]) === null || _context$updateMap$ke2 === void 0 || _context$updateMap$ke2.forEach(function (update) {
|
|
47829
|
+
update(context.value, context.errors, context.serverErrors);
|
|
47830
|
+
});
|
|
47831
|
+
}
|
|
47821
47832
|
(_context$flowMap$key = context.flowMap[key]) === null || _context$flowMap$key === void 0 || _context$flowMap$key.forEach(function (update) {
|
|
47822
47833
|
update();
|
|
47823
47834
|
});
|
|
@@ -67313,7 +67324,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
67313
67324
|
|
|
67314
67325
|
|
|
67315
67326
|
/* harmony default export */ var src_0 = ({
|
|
67316
|
-
version: '3.5.6-beta.
|
|
67327
|
+
version: '3.5.6-beta.8'
|
|
67317
67328
|
});
|
|
67318
67329
|
}();
|
|
67319
67330
|
/******/ return __webpack_exports__;
|