import { FormSchemaEntityField } from '@farris/designer-services'; import { LocaleService } from '@farris/ui-locale'; export declare class FilePreviewColumnCreator { static attachUdtField: FormSchemaEntityField; /** * 根据指定的schema信息生成预览列 * @param schemaField 字段schema信息 */ static getColumnDataByType(schemaField: FormSchemaEntityField, localeService: LocaleService): PreviewColumn; /** * 根据schema字段创建附件预览字段 * 强识别附件名称、附件大小、附件上传时间三个字段,因为在farris附件中这三个被识别成了name/size/createTime */ static getColumnFieldBySchema(schemaField: FormSchemaEntityField, localeService: LocaleService): { field: string; title: any; width: number; extend: boolean; }; static createFormatter(previewColumn: any, schemaField: FormSchemaEntityField, localeService: LocaleService): void; } /** * 预览列实体 */ export declare class PreviewColumn { field: string; width: number; title: string; bindingField: string; extend: boolean; formatter?: { type: string; customFormat?: string; [propName: string]: any; }; /** 记录绑定字段的类型 */ fieldType?: string; path: string; }