UNPKG

@uozi-admin/curd

Version:
15 lines (14 loc) 461 B
import { Ref } from 'vue'; import { ExportColumn, StdTableColumn } from '../types'; export declare function useExport(config: { columns: StdTableColumn[]; api?: (params: Record<string, any>) => Promise<any>; }): { exportExcel: (selectedRowKey: any, selectedRows: any) => void; exportColumns: Ref<ExportColumn[], ExportColumn[]>; state: { indeterminate: boolean; checkAll: boolean; }; onCheckAllChange: () => void; };