@volo/abp.ng.identity 8.0.0 → 8.0.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 (69) hide show
  1. package/esm2022/config/components/authority-delegation/authority-delegation.component.mjs +3 -3
  2. package/esm2022/config/components/authority-delegation/authority-delegation.module.mjs +4 -4
  3. package/esm2022/config/components/authority-delegation/create-user-delegate.component.mjs +3 -3
  4. package/esm2022/config/components/authority-delegation/list-authority-delegation.component.mjs +3 -3
  5. package/esm2022/config/components/authority-delegation/my-delegated-users.component.mjs +3 -3
  6. package/esm2022/config/components/identity-setting-tabs/identity-external-login-settings.component.mjs +3 -3
  7. package/esm2022/config/components/identity-setting-tabs/identity-ldap-settings.component.mjs +3 -3
  8. package/esm2022/config/components/identity-setting-tabs/identity-setting.component.mjs +3 -3
  9. package/esm2022/config/components/identity-settings.component.mjs +3 -3
  10. package/esm2022/config/components/my-link-users-modal.component.mjs +3 -3
  11. package/esm2022/config/handlers/link-login.handler.mjs +3 -3
  12. package/esm2022/config/identity-config.module.mjs +4 -4
  13. package/esm2022/config/services/authority-delegation.service.mjs +3 -3
  14. package/esm2022/config/services/identity-config.service.mjs +3 -3
  15. package/esm2022/config/services/identity-link-login.service.mjs +3 -3
  16. package/esm2022/lib/components/claim-modal/claim-modal.component.mjs +75 -37
  17. package/esm2022/lib/components/claims/claims.component.mjs +3 -3
  18. package/esm2022/lib/components/export-excel/export-data-dropdown.component.mjs +3 -3
  19. package/esm2022/lib/components/export-excel/upload-excel-file.component.mjs +3 -3
  20. package/esm2022/lib/components/external-login/external-login.component.mjs +3 -3
  21. package/esm2022/lib/components/external-login/user-dropdown-menu/user-dropdown-menu.component.mjs +3 -3
  22. package/esm2022/lib/components/organization-units/abstract-organization-unit/abstract-organization-unit.component.mjs +5 -4
  23. package/esm2022/lib/components/organization-units/delete-organization-unit/delete-organization-unit.component.mjs +3 -3
  24. package/esm2022/lib/components/organization-units/move-all-users-of-unit/move-all-users-of-unit.component.mjs +3 -3
  25. package/esm2022/lib/components/organization-units/organization-members/organization-members-modal-body.component.mjs +3 -3
  26. package/esm2022/lib/components/organization-units/organization-members/organization-members.component.mjs +3 -3
  27. package/esm2022/lib/components/organization-units/organization-roles/organization-roles-modal-body.component.mjs +3 -3
  28. package/esm2022/lib/components/organization-units/organization-roles/organization-roles.component.mjs +3 -3
  29. package/esm2022/lib/components/organization-units/organization-units.component.mjs +13 -6
  30. package/esm2022/lib/components/organization-units/selected-organization-unit/selected-organization-unit.component.mjs +3 -3
  31. package/esm2022/lib/components/roles/delete-role/role-delete.component.mjs +3 -3
  32. package/esm2022/lib/components/roles/edit-new-modal/roles-modal.component.mjs +3 -3
  33. package/esm2022/lib/components/roles/move-all-users/move-all-users.component.mjs +3 -3
  34. package/esm2022/lib/components/roles/roles.component.mjs +6 -6
  35. package/esm2022/lib/components/security-logs/security-logs.component.mjs +3 -3
  36. package/esm2022/lib/components/users/user-lock-modal.component.mjs +3 -3
  37. package/esm2022/lib/components/users/user-lock.service.mjs +3 -3
  38. package/esm2022/lib/components/users/user-view-details/user-view-details.component.mjs +3 -3
  39. package/esm2022/lib/components/users/users.component.mjs +3 -3
  40. package/esm2022/lib/defaults/claims/default-claims-form-props.mjs +2 -1
  41. package/esm2022/lib/guards/extensions.guard.mjs +3 -3
  42. package/esm2022/lib/identity-routing.module.mjs +4 -4
  43. package/esm2022/lib/identity.module.mjs +4 -4
  44. package/esm2022/lib/services/delete-organization-unit-modal.service.mjs +3 -3
  45. package/esm2022/lib/services/excel.service.mjs +3 -3
  46. package/esm2022/lib/services/move-all-users-of-unit-modal.service.mjs +3 -3
  47. package/esm2022/lib/services/organization-units-state.service.mjs +3 -3
  48. package/esm2022/lib/services/user-view-detail.service.mjs +3 -3
  49. package/esm2022/lib/validators/index.mjs +2 -0
  50. package/esm2022/lib/validators/regex.validator.mjs +26 -0
  51. package/esm2022/proxy/lib/proxy/identity/identity-claim-type.service.mjs +3 -3
  52. package/esm2022/proxy/lib/proxy/identity/identity-external-login.service.mjs +3 -3
  53. package/esm2022/proxy/lib/proxy/identity/identity-role.service.mjs +3 -3
  54. package/esm2022/proxy/lib/proxy/identity/identity-security-log.service.mjs +3 -3
  55. package/esm2022/proxy/lib/proxy/identity/identity-settings.service.mjs +3 -3
  56. package/esm2022/proxy/lib/proxy/identity/identity-user-lookup.service.mjs +3 -3
  57. package/esm2022/proxy/lib/proxy/identity/identity-user.service.mjs +3 -3
  58. package/esm2022/proxy/lib/proxy/identity/organization-unit.service.mjs +3 -3
  59. package/esm2022/public-api.mjs +2 -1
  60. package/fesm2022/volo-abp.ng.identity-config.mjs +47 -47
  61. package/fesm2022/volo-abp.ng.identity-proxy.mjs +24 -24
  62. package/fesm2022/volo-abp.ng.identity.mjs +199 -129
  63. package/fesm2022/volo-abp.ng.identity.mjs.map +1 -1
  64. package/lib/components/claim-modal/claim-modal.component.d.ts +18 -9
  65. package/lib/components/organization-units/organization-units.component.d.ts +1 -0
  66. package/lib/validators/index.d.ts +1 -0
  67. package/lib/validators/regex.validator.d.ts +3 -0
  68. package/package.json +7 -7
  69. package/public-api.d.ts +1 -0
