UNPKG

@fe6/water-pro

Version:

An enterprise-class UI design language and Vue-based implementation

11 lines (10 loc) 522 B
/** @format */ import type { ComputedRef, Slots } from 'vue'; import type { TableProProps, FetchParams } from '../types/table'; import type { FormProps } from '../../../form-pro'; export declare function useTableForm(propsRef: ComputedRef<TableProProps>, slots: Slots, fetch: (opt?: FetchParams | undefined) => any): { getFormProps: ComputedRef<Partial<FormProps>>; replaceFormSlotKey: (key: string) => string; getFormSlotKeys: ComputedRef<string[]>; handleSearchInfoChange: (info: Recordable) => void; };