@ark-ui/vue
Version:
A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.
37 lines (36 loc) • 1.55 kB
text/typescript
import { UsePasswordInputReturn } from './use-password-input';
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, HTMLAttributes, VNodeRef, LabelHTMLAttributes, ReservedProps, InputHTMLAttributes, ButtonHTMLAttributes } from 'vue';
export interface PasswordInputContextProps {
value: UsePasswordInputReturn;
}
declare const _default: __VLS_WithTemplateSlots< DefineComponent<PasswordInputContextProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PasswordInputContextProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
default?(_: {
visible: boolean;
disabled: boolean;
invalid: boolean;
focus(): void;
setVisible(value: boolean): void;
toggleVisible(): void;
getRootProps(): HTMLAttributes & {
key?: string | number | symbol;
ref?: VNodeRef;
};
getLabelProps(): LabelHTMLAttributes & ReservedProps;
getInputProps(): InputHTMLAttributes & ReservedProps;
getVisibilityTriggerProps(): ButtonHTMLAttributes & ReservedProps;
getIndicatorProps(): HTMLAttributes & {
key?: string | number | symbol;
ref?: VNodeRef;
};
getControlProps(): HTMLAttributes & {
key?: string | number | symbol;
ref?: VNodeRef;
};
}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};