123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563 |
- import * as vue from 'vue';
- import { ComponentPropsOptions, ExtractPropTypes, PropType } from 'vue';
- interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions>, Props = ExtractPropTypes<PropsOptions>> {
- filterProps<T extends Partial<Props>, U extends Exclude<keyof Props, Exclude<keyof Props, keyof T>>>(props: T): [yes: Partial<Pick<T, U>>, no: Omit<T, U>];
- }
- type EventProp<T extends any[] = any[], F = (...args: T) => any> = F | F[];
- declare const EventProp: <T extends any[] = any[]>() => PropType<EventProp<T, (...args: T) => any>>;
- type ValidationResult = string | boolean;
- type ValidationRule = ValidationResult | PromiseLike<ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike<ValidationResult>);
- declare const VValidation: {
- new (...args: any[]): {
- $: vue.ComponentInternalInstance;
- $data: {};
- $props: {
- error?: boolean | undefined;
- disabled?: boolean | null | undefined;
- readonly?: boolean | null | undefined;
- focused?: boolean | undefined;
- errorMessages?: string | readonly string[] | undefined;
- maxErrors?: string | number | undefined;
- rules?: readonly ValidationRule[] | undefined;
- key?: string | number | symbol | undefined;
- name?: string | undefined;
- label?: string | undefined;
- style?: unknown;
- class?: unknown;
- $children?: vue.VNodeChild | {
- default?: ((arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNodeChild) | undefined;
- } | ((arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNodeChild);
- ref?: vue.VNodeRef | undefined;
- ref_for?: boolean | undefined;
- ref_key?: string | undefined;
- "v-slot:default"?: false | ((arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNodeChild) | undefined;
- 'v-slots'?: {
- default?: false | ((arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNodeChild) | undefined;
- } | undefined;
- onVnodeBeforeMount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void)[] | undefined;
- onVnodeMounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void)[] | undefined;
- onVnodeBeforeUpdate?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void)[] | undefined;
- onVnodeUpdated?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void)[] | undefined;
- onVnodeBeforeUnmount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void)[] | undefined;
- onVnodeUnmounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void)[] | undefined;
- modelValue?: any;
- "onUpdate:modelValue"?: ((val: any) => any) | undefined;
- 'onUpdate:focused'?: EventProp<[boolean], (args_0: boolean) => any> | undefined;
- validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
- validationValue?: any;
- };
- $attrs: {
- [x: string]: unknown;
- };
- $refs: {
- [x: string]: unknown;
- };
- $slots: Readonly<{
- default?: ((arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>[]) | undefined;
- }>;
- $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
- $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
- $emit: (event: "update:modelValue", val: any) => void;
- $el: any;
- $options: vue.ComponentOptionsBase<{
- error: boolean;
- disabled: boolean | null;
- readonly: boolean | null;
- focused: boolean;
- errorMessages: string | readonly string[];
- maxErrors: string | number;
- rules: readonly ValidationRule[];
- } & {
- name?: string | undefined;
- label?: string | undefined;
- modelValue?: any;
- 'onUpdate:focused'?: EventProp<[boolean], (args_0: boolean) => any> | undefined;
- validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
- validationValue?: any;
- } & {
- $children?: vue.VNodeChild | {
- default?: ((arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNodeChild) | undefined;
- } | ((arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNodeChild);
- 'v-slots'?: {
- default?: false | ((arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNodeChild) | undefined;
- } | undefined;
- } & {
- "v-slot:default"?: false | ((arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNodeChild) | undefined;
- } & {
- "onUpdate:modelValue"?: ((val: any) => any) | undefined;
- }, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>[] | undefined, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
- 'update:modelValue': (val: any) => boolean;
- }, string, {
- error: boolean;
- disabled: boolean | null;
- readonly: boolean | null;
- focused: boolean;
- errorMessages: string | readonly string[];
- maxErrors: string | number;
- rules: readonly ValidationRule[];
- }, {}, string, vue.SlotsType<Partial<{
- default: (arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>[];
- }>>> & {
- 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: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
- renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
- errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
- };
- $forceUpdate: () => void;
- $nextTick: typeof vue.nextTick;
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: vue.WatchOptions<boolean> | undefined): vue.WatchStopHandle;
- } & {
- error: boolean;
- disabled: boolean | null;
- readonly: boolean | null;
- focused: boolean;
- errorMessages: string | readonly string[];
- maxErrors: string | number;
- rules: readonly ValidationRule[];
- } & {
- name?: string | undefined;
- label?: string | undefined;
- modelValue?: any;
- 'onUpdate:focused'?: EventProp<[boolean], (args_0: boolean) => any> | undefined;
- validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
- validationValue?: any;
- } & {
- $children?: vue.VNodeChild | {
- default?: ((arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNodeChild) | undefined;
- } | ((arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNodeChild);
- 'v-slots'?: {
- default?: false | ((arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNodeChild) | undefined;
- } | undefined;
- } & {
- "v-slot:default"?: false | ((arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNodeChild) | undefined;
- } & {
- "onUpdate:modelValue"?: ((val: any) => any) | undefined;
- } & vue.ShallowUnwrapRef<() => vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>[] | undefined> & {} & vue.ComponentCustomProperties & {};
- __isFragment?: undefined;
- __isTeleport?: undefined;
- __isSuspense?: undefined;
- } & vue.ComponentOptionsBase<{
- error: boolean;
- disabled: boolean | null;
- readonly: boolean | null;
- focused: boolean;
- errorMessages: string | readonly string[];
- maxErrors: string | number;
- rules: readonly ValidationRule[];
- } & {
- name?: string | undefined;
- label?: string | undefined;
- modelValue?: any;
- 'onUpdate:focused'?: EventProp<[boolean], (args_0: boolean) => any> | undefined;
- validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
- validationValue?: any;
- } & {
- $children?: vue.VNodeChild | {
- default?: ((arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNodeChild) | undefined;
- } | ((arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNodeChild);
- 'v-slots'?: {
- default?: false | ((arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNodeChild) | undefined;
- } | undefined;
- } & {
- "v-slot:default"?: false | ((arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNodeChild) | undefined;
- } & {
- "onUpdate:modelValue"?: ((val: any) => any) | undefined;
- }, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>[] | undefined, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
- 'update:modelValue': (val: any) => boolean;
- }, string, {
- error: boolean;
- disabled: boolean | null;
- readonly: boolean | null;
- focused: boolean;
- errorMessages: string | readonly string[];
- maxErrors: string | number;
- rules: readonly ValidationRule[];
- }, {}, string, vue.SlotsType<Partial<{
- default: (arg: {
- errorMessages: vue.ComputedRef<string[]>;
- isDirty: vue.ComputedRef<boolean>;
- isDisabled: vue.ComputedRef<boolean>;
- isReadonly: vue.ComputedRef<boolean>;
- isPristine: vue.ShallowRef<boolean>;
- isValid: vue.ComputedRef<boolean | null>;
- isValidating: vue.ShallowRef<boolean>;
- reset: () => void;
- resetValidation: () => void;
- validate: (silent?: boolean) => Promise<string[]>;
- validationClasses: vue.ComputedRef<{
- [x: string]: boolean;
- }>;
- }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>[];
- }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
- focused: BooleanConstructor;
- 'onUpdate:focused': vue.PropType<EventProp<[boolean], (args_0: boolean) => any>>;
- disabled: {
- type: vue.PropType<boolean | null>;
- default: null;
- };
- error: BooleanConstructor;
- errorMessages: {
- type: vue.PropType<string | readonly string[]>;
- default: () => never[];
- };
- maxErrors: {
- type: (StringConstructor | NumberConstructor)[];
- default: number;
- };
- name: StringConstructor;
- label: StringConstructor;
- readonly: {
- type: vue.PropType<boolean | null>;
- default: null;
- };
- rules: {
- type: vue.PropType<readonly ValidationRule[]>;
- default: () => never[];
- };
- modelValue: null;
- validateOn: vue.PropType<"lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined>;
- validationValue: null;
- }, vue.ExtractPropTypes<{
- focused: BooleanConstructor;
- 'onUpdate:focused': vue.PropType<EventProp<[boolean], (args_0: boolean) => any>>;
- disabled: {
- type: vue.PropType<boolean | null>;
- default: null;
- };
- error: BooleanConstructor;
- errorMessages: {
- type: vue.PropType<string | readonly string[]>;
- default: () => never[];
- };
- maxErrors: {
- type: (StringConstructor | NumberConstructor)[];
- default: number;
- };
- name: StringConstructor;
- label: StringConstructor;
- readonly: {
- type: vue.PropType<boolean | null>;
- default: null;
- };
- rules: {
- type: vue.PropType<readonly ValidationRule[]>;
- default: () => never[];
- };
- modelValue: null;
- validateOn: vue.PropType<"lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined>;
- validationValue: null;
- }>>;
- type VValidation = InstanceType<typeof VValidation>;
- export { VValidation };
|