This commit is contained in:
2026-05-25 17:08:18 +08:00
parent df501f6151
commit f1259b71b5
9178 changed files with 1626125 additions and 0 deletions
@@ -0,0 +1,21 @@
import type { FixedType, StickyOffsets } from '../interface';
export interface FixedInfo {
fixStart: number | false;
fixEnd: number | false;
isSticky: boolean;
/** `fixed: start` with shadow */
fixedStartShadow?: boolean;
/** `fixed: end` with shadow */
fixedEndShadow?: boolean;
/** Show the shadow when `scrollLeft` arrive for `fixed: start` */
offsetFixedStartShadow?: number;
/** Show the shadow when `scrollLeft` arrive for `fixed: end` */
offsetFixedEndShadow?: number;
/** First sticky column `zIndex` will be larger than next */
zIndex?: number;
/** First sticky column `zIndex` will be smaller than next */
zIndexReverse?: number;
}
export declare function getCellFixedInfo(colStart: number, colEnd: number, columns: readonly {
fixed?: FixedType;
}[], stickyOffsets: StickyOffsets): FixedInfo;