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>

136 lines (135 loc) 4.07 kB
declare function __VLS_template(): { attrs: Partial<{}>; slots: { prefix?(_: {}): any; suffix?(_: {}): any; extra?(_: {}): any; }; refs: { inputRef: HTMLInputElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ size: { type: import('vue').PropType<import('../..').SizeT>; }; modelValue: { type: (NumberConstructor | StringConstructor)[]; }; defaultValue: { type: (NumberConstructor | StringConstructor)[]; }; type: { type: import('vue').PropType<"text" | "password">; default: string; }; placeholder: { type: StringConstructor; }; inputId: { type: StringConstructor; }; disabled: { type: BooleanConstructor; }; readonly: { type: BooleanConstructor; }; invalid: { type: BooleanConstructor; }; clearable: { type: BooleanConstructor; }; parse: { type: import('vue').PropType<(value: string) => string>; }; format: { type: import('vue').PropType<(value: string | number) => string | number>; }; showPasswordEvent: { type: import('vue').PropType<"click" | "pointerdown">; default: string; }; }>, { focus: () => void; clear: (e?: Event) => void; togglePassword: (visible: boolean) => void; uId: import('vue').Ref<string, string>; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & { input: (value: string, evt: Event) => any; clear: (evt?: Event | undefined) => any; blur: (value: string, evt: FocusEvent) => any; change: (value: string) => any; focus: (value: string, evt: FocusEvent) => any; "update:modelValue": (value: string) => any; pressEnter: (value: string, evt: KeyboardEvent) => any; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ size: { type: import('vue').PropType<import('../..').SizeT>; }; modelValue: { type: (NumberConstructor | StringConstructor)[]; }; defaultValue: { type: (NumberConstructor | StringConstructor)[]; }; type: { type: import('vue').PropType<"text" | "password">; default: string; }; placeholder: { type: StringConstructor; }; inputId: { type: StringConstructor; }; disabled: { type: BooleanConstructor; }; readonly: { type: BooleanConstructor; }; invalid: { type: BooleanConstructor; }; clearable: { type: BooleanConstructor; }; parse: { type: import('vue').PropType<(value: string) => string>; }; format: { type: import('vue').PropType<(value: string | number) => string | number>; }; showPasswordEvent: { type: import('vue').PropType<"click" | "pointerdown">; default: string; }; }>> & Readonly<{ onInput?: ((value: string, evt: Event) => any) | undefined; onClear?: ((evt?: Event | undefined) => any) | undefined; onBlur?: ((value: string, evt: FocusEvent) => any) | undefined; onChange?: ((value: string) => any) | undefined; onFocus?: ((value: string, evt: FocusEvent) => any) | undefined; "onUpdate:modelValue"?: ((value: string) => any) | undefined; onPressEnter?: ((value: string, evt: KeyboardEvent) => any) | undefined; }>, { invalid: boolean; type: "text" | "password"; disabled: boolean; clearable: boolean; readonly: boolean; showPasswordEvent: "click" | "pointerdown"; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, { inputRef: HTMLInputElement; }, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };