UNPKG

@opensig/opendesign

Version:

<p align="center"><img src="../docs/public/opendesign-logo-light.png"/></p> <h1 align="center">opendesign</h1> <p align="center">一个 Vue 3 组件库</p> <p align="center"><b>皮肤可定制,使用 TypeScript</b></p>

179 lines (178 loc) 5.02 kB
declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly<{ default(): any; prefix(): any; suffix(): any; extra(): any; }> & { default(): any; prefix(): any; suffix(): any; extra(): any; }; refs: { inputEl: HTMLInputElement; }; rootEl: HTMLLabelElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ modelValue: { type: StringConstructor; }; defaultValue: { type: StringConstructor; }; type: { type: import('vue').PropType<"text" | "password">; default: string; }; placeholder: { type: StringConstructor; }; inputId: { type: StringConstructor; }; disabled: { type: BooleanConstructor; }; readonly: { type: BooleanConstructor; }; clearable: { type: BooleanConstructor; }; minLength: { type: NumberConstructor; }; maxLength: { type: NumberConstructor; }; getLength: { type: import('vue').PropType<(val: string) => number>; }; inputOnOutlimit: { type: BooleanConstructor; default: boolean; }; format: { type: import('vue').PropType<(value: string) => string>; }; validate: { type: import('vue').PropType<(value: string) => boolean>; }; valueOnInvalidChange: { type: import('vue').PropType<(inputValue: string, lastValidInputValue: string) => string>; }; showPasswordEvent: { type: import('vue').PropType<"click" | "pointerdown">; default: string; }; autoWidth: { type: BooleanConstructor; }; passwordPlaceholder: { type: StringConstructor; default: string; }; }>, { inputEl: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>; focus: () => void; blur: () => void; clear: () => void; togglePassword: (visible?: boolean) => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & { input: (evt: Event, value: string) => any; clear: (evt?: Event | undefined) => any; blur: (evt: FocusEvent) => any; change: (value: string, lastValue: string) => any; focus: (evt: FocusEvent) => any; "update:modelValue": (value: string) => any; pressEnter: (evt: KeyboardEvent) => any; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ modelValue: { type: StringConstructor; }; defaultValue: { type: StringConstructor; }; type: { type: import('vue').PropType<"text" | "password">; default: string; }; placeholder: { type: StringConstructor; }; inputId: { type: StringConstructor; }; disabled: { type: BooleanConstructor; }; readonly: { type: BooleanConstructor; }; clearable: { type: BooleanConstructor; }; minLength: { type: NumberConstructor; }; maxLength: { type: NumberConstructor; }; getLength: { type: import('vue').PropType<(val: string) => number>; }; inputOnOutlimit: { type: BooleanConstructor; default: boolean; }; format: { type: import('vue').PropType<(value: string) => string>; }; validate: { type: import('vue').PropType<(value: string) => boolean>; }; valueOnInvalidChange: { type: import('vue').PropType<(inputValue: string, lastValidInputValue: string) => string>; }; showPasswordEvent: { type: import('vue').PropType<"click" | "pointerdown">; default: string; }; autoWidth: { type: BooleanConstructor; }; passwordPlaceholder: { type: StringConstructor; default: string; }; }>> & Readonly<{ onInput?: ((evt: Event, value: string) => any) | undefined; onClear?: ((evt?: Event | undefined) => any) | undefined; onBlur?: ((evt: FocusEvent) => any) | undefined; onChange?: ((value: string, lastValue: string) => any) | undefined; onFocus?: ((evt: FocusEvent) => any) | undefined; "onUpdate:modelValue"?: ((value: string) => any) | undefined; onPressEnter?: ((evt: KeyboardEvent) => any) | undefined; }>, { type: "text" | "password"; disabled: boolean; clearable: boolean; readonly: boolean; inputOnOutlimit: boolean; showPasswordEvent: "click" | "pointerdown"; autoWidth: boolean; passwordPlaceholder: string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, { inputEl: HTMLInputElement; }, HTMLLabelElement>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };