UNPKG

@ark-ui/vue

Version:

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

44 lines (43 loc) 1.69 kB
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; import { PolymorphicProps } from '../factory'; import { RootEmits, RootProps } from './pin-input.types'; import { ValueChangeDetails, ValueInvalidDetails } from '@zag-js/pin-input'; export interface PinInputRootBaseProps extends RootProps, PolymorphicProps { } export interface PinInputRootProps extends PinInputRootBaseProps, /** * @vue-ignore */ HTMLAttributes { } export interface PinInputRootEmits extends RootEmits { } declare const _default: __VLS_WithTemplateSlots< DefineComponent<PinInputRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { valueChange: (details: ValueChangeDetails) => any; "update:modelValue": (value: string[]) => any; valueInvalid: (details: ValueInvalidDetails) => any; valueComplete: (details: ValueChangeDetails) => any; }, string, PublicProps, Readonly<PinInputRootProps> & Readonly<{ onValueChange?: ((details: ValueChangeDetails) => any) | undefined; "onUpdate:modelValue"?: ((value: string[]) => any) | undefined; onValueInvalid?: ((details: ValueInvalidDetails) => any) | undefined; onValueComplete?: ((details: ValueChangeDetails) => any) | undefined; }>, { invalid: boolean; mask: boolean; disabled: boolean; required: boolean; autoFocus: boolean; readOnly: boolean; selectOnFocus: boolean; blurOnComplete: boolean; otp: boolean; }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, { default?(_: {}): any; }>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };