1ddfff63a478f80634384071e4494abd6908b3f268099023b4e26f552b80624d01df59f08c9522234e733756880109f27a89c076e3ca551d86181d3b58a086 949 B

1234567891011121314151617
  1. import type { TableBodyProps } from './defaults';
  2. import type { TableOverflowTooltipOptions } from '../util';
  3. import type { DefaultRow } from '../table/defaults';
  4. declare function useEvents<T extends DefaultRow>(props: Partial<TableBodyProps<T>>): {
  5. handleDoubleClick: (event: Event, row: T) => void;
  6. handleClick: (event: Event, row: T) => void;
  7. handleContextMenu: (event: Event, row: T) => void;
  8. handleMouseEnter: import("lodash").DebouncedFunc<(index: number) => void>;
  9. handleMouseLeave: import("lodash").DebouncedFunc<() => void>;
  10. handleCellMouseEnter: (event: MouseEvent, row: T, tooltipOptions: TableOverflowTooltipOptions) => void;
  11. handleCellMouseLeave: (event: MouseEvent) => void;
  12. tooltipContent: import("vue").Ref<string>;
  13. tooltipTrigger: import("vue").Ref<import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
  14. [key: string]: any;
  15. }>>;
  16. };
  17. export default useEvents;