import * as i0 from '@angular/core'; import { OnInit, Injector, ModuleWithProviders, NgModuleFactory, InjectionToken, Provider } from '@angular/core'; import * as _abp_ng_components_extensible from '@abp/ng.components/extensible'; import { EditFormPropContributorCallback, ExtensionsService } from '@abp/ng.components/extensible'; import * as _abp_ng_account_core_proxy from '@abp/ng.account.core/proxy'; import { UpdateProfileDto, AccountService, ProfileDto, ProfileService } from '@abp/ng.account.core/proxy'; import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms'; import { AuthService, ConfigStateService, IAbpGuard } from '@abp/ng.core'; import { ToasterService, ConfirmationService } from '@abp/ng.theme.shared'; import { Validation } from '@ngx-validate/core'; import { Observable } from 'rxjs'; import * as i1 from '@angular/router'; import { CanActivateFn, ResolveFn, Routes } from '@angular/router'; import * as _abp_ng_account from '@abp/ng.account'; declare const enum eAccountComponents { Login = "Account.LoginComponent", Register = "Account.RegisterComponent", ForgotPassword = "Account.ForgotPasswordComponent", ResetPassword = "Account.ResetPasswordComponent", ManageProfile = "Account.ManageProfileComponent", TenantBox = "Account.TenantBoxComponent", AuthWrapper = "Account.AuthWrapperComponent", ChangePassword = "Account.ChangePasswordComponent", PersonalSettings = "Account.PersonalSettingsComponent" } interface AccountConfigOptions { redirectUrl?: string; isPersonalSettingsChangedConfirmationActive?: boolean; editFormPropContributors?: AccountEditFormPropContributors; } type AccountEditFormPropContributors = Partial<{ [eAccountComponents.PersonalSettings]: EditFormPropContributorCallback[]; }>; declare class LoginComponent implements OnInit { protected injector: Injector; protected fb: UntypedFormBuilder; protected toasterService: ToasterService; protected authService: AuthService; protected configState: ConfigStateService; form: UntypedFormGroup; readonly inProgress: i0.WritableSignal; isSelfRegistrationEnabled: boolean; authWrapperKey: eAccountComponents; ngOnInit(): void; protected init(): void; protected buildForm(): void; onSubmit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class RegisterComponent implements OnInit { protected fb: UntypedFormBuilder; protected accountService: AccountService; protected configState: ConfigStateService; protected toasterService: ToasterService; protected authService: AuthService; protected injector: Injector; form: UntypedFormGroup; readonly inProgress: i0.WritableSignal; isSelfRegistrationEnabled: boolean; authWrapperKey: eAccountComponents; ngOnInit(): void; protected init(): void; protected buildForm(): void; onSubmit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ForgotPasswordComponent { private fb; private accountService; form: UntypedFormGroup; readonly inProgress: i0.WritableSignal; readonly isEmailSent: i0.WritableSignal; constructor(); onSubmit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ResetPasswordComponent { private fb; private accountService; private route; private router; private injector; private readonly queryParams; form: UntypedFormGroup; readonly inProgress: i0.WritableSignal; readonly isPasswordReset: i0.WritableSignal; mapErrorsFn: Validation.MapErrorsFn; constructor(); onSubmit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface ManageProfileState { profile: ProfileDto; } declare class ManageProfileStateService { private readonly store; get createOnUpdateStream(): (selector: (state: { profile?: { userName?: string; email?: string; name?: string; surname?: string; phoneNumber?: string; isExternal?: boolean; hasPassword?: boolean; concurrencyStamp?: string; extraProperties?: { [x: string]: any; }; }; }) => Slice, filterFn?: (x: Slice) => boolean) => Observable; getProfile$(): Observable; getProfile(): ProfileDto; setProfile(profile: ProfileDto): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ManageProfileComponent implements OnInit { protected profileService: ProfileService; protected manageProfileState: ManageProfileStateService; readonly selectedTab: i0.WritableSignal; readonly hideChangePasswordTab: i0.WritableSignal; readonly profile: i0.Signal<_abp_ng_account_core_proxy.ProfileDto>; changePasswordKey: eAccountComponents; personalSettingsKey: eAccountComponents; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class AccountRoutingModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class AccountModule { static forChild(options?: AccountConfigOptions): ModuleWithProviders; /** * @deprecated `AccountModule.forLazy()` is deprecated. You can use `createRoutes` **function** instead. */ static forLazy(options?: AccountConfigOptions): NgModuleFactory; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare namespace Account { interface TenantBoxComponentInputs { } interface TenantBoxComponentOutputs { } interface PersonalSettingsComponentInputs { } interface PersonalSettingsComponentOutputs { } interface ChangePasswordComponentInputs { } interface ChangePasswordComponentOutputs { } } declare class ChangePasswordComponent implements OnInit, Account.ChangePasswordComponentInputs, Account.ChangePasswordComponentOutputs { private fb; private injector; private toasterService; private profileService; private manageProfileState; form: UntypedFormGroup; readonly inProgress: i0.WritableSignal; readonly hideCurrentPassword: i0.WritableSignal; mapErrorsFn: Validation.MapErrorsFn; ngOnInit(): void; onSubmit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class PersonalSettingsComponent implements OnInit, Account.PersonalSettingsComponentInputs, Account.PersonalSettingsComponentOutputs { private readonly fb; protected readonly toasterService: ToasterService; protected readonly profileService: ProfileService; protected readonly manageProfileState: ManageProfileStateService; protected readonly authService: AuthService; protected readonly confirmationService: ConfirmationService; protected readonly configState: ConfigStateService; protected readonly isPersonalSettingsChangedConfirmationActive: boolean; private readonly injector; selected?: ProfileDto; form: UntypedFormGroup; readonly inProgress: i0.WritableSignal; buildForm(): void; ngOnInit(): void; submit(): void; logoutConfirmation: () => void; private isLogoutConfirmMessageActive; private showLogoutConfirmMessage; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class PersonalSettingsHalfRowComponent { private propData; displayName: string; name: string; id: string; formGroup: UntypedFormGroup; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * @deprecated Use `authenticationFlowGuard` *function* instead. */ declare class AuthenticationFlowGuard implements IAbpGuard { protected readonly authService: AuthService; canActivate(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare const authenticationFlowGuard: CanActivateFn; /** * @deprecated Use `accountExtensionsResolver` *function* instead. */ declare class AccountExtensionsGuard implements IAbpGuard { protected readonly injector: Injector; protected readonly extensions: ExtensionsService; canActivate(): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare const ACCOUNT_CONFIG_OPTIONS: InjectionToken; declare const RE_LOGIN_CONFIRMATION_TOKEN: InjectionToken; declare const DEFAULT_ACCOUNT_FORM_PROPS: { "Account.PersonalSettingsComponent": _abp_ng_components_extensible.FormProp[]; }; declare const ACCOUNT_EDIT_FORM_PROP_CONTRIBUTORS: InjectionToken[]; }>>; declare function getRedirectUrl(injector: Injector): any; declare function accountConfigOptionsFactory(options: AccountConfigOptions): { redirectUrl: string; isPersonalSettingsChangedConfirmationActive?: boolean; editFormPropContributors?: _abp_ng_account.AccountEditFormPropContributors; }; declare const accountExtensionsResolver: ResolveFn; declare function provideAccount(options?: AccountConfigOptions): Provider[]; declare const createRoutes: (options?: AccountConfigOptions) => Routes; export { ACCOUNT_CONFIG_OPTIONS, ACCOUNT_EDIT_FORM_PROP_CONTRIBUTORS, Account, AccountExtensionsGuard, AccountModule, AuthenticationFlowGuard, ChangePasswordComponent, DEFAULT_ACCOUNT_FORM_PROPS, ForgotPasswordComponent, LoginComponent, ManageProfileComponent, ManageProfileStateService, PersonalSettingsComponent, PersonalSettingsHalfRowComponent, RE_LOGIN_CONFIRMATION_TOKEN, RegisterComponent, ResetPasswordComponent, accountConfigOptionsFactory, accountExtensionsResolver, authenticationFlowGuard, createRoutes, eAccountComponents, getRedirectUrl, provideAccount }; export type { AccountConfigOptions, AccountEditFormPropContributors, ManageProfileState };