UNPKG

ag-grid-enterprise

Version:

AG Grid Enterprise Features

21 lines (20 loc) 1.27 kB
import { ColumnModel, GetDataPath, IClientSideRowModel, SetFilterParams, RowNode, ValueService } from 'ag-grid-community'; /** @param V type of value in the Set Filter */ export declare class ClientSideValuesExtractor<V> { private readonly rowModel; private readonly filterParams; private readonly createKey; private readonly caseFormat; private readonly columnModel; private readonly valueService; private readonly treeDataOrGrouping; private readonly treeData; private readonly getDataPath; private readonly groupAllowUnbalanced; constructor(rowModel: IClientSideRowModel, filterParams: SetFilterParams<any, V>, createKey: (value: V | null, node?: RowNode) => string | null, caseFormat: <T extends string | null>(valueToFormat: T) => typeof valueToFormat, columnModel: ColumnModel, valueService: ValueService, treeDataOrGrouping: boolean, treeData: boolean, getDataPath: GetDataPath | undefined, groupAllowUnbalanced: boolean); extractUniqueValues(predicate: (node: RowNode) => boolean, existingValues?: Map<string | null, V | null>): Map<string | null, V | null>; private addValueForConvertValuesToString; private addValueForTreeDataOrGrouping; private getValue; private extractExistingFormattedKeys; }