mine-h5-ui
Version:
一款轻量级、模块化基于 Vue3.x 的 H5 前端 UI 组件库 👍
49 lines (48 loc) • 1.77 kB
TypeScript
import { Props } from './types';
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
type __VLS_Props = Props;
type __VLS_PublicProps = {
modelValue?: string;
} & __VLS_Props;
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
"update:modelValue": (value: string) => any;
} & {
input: (e: Event) => any;
blur: (e: FocusEvent) => any;
change: (e: Event) => any;
focus: (e: FocusEvent) => any;
"click-sms": (e: MouseEvent) => any;
"click-icon": (e: MouseEvent) => any;
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onInput?: ((e: Event) => any) | undefined;
onBlur?: ((e: FocusEvent) => any) | undefined;
onChange?: ((e: Event) => any) | undefined;
onFocus?: ((e: FocusEvent) => any) | undefined;
"onClick-sms"?: ((e: MouseEvent) => any) | undefined;
"onClick-icon"?: ((e: MouseEvent) => any) | undefined;
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
}>, {
type: string;
label: string;
disabled: boolean;
icon: string;
placeholder: string;
readonly: boolean;
labelWidth: string;
labelAlign: "auto" | "left" | "right" | "center" | "justify" | "start" | "end" | "initial" | "inherit";
labelColor: string;
labelIcon: string;
focusType: "default" | "primary" | "success" | "warning" | "danger";
focusColor: string;
password: boolean;
digit: boolean;
smsMsg: string;
smsColor: string;
smsIs: boolean;
maxlength: number;
minlength: number;
}, {}, {}, {}, string, ComponentProvideOptions, false, {
inputLabel: HTMLDivElement;
sms: HTMLSpanElement;
}, any>;
export default _default;