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.
39 lines
1.0 KiB
39 lines
1.0 KiB
/** |
|
* list-table-v2 - Virtualized table with pretext text measurement |
|
* |
|
* Hooks and utilities for the list-table-v2 component. |
|
*/ |
|
|
|
import ListTableV2 from "./list-table-v2.vue"; |
|
import NoData from "./no-data.vue"; |
|
|
|
export { ListTableV2, NoData }; |
|
export default ListTableV2; |
|
|
|
// 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";
|
|
|