forked from mengyxu/noob-components
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
926 B
33 lines
926 B
/** |
|
* list-table-v2 - Virtualized table with pretext text measurement |
|
* |
|
* Hooks and utilities for the list-table-v2 component. |
|
*/ |
|
|
|
// Types |
|
export type { |
|
ListTableColumn, |
|
ListTableProps, |
|
ListTableEmits, |
|
PageResponse, |
|
TzDateTimeConfig, |
|
TimestampValue, |
|
CellRendererResult, |
|
SizeHintedVNode, |
|
} from "./types"; |
|
|
|
// Text measurement |
|
export { |
|
measureText, |
|
measureShrinkWrapWidth, |
|
measureTextHeight, |
|
clearPreparedCache, |
|
getPreparedCacheStats, |
|
type TextMeasurement, |
|
} from "./measureText"; |
|
|
|
// Hooks |
|
export { usePretextColumnWidths, computeFlexWidths, type ColumnFlexConfig } from "./usePretextColumnWidths"; |
|
export { resolveRowHeights, type RowHeightEntry } from "./usePretextRowHeights"; |
|
export { useVirtualRows, buildOffsets, type VirtualRow, type VirtualRange } from "./useVirtualRows"; |
|
export { useRuntimeHeightAugment, type HeightSample, type ColumnHeightStats } from "./useRuntimeHeightAugment";
|
|
|