///
///
import SearchPane from './SearchPane';
import SearchPaneViewTotal from './SearchPaneViewTotal';
import SearchPaneCascade from './SearchPaneCascade';
export interface IClasses {
clear: string;
clearAll: string;
collapseAll: string;
container: string;
disabledButton: string;
emptyMessage: string;
hide: string;
panes: string;
search: string;
showAll: string;
title: string;
titleRow: string;
}
export interface IConfigPaneItem {
className: string;
dtOpts: {
[keys: string]: any;
};
header: string;
options: IOption[];
}
export interface IDefaults {
cascadePanes: boolean;
clear: boolean;
collapse: boolean;
columns: number[];
container: (dt: any) => any;
filterChanged: (count: number) => any;
i18n: {
clearMessage: string;
clearPane: string;
collapse: {
0: string;
_: string;
};
collapseMessage: string;
count: string;
countFiltered: string;
emptyMessage: string;
emptyPanes: string;
loadMessage: string;
showMessage: string;
title: string;
};
layout: string;
order: string[];
panes: IConfigPaneItem[];
preSelect: ISelectItem[];
viewCount: boolean;
viewTotal: boolean;
}
export interface IDOM {
clearAll: JQuery;
collapseAll: JQuery;
container: JQuery;
emptyMessage: JQuery;
panes: JQuery;
showAll: JQuery;
title: JQuery;
titleRow: JQuery;
}
export interface IOption {
label: string;
values: any;
}
export interface IS {
colOpts: any[];
dt: any;
filterCount: number;
minPaneWidth: number;
page: number;
paging: boolean;
pagingST: boolean;
paneClass: typeof SearchPane;
panes: SearchPane[];
selectionList: ISelectItem[];
serverData: {
[keys: string]: any;
};
stateRead: boolean;
updating: boolean;
}
export interface ISVT extends IS {
anotherFilter: boolean;
panes: SearchPaneViewTotal[] | SearchPaneCascade[];
reselecting: boolean;
serverSelect: any;
serverSelecting: any;
processing: number;
}
export interface ISelectItem {
column: number;
rows: any;
}