UNPKG

@jsonforms/vue-vuetify

Version:

Vue Vuetify renderers for JSON Forms

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