vxe-table
Version:
A PC-end table component based on Vxe UI, supporting copy-paste, data pivot table, and high-performance virtual list table solution.
24 lines (23 loc) • 993 B
TypeScript
export declare function isEnableConf(conf: any): boolean;
/**
* 用于开关类型的配置项
* 局部启用规则:conf={}
* 局部禁用规则:conf={enabled:false}
* 全局默认启用规则:conf.enabled=true
*/
export declare function hasEnableConf(conf: any, opts: any): boolean;
export declare function isEmptyValue(cellValue: any): boolean;
export declare function parseFile(file: File): {
filename: string;
type: string;
};
export declare function nextZIndex(): number;
export declare function getLastZIndex(): number;
export declare function hasChildrenList(item: any): any;
export declare function getFuncText(content?: string | number | boolean | null, args?: any): string;
export declare function formatText(value: any, placeholder?: any): string;
/**
* 判断值为:'' | null | undefined 时都属于空值
*/
export declare function eqEmptyValue(cellValue: any): boolean;
export declare function getDefaultConfig<T = any, D = any>(val1: T, def1: D): T | D;