基于vue3.0和element-plus的组件库
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.
 
 
 
 

42 lines
945 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 { usePretextRowHeights, type RowHeightEntry } from "./usePretextRowHeights";
export {
useVirtualRows,
buildOffsets,
type VirtualRow,
type VirtualRange,
} from "./useVirtualRows";
export {
useRuntimeHeightAugment,
type HeightSample,
type ColumnHeightStats,
} from "./useRuntimeHeightAugment";