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.
17 lines
827 B
17 lines
827 B
|
3 years ago
|
import type { ComputedRef } from 'vue';
|
||
|
|
import type { TableColumnCtx } from './defaults';
|
||
|
|
declare function useRender<T>(props: TableColumnCtx<T>, slots: any, owner: ComputedRef<any>): {
|
||
|
|
columnId: import("vue").Ref<string>;
|
||
|
|
realAlign: import("vue").Ref<string | undefined>;
|
||
|
|
isSubColumn: import("vue").Ref<boolean>;
|
||
|
|
realHeaderAlign: import("vue").Ref<string | undefined>;
|
||
|
|
columnOrTableParent: ComputedRef<any>;
|
||
|
|
setColumnWidth: (column: TableColumnCtx<T>) => TableColumnCtx<T>;
|
||
|
|
setColumnForcedProps: (column: TableColumnCtx<T>) => TableColumnCtx<T>;
|
||
|
|
setColumnRenders: (column: TableColumnCtx<T>) => TableColumnCtx<T>;
|
||
|
|
getPropsData: (...propsKey: unknown[]) => unknown;
|
||
|
|
getColumnElIndex: (children: any, child: any) => number;
|
||
|
|
updateColumnOrder: () => void;
|
||
|
|
};
|
||
|
|
export default useRender;
|