mine-h5-ui
Version:
一款轻量级、模块化基于 Vue3.x 的 H5 前端 UI 组件库 👍
122 lines (121 loc) • 4.81 kB
TypeScript
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
import { Props } from './types';
import { InstallRecord, NameRecord } from '../types';
export declare const MeInput: {
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{
modelValue?: string;
} & Props> & 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;
}>, {}, {}, {}, {}, 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;
}, PublicProps, {
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;
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
inputLabel: HTMLDivElement;
sms: HTMLSpanElement;
}, any, ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<{
modelValue?: string;
} & Props> & 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;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & ComponentOptionsBase<Readonly<{
modelValue?: string;
} & Props> & 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;
}>, {}, {}, {}, {}, 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, {
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;
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & InstallRecord & NameRecord;