verben-authentication-ui 0.0.4 → 0.0.5
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/otp-input/otp-input.component.mjs +6 -3
- package/esm2022/lib/components/sign-in/sign-in.component.mjs +42 -4
- package/esm2022/lib/components/sign-up/sign-up.component.mjs +49 -7
- package/esm2022/lib/components/sso/base-table-style.mjs +53 -0
- package/esm2022/lib/components/sso/helper.mjs +14 -0
- package/esm2022/lib/components/sso/sso-form/sso-form.component.mjs +102 -0
- package/esm2022/lib/components/sso/sso.columns.mjs +29 -0
- package/esm2022/lib/components/sso/sso.component.mjs +202 -0
- package/esm2022/lib/components/sso/sso.module.mjs +63 -0
- package/esm2022/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.mjs +34 -4
- package/esm2022/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.mjs +6 -3
- package/esm2022/lib/components/user-request/user-request.component.mjs +23 -11
- package/esm2022/lib/components/user-request-approval/helper.mjs +3 -3
- package/esm2022/lib/components/user-request-approval/user-request-approval.component.mjs +57 -12
- package/esm2022/lib/components/user-request-approval/user-request-approval.module.mjs +4 -2
- package/esm2022/lib/components/user-request-approval/user-request-approval.service.mjs +50 -0
- package/esm2022/lib/components/user-request-approval/user-request-form/user-request-form.component.mjs +8 -5
- package/esm2022/lib/models/UserRequest.mjs +2 -0
- package/esm2022/lib/models/base.mjs +1 -1
- package/esm2022/lib/models/sign-up.mjs +1 -1
- package/esm2022/lib/models/single-sign-on.mjs +2 -0
- package/esm2022/public-api.mjs +5 -2
- package/fesm2022/verben-authentication-ui.mjs +711 -49
- package/fesm2022/verben-authentication-ui.mjs.map +1 -1
- package/lib/components/otp-input/otp-input.component.d.ts +2 -1
- package/lib/components/sign-in/sign-in.component.d.ts +13 -1
- package/lib/components/sign-up/sign-up.component.d.ts +13 -2
- package/lib/components/sso/base-table-style.d.ts +1 -0
- package/lib/components/sso/helper.d.ts +2 -0
- package/lib/components/sso/sso-form/sso-form.component.d.ts +24 -0
- package/lib/components/sso/sso.columns.d.ts +3 -0
- package/lib/components/sso/sso.component.d.ts +50 -0
- package/lib/components/sso/sso.module.d.ts +11 -0
- package/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.d.ts +12 -2
- package/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.d.ts +2 -1
- package/lib/components/user-request/user-request.component.d.ts +5 -10
- package/lib/components/user-request-approval/user-request-approval.component.d.ts +10 -3
- package/lib/components/user-request-approval/user-request-approval.service.d.ts +18 -0
- package/lib/models/UserRequest.d.ts +9 -0
- package/lib/models/sign-up.d.ts +1 -0
- package/lib/models/single-sign-on.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +4 -1
|
@@ -4,6 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class OtpInputComponent implements OnInit {
|
|
5
5
|
private fb;
|
|
6
6
|
length: number;
|
|
7
|
+
otpClass: string;
|
|
7
8
|
otpChange: EventEmitter<string>;
|
|
8
9
|
otpForm: FormGroup;
|
|
9
10
|
constructor(fb: FormBuilder);
|
|
@@ -15,5 +16,5 @@ export declare class OtpInputComponent implements OnInit {
|
|
|
15
16
|
private focusPreviousInput;
|
|
16
17
|
private emitOtp;
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<OtpInputComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OtpInputComponent, "verben-otp-input", never, { "length": { "alias": "length"; "required": false; }; }, { "otpChange": "otpChange"; }, never, never, false, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OtpInputComponent, "verben-otp-input", never, { "length": { "alias": "length"; "required": false; }; "otpClass": { "alias": "otpClass"; "required": false; }; }, { "otpChange": "otpChange"; }, never, never, false, never>;
|
|
19
20
|
}
|
|
@@ -19,6 +19,18 @@ export declare class SignInComponent {
|
|
|
19
19
|
routerLink: string;
|
|
20
20
|
forgetPasswordClass: string;
|
|
21
21
|
headlingClass: string;
|
|
22
|
+
btnClass: string;
|
|
23
|
+
btnBgColor: string;
|
|
24
|
+
btnColor: string;
|
|
25
|
+
btnBorder: string;
|
|
26
|
+
btnBorderRadius: string;
|
|
27
|
+
btnPd: string;
|
|
28
|
+
btnText: string;
|
|
29
|
+
inputLabelColor: string;
|
|
30
|
+
inputBgColor: string;
|
|
31
|
+
inputBorder: string;
|
|
32
|
+
inputBorderRadius: string;
|
|
33
|
+
termsErrorText: string;
|
|
22
34
|
formSubmit: EventEmitter<LoginData>;
|
|
23
35
|
googleClick: EventEmitter<any>;
|
|
24
36
|
appleClick: EventEmitter<any>;
|
|
@@ -41,5 +53,5 @@ export declare class SignInComponent {
|
|
|
41
53
|
padding: string;
|
|
42
54
|
};
|
|
43
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<SignInComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SignInComponent, "verben-sign-in", never, { "headlingText": { "alias": "headlingText"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "pd": { "alias": "pd"; "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; }; "routerLink": { "alias": "routerLink"; "required": false; }; "forgetPasswordClass": { "alias": "forgetPasswordClass"; "required": false; }; "headlingClass": { "alias": "headlingClass"; "required": false; }; }, { "formSubmit": "formSubmit"; "googleClick": "googleClick"; "appleClick": "appleClick"; }, never, never, false, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SignInComponent, "verben-sign-in", never, { "headlingText": { "alias": "headlingText"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "pd": { "alias": "pd"; "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; }; "routerLink": { "alias": "routerLink"; "required": false; }; "forgetPasswordClass": { "alias": "forgetPasswordClass"; "required": false; }; "headlingClass": { "alias": "headlingClass"; "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; }; "inputLabelColor": { "alias": "inputLabelColor"; "required": false; }; "inputBgColor": { "alias": "inputBgColor"; "required": false; }; "inputBorder": { "alias": "inputBorder"; "required": false; }; "inputBorderRadius": { "alias": "inputBorderRadius"; "required": false; }; "termsErrorText": { "alias": "termsErrorText"; "required": false; }; }, { "formSubmit": "formSubmit"; "googleClick": "googleClick"; "appleClick": "appleClick"; }, never, never, false, never>;
|
|
45
57
|
}
|
|
@@ -16,9 +16,19 @@ export declare class SignUpComponent {
|
|
|
16
16
|
border: string;
|
|
17
17
|
borderRadius: string;
|
|
18
18
|
height: string;
|
|
19
|
-
priColor: string;
|
|
20
19
|
textColor: string;
|
|
21
20
|
disabled: boolean;
|
|
21
|
+
btnClass: string;
|
|
22
|
+
btnBgColor: string;
|
|
23
|
+
btnColor: string;
|
|
24
|
+
btnBorder: string;
|
|
25
|
+
btnBorderRadius: string;
|
|
26
|
+
btnPd: string;
|
|
27
|
+
btnText: string;
|
|
28
|
+
inputLabelColor: string;
|
|
29
|
+
inputBgColor: string;
|
|
30
|
+
inputBorder: string;
|
|
31
|
+
inputBorderRadius: string;
|
|
22
32
|
termsLink: string;
|
|
23
33
|
privacyLink: string;
|
|
24
34
|
routerLink: string;
|
|
@@ -27,6 +37,7 @@ export declare class SignUpComponent {
|
|
|
27
37
|
appleClick: EventEmitter<any>;
|
|
28
38
|
signUpForm: FormGroup;
|
|
29
39
|
constructor(fb: FormBuilder);
|
|
40
|
+
private passwordMatchValidator;
|
|
30
41
|
checkForm(): boolean;
|
|
31
42
|
submit(): void;
|
|
32
43
|
handleGoogleAuth(): void;
|
|
@@ -44,5 +55,5 @@ export declare class SignUpComponent {
|
|
|
44
55
|
padding: string;
|
|
45
56
|
};
|
|
46
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<SignUpComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SignUpComponent, "verben-sign-up", never, { "headlingText": { "alias": "headlingText"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "pd": { "alias": "pd"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "headlingClass": { "alias": "headlingClass"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "boxShadow": { "alias": "boxShadow"; "required": false; }; "border": { "alias": "border"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "height": { "alias": "height"; "required": false; }; "
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SignUpComponent, "verben-sign-up", never, { "headlingText": { "alias": "headlingText"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "pd": { "alias": "pd"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "headlingClass": { "alias": "headlingClass"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "boxShadow": { "alias": "boxShadow"; "required": false; }; "border": { "alias": "border"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "height": { "alias": "height"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "disabled": { "alias": "disabled"; "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; }; "inputLabelColor": { "alias": "inputLabelColor"; "required": false; }; "inputBgColor": { "alias": "inputBgColor"; "required": false; }; "inputBorder": { "alias": "inputBorder"; "required": false; }; "inputBorderRadius": { "alias": "inputBorderRadius"; "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>;
|
|
48
59
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const baseStyle: any;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { CardData } from 'verben-ng-ui';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SsoFormComponent {
|
|
6
|
+
private fb;
|
|
7
|
+
isUploading: boolean;
|
|
8
|
+
uploadedFileName: string | null;
|
|
9
|
+
fileUploadError: string | null;
|
|
10
|
+
videoElement: ElementRef<HTMLVideoElement>;
|
|
11
|
+
stream: MediaStream;
|
|
12
|
+
startWebcam(e: Event): void;
|
|
13
|
+
set currentData(value: CardData | null);
|
|
14
|
+
switchView: EventEmitter<undefined>;
|
|
15
|
+
form: FormGroup;
|
|
16
|
+
constructor(fb: FormBuilder);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
onSave(): void;
|
|
19
|
+
onDelete(): void;
|
|
20
|
+
onFileSelected(event: Event): void;
|
|
21
|
+
removeFile(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SsoFormComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SsoFormComponent, "lib-sso-form", never, { "currentData": { "alias": "currentData"; "required": false; }; }, { "switchView": "switchView"; }, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { CardData, CardDataViewComponent, DataViewComponent, IDataFilter } from 'verben-ng-ui';
|
|
2
|
+
import { SingleSignOn } from '../../models/single-sign-on';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SsoComponent {
|
|
5
|
+
cardDataView: CardDataViewComponent;
|
|
6
|
+
dataView: DataViewComponent;
|
|
7
|
+
columns: import("verben-ng-ui").ColumnDefinition<SingleSignOn>[];
|
|
8
|
+
data: SingleSignOn[];
|
|
9
|
+
styles: any;
|
|
10
|
+
currentData: CardData | null;
|
|
11
|
+
isGridView: boolean;
|
|
12
|
+
selected: CardData | null;
|
|
13
|
+
cardData: CardData[];
|
|
14
|
+
openDetailView(name: string): void;
|
|
15
|
+
getCardDataByMailAddress(name: string): CardData | undefined;
|
|
16
|
+
onViewChange(isGridView: boolean): void;
|
|
17
|
+
openFormView(index: number): void;
|
|
18
|
+
handleExport(exportedData: Partial<any>[]): void;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @param data Simple csv export for testing
|
|
22
|
+
*/
|
|
23
|
+
private downloadCSV;
|
|
24
|
+
onSelectionChange(selectedRows: SingleSignOn[]): void;
|
|
25
|
+
/**
|
|
26
|
+
* Copied over from card view doc until I understand usage
|
|
27
|
+
*/
|
|
28
|
+
selectedColumnCount: number;
|
|
29
|
+
selectedFilterTableCount: number;
|
|
30
|
+
isOPen: boolean;
|
|
31
|
+
selectedSortCount: number;
|
|
32
|
+
showColumn: boolean;
|
|
33
|
+
showSort: boolean;
|
|
34
|
+
selectedAll: boolean;
|
|
35
|
+
visibleColumns: IDataFilter[];
|
|
36
|
+
filterArray: IDataFilter[];
|
|
37
|
+
sortOptions: IDataFilter[];
|
|
38
|
+
clearData(): void;
|
|
39
|
+
loadMore(): void;
|
|
40
|
+
onColumnChange(event: boolean): void;
|
|
41
|
+
onSortChange(event: boolean): void;
|
|
42
|
+
onColumnsUpdated(updatedColumns: IDataFilter[]): void;
|
|
43
|
+
onSortUpdated(updatedSorts: IDataFilter[]): void;
|
|
44
|
+
onStateChange(event: {
|
|
45
|
+
key: string;
|
|
46
|
+
value: boolean;
|
|
47
|
+
}): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SsoComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SsoComponent, "lib-sso", never, {}, {}, never, never, false, never>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./sso.component";
|
|
3
|
+
import * as i2 from "./sso-form/sso-form.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "verben-ng-ui";
|
|
7
|
+
export declare class SsoModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SsoModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SsoModule, [typeof i1.SsoComponent, typeof i2.SsoFormComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.DataViewModule, typeof i5.TableFilterModule, typeof i5.SortTableModule, typeof i5.DataExportModule, typeof i5.VisibleColumnModule, typeof i5.VerbenaButtonModule, typeof i5.CardDataViewModule, typeof i5.VerbenaInputModule, typeof i5.SvgModule, typeof i5.VerbenaTextareaModule, typeof i5.DataTableModule], [typeof i1.SsoComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SsoModule>;
|
|
11
|
+
}
|
|
@@ -5,6 +5,7 @@ export declare class TwoFactorAuthOtpComponent {
|
|
|
5
5
|
private fb;
|
|
6
6
|
customClass: string;
|
|
7
7
|
headlingClass: string;
|
|
8
|
+
headlingText: string;
|
|
8
9
|
paragraphClass: string;
|
|
9
10
|
resendClass: string;
|
|
10
11
|
width: string;
|
|
@@ -17,6 +18,15 @@ export declare class TwoFactorAuthOtpComponent {
|
|
|
17
18
|
borderRadius: string;
|
|
18
19
|
textColor: string;
|
|
19
20
|
height: string;
|
|
21
|
+
length: number;
|
|
22
|
+
otpClass: string;
|
|
23
|
+
btnClass: string;
|
|
24
|
+
btnBgColor: string;
|
|
25
|
+
btnColor: string;
|
|
26
|
+
btnBorder: string;
|
|
27
|
+
btnBorderRadius: string;
|
|
28
|
+
btnPd: string;
|
|
29
|
+
btnText: string;
|
|
20
30
|
otpValue: string;
|
|
21
31
|
otpForm: FormGroup;
|
|
22
32
|
buttonClick: EventEmitter<string>;
|
|
@@ -24,7 +34,7 @@ export declare class TwoFactorAuthOtpComponent {
|
|
|
24
34
|
constructor(fb: FormBuilder);
|
|
25
35
|
ngOnInit(): void;
|
|
26
36
|
onOtpChange(value: string): void;
|
|
27
|
-
|
|
37
|
+
submitData(): void;
|
|
28
38
|
resendOtp(): void;
|
|
29
39
|
get styles(): {
|
|
30
40
|
'background-color': string;
|
|
@@ -39,5 +49,5 @@ export declare class TwoFactorAuthOtpComponent {
|
|
|
39
49
|
padding: string;
|
|
40
50
|
};
|
|
41
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<TwoFactorAuthOtpComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TwoFactorAuthOtpComponent, "verben-auth-otp", never, { "customClass": { "alias": "customClass"; "required": false; }; "headlingClass": { "alias": "headlingClass"; "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; }; }, { "buttonClick": "buttonClick"; "resend": "resend"; }, never, never, false, never>;
|
|
52
|
+
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"; "resend": "resend"; }, never, never, false, never>;
|
|
43
53
|
}
|
|
@@ -3,6 +3,7 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class TwoFactorAuthSetupComponent {
|
|
4
4
|
customClass: string;
|
|
5
5
|
headlingClass: string;
|
|
6
|
+
headlingText: string;
|
|
6
7
|
paragraphClass: string;
|
|
7
8
|
buttonClass: string;
|
|
8
9
|
width: string;
|
|
@@ -34,5 +35,5 @@ export declare class TwoFactorAuthSetupComponent {
|
|
|
34
35
|
padding: string;
|
|
35
36
|
};
|
|
36
37
|
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
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TwoFactorAuthSetupComponent, "verben-two-factor-auth-setup", never, { "customClass": { "alias": "customClass"; "required": false; }; "headlingClass": { "alias": "headlingClass"; "required": false; }; "headlingText": { "alias": "headlingText"; "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
39
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { AbstractControl, FormBuilder, FormGroup, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UserRequestPayload } from "../../models/UserRequest";
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class UserRequestComponent {
|
|
5
6
|
private fb;
|
|
@@ -24,16 +25,10 @@ export declare class UserRequestComponent {
|
|
|
24
25
|
termsLink: string;
|
|
25
26
|
privacyLink: string;
|
|
26
27
|
routerLink: string;
|
|
27
|
-
formSubmit: EventEmitter<
|
|
28
|
-
FirstName: string;
|
|
29
|
-
LastName: string;
|
|
30
|
-
MailAddress: string;
|
|
31
|
-
Password: string;
|
|
32
|
-
ConfirmPassword: string;
|
|
33
|
-
Terms: boolean;
|
|
34
|
-
}>;
|
|
28
|
+
formSubmit: EventEmitter<UserRequestPayload>;
|
|
35
29
|
googleClick: EventEmitter<any>;
|
|
36
30
|
appleClick: EventEmitter<any>;
|
|
31
|
+
onSubmitResponseEnd: EventEmitter<any>;
|
|
37
32
|
userRequestForm: FormGroup;
|
|
38
33
|
constructor(fb: FormBuilder);
|
|
39
34
|
passwordMatchValidator(control: AbstractControl): ValidationErrors | null;
|
|
@@ -51,7 +46,7 @@ export declare class UserRequestComponent {
|
|
|
51
46
|
checkForm(): boolean;
|
|
52
47
|
handleGoogleAuth(): void;
|
|
53
48
|
handleAppleAuth(): void;
|
|
54
|
-
submitForm(): void
|
|
49
|
+
submitForm(): Promise<void>;
|
|
55
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserRequestComponent, never>;
|
|
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>;
|
|
51
|
+
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"; "onSubmitResponseEnd": "onSubmitResponseEnd"; }, never, never, false, never>;
|
|
57
52
|
}
|
|
@@ -1,16 +1,23 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
1
2
|
import { UserAccessRequest } from '../../models/user-access-request';
|
|
2
|
-
import { CardData, CardDataViewComponent, DataViewComponent, IDataFilter } from 'verben-ng-ui';
|
|
3
|
+
import { CardData, CardDataViewComponent, ColumnDefinition, DataViewComponent, IDataFilter } from 'verben-ng-ui';
|
|
4
|
+
import { UserRequestApprovalService } from './user-request-approval.service';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class UserRequestApprovalComponent {
|
|
6
|
+
export declare class UserRequestApprovalComponent implements OnInit {
|
|
7
|
+
private cdr;
|
|
8
|
+
private service;
|
|
5
9
|
cardDataView: CardDataViewComponent;
|
|
6
10
|
dataView: DataViewComponent;
|
|
7
|
-
columns:
|
|
11
|
+
columns: ColumnDefinition<UserAccessRequest>[];
|
|
12
|
+
visibleColumnDef: ColumnDefinition<UserAccessRequest>[];
|
|
8
13
|
data: UserAccessRequest[];
|
|
9
14
|
styles: any;
|
|
10
15
|
currentData: CardData | null;
|
|
11
16
|
isGridView: boolean;
|
|
12
17
|
selected: CardData | null;
|
|
13
18
|
cardData: CardData[];
|
|
19
|
+
constructor(cdr: ChangeDetectorRef, service: UserRequestApprovalService);
|
|
20
|
+
ngOnInit(): void;
|
|
14
21
|
openDetailView(mailAddress: string): void;
|
|
15
22
|
getCardDataByMailAddress(mailAddress: string): CardData | undefined;
|
|
16
23
|
onViewChange(isGridView: boolean): void;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { UserAccessRequest } from '../../models/user-access-request';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface ServiceConfig {
|
|
5
|
+
resourceEndpoint: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const SERVICE_CONFIG: InjectionToken<ServiceConfig>;
|
|
8
|
+
export declare class UserRequestApprovalService {
|
|
9
|
+
protected readonly resourceEndpoint: string;
|
|
10
|
+
roles: {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
}[];
|
|
14
|
+
constructor();
|
|
15
|
+
getMockUserRequests(): UserAccessRequest[];
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserRequestApprovalService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserRequestApprovalService>;
|
|
18
|
+
}
|
package/lib/models/sign-up.d.ts
CHANGED
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './lib/components/reset-password/reset-password.module';
|
|
|
3
3
|
export * from './lib/components/reset-password/ResetPasswordData';
|
|
4
4
|
export * from './lib/components/user-request/user-request.component';
|
|
5
5
|
export * from './lib/components/user-request/user-request.module';
|
|
6
|
+
export * from './lib/models/UserRequest';
|
|
6
7
|
export * from './lib/components/mail-validation/mail-validation.component';
|
|
7
8
|
export * from './lib/components/mail-validation/mail-validation.module';
|
|
8
9
|
export * from './lib/components/sign-up/sign-up.component';
|
|
@@ -18,6 +19,8 @@ export * from './lib/components/mail/mail.component';
|
|
|
18
19
|
export * from './lib/components/forgot-password/forgot-password.component';
|
|
19
20
|
export * from './lib/components/forgot-password/forgot-password.module';
|
|
20
21
|
export * from './lib/components/forgot-password/ForgotPasswordData';
|
|
21
|
-
export * from './lib/
|
|
22
|
+
export * from './lib/components/sso/sso.component';
|
|
23
|
+
export * from './lib/components/sso/sso.module';
|
|
22
24
|
export * from './lib/components/user-request-approval/user-request-approval.module';
|
|
23
25
|
export * from './lib/components/user-request-approval/user-request-approval.component';
|
|
26
|
+
export * from './lib/components/user-request-approval/user-request-approval.service';
|