@@ -1,17 +1,21 @@
1
- import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
1
+ import { EventEmitter, OnChanges, SimpleChanges, Injector } from '@angular/core';
2
2
  import { ClaimTypeDto, IdentityRoleClaimDto, IdentityRoleService, IdentityUserClaimDto, IdentityUserService } from '@volo/abp.ng.identity/proxy';
3
3
  import { SubscriptionService } from '@abp/ng.core';
4
- import { FormGroupDirective, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
4
+ import { FormBuilder, FormGroup, FormGroupDirective } from '@angular/forms';
5
+ import { ConfirmationService } from '@abp/ng.theme.shared';
5
6
  import * as i0 from "@angular/core";
6
7
  type Claim = IdentityUserClaimDto | IdentityRoleClaimDto;
7
8
  type ClaimTypes = Claim & {
8
9
  inputType?: string;
9
10
  };
10
11
  export declare class ClaimModalComponent implements OnChanges {
11
- private roleService;
12
- private userService;
13
- private subscription;
14
- private fb;
12
+ #private;
13
+ protected readonly roleService: IdentityRoleService;
14
+ protected readonly userService: IdentityUserService;
15
+ protected readonly subscription: SubscriptionService;
16
+ protected readonly injector: Injector;
17
+ protected readonly fb: FormBuilder;
18
+ protected readonly confirmationService: ConfirmationService;
15
19
  protected _visible: any;
16
20
  subject: {
17
21
  id: string;
@@ -25,11 +29,16 @@ export declare class ClaimModalComponent implements OnChanges {
25
29
  inputType: string;
26
30
  subjectClaims: ClaimTypes[];
27
31
  service: IdentityRoleService | IdentityUserService;
28
- form: UntypedFormGroup;
29
- constructor(roleService: IdentityRoleService, userService: IdentityUserService, subscription: SubscriptionService, fb: UntypedFormBuilder);
32
+ form: FormGroup;
33
+ regex: string;
34
+ regexDescription: string;
30
35
  ngOnChanges({ visible, subject }: SimpleChanges): void;
31
36
  initModal(): void;
32
- claimTypeChange(item?: any): string;
37
+ get claimType(): import("@angular/forms").AbstractControl<any, any>;
38
+ get claimValue(): import("@angular/forms").AbstractControl<any, any>;
39
+ findClaim(claimName: string): ClaimTypeDto;
40
+ resetClaimValidations(): void;
41
+ claimTypeChange(): string;
33
42
  private getClaimTypeNames;
34
43
  private getSubjectClaims;
35
44
  addClaim(ngForm: FormGroupDirective): void;
@@ -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
+ refreshSelectedUnit(): void;
32
33
  get: () => void;
33
34
  buildForm(selected?: OrganizationUnitWithDetailsDto): void;
34
35
  add(): void;
@@ -0,0 +1 @@
1
+ export * from './regex.validator';
@@ -0,0 +1,3 @@
1
+ import { Injector } from "@angular/core";
2
+ import { ValidatorFn } from "@angular/forms";
3
+ export declare function regexValidator(regexPattern: string, regexDescription: string, injector: Injector): ValidatorFn;
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@volo/abp.ng.identity",
3
- "version": "8.0.0",
3
+ "version": "8.0.2",
4
4
  "homepage": "https://abp.io",
5
5
  "dependencies": {
6
- "@abp/ng.components": "~8.0.0",
7
- "@abp/ng.permission-management": "~8.0.0",
8
- "@abp/ng.setting-management": "~8.0.0",
9
- "@abp/ng.theme.shared": "~8.0.0",
10
- "@volo/abp.commercial.ng.ui": "~8.0.0",
11
- "@volo/abp.ng.account": "~8.0.0",
6
+ "@abp/ng.components": "~8.0.2",
7
+ "@abp/ng.permission-management": "~8.0.2",
8
+ "@abp/ng.setting-management": "~8.0.2",
9
+ "@abp/ng.theme.shared": "~8.0.2",
10
+ "@volo/abp.commercial.ng.ui": "~8.0.2",
11
+ "@volo/abp.ng.account": "~8.0.2",
12
12
  "tslib": "^2.0.0"
13
13
  },
14
14
  "publishConfig": {
package/public-api.d.ts CHANGED
@@ -7,3 +7,4 @@ export * from './lib/models';
7
7
  export * from './lib/tokens';
8
8
  export * from './lib/services';
9
9
  export * from './lib/resolvers';
10
+ export * from './lib/validators';