import * as i0 from '@angular/core'; import { TemplateRef, TrackByFunction, Injector, ModuleWithProviders, NgModuleFactory, InjectionToken, Provider } from '@angular/core'; import { UntypedFormGroup, AbstractControl } from '@angular/forms'; import { ListService, PagedResultDto, IAbpGuard } from '@abp/ng.core'; import { IdentityRoleService, IdentityRoleDto, IdentityUserService, IdentityUserDto } from '@abp/ng.identity/proxy'; import { ePermissionManagementComponents } from '@abp/ng.permission-management'; import { ConfirmationService, ToasterService, eFormComponets } from '@abp/ng.theme.shared'; import * as _abp_ng_components_extensible from '@abp/ng.components/extensible'; import { ExtensionsService, EntityActionContributorCallback, ToolbarActionContributorCallback, EntityPropContributorCallback, CreateFormPropContributorCallback, EditFormPropContributorCallback } from '@abp/ng.components/extensible'; import { Observable } from 'rxjs'; import * as i1 from '@angular/router'; import { ResolveFn, Routes } from '@angular/router'; declare class RolesComponent { protected readonly list: ListService; protected readonly confirmationService: ConfirmationService; protected readonly toasterService: ToasterService; private readonly injector; protected readonly service: IdentityRoleService; readonly data: i0.Signal>; form: UntypedFormGroup; selected?: IdentityRoleDto; readonly isModalVisible: i0.WritableSignal; readonly visiblePermissions: i0.WritableSignal; providerKey?: string; readonly modalBusy: i0.WritableSignal; permissionManagementKey: ePermissionManagementComponents; onVisiblePermissionChange: (event: boolean) => void; buildForm(): void; openModal(): void; add(): void; edit(id: string): void; save(): void; delete(id: string, name: string): void; openPermissionsModal(providerKey: string): void; sort(data: { sorts?: { prop: string; dir: string; }[]; } | { prop: string; dir: string; }[]): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class UsersComponent { protected readonly list: ListService; protected readonly confirmationService: ConfirmationService; protected readonly service: IdentityUserService; protected readonly toasterService: ToasterService; private readonly fb; private readonly injector; readonly data: i0.Signal>; readonly modalContent: i0.Signal>; form: UntypedFormGroup; selected?: IdentityUserDto; selectedTab: string; selectedUserRoles?: IdentityRoleDto[]; readonly roles: i0.WritableSignal; readonly visiblePermissions: i0.WritableSignal; providerKey?: string; readonly isModalVisible: i0.WritableSignal; readonly modalBusy: i0.WritableSignal; permissionManagementKey: ePermissionManagementComponents; entityDisplayName: string; inputKey: eFormComponets; trackByFn: TrackByFunction; onVisiblePermissionChange: (event: boolean) => void; get roleGroups(): UntypedFormGroup[]; buildForm(): void; openModal(): void; add(): void; edit(id: string): void; save(): void; delete(id: string, userName: string): void; sort(data: { sorts?: { prop: string; dir: string; }[]; } | { prop: string; dir: string; }[]): void; openPermissionsModal(providerKey: string, entityDisplayName?: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const enum eIdentityComponents { Roles = "Identity.RolesComponent", Users = "Identity.UsersComponent" } /** * @deprecated Use `identityExtensionsResolver` *function* instead. */ declare class IdentityExtensionsGuard implements IAbpGuard { protected readonly injector: Injector; protected readonly extensions: ExtensionsService; canActivate(): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } type IdentityEntityActionContributors = Partial<{ [eIdentityComponents.Roles]: EntityActionContributorCallback[]; [eIdentityComponents.Users]: EntityActionContributorCallback[]; }>; type IdentityToolbarActionContributors = Partial<{ [eIdentityComponents.Roles]: ToolbarActionContributorCallback[]; [eIdentityComponents.Users]: ToolbarActionContributorCallback[]; }>; type IdentityEntityPropContributors = Partial<{ [eIdentityComponents.Roles]: EntityPropContributorCallback[]; [eIdentityComponents.Users]: EntityPropContributorCallback[]; }>; type IdentityCreateFormPropContributors = Partial<{ [eIdentityComponents.Roles]: CreateFormPropContributorCallback[]; [eIdentityComponents.Users]: CreateFormPropContributorCallback[]; }>; type IdentityEditFormPropContributors = Partial<{ [eIdentityComponents.Roles]: EditFormPropContributorCallback[]; [eIdentityComponents.Users]: EditFormPropContributorCallback[]; }>; interface IdentityConfigOptions { entityActionContributors?: IdentityEntityActionContributors; toolbarActionContributors?: IdentityToolbarActionContributors; entityPropContributors?: IdentityEntityPropContributors; createFormPropContributors?: IdentityCreateFormPropContributors; editFormPropContributors?: IdentityEditFormPropContributors; } declare class IdentityRoutingModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class IdentityModule { static forChild(options?: IdentityConfigOptions): ModuleWithProviders; /** * @deprecated `IdentityModule.forLazy()` is deprecated. You can use `createRoutes` **function** instead. */ static forLazy(options?: IdentityConfigOptions): NgModuleFactory; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare const DEFAULT_IDENTITY_ENTITY_ACTIONS: { "Identity.RolesComponent": _abp_ng_components_extensible.EntityAction[]; "Identity.UsersComponent": _abp_ng_components_extensible.EntityAction[]; }; declare const DEFAULT_IDENTITY_TOOLBAR_ACTIONS: { "Identity.RolesComponent": _abp_ng_components_extensible.ToolbarAction[]; "Identity.UsersComponent": _abp_ng_components_extensible.ToolbarAction[]; }; declare const DEFAULT_IDENTITY_ENTITY_PROPS: { "Identity.RolesComponent": _abp_ng_components_extensible.EntityProp[]; "Identity.UsersComponent": _abp_ng_components_extensible.EntityProp[]; }; declare const DEFAULT_IDENTITY_CREATE_FORM_PROPS: { "Identity.RolesComponent": _abp_ng_components_extensible.FormProp[]; "Identity.UsersComponent": _abp_ng_components_extensible.FormProp[]; }; declare const DEFAULT_IDENTITY_EDIT_FORM_PROPS: { "Identity.RolesComponent": _abp_ng_components_extensible.FormProp[]; "Identity.UsersComponent": _abp_ng_components_extensible.FormProp[]; }; declare const IDENTITY_ENTITY_ACTION_CONTRIBUTORS: InjectionToken[]; "Identity.UsersComponent": EntityActionContributorCallback[]; }>>; declare const IDENTITY_TOOLBAR_ACTION_CONTRIBUTORS: InjectionToken[]; "Identity.UsersComponent": ToolbarActionContributorCallback[]; }>>; declare const IDENTITY_ENTITY_PROP_CONTRIBUTORS: InjectionToken[]; "Identity.UsersComponent": EntityPropContributorCallback[]; }>>; declare const IDENTITY_CREATE_FORM_PROP_CONTRIBUTORS: InjectionToken[]; "Identity.UsersComponent": CreateFormPropContributorCallback[]; }>>; declare const IDENTITY_EDIT_FORM_PROP_CONTRIBUTORS: InjectionToken[]; "Identity.UsersComponent": EditFormPropContributorCallback[]; }>>; declare const identityExtensionsResolver: ResolveFn; declare function provideIdentity(options?: IdentityConfigOptions): Provider[]; declare const createRoutes: (options?: IdentityConfigOptions) => Routes; export { DEFAULT_IDENTITY_CREATE_FORM_PROPS, DEFAULT_IDENTITY_EDIT_FORM_PROPS, DEFAULT_IDENTITY_ENTITY_ACTIONS, DEFAULT_IDENTITY_ENTITY_PROPS, DEFAULT_IDENTITY_TOOLBAR_ACTIONS, IDENTITY_CREATE_FORM_PROP_CONTRIBUTORS, IDENTITY_EDIT_FORM_PROP_CONTRIBUTORS, IDENTITY_ENTITY_ACTION_CONTRIBUTORS, IDENTITY_ENTITY_PROP_CONTRIBUTORS, IDENTITY_TOOLBAR_ACTION_CONTRIBUTORS, IdentityExtensionsGuard, IdentityModule, RolesComponent, UsersComponent, createRoutes, eIdentityComponents, identityExtensionsResolver, provideIdentity }; export type { IdentityConfigOptions, IdentityCreateFormPropContributors, IdentityEditFormPropContributors, IdentityEntityActionContributors, IdentityEntityPropContributors, IdentityToolbarActionContributors };