@progress/kendo-vue-grid
Version:
99 lines (98 loc) • 2.64 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { PropType } from 'vue';
import { GridProps, GridCSVExportOptions } from './interfaces/GridProps';
/**
* @hidden
*/
export interface BaseCSVExportProps {
gridProps: GridProps;
csv?: GridProps['csv'];
fileName?: string;
onCsvexport?: (data: any[]) => any[];
columnsState?: Array<{
field?: string;
title?: string;
hidden?: boolean;
show?: boolean;
}>;
}
/**
* @hidden
*/
export interface BaseCSVExportMethods {
save: () => void;
getBlob: () => Blob;
}
/**
* @hidden
*/
declare const BaseCSVExport: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
gridProps: {
type: PropType<GridProps>;
required: true;
};
csv: {
type: PropType<boolean | GridCSVExportOptions>;
default: any;
};
fileName: {
type: StringConstructor;
default: string;
};
onCsvexport: {
type: PropType<(data: any[]) => any[]>;
default: any;
};
columnsState: {
type: PropType<{
field?: string;
title?: string;
hidden?: boolean;
show?: boolean;
}[]>;
default: any;
};
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
gridProps: {
type: PropType<GridProps>;
required: true;
};
csv: {
type: PropType<boolean | GridCSVExportOptions>;
default: any;
};
fileName: {
type: StringConstructor;
default: string;
};
onCsvexport: {
type: PropType<(data: any[]) => any[]>;
default: any;
};
columnsState: {
type: PropType<{
field?: string;
title?: string;
hidden?: boolean;
show?: boolean;
}[]>;
default: any;
};
}>> & Readonly<{}>, {
columnsState: {
field?: string;
title?: string;
hidden?: boolean;
show?: boolean;
}[];
csv: any;
onCsvexport: (data: any[]) => any[];
fileName: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export { BaseCSVExport };