@volo/abp.ng.identity 7.2.0-rc.1 → 7.2.1
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/config/components/authority-delegation/authority-delegation.component.d.ts +14 -0
- package/config/components/authority-delegation/authority-delegation.module.d.ts +15 -0
- package/config/components/authority-delegation/create-user-delegate.component.d.ts +17 -0
- package/config/components/authority-delegation/index.d.ts +5 -0
- package/config/components/authority-delegation/list-authority-delegation.component.d.ts +28 -0
- package/config/components/authority-delegation/my-delegated-users.component.d.ts +24 -0
- package/config/components/index.d.ts +1 -0
- package/config/identity-config.module.d.ts +2 -1
- package/config/models/delegate-authority.d.ts +1 -0
- package/config/services/authority-delegation.service.d.ts +20 -0
- package/config/services/index.d.ts +1 -0
- package/config/utils/factories.d.ts +1 -0
- package/esm2020/config/components/authority-delegation/authority-delegation.component.mjs +32 -0
- package/esm2020/config/components/authority-delegation/authority-delegation.module.mjs +54 -0
- package/esm2020/config/components/authority-delegation/create-user-delegate.component.mjs +55 -0
- package/esm2020/config/components/authority-delegation/index.mjs +6 -0
- package/esm2020/config/components/authority-delegation/list-authority-delegation.component.mjs +78 -0
- package/esm2020/config/components/authority-delegation/my-delegated-users.component.mjs +62 -0
- package/esm2020/config/components/index.mjs +2 -1
- package/esm2020/config/components/my-link-users-modal.component.mjs +1 -1
- package/esm2020/config/identity-config.module.mjs +29 -6
- package/esm2020/config/models/delegate-authority.mjs +2 -0
- package/esm2020/config/services/authority-delegation.service.mjs +61 -0
- package/esm2020/config/services/index.mjs +2 -1
- package/esm2020/config/utils/factories.mjs +14 -2
- package/esm2020/lib/components/users/users.component.mjs +26 -19
- package/fesm2015/volo-abp.ng.identity-config.mjs +333 -13
- package/fesm2015/volo-abp.ng.identity-config.mjs.map +1 -1
- package/fesm2015/volo-abp.ng.identity.mjs +36 -29
- package/fesm2015/volo-abp.ng.identity.mjs.map +1 -1
- package/fesm2020/volo-abp.ng.identity-config.mjs +333 -13
- package/fesm2020/volo-abp.ng.identity-config.mjs.map +1 -1
- package/fesm2020/volo-abp.ng.identity.mjs +35 -28
- package/fesm2020/volo-abp.ng.identity.mjs.map +1 -1
- package/lib/components/users/users.component.d.ts +9 -4
- package/package.json +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConfigStateService, ListService, PagedResultDto } from '@abp/ng.core';
|
|
1
|
+
import { ConfigStateService, ListService, PagedResultDto, SubscriptionService } from '@abp/ng.core';
|
|
2
2
|
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
3
3
|
import { FormProp } from '@abp/ng.theme.shared/extensions';
|
|
4
4
|
import { Injector, OnInit, TemplateRef, TrackByFunction } from '@angular/core';
|
|
@@ -7,6 +7,7 @@ import { GetIdentityUsersInput, IdentityRoleDto, IdentityRoleService, IdentityUs
|
|
|
7
7
|
import { Observable } from 'rxjs';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class UsersComponent implements OnInit {
|
|
10
|
+
#private;
|
|
10
11
|
readonly list: ListService<GetIdentityUsersInput>;
|
|
11
12
|
confirmationService: ConfirmationService;
|
|
12
13
|
service: IdentityUserService;
|
|
@@ -16,14 +17,14 @@ export declare class UsersComponent implements OnInit {
|
|
|
16
17
|
configState: ConfigStateService;
|
|
17
18
|
roleService: IdentityRoleService;
|
|
18
19
|
organizationUnitService: OrganizationUnitService;
|
|
20
|
+
protected readonly subscription: SubscriptionService;
|
|
21
|
+
protected userRoles: IdentityRoleDto[];
|
|
19
22
|
data: PagedResultDto<IdentityUserDto>;
|
|
20
23
|
modalContent: TemplateRef<any>;
|
|
21
24
|
form: UntypedFormGroup;
|
|
22
25
|
setPasswordForm: UntypedFormGroup;
|
|
23
26
|
selected: IdentityUserDto;
|
|
24
|
-
selectedUserRoles: IdentityRoleDto[];
|
|
25
27
|
roles: IdentityRoleDto[];
|
|
26
|
-
roleCount$: Observable<number> | undefined;
|
|
27
28
|
selectedOrganizationUnits: OrganizationUnitDto[];
|
|
28
29
|
visiblePermissions: boolean;
|
|
29
30
|
providerKey: string;
|
|
@@ -54,10 +55,14 @@ export declare class UsersComponent implements OnInit {
|
|
|
54
55
|
dateTimePickerProps: FormProp<any>;
|
|
55
56
|
entityDisplayName: string | undefined;
|
|
56
57
|
trackByFn: TrackByFunction<AbstractControl>;
|
|
58
|
+
private patchRoleCount;
|
|
59
|
+
private get rawRoleNames();
|
|
57
60
|
get roleGroups(): UntypedFormGroup[];
|
|
58
|
-
|
|
61
|
+
get roleCount$(): Observable<number>;
|
|
59
62
|
constructor(list: ListService<GetIdentityUsersInput>, confirmationService: ConfirmationService, service: IdentityUserService, fb: UntypedFormBuilder, toasterService: ToasterService, injector: Injector, configState: ConfigStateService, roleService: IdentityRoleService, organizationUnitService: OrganizationUnitService);
|
|
60
63
|
ngOnInit(): void;
|
|
64
|
+
isFromOrgUnit: (roleId: string) => boolean;
|
|
65
|
+
onVisiblePermissionChange: (value: boolean) => void;
|
|
61
66
|
clearFilters(): void;
|
|
62
67
|
private hookToQuery;
|
|
63
68
|
buildForm(): void;
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volo/abp.ng.identity",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.1",
|
|
4
4
|
"homepage": "https://abp.io",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@abp/ng.components": "~7.2.
|
|
7
|
-
"@abp/ng.permission-management": "~7.2.
|
|
8
|
-
"@abp/ng.setting-management": "~7.2.
|
|
9
|
-
"@abp/ng.theme.shared": "~7.2.
|
|
10
|
-
"@volo/abp.commercial.ng.ui": "~7.2.
|
|
11
|
-
"@volo/abp.ng.account": "~7.2.
|
|
6
|
+
"@abp/ng.components": "~7.2.1",
|
|
7
|
+
"@abp/ng.permission-management": "~7.2.1",
|
|
8
|
+
"@abp/ng.setting-management": "~7.2.1",
|
|
9
|
+
"@abp/ng.theme.shared": "~7.2.1",
|
|
10
|
+
"@volo/abp.commercial.ng.ui": "~7.2.1",
|
|
11
|
+
"@volo/abp.ng.account": "~7.2.1",
|
|
12
12
|
"ng-zorro-antd": "^15.0.0",
|
|
13
13
|
"tslib": "^2.0.0"
|
|
14
14
|
},
|