@volo/abp.ng.identity 8.0.3 → 8.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/components/organization-units/organization-units.component.mjs +4 -1
- package/esm2022/lib/components/users/users.component.mjs +9 -10
- package/esm2022/lib/services/organization-units-state.service.mjs +4 -1
- package/fesm2022/volo-abp.ng.identity.mjs +13 -8
- package/fesm2022/volo-abp.ng.identity.mjs.map +1 -1
- package/lib/components/organization-units/organization-units.component.d.ts +3 -2
- package/lib/components/users/users.component.d.ts +3 -4
- package/lib/services/organization-units-state.service.d.ts +1 -0
- package/package.json +7 -7
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { BaseNode, DropEvent, TreeAdapter } from '@abp/ng.components/tree';
|
|
2
2
|
import { TreeNode } from '@abp/ng.core';
|
|
3
3
|
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
4
|
-
import { Injector, OnInit } from '@angular/core';
|
|
4
|
+
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
5
5
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
6
6
|
import { OrganizationUnitService, OrganizationUnitWithDetailsDto } from '@volo/abp.ng.identity/proxy';
|
|
7
7
|
import { eIdentityComponents } from '../../enums/components';
|
|
8
8
|
import { OrganizationUnitsStateService, DeleteOrganizationUnitService, MoveAllUsersOfUnitModalService } from '../../services';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class OrganizationUnitsComponent implements OnInit {
|
|
10
|
+
export declare class OrganizationUnitsComponent implements OnInit, OnDestroy {
|
|
11
11
|
protected readonly injector: Injector;
|
|
12
12
|
protected readonly service: OrganizationUnitService;
|
|
13
13
|
protected readonly fb: UntypedFormBuilder;
|
|
@@ -29,6 +29,7 @@ export declare class OrganizationUnitsComponent implements OnInit {
|
|
|
29
29
|
get selectedUnit(): OrganizationUnitWithDetailsDto;
|
|
30
30
|
get nodeId(): any;
|
|
31
31
|
ngOnInit(): void;
|
|
32
|
+
ngOnDestroy(): void;
|
|
32
33
|
refreshSelectedUnit(): void;
|
|
33
34
|
get: () => void;
|
|
34
35
|
buildForm(selected?: OrganizationUnitWithDetailsDto): void;
|
|
@@ -3,7 +3,6 @@ import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
|
3
3
|
import { Injector, OnInit, TemplateRef, TrackByFunction } from '@angular/core';
|
|
4
4
|
import { AbstractControl, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
5
5
|
import { GetIdentityUsersInput, IdentityRoleDto, IdentityRoleService, IdentityUserDto, IdentityUserService, OrganizationUnitDto, OrganizationUnitService, OrganizationUnitWithDetailsDto, ImportUsersFromFileType, OrganizationUnitLookupDto, IdentityRoleLookupDto } from '@volo/abp.ng.identity/proxy';
|
|
6
|
-
import { Observable } from 'rxjs';
|
|
7
6
|
import { ExcelService } from '../../services/excel.service';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
export declare class UsersComponent implements OnInit {
|
|
@@ -19,6 +18,7 @@ export declare class UsersComponent implements OnInit {
|
|
|
19
18
|
protected readonly roleService: IdentityRoleService;
|
|
20
19
|
protected readonly organizationUnitService: OrganizationUnitService;
|
|
21
20
|
protected readonly excelService: ExcelService;
|
|
21
|
+
roleCount: import("@angular/core").Signal<number>;
|
|
22
22
|
protected userRoles: IdentityRoleDto[];
|
|
23
23
|
data: PagedResultDto<IdentityUserDto>;
|
|
24
24
|
modalContent: TemplateRef<any>;
|
|
@@ -61,7 +61,6 @@ export declare class UsersComponent implements OnInit {
|
|
|
61
61
|
private patchRoleCount;
|
|
62
62
|
private get rawRoleNames();
|
|
63
63
|
get roleGroups(): UntypedFormGroup[];
|
|
64
|
-
get roleCount$(): Observable<number>;
|
|
65
64
|
ngOnInit(): void;
|
|
66
65
|
isFromOrgUnit: (roleId: string) => boolean;
|
|
67
66
|
onVisiblePermissionChange: (value: boolean) => void;
|
|
@@ -79,8 +78,8 @@ export declare class UsersComponent implements OnInit {
|
|
|
79
78
|
setPassword(): void;
|
|
80
79
|
generatePassword(): void;
|
|
81
80
|
setTwoFactor(): void;
|
|
82
|
-
getOrganizationUnitLookup(): () => Observable<PagedResultDto<OrganizationUnitLookupDto>>;
|
|
83
|
-
getRolesLookup(): () => Observable<PagedResultDto<IdentityRoleLookupDto>>;
|
|
81
|
+
getOrganizationUnitLookup(): () => import("rxjs").Observable<PagedResultDto<OrganizationUnitLookupDto>>;
|
|
82
|
+
getRolesLookup(): () => import("rxjs").Observable<PagedResultDto<IdentityRoleLookupDto>>;
|
|
84
83
|
viewDetails(user: IdentityUserDto): void;
|
|
85
84
|
exportExcel(): void;
|
|
86
85
|
exportCSV(): void;
|
|
@@ -8,6 +8,7 @@ export declare class OrganizationUnitsStateService {
|
|
|
8
8
|
getSelectedNode(): OrganizationUnitWithDetailsDto | undefined;
|
|
9
9
|
setSelectedUnit(selectedUnit: OrganizationUnitWithDetailsDto | undefined): void;
|
|
10
10
|
refreshSelectedNode(): void;
|
|
11
|
+
removeSelectedNode(): void;
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrganizationUnitsStateService, never>;
|
|
12
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<OrganizationUnitsStateService>;
|
|
13
14
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volo/abp.ng.identity",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.5",
|
|
4
4
|
"homepage": "https://abp.io",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@abp/ng.components": "~8.0.
|
|
7
|
-
"@abp/ng.permission-management": "~8.0.
|
|
8
|
-
"@abp/ng.setting-management": "~8.0.
|
|
9
|
-
"@abp/ng.theme.shared": "~8.0.
|
|
10
|
-
"@volo/abp.commercial.ng.ui": "~8.0.
|
|
11
|
-
"@volo/abp.ng.account": "~8.0.
|
|
6
|
+
"@abp/ng.components": "~8.0.5",
|
|
7
|
+
"@abp/ng.permission-management": "~8.0.5",
|
|
8
|
+
"@abp/ng.setting-management": "~8.0.5",
|
|
9
|
+
"@abp/ng.theme.shared": "~8.0.5",
|
|
10
|
+
"@volo/abp.commercial.ng.ui": "~8.0.5",
|
|
11
|
+
"@volo/abp.ng.account": "~8.0.5",
|
|
12
12
|
"tslib": "^2.0.0"
|
|
13
13
|
},
|
|
14
14
|
"publishConfig": {
|