import { StepProps, ClassValue, StyleValue } from '@wakeadmin/element-adapter'; import { OurComponentInstance } from '../../utils'; export interface FatFormStepSlots { /** * 自定义图标 */ renderIcon?: () => any; /** * 自定义标题 */ renderTitle?: () => any; /** * 自定义描述 */ renderDescription?: () => any; /** * 表单主体 */ renderDefault?: () => any; } export interface FatFormStepEvents { } export interface FatFormStepProps extends StepProps, FatFormStepSlots, FatFormStepEvents { /** * 步骤提交。在点击下一步或者提交(最后异步)时触发, 可以在这里进行一些数据验证之类的操作,如果抛出异常则终止运行。 * TODO: 最后一步没有触发 */ beforeSubmit?: (value: Store) => Promise; /** * 内容区类名 */ contentClass?: ClassValue; /** * 内容区样式 */ contentStyle?: StyleValue; /** * 步骤区类名 */ stepClass?: ClassValue; /** * 步骤区样式 */ stepStyle?: StyleValue; } export declare const FatFormStep: new (props: FatFormStepProps) => OurComponentInstance, FatFormStepSlots, FatFormStepEvents, void>; //# sourceMappingURL=fat-form-step.d.ts.map