UNPKG

various-ui

Version:

This is a test version of the Vue 3 component library

214 lines (213 loc) 8.35 kB
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ readonly placeholder: { readonly type: StringConstructor; }; readonly modelValue: { readonly type: import("vue").PropType<string | number>; readonly required: true; }; readonly maxlength: { readonly type: NumberConstructor; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly readonly: { readonly type: BooleanConstructor; readonly default: false; }; readonly loading: { readonly type: BooleanConstructor; readonly default: false; }; readonly height: { readonly type: import("vue").PropType<string | number>; }; readonly width: { readonly type: import("vue").PropType<string | number>; }; readonly name: { readonly type: StringConstructor; }; readonly rows: { readonly type: NumberConstructor; readonly default: 3; }; }>, { define: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ readonly placeholder: { readonly type: StringConstructor; }; readonly modelValue: { readonly type: import("vue").PropType<string | number>; readonly required: true; }; readonly maxlength: { readonly type: NumberConstructor; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly readonly: { readonly type: BooleanConstructor; readonly default: false; }; readonly loading: { readonly type: BooleanConstructor; readonly default: false; }; readonly height: { readonly type: import("vue").PropType<string | number>; }; readonly width: { readonly type: import("vue").PropType<string | number>; }; readonly name: { readonly type: StringConstructor; }; readonly rows: { readonly type: NumberConstructor; readonly default: 3; }; }>> & Readonly<{ onInput?: ((_ev: Event | InputEvent) => any) | undefined; onClick?: ((_ev: Event | PointerEvent) => any) | undefined; onClear?: (() => any) | undefined; onChange?: ((_ev: Event) => any) | undefined; onBlur?: ((_ev?: Event | FocusEvent | undefined) => any) | undefined; "onUpdate:modelValue"?: ((_data: any) => any) | undefined; onEnter?: ((_ev: Event | KeyboardEvent) => any) | undefined; onFocus?: ((_ev?: Event | FocusEvent | undefined) => any) | undefined; }> & {}>; emits: ((event: "input", _ev: Event | InputEvent) => void) & ((event: "click", _ev: Event | PointerEvent) => void) & ((event: "clear") => void) & ((event: "change", _ev: Event) => void) & ((event: "blur", _ev?: Event | FocusEvent | undefined) => void) & ((event: "update:modelValue", _data: any) => void) & ((event: "enter", _ev: Event | KeyboardEvent) => void) & ((event: "focus", _ev?: Event | FocusEvent | undefined) => void); refs: { inputNode: import("vue").Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>; }; methods: { enter: (ev: KeyboardEvent) => void; clear: () => void; focus: (ev?: Event | FocusEvent | undefined) => void; blur: (ev?: Event | FocusEvent | undefined) => void; }; handlers: { inputHandler: { blur: (ev?: Event | FocusEvent | undefined) => void; focus: (ev?: Event | FocusEvent | undefined) => void; click: (ev: Event | PointerEvent) => void; change: (ev: Event) => void; input: (ev: InputEvent) => void; }; }; computeds: { attrs: import("vue").ComputedRef<any>; style: import("vue").ComputedRef<{ [name: string]: string; }>; status: import("vue").ComputedRef<{ is: boolean; name: string; }>; className: import("vue").ComputedRef<string>; }; className: import("vue").ComputedRef<string>; status: import("vue").ComputedRef<{ is: boolean; name: string; }>; style: import("vue").ComputedRef<{ [name: string]: string; }>; attrs: import("vue").ComputedRef<any>; inputHandler: { blur: (ev?: Event | FocusEvent | undefined) => void; focus: (ev?: Event | FocusEvent | undefined) => void; click: (ev: Event | PointerEvent) => void; change: (ev: Event) => void; input: (ev: InputEvent) => void; }; enter: (ev: KeyboardEvent) => void; clear: () => void; focus: (ev?: Event | FocusEvent | undefined) => void; blur: (ev?: Event | FocusEvent | undefined) => void; inputNode: import("vue").Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>; readonly UiIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ readonly name: StringConstructor; }>, { define: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ readonly name: StringConstructor; }>> & Readonly<{ onClick?: ((_ev?: Event | MouseEvent | undefined) => any) | undefined; }> & {}>; emits: (event: "click", _ev?: Event | MouseEvent | undefined) => void; click: (ev: Event | MouseEvent) => void; name: import("vue").ComputedRef<string>; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { click: (_ev?: Event | MouseEvent | undefined) => boolean; }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ readonly name: StringConstructor; }>> & Readonly<{ onClick?: ((_ev?: Event | MouseEvent | undefined) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:modelValue": (_data: any) => boolean; change: (_ev: Event) => boolean; clear: () => boolean; input: (_ev: Event | InputEvent) => boolean; click: (_ev: Event | PointerEvent) => boolean; enter: (_ev: Event | KeyboardEvent) => boolean; focus: (_ev?: Event | FocusEvent | undefined) => boolean; blur: (_ev?: Event | FocusEvent | undefined) => boolean; }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ readonly placeholder: { readonly type: StringConstructor; }; readonly modelValue: { readonly type: import("vue").PropType<string | number>; readonly required: true; }; readonly maxlength: { readonly type: NumberConstructor; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly readonly: { readonly type: BooleanConstructor; readonly default: false; }; readonly loading: { readonly type: BooleanConstructor; readonly default: false; }; readonly height: { readonly type: import("vue").PropType<string | number>; }; readonly width: { readonly type: import("vue").PropType<string | number>; }; readonly name: { readonly type: StringConstructor; }; readonly rows: { readonly type: NumberConstructor; readonly default: 3; }; }>> & Readonly<{ onInput?: ((_ev: Event | InputEvent) => any) | undefined; onClick?: ((_ev: Event | PointerEvent) => any) | undefined; onClear?: (() => any) | undefined; onChange?: ((_ev: Event) => any) | undefined; onBlur?: ((_ev?: Event | FocusEvent | undefined) => any) | undefined; "onUpdate:modelValue"?: ((_data: any) => any) | undefined; onEnter?: ((_ev: Event | KeyboardEvent) => any) | undefined; onFocus?: ((_ev?: Event | FocusEvent | undefined) => any) | undefined; }>, { readonly loading: boolean; readonly disabled: boolean; readonly readonly: boolean; readonly rows: number; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;