sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
23 lines (22 loc) • 711 B
TypeScript
import { type StyleValue } from 'vue';
import { type DefaultProps } from '../config';
export interface PasswordInputProps {
rootStyle?: StyleValue;
rootClass?: string;
modelValue?: string;
length?: number;
type?: 'border' | 'underline';
gap?: number | string;
plainText?: boolean;
focused?: boolean;
customKeyboard?: boolean;
disabled?: boolean;
readonly?: boolean;
validateEvent?: boolean;
}
export declare const defaultPasswordInputProps: () => DefaultProps<PasswordInputProps>;
export interface PasswordInputEmits {
(e: 'update:model-value', value: string): void;
(e: 'change', value: string): void;
(e: 'updat:focused', focused: boolean): void;
}