@ark-ui/vue
Version:
A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.
37 lines (36 loc) • 1.67 kB
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: VoidFunction;
setVisible: (value: boolean) => void;
toggleVisible: VoidFunction;
getRootProps: () => HTMLAttributes & {
key?: string | number | symbol | undefined;
ref?: VNodeRef | undefined;
};
getLabelProps: () => LabelHTMLAttributes & ReservedProps;
getInputProps: () => InputHTMLAttributes & ReservedProps;
getVisibilityTriggerProps: () => ButtonHTMLAttributes & ReservedProps;
getIndicatorProps: () => HTMLAttributes & {
key?: string | number | symbol | undefined;
ref?: VNodeRef | undefined;
};
getControlProps: () => HTMLAttributes & {
key?: string | number | symbol | undefined;
ref?: VNodeRef | undefined;
};
}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};