linkmore-design
Version:
🌈 🚀lm组件库。🚀
30 lines (29 loc) • 1.5 kB
TypeScript
export declare function isObjEmpty(obj: Record<string, any>): boolean;
export declare function deepDataSourcePreKeys(dataSource: any[], rowKey: string): any;
export declare function isExpandRow(children: any): boolean;
export declare function checkRowKeyByDataSource(dataSource: any, rowKey: any): any;
export declare function getExpandStatus(children: any): any;
export declare function checkMemoShouldUploadSpecialFun(prev: any, next: any): any;
export declare function checkExpandIconColumnIndex({ rowSelection, sortOpen, indexCol }: {
rowSelection: any;
sortOpen: any;
indexCol: any;
}): number;
export declare function checkDataSourceIsEmpty(config: any, dataSource: any, scrollInfo: any): any;
/** 根据传入的disabedRows, 得出最终需要disabed的rowKeys */
export declare function checkTableRowIsDisable(deepDataSource: any, disabledRows: any, rowKey: any): any[];
export declare function getLeafNodes(data: any): any[];
/** 查找父级元素 */
export declare function findFirstMatchingParent(element: any, condition: any): any;
export declare const SCROLL_POSITION_CLASS_NAME = "__scroll_position_node__";
export declare const SCROLL_POSITION_DOT_CLASS_NAME: string;
declare type ComputationSummaryParams = {
summary?: Record<string, any>;
dataIndex?: string;
pageData?: any[];
};
export declare function computationSummaryValue(params: ComputationSummaryParams): any;
declare const _default: {
isObjEmpty: typeof isObjEmpty;
};
export default _default;