shineout 3.5.2-beta.7 → 3.5.2-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 CHANGED
@@ -500,5 +500,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
500
500
  // 此文件由脚本自动生成,请勿直接修改。
501
501
  // This file was generated automatically by a script. Please do not modify it directly.
502
502
  var _default = exports.default = {
503
- version: '3.5.2-beta.7'
503
+ version: '3.5.2-beta.8'
504
504
  };
package/dist/shineout.js CHANGED
@@ -12002,7 +12002,7 @@ var handleStyle = function handleStyle(style) {
12002
12002
  };
12003
12003
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12004
12004
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12005
- /* harmony default export */ var version = ('3.5.2-beta.7');
12005
+ /* harmony default export */ var version = ('3.5.2-beta.8');
12006
12006
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12007
12007
 
12008
12008
 
@@ -40141,6 +40141,9 @@ function useFormControl(props) {
40141
40141
  }
40142
40142
  });
40143
40143
  setValueState(nextValue);
40144
+ formFunc === null || formFunc === void 0 || formFunc.setValue(defineProperty_default()({}, name, nextValue), {
40145
+ validate: false
40146
+ });
40144
40147
  } else {
40145
40148
  var _value2 = getValue(name, formValue);
40146
40149
  var _error2 = getError(name, errors, severErrors);
@@ -40150,6 +40153,9 @@ function useFormControl(props) {
40150
40153
  if (!shallowEqual(_value2, latestInfo.valueState)) {
40151
40154
  if (_value2 === undefined && defaultValue !== undefined) {
40152
40155
  setValueState(defaultValue);
40156
+ formFunc === null || formFunc === void 0 || formFunc.setValue(defineProperty_default()({}, name, defaultValue), {
40157
+ validate: false
40158
+ });
40153
40159
  } else {
40154
40160
  setValueState(_value2);
40155
40161
  }
@@ -51416,6 +51422,7 @@ var Node = function Node(props) {
51416
51422
  isControlled: isControlled,
51417
51423
  contentClass: contentClass,
51418
51424
  parentClickExpand: parentClickExpand,
51425
+ doubleClickExpand: doubleClickExpand,
51419
51426
  expanded: expanded,
51420
51427
  line: line,
51421
51428
  data: children,
@@ -66425,7 +66432,7 @@ var upload_interface = __webpack_require__(8821);
66425
66432
 
66426
66433
 
66427
66434
  /* harmony default export */ var src_0 = ({
66428
- version: '3.5.2-beta.7'
66435
+ version: '3.5.2-beta.8'
66429
66436
  });
66430
66437
  }();
66431
66438
  /******/ return __webpack_exports__;