UNPKG

ivue-material-plus

Version:

A high quality UI components Library with Vue.js

45 lines (44 loc) 1.5 kB
import type { Table, TableProps, RenderExpanded } from './defaults'; import type TableLayout from '../table-layout'; import type { Store } from '../store'; declare function useStyle(props: TableProps, layout: TableLayout, store: Store, table: Table): { dragging: import("vue").Ref<boolean>; renderExpanded: import("vue").Ref<RenderExpanded>; resizeState: import("vue").Ref<{ width: null | number; height: null | number; headerHeight: null | number; }>; tableWidth: import("vue").Ref<number>; isGroup: import("vue").Ref<boolean>; tableLayout: import("vue").ComputedRef<"auto" | "fixed">; contentStyles: import("vue").ComputedRef<{}>; tableStyles: import("vue").ComputedRef<{ width: string; }>; placeholderStyle: import("vue").ComputedRef<{ width: string; height: string; }>; tableBodyStyle: import("vue").ComputedRef<any>; scrollbarWrapperStyle: import("vue").ComputedRef<{ height: string; maxHeight?: undefined; } | { maxHeight: string; height?: undefined; } | { height?: undefined; maxHeight?: undefined; }>; scrollbarContentStyle: { display: string; verticalAlign: string; }; handleMouseLeave: () => void; handleMousewheel: (event: any, data: any) => void; handleDragVisible: (visible: boolean) => void; updateLayout: () => void; handleBindEvents: () => void; }; export default useStyle;