form-render
Version:
通过 JSON Schema 生成标准 Form,常用于自定义搭建配置界面生成
8 lines (7 loc) • 470 B
TypeScript
export declare const isExpression: (str: string) => boolean;
export declare const isHasExpression: (schema: any) => boolean;
export declare const parseExpression: (func: any, formData: {}, parentPath: string | [
]) => any;
export declare function getRealDataPath(path: any): string;
export declare function getValueByPath(formData: any, path: any): any;
export declare const parseAllExpression: (_schema: any, _formData: any, dataPath: string, formSchema?: any) => any;