UNPKG

linkmore-design

Version:

🌈 🚀lm组件库。🚀

17 lines (16 loc) 593 B
import { DYNAMIC_ENUM } from './constants'; export declare const getFilterKeyValue: (conditions: any) => any; /** * 根据指定字段获取数据源中的依赖字段 * 遍历依赖字段返回需要更新的字段 * @return {Array} string[] * @example * * flatDeepDeps('a', [{fieldName: 'a'}, {fieldName: 'b', dependencies: ['a']}]) * // => ['b'] */ export declare const flatDeepDeps: (field: string, dataSource: Array<Record<string | DYNAMIC_ENUM, any>>) => any; /** * 返回更新后的数据 */ export declare const getUpdateResult: (updateFields: any, conditions: any) => any;