@bhplugin/vue3-datatable
Version:
Vue3 Datatable - fully customizable & easy to use datatable library
35 lines (34 loc) • 1.7 kB
TypeScript
import type { IFilterCondition } from './types';
import type { INormalizedColumn } from './filter-strategies';
interface IColumnHeaderProps {
hasCheckbox: boolean;
stickyHeader: boolean;
stickyFirstColumn: boolean;
sortable: boolean;
columnFilter: boolean;
columns: INormalizedColumn[];
currentSortColumn: string;
currentSortDirection: string;
isOpenFilter: string | null;
isFooter?: boolean;
checkAll: boolean | null;
columnFilterLang?: Record<string, string> | null;
}
declare const __VLS_export: import("vue").DefineComponent<IColumnHeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
conditionChange: (field: string, condition: IFilterCondition) => any;
selectAll: (checked: boolean) => any;
sortChange: (field: string | undefined) => any;
filterValueChange: (field: string, value: string | number | boolean | undefined) => any;
toggleFilterMenu: (field: string) => any;
}, string, import("vue").PublicProps, Readonly<IColumnHeaderProps> & Readonly<{
onConditionChange?: ((field: string, condition: IFilterCondition) => any) | undefined;
onSelectAll?: ((checked: boolean) => any) | undefined;
onSortChange?: ((field: string | undefined) => any) | undefined;
onFilterValueChange?: ((field: string, value: string | number | boolean | undefined) => any) | undefined;
onToggleFilterMenu?: ((field: string) => any) | undefined;
}>, {
columnFilterLang: Record<string, string> | null;
isFooter: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: typeof __VLS_export;
export default _default;