UNPKG

@adaptabletools/adaptable

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

25 lines (24 loc) 970 B
import * as React from 'react'; import { AdaptableApi, AdaptableColumn, AdaptableField, AdaptableModule, NamedQuery } from '../../types'; export type ExpressionEditorType = 'boolean' | 'scalar' | 'observable' | 'aggregatedBoolean' | 'aggregatedScalar' | 'cumulativeAggregatedScalar' | 'quantileAggregatedScalar'; interface ExpressionEditorProps { value: string; onChange: (value: string) => void; type: ExpressionEditorType; module: AdaptableModule; initialData: { [key: string]: any; }; columns: AdaptableColumn[]; fields?: AdaptableField[]; namedQueries: NamedQuery[]; allowSaveNamedQuery?: boolean; style?: React.CSSProperties; isFullExpression?: boolean; api: AdaptableApi; showQueryBuilder?: boolean; showExpressionEditor?: boolean; } export declare const baseClassName = "ab-ExpressionEditor"; export declare function ExpressionEditor(props: ExpressionEditorProps): React.JSX.Element; export {};