init component

This commit is contained in:
Robin COuret
2026-02-16 17:28:37 +01:00
parent 460c7a25e0
commit e0e50af706
4557 changed files with 666911 additions and 8 deletions

View 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;
};