@douyinfe/semi-ui 2.59.0-beta.0 → 2.59.0

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.
@@ -17330,6 +17330,7 @@ __webpack_require__.d(__webpack_exports__, {
17330
17330
  "TreeSelect": () => (/* reexport */ treeSelect_0),
17331
17331
  "Typography": () => (/* reexport */ typography_0),
17332
17332
  "Upload": () => (/* reexport */ upload_0),
17333
+ "semiGlobal": () => (/* reexport */ semi_global),
17333
17334
  "useFieldApi": () => (/* reexport */ hooks_useFieldApi),
17334
17335
  "useFieldState": () => (/* reexport */ hooks_useFieldState),
17335
17336
  "useFormApi": () => (/* reexport */ useFormApi),
@@ -98689,6 +98690,7 @@ function withField(Component, opts) {
98689
98690
  validateRef.current = validate;
98690
98691
  }, [rules, validate]);
98691
98692
  useIsomorphicEffect(() => {
98693
+ isUnmounted.current = false;
98692
98694
  // exec validate once when trigger include 'mount'
98693
98695
  if (validateOnMount) {
98694
98696
  fieldValidate(value);
@@ -99203,6 +99205,7 @@ const buildFieldApi = (formApi, field) => ({
99203
99205
  getTouched: () => formApi.getTouched(field),
99204
99206
  setTouched: isTouched => formApi.setTouched(field, isTouched),
99205
99207
  getValue: () => formApi.getValue(field),
99208
+ // @ts-ignore
99206
99209
  setValue: value => formApi.setValue(field, value)
99207
99210
  });
99208
99211
  function useFieldApi(field) {
@@ -102058,6 +102061,7 @@ Preview.defaultProps = {
102058
102061
 
102059
102062
 
102060
102063
 
102064
+
102061
102065
  })();
102062
102066
 
102063
102067
  /******/ return __webpack_exports__;