verben-authentication-ui 0.0.3 → 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/forgot-password/ForgotPasswordData.mjs +2 -0
- package/esm2022/lib/components/forgot-password/forgot-password.component.mjs +66 -0
- package/esm2022/lib/components/forgot-password/forgot-password.module.mjs +34 -0
- package/esm2022/lib/components/otp-input/otp-input.component.mjs +6 -3
- package/esm2022/lib/components/reset-password/reset-password.component.mjs +15 -8
- 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/access-request.columns.mjs +24 -0
- package/esm2022/lib/components/user-request-approval/base-table-style.mjs +53 -0
- package/esm2022/lib/components/user-request-approval/helper.mjs +33 -0
- package/esm2022/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.mjs +26 -0
- package/esm2022/lib/components/user-request-approval/user-request-approval.component.mjs +247 -0
- package/esm2022/lib/components/user-request-approval/user-request-approval.module.mjs +77 -0
- 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 +57 -0
- package/esm2022/lib/models/ErrorResponse.mjs +11 -0
- package/esm2022/lib/models/UserRequest.mjs +2 -0
- package/esm2022/lib/models/base.mjs +2 -0
- package/esm2022/lib/models/object-state.mjs +8 -0
- package/esm2022/lib/models/sign-up.mjs +1 -1
- package/esm2022/lib/models/single-sign-on.mjs +2 -0
- package/esm2022/lib/models/user-access-request-status.mjs +7 -0
- package/esm2022/lib/models/user-access-request.mjs +2 -0
- package/esm2022/lib/models/user.mjs +2 -0
- package/esm2022/lib/services/environment.service.mjs +26 -0
- package/esm2022/lib/services/http-web-request.service.mjs +85 -0
- package/esm2022/public-api.mjs +10 -1
- package/fesm2022/verben-authentication-ui.mjs +1370 -44
- package/fesm2022/verben-authentication-ui.mjs.map +1 -1
- package/lib/components/forgot-password/ForgotPasswordData.d.ts +3 -0
- package/lib/components/forgot-password/forgot-password.component.d.ts +21 -0
- package/lib/components/forgot-password/forgot-password.module.d.ts +10 -0
- package/lib/components/otp-input/otp-input.component.d.ts +2 -1
- package/lib/components/reset-password/reset-password.component.d.ts +5 -2
- 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/access-request.columns.d.ts +3 -0
- package/lib/components/user-request-approval/base-table-style.d.ts +1 -0
- package/lib/components/user-request-approval/helper.d.ts +6 -0
- package/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.d.ts +12 -0
- package/lib/components/user-request-approval/user-request-approval.component.d.ts +57 -0
- package/lib/components/user-request-approval/user-request-approval.module.d.ts +12 -0
- package/lib/components/user-request-approval/user-request-approval.service.d.ts +18 -0
- package/lib/components/user-request-approval/user-request-form/user-request-form.component.d.ts +20 -0
- package/lib/models/ErrorResponse.d.ts +6 -0
- package/lib/models/UserRequest.d.ts +9 -0
- package/lib/models/base.d.ts +10 -0
- package/lib/models/object-state.d.ts +6 -0
- package/lib/models/sign-up.d.ts +1 -0
- package/lib/models/single-sign-on.d.ts +7 -0
- package/lib/models/user-access-request-status.d.ts +5 -0
- package/lib/models/user-access-request.d.ts +7 -0
- package/lib/models/user.d.ts +18 -0
- package/lib/services/environment.service.d.ts +14 -0
- package/lib/services/http-web-request.service.d.ts +17 -0
- package/package.json +2 -2
- package/public-api.d.ts +9 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormBuilder, FormGroup, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { ForgotPasswordData } from './ForgotPasswordData';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ForgotPasswordComponent {
|
|
6
|
+
private fb;
|
|
7
|
+
title: string;
|
|
8
|
+
subTitle: string;
|
|
9
|
+
buttonCaption: string;
|
|
10
|
+
buttonTextColor?: string;
|
|
11
|
+
buttonBackgroundColor?: string;
|
|
12
|
+
onSubmit: EventEmitter<ForgotPasswordData>;
|
|
13
|
+
forgotPasswordForm: FormGroup;
|
|
14
|
+
constructor(fb: FormBuilder);
|
|
15
|
+
isValidEmail(mail: string): boolean;
|
|
16
|
+
emailValidator(control: AbstractControl): ValidationErrors | null;
|
|
17
|
+
checkForm(): boolean;
|
|
18
|
+
submit(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ForgotPasswordComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ForgotPasswordComponent, "verben-forgot-password", never, { "title": { "alias": "title"; "required": false; }; "subTitle": { "alias": "subTitle"; "required": false; }; "buttonCaption": { "alias": "buttonCaption"; "required": false; }; "buttonTextColor": { "alias": "buttonTextColor"; "required": false; }; "buttonBackgroundColor": { "alias": "buttonBackgroundColor"; "required": false; }; }, { "onSubmit": "onSubmit"; }, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./forgot-password.component";
|
|
3
|
+
import * as i2 from "@angular/forms";
|
|
4
|
+
import * as i3 from "verben-ng-ui";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
export declare class ForgotPasswordModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ForgotPasswordModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ForgotPasswordModule, [typeof i1.ForgotPasswordComponent], [typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.VerbenaInputModule, typeof i3.VerbenaButtonModule, typeof i4.CommonModule], [typeof i1.ForgotPasswordComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ForgotPasswordModule>;
|
|
10
|
+
}
|
|
@@ -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
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { AbstractControl, FormBuilder, FormGroup, ValidationErrors } from '@angular/forms';
|
|
3
3
|
import { ResetPasswordData } from './ResetPasswordData';
|
|
4
|
+
import { HttpWebRequestService } from '../../services/http-web-request.service';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ResetPasswordComponent {
|
|
6
7
|
private fb;
|
|
8
|
+
private req;
|
|
7
9
|
title: string;
|
|
8
10
|
subTitle: string;
|
|
9
11
|
buttonCaption: string;
|
|
@@ -11,12 +13,13 @@ export declare class ResetPasswordComponent {
|
|
|
11
13
|
buttonBackgroundColor?: string;
|
|
12
14
|
showOldPassword: boolean;
|
|
13
15
|
onSubmit: EventEmitter<ResetPasswordData>;
|
|
16
|
+
onSubmitResponseEnd: EventEmitter<any>;
|
|
14
17
|
resetPasswordForm: FormGroup;
|
|
15
|
-
constructor(fb: FormBuilder);
|
|
18
|
+
constructor(fb: FormBuilder, req: HttpWebRequestService);
|
|
16
19
|
checkForm(): boolean;
|
|
17
20
|
oldPasswordValidator(control: AbstractControl): ValidationErrors | null;
|
|
18
21
|
confirmPasswordValidator(control: AbstractControl): ValidationErrors | null;
|
|
19
22
|
submit(): void;
|
|
20
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResetPasswordComponent, "verben-reset-password", never, { "title": { "alias": "title"; "required": false; }; "subTitle": { "alias": "subTitle"; "required": false; }; "buttonCaption": { "alias": "buttonCaption"; "required": false; }; "buttonTextColor": { "alias": "buttonTextColor"; "required": false; }; "buttonBackgroundColor": { "alias": "buttonBackgroundColor"; "required": false; }; "showOldPassword": { "alias": "showOldPassword"; "required": false; }; }, { "onSubmit": "onSubmit"; }, never, never, false, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResetPasswordComponent, "verben-reset-password", never, { "title": { "alias": "title"; "required": false; }; "subTitle": { "alias": "subTitle"; "required": false; }; "buttonCaption": { "alias": "buttonCaption"; "required": false; }; "buttonTextColor": { "alias": "buttonTextColor"; "required": false; }; "buttonBackgroundColor": { "alias": "buttonBackgroundColor"; "required": false; }; "showOldPassword": { "alias": "showOldPassword"; "required": false; }; }, { "onSubmit": "onSubmit"; "onSubmitResponseEnd": "onSubmitResponseEnd"; }, never, never, false, never>;
|
|
22
25
|
}
|
|
@@ -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
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const baseStyle: any;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UserAccessRequestStatus } from '../../../models/user-access-request-status';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UserAccessRequestStatusBadgeComponent {
|
|
4
|
+
status: UserAccessRequestStatus;
|
|
5
|
+
badgeConfig(): {
|
|
6
|
+
bgColor: string;
|
|
7
|
+
textColor: string;
|
|
8
|
+
label: string;
|
|
9
|
+
};
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserAccessRequestStatusBadgeComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserAccessRequestStatusBadgeComponent, "lib-user-access-request-status-badge", never, { "status": { "alias": "status"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { UserAccessRequest } from '../../models/user-access-request';
|
|
3
|
+
import { CardData, CardDataViewComponent, ColumnDefinition, DataViewComponent, IDataFilter } from 'verben-ng-ui';
|
|
4
|
+
import { UserRequestApprovalService } from './user-request-approval.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class UserRequestApprovalComponent implements OnInit {
|
|
7
|
+
private cdr;
|
|
8
|
+
private service;
|
|
9
|
+
cardDataView: CardDataViewComponent;
|
|
10
|
+
dataView: DataViewComponent;
|
|
11
|
+
columns: ColumnDefinition<UserAccessRequest>[];
|
|
12
|
+
visibleColumnDef: ColumnDefinition<UserAccessRequest>[];
|
|
13
|
+
data: UserAccessRequest[];
|
|
14
|
+
styles: any;
|
|
15
|
+
currentData: CardData | null;
|
|
16
|
+
isGridView: boolean;
|
|
17
|
+
selected: CardData | null;
|
|
18
|
+
cardData: CardData[];
|
|
19
|
+
constructor(cdr: ChangeDetectorRef, service: UserRequestApprovalService);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
openDetailView(mailAddress: string): void;
|
|
22
|
+
getCardDataByMailAddress(mailAddress: string): CardData | undefined;
|
|
23
|
+
onViewChange(isGridView: boolean): void;
|
|
24
|
+
openFormView(index: number): void;
|
|
25
|
+
handleExport(exportedData: Partial<any>[]): void;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @param data Simple csv export for testing
|
|
29
|
+
*/
|
|
30
|
+
private downloadCSV;
|
|
31
|
+
onSelectionChange(selectedRows: UserAccessRequest[]): void;
|
|
32
|
+
/**
|
|
33
|
+
* Copied over from card view doc until I understand usage
|
|
34
|
+
*/
|
|
35
|
+
selectedColumnCount: number;
|
|
36
|
+
selectedFilterTableCount: number;
|
|
37
|
+
isOPen: boolean;
|
|
38
|
+
selectedSortCount: number;
|
|
39
|
+
showColumn: boolean;
|
|
40
|
+
showSort: boolean;
|
|
41
|
+
selectedAll: boolean;
|
|
42
|
+
visibleColumns: IDataFilter[];
|
|
43
|
+
filterArray: IDataFilter[];
|
|
44
|
+
sortOptions: IDataFilter[];
|
|
45
|
+
clearData(): void;
|
|
46
|
+
loadMore(): void;
|
|
47
|
+
onColumnChange(event: boolean): void;
|
|
48
|
+
onSortChange(event: boolean): void;
|
|
49
|
+
onColumnsUpdated(updatedColumns: IDataFilter[]): void;
|
|
50
|
+
onSortUpdated(updatedSorts: IDataFilter[]): void;
|
|
51
|
+
onStateChange(event: {
|
|
52
|
+
key: string;
|
|
53
|
+
value: boolean;
|
|
54
|
+
}): void;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserRequestApprovalComponent, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserRequestApprovalComponent, "lib-user-request-approval", never, {}, {}, never, never, false, never>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./user-request-approval.component";
|
|
3
|
+
import * as i2 from "./user-request-form/user-request-form.component";
|
|
4
|
+
import * as i3 from "./user-access-request-status-badge/user-access-request-status-badge.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "verben-ng-ui";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
export declare class LibUserRequestApprovalModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibUserRequestApprovalModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LibUserRequestApprovalModule, [typeof i1.UserRequestApprovalComponent, typeof i2.UserRequestFormComponent, typeof i3.UserAccessRequestStatusBadgeComponent], [typeof i4.CommonModule, typeof i5.DataTableModule, typeof i5.CardModule, typeof i5.SvgModule, typeof i5.DataViewModule, typeof i5.CardDataViewModule, typeof i5.SortTableModule, typeof i5.VisibleColumnModule, typeof i5.TableFilterModule, typeof i5.DataExportModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i5.VerbenaInputModule, typeof i5.VerbenaButtonModule, typeof i5.VerbenaBadgeModule, typeof i5.DropDownModule], [typeof i1.UserRequestApprovalComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LibUserRequestApprovalModule>;
|
|
12
|
+
}
|
|
@@ -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/components/user-request-approval/user-request-form/user-request-form.component.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { 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 UserRequestFormComponent {
|
|
6
|
+
private fb;
|
|
7
|
+
set currentData(value: CardData | null);
|
|
8
|
+
switchView: EventEmitter<undefined>;
|
|
9
|
+
form: FormGroup;
|
|
10
|
+
roles: {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
}[];
|
|
14
|
+
constructor(fb: FormBuilder);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
onSave(): void;
|
|
17
|
+
onDelete(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserRequestFormComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserRequestFormComponent, "lib-user-request-form", never, { "currentData": { "alias": "currentData"; "required": false; }; }, { "switchView": "switchView"; }, never, never, false, never>;
|
|
20
|
+
}
|
package/lib/models/sign-up.d.ts
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseModel } from './base';
|
|
2
|
+
export interface User extends BaseModel {
|
|
3
|
+
Password: string;
|
|
4
|
+
OldPassword?: string;
|
|
5
|
+
PhoneNumber?: string;
|
|
6
|
+
Name: string;
|
|
7
|
+
MailAddress: string;
|
|
8
|
+
Token?: string;
|
|
9
|
+
ExpireOn: Date;
|
|
10
|
+
IsSeeded: boolean;
|
|
11
|
+
RoleID?: string;
|
|
12
|
+
OTP?: string;
|
|
13
|
+
Department?: string;
|
|
14
|
+
Faculty?: string;
|
|
15
|
+
OTPExpireOn: Date;
|
|
16
|
+
Tenants: string[];
|
|
17
|
+
DepartmentName?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const ENVIRONMENT: InjectionToken<Environment>;
|
|
4
|
+
export interface Environment {
|
|
5
|
+
production: boolean;
|
|
6
|
+
AuthenticationAPI: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class EnvironmentService {
|
|
9
|
+
private env;
|
|
10
|
+
constructor(env: Environment);
|
|
11
|
+
get environment(): Environment;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EnvironmentService>;
|
|
14
|
+
}
|