@eo4geo/ngx-bok-utils 1.5.5 → 1.5.7

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.
@@ -1,11 +1,15 @@
1
1
  import { Subscription } from "rxjs";
2
2
  import { MessageService, ConfirmationService } from "primeng/api";
3
3
  import { OrganizationService } from "../../services/organization.service";
4
+ import { UserService } from "../../services/user.service";
5
+ import { Router } from "@angular/router";
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class OrganizationPageComponent {
6
8
  private orgService;
7
9
  private messageService;
8
10
  private confirmationService;
11
+ private userService;
12
+ private router;
9
13
  userOrganizations: {
10
14
  _id: string;
11
15
  name: string;
@@ -33,7 +37,8 @@ export declare class OrganizationPageComponent {
33
37
  };
34
38
  newOrganizationError: boolean;
35
39
  newOrganizationAcordion: never[];
36
- constructor(orgService: OrganizationService, messageService: MessageService, confirmationService: ConfirmationService);
40
+ userStateSubscription: Subscription;
41
+ constructor(orgService: OrganizationService, messageService: MessageService, confirmationService: ConfirmationService, userService: UserService, router: Router);
37
42
  ngOnInit(): void;
38
43
  ngOnDestroy(): void;
39
44
  leaveOrganization(orgId: string, orgName: string): void;
@@ -1,15 +1,18 @@
1
1
  import { Subscription } from "rxjs";
2
2
  import { UserService } from "../../services/user.service";
3
3
  import { MessageService } from "primeng/api";
4
+ import { Router } from "@angular/router";
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class UserPageComponent {
6
7
  private userService;
7
8
  private messageService;
9
+ private router;
8
10
  userSubscription: Subscription;
11
+ userStateSubscription: Subscription;
9
12
  email: string;
10
13
  name: string;
11
14
  newName: string;
12
- constructor(userService: UserService, messageService: MessageService);
15
+ constructor(userService: UserService, messageService: MessageService, router: Router);
13
16
  ngOnInit(): void;
14
17
  ngOnDestroy(): void;
15
18
  updateName(): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eo4geo/ngx-bok-utils",
3
- "version": "1.5.5",
3
+ "version": "1.5.7",
4
4
  "author": "Marc Pardo Fernández",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {