UNPKG

@kevinkosterr/vue3-form-generator

Version:

A schema-based form generator component for Vue 3, based on the original [`vue-form-generator`](https://github.com/vue-generators/vue-form-generator) library.

42 lines (41 loc) 2.23 kB
import { FieldProps, ObjectField } from '../../resources/types/field/fields'; import { ComputedRef } from 'vue'; declare const _default: import('vue').DefineComponent<FieldProps<ObjectField>, { hasErrors: ComputedRef<boolean>; isVisible: ComputedRef<boolean>; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FieldProps<ObjectField>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { formGenerator: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../resources/types/generic').FormGeneratorProps> & Readonly<{ onSubmit?: ((...args: any[]) => any) | undefined; "onField-validated"?: ((...args: any[]) => any) | undefined; }>, { hasErrors: ComputedRef<boolean>; formErrors: import('vue').Ref<Record<string, any>, Record<string, any>>; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { submit: (...args: any[]) => void; "field-validated": (...args: any[]) => void; }, import('vue').PublicProps, { id: string; options: import('../../resources/types/generic').FormOptions; idPrefix: string; enctype: "application/x-www-form-urlencoded" | "multipart/form-data" | "text/plain"; }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<import('../../resources/types/generic').FormGeneratorProps> & Readonly<{ onSubmit?: ((...args: any[]) => any) | undefined; "onField-validated"?: ((...args: any[]) => any) | undefined; }>, { hasErrors: ComputedRef<boolean>; formErrors: import('vue').Ref<Record<string, any>, Record<string, any>>; }, {}, {}, {}, { id: string; options: import('../../resources/types/generic').FormOptions; idPrefix: string; enctype: "application/x-www-form-urlencoded" | "multipart/form-data" | "text/plain"; }> | null; }, any>; export default _default;