verben-authentication-ui 0.7.4 → 0.7.6

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.
@@ -23,7 +23,7 @@ export declare class OAuthComponent implements OnInit {
23
23
  oAuthWithGoogle(data: AuthMechanism): void;
24
24
  oAuthWithApple(): void;
25
25
  oAuthWithMicrosoft(data: AuthMechanism): void;
26
- checkForValue(value: string): "" | "google-logo" | "apple-logo" | "microsoft-logo";
26
+ checkForValue(value: string): "google-logo" | "apple-logo" | "microsoft-logo" | "";
27
27
  handleOauthClick(value: AuthMechanism): void | "";
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<OAuthComponent, never>;
29
29
  static ɵcmp: i0.ɵɵComponentDeclaration<OAuthComponent, "verben-o-auth", never, { "authMechanisms": { "alias": "authMechanisms"; "required": false; }; }, { "emitMechanismFn": "emitMechanismFn"; }, never, never, false, never>;
@@ -9,6 +9,8 @@ import { UserManagementFormComponent } from './user-management-form/use-manageme
9
9
  import { Subject } from 'rxjs';
10
10
  import { ConditionOptions } from '../../models/conditions';
11
11
  import { ActivatedRoute } from '@angular/router';
12
+ import { UserAccessRequestService } from '../user-request-approval/services/user-access-request.service';
13
+ import { Role } from '../../models/Role';
12
14
  import * as i0 from "@angular/core";
13
15
  interface TestParentObject {
14
16
  Id: string;
@@ -17,6 +19,7 @@ interface TestParentObject {
17
19
  export declare class UserManagementComponent {
18
20
  private route;
19
21
  private userManagementService;
22
+ private userRole;
20
23
  private server;
21
24
  private utilService;
22
25
  private envSvc;
@@ -38,17 +41,20 @@ export declare class UserManagementComponent {
38
41
  limit: number;
39
42
  sortParam: string;
40
43
  sortOrder: string;
44
+ Roles: Role[];
41
45
  dataFit: PagedResult<UserManagement>;
42
46
  currentFilters: IDataFilter[];
43
47
  currentSorts: IDataFilter[];
44
48
  role: string;
45
49
  cardContextHistory: CardData[];
46
50
  param: string | null | undefined;
47
- constructor(route: ActivatedRoute, userManagementService: UserManagementService, server: HttpWebRequestService, utilService: UtilService, envSvc: EnvironmentService);
51
+ constructor(route: ActivatedRoute, userManagementService: UserManagementService, userRole: UserAccessRequestService, server: HttpWebRequestService, utilService: UtilService, envSvc: EnvironmentService);
48
52
  ngOnInit(): Promise<void>;
49
53
  cardData: CardData[];
50
54
  data: any[];
51
55
  fetchUsers(sortValue?: string, order?: string): Promise<void>;
56
+ getRoles(): Promise<undefined>;
57
+ handleRoleId(value: string): string;
52
58
  /**
53
59
  * Format users into CardData for the UI library
54
60
  * @param users Array of users to format
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verben-authentication-ui",
3
- "version": "0.7.4",
3
+ "version": "0.7.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0 || ^18.0.0",
6
6
  "@angular/core": "^14.0.0 || ^18.0.0",