import { Repository } from '@farris/devkit-vue'; import { LayerElement } from '../entity/LayerElement'; import { ErrorLevel } from '../entity'; export declare function isNullOrUndefined(obj: any): boolean; export declare function encrypt(password: string): string; export declare function newGuid(): string; export declare function getBasePath(): string; export declare function isNullOrEmpty(obj: any): boolean; export declare function isNullOrBlank(str: string): boolean; export declare function getQueryString(paraName: string): any; export declare function judgeIllegalChar(str: string): boolean; export declare function buildErrorInfo(errorLevel: ErrorLevel, errorInfo: string): any; export declare function getNowDate(): string; export declare class FileTypeUtil { static getFileExtension(valueField: any): any; static getFileTypeName(fileType: any): string; } export declare class DataIEUtils { static ChooseSu(repository: any, option: any): any; static getSu(preurl: string): any; static checkError(response: any, notify: any): boolean; static getApp(preurl: string): any; static getPort(preurl: string): any; static getBaseUrl(repository: Repository): string; static GetPreUrl(baseUrl: string): string; static JudgeIllegalChar(str: string): boolean; /** * 主从表是否设置了同一个对象名 */ static hasSameFileObjectName(model: any): boolean; /** * 获取当前字段d下的所有基础字段 * 用于在多级表头场景下获取表单字段,适用于“无规则导出”和“按表单字段导出”场景 */ static findBaseColumns(d: any, allColumns: any): any[]; static getLayerByFront(columns: any, allColumns: any): any[]; /** * 获取按多级表头排序的全部字段 * @param d 当前字段 * @param allColumns 所有字段(筛选后,无序,作为数据集提供检索) */ static findAllColumns(d: any, allColumns: any): any[]; /** * 根据表单多级表头配置,生成导出多级表头配置 */ static buildViewLayerElement(column: any, allColumns: any): LayerElement; static buildViewElements(dataGridColumns: any, allColumns: any): any[]; }