UNPKG

vue-admin-core

Version:
19 lines (18 loc) 710 B
import { ElSelect, ElTable, SelectOptionProxy, TableProps } from "element-plus"; import type { Ref } from "vue"; import { CacheOption } from "./cache-options"; export declare const useTable: (props: any, { attrs, emit }: { attrs: any; emit: any; }, { key, table }: { select: Ref<InstanceType<typeof ElSelect> | undefined>; table: Ref<InstanceType<typeof ElTable> | undefined>; key: Ref<string>; currentPage: Ref<number>; }) => { tableProps: TableProps<any>; setOptionProxy: (key: string | number, vm: SelectOptionProxy) => void; cacheOptions: import("vue").ComputedRef<CacheOption[]>; cacheOptionsMap: import("vue").ComputedRef<{}>; filter: (query: any) => void; };