verben-authentication-ui 0.3.2 → 0.3.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/ng-package.json +8 -0
- package/package.json +8 -14
- package/src/lib/components/button/button.component.css +3 -0
- package/src/lib/components/button/button.component.html +13 -0
- package/src/lib/components/button/button.component.spec.ts +23 -0
- package/src/lib/components/button/button.component.ts +24 -0
- package/src/lib/components/button/button.module.ts +11 -0
- package/{lib/components/forgot-password/ForgotPasswordData.d.ts → src/lib/components/forgot-password/ForgotPasswordData.ts} +1 -1
- package/src/lib/components/forgot-password/forgot-password.component.css +29 -0
- package/src/lib/components/forgot-password/forgot-password.component.html +13 -0
- package/src/lib/components/forgot-password/forgot-password.component.spec.ts +23 -0
- package/src/lib/components/forgot-password/forgot-password.component.ts +86 -0
- package/src/lib/components/forgot-password/forgot-password.module.ts +18 -0
- package/src/lib/components/mail/mail.component.css +0 -0
- package/src/lib/components/mail/mail.component.html +11 -0
- package/src/lib/components/mail/mail.component.spec.ts +23 -0
- package/src/lib/components/mail/mail.component.ts +47 -0
- package/src/lib/components/mail/mail.module.ts +13 -0
- package/src/lib/components/mail-validation/mail-validation.component.css +59 -0
- package/src/lib/components/mail-validation/mail-validation.component.html +37 -0
- package/src/lib/components/mail-validation/mail-validation.component.spec.ts +23 -0
- package/src/lib/components/mail-validation/mail-validation.component.ts +66 -0
- package/src/lib/components/mail-validation/mail-validation.module.ts +18 -0
- package/src/lib/components/o-auth/o-auth.component.css +21 -0
- package/src/lib/components/o-auth/o-auth.component.html +60 -0
- package/src/lib/components/o-auth/o-auth.component.spec.ts +23 -0
- package/src/lib/components/o-auth/o-auth.component.ts +43 -0
- package/src/lib/components/o-auth/o-auth.module.ts +11 -0
- package/src/lib/components/otp-input/otp-input.component.css +19 -0
- package/src/lib/components/otp-input/otp-input.component.html +14 -0
- package/src/lib/components/otp-input/otp-input.component.spec.ts +23 -0
- package/src/lib/components/otp-input/otp-input.component.ts +73 -0
- package/src/lib/components/otp-input/otp-input.module.ts +15 -0
- package/src/lib/components/reset-password/ResetPasswordData.ts +5 -0
- package/src/lib/components/reset-password/reset-password.component.css +29 -0
- package/src/lib/components/reset-password/reset-password.component.html +22 -0
- package/src/lib/components/reset-password/reset-password.component.spec.ts +23 -0
- package/src/lib/components/reset-password/reset-password.component.ts +108 -0
- package/src/lib/components/reset-password/reset-password.module.ts +18 -0
- package/src/lib/components/sign-in/sign-in.component.css +21 -0
- package/src/lib/components/sign-in/sign-in.component.html +84 -0
- package/src/lib/components/sign-in/sign-in.component.spec.ts +23 -0
- package/src/lib/components/sign-in/sign-in.component.ts +184 -0
- package/src/lib/components/sign-in/sign-in.module.ts +17 -0
- package/src/lib/components/sign-up/sign-up.component.css +36 -0
- package/src/lib/components/sign-up/sign-up.component.html +132 -0
- package/src/lib/components/sign-up/sign-up.component.spec.ts +23 -0
- package/src/lib/components/sign-up/sign-up.component.ts +176 -0
- package/src/lib/components/sign-up/sign-up.module.ts +15 -0
- package/src/lib/components/sso/base-table-style.ts +52 -0
- package/src/lib/components/sso/helper.ts +15 -0
- package/src/lib/components/sso/sso-form/sso-form.component.css +13 -0
- package/src/lib/components/sso/sso-form/sso-form.component.html +109 -0
- package/src/lib/components/sso/sso-form/sso-form.component.spec.ts +23 -0
- package/src/lib/components/sso/sso-form/sso-form.component.ts +70 -0
- package/src/lib/components/sso/sso.columns.ts +32 -0
- package/src/lib/components/sso/sso.component.css +47 -0
- package/src/lib/components/sso/sso.component.html +208 -0
- package/src/lib/components/sso/sso.component.spec.ts +23 -0
- package/src/lib/components/sso/sso.component.ts +261 -0
- package/src/lib/components/sso/sso.module.ts +40 -0
- package/src/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.css +8 -0
- package/src/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.html +30 -0
- package/src/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.spec.ts +23 -0
- package/src/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.ts +183 -0
- package/src/lib/components/two-factor-auth-otp/two-factor-auth-otp.module.ts +15 -0
- package/src/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.css +17 -0
- package/src/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.html +45 -0
- package/src/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.spec.ts +23 -0
- package/src/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.ts +57 -0
- package/src/lib/components/two-factor-auth-setup/two-factor-auth-setup.module.ts +11 -0
- package/src/lib/components/user-management/base-table-style.ts +52 -0
- package/src/lib/components/user-management/helper.ts +29 -0
- package/src/lib/components/user-management/index.ts +4 -0
- package/src/lib/components/user-management/useer-management.module.ts +48 -0
- package/src/lib/components/user-management/user-management-form/use-management-form.component.ts +61 -0
- package/src/lib/components/user-management/user-management-form/user-management-form.component.css +0 -0
- package/src/lib/components/user-management/user-management-form/user-management-form.component.html +91 -0
- package/src/lib/components/user-management/user-management-form/user-management-form.component.spec.ts +23 -0
- package/src/lib/components/user-management/user-management.columns.ts +45 -0
- package/src/lib/components/user-management/user-management.component.css +26 -0
- package/src/lib/components/user-management/user-management.component.html +275 -0
- package/src/lib/components/user-management/user-management.component.spec.ts +23 -0
- package/src/lib/components/user-management/user-management.component.ts +380 -0
- package/src/lib/components/user-management/user-management.service.ts +42 -0
- package/src/lib/components/user-request/user-request.component.css +91 -0
- package/src/lib/components/user-request/user-request.component.html +165 -0
- package/src/lib/components/user-request/user-request.component.spec.ts +23 -0
- package/src/lib/components/user-request/user-request.component.ts +167 -0
- package/src/lib/components/user-request/user-request.module.ts +18 -0
- package/src/lib/components/user-request-approval/access-request.columns.ts +26 -0
- package/src/lib/components/user-request-approval/base-table-style.ts +52 -0
- package/src/lib/components/user-request-approval/facades/user-access-request.facade.ts +152 -0
- package/src/lib/components/user-request-approval/helper.ts +39 -0
- package/src/lib/components/user-request-approval/services/user-access-request.service.spec.ts +16 -0
- package/src/lib/components/user-request-approval/services/user-access-request.service.ts +87 -0
- package/src/lib/components/user-request-approval/states/user-access-request.state.ts +65 -0
- package/src/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.css +0 -0
- package/src/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.html +7 -0
- package/src/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.spec.ts +23 -0
- package/src/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.ts +22 -0
- package/src/lib/components/user-request-approval/user-request-approval.component.css +1 -0
- package/src/lib/components/user-request-approval/user-request-approval.component.html +218 -0
- package/src/lib/components/user-request-approval/user-request-approval.component.spec.ts +23 -0
- package/src/lib/components/user-request-approval/user-request-approval.component.ts +301 -0
- package/src/lib/components/user-request-approval/user-request-approval.module.ts +52 -0
- package/src/lib/components/user-request-approval/user-request-approval.service.spec.ts +16 -0
- package/src/lib/components/user-request-approval/user-request-approval.service.ts +58 -0
- package/src/lib/components/user-request-approval/user-request-form/use-request-form.component.ts +66 -0
- package/src/lib/components/user-request-approval/user-request-form/user-request-form.component.css +0 -0
- package/src/lib/components/user-request-approval/user-request-form/user-request-form.component.html +97 -0
- package/src/lib/components/user-request-approval/user-request-form/user-request-form.component.spec.ts +23 -0
- package/src/lib/models/ErrorResponse.ts +7 -0
- package/src/lib/models/PasswordRequestParam.ts +5 -0
- package/src/lib/models/ResponseKeyValue.ts +5 -0
- package/src/lib/models/UserRequest.ts +28 -0
- package/src/lib/models/auth-mechanism.ts +14 -0
- package/src/lib/models/base.ts +11 -0
- package/src/lib/models/log-in.ts +7 -0
- package/{lib/models/mainUser.d.ts → src/lib/models/mainUser.ts} +3 -2
- package/src/lib/models/object-state.ts +6 -0
- package/{lib/models/otpValue.d.ts → src/lib/models/otpValue.ts} +3 -1
- package/src/lib/models/paged.ts +9 -0
- package/src/lib/models/query-params.ts +7 -0
- package/src/lib/models/request-status.ts +4 -0
- package/src/lib/models/resend-otp-data.ts +8 -0
- package/src/lib/models/resource.ts +27 -0
- package/src/lib/models/sign-up.ts +11 -0
- package/src/lib/models/single-sign-on.ts +9 -0
- package/src/lib/models/status.ts +5 -0
- package/src/lib/models/user-access-request-status.ts +5 -0
- package/{lib/models/user-access-request.d.ts → src/lib/models/user-access-request.ts} +4 -3
- package/src/lib/models/user.ts +24 -0
- package/src/lib/services/environment.service.spec.ts +16 -0
- package/src/lib/services/environment.service.ts +23 -0
- package/src/lib/services/http-web-request.service.spec.ts +16 -0
- package/src/lib/services/http-web-request.service.ts +101 -0
- package/src/lib/services/util.service.spec.ts +16 -0
- package/src/lib/services/util.service.ts +28 -0
- package/{public-api.d.ts → src/public-api.ts} +21 -0
- package/src/styles.css +96 -0
- package/src/theme/tailwind-setup.css +3 -0
- package/src/theme/tailwind.css +980 -0
- package/tailwind.config.js +20 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +11 -0
- package/tsconfig.spec.json +15 -0
- package/esm2022/lib/components/button/button.component.mjs +0 -46
- package/esm2022/lib/components/button/button.module.mjs +0 -20
- package/esm2022/lib/components/forgot-password/ForgotPasswordData.mjs +0 -2
- package/esm2022/lib/components/forgot-password/forgot-password.component.mjs +0 -86
- package/esm2022/lib/components/forgot-password/forgot-password.module.mjs +0 -34
- package/esm2022/lib/components/mail/mail.component.mjs +0 -69
- package/esm2022/lib/components/mail/mail.module.mjs +0 -21
- package/esm2022/lib/components/mail-validation/mail-validation.component.mjs +0 -108
- package/esm2022/lib/components/mail-validation/mail-validation.module.mjs +0 -34
- package/esm2022/lib/components/o-auth/o-auth.component.mjs +0 -25
- package/esm2022/lib/components/o-auth/o-auth.module.mjs +0 -19
- package/esm2022/lib/components/otp-input/otp-input.component.mjs +0 -75
- package/esm2022/lib/components/otp-input/otp-input.module.mjs +0 -23
- package/esm2022/lib/components/reset-password/ResetPasswordData.mjs +0 -2
- package/esm2022/lib/components/reset-password/reset-password.component.mjs +0 -107
- package/esm2022/lib/components/reset-password/reset-password.module.mjs +0 -34
- package/esm2022/lib/components/sign-in/sign-in.component.mjs +0 -214
- package/esm2022/lib/components/sign-in/sign-in.module.mjs +0 -24
- package/esm2022/lib/components/sign-up/sign-up.component.mjs +0 -223
- package/esm2022/lib/components/sign-up/sign-up.module.mjs +0 -24
- package/esm2022/lib/components/sso/base-table-style.mjs +0 -53
- package/esm2022/lib/components/sso/helper.mjs +0 -14
- package/esm2022/lib/components/sso/sso-form/sso-form.component.mjs +0 -74
- package/esm2022/lib/components/sso/sso.columns.mjs +0 -29
- package/esm2022/lib/components/sso/sso.component.mjs +0 -236
- package/esm2022/lib/components/sso/sso.module.mjs +0 -63
- package/esm2022/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.mjs +0 -201
- package/esm2022/lib/components/two-factor-auth-otp/two-factor-auth-otp.module.mjs +0 -22
- package/esm2022/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.mjs +0 -90
- package/esm2022/lib/components/two-factor-auth-setup/two-factor-auth-setup.module.mjs +0 -19
- package/esm2022/lib/components/user-management/base-table-style.mjs +0 -53
- package/esm2022/lib/components/user-management/helper.mjs +0 -26
- package/esm2022/lib/components/user-management/useer-management.module.mjs +0 -68
- package/esm2022/lib/components/user-management/user-management-form/use-management-form.component.mjs +0 -57
- package/esm2022/lib/components/user-management/user-management.columns.mjs +0 -43
- package/esm2022/lib/components/user-management/user-management.component.mjs +0 -323
- package/esm2022/lib/components/user-request/user-request.component.mjs +0 -206
- package/esm2022/lib/components/user-request/user-request.module.mjs +0 -34
- package/esm2022/lib/components/user-request-approval/access-request.columns.mjs +0 -24
- package/esm2022/lib/components/user-request-approval/base-table-style.mjs +0 -53
- package/esm2022/lib/components/user-request-approval/facades/user-access-request.facade.mjs +0 -128
- package/esm2022/lib/components/user-request-approval/helper.mjs +0 -35
- package/esm2022/lib/components/user-request-approval/services/user-access-request.service.mjs +0 -72
- package/esm2022/lib/components/user-request-approval/states/user-access-request.state.mjs +0 -59
- package/esm2022/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.mjs +0 -26
- package/esm2022/lib/components/user-request-approval/user-request-approval.component.mjs +0 -251
- package/esm2022/lib/components/user-request-approval/user-request-approval.module.mjs +0 -77
- package/esm2022/lib/components/user-request-approval/user-request-approval.service.mjs +0 -32
- package/esm2022/lib/components/user-request-approval/user-request-form/use-request-form.component.mjs +0 -64
- package/esm2022/lib/models/ErrorResponse.mjs +0 -11
- package/esm2022/lib/models/PasswordRequestParam.mjs +0 -2
- package/esm2022/lib/models/ResponseKeyValue.mjs +0 -2
- package/esm2022/lib/models/UserRequest.mjs +0 -2
- package/esm2022/lib/models/base.mjs +0 -2
- package/esm2022/lib/models/log-in.mjs +0 -2
- package/esm2022/lib/models/mainUser.mjs +0 -2
- package/esm2022/lib/models/object-state.mjs +0 -8
- package/esm2022/lib/models/otpValue.mjs +0 -2
- package/esm2022/lib/models/paged.mjs +0 -2
- package/esm2022/lib/models/query-params.mjs +0 -2
- package/esm2022/lib/models/request-status.mjs +0 -5
- package/esm2022/lib/models/sign-up.mjs +0 -2
- package/esm2022/lib/models/single-sign-on.mjs +0 -2
- package/esm2022/lib/models/status.mjs +0 -6
- package/esm2022/lib/models/user-access-request-status.mjs +0 -7
- package/esm2022/lib/models/user-access-request.mjs +0 -2
- package/esm2022/lib/models/user.mjs +0 -2
- package/esm2022/lib/services/environment.service.mjs +0 -26
- package/esm2022/lib/services/http-web-request.service.mjs +0 -83
- package/esm2022/lib/services/util.service.mjs +0 -32
- package/esm2022/public-api.mjs +0 -43
- package/esm2022/verben-authentication-ui.mjs +0 -5
- package/fesm2022/verben-authentication-ui.mjs +0 -3545
- package/fesm2022/verben-authentication-ui.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/components/button/button.component.d.ts +0 -17
- package/lib/components/button/button.module.d.ts +0 -10
- package/lib/components/forgot-password/forgot-password.component.d.ts +0 -28
- package/lib/components/forgot-password/forgot-password.module.d.ts +0 -10
- package/lib/components/mail/mail.component.d.ts +0 -32
- package/lib/components/mail/mail.module.d.ts +0 -11
- package/lib/components/mail-validation/mail-validation.component.d.ts +0 -42
- package/lib/components/mail-validation/mail-validation.module.d.ts +0 -10
- package/lib/components/o-auth/o-auth.component.d.ts +0 -10
- package/lib/components/o-auth/o-auth.module.d.ts +0 -9
- package/lib/components/otp-input/otp-input.component.d.ts +0 -20
- package/lib/components/otp-input/otp-input.module.d.ts +0 -13
- package/lib/components/reset-password/ResetPasswordData.d.ts +0 -5
- package/lib/components/reset-password/reset-password.component.d.ts +0 -30
- package/lib/components/reset-password/reset-password.module.d.ts +0 -10
- package/lib/components/sign-in/sign-in.component.d.ts +0 -77
- package/lib/components/sign-in/sign-in.module.d.ts +0 -13
- package/lib/components/sign-up/sign-up.component.d.ts +0 -66
- package/lib/components/sign-up/sign-up.module.d.ts +0 -13
- package/lib/components/sso/base-table-style.d.ts +0 -1
- package/lib/components/sso/helper.d.ts +0 -2
- package/lib/components/sso/sso-form/sso-form.component.d.ts +0 -21
- package/lib/components/sso/sso.columns.d.ts +0 -3
- package/lib/components/sso/sso.component.d.ts +0 -54
- package/lib/components/sso/sso.module.d.ts +0 -11
- package/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.d.ts +0 -65
- package/lib/components/two-factor-auth-otp/two-factor-auth-otp.module.d.ts +0 -12
- package/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.d.ts +0 -39
- package/lib/components/two-factor-auth-setup/two-factor-auth-setup.module.d.ts +0 -9
- package/lib/components/user-management/base-table-style.d.ts +0 -1
- package/lib/components/user-management/helper.d.ts +0 -2
- package/lib/components/user-management/useer-management.module.d.ts +0 -11
- package/lib/components/user-management/user-management-form/use-management-form.component.d.ts +0 -20
- package/lib/components/user-management/user-management.columns.d.ts +0 -3
- package/lib/components/user-management/user-management.component.d.ts +0 -60
- package/lib/components/user-request/user-request.component.d.ts +0 -60
- package/lib/components/user-request/user-request.module.d.ts +0 -10
- package/lib/components/user-request-approval/access-request.columns.d.ts +0 -3
- package/lib/components/user-request-approval/base-table-style.d.ts +0 -1
- package/lib/components/user-request-approval/facades/user-access-request.facade.d.ts +0 -23
- package/lib/components/user-request-approval/helper.d.ts +0 -6
- package/lib/components/user-request-approval/services/user-access-request.service.d.ts +0 -50
- package/lib/components/user-request-approval/states/user-access-request.state.d.ts +0 -21
- package/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.d.ts +0 -12
- package/lib/components/user-request-approval/user-request-approval.component.d.ts +0 -59
- package/lib/components/user-request-approval/user-request-approval.module.d.ts +0 -12
- package/lib/components/user-request-approval/user-request-approval.service.d.ts +0 -18
- package/lib/components/user-request-approval/user-request-form/use-request-form.component.d.ts +0 -21
- package/lib/models/ErrorResponse.d.ts +0 -6
- package/lib/models/PasswordRequestParam.d.ts +0 -5
- package/lib/models/ResponseKeyValue.d.ts +0 -5
- package/lib/models/UserRequest.d.ts +0 -24
- package/lib/models/base.d.ts +0 -10
- package/lib/models/log-in.d.ts +0 -7
- package/lib/models/object-state.d.ts +0 -6
- package/lib/models/paged.d.ts +0 -9
- package/lib/models/query-params.d.ts +0 -7
- package/lib/models/request-status.d.ts +0 -3
- package/lib/models/sign-up.d.ts +0 -9
- package/lib/models/single-sign-on.d.ts +0 -7
- package/lib/models/status.d.ts +0 -4
- package/lib/models/user-access-request-status.d.ts +0 -5
- package/lib/models/user.d.ts +0 -23
- package/lib/services/environment.service.d.ts +0 -16
- package/lib/services/http-web-request.service.d.ts +0 -23
- package/lib/services/util.service.d.ts +0 -8
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormGroup, FormBuilder } from '@angular/forms';
|
|
3
|
-
import { HttpWebRequestService } from '../../services/http-web-request.service';
|
|
4
|
-
import { UtilService } from '../../services/util.service';
|
|
5
|
-
import { ErrorResponse } from '../../models/ErrorResponse';
|
|
6
|
-
import { ResponseKeyValue } from '../../models/ResponseKeyValue';
|
|
7
|
-
import { OtpData } from '../../models/otpValue';
|
|
8
|
-
import { MainUser } from '../../models/mainUser';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class TwoFactorAuthOtpComponent {
|
|
11
|
-
private fb;
|
|
12
|
-
private server;
|
|
13
|
-
private utilService;
|
|
14
|
-
customClass: string;
|
|
15
|
-
headlingClass: string;
|
|
16
|
-
headlingText: string;
|
|
17
|
-
paragraphClass: string;
|
|
18
|
-
resendClass: string;
|
|
19
|
-
width: string;
|
|
20
|
-
maxWidth: string;
|
|
21
|
-
margin: string;
|
|
22
|
-
pd: string;
|
|
23
|
-
bgColor: string;
|
|
24
|
-
boxShadow: string;
|
|
25
|
-
border: string;
|
|
26
|
-
borderRadius: string;
|
|
27
|
-
textColor: string;
|
|
28
|
-
height: string;
|
|
29
|
-
length: number;
|
|
30
|
-
otpClass: string;
|
|
31
|
-
User: MainUser;
|
|
32
|
-
OtpData: OtpData;
|
|
33
|
-
btnClass: string;
|
|
34
|
-
btnBgColor: string;
|
|
35
|
-
btnColor: string;
|
|
36
|
-
btnBorder: string;
|
|
37
|
-
btnBorderRadius: string;
|
|
38
|
-
btnPd: string;
|
|
39
|
-
btnText: string;
|
|
40
|
-
otpValue: string;
|
|
41
|
-
otpForm: FormGroup;
|
|
42
|
-
buttonClick: EventEmitter<string>;
|
|
43
|
-
otpChange: EventEmitter<string>;
|
|
44
|
-
onSubmitEnd: EventEmitter<ResponseKeyValue | ErrorResponse>;
|
|
45
|
-
resend: EventEmitter<any>;
|
|
46
|
-
constructor(fb: FormBuilder, server: HttpWebRequestService, utilService: UtilService);
|
|
47
|
-
ngOnInit(): void;
|
|
48
|
-
onOtpChange(value: string): void;
|
|
49
|
-
submitData(): Promise<void>;
|
|
50
|
-
resendOtp(): void;
|
|
51
|
-
get styles(): {
|
|
52
|
-
'background-color': string;
|
|
53
|
-
'box-shadow': string;
|
|
54
|
-
border: string;
|
|
55
|
-
'border-radius': string;
|
|
56
|
-
color: string;
|
|
57
|
-
width: string;
|
|
58
|
-
'max-width': string;
|
|
59
|
-
margin: string;
|
|
60
|
-
height: string;
|
|
61
|
-
padding: string;
|
|
62
|
-
};
|
|
63
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TwoFactorAuthOtpComponent, never>;
|
|
64
|
-
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"; "otpChange": "otpChange"; "onSubmitEnd": "onSubmitEnd"; "resend": "resend"; }, never, never, false, never>;
|
|
65
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
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
|
-
headlingText: string;
|
|
7
|
-
paragraphClass: string;
|
|
8
|
-
buttonClass: string;
|
|
9
|
-
width: string;
|
|
10
|
-
maxWidth: string;
|
|
11
|
-
margin: string;
|
|
12
|
-
pd: string;
|
|
13
|
-
bgColor: string;
|
|
14
|
-
boxShadow: string;
|
|
15
|
-
border: string;
|
|
16
|
-
borderRadius: string;
|
|
17
|
-
textColor: string;
|
|
18
|
-
height: string;
|
|
19
|
-
smsClick: EventEmitter<any>;
|
|
20
|
-
mailClick: EventEmitter<any>;
|
|
21
|
-
skipClick: EventEmitter<any>;
|
|
22
|
-
continueWithSMS(): void;
|
|
23
|
-
continueWithMail(): void;
|
|
24
|
-
handleSkip(): void;
|
|
25
|
-
get styles(): {
|
|
26
|
-
'background-color': string;
|
|
27
|
-
'box-shadow': string;
|
|
28
|
-
border: string;
|
|
29
|
-
'border-radius': string;
|
|
30
|
-
color: string;
|
|
31
|
-
width: string;
|
|
32
|
-
'max-width': string;
|
|
33
|
-
margin: string;
|
|
34
|
-
height: string;
|
|
35
|
-
padding: string;
|
|
36
|
-
};
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TwoFactorAuthSetupComponent, 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>;
|
|
39
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
export declare const baseStyle: any;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./user-management.component";
|
|
3
|
-
import * as i2 from "./user-management-form/use-management-form.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "verben-ng-ui";
|
|
6
|
-
import * as i5 from "@angular/forms";
|
|
7
|
-
export declare class LibUserManagementModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LibUserManagementModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LibUserManagementModule, [typeof i1.UserManagementComponent, typeof i2.UserManagementFormComponent], [typeof i3.CommonModule, typeof i4.DataTableModule, typeof i4.CardModule, typeof i4.SvgModule, typeof i4.DataViewModule, typeof i4.CardDataViewModule, typeof i4.SortTableModule, typeof i4.VisibleColumnModule, typeof i4.TableFilterModule, typeof i4.DataExportModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i4.VerbenaInputModule, typeof i4.VerbenaButtonModule, typeof i4.VerbenaBadgeModule, typeof i4.DropDownModule], [typeof i1.UserManagementComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<LibUserManagementModule>;
|
|
11
|
-
}
|
package/lib/components/user-management/user-management-form/use-management-form.component.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
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 UserManagementFormComponent {
|
|
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<UserManagementFormComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserManagementFormComponent, "lib-user-request-form", never, { "currentData": { "alias": "currentData"; "required": false; }; }, { "switchView": "switchView"; }, never, never, false, never>;
|
|
20
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { UserAccessRequest } from '../../models/user-access-request';
|
|
2
|
-
import { CardData, IDataFilter, DropdownLoadEvent, DropdownChangeEvent, CardDataViewComponent, DataViewComponent } from 'verben-ng-ui';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
interface TestParentObject {
|
|
5
|
-
Id: string;
|
|
6
|
-
Name: string;
|
|
7
|
-
}
|
|
8
|
-
export declare class UserManagementComponent {
|
|
9
|
-
cardDataView: CardDataViewComponent;
|
|
10
|
-
dataView: DataViewComponent;
|
|
11
|
-
columns: import("verben-ng-ui").ColumnDefinition<UserAccessRequest>[];
|
|
12
|
-
data: UserAccessRequest[];
|
|
13
|
-
styles: any;
|
|
14
|
-
selectedParent?: string;
|
|
15
|
-
basicOption?: string;
|
|
16
|
-
selectedOption: string[];
|
|
17
|
-
selectedOptionTwo: string[];
|
|
18
|
-
selectedOptionThree?: string;
|
|
19
|
-
missingObject: any;
|
|
20
|
-
private generateNewUserAccessRequest;
|
|
21
|
-
addNewUserToMockData(): UserAccessRequest;
|
|
22
|
-
isGridView: boolean;
|
|
23
|
-
currentData: CardData;
|
|
24
|
-
selectedColumnCount: number;
|
|
25
|
-
selectedFilterTableCount: number;
|
|
26
|
-
isOPen: boolean;
|
|
27
|
-
selectedSortCount: number;
|
|
28
|
-
showColumn: boolean;
|
|
29
|
-
showSort: boolean;
|
|
30
|
-
selectedAll: boolean;
|
|
31
|
-
visibleColumns: IDataFilter[];
|
|
32
|
-
filterArray: IDataFilter[];
|
|
33
|
-
sortOptions: IDataFilter[];
|
|
34
|
-
testParents: TestParentObject[];
|
|
35
|
-
cardData: CardData[];
|
|
36
|
-
ngOnInit(): void;
|
|
37
|
-
getParentLabel(context: any): string;
|
|
38
|
-
loadMoreParents(event: DropdownLoadEvent): Promise<TestParentObject[]>;
|
|
39
|
-
onDropdownChange(event: DropdownChangeEvent): void;
|
|
40
|
-
onSelectionChange(selectedRows: UserAccessRequest[]): void;
|
|
41
|
-
handleExport(exportedData: Partial<any>[]): void;
|
|
42
|
-
private downloadCSV;
|
|
43
|
-
getCardDataByMailAddress(mailAddress: string): CardData | undefined;
|
|
44
|
-
openDetailView(mailAddress: string): void;
|
|
45
|
-
newItem(): void;
|
|
46
|
-
clearData(): void;
|
|
47
|
-
loadMore(): void;
|
|
48
|
-
onColumnChange(event: boolean): void;
|
|
49
|
-
onSortChange(event: boolean): void;
|
|
50
|
-
onColumnsUpdated(updatedColumns: IDataFilter[]): void;
|
|
51
|
-
onSortUpdated(updatedSorts: IDataFilter[]): void;
|
|
52
|
-
onViewChange(isGridView: boolean): void;
|
|
53
|
-
onStateChange(event: {
|
|
54
|
-
key: string;
|
|
55
|
-
value: boolean;
|
|
56
|
-
}): void;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserManagementComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserManagementComponent, "lib-user-management", never, {}, {}, never, never, false, never>;
|
|
59
|
-
}
|
|
60
|
-
export {};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { AbstractControl, FormBuilder, FormGroup, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { HttpWebRequestService } from '../../services/http-web-request.service';
|
|
4
|
-
import { UserRequestPayload } from '../../models/UserRequest';
|
|
5
|
-
import { UtilService } from '../../services/util.service';
|
|
6
|
-
import { EnvironmentService } from '../../services/environment.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class UserRequestComponent {
|
|
9
|
-
private fb;
|
|
10
|
-
private server;
|
|
11
|
-
private utilService;
|
|
12
|
-
private envSvc;
|
|
13
|
-
width: string;
|
|
14
|
-
headingTitle: string;
|
|
15
|
-
headingClass: string;
|
|
16
|
-
customClass: string;
|
|
17
|
-
bgColor: string;
|
|
18
|
-
boxShadow: string;
|
|
19
|
-
border: string;
|
|
20
|
-
borderRadius: string;
|
|
21
|
-
textColor: string;
|
|
22
|
-
height: string;
|
|
23
|
-
pd: string;
|
|
24
|
-
apiKey: string;
|
|
25
|
-
text: string;
|
|
26
|
-
color: string;
|
|
27
|
-
btnBorder: string;
|
|
28
|
-
btnBorderRadius: string;
|
|
29
|
-
btnBgColor: string;
|
|
30
|
-
btnWidth: string;
|
|
31
|
-
btnPd: string;
|
|
32
|
-
termsLink: string;
|
|
33
|
-
privacyLink: string;
|
|
34
|
-
routerLink: string;
|
|
35
|
-
formSubmit: EventEmitter<UserRequestPayload[]>;
|
|
36
|
-
googleClick: EventEmitter<any>;
|
|
37
|
-
onSubmitSuccess: EventEmitter<any>;
|
|
38
|
-
appleClick: EventEmitter<any>;
|
|
39
|
-
onSubmitResponseEnd: EventEmitter<any>;
|
|
40
|
-
userRequestForm: FormGroup;
|
|
41
|
-
constructor(fb: FormBuilder, server: HttpWebRequestService, utilService: UtilService, envSvc: EnvironmentService);
|
|
42
|
-
passwordMatchValidator(control: AbstractControl): ValidationErrors | null;
|
|
43
|
-
get passwordMismatchError(): boolean;
|
|
44
|
-
get styles(): {
|
|
45
|
-
'background-color': string;
|
|
46
|
-
'box-shadow': string;
|
|
47
|
-
border: string;
|
|
48
|
-
'border-radius': string;
|
|
49
|
-
color: string;
|
|
50
|
-
'max-width': string;
|
|
51
|
-
height: string;
|
|
52
|
-
padding: string;
|
|
53
|
-
};
|
|
54
|
-
checkForm(): boolean;
|
|
55
|
-
handleGoogleAuth(): void;
|
|
56
|
-
handleAppleAuth(): void;
|
|
57
|
-
submitForm(): Promise<void>;
|
|
58
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserRequestComponent, never>;
|
|
59
|
-
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"; "onSubmitSuccess": "onSubmitSuccess"; "appleClick": "appleClick"; "onSubmitResponseEnd": "onSubmitResponseEnd"; }, never, never, false, never>;
|
|
60
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./user-request.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 UserRequestModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserRequestModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UserRequestModule, [typeof i1.UserRequestComponent], [typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.VerbenaInputModule, typeof i3.VerbenaButtonModule, typeof i4.CommonModule], [typeof i1.UserRequestComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<UserRequestModule>;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const baseStyle: any;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { UserAccessRequestState } from '../states/user-access-request.state';
|
|
3
|
-
import { UserAccessRequest } from '../../../models/user-access-request';
|
|
4
|
-
import { QueryParams } from '../../../models/query-params';
|
|
5
|
-
import { UserAccessRequestService } from '../services/user-access-request.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class UserAccessRequestFacade {
|
|
8
|
-
private userAccessRequestService;
|
|
9
|
-
private userAccessRequestState;
|
|
10
|
-
constructor(userAccessRequestService: UserAccessRequestService, userAccessRequestState: UserAccessRequestState);
|
|
11
|
-
isUpdating$(): Observable<boolean>;
|
|
12
|
-
getRequests$(): Observable<UserAccessRequest[]>;
|
|
13
|
-
getQueryParams$(): Observable<QueryParams<UserAccessRequest>>;
|
|
14
|
-
loadRequests(): Promise<void>;
|
|
15
|
-
loadRequestsWithParam(param: string): Promise<void>;
|
|
16
|
-
updateQueryParams(params: Partial<QueryParams<UserAccessRequest>>): void;
|
|
17
|
-
addRequest(request: Partial<UserAccessRequest>): Promise<void>;
|
|
18
|
-
updateRequest(request: UserAccessRequest): Promise<void>;
|
|
19
|
-
deleteRequest(requestId: string): Promise<void>;
|
|
20
|
-
approveRequest(request: UserAccessRequest): Promise<void>;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserAccessRequestFacade, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserAccessRequestFacade>;
|
|
23
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { HttpWebRequestService } from '../../../services/http-web-request.service';
|
|
3
|
-
import { UserAccessRequest } from '../../../models/user-access-request';
|
|
4
|
-
import { Paged } from '../../../models/paged';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class UserAccessRequestService {
|
|
7
|
-
private httpService;
|
|
8
|
-
private readonly BASE_URL;
|
|
9
|
-
constructor(httpService: HttpWebRequestService);
|
|
10
|
-
/**
|
|
11
|
-
* Get user access requests with pagination and sorting
|
|
12
|
-
* @param skip Number of records to skip
|
|
13
|
-
* @param limit Number of records to take
|
|
14
|
-
* @param sortParam Sort parameter
|
|
15
|
-
* @param sortOrder Sort order ('asc' or 'desc')
|
|
16
|
-
* @returns Promise containing the user access requests
|
|
17
|
-
*/
|
|
18
|
-
getUserAccessRequests(skip: number, limit: number, sortParam: string, sortOrder: string): Promise<Paged<UserAccessRequest>>;
|
|
19
|
-
/**
|
|
20
|
-
* Get user access requests with additional parameter, pagination and sorting
|
|
21
|
-
* @param param Search parameter
|
|
22
|
-
* @param skip Number of records to skip
|
|
23
|
-
* @param limit Number of records to take
|
|
24
|
-
* @param sortParam Sort parameter
|
|
25
|
-
* @param sortOrder Sort order ('asc' or 'desc')
|
|
26
|
-
* @returns Promise containing the filtered user access requests
|
|
27
|
-
*/
|
|
28
|
-
getUserAccessRequestWithParam(param: string, skip: number, limit: number, sortParam: string, sortOrder: string): Promise<Paged<UserAccessRequest>>;
|
|
29
|
-
/**
|
|
30
|
-
* Save multiple user access requests
|
|
31
|
-
* @param requests Array of user access requests to save
|
|
32
|
-
* @returns Promise containing the save operation result
|
|
33
|
-
*/
|
|
34
|
-
saveUserAccessRequests(requests: UserAccessRequest[]): Promise<any>;
|
|
35
|
-
/**
|
|
36
|
-
* Approve or reject multiple user access requests
|
|
37
|
-
* @param requests Array of user access requests to save
|
|
38
|
-
* @param isApproval True for approval, false for decline
|
|
39
|
-
* @returns Promise containing the save operation result
|
|
40
|
-
*/
|
|
41
|
-
processUserAccessRequests(requests: UserAccessRequest[], isApproval: boolean): Promise<any>;
|
|
42
|
-
/**
|
|
43
|
-
* Delete multiple user access requests
|
|
44
|
-
* @param requestIds Array of request IDs to delete
|
|
45
|
-
* @returns Observable containing the delete operation result
|
|
46
|
-
*/
|
|
47
|
-
deleteUserAccessRequests(requestIds: string[]): Observable<any>;
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserAccessRequestService, never>;
|
|
49
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserAccessRequestService>;
|
|
50
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { QueryParams } from '../../../models/query-params';
|
|
3
|
-
import { UserAccessRequest } from '../../../models/user-access-request';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class UserAccessRequestState {
|
|
6
|
-
private updating$;
|
|
7
|
-
private requests$;
|
|
8
|
-
private queryParams$;
|
|
9
|
-
isUpdating$(): Observable<boolean>;
|
|
10
|
-
setUpdating(isUpdating: boolean): void;
|
|
11
|
-
getRequests$(): Observable<UserAccessRequest[]>;
|
|
12
|
-
setRequests(requests: UserAccessRequest[]): void;
|
|
13
|
-
getQueryParams$(): Observable<QueryParams<UserAccessRequest>>;
|
|
14
|
-
getQueryParamsValue(): QueryParams<UserAccessRequest>;
|
|
15
|
-
updateQueryParams(params: Partial<QueryParams<UserAccessRequest>>): void;
|
|
16
|
-
addRequest(request: UserAccessRequest): void;
|
|
17
|
-
updateRequest(updatedRequest: UserAccessRequest): void;
|
|
18
|
-
removeRequest(requestId: string): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserAccessRequestState, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserAccessRequestState>;
|
|
21
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit, Signal, WritableSignal } from '@angular/core';
|
|
2
|
-
import { UserAccessRequest } from '../../models/user-access-request';
|
|
3
|
-
import { CardData, CardDataViewComponent, ColumnDefinition, DataViewComponent, IDataFilter } from 'verben-ng-ui';
|
|
4
|
-
import { UserAccessRequestFacade } from './facades/user-access-request.facade';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class UserRequestApprovalComponent implements OnInit {
|
|
7
|
-
private cdr;
|
|
8
|
-
private userAccessRequestFacade;
|
|
9
|
-
cardDataView: CardDataViewComponent;
|
|
10
|
-
dataView: DataViewComponent;
|
|
11
|
-
columns: ColumnDefinition<UserAccessRequest>[];
|
|
12
|
-
visibleColumnDef: ColumnDefinition<UserAccessRequest>[];
|
|
13
|
-
data: WritableSignal<UserAccessRequest[]>;
|
|
14
|
-
styles: any;
|
|
15
|
-
currentData: CardData | null;
|
|
16
|
-
isGridView: boolean;
|
|
17
|
-
selected: CardData | null;
|
|
18
|
-
cardData: Signal<CardData[]>;
|
|
19
|
-
constructor(cdr: ChangeDetectorRef, userAccessRequestFacade: UserAccessRequestFacade);
|
|
20
|
-
ngOnInit(): Promise<void>;
|
|
21
|
-
searchRequests(param: string): Promise<void>;
|
|
22
|
-
onApprove(mailAddress: string): Promise<void>;
|
|
23
|
-
openDetailView(mailAddress: string): void;
|
|
24
|
-
getCardDataByMailAddress(mailAddress: string): CardData | undefined;
|
|
25
|
-
onViewChange(isGridView: boolean): void;
|
|
26
|
-
openFormView(index: number): void;
|
|
27
|
-
handleExport(exportedData: Partial<any>[]): void;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @param data Simple csv export for testing
|
|
31
|
-
*/
|
|
32
|
-
private downloadCSV;
|
|
33
|
-
onSelectionChange(selectedRows: UserAccessRequest[]): void;
|
|
34
|
-
/**
|
|
35
|
-
* Copied over from card view doc until I understand usage
|
|
36
|
-
*/
|
|
37
|
-
selectedColumnCount: number;
|
|
38
|
-
selectedFilterTableCount: number;
|
|
39
|
-
isOPen: boolean;
|
|
40
|
-
selectedSortCount: number;
|
|
41
|
-
showColumn: boolean;
|
|
42
|
-
showSort: boolean;
|
|
43
|
-
selectedAll: boolean;
|
|
44
|
-
visibleColumns: IDataFilter[];
|
|
45
|
-
filterArray: IDataFilter[];
|
|
46
|
-
sortOptions: IDataFilter[];
|
|
47
|
-
clearData(): void;
|
|
48
|
-
loadMore(): void;
|
|
49
|
-
onColumnChange(event: boolean): void;
|
|
50
|
-
onSortChange(event: boolean): void;
|
|
51
|
-
onColumnsUpdated(updatedColumns: IDataFilter[]): void;
|
|
52
|
-
onSortUpdated(updatedSorts: IDataFilter[]): void;
|
|
53
|
-
onStateChange(event: {
|
|
54
|
-
key: string;
|
|
55
|
-
value: boolean;
|
|
56
|
-
}): void;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserRequestApprovalComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserRequestApprovalComponent, "lib-user-request-approval", never, {}, {}, never, never, false, never>;
|
|
59
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./user-request-approval.component";
|
|
3
|
-
import * as i2 from "./user-request-form/use-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
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
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/use-request-form.component.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
onApproval: EventEmitter<string>;
|
|
10
|
-
form: FormGroup;
|
|
11
|
-
roles: {
|
|
12
|
-
id: string;
|
|
13
|
-
name: string;
|
|
14
|
-
}[];
|
|
15
|
-
constructor(fb: FormBuilder);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
onSave(): void;
|
|
18
|
-
onDelete(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserRequestFormComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserRequestFormComponent, "lib-user-request-form", never, { "currentData": { "alias": "currentData"; "required": false; }; }, { "switchView": "switchView"; "onApproval": "onApproval"; }, never, never, false, never>;
|
|
21
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ObjectState } from "./object-state";
|
|
2
|
-
import { RequestStatus } from "./request-status";
|
|
3
|
-
import { Status } from "./status";
|
|
4
|
-
export interface UserRequestPayload {
|
|
5
|
-
Code: string;
|
|
6
|
-
FirstName: string;
|
|
7
|
-
LastName: string;
|
|
8
|
-
MailAddress: string;
|
|
9
|
-
Password: string;
|
|
10
|
-
PhoneNumber: string;
|
|
11
|
-
OtherName: string;
|
|
12
|
-
Role: string[];
|
|
13
|
-
Tags: [];
|
|
14
|
-
Status: Status;
|
|
15
|
-
UpdatedAt: Date;
|
|
16
|
-
CreatedAt: Date;
|
|
17
|
-
Id: string;
|
|
18
|
-
DataState: ObjectState;
|
|
19
|
-
TenantId: string;
|
|
20
|
-
ServiceName: string;
|
|
21
|
-
ActionBy: string;
|
|
22
|
-
RequestStatus: RequestStatus;
|
|
23
|
-
Comment: string;
|
|
24
|
-
}
|
package/lib/models/base.d.ts
DELETED
package/lib/models/log-in.d.ts
DELETED