@trudb/tru-common-lib 0.0.747 → 0.0.749

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.
@@ -0,0 +1,4 @@
1
+ export declare class TruPasswordChangeRequest {
2
+ currentPassword: string;
3
+ newPassword: string;
4
+ }
@@ -2,11 +2,11 @@ import { MatDialogRef } from '@angular/material/dialog';
2
2
  import { OnInit } from '@angular/core';
3
3
  import { FormControl } from '@angular/forms';
4
4
  import { TruAppEnvironment } from '../../services/tru-app-environment';
5
- import { TruUser } from '../../services/tru-user';
5
+ import { HttpClient } from '@angular/common/http';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class TruPasswordDialog implements OnInit {
8
8
  dialogRef: MatDialogRef<TruPasswordDialog>;
9
- private user;
9
+ private http;
10
10
  private appEnvironment;
11
11
  data: TruPasswordDialog;
12
12
  currentPasswordControl: FormControl;
@@ -16,14 +16,15 @@ export declare class TruPasswordDialog implements OnInit {
16
16
  message: string | null;
17
17
  showPassword: boolean;
18
18
  passwordScore: number | null;
19
- private userEntity;
20
- constructor(dialogRef: MatDialogRef<TruPasswordDialog>, user: TruUser, appEnvironment: TruAppEnvironment, data: TruPasswordDialog);
19
+ errorMsg: string | null;
20
+ private baseUrl;
21
+ constructor(dialogRef: MatDialogRef<TruPasswordDialog>, http: HttpClient, appEnvironment: TruAppEnvironment, data: TruPasswordDialog);
21
22
  ngOnInit(): void;
22
23
  onPasswordStrengthChanged: (score: number | null) => void;
23
24
  onShowPasswordClicked: () => void;
24
25
  canSubmit: () => any;
25
- onConfirm(): void;
26
- onDismiss(): void;
26
+ onConfirm: () => void;
27
+ onDismiss: () => void;
27
28
  static ɵfac: i0.ɵɵFactoryDeclaration<TruPasswordDialog, never>;
28
29
  static ɵcmp: i0.ɵɵComponentDeclaration<TruPasswordDialog, "tru-password-dialog", never, {}, {}, never, never, false, never>;
29
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trudb/tru-common-lib",
3
- "version": "0.0.747",
3
+ "version": "0.0.749",
4
4
  "type": "module",
5
5
  "peerDependencies": {},
6
6
  "dependencies": {
@@ -1,4 +0,0 @@
1
- export class TruAuthLogoutRequest {
2
- username;
3
- }
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJ1LWF1dGgtbG9nb3V0LXJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90cnUtY29tbW9uLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvbG9naW4vY2xhc3Nlcy90cnUtYXV0aC1sb2dvdXQtcmVxdWVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLE9BQU8sb0JBQW9CO0lBQy9CLFFBQVEsQ0FBVTtDQUNuQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBUcnVBdXRoTG9nb3V0UmVxdWVzdCB7XHJcbiAgdXNlcm5hbWUhOiBzdHJpbmc7XHJcbn1cclxuIl19
@@ -1,4 +0,0 @@
1
- export class TruAuthUserRequest {
2
- username;
3
- }
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJ1LWF1dGgtdXNlci1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJ1LWNvbW1vbi1saWIvc3JjL2xpYi9jb21wb25lbnRzL2xvZ2luL2NsYXNzZXMvdHJ1LWF1dGgtdXNlci1yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyxrQkFBa0I7SUFDM0IsUUFBUSxDQUFVO0NBQ3JCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIFRydUF1dGhVc2VyUmVxdWVzdCB7XHJcbiAgICB1c2VybmFtZSE6IHN0cmluZztcclxufVxyXG4iXX0=
@@ -1,3 +0,0 @@
1
- export declare class TruAuthLogoutRequest {
2
- username: string;
3
- }
@@ -1,3 +0,0 @@
1
- export declare class TruAuthUserRequest {
2
- username: string;
3
- }