UNPKG

@ark-ui/vue

Version:

A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.

38 lines (37 loc) 1.44 kB
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; import { PolymorphicProps } from '../factory'; import { RootEmits, RootProps } from './password-input.types'; import { VisibilityChangeDetails } from '@zag-js/password-input'; export interface PasswordInputRootBaseProps extends RootProps, PolymorphicProps { } export interface PasswordInputRootProps extends PasswordInputRootBaseProps, /** * @vue-ignore */ HTMLAttributes { } export interface PasswordInputRootEmits extends RootEmits { } declare const _default: __VLS_WithTemplateSlots< DefineComponent<PasswordInputRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { visibilityChange: (details: VisibilityChangeDetails) => any; "update:visible": (visible: boolean) => any; }, string, PublicProps, Readonly<PasswordInputRootProps> & Readonly<{ onVisibilityChange?: ((details: VisibilityChangeDetails) => any) | undefined; "onUpdate:visible"?: ((visible: boolean) => any) | undefined; }>, { invalid: boolean; disabled: boolean; required: boolean; readOnly: boolean; visible: boolean; defaultVisible: boolean; ignorePasswordManagers: boolean; }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, { default?(_: {}): any; }>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };