import { FormField, Fields } from './types'; interface ComponentOption { native?: boolean; type?: string; label?: string; } interface ComponentConfig { component: string; option: ComponentOption; } interface JsonEditorData { default: Record; fields: Fields; error: string | null; data: Record; } /** * Edit JSON in UI form with JSON Schema and Vue.js `` component. * * @author Yourtion * @license MIT */ declare const _default: import('../node_modules/vue/dist/vue.esm.js').DefineComponent<{ /** * The JSON Schema object. Use the `v-if` directive to load asynchronous schema. */ schema: { type: ObjectConstructor; required: true; }; /** * Use this directive to create two-way data bindings with the component. It automatically picks the correct way to update the element based on the input type. * @model * @default {} */ value: { type: ObjectConstructor; default: () => {}; }; /** * This property indicates whether the value of the control can be automatically completed by the browser. Possible values are: `off` and `on`. */ autoComplete: { type: StringConstructor; }; /** * This Boolean attribute indicates that the form is not to be validated when submitted. */ noValidate: { type: BooleanConstructor; }; /** * Define the inputs wrapping class. Leave `undefined` to disable input wrapping. */ inputWrappingClass: { type: StringConstructor; }; }, {}, JsonEditorData, {}, { /** * @private */ optionValue(field: FormField, target: unknown, item?: Record): unknown; /** * @private */ elementOptions(element: ComponentConfig, extendingOptions?: Record, field?: FormField, item?: Record): Record>; /** * @private */ changed(e: Event): void; /** * Get a form input reference */ input(name: string): HTMLElement; /** * Get the form reference */ form(): HTMLFormElement; /** * Checks whether the form has any constraints and whether it satisfies them. If the form fails its constraints, the browser fires a cancelable `invalid` event at the element, and then returns false. */ checkValidity(): boolean; /** * @private */ invalid(e: Event): void; /** * Reset the value of all elements of the parent form. */ reset(): void; /** * Send the content of the form to the server */ submit(event: Event): void; /** * Set a message error. */ setErrorMessage(message: string): void; /** * clear the message error. */ clearErrorMessage(): void; }, import('../node_modules/vue/dist/vue.esm.js').ComponentOptionsMixin, import('../node_modules/vue/dist/vue.esm.js').ComponentOptionsMixin, {}, string, Readonly {}; }; /** * This property indicates whether the value of the control can be automatically completed by the browser. Possible values are: `off` and `on`. */ autoComplete: { type: StringConstructor; }; /** * This Boolean attribute indicates that the form is not to be validated when submitted. */ noValidate: { type: BooleanConstructor; }; /** * Define the inputs wrapping class. Leave `undefined` to disable input wrapping. */ inputWrappingClass: { type: StringConstructor; }; }>>, { value: Record; noValidate: boolean; }>; export default _default; //# sourceMappingURL=JsonEditor.vue.d.ts.map