UNPKG

@jsonforms/vue-vuetify

Version:

Vue Vuetify renderers for JSON Forms

918 lines (916 loc) 69.3 kB
import { ControlElement, JsonSchema, JsonFormsRendererRegistryEntry, JsonFormsCellRendererRegistryEntry, RankedTester, DispatchPropsOfControl } from '@jsonforms/core'; import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, StyleValue, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, VNode, ComponentPublicInstance, ComponentOptionsBase, SlotsType, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, CSSProperties, PropType, ExtractPropTypes } from 'vue'; import { Styles } from '..'; import { AppliedOptions, ControlWrapperType, ControlWrapperProps } from '../util'; import { ValidationResult, ValidationProps } from 'vuetify/lib/composables/validation.mjs'; import { deepEqual } from 'vuetify/lib/util/index.mjs'; import { Density } from 'vuetify/lib/composables/density.mjs'; import { IconValue } from 'vuetify/lib/composables/icons.mjs'; import { VInputSlot, VInputSlots } from 'vuetify/lib/components/VInput/VInput.mjs'; import { VMessageSlot } from 'vuetify/lib/components/VMessages/VMessages.mjs'; import { OnCleanup } from '@vue/reactivity'; import { GenericProps, FilterPropsOptions } from 'vuetify/lib/util/defineComponent.mjs'; import { SelectionControlSlot } from 'vuetify/lib/components/VSelectionControl/VSelectionControl.mjs'; import { LoaderSlotProps } from 'vuetify/lib/composables/loader.mjs'; import { VSwitchSlot, VSwitchSlots } from 'vuetify/lib/components/VSwitch/VSwitch.mjs'; import { deepEqual } from 'vuetify/lib/util/helpers.mjs'; import { ClassValue } from 'vuetify/lib/composables/component.mjs'; import { RippleDirectiveBinding } from 'vuetify/directives/ripple'; import { ValidationRule } from 'vuetify/lib/types.mjs'; import { ValidationAlias } from 'vuetify/labs/rules'; declare const controlRenderer: DefineComponent<{ schema: JsonSchema; uischema: ControlElement; path: string; enabled?: boolean | undefined; renderers?: JsonFormsRendererRegistryEntry[] | undefined; cells?: JsonFormsCellRendererRegistryEntry[] | undefined; config?: any; }, { control: ComputedRef<{ uischema: ControlElement; schema: NonNullable< JsonSchema>; path: string; enabled: boolean; renderers: JsonFormsRendererRegistryEntry[]; cells: JsonFormsCellRendererRegistryEntry[] & { tester: RankedTester; cell: any; }[]; config: any; label: string; description: string; required: NonNullable<boolean | undefined>; i18nKeyPrefix: string; errors: string; data: any; rootSchema: NonNullable< JsonSchema>; id: string; visible: boolean; }>; } & DispatchPropsOfControl & { control: ComputedRef<{ uischema: ControlElement; path: string; config: any; label: string; description: string; required: boolean; errors: string; id: string; visible: boolean; enabled: boolean; } & { errors: string; }>; styles: Styles; isFocused: Ref<boolean, boolean>; appliedOptions: ComputedRef<any>; controlWrapper: ComputedRef<{ id: string; description: string; errors: string; label: string; visible: boolean; required: boolean; }>; onChange: (value: any) => void; vuetifyProps: (path: string) => any; persistentHint: () => boolean; computedLabel: ComputedRef<string>; clearable: ComputedRef<any>; touched: Ref<boolean, boolean>; handleBlur: () => void; handleFocus: () => void; rawErrors: ComputedRef<string>; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{ schema: JsonSchema; uischema: ControlElement; path: string; enabled?: boolean | undefined; renderers?: JsonFormsRendererRegistryEntry[] | undefined; cells?: JsonFormsCellRendererRegistryEntry[] | undefined; config?: any; }> & Readonly<{}>, { enabled: boolean; renderers: JsonFormsRendererRegistryEntry[]; cells: JsonFormsCellRendererRegistryEntry[]; config: Record<string, any>; }, {}, { ControlWrapper: DefineComponent<{ id?: string | undefined; description?: string | undefined; errors?: string | undefined; label?: string | undefined; visible?: boolean | undefined; required?: boolean | undefined; isFocused?: boolean | undefined; styles?: Styles | undefined; appliedOptions?: AppliedOptions | undefined; }, { WrapperComponent: ControlWrapperType; props: ControlWrapperProps; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{ id?: string | undefined; description?: string | undefined; errors?: string | undefined; label?: string | undefined; visible?: boolean | undefined; required?: boolean | undefined; isFocused?: boolean | undefined; styles?: Styles | undefined; appliedOptions?: AppliedOptions | undefined; }> & Readonly<{}>, { visible: boolean; required: boolean; isFocused: boolean; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>; VSwitch: { new (...args: any[]): CreateComponentPublicInstanceWithMixins<{ flat: boolean; inline: boolean; error: boolean; direction: "horizontal" | "vertical"; inset: boolean; loading: string | boolean; style: StyleValue; disabled: boolean | null; multiple: boolean | null; readonly: boolean | null; indeterminate: boolean; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; valueComparator: deepEqual; density: Density; ripple: boolean | { class?: string; keys?: number[]; } | undefined; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; } & { name?: string | undefined; type?: string | undefined; id?: string | undefined; width?: string | number | undefined; color?: string | undefined; maxWidth?: string | number | undefined; minWidth?: string | number | undefined; value?: any; label?: string | undefined; class?: any; theme?: string | undefined; "onUpdate:focused"?: ((args_0: boolean) => void) | undefined; validateOn?: ("eager" | "lazy" | ("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input") | undefined; validationValue?: any; baseColor?: string | undefined; prependIcon?: IconValue | undefined; appendIcon?: IconValue | undefined; iconColor?: string | boolean | undefined; defaultsTarget?: string | undefined; falseIcon?: IconValue | undefined; trueIcon?: IconValue | undefined; trueValue?: any; falseValue?: any; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined; hint?: string | undefined; hideDetails?: boolean | "auto" | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; "onUpdate:indeterminate"?: ((value: boolean) => any) | undefined; }, Omit<Omit<{ $: ComponentInternalInstance; $data: {}; $props: Partial<{ error: boolean; direction: "horizontal" | "vertical"; style: StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; density: Density; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; }> & Omit<{ error: boolean; direction: "horizontal" | "vertical"; style: StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; density: Density; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; name?: string | undefined; id?: string | undefined; width?: string | number | undefined; color?: string | undefined; maxWidth?: string | number | undefined; minWidth?: string | number | undefined; label?: string | undefined; class?: any; theme?: string | undefined; "onUpdate:focused"?: ((args_0: boolean) => void) | undefined; validateOn?: ("eager" | "lazy" | ("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input") | undefined; validationValue?: any; baseColor?: string | undefined; prependIcon?: IconValue | undefined; appendIcon?: IconValue | undefined; iconColor?: string | boolean | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined; hint?: string | undefined; hideDetails?: boolean | "auto" | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "error" | "direction" | "style" | "disabled" | "readonly" | "messages" | "rules" | "focused" | "errorMessages" | "maxErrors" | "density" | "centerAffix" | "glow" | "hideSpinButtons" | "persistentHint">; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{ default?: ((arg: VInputSlot) => VNode[]) | undefined; prepend?: ((arg: VInputSlot) => VNode[]) | undefined; append?: ((arg: VInputSlot) => VNode[]) | undefined; details?: ((arg: VInputSlot) => VNode[]) | undefined; message?: ((arg: VMessageSlot) => VNode[]) | undefined; }>; $root: ComponentPublicInstance | null; $parent: ComponentPublicInstance | null; $host: Element | null; $emit: (event: string, ...args: any[]) => void; $el: any; $options: ComponentOptionsBase<{ error: boolean; direction: "horizontal" | "vertical"; style: StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; density: Density; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; } & { name?: string | undefined; id?: string | undefined; width?: string | number | undefined; color?: string | undefined; maxWidth?: string | number | undefined; minWidth?: string | number | undefined; label?: string | undefined; class?: any; theme?: string | undefined; "onUpdate:focused"?: ((args_0: boolean) => void) | undefined; validateOn?: ("eager" | "lazy" | ("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input") | undefined; validationValue?: any; baseColor?: string | undefined; prependIcon?: IconValue | undefined; appendIcon?: IconValue | undefined; iconColor?: string | boolean | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined; hint?: string | undefined; hideDetails?: boolean | "auto" | undefined; } & {}, { reset: () => Promise<void>; resetValidation: () => Promise<void>; validate: (silent?: boolean) => Promise<string[]>; isValid: ComputedRef<boolean | null>; errorMessages: ComputedRef<string[]>; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Omit<{ "update:modelValue": (value: any) => true; }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue" | "v-slot:prepend" | "v-slot:append" | "v-slot:message" | "v-slot:details">, string, { error: boolean; direction: "horizontal" | "vertical"; style: StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; density: Density; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; }, {}, string, SlotsType<Partial<{ default: (arg: VInputSlot) => VNode[]; prepend: (arg: VInputSlot) => VNode[]; append: (arg: VInputSlot) => VNode[]; details: (arg: VInputSlot) => VNode[]; message: (arg: VMessageSlot) => VNode[]; }>>, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]; renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: nextTick; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle; } & Readonly<{ error: boolean; direction: "horizontal" | "vertical"; style: StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; density: Density; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; }> & Omit<{ error: boolean; direction: "horizontal" | "vertical"; style: StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; density: Density; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; } & { name?: string | undefined; id?: string | undefined; width?: string | number | undefined; color?: string | undefined; maxWidth?: string | number | undefined; minWidth?: string | number | undefined; label?: string | undefined; class?: any; theme?: string | undefined; "onUpdate:focused"?: ((args_0: boolean) => void) | undefined; validateOn?: ("eager" | "lazy" | ("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input") | undefined; validationValue?: any; baseColor?: string | undefined; prependIcon?: IconValue | undefined; appendIcon?: IconValue | undefined; iconColor?: string | boolean | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined; hint?: string | undefined; hideDetails?: boolean | "auto" | undefined; } & {}, "reset" | "isValid" | "validate" | "resetValidation" | ("error" | "direction" | "style" | "disabled" | "readonly" | "messages" | "rules" | "focused" | "errorMessages" | "maxErrors" | "density" | "centerAffix" | "glow" | "hideSpinButtons" | "persistentHint")> & ShallowUnwrapRef<{ reset: () => Promise<void>; resetValidation: () => Promise<void>; validate: (silent?: boolean) => Promise<string[]>; isValid: ComputedRef<boolean | null>; errorMessages: ComputedRef<string[]>; }> & {} & ComponentCustomProperties & {} & GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; }, VInputSlots>, "name" | "id" | "width" | "color" | "maxWidth" | "minWidth" | "label" | "class" | "theme" | "$children" | "v-slots" | "v-slot:default" | keyof VNodeProps | "onUpdate:focused" | "modelValue" | "validateOn" | "validationValue" | "onUpdate:modelValue" | "baseColor" | "prependIcon" | "appendIcon" | "v-slot:prepend" | "v-slot:append" | "iconColor" | "onClick:append" | "onClick:prepend" | "v-slot:message" | "hint" | "hideDetails" | "v-slot:details" | ("error" | "direction" | "style" | "disabled" | "readonly" | "messages" | "rules" | "focused" | "errorMessages" | "maxErrors" | "density" | "centerAffix" | "glow" | "hideSpinButtons" | "persistentHint")>, `$${any}`> & { _allExposed: { reset: () => Promise<void>; resetValidation: () => Promise<void>; validate: (silent?: boolean) => Promise<string[]>; isValid: ComputedRef<boolean | null>; errorMessages: ComputedRef<string[]>; } | {}; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Omit<{ "update:focused": (focused: boolean) => true; "update:modelValue": (value: any) => true; "update:indeterminate": (value: boolean) => true; }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue" | "v-slot:prepend" | "v-slot:append" | "v-slot:loader" | "v-slot:input" | "v-slot:label" | "v-slot:message" | "v-slot:details" | "v-slot:thumb" | "v-slot:track-false" | "v-slot:track-true">, VNodeProps & AllowedComponentProps & ComponentCustomProps, { flat: boolean; inline: boolean; error: boolean; direction: "horizontal" | "vertical"; inset: boolean; loading: string | boolean; style: StyleValue; disabled: boolean | null; multiple: boolean | null; readonly: boolean | null; indeterminate: boolean; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; valueComparator: deepEqual; density: Density; ripple: boolean | { class?: string; keys?: number[]; } | undefined; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; }, true, {}, SlotsType<Partial<{ default: (arg: VInputSlot & { backgroundColorClasses: Ref<string[]>; backgroundColorStyles: Ref<CSSProperties>; }) => VNode[]; prepend: (arg: VInputSlot) => VNode[]; append: (arg: VInputSlot) => VNode[]; details: (arg: VInputSlot) => VNode[]; message: (arg: VMessageSlot) => VNode[]; label: (arg: { label: string | undefined; props: Record<string, unknown>; }) => VNode[]; input: (arg: SelectionControlSlot) => VNode[]; loader: (arg: LoaderSlotProps) => VNode[]; thumb: (arg: { icon: IconValue | undefined; } & VSwitchSlot) => VNode[]; "track-false": (arg: VSwitchSlot) => VNode[]; "track-true": (arg: VSwitchSlot) => VNode[]; }>>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, { flat: boolean; inline: boolean; error: boolean; direction: "horizontal" | "vertical"; inset: boolean; loading: string | boolean; style: StyleValue; disabled: boolean | null; multiple: boolean | null; readonly: boolean | null; indeterminate: boolean; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; valueComparator: deepEqual; density: Density; ripple: boolean | { class?: string; keys?: number[]; } | undefined; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; } & { name?: string | undefined; type?: string | undefined; id?: string | undefined; width?: string | number | undefined; color?: string | undefined; maxWidth?: string | number | undefined; minWidth?: string | number | undefined; value?: any; label?: string | undefined; class?: any; theme?: string | undefined; "onUpdate:focused"?: ((args_0: boolean) => void) | undefined; validateOn?: ("eager" | "lazy" | ("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input") | undefined; validationValue?: any; baseColor?: string | undefined; prependIcon?: IconValue | undefined; appendIcon?: IconValue | undefined; iconColor?: string | boolean | undefined; defaultsTarget?: string | undefined; falseIcon?: IconValue | undefined; trueIcon?: IconValue | undefined; trueValue?: any; falseValue?: any; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined; hint?: string | undefined; hideDetails?: boolean | "auto" | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; "onUpdate:indeterminate"?: ((value: boolean) => any) | undefined; }, Omit<Omit<{ $: ComponentInternalInstance; $data: {}; $props: Partial<{ error: boolean; direction: "horizontal" | "vertical"; style: StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; density: Density; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; }> & Omit<{ error: boolean; direction: "horizontal" | "vertical"; style: StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; density: Density; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; name?: string | undefined; id?: string | undefined; width?: string | number | undefined; color?: string | undefined; maxWidth?: string | number | undefined; minWidth?: string | number | undefined; label?: string | undefined; class?: any; theme?: string | undefined; "onUpdate:focused"?: ((args_0: boolean) => void) | undefined; validateOn?: ("eager" | "lazy" | ("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input") | undefined; validationValue?: any; baseColor?: string | undefined; prependIcon?: IconValue | undefined; appendIcon?: IconValue | undefined; iconColor?: string | boolean | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined; hint?: string | undefined; hideDetails?: boolean | "auto" | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "error" | "direction" | "style" | "disabled" | "readonly" | "messages" | "rules" | "focused" | "errorMessages" | "maxErrors" | "density" | "centerAffix" | "glow" | "hideSpinButtons" | "persistentHint">; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{ default?: ((arg: VInputSlot) => VNode[]) | undefined; prepend?: ((arg: VInputSlot) => VNode[]) | undefined; append?: ((arg: VInputSlot) => VNode[]) | undefined; details?: ((arg: VInputSlot) => VNode[]) | undefined; message?: ((arg: VMessageSlot) => VNode[]) | undefined; }>; $root: ComponentPublicInstance | null; $parent: ComponentPublicInstance | null; $host: Element | null; $emit: (event: string, ...args: any[]) => void; $el: any; $options: ComponentOptionsBase<{ error: boolean; direction: "horizontal" | "vertical"; style: StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; density: Density; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; } & { name?: string | undefined; id?: string | undefined; width?: string | number | undefined; color?: string | undefined; maxWidth?: string | number | undefined; minWidth?: string | number | undefined; label?: string | undefined; class?: any; theme?: string | undefined; "onUpdate:focused"?: ((args_0: boolean) => void) | undefined; validateOn?: ("eager" | "lazy" | ("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input") | undefined; validationValue?: any; baseColor?: string | undefined; prependIcon?: IconValue | undefined; appendIcon?: IconValue | undefined; iconColor?: string | boolean | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined; hint?: string | undefined; hideDetails?: boolean | "auto" | undefined; } & {}, { reset: () => Promise<void>; resetValidation: () => Promise<void>; validate: (silent?: boolean) => Promise<string[]>; isValid: ComputedRef<boolean | null>; errorMessages: ComputedRef<string[]>; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Omit<{ "update:modelValue": (value: any) => true; }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue" | "v-slot:prepend" | "v-slot:append" | "v-slot:message" | "v-slot:details">, string, { error: boolean; direction: "horizontal" | "vertical"; style: StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; density: Density; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; }, {}, string, SlotsType<Partial<{ default: (arg: VInputSlot) => VNode[]; prepend: (arg: VInputSlot) => VNode[]; append: (arg: VInputSlot) => VNode[]; details: (arg: VInputSlot) => VNode[]; message: (arg: VMessageSlot) => VNode[]; }>>, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]; renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: nextTick; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle; } & Readonly<{ error: boolean; direction: "horizontal" | "vertical"; style: StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; density: Density; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; }> & Omit<{ error: boolean; direction: "horizontal" | "vertical"; style: StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; density: Density; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; } & { name?: string | undefined; id?: string | undefined; width?: string | number | undefined; color?: string | undefined; maxWidth?: string | number | undefined; minWidth?: string | number | undefined; label?: string | undefined; class?: any; theme?: string | undefined; "onUpdate:focused"?: ((args_0: boolean) => void) | undefined; validateOn?: ("eager" | "lazy" | ("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input") | undefined; validationValue?: any; baseColor?: string | undefined; prependIcon?: IconValue | undefined; appendIcon?: IconValue | undefined; iconColor?: string | boolean | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined; hint?: string | undefined; hideDetails?: boolean | "auto" | undefined; } & {}, "reset" | "isValid" | "validate" | "resetValidation" | ("error" | "direction" | "style" | "disabled" | "readonly" | "messages" | "rules" | "focused" | "errorMessages" | "maxErrors" | "density" | "centerAffix" | "glow" | "hideSpinButtons" | "persistentHint")> & ShallowUnwrapRef<{ reset: () => Promise<void>; resetValidation: () => Promise<void>; validate: (silent?: boolean) => Promise<string[]>; isValid: ComputedRef<boolean | null>; errorMessages: ComputedRef<string[]>; }> & {} & ComponentCustomProperties & {} & GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; }, VInputSlots>, "name" | "id" | "width" | "color" | "maxWidth" | "minWidth" | "label" | "class" | "theme" | "$children" | "v-slots" | "v-slot:default" | keyof VNodeProps | "onUpdate:focused" | "modelValue" | "validateOn" | "validationValue" | "onUpdate:modelValue" | "baseColor" | "prependIcon" | "appendIcon" | "v-slot:prepend" | "v-slot:append" | "iconColor" | "onClick:append" | "onClick:prepend" | "v-slot:message" | "hint" | "hideDetails" | "v-slot:details" | ("error" | "direction" | "style" | "disabled" | "readonly" | "messages" | "rules" | "focused" | "errorMessages" | "maxErrors" | "density" | "centerAffix" | "glow" | "hideSpinButtons" | "persistentHint")>, `$${any}`> & { _allExposed: { reset: () => Promise<void>; resetValidation: () => Promise<void>; validate: (silent?: boolean) => Promise<string[]>; isValid: ComputedRef<boolean | null>; errorMessages: ComputedRef<string[]>; } | {}; }, {}, {}, {}, { flat: boolean; inline: boolean; error: boolean; direction: "horizontal" | "vertical"; inset: boolean; loading: string | boolean; style: StyleValue; disabled: boolean | null; multiple: boolean | null; readonly: boolean | null; indeterminate: boolean; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; valueComparator: deepEqual; density: Density; ripple: boolean | { class?: string; keys?: number[]; } | undefined; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & ComponentOptionsBase<{ flat: boolean; inline: boolean; error: boolean; direction: "horizontal" | "vertical"; inset: boolean; loading: string | boolean; style: StyleValue; disabled: boolean | null; multiple: boolean | null; readonly: boolean | null; indeterminate: boolean; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; valueComparator: deepEqual; density: Density; ripple: boolean | { class?: string; keys?: number[]; } | undefined; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; } & { name?: string | undefined; type?: string | undefined; id?: string | undefined; width?: string | number | undefined; color?: string | undefined; maxWidth?: string | number | undefined; minWidth?: string | number | undefined; value?: any; label?: string | undefined; class?: any; theme?: string | undefined; 'onUpdate:focused'?: ((args_0: boolean) => void) | undefined; validateOn?: ("eager" | "lazy" | ("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input") | undefined; validationValue?: any; baseColor?: string | undefined; prependIcon?: IconValue | undefined; appendIcon?: IconValue | undefined; iconColor?: string | boolean | undefined; defaultsTarget?: string | undefined; falseIcon?: IconValue | undefined; trueIcon?: IconValue | undefined; trueValue?: any; falseValue?: any; 'onClick:append'?: ((args_0: MouseEvent) => void) | undefined; 'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined; hint?: string | undefined; hideDetails?: boolean | "auto" | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; "onUpdate:indeterminate"?: ((value: boolean) => any) | undefined; }, Omit<Omit<{ $: ComponentInternalInstance; $data: {}; $props: Partial<{ error: boolean; direction: "horizontal" | "vertical"; style: StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; density: Density; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; }> & Omit<{ error: boolean; direction: "horizontal" | "vertical"; style: StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; rules: readonly (string | boolean | PromiseLike< ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike< ValidationResult>) | [string, any, (string | undefined)?])[]; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; density: Density; centerAffix: boolean; glow: boolean; hideSpinButtons: boolean; persistentHint: boolean; name?: string | undefined; id?: string | undefined; width?: string | number | undefined; color?: string | undefined; maxWidth?: string | number | undefined; minWidth?: string | number | undefined; label?: string | undefined; class?: any; theme?: string | undefined; "onUpdate:focused"?: ((args_0: boolean) => void) | undefined; validateOn?: ("eager" | "lazy" | ("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input") | undefined; validationValue?: any; baseColor?: string | undefined; prependIcon?: IconValue | undefined; appendIcon?: IconValue | undefined; iconColor?: string | boolean | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined; hint?: string | undefined; hideDetails?: boolean | "auto" | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "error" | "direction" | "style" | "disabled" | "readonly" | "messages" | "rules" | "focused" | "errorMessages" | "maxErrors" | "density" | "centerAffix" | "glow" | "hideSpinButtons" | "persistentHint">; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{