@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.
- package/esm2022/lib/components/login/services/tru-auth.mjs +1 -1
- package/esm2022/lib/components/password-dialog/classes/tru-password-change-request.mjs +5 -0
- package/esm2022/lib/components/password-dialog/tru-password-dialog.mjs +35 -21
- package/fesm2022/trudb-tru-common-lib.mjs +68 -52
- package/fesm2022/trudb-tru-common-lib.mjs.map +1 -1
- package/lib/components/password-dialog/classes/tru-password-change-request.d.ts +4 -0
- package/lib/components/password-dialog/tru-password-dialog.d.ts +7 -6
- package/package.json +1 -1
- package/esm2022/lib/components/login/classes/tru-auth-logout-request.mjs +0 -4
- package/esm2022/lib/components/login/classes/tru-auth-user-request.mjs +0 -4
- package/lib/components/login/classes/tru-auth-logout-request.d.ts +0 -3
- package/lib/components/login/classes/tru-auth-user-request.d.ts +0 -3
|
@@ -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 {
|
|
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
|
|
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
|
-
|
|
20
|
-
|
|
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()
|
|
26
|
-
onDismiss()
|
|
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,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=
|