UNPKG

@fe6/water-pro

Version:

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

15 lines (14 loc) 516 B
/** @format */ import type { Ref, ComputedRef } from 'vue'; import type { FormSchema, FormProps } from '../types/form'; interface UseFormValuesContext { defaultValueRef: Ref<any>; getSchema: ComputedRef<FormSchema[]>; formModel: Recordable; getProps: ComputedRef<FormProps>; } export declare function useFormValues({ defaultValueRef, getSchema, formModel, getProps, }: UseFormValuesContext): { handleFormValues: (values: Recordable) => Recordable<any>; initDefault: () => void; }; export {};