UNPKG

nuxt-users

Version:

A comprehensive user management module for Nuxt 3 and Nuxt 4 applications with authentication, authorization, database support, and CLI tools

44 lines (43 loc) 1.78 kB
import type { LoginFormData, LoginFormProps, UserWithoutPassword } from '../../types.js'; declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: { message: string; }, __VLS_15: { error: string; }; type __VLS_Slots = {} & { header?: (props: typeof __VLS_1) => any; } & { 'email-field'?: (props: typeof __VLS_3) => any; } & { 'password-field'?: (props: typeof __VLS_5) => any; } & { 'remember-me'?: (props: typeof __VLS_7) => any; } & { 'submit-button'?: (props: typeof __VLS_9) => any; } & { footer?: (props: typeof __VLS_11) => any; } & { 'success-message'?: (props: typeof __VLS_13) => any; } & { 'error-message'?: (props: typeof __VLS_15) => any; }; declare const __VLS_component: import("vue").DefineComponent<LoginFormProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { error: (error: string) => any; submit: (data: LoginFormData) => any; success: (user: UserWithoutPassword) => any; "forgot-password-error": (error: string) => any; "forgot-password-success": () => any; }, string, import("vue").PublicProps, Readonly<LoginFormProps> & Readonly<{ onError?: ((error: string) => any) | undefined; onSubmit?: ((data: LoginFormData) => any) | undefined; onSuccess?: ((user: UserWithoutPassword) => any) | undefined; "onForgot-password-error"?: ((error: string) => any) | undefined; "onForgot-password-success"?: (() => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>; export default _default; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; };