verben-authentication-ui 0.0.1 → 0.0.3
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/mail/mail.component.mjs +69 -0
- package/esm2022/lib/components/mail/mail.module.mjs +21 -0
- package/esm2022/lib/components/otp-input/otp-input.component.mjs +68 -0
- package/esm2022/lib/components/otp-input/otp-input.module.mjs +23 -0
- package/esm2022/lib/components/sign-in/sign-in.component.mjs +120 -0
- package/esm2022/lib/components/sign-in/sign-in.module.mjs +24 -0
- package/esm2022/lib/components/sign-up/sign-up.component.mjs +7 -4
- package/esm2022/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.mjs +100 -0
- package/esm2022/lib/components/two-factor-auth-otp/two-factor-auth-otp.module.mjs +22 -0
- package/esm2022/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.mjs +87 -0
- package/esm2022/lib/components/two-factor-auth-setup/two-factor-auth-setup.module.mjs +19 -0
- package/esm2022/lib/components/user-request/user-request.component.mjs +67 -26
- package/esm2022/lib/models/log-in.mjs +2 -0
- package/esm2022/public-api.mjs +14 -1
- package/fesm2022/verben-authentication-ui.mjs +561 -34
- package/fesm2022/verben-authentication-ui.mjs.map +1 -1
- package/lib/components/mail/mail.component.d.ts +32 -0
- package/lib/components/mail/mail.module.d.ts +11 -0
- package/lib/components/otp-input/otp-input.component.d.ts +19 -0
- package/lib/components/otp-input/otp-input.module.d.ts +13 -0
- package/lib/components/sign-in/sign-in.component.d.ts +45 -0
- package/lib/components/sign-in/sign-in.module.d.ts +13 -0
- package/lib/components/sign-up/sign-up.component.d.ts +2 -1
- package/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.d.ts +43 -0
- package/lib/components/two-factor-auth-otp/two-factor-auth-otp.module.d.ts +12 -0
- package/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.d.ts +38 -0
- package/lib/components/two-factor-auth-setup/two-factor-auth-setup.module.d.ts +9 -0
- package/lib/components/user-request/user-request.component.d.ts +18 -7
- package/lib/models/log-in.d.ts +4 -0
- package/package.json +1 -1
- package/public-api.d.ts +8 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./two-factor-auth-otp.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../button/button.module";
|
|
5
|
+
import * as i4 from "../otp-input/otp-input.module";
|
|
6
|
+
import * as i5 from "@angular/router";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
export declare class TwoFactorAuthOtpModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TwoFactorAuthOtpModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TwoFactorAuthOtpModule, [typeof i1.TwoFactorAuthOtpComponent], [typeof i2.CommonModule, typeof i3.ButtonModule, typeof i4.OtpInputModule, typeof i5.RouterLink, typeof i6.ReactiveFormsModule], [typeof i1.TwoFactorAuthOtpComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TwoFactorAuthOtpModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TwoFactorAuthSetupComponent {
|
|
4
|
+
customClass: string;
|
|
5
|
+
headlingClass: string;
|
|
6
|
+
paragraphClass: string;
|
|
7
|
+
buttonClass: string;
|
|
8
|
+
width: string;
|
|
9
|
+
maxWidth: string;
|
|
10
|
+
margin: string;
|
|
11
|
+
pd: string;
|
|
12
|
+
bgColor: string;
|
|
13
|
+
boxShadow: string;
|
|
14
|
+
border: string;
|
|
15
|
+
borderRadius: string;
|
|
16
|
+
textColor: string;
|
|
17
|
+
height: string;
|
|
18
|
+
smsClick: EventEmitter<any>;
|
|
19
|
+
mailClick: EventEmitter<any>;
|
|
20
|
+
skipClick: EventEmitter<any>;
|
|
21
|
+
continueWithSMS(): void;
|
|
22
|
+
continueWithMail(): void;
|
|
23
|
+
handleSkip(): void;
|
|
24
|
+
get styles(): {
|
|
25
|
+
'background-color': string;
|
|
26
|
+
'box-shadow': string;
|
|
27
|
+
border: string;
|
|
28
|
+
'border-radius': string;
|
|
29
|
+
color: string;
|
|
30
|
+
width: string;
|
|
31
|
+
'max-width': string;
|
|
32
|
+
margin: string;
|
|
33
|
+
height: string;
|
|
34
|
+
padding: string;
|
|
35
|
+
};
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TwoFactorAuthSetupComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TwoFactorAuthSetupComponent, "verben-two-factor-auth-setup", never, { "customClass": { "alias": "customClass"; "required": false; }; "headlingClass": { "alias": "headlingClass"; "required": false; }; "paragraphClass": { "alias": "paragraphClass"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "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; }; }, { "smsClick": "smsClick"; "mailClick": "mailClick"; "skipClick": "skipClick"; }, never, never, false, never>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./two-factor-auth-setup.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "verben-ng-ui";
|
|
5
|
+
export declare class TwoFactorAuthSetupModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TwoFactorAuthSetupModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TwoFactorAuthSetupModule, [typeof i1.TwoFactorAuthSetupComponent], [typeof i2.CommonModule, typeof i3.VerbenaButtonModule, typeof i3.SvgModule], [typeof i1.TwoFactorAuthSetupComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TwoFactorAuthSetupModule>;
|
|
9
|
+
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormBuilder, FormGroup, ValidationErrors } from '@angular/forms';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class UserRequestComponent {
|
|
5
|
+
private fb;
|
|
4
6
|
width: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
email: string;
|
|
8
|
-
pwd: string;
|
|
9
|
-
cPwd: string;
|
|
7
|
+
headingTitle: string;
|
|
8
|
+
headingClass: string;
|
|
10
9
|
customClass: string;
|
|
11
10
|
bgColor: string;
|
|
12
11
|
boxShadow: string;
|
|
@@ -22,13 +21,23 @@ export declare class UserRequestComponent {
|
|
|
22
21
|
btnBgColor: string;
|
|
23
22
|
btnWidth: string;
|
|
24
23
|
btnPd: string;
|
|
24
|
+
termsLink: string;
|
|
25
|
+
privacyLink: string;
|
|
26
|
+
routerLink: string;
|
|
25
27
|
formSubmit: EventEmitter<{
|
|
26
28
|
FirstName: string;
|
|
27
29
|
LastName: string;
|
|
28
30
|
MailAddress: string;
|
|
29
31
|
Password: string;
|
|
30
32
|
ConfirmPassword: string;
|
|
33
|
+
Terms: boolean;
|
|
31
34
|
}>;
|
|
35
|
+
googleClick: EventEmitter<any>;
|
|
36
|
+
appleClick: EventEmitter<any>;
|
|
37
|
+
userRequestForm: FormGroup;
|
|
38
|
+
constructor(fb: FormBuilder);
|
|
39
|
+
passwordMatchValidator(control: AbstractControl): ValidationErrors | null;
|
|
40
|
+
get passwordMismatchError(): boolean;
|
|
32
41
|
get styles(): {
|
|
33
42
|
'background-color': string;
|
|
34
43
|
'box-shadow': string;
|
|
@@ -36,11 +45,13 @@ export declare class UserRequestComponent {
|
|
|
36
45
|
'border-radius': string;
|
|
37
46
|
color: string;
|
|
38
47
|
'max-width': string;
|
|
39
|
-
margin: string;
|
|
40
48
|
height: string;
|
|
41
49
|
padding: string;
|
|
42
50
|
};
|
|
51
|
+
checkForm(): boolean;
|
|
52
|
+
handleGoogleAuth(): void;
|
|
53
|
+
handleAppleAuth(): void;
|
|
43
54
|
submitForm(): void;
|
|
44
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserRequestComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserRequestComponent, "lib-user-request", never, { "width": { "alias": "width"; "required": false; }; "
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserRequestComponent, "lib-user-request", never, { "width": { "alias": "width"; "required": false; }; "headingTitle": { "alias": "headingTitle"; "required": false; }; "headingClass": { "alias": "headingClass"; "required": false; }; "customClass": { "alias": "customClass"; "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; }; "pd": { "alias": "pd"; "required": false; }; "text": { "alias": "text"; "required": false; }; "color": { "alias": "color"; "required": false; }; "btnBorder": { "alias": "btnBorder"; "required": false; }; "btnBorderRadius": { "alias": "btnBorderRadius"; "required": false; }; "btnBgColor": { "alias": "btnBgColor"; "required": false; }; "btnWidth": { "alias": "btnWidth"; "required": false; }; "btnPd": { "alias": "btnPd"; "required": false; }; "termsLink": { "alias": "termsLink"; "required": false; }; "privacyLink": { "alias": "privacyLink"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; }, { "formSubmit": "formSubmit"; "googleClick": "googleClick"; "appleClick": "appleClick"; }, never, never, false, never>;
|
|
46
57
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -7,3 +7,11 @@ export * from './lib/components/mail-validation/mail-validation.component';
|
|
|
7
7
|
export * from './lib/components/mail-validation/mail-validation.module';
|
|
8
8
|
export * from './lib/components/sign-up/sign-up.component';
|
|
9
9
|
export * from './lib/components/sign-up/sign-up.module';
|
|
10
|
+
export * from './lib/components/sign-in/sign-in.module';
|
|
11
|
+
export * from './lib/components/sign-in/sign-in.component';
|
|
12
|
+
export * from './lib/components/two-factor-auth-otp/two-factor-auth-otp.module';
|
|
13
|
+
export * from './lib/components/two-factor-auth-otp/two-factor-auth-otp.component';
|
|
14
|
+
export * from './lib/components/two-factor-auth-setup/two-factor-auth-setup.module';
|
|
15
|
+
export * from './lib/components/two-factor-auth-setup/two-factor-auth-setup.component';
|
|
16
|
+
export * from './lib/components/mail/mail.module';
|
|
17
|
+
export * from './lib/components/mail/mail.component';
|