ivue-material-plus
Version:
A high quality UI components Library with Vue.js
241 lines (240 loc) • 6.96 kB
TypeScript
import type { TableColumnCtx } from './defaults';
declare const _default: import("vue").DefineComponent<{
type: {
type: StringConstructor;
validator(value: string | boolean): boolean;
default: string;
};
prop: {
type: StringConstructor;
};
label: {
type: StringConstructor;
};
width: {
type: (NumberConstructor | StringConstructor)[];
default: string;
};
minWidth: {
type: (NumberConstructor | StringConstructor)[];
default: string;
};
sortable: {
type: (BooleanConstructor | StringConstructor)[];
validator(value: string | boolean): boolean;
default: boolean;
};
property: {
type: StringConstructor;
};
align: {
type: StringConstructor;
validator(value: string | boolean): boolean;
default: string;
};
headerAlign: {
type: StringConstructor;
validator(value: string | boolean): boolean;
default: string;
};
showOverflowTooltip: {
type: BooleanConstructor;
default: boolean;
};
filters: {
type: import("vue").PropType<{
text: string;
value: string;
}[]>;
};
filterMethod: {
type: import("vue").PropType<(value: any, row: any, column: TableColumnCtx) => void>;
};
filterPlacement: {
type: StringConstructor;
default: string;
};
index: {
type: import("vue").PropType<number | ((index: number) => number)>;
};
renderHeader: {
type: import("vue").PropType<(data: {
column: TableColumnCtx;
$index: number;
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>>;
};
formatter: {
type: import("vue").PropType<(row: Record<string, any>, column: TableColumnCtx, cellValue: any, index: number) => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>>;
};
className: {
type: StringConstructor;
};
fixed: {
type: (BooleanConstructor | StringConstructor)[];
validator(value: string | boolean): boolean;
};
labelClassName: {
type: StringConstructor;
};
resizable: {
type: BooleanConstructor;
default: boolean;
};
selectable: {
type: import("vue").PropType<(row: any, index: string | number) => boolean>;
};
reserveSelection: {
type: BooleanConstructor;
default: boolean;
};
sortOrders: {
type: import("vue").PropType<("descending" | "ascending")[]>;
default: () => string[];
};
sortBy: {
type: import("vue").PropType<string | string[] | ((row: any, index: number) => string)>;
};
sortMethod: {
type: import("vue").PropType<(a: any, b: any) => number>;
};
columnKey: {
type: StringConstructor;
};
filterMultiple: {
type: BooleanConstructor;
default: boolean;
};
filteredValue: {
type: import("vue").PropType<string[]>;
};
}, void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
type: {
type: StringConstructor;
validator(value: string | boolean): boolean;
default: string;
};
prop: {
type: StringConstructor;
};
label: {
type: StringConstructor;
};
width: {
type: (NumberConstructor | StringConstructor)[];
default: string;
};
minWidth: {
type: (NumberConstructor | StringConstructor)[];
default: string;
};
sortable: {
type: (BooleanConstructor | StringConstructor)[];
validator(value: string | boolean): boolean;
default: boolean;
};
property: {
type: StringConstructor;
};
align: {
type: StringConstructor;
validator(value: string | boolean): boolean;
default: string;
};
headerAlign: {
type: StringConstructor;
validator(value: string | boolean): boolean;
default: string;
};
showOverflowTooltip: {
type: BooleanConstructor;
default: boolean;
};
filters: {
type: import("vue").PropType<{
text: string;
value: string;
}[]>;
};
filterMethod: {
type: import("vue").PropType<(value: any, row: any, column: TableColumnCtx) => void>;
};
filterPlacement: {
type: StringConstructor;
default: string;
};
index: {
type: import("vue").PropType<number | ((index: number) => number)>;
};
renderHeader: {
type: import("vue").PropType<(data: {
column: TableColumnCtx;
$index: number;
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>>;
};
formatter: {
type: import("vue").PropType<(row: Record<string, any>, column: TableColumnCtx, cellValue: any, index: number) => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>>;
};
className: {
type: StringConstructor;
};
fixed: {
type: (BooleanConstructor | StringConstructor)[];
validator(value: string | boolean): boolean;
};
labelClassName: {
type: StringConstructor;
};
resizable: {
type: BooleanConstructor;
default: boolean;
};
selectable: {
type: import("vue").PropType<(row: any, index: string | number) => boolean>;
};
reserveSelection: {
type: BooleanConstructor;
default: boolean;
};
sortOrders: {
type: import("vue").PropType<("descending" | "ascending")[]>;
default: () => string[];
};
sortBy: {
type: import("vue").PropType<string | string[] | ((row: any, index: number) => string)>;
};
sortMethod: {
type: import("vue").PropType<(a: any, b: any) => number>;
};
columnKey: {
type: StringConstructor;
};
filterMultiple: {
type: BooleanConstructor;
default: boolean;
};
filteredValue: {
type: import("vue").PropType<string[]>;
};
}>>, {
type: string;
width: string | number;
minWidth: string | number;
sortable: string | boolean;
align: string;
headerAlign: string;
showOverflowTooltip: boolean;
filterPlacement: string;
resizable: boolean;
reserveSelection: boolean;
sortOrders: ("descending" | "ascending")[];
filterMultiple: boolean;
}>;
export default _default;