UNPKG

various-ui

Version:

This is a test version of the Vue 3 component library

41 lines (40 loc) 1.22 kB
import { SetupContext } from "vue"; import { UiScopeInputProps, UiScopeInputEmits } from "../index"; export declare const useComposable: (define: UiScopeInputProps, emits: SetupContext<typeof UiScopeInputEmits>["emit"]) => { refs: { active: import("vue").Ref<boolean, boolean>; }; status: import("vue").ComputedRef<{ is: boolean; name: string; }>; methods: { clear: () => void; }; handlers: { mainHandler: { change: (ev: Event) => void; input: (ev: InputEvent | Event) => void; focus: (ev: FocusEvent | Event) => void; blur: (ev: FocusEvent | Event) => void; }; }; computeds: { attrs: import("vue").ComputedRef<{ start: { disabled: boolean; readonly: boolean; placeholder: string | undefined; }; end: { disabled: boolean; readonly: boolean; placeholder: string | undefined; }; }>; style: import("vue").ComputedRef<{ width: string; }>; className: import("vue").ComputedRef<string>; }; };