UNPKG

vue-bare

Version:

**Unstyled Vue components for frustration-free human interactions**

52 lines (51 loc) 1.71 kB
import { ClassValue } from './types'; export interface PasswordInputBareProps { /** * @see [Apple Docs](https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_an_html_input_element) * @see [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) */ autocomplete: 'current-password' | 'new-password'; id: string; name: string; autofocus?: boolean; class?: ClassValue; disabled?: boolean; toggleable?: boolean; modelValue?: string; value?: string; wrapperClass?: ClassValue; } interface Props extends PasswordInputBareProps { class: ClassValue; } declare function __VLS_template(): { attrs: Partial<{}>; slots: { toggle?(_: { isVisible: boolean; toggle: () => void; }): any; }; refs: { 'input-ref': HTMLInputElement; }; rootEl: any; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<Props, { focus: () => void; blur: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (value: string) => any; }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{ "onUpdate:modelValue"?: (value: string) => any; }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { 'input-ref': HTMLInputElement; }, any>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };