@volo/abp.ng.identity 7.4.0 → 7.4.2

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.
Files changed (68) hide show
  1. package/config/components/authority-delegation/authority-delegation.module.d.ts +7 -7
  2. package/config/components/authority-delegation/create-user-delegate.component.d.ts +16 -8
  3. package/config/components/authority-delegation/list-authority-delegation.component.d.ts +5 -3
  4. package/config/public-api.d.ts +1 -0
  5. package/config/validators/delegation-time-range.validator.d.ts +2 -0
  6. package/config/validators/index.d.ts +1 -0
  7. package/esm2022/config/components/authority-delegation/authority-delegation.component.mjs +5 -6
  8. package/esm2022/config/components/authority-delegation/authority-delegation.module.mjs +13 -14
  9. package/esm2022/config/components/authority-delegation/create-user-delegate.component.mjs +34 -19
  10. package/esm2022/config/components/authority-delegation/list-authority-delegation.component.mjs +28 -27
  11. package/esm2022/config/components/authority-delegation/my-delegated-users.component.mjs +5 -6
  12. package/esm2022/config/components/identity-setting-tabs/identity-external-login-settings.component.mjs +5 -6
  13. package/esm2022/config/components/identity-setting-tabs/identity-ldap-settings.component.mjs +5 -6
  14. package/esm2022/config/components/identity-setting-tabs/identity-setting.component.mjs +5 -6
  15. package/esm2022/config/components/identity-settings.component.mjs +5 -6
  16. package/esm2022/config/components/my-link-users-modal.component.mjs +5 -6
  17. package/esm2022/config/handlers/link-login.handler.mjs +5 -6
  18. package/esm2022/config/identity-config.module.mjs +9 -10
  19. package/esm2022/config/public-api.mjs +2 -1
  20. package/esm2022/config/services/authority-delegation.service.mjs +5 -6
  21. package/esm2022/config/services/identity-config.service.mjs +5 -6
  22. package/esm2022/config/services/identity-link-login.service.mjs +5 -6
  23. package/esm2022/config/validators/delegation-time-range.validator.mjs +14 -0
  24. package/esm2022/config/validators/index.mjs +2 -0
  25. package/esm2022/lib/components/claim-modal/claim-modal.component.mjs +6 -7
  26. package/esm2022/lib/components/claims/claims.component.mjs +5 -6
  27. package/esm2022/lib/components/external-login/external-login.component.mjs +5 -6
  28. package/esm2022/lib/components/external-login/user-dropdown-menu/user-dropdown-menu.component.mjs +5 -6
  29. package/esm2022/lib/components/organization-units/abstract-organization-unit/abstract-organization-unit.component.mjs +5 -6
  30. package/esm2022/lib/components/organization-units/delete-organization-unit/delete-organization-unit.component.mjs +23 -28
  31. package/esm2022/lib/components/organization-units/delete-organization-unit/organization-unit-delete.validator.mjs +2 -2
  32. package/esm2022/lib/components/organization-units/move-all-users-of-unit/move-all-users-of-unit.component.mjs +5 -6
  33. package/esm2022/lib/components/organization-units/organization-members/organization-members-modal-body.component.mjs +5 -6
  34. package/esm2022/lib/components/organization-units/organization-members/organization-members.component.mjs +5 -6
  35. package/esm2022/lib/components/organization-units/organization-roles/organization-roles-modal-body.component.mjs +5 -6
  36. package/esm2022/lib/components/organization-units/organization-roles/organization-roles.component.mjs +5 -6
  37. package/esm2022/lib/components/organization-units/organization-units.component.mjs +5 -6
  38. package/esm2022/lib/components/organization-units/selected-organization-unit/selected-organization-unit.component.mjs +5 -6
  39. package/esm2022/lib/components/roles/move-all-users.component.mjs +5 -6
  40. package/esm2022/lib/components/roles/role-delete.component.mjs +29 -10
  41. package/esm2022/lib/components/roles/role-delete.validator.mjs +2 -2
  42. package/esm2022/lib/components/roles/roles.component.mjs +5 -6
  43. package/esm2022/lib/components/security-logs/security-logs.component.mjs +5 -6
  44. package/esm2022/lib/components/users/users.component.mjs +18 -9
  45. package/esm2022/lib/guards/extensions.guard.mjs +5 -6
  46. package/esm2022/lib/identity-routing.module.mjs +6 -7
  47. package/esm2022/lib/identity.module.mjs +6 -7
  48. package/esm2022/lib/services/delete-organization-unit-modal.service.mjs +5 -6
  49. package/esm2022/lib/services/move-all-users-of-unit-modal.service.mjs +5 -6
  50. package/esm2022/lib/services/organization-units-state.service.mjs +5 -6
  51. package/esm2022/proxy/lib/proxy/identity/identity-claim-type.service.mjs +5 -6
  52. package/esm2022/proxy/lib/proxy/identity/identity-external-login.service.mjs +5 -6
  53. package/esm2022/proxy/lib/proxy/identity/identity-role.service.mjs +5 -6
  54. package/esm2022/proxy/lib/proxy/identity/identity-security-log.service.mjs +5 -6
  55. package/esm2022/proxy/lib/proxy/identity/identity-settings.service.mjs +5 -6
  56. package/esm2022/proxy/lib/proxy/identity/identity-user-lookup.service.mjs +5 -6
  57. package/esm2022/proxy/lib/proxy/identity/identity-user.service.mjs +5 -6
  58. package/esm2022/proxy/lib/proxy/identity/organization-unit.service.mjs +5 -6
  59. package/fesm2022/volo-abp.ng.identity-config.mjs +113 -86
  60. package/fesm2022/volo-abp.ng.identity-config.mjs.map +1 -1
  61. package/fesm2022/volo-abp.ng.identity-proxy.mjs +24 -24
  62. package/fesm2022/volo-abp.ng.identity-proxy.mjs.map +1 -1
  63. package/fesm2022/volo-abp.ng.identity.mjs +128 -103
  64. package/fesm2022/volo-abp.ng.identity.mjs.map +1 -1
  65. package/lib/components/organization-units/delete-organization-unit/delete-organization-unit.component.d.ts +5 -3
  66. package/lib/components/roles/role-delete.component.d.ts +5 -1
  67. package/lib/components/users/users.component.d.ts +3 -1
  68. package/package.json +7 -8
@@ -1,9 +1,10 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { DestroyRef, EventEmitter, OnInit } from '@angular/core';
2
2
  import { DeleteOrganizationUnitService } from '../../../services';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class DeleteOrganizationUnitComponent implements OnInit {
5
5
  #private;
6
6
  protected readonly service: DeleteOrganizationUnitService;
7
+ protected readonly destroyRef: DestroyRef;
7
8
  protected readonly trackByFn: import("@angular/core").TrackByFunction<{
8
9
  id: any;
9
10
  }>;
@@ -11,11 +12,12 @@ export declare class DeleteOrganizationUnitComponent implements OnInit {
11
12
  assignType: import("@angular/forms").FormControl<boolean>;
12
13
  organizationUnitId: import("@angular/forms").FormControl<string>;
13
14
  }>;
14
- orgUnitChanges: import("@angular/core").Signal<string>;
15
- orgUnitValidation: import("@angular/core").Signal<any>;
15
+ get assignType(): import("@angular/forms").FormControl<boolean>;
16
+ get organizationUnitId(): import("@angular/forms").FormControl<string>;
16
17
  deleted: EventEmitter<void>;
17
18
  ngOnInit(): void;
18
19
  onVisibleChange($event: boolean): void;
20
+ showAssignErrorMessage(): boolean;
19
21
  save(): Promise<void>;
20
22
  static ɵfac: i0.ɵɵFactoryDeclaration<DeleteOrganizationUnitComponent, never>;
21
23
  static ɵcmp: i0.ɵɵComponentDeclaration<DeleteOrganizationUnitComponent, "abp-delete-organization-unit", never, {}, { "deleted": "deleted"; }, never, never, true, never>;
@@ -1,4 +1,4 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { DestroyRef, EventEmitter, OnInit } from '@angular/core';
2
2
  import { TrackByService } from '@abp/ng.core';
3
3
  import { FormBuilder } from '@angular/forms';
4
4
  import { RoleVisibleChange } from './role-edit.modal';
@@ -19,13 +19,17 @@ export declare class RoleDeleteComponent implements OnInit {
19
19
  }>;
20
20
  protected readonly service: IdentityRoleService;
21
21
  protected readonly fb: FormBuilder;
22
+ protected readonly destroyRef: DestroyRef;
22
23
  form: import("@angular/forms").FormGroup<{
23
24
  assignType: import("@angular/forms").FormControl<boolean>;
24
25
  role: import("@angular/forms").FormControl<string>;
25
26
  }>;
26
27
  get assignType$(): import("rxjs").Observable<boolean>;
28
+ get assignType(): import("@angular/forms").FormControl<boolean>;
29
+ get role(): import("@angular/forms").FormControl<string>;
27
30
  onVisibleChange($event: boolean): void;
28
31
  ngOnInit(): void;
32
+ showAssignErrorMessage(): boolean;
29
33
  save(): Promise<void>;
30
34
  static ɵfac: i0.ɵɵFactoryDeclaration<RoleDeleteComponent, never>;
31
35
  static ɵcmp: i0.ɵɵComponentDeclaration<RoleDeleteComponent, "abp-role-delete", never, { "visible": { "alias": "visible"; "required": true; }; "selected": { "alias": "selected"; "required": true; }; }, { "visibleChange": "visibleChange"; }, never, never, false, never>;
@@ -3,7 +3,7 @@ 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';
5
5
  import { AbstractControl, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
6
- import { GetIdentityUsersInput, IdentityRoleDto, IdentityRoleService, IdentityUserDto, IdentityUserService, OrganizationUnitDto, OrganizationUnitService, OrganizationUnitWithDetailsDto } from '@volo/abp.ng.identity/proxy';
6
+ import { GetIdentityUsersInput, IdentityRoleDto, IdentityRoleLookupDto, IdentityRoleService, IdentityUserDto, IdentityUserService, OrganizationUnitDto, OrganizationUnitLookupDto, OrganizationUnitService, OrganizationUnitWithDetailsDto } from '@volo/abp.ng.identity/proxy';
7
7
  import { Observable } from 'rxjs';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class UsersComponent implements OnInit {
@@ -78,6 +78,8 @@ export declare class UsersComponent implements OnInit {
78
78
  generatePassword(): void;
79
79
  lock(): void;
80
80
  setTwoFactor(): void;
81
+ getOrganizationUnitLookup(): () => Observable<PagedResultDto<OrganizationUnitLookupDto>>;
82
+ getRolesLookup(): () => Observable<PagedResultDto<IdentityRoleLookupDto>>;
81
83
  static ɵfac: i0.ɵɵFactoryDeclaration<UsersComponent, never>;
82
84
  static ɵcmp: i0.ɵɵComponentDeclaration<UsersComponent, "abp-users", never, {}, {}, never, never, false, never>;
83
85
  }
package/package.json CHANGED
@@ -1,15 +1,14 @@
1
1
  {
2
2
  "name": "@volo/abp.ng.identity",
3
- "version": "7.4.0",
3
+ "version": "7.4.2",
4
4
  "homepage": "https://abp.io",
5
5
  "dependencies": {
6
- "@abp/ng.components": "~7.4.0",
7
- "@abp/ng.permission-management": "~7.4.0",
8
- "@abp/ng.setting-management": "~7.4.0",
9
- "@abp/ng.theme.shared": "~7.4.0",
10
- "@volo/abp.commercial.ng.ui": "~7.4.0",
11
- "@volo/abp.ng.account": "~7.4.0",
12
- "ng-zorro-antd": "^16.0.0",
6
+ "@abp/ng.components": "~7.4.2",
7
+ "@abp/ng.permission-management": "~7.4.2",
8
+ "@abp/ng.setting-management": "~7.4.2",
9
+ "@abp/ng.theme.shared": "~7.4.2",
10
+ "@volo/abp.commercial.ng.ui": "~7.4.2",
11
+ "@volo/abp.ng.account": "~7.4.2",
13
12
  "tslib": "^2.0.0"
14
13
  },
15
14
  "publishConfig": {