/** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ import { type CSSProperties } from 'vue'; import { type TableColumn, type SortOrder, type TablePaginationConfig } from './table'; declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_20: any, __VLS_21: { column: any; columnIndex: any; }, __VLS_36: any, __VLS_37: { column: any; columnIndex: any; }, __VLS_47: {}, __VLS_54: any, __VLS_55: { row: any; column: any; rowIndex: any; cellValue: any; }, __VLS_65: { row: any; rowIndex: any; }, __VLS_71: {}, __VLS_74: any, __VLS_75: { column: any; columnIndex: any; data: any; }, __VLS_77: {}, __VLS_88: {}; type __VLS_Slots = {} & { [K in NonNullable]?: (props: typeof __VLS_21) => any; } & { [K in NonNullable]?: (props: typeof __VLS_37) => any; } & { [K in NonNullable]?: (props: typeof __VLS_55) => any; } & { [K in NonNullable]?: (props: typeof __VLS_75) => any; } & { toolbar?: (props: typeof __VLS_1) => any; } & { 'toolbar-left-prefix'?: (props: typeof __VLS_3) => any; } & { 'toolbar-left'?: (props: typeof __VLS_5) => any; } & { 'toolbar-left-suffix'?: (props: typeof __VLS_7) => any; } & { 'toolbar-right-prefix'?: (props: typeof __VLS_9) => any; } & { 'toolbar-right'?: (props: typeof __VLS_11) => any; } & { 'toolbar-right-suffix'?: (props: typeof __VLS_13) => any; } & { empty?: (props: typeof __VLS_47) => any; } & { expand?: (props: typeof __VLS_65) => any; } & { summary?: (props: typeof __VLS_71) => any; } & { loading?: (props: typeof __VLS_77) => any; } & { default?: (props: typeof __VLS_88) => any; }; declare const __VLS_component: import("vue").DefineComponent[]>; readonly default: () => never[]; }; readonly columns: { readonly type: import("vue").PropType; readonly default: () => never[]; }; readonly rowKey: { readonly type: import("vue").PropType; readonly default: "id"; }; readonly size: { readonly type: import("vue").PropType; readonly default: "default"; }; readonly height: { readonly type: import("vue").PropType; }; readonly maxHeight: { readonly type: import("vue").PropType; }; readonly width: { readonly type: import("vue").PropType; }; readonly border: { readonly type: import("vue").PropType; readonly default: false; }; readonly stripe: { readonly type: BooleanConstructor; readonly default: false; }; readonly highlightCurrentRow: { readonly type: BooleanConstructor; readonly default: false; }; readonly currentRowKey: { readonly type: import("vue").PropType; }; readonly showHeader: { readonly type: BooleanConstructor; readonly default: true; }; readonly emptyText: { readonly type: StringConstructor; readonly default: ""; }; readonly fit: { readonly type: BooleanConstructor; readonly default: true; }; readonly sortConfig: { readonly type: import("vue").PropType; }; readonly filterConfig: { readonly type: import("vue").PropType; }; readonly pagination: { readonly type: import("vue").PropType; readonly default: false; }; readonly selectionConfig: { readonly type: import("vue").PropType; }; readonly expandConfig: { readonly type: import("vue").PropType; }; readonly treeConfig: { readonly type: import("vue").PropType; }; readonly virtualConfig: { readonly type: import("vue").PropType; }; readonly dragConfig: { readonly type: import("vue").PropType; }; readonly summaryConfig: { readonly type: import("vue").PropType; }; readonly toolbarConfig: { readonly type: import("vue").PropType; }; readonly emptyConfig: { readonly type: import("vue").PropType; }; readonly loading: { readonly type: import("vue").PropType; readonly default: false; }; readonly rowConfig: { readonly type: import("vue").PropType; }; readonly headerConfig: { readonly type: import("vue").PropType; }; readonly contextMenuConfig: { readonly type: import("vue").PropType; }; readonly tableLayout: { readonly type: import("vue").PropType<"auto" | "fixed">; readonly default: "fixed"; }; readonly tooltipEffect: { readonly type: import("vue").PropType<"dark" | "light">; readonly default: "dark"; }; readonly spanMethod: { readonly type: import("vue").PropType<(params: { row: Record; column: TableColumn; rowIndex: number; columnIndex: number; }) => { rowspan: number; colspan: number; } | [number, number] | void>; }; readonly rowClassName: { readonly type: import("vue").PropType; rowIndex: number; }) => string)>; }; readonly rowStyle: { readonly type: import("vue").PropType; rowIndex: number; }) => CSSProperties)>; }; readonly cellClassName: { readonly type: import("vue").PropType; column: TableColumn; rowIndex: number; columnIndex: number; }) => string)>; }; readonly cellStyle: { readonly type: import("vue").PropType; column: TableColumn; rowIndex: number; columnIndex: number; }) => CSSProperties)>; }; readonly headerRowClassName: { readonly type: import("vue").PropType string)>; }; readonly headerRowStyle: { readonly type: import("vue").PropType CSSProperties)>; }; readonly headerCellClassName: { readonly type: import("vue").PropType string)>; }; readonly headerCellStyle: { readonly type: import("vue").PropType CSSProperties)>; }; readonly lazy: { readonly type: BooleanConstructor; readonly default: false; }; readonly loadMethod: { readonly type: import("vue").PropType<(row: Record) => Promise[]>>; }; readonly resizable: { readonly type: BooleanConstructor; readonly default: false; }; readonly showIndex: { readonly type: BooleanConstructor; readonly default: false; }; readonly indexConfig: { readonly type: import("vue").PropType<{ label /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: string; width /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: number | string; fixed /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: import("./table").FixedPosition; method /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: (rowIndex: number) => number | string; }>; }; readonly autoHeight: { readonly type: BooleanConstructor; readonly default: false; }; readonly keepScroll: { readonly type: BooleanConstructor; readonly default: false; }; readonly syncScroll: { readonly type: BooleanConstructor; readonly default: true; }; readonly scrollOptimize: { readonly type: BooleanConstructor; readonly default: true; }; readonly themeOverrides: { readonly type: import("vue").PropType; readonly default: undefined; }; }>, { getSelectionRows: () => Record[]; getSelectionRowKeys: () => Array; toggleRowSelection: (row: Record, selected /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: boolean) => void; toggleAllSelection: () => void; clearSelection: () => void; setCurrentRow: (row: Record | null) => void; toggleRowExpansion: (row: Record, expanded /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: boolean) => void; setExpandedRowKeys: (keys: Array) => void; getExpandedRowKeys: () => Array; sort: (prop: string, order: SortOrder) => void; clearSort: () => void; filter: (prop: string, values: unknown[]) => void; clearFilter: (props /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: string | string[]) => void; doLayout: () => void; refresh: () => void; scrollTo: (options: { left /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: number; top /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: number; row /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: Record; rowIndex /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: number; column /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: TableColumn; columnIndex /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: number; }) => void; getTableData: () => { fullData: Record[]; tableData: Record[]; }; exportData: (config /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: Record) => Promise; print: (config /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: Record) => Promise; openImport: (config /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: Record) => Promise[]>; importFile: (file: File, config /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: Record) => Promise[]>; importData: (content: string | Record[], config /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: Record) => Promise[]>; printMultiple: (tables: Array<{ title /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: string; data: Record[]; columns /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: TableColumn[]; config /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: Record; }>, config /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: Record) => Promise; printTemplate: (templateHtml: string, config /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: Record) => Promise; toggleFullscreen: () => void; getColumns: () => TableColumn[]; setColumnVisible: (prop: string, visible: boolean) => void; resetColumns: () => void; insertRow: (row: Record, index /** * YhTable - 高性能表格组件 * 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长 * 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能 */ ?: number) => void; removeRow: (row: Record | Record[]) => void; updateRow: (row: Record, newRow: Record) => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, { readonly size: import("./table").TableSize; readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars; readonly data: Record[]; readonly loading: boolean | import("./table").TableLoadingConfig; readonly tableLayout: "fixed" | "auto"; readonly border: boolean | "none" | "full" | "inner" | "outer"; readonly columns: TableColumn>[]; readonly lazy: boolean; readonly fit: boolean; readonly resizable: boolean; readonly showHeader: boolean; readonly pagination: boolean | TablePaginationConfig; readonly emptyText: string; readonly rowKey: import("./table").RowKey; readonly stripe: boolean; readonly highlightCurrentRow: boolean; readonly tooltipEffect: "dark" | "light"; readonly showIndex: boolean; readonly autoHeight: boolean; readonly keepScroll: boolean; readonly syncScroll: boolean; readonly scrollOptimize: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; declare const _default: __VLS_WithSlots; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };