@volo/abp.ng.identity 5.0.0-beta.3 → 5.0.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/README.md +2 -2
- package/bundles/volo-abp.ng.identity-config.umd.js +1 -1
- package/bundles/volo-abp.ng.identity-proxy.umd.js +1 -1
- package/bundles/volo-abp.ng.identity.umd.js +2 -2
- package/config/components/my-link-users-modal.component.d.ts +7 -0
- package/config/handlers/link-login.handler.d.ts +3 -2
- package/esm2015/config/components/identity-settings.component.js +1 -1
- package/esm2015/config/components/my-link-users-modal.component.js +1 -1
- package/esm2015/config/handlers/link-login.handler.js +1 -1
- package/esm2015/config/identity-config.module.js +1 -1
- package/esm2015/config/services/identity-config.service.js +1 -1
- package/esm2015/config/services/identity-link-login.service.js +1 -1
- package/esm2015/lib/components/claim-modal/claim-modal.component.js +1 -1
- package/esm2015/lib/components/claims/claims.component.js +1 -1
- package/esm2015/lib/components/organization-units/abstract-organization-unit/abstract-organization-unit.component.js +1 -1
- package/esm2015/lib/components/organization-units/organization-members/organization-members-modal-body.component.js +1 -1
- package/esm2015/lib/components/organization-units/organization-members/organization-members.component.js +1 -1
- package/esm2015/lib/components/organization-units/organization-roles/organization-roles-modal-body.component.js +1 -1
- package/esm2015/lib/components/organization-units/organization-roles/organization-roles.component.js +1 -1
- package/esm2015/lib/components/organization-units/organization-units.component.js +1 -1
- package/esm2015/lib/components/roles/roles.component.js +1 -1
- package/esm2015/lib/components/security-logs/security-logs.component.js +1 -1
- package/esm2015/lib/components/users/users.component.js +1 -1
- package/esm2015/lib/defaults/default-users-entity-actions.js +1 -1
- package/esm2015/lib/guards/extensions.guard.js +1 -1
- package/esm2015/lib/identity-routing.module.js +1 -1
- package/esm2015/lib/identity.module.js +1 -1
- package/esm2015/proxy/lib/proxy/identity/identity-claim-type.service.js +1 -1
- package/esm2015/proxy/lib/proxy/identity/identity-role.service.js +1 -1
- package/esm2015/proxy/lib/proxy/identity/identity-security-log.service.js +1 -1
- package/esm2015/proxy/lib/proxy/identity/identity-settings.service.js +1 -1
- package/esm2015/proxy/lib/proxy/identity/identity-user-lookup.service.js +1 -1
- package/esm2015/proxy/lib/proxy/identity/identity-user.service.js +1 -1
- package/esm2015/proxy/lib/proxy/identity/organization-unit.service.js +1 -1
- package/fesm2015/volo-abp.ng.identity-config.js +70 -29
- package/fesm2015/volo-abp.ng.identity-proxy.js +25 -25
- package/fesm2015/volo-abp.ng.identity.js +211 -189
- package/lib/components/users/users.component.d.ts +2 -10
- package/lib/identity.module.d.ts +2 -1
- package/package.json +7 -7
- package/proxy/lib/proxy/identity/identity-user.service.d.ts +1 -1
- package/proxy/lib/proxy/identity/models.d.ts +3 -0
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
import { ConfigStateService, ListService, PagedResultDto } from '@abp/ng.core';
|
|
2
2
|
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
3
|
+
import { FormProp } from '@abp/ng.theme.shared/extensions';
|
|
3
4
|
import { Injector, OnInit, TemplateRef, TrackByFunction } from '@angular/core';
|
|
4
5
|
import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
|
|
5
6
|
import { GetIdentityUsersInput, IdentityRoleDto, IdentityRoleService, IdentityUserDto, IdentityUserService, OrganizationUnitDto, OrganizationUnitService, OrganizationUnitWithDetailsDto } from '@volo/abp.ng.identity/proxy';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
declare enum UserLockDurationType {
|
|
8
|
-
Second = 1,
|
|
9
|
-
Minute = 60,
|
|
10
|
-
Hour = 3600,
|
|
11
|
-
Day = 86400,
|
|
12
|
-
Month = 2592000,
|
|
13
|
-
Year = 31536000
|
|
14
|
-
}
|
|
15
8
|
export declare class UsersComponent implements OnInit {
|
|
16
9
|
readonly list: ListService<GetIdentityUsersInput>;
|
|
17
10
|
confirmationService: ConfirmationService;
|
|
@@ -55,7 +48,7 @@ export declare class UsersComponent implements OnInit {
|
|
|
55
48
|
isOptional: boolean;
|
|
56
49
|
};
|
|
57
50
|
lockForm: FormGroup;
|
|
58
|
-
|
|
51
|
+
dateTimePickerProps: Partial<FormProp<any>>;
|
|
59
52
|
trackByFn: TrackByFunction<AbstractControl>;
|
|
60
53
|
get roleGroups(): FormGroup[];
|
|
61
54
|
onVisiblePermissionChange: (value: boolean) => void;
|
|
@@ -79,4 +72,3 @@ export declare class UsersComponent implements OnInit {
|
|
|
79
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<UsersComponent, never>;
|
|
80
73
|
static ɵcmp: i0.ɵɵComponentDeclaration<UsersComponent, "abp-users", never, {}, {}, never, never>;
|
|
81
74
|
}
|
|
82
|
-
export {};
|
package/lib/identity.module.d.ts
CHANGED
|
@@ -21,10 +21,11 @@ import * as i17 from "@abp/ng.permission-management";
|
|
|
21
21
|
import * as i18 from "@ngx-validate/core";
|
|
22
22
|
import * as i19 from "@abp/ng.components/tree";
|
|
23
23
|
import * as i20 from "@abp/ng.components/page";
|
|
24
|
+
import * as i21 from "@abp/ng.theme.shared/extensions";
|
|
24
25
|
export declare class IdentityModule {
|
|
25
26
|
static forChild(options?: IdentityConfigOptions): ModuleWithProviders<IdentityModule>;
|
|
26
27
|
static forLazy(options?: IdentityConfigOptions): NgModuleFactory<IdentityModule>;
|
|
27
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<IdentityModule, never>;
|
|
28
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IdentityModule, [typeof i1.RolesComponent, typeof i2.UsersComponent, typeof i3.ClaimModalComponent, typeof i4.ClaimsComponent, typeof i5.OrganizationUnitsComponent, typeof i6.OrganizationMembersComponent, typeof i7.OrganizationMembersModalBodyComponent, typeof i8.OrganizationRolesComponent, typeof i9.OrganizationRolesModalBodyComponent, typeof i10.AbstractOrganizationUnitComponent, typeof i11.SecurityLogsComponent], [typeof i12.CoreModule, typeof i13.CommercialUiModule, typeof i14.IdentityRoutingModule, typeof i15.NgbNavModule, typeof i16.ThemeSharedModule, typeof i15.NgbDropdownModule, typeof i15.NgbDatepickerModule, typeof i17.PermissionManagementModule, typeof i18.NgxValidateCoreModule, typeof i19.TreeModule, typeof i20.PageModule, typeof i13.AdvancedEntityFiltersModule], [typeof i1.RolesComponent, typeof i2.UsersComponent, typeof i3.ClaimModalComponent, typeof i4.ClaimsComponent, typeof i5.OrganizationUnitsComponent, typeof i6.OrganizationMembersComponent, typeof i7.OrganizationMembersModalBodyComponent, typeof i8.OrganizationRolesComponent, typeof i9.OrganizationRolesModalBodyComponent, typeof i10.AbstractOrganizationUnitComponent, typeof i11.SecurityLogsComponent]>;
|
|
29
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IdentityModule, [typeof i1.RolesComponent, typeof i2.UsersComponent, typeof i3.ClaimModalComponent, typeof i4.ClaimsComponent, typeof i5.OrganizationUnitsComponent, typeof i6.OrganizationMembersComponent, typeof i7.OrganizationMembersModalBodyComponent, typeof i8.OrganizationRolesComponent, typeof i9.OrganizationRolesModalBodyComponent, typeof i10.AbstractOrganizationUnitComponent, typeof i11.SecurityLogsComponent], [typeof i12.CoreModule, typeof i13.CommercialUiModule, typeof i14.IdentityRoutingModule, typeof i15.NgbNavModule, typeof i16.ThemeSharedModule, typeof i15.NgbDropdownModule, typeof i15.NgbDatepickerModule, typeof i17.PermissionManagementModule, typeof i18.NgxValidateCoreModule, typeof i19.TreeModule, typeof i20.PageModule, typeof i13.AdvancedEntityFiltersModule, typeof i21.UiExtensionsModule], [typeof i1.RolesComponent, typeof i2.UsersComponent, typeof i3.ClaimModalComponent, typeof i4.ClaimsComponent, typeof i5.OrganizationUnitsComponent, typeof i6.OrganizationMembersComponent, typeof i7.OrganizationMembersModalBodyComponent, typeof i8.OrganizationRolesComponent, typeof i9.OrganizationRolesModalBodyComponent, typeof i10.AbstractOrganizationUnitComponent, typeof i11.SecurityLogsComponent]>;
|
|
29
30
|
static ɵinj: i0.ɵɵInjectorDeclaration<IdentityModule>;
|
|
30
31
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volo/abp.ng.identity",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"homepage": "https://abp.io",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@abp/ng.components": "~5.0.
|
|
7
|
-
"@abp/ng.permission-management": "~5.0.
|
|
8
|
-
"@abp/ng.setting-management": "~5.0.
|
|
9
|
-
"@abp/ng.theme.shared": "~5.0.
|
|
10
|
-
"@volo/abp.commercial.ng.ui": "~5.0.
|
|
11
|
-
"@volo/abp.ng.account": "~5.0.
|
|
6
|
+
"@abp/ng.components": "~5.0.1",
|
|
7
|
+
"@abp/ng.permission-management": "~5.0.1",
|
|
8
|
+
"@abp/ng.setting-management": "~5.0.1",
|
|
9
|
+
"@abp/ng.theme.shared": "~5.0.1",
|
|
10
|
+
"@volo/abp.commercial.ng.ui": "~5.0.1",
|
|
11
|
+
"@volo/abp.ng.account": "~5.0.1",
|
|
12
12
|
"ng-zorro-antd": "^12.0.1",
|
|
13
13
|
"tslib": "^2.0.0"
|
|
14
14
|
},
|
|
@@ -20,7 +20,7 @@ export declare class IdentityUserService {
|
|
|
20
20
|
getRoleLookup: () => import("rxjs").Observable<IdentityRoleLookupDto[]>;
|
|
21
21
|
getRoles: (id: string) => import("rxjs").Observable<ListResultDto<IdentityRoleDto>>;
|
|
22
22
|
getTwoFactorEnabled: (id: string) => import("rxjs").Observable<boolean>;
|
|
23
|
-
lock: (id: string,
|
|
23
|
+
lock: (id: string, lockoutEnd: string) => import("rxjs").Observable<void>;
|
|
24
24
|
setTwoFactorEnabled: (id: string, enabled: boolean) => import("rxjs").Observable<void>;
|
|
25
25
|
unlock: (id: string) => import("rxjs").Observable<void>;
|
|
26
26
|
update: (id: string, input: IdentityUserUpdateDto) => import("rxjs").Observable<IdentityUserDto>;
|
|
@@ -50,6 +50,8 @@ export interface GetIdentityUsersInput extends PagedAndSortedResultRequestDto {
|
|
|
50
50
|
userName?: string;
|
|
51
51
|
phoneNumber?: string;
|
|
52
52
|
emailAddress?: string;
|
|
53
|
+
isLockedOut?: boolean;
|
|
54
|
+
notActive?: boolean;
|
|
53
55
|
}
|
|
54
56
|
export interface GetOrganizationUnitInput extends PagedAndSortedResultRequestDto {
|
|
55
57
|
filter?: string;
|
|
@@ -151,6 +153,7 @@ export interface IdentityUserDto extends ExtensibleEntityDto<string> {
|
|
|
151
153
|
isActive: boolean;
|
|
152
154
|
lockoutEnabled: boolean;
|
|
153
155
|
isLockedOut: boolean;
|
|
156
|
+
lockoutEnd?: string;
|
|
154
157
|
concurrencyStamp?: string;
|
|
155
158
|
roleNames: string[];
|
|
156
159
|
}
|