/*! * devextreme-react * Version: 22.2.6 * Build date: Tue Apr 18 2023 * * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-react */ /// import dxFilterBuilder, { Properties } from "devextreme/ui/filter_builder"; import { Component as BaseComponent, IHtmlOptions } from "./core/component"; import NestedOption from "./core/nested-option"; declare type IFilterBuilderOptions = React.PropsWithChildren void; }>; declare class FilterBuilder extends BaseComponent> { get instance(): dxFilterBuilder; protected _WidgetClass: typeof dxFilterBuilder; protected subscribableOptions: string[]; protected independentEvents: string[]; protected _defaults: { defaultValue: string; }; protected _expectedChildren: { customOperation: { optionName: string; isCollectionItem: boolean; }; field: { optionName: string; isCollectionItem: boolean; }; filterOperationDescriptions: { optionName: string; isCollectionItem: boolean; }; groupOperationDescriptions: { optionName: string; isCollectionItem: boolean; }; }; } declare type ICustomOperationProps = React.PropsWithChildren<{ calculateFilterExpression?: any; caption?: any; customizeText?: any; dataTypes?: any; editorTemplate?: any; hasValue?: any; icon?: any; name?: any; editorRender?: (...params: any) => React.ReactNode; editorComponent?: React.ComponentType; editorKeyFn?: (data: any) => string; }>; declare class CustomOperation extends NestedOption { static OptionName: string; static IsCollectionItem: boolean; static TemplateProps: { tmplOption: string; render: string; component: string; keyFn: string; }[]; } declare type IFieldProps = React.PropsWithChildren<{ calculateFilterExpression?: any; caption?: any; customizeText?: any; dataField?: any; dataType?: any; defaultFilterOperation?: any; editorOptions?: any; editorTemplate?: any; falseText?: any; filterOperations?: any; format?: any; lookup?: object | { allowClearing?: any; dataSource?: any; displayExpr?: any; valueExpr?: any; }; name?: any; trueText?: any; editorRender?: (...params: any) => React.ReactNode; editorComponent?: React.ComponentType; editorKeyFn?: (data: any) => string; }>; declare class Field extends NestedOption { static OptionName: string; static IsCollectionItem: boolean; static ExpectedChildren: { format: { optionName: string; isCollectionItem: boolean; }; lookup: { optionName: string; isCollectionItem: boolean; }; }; static TemplateProps: { tmplOption: string; render: string; component: string; keyFn: string; }[]; } declare type IFilterOperationDescriptionsProps = React.PropsWithChildren<{ between?: any; contains?: any; endsWith?: any; equal?: any; greaterThan?: any; greaterThanOrEqual?: any; isBlank?: any; isNotBlank?: any; lessThan?: any; lessThanOrEqual?: any; notContains?: any; notEqual?: any; startsWith?: any; }>; declare class FilterOperationDescriptions extends NestedOption { static OptionName: string; } declare type IFormatProps = React.PropsWithChildren<{ currency?: any; formatter?: any; parser?: any; precision?: any; type?: any; useCurrencyAccountingStyle?: any; }>; declare class Format extends NestedOption { static OptionName: string; } declare type IGroupOperationDescriptionsProps = React.PropsWithChildren<{ and?: any; notAnd?: any; notOr?: any; or?: any; }>; declare class GroupOperationDescriptions extends NestedOption { static OptionName: string; } declare type ILookupProps = React.PropsWithChildren<{ allowClearing?: any; dataSource?: any; displayExpr?: any; valueExpr?: any; }>; declare class Lookup extends NestedOption { static OptionName: string; } export default FilterBuilder; export { FilterBuilder, IFilterBuilderOptions, CustomOperation, ICustomOperationProps, Field, IFieldProps, FilterOperationDescriptions, IFilterOperationDescriptionsProps, Format, IFormatProps, GroupOperationDescriptions, IGroupOperationDescriptionsProps, Lookup, ILookupProps };