tdesign-mobile-vue
Version:
tdesign-mobile-vue
38 lines (37 loc) • 967 B
TypeScript
import { TableRowData, BaseTableCol } from './type';
export declare type BaseTableColumns = BaseTableCol<TableRowData>[];
export interface ColumnStickyLeftAndRight {
left: number[];
right: number[];
top: number[];
bottom?: number[];
}
export interface TableColFixedClasses {
left: string;
right: string;
lastLeft: string;
firstRight: string;
leftShadow: string;
rightShadow: string;
}
export interface TableRowFixedClasses {
top: string;
bottom: string;
firstBottom: string;
withoutBorderBottom: string;
}
export interface FixedColumnInfo {
left?: number;
right?: number;
top?: number;
bottom?: number;
parent?: FixedColumnInfo;
children?: string[];
width?: number;
height?: number;
col?: BaseTableCol;
index?: number;
lastLeftFixedCol?: boolean;
firstRightFixedCol?: boolean;
}
export declare type RowAndColFixedPosition = Map<string | number, FixedColumnInfo>;