UNPKG

@jiaozhiye/qm-design-vue

Version:

A Component Library for Vue3.0

193 lines (192 loc) 11.5 kB
declare const Table: import("../_utils/types").SFCWithInstall<import("vue").DefineComponent<{ ellipsis: boolean; border: boolean; columns: import("./src/table/types").IColumn[]; showHeader: boolean; showFullScreen: boolean; rowKey: string | number | ((row: import("./src/table/types").IRecord<any>, index: number) => string | number); mergedCells: import("./src/table/types").IMergedCell[]; dataSource: import("./src/table/types").IRecord<any>[]; stripe: boolean; resizable: boolean; dynamicThead: boolean; nativeScrollBar: boolean; rowDraggable: boolean; multipleSort: boolean; ignorePageIndex: boolean; scrollPagination: boolean; webPagination: boolean; topSpaceAlign: import("./src/table/types").IAlign; showRefresh: boolean; showTableImport: boolean; showClipboard: boolean; showSelectCollection: boolean; showSuperSearch: boolean; showFastSearch: boolean; showGroupSummary: boolean; showToolBox: boolean; showColumnDefine: boolean; showTableInfo: boolean; onlyShowIcon: boolean; size?: import("../_utils/types").ComponentSize | undefined; authConfig?: import("./src/table/types").IAuthConfig | undefined; loading?: boolean | undefined; height?: string | number | undefined; class?: string | import("../_utils/types").Arrayable<Record<string, boolean>> | undefined; style?: import("vue").StyleValue; maxHeight?: string | number | undefined; minHeight?: string | number | undefined; uniqueKey?: string | undefined; summation?: import("./src/table/types").ISummation | undefined; columnsChange?: ((items: import("./src/table/types").IColumn[]) => void) | undefined; rowHeight?: number | undefined; fetch?: import("./src/table/types").IFetch | undefined; rowStyle?: import("vue").CSSProperties | ((row: import("./src/table/types").IRecord<any>, rowIndex: number) => import("vue").CSSProperties) | undefined; cellStyle?: import("vue").CSSProperties | ((row: import("./src/table/types").IRecord<any>, column: import("./src/table/types").IColumn, rowIndex: number, columnIndex: number) => import("vue").CSSProperties) | undefined; spanMethod?: ((options: { row: import("./src/table/types").IRecord<any>; column: import("./src/table/types").IColumn; rowIndex: number; columnIndex: number; tableData: import("./src/table/types").IRecord<any>[]; }) => import("./src/table/types").IRowColSpan | [number, number]) | undefined; initialSorter?: import("./src/table/types").ISorter | undefined; initialFilter?: import("./src/table/types").IFilter | undefined; rowSelection?: import("./src/table/types").IRowSelection | undefined; rowHighlight?: import("./src/table/types").IRowHighlight | undefined; tableConfig?: import("./src/table/types").ITableConfig | undefined; treeConfig?: import("./src/table/types").ITreeConfig | undefined; expandable?: import("./src/table/types").IExpandable | undefined; areaSelection?: import("./src/table/types").IAreaSelection | undefined; footRender?: ((flattenColumns: import("./src/table/types").IColumn[], tableData: import("./src/table/types").IRecord<any>[]) => import("../_utils/types").JSXElement) | undefined; paginationConfig?: import("./src/table/types").IPaginationConfig | undefined; exportExcel?: import("./src/table/types").IExportExcel | undefined; tablePrint?: import("./src/table/types").ITablePrint | undefined; infoBarConfig?: import("./src/table/types").IAlertConfig | undefined; beforeClipboard?: ((records: string[][], columnKeys: string[]) => string[][] | Promise<string[][]>) | undefined; beforeTableImport?: ((records: import("./src/table/types").IRecord<any>[]) => import("./src/table/types").IRecord<any>[] | Promise<import("./src/table/types").IRecord<any>[]>) | undefined; }, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { change: (pagination: Required<Pick<import("./src/table/types").IPaginationConfig, "current" | "pageSize">>, filters: import("./src/table/types").IFilter, sorter: import("./src/table/types").ISorter, superFilters: import("./src/table/types").ISuperFilter[], extra: { currentDataSource: import("./src/table/types").IRecord<any>[]; }) => boolean; dataChange: (tableData: import("./src/table/types").IRecord<any>[]) => boolean; dataLoad: (tableData: import("./src/table/types").IRecord<any>[]) => boolean; rowClick: (row: import("./src/table/types").IRecord<any>, column: import("./src/table/types").IColumn, event: MouseEvent) => boolean; rowDblclick: (row: import("./src/table/types").IRecord<any>, column: import("./src/table/types").IColumn, event: MouseEvent) => boolean; rowContextmenu: (row: import("./src/table/types").IRecord<any>, column: import("./src/table/types").IColumn, event: MouseEvent) => boolean; rowEnter: (row: import("./src/table/types").IRecord<any>, event: KeyboardEvent) => boolean; scrollEnd: (event: Event) => boolean; fetchError: (error: any) => boolean; }, string, import("vue").PublicProps, Readonly<{ ellipsis: boolean; border: boolean; columns: import("./src/table/types").IColumn[]; showHeader: boolean; showFullScreen: boolean; rowKey: string | number | ((row: import("./src/table/types").IRecord<any>, index: number) => string | number); mergedCells: import("./src/table/types").IMergedCell[]; dataSource: import("./src/table/types").IRecord<any>[]; stripe: boolean; resizable: boolean; dynamicThead: boolean; nativeScrollBar: boolean; rowDraggable: boolean; multipleSort: boolean; ignorePageIndex: boolean; scrollPagination: boolean; webPagination: boolean; topSpaceAlign: import("./src/table/types").IAlign; showRefresh: boolean; showTableImport: boolean; showClipboard: boolean; showSelectCollection: boolean; showSuperSearch: boolean; showFastSearch: boolean; showGroupSummary: boolean; showToolBox: boolean; showColumnDefine: boolean; showTableInfo: boolean; onlyShowIcon: boolean; size?: import("../_utils/types").ComponentSize | undefined; authConfig?: import("./src/table/types").IAuthConfig | undefined; loading?: boolean | undefined; height?: string | number | undefined; class?: string | import("../_utils/types").Arrayable<Record<string, boolean>> | undefined; style?: import("vue").StyleValue; maxHeight?: string | number | undefined; minHeight?: string | number | undefined; uniqueKey?: string | undefined; summation?: import("./src/table/types").ISummation | undefined; columnsChange?: ((items: import("./src/table/types").IColumn[]) => void) | undefined; rowHeight?: number | undefined; fetch?: import("./src/table/types").IFetch | undefined; rowStyle?: import("vue").CSSProperties | ((row: import("./src/table/types").IRecord<any>, rowIndex: number) => import("vue").CSSProperties) | undefined; cellStyle?: import("vue").CSSProperties | ((row: import("./src/table/types").IRecord<any>, column: import("./src/table/types").IColumn, rowIndex: number, columnIndex: number) => import("vue").CSSProperties) | undefined; spanMethod?: ((options: { row: import("./src/table/types").IRecord<any>; column: import("./src/table/types").IColumn; rowIndex: number; columnIndex: number; tableData: import("./src/table/types").IRecord<any>[]; }) => import("./src/table/types").IRowColSpan | [number, number]) | undefined; initialSorter?: import("./src/table/types").ISorter | undefined; initialFilter?: import("./src/table/types").IFilter | undefined; rowSelection?: import("./src/table/types").IRowSelection | undefined; rowHighlight?: import("./src/table/types").IRowHighlight | undefined; tableConfig?: import("./src/table/types").ITableConfig | undefined; treeConfig?: import("./src/table/types").ITreeConfig | undefined; expandable?: import("./src/table/types").IExpandable | undefined; areaSelection?: import("./src/table/types").IAreaSelection | undefined; footRender?: ((flattenColumns: import("./src/table/types").IColumn[], tableData: import("./src/table/types").IRecord<any>[]) => import("../_utils/types").JSXElement) | undefined; paginationConfig?: import("./src/table/types").IPaginationConfig | undefined; exportExcel?: import("./src/table/types").IExportExcel | undefined; tablePrint?: import("./src/table/types").ITablePrint | undefined; infoBarConfig?: import("./src/table/types").IAlertConfig | undefined; beforeClipboard?: ((records: string[][], columnKeys: string[]) => string[][] | Promise<string[][]>) | undefined; beforeTableImport?: ((records: import("./src/table/types").IRecord<any>[]) => import("./src/table/types").IRecord<any>[] | Promise<import("./src/table/types").IRecord<any>[]>) | undefined; }> & Readonly<{ onChange?: ((pagination: Required<Pick<import("./src/table/types").IPaginationConfig, "current" | "pageSize">>, filters: import("./src/table/types").IFilter, sorter: import("./src/table/types").ISorter, superFilters: import("./src/table/types").ISuperFilter[], extra: { currentDataSource: import("./src/table/types").IRecord<any>[]; }) => any) | undefined; onFetchError?: ((error: any) => any) | undefined; onDataLoad?: ((tableData: import("./src/table/types").IRecord<any>[]) => any) | undefined; onDataChange?: ((tableData: import("./src/table/types").IRecord<any>[]) => any) | undefined; onScrollEnd?: ((event: Event) => any) | undefined; onRowClick?: ((row: import("./src/table/types").IRecord<any>, column: import("./src/table/types").IColumn, event: MouseEvent) => any) | undefined; onRowDblclick?: ((row: import("./src/table/types").IRecord<any>, column: import("./src/table/types").IColumn, event: MouseEvent) => any) | undefined; onRowContextmenu?: ((row: import("./src/table/types").IRecord<any>, column: import("./src/table/types").IColumn, event: MouseEvent) => any) | undefined; onRowEnter?: ((row: import("./src/table/types").IRecord<any>, event: KeyboardEvent) => any) | undefined; }>, { loading: boolean; ellipsis: boolean; border: boolean; columns: import("./src/table/types").IColumn[]; showHeader: boolean; showFullScreen: boolean; rowKey: string | number | ((row: import("./src/table/types").IRecord<any>, index: number) => string | number); mergedCells: import("./src/table/types").IMergedCell[]; dataSource: import("./src/table/types").IRecord<any>[]; stripe: boolean; resizable: boolean; dynamicThead: boolean; nativeScrollBar: boolean; rowDraggable: boolean; multipleSort: boolean; ignorePageIndex: boolean; scrollPagination: boolean; webPagination: boolean; topSpaceAlign: import("./src/table/types").IAlign; showRefresh: boolean; showTableImport: boolean; showClipboard: boolean; showSelectCollection: boolean; showSuperSearch: boolean; showFastSearch: boolean; showGroupSummary: boolean; showToolBox: boolean; showColumnDefine: boolean; showTableInfo: boolean; onlyShowIcon: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>; export default Table; export type { TableInstance, TableProps, TableColumnProps as TableColumn } from './src/table/props';