// Generated by dts-bundle v0.7.3 // Dependencies for this module: // ../../../react import * as React from 'react'; export interface IFilterProps { filters: IFilter[]; title?: string; applyFilter: (filter: any, filterObjects: any) => void; dismiss: () => void; highlightColor: string; } export interface IFilterState { filters: IFilter[]; checkboxFilterMap: { [key: string]: boolean; }; selectedPeopleMap: { [key: string]: any[]; }; nodesMap: { [key: string]: INode[]; }; selectedNodesMap: { [key: string]: INode[]; }; dropdownValueMap: { [key: string]: DropdownObject; }; radioMap: { [key: string]: RadioObject; }; typeDateMap: { [key: string]: DateObject; }; multiSelectFieldsMap: { [key: string]: IMultiSelectDropDownOption[]; }; } export interface RadioObject { radioValue: string; defaultValue: string; options: { key: string; text: string; }[]; } export interface DateObject { startDate: Date; endDate: Date; typeDate: string; } export interface DropdownObject { options: { key: string; displayName: string; disabled?: boolean; }[]; selectedValue: string; } export class Filter extends React.Component { constructor(props: IFilterProps, state: IFilterState); } export interface IFilter { title: string; type: FilterType; data: IFilterDataRadio | IFilterDataDropdown | IFilterDataTermCheck | IFilterDataDate | IFilterDataPeople | IFilterDataTags; order?: number; icon?: string; } export declare const enum FilterType { Radio = 0, Dropdown = 1, TermCheckbox = 2, Date = 3, People = 4, Tags = 5 } export interface IFilterData { field: string; type: string; options?: any[]; default?: any; comparison?: any; styles?: any; themeColor?: any; } export interface IFilterDataRadio { field: string; type: string; options: any[]; default: any; selected?: string; } export interface IFilterDataPeople { field: string; type: string; options: any[]; selected?: any[]; } export interface IFilterDataDate { type: string; default?: any; selected?: { startDate: Date; endDate: Date; }; } export interface IFilterDataTermCheck { field: string; type: string; options?: any[]; comparison?: any; } export interface IFilterDataDropdown { field: string; type: string; options?: any[]; default?: any; selected?: string; } export interface IFilterDataTags { field: string; type: string; options?: any[]; default?: any; comparison?: any; styles?: any; themeColor?: any; } export interface IMultiSelectDropDownProps { placeholder?: string; label?: string; options: IMultiSelectDropDownOption[]; styles?: React.CSSProperties; themeColor?: string; onSelectOptions(option: any): void; singleOption?: boolean; } export interface IMultiSelectDropDownState { checked: IMultiSelectDropDownOption[]; dropDownValue: IMultiSelectDropDownOption[]; } export interface IMultiSelectDropDownOption { key: any; text: string; selected: boolean; } export declare class IAMultiSelectDropDown extends React.Component { constructor(props: any); componentDidMount: () => void; componentDidUpdate: (props: any) => void; removeSelectedItem: (value: any) => void; checkBox: (value: any, condition: any) => void; search: (e: any) => void; returnSelectedItems(): JSX.Element[]; returnList(): JSX.Element[]; render(): JSX.Element; } export interface INode { id: string; defaultLabel: string; labels: string[]; childNodes: INode[]; checked: boolean; expand?: boolean; columnName?: string; markedChild?: boolean; title?: string; }