@jiaozhiye/qm-design-react 1.10.2 → 1.10.3
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/form/src/types.d.ts +4 -2
- package/lib/hooks/useWindowSize.d.ts +6 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/signature/src/signature.d.ts +1 -0
- package/lib/table/src/table/props.d.ts +2 -1
- package/lib/table/src/table/types.d.ts +2 -1
- package/package.json +3 -3
package/lib/form/src/types.d.ts
CHANGED
|
@@ -281,8 +281,10 @@ export type IFormItem = {
|
|
|
281
281
|
};
|
|
282
282
|
render?: (options: IFormItem, instance: any) => JSXElement;
|
|
283
283
|
onChange?: (value: ValueOf<IFormData> | boolean, ...rest: any[]) => void;
|
|
284
|
-
|
|
285
|
-
|
|
284
|
+
onFocus?: (value: ValueOf<IFormData>, ev: React.FocusEvent<HTMLElement>) => void;
|
|
285
|
+
onBlur?: (value: ValueOf<IFormData>, ev: React.FocusEvent<HTMLElement>) => void;
|
|
286
|
+
onClear?: () => void;
|
|
287
|
+
onEnter?: (value: ValueOf<IFormData>, ev: React.KeyboardEvent<HTMLElement>) => void;
|
|
286
288
|
};
|
|
287
289
|
export type IFormProps = {
|
|
288
290
|
items: IFormItem[];
|