@trudb/tru-common-lib 0.0.750 → 0.0.752

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.
@@ -3,29 +3,34 @@ import { OnInit } from '@angular/core';
3
3
  import { FormControl } from '@angular/forms';
4
4
  import { TruAppEnvironment } from '../../services/tru-app-environment';
5
5
  import { HttpClient } from '@angular/common/http';
6
+ import { TruUser } from '../../services/tru-user';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class TruPasswordDialog implements OnInit {
8
9
  dialogRef: MatDialogRef<TruPasswordDialog>;
9
10
  private http;
10
11
  private appEnvironment;
12
+ private user;
11
13
  data: TruPasswordDialog;
12
14
  currentPasswordControl: FormControl;
13
15
  newPasswordControl: FormControl;
14
16
  confirmNewPasswordControl: FormControl;
15
17
  showPasswordControl: FormControl;
18
+ username: string | null;
16
19
  message: string | null;
17
20
  showPassword: boolean;
18
21
  passwordScore: number | null;
19
22
  errorMsg: string | null;
20
23
  busy: boolean;
21
24
  private baseUrl;
22
- constructor(dialogRef: MatDialogRef<TruPasswordDialog>, http: HttpClient, appEnvironment: TruAppEnvironment, data: TruPasswordDialog);
23
- ngOnInit(): void;
25
+ private subs;
26
+ constructor(dialogRef: MatDialogRef<TruPasswordDialog>, http: HttpClient, appEnvironment: TruAppEnvironment, user: TruUser, data: TruPasswordDialog);
24
27
  onPasswordStrengthChanged: (score: number | null) => void;
25
28
  onShowPasswordClicked: () => void;
26
29
  canSubmit: () => any;
27
30
  onConfirm: () => void;
28
31
  onDismiss: () => void;
32
+ ngOnInit(): void;
33
+ ngOnDestroy(): void;
29
34
  static ɵfac: i0.ɵɵFactoryDeclaration<TruPasswordDialog, never>;
30
35
  static ɵcmp: i0.ɵɵComponentDeclaration<TruPasswordDialog, "tru-password-dialog", never, {}, {}, never, never, false, never>;
31
36
  }
@@ -14,6 +14,7 @@ export declare class TruValidationDialog implements OnInit, OnDestroy {
14
14
  onAccept: () => void;
15
15
  onDecline: () => void;
16
16
  ngOnInit(): void;
17
+ ngAfterViewInit(): void;
17
18
  ngOnDestroy(): void;
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<TruValidationDialog, never>;
19
20
  static ɵcmp: i0.ɵɵComponentDeclaration<TruValidationDialog, "tru-validation-dialog", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trudb/tru-common-lib",
3
- "version": "0.0.750",
3
+ "version": "0.0.752",
4
4
  "type": "module",
5
5
  "peerDependencies": {},
6
6
  "dependencies": {