verben-authentication-ui 0.2.0 → 0.2.2
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/reset-password/reset-password.component.mjs +1 -1
- package/esm2022/lib/components/sign-in/sign-in.component.mjs +5 -4
- package/esm2022/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.mjs +45 -28
- package/esm2022/lib/components/user-request-approval/user-request-approval.service.mjs +1 -1
- package/esm2022/lib/models/mainUser.mjs +2 -0
- package/esm2022/lib/models/otpValue.mjs +2 -0
- package/esm2022/lib/services/environment.service.mjs +1 -1
- package/esm2022/lib/services/http-web-request.service.mjs +3 -3
- package/fesm2022/verben-authentication-ui.mjs +48 -32
- package/fesm2022/verben-authentication-ui.mjs.map +1 -1
- package/lib/components/sign-in/sign-in.component.d.ts +2 -1
- package/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.d.ts +5 -1
- package/lib/models/mainUser.d.ts +19 -0
- package/lib/models/otpValue.d.ts +9 -0
- package/lib/services/environment.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ import { HttpWebRequestService } from '../../services/http-web-request.service';
|
|
|
5
5
|
import { UtilService } from '../../services/util.service';
|
|
6
6
|
import { ErrorResponse } from '../../models/ErrorResponse';
|
|
7
7
|
import { ResponseKeyValue } from '../../models/ResponseKeyValue';
|
|
8
|
+
import { BehaviorSubject } from 'rxjs';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class SignInComponent {
|
|
10
11
|
private fb;
|
|
@@ -43,7 +44,7 @@ export declare class SignInComponent {
|
|
|
43
44
|
inputBorderRadius: string;
|
|
44
45
|
termsErrorText: string;
|
|
45
46
|
formSubmit: EventEmitter<LoginData>;
|
|
46
|
-
onSubmitEnd:
|
|
47
|
+
onSubmitEnd: BehaviorSubject<ResponseKeyValue | ErrorResponse | undefined>;
|
|
47
48
|
googleClick: EventEmitter<any>;
|
|
48
49
|
appleClick: EventEmitter<any>;
|
|
49
50
|
loginForm: FormGroup;
|
|
@@ -4,6 +4,8 @@ import { HttpWebRequestService } from '../../services/http-web-request.service';
|
|
|
4
4
|
import { UtilService } from '../../services/util.service';
|
|
5
5
|
import { ErrorResponse } from '../../models/ErrorResponse';
|
|
6
6
|
import { ResponseKeyValue } from '../../models/ResponseKeyValue';
|
|
7
|
+
import { OtpData } from '../../models/otpValue';
|
|
8
|
+
import { MainUser } from '../../models/mainUser';
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
8
10
|
export declare class TwoFactorAuthOtpComponent {
|
|
9
11
|
private fb;
|
|
@@ -26,6 +28,8 @@ export declare class TwoFactorAuthOtpComponent {
|
|
|
26
28
|
height: string;
|
|
27
29
|
length: number;
|
|
28
30
|
otpClass: string;
|
|
31
|
+
User: MainUser;
|
|
32
|
+
OtpData: OtpData;
|
|
29
33
|
btnClass: string;
|
|
30
34
|
btnBgColor: string;
|
|
31
35
|
btnColor: string;
|
|
@@ -56,5 +60,5 @@ export declare class TwoFactorAuthOtpComponent {
|
|
|
56
60
|
padding: string;
|
|
57
61
|
};
|
|
58
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<TwoFactorAuthOtpComponent, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TwoFactorAuthOtpComponent, "verben-auth-otp", never, { "customClass": { "alias": "customClass"; "required": false; }; "headlingClass": { "alias": "headlingClass"; "required": false; }; "headlingText": { "alias": "headlingText"; "required": false; }; "paragraphClass": { "alias": "paragraphClass"; "required": false; }; "resendClass": { "alias": "resendClass"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "pd": { "alias": "pd"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "boxShadow": { "alias": "boxShadow"; "required": false; }; "border": { "alias": "border"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "height": { "alias": "height"; "required": false; }; "length": { "alias": "length"; "required": false; }; "otpClass": { "alias": "otpClass"; "required": false; }; "btnClass": { "alias": "btnClass"; "required": false; }; "btnBgColor": { "alias": "btnBgColor"; "required": false; }; "btnColor": { "alias": "btnColor"; "required": false; }; "btnBorder": { "alias": "btnBorder"; "required": false; }; "btnBorderRadius": { "alias": "btnBorderRadius"; "required": false; }; "btnPd": { "alias": "btnPd"; "required": false; }; "btnText": { "alias": "btnText"; "required": false; }; }, { "buttonClick": "buttonClick"; "onSubmitEnd": "onSubmitEnd"; "resend": "resend"; }, never, never, false, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TwoFactorAuthOtpComponent, "verben-auth-otp", never, { "customClass": { "alias": "customClass"; "required": false; }; "headlingClass": { "alias": "headlingClass"; "required": false; }; "headlingText": { "alias": "headlingText"; "required": false; }; "paragraphClass": { "alias": "paragraphClass"; "required": false; }; "resendClass": { "alias": "resendClass"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "pd": { "alias": "pd"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "boxShadow": { "alias": "boxShadow"; "required": false; }; "border": { "alias": "border"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "height": { "alias": "height"; "required": false; }; "length": { "alias": "length"; "required": false; }; "otpClass": { "alias": "otpClass"; "required": false; }; "User": { "alias": "User"; "required": false; }; "OtpData": { "alias": "OtpData"; "required": false; }; "btnClass": { "alias": "btnClass"; "required": false; }; "btnBgColor": { "alias": "btnBgColor"; "required": false; }; "btnColor": { "alias": "btnColor"; "required": false; }; "btnBorder": { "alias": "btnBorder"; "required": false; }; "btnBorderRadius": { "alias": "btnBorderRadius"; "required": false; }; "btnPd": { "alias": "btnPd"; "required": false; }; "btnText": { "alias": "btnText"; "required": false; }; }, { "buttonClick": "buttonClick"; "onSubmitEnd": "onSubmitEnd"; "resend": "resend"; }, never, never, false, never>;
|
|
60
64
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ObjectState } from "./object-state";
|
|
2
|
+
export interface MainUser {
|
|
3
|
+
Code: string;
|
|
4
|
+
TenantId: string;
|
|
5
|
+
Id: string;
|
|
6
|
+
ServiceName: string;
|
|
7
|
+
MailAddress: string;
|
|
8
|
+
PhoneNumber: string;
|
|
9
|
+
FirstName: string;
|
|
10
|
+
LastName: string;
|
|
11
|
+
OtherName: string;
|
|
12
|
+
Role: [];
|
|
13
|
+
Tags: {}[];
|
|
14
|
+
Password: string;
|
|
15
|
+
Status: string;
|
|
16
|
+
CreatedAt: Date;
|
|
17
|
+
UpdatedAt: Date;
|
|
18
|
+
DataState: ObjectState;
|
|
19
|
+
}
|