feat(components): Column settings support fixed columns.

This commit is contained in:
xlsea
2025-12-31 11:58:10 +08:00
committed by Soybean
parent 232e1ac40d
commit 706586439d
7 changed files with 67 additions and 12 deletions

View File

@@ -7,6 +7,7 @@ declare namespace NaiveUI {
type DataTableSelectionColumn<T> = import('naive-ui').DataTableSelectionColumn<T>;
type TableColumnGroup<T> = import('naive-ui/es/data-table/src/interface').TableColumnGroup<T>;
type TableColumnCheck = import('@sa/hooks').TableColumnCheck;
type TableColumnFixed = import('@sa/hooks').TableColumnCheck['fixed'];
type SetTableColumnKey<C, T> = Omit<C, 'key'> & { key: keyof T | (string & {}) };