@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
23 lines (22 loc) • 723 B
TypeScript
import React from 'react';
import { QlPredicate } from '../../../parser/src/predicate';
export type QueryPredicateProps = {
predicate: QlPredicate;
index?: number;
id: string;
onChange: (predicate: QlPredicate) => void;
onNewPredicate: (type: 'group' | 'filter') => void;
isRoot?: boolean;
lastChild?: boolean;
};
/**
* Two types:
* - combinatory operator
* - can contain both expressons and combinators
* [handle] [combinator-dropdown]
* [children]
*
* - boolean function: ars do not contain other combinators
* [handle] [column] [operator-dropdown] [...args] [delete-button] [plus-button]
*/
export declare const QueryPredicateBuilder: React.FunctionComponent<QueryPredicateProps>;