@easy-page/react-ui
Advanced tools
Comparing version 0.1.23 to 0.1.24
{ | ||
"name": "@easy-page/react-ui", | ||
"version": "0.1.23", | ||
"version": "0.1.24", | ||
"main": "./index.js", | ||
@@ -5,0 +5,0 @@ "types": "./index.d.ts", |
@@ -22,6 +22,9 @@ import { DataContext, Schema } from '@easy-page/core'; | ||
}; | ||
export declare abstract class FormUtil<PageState, FormInstance = any> { | ||
abstract getFormRef(): FormInstance | null; | ||
export declare abstract class FormUtil<PageState> { | ||
abstract store: EasyPageStore<unknown, any>; | ||
abstract submit(): void; | ||
abstract getFieldError(name: string): string[]; | ||
abstract getFieldWarning(name: string): string[]; | ||
abstract resetFields(fields?: string[]): void; | ||
abstract scrollToField(name: string, options?: ScrollOptions): void; | ||
/** 获取表单中可见的表单数据,未执行 postprocess */ | ||
@@ -28,0 +31,0 @@ abstract getVisibleData(): Partial<PageState>; |
Sorry, the diff of this file is not supported yet
984509
5153