-
Notifications
You must be signed in to change notification settings - Fork 11
/
interfaces.d.ts
40 lines (34 loc) · 897 Bytes
/
interfaces.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
export declare interface IField {
name: string;
caption: string;
operators: any;
}
export declare interface IGroup {
name: string;
caption: string;
}
export declare interface IOperator {
name: string;
caption: string;
}
export declare interface IFilterValueItem {
key: any;
field: string;
operator: string;
value: any;
}
export declare interface IFilterControlFilterValueGroup {
key: any;
groupName: string;
items: Array<IFilterControlFilterValue | IFilterValueItem>;
}
export declare interface IFilterControlFilterValue {
groupName: string;
items: Array<IFilterControlFilterValue | IFilterValueItem>;
}
export declare interface IFilterControlProps {
fields: IField[];
groups?: IGroup[];
filterValue: IFilterControlFilterValue;
onFilterValueChanged: (value: any) => void;
}