UNPKG

lc-vue-pro-table

Version:

vue3高级表格

16 lines (15 loc) 674 B
import { Ref } from 'vue'; import { SelectionRows, SelectionType, TableConfig } from './types'; export declare const useReserveSelection: ({ selectionRows, selectionType, tableConfig, isSameRow }: { selectionRows: Ref<SelectionRows>; selectionType: Ref<SelectionType>; tableConfig: Ref<TableConfig>; isSameRow: (a: any, b: any) => boolean; }) => { checked: import("vue").ComputedRef<boolean>; indeterminate: import("vue").ComputedRef<boolean>; rowCheckedStatusList: import("vue").ComputedRef<boolean[]>; setType: (type: SelectionType) => void; toggleAllSelection: () => void; toggleRowSelection: (row: any, selected: any) => void; };