init component
This commit is contained in:
37
node_modules/buetify/lib/composables/validation/useValidation.d.ts
generated
vendored
Executable file
37
node_modules/buetify/lib/composables/validation/useValidation.d.ts
generated
vendored
Executable file
@@ -0,0 +1,37 @@
|
||||
import { FunctionN } from 'fp-ts/lib/function';
|
||||
import { Ref, ExtractPropTypes, PropType } from 'vue';
|
||||
export declare const UseValidationPropsDefinition: {
|
||||
isDisabled: {
|
||||
type: PropType<boolean>;
|
||||
required: boolean;
|
||||
default: boolean;
|
||||
};
|
||||
isReadonly: {
|
||||
type: PropType<boolean>;
|
||||
required: boolean;
|
||||
default: boolean;
|
||||
};
|
||||
disableIfReadonly: {
|
||||
type: PropType<boolean>;
|
||||
required: boolean;
|
||||
default: boolean;
|
||||
};
|
||||
useNativeValidation: {
|
||||
type: PropType<boolean>;
|
||||
default: boolean;
|
||||
};
|
||||
isValid: {
|
||||
type: PropType<boolean>;
|
||||
default: boolean;
|
||||
};
|
||||
'onUpdate:isValid': {
|
||||
type: PropType<FunctionN<[boolean], void>>;
|
||||
default: import("fp-ts/lib/function").Lazy<() => void>;
|
||||
};
|
||||
};
|
||||
export declare type UseValidationProps = ExtractPropTypes<typeof UseValidationPropsDefinition>;
|
||||
export declare function useValidation(props: UseValidationProps, ref: Ref<HTMLElement>): {
|
||||
isDisabled: Ref<boolean>;
|
||||
isValid: Ref<boolean>;
|
||||
validate: () => void;
|
||||
};
|
||||
Reference in New Issue
Block a user