@jiaozhiye/qm-design-react 1.3.0-beta.28 → 1.3.0-beta.29
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/lib/_utils/util.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { isNumber, isString, isUndefined, isFunction, isArray, isPlainObject as isObject, debounce, throttle, get } from 'lodash-es';
|
|
2
|
+
import { isNumber, isString, isUndefined, isFunction, isArray, isPlainObject as isObject, debounce, throttle, get, set } from 'lodash-es';
|
|
3
3
|
import type { AnyFunction, AnyObject } from './types';
|
|
4
|
-
export { isNumber, isString, isArray, isUndefined, isFunction, isObject, debounce, throttle, get };
|
|
4
|
+
export { isNumber, isString, isArray, isUndefined, isFunction, isObject, debounce, throttle, get, set };
|
|
5
5
|
export declare const isIE: () => boolean;
|
|
6
6
|
export declare const isEdge: () => boolean;
|
|
7
7
|
export declare const isChrome: () => boolean;
|
package/lib/form/src/form.d.ts
CHANGED
|
@@ -185,6 +185,7 @@ declare class QmForm extends Component<IProps, IState> {
|
|
|
185
185
|
GET_FIELDS_TOUCHED(fields?: string[]): boolean;
|
|
186
186
|
SUBMIT_FORM(): void;
|
|
187
187
|
RESET_FORM(): void;
|
|
188
|
+
SET_FORM_ITEM(fieldName: string, option: Record<string, any>, forceUpdate?: boolean): void;
|
|
188
189
|
render(): JSX.Element;
|
|
189
190
|
}
|
|
190
191
|
export default QmForm;
|