verben-authentication-ui 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ng-package.json +8 -0
- package/package.json +10 -15
- package/src/lib/base/base-data.component.ts +86 -0
- package/src/lib/base/base-data.facade.ts +157 -0
- package/src/lib/base/base-data.service.ts +49 -0
- package/src/lib/base/base-data.state.ts +94 -0
- package/src/lib/base/models.ts +14 -0
- package/src/lib/components/auth-callback/auth-callback.component.css +30 -0
- package/src/lib/components/auth-callback/auth-callback.component.html +6 -0
- package/src/lib/components/auth-callback/auth-callback.component.spec.ts +23 -0
- package/src/lib/components/auth-callback/auth-callback.component.ts +56 -0
- package/src/lib/components/auth-callback/auth-callback.module.ts +10 -0
- 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 +46 -0
- package/src/lib/components/forgot-password/forgot-password.component.html +19 -0
- package/src/lib/components/forgot-password/forgot-password.component.spec.ts +23 -0
- package/src/lib/components/forgot-password/forgot-password.component.ts +88 -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 +26 -0
- package/src/lib/components/o-auth/o-auth.component.html +26 -0
- package/src/lib/components/o-auth/o-auth.component.spec.ts +23 -0
- package/src/lib/components/o-auth/o-auth.component.ts +115 -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 +15 -0
- package/src/lib/components/otp-input/otp-input.component.spec.ts +23 -0
- package/src/lib/components/otp-input/otp-input.component.ts +88 -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 +24 -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/role-control/ChildrenType.ts +4 -0
- package/{lib/components/role-control/MappedRole.d.ts → src/lib/components/role-control/MappedRole.ts} +3 -2
- package/{lib/components/role-control/MappedRoleAction.d.ts → src/lib/components/role-control/MappedRoleAction.ts} +2 -1
- package/{lib/components/role-control/MappedRoleContext.d.ts → src/lib/components/role-control/MappedRoleContext.ts} +4 -3
- package/src/lib/components/role-control/UIActions.ts +5 -0
- package/src/lib/components/role-control/UIs.ts +38 -0
- package/src/lib/components/role-control/base-table-style.ts +52 -0
- package/src/lib/components/role-control/role-control.component.css +55 -0
- package/src/lib/components/role-control/role-control.component.html +571 -0
- package/src/lib/components/role-control/role-control.component.spec.ts +23 -0
- package/src/lib/components/role-control/role-control.component.ts +1817 -0
- package/src/lib/components/role-control/role-control.module.ts +10 -0
- package/src/lib/components/role-control/role-control.service.spec.ts +16 -0
- package/src/lib/components/role-control/role-control.service.ts +53 -0
- package/src/lib/components/sign-in/sign-in.component.css +21 -0
- package/src/lib/components/sign-in/sign-in.component.html +83 -0
- package/src/lib/components/sign-in/sign-in.component.spec.ts +23 -0
- package/src/lib/components/sign-in/sign-in.component.ts +267 -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 +180 -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 +17 -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 +155 -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/facades/user-management.facades.ts +133 -0
- package/src/lib/components/user-management/helper.ts +38 -0
- package/src/lib/components/user-management/index.ts +4 -0
- package/src/lib/components/user-management/services/user-management.service.spec.ts +16 -0
- package/src/lib/components/user-management/services/user-management.service.ts +111 -0
- package/src/lib/components/user-management/states/user-management.state.ts +65 -0
- package/src/lib/components/user-management/user-management-form/use-management-form.component.ts +73 -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 +80 -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 +51 -0
- package/src/lib/components/user-management/user-management.component.css +31 -0
- package/src/lib/components/user-management/user-management.component.html +319 -0
- package/src/lib/components/user-management/user-management.component.spec.ts +23 -0
- package/src/lib/components/user-management/user-management.component.ts +604 -0
- package/src/lib/components/user-management/user-management.module.ts +56 -0
- package/src/lib/components/user-management/user-status-badge/user-status-badge.component.css +0 -0
- package/src/lib/components/user-management/user-status-badge/user-status-badge.component.html +8 -0
- package/src/lib/components/user-management/user-status-badge/user-status-badge.component.spec.ts +22 -0
- package/src/lib/components/user-management/user-status-badge/user-status-badge.component.ts +22 -0
- package/src/lib/components/user-request/user-request.component.css +91 -0
- package/src/lib/components/user-request/user-request.component.html +137 -0
- package/src/lib/components/user-request/user-request.component.spec.ts +23 -0
- package/src/lib/components/user-request/user-request.component.ts +306 -0
- package/src/lib/components/user-request/user-request.module.ts +20 -0
- package/src/lib/components/user-request-approval/access-request.columns.ts +31 -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 +324 -0
- package/src/lib/components/user-request-approval/helper.ts +61 -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 +122 -0
- package/src/lib/components/user-request-approval/states/user-access-request.state.ts +109 -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 +8 -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 +6 -0
- package/src/lib/components/user-request-approval/user-request-approval.component.html +269 -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 +326 -0
- package/src/lib/components/user-request-approval/user-request-approval.module.ts +54 -0
- package/src/lib/components/user-request-approval/user-request-form/use-request-form.component.ts +98 -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 +94 -0
- package/src/lib/components/user-request-approval/user-request-form/user-request-form.component.spec.ts +23 -0
- package/src/lib/components/user-request-process/user-request-process.component.css +0 -0
- package/src/lib/components/user-request-process/user-request-process.component.html +1 -0
- package/src/lib/components/user-request-process/user-request-process.component.spec.ts +23 -0
- package/src/lib/components/user-request-process/user-request-process.component.ts +12 -0
- package/src/lib/components/user-request-process/user-request-process.module.ts +12 -0
- package/src/lib/models/ApplicationRoleAction.ts +10 -0
- package/{lib/models/ApplicationRoleContext.d.ts → src/lib/models/ApplicationRoleContext copy.ts } +6 -5
- package/src/lib/models/ApplicationRoleContext.ts +10 -0
- package/src/lib/models/ErrorResponse.ts +7 -0
- package/src/lib/models/FilterTypes.ts +8 -0
- package/src/lib/models/MailConfig.ts +13 -0
- package/src/lib/models/MessageConfig.ts +5 -0
- package/src/lib/models/MessageMedium.ts +4 -0
- package/src/lib/models/OAuthParam.ts +10 -0
- package/src/lib/models/OAuthType.ts +7 -0
- package/src/lib/models/PagedResult.ts +9 -0
- package/src/lib/models/PasswordRequestParam.ts +5 -0
- package/src/lib/models/PeriodMode.ts +10 -0
- package/{lib/models/PermissionConfig.d.ts → src/lib/models/PermissionConfig.ts} +4 -3
- package/src/lib/models/ReportSchedule.ts +23 -0
- package/src/lib/models/ReportType.ts +5 -0
- package/src/lib/models/ResponseKeyValue.ts +5 -0
- package/{lib/models/Role.d.ts → src/lib/models/Role.ts} +6 -5
- package/src/lib/models/RoleAction.ts +11 -0
- package/src/lib/models/RoleContext.ts +11 -0
- package/src/lib/models/SMSConfig.ts +11 -0
- package/{lib/models/SearchDynamicWrapper.d.ts → src/lib/models/SearchDynamicWrapper.ts} +3 -2
- package/src/lib/models/SearchOperator.ts +4 -0
- package/src/lib/models/SearchPropertySign.ts +9 -0
- package/{lib/models/SearchPropertyValue.d.ts → src/lib/models/SearchPropertyValue.ts} +7 -6
- package/src/lib/models/SearchPropertyValueType.ts +9 -0
- package/src/lib/models/SortDirection.ts +5 -0
- package/{lib/models/Tag.d.ts → src/lib/models/Tag.ts} +4 -3
- package/src/lib/models/TaskNotification.ts +14 -0
- package/src/lib/models/TaskNotificationMessageType.ts +4 -0
- package/src/lib/models/TaskNotificationType.ts +4 -0
- package/src/lib/models/Tenant.ts +22 -0
- package/src/lib/models/TenantConfig.ts +19 -0
- package/src/lib/models/UserRequest.ts +38 -0
- package/src/lib/models/auth-mechanism.ts +15 -0
- package/src/lib/models/base.ts +13 -0
- package/src/lib/models/conditions.ts +11 -0
- package/src/lib/models/log-in.ts +8 -0
- package/{lib/models/mainUser.d.ts → src/lib/models/mainUser.ts} +3 -2
- package/src/lib/models/oauth-resp.ts +6 -0
- package/{lib/models/oauth-response.d.ts → src/lib/models/oauth-response.ts} +1 -1
- package/src/lib/models/object-state.ts +6 -0
- package/{lib/models/otpValue.d.ts → src/lib/models/otpValue.ts} +4 -2
- package/src/lib/models/paged.ts +9 -0
- package/src/lib/models/query-params.ts +9 -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} +5 -4
- package/src/lib/models/user-object-state.ts +6 -0
- package/src/lib/models/user.ts +19 -0
- package/src/lib/pipes/async-label.pipe.spec.ts +8 -0
- package/src/lib/pipes/async-label.pipe.ts +20 -0
- package/src/lib/services/authorization.service.spec.ts +16 -0
- package/src/lib/services/authorization.service.ts +24 -0
- package/src/lib/services/encryption.service.ts +57 -0
- package/src/lib/services/environment.service.spec.ts +16 -0
- package/src/lib/services/environment.service.ts +30 -0
- package/src/lib/services/http-web-request.service.spec.ts +16 -0
- package/src/lib/services/http-web-request.service.ts +114 -0
- package/src/lib/services/label.service.spec.ts +16 -0
- package/src/lib/services/label.service.ts +177 -0
- package/src/lib/services/util.service.spec.ts +16 -0
- package/src/lib/services/util.service.ts +49 -0
- package/src/lib/shared/shared.module.ts +55 -0
- package/{public-api.d.ts → src/public-api.ts} +24 -0
- package/src/styles.css +96 -0
- package/src/theme/tailwind-setup.css +3 -0
- package/src/theme/tailwind.css +1030 -0
- package/src/utils/components/base-data-view.component.ts +131 -0
- package/src/utils/models/DataViewConfig.ts +19 -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/auth-callback/auth-callback.component.mjs +0 -57
- package/esm2022/lib/components/auth-callback/auth-callback.module.mjs +0 -18
- 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 -89
- 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 -107
- package/esm2022/lib/components/o-auth/o-auth.module.mjs +0 -19
- package/esm2022/lib/components/otp-input/otp-input.component.mjs +0 -86
- 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 -108
- package/esm2022/lib/components/reset-password/reset-password.module.mjs +0 -34
- package/esm2022/lib/components/role-control/ChildrenType.mjs +0 -6
- package/esm2022/lib/components/role-control/MappedRole.mjs +0 -2
- package/esm2022/lib/components/role-control/MappedRoleAction.mjs +0 -2
- package/esm2022/lib/components/role-control/MappedRoleContext.mjs +0 -2
- package/esm2022/lib/components/role-control/UIActions.mjs +0 -7
- package/esm2022/lib/components/role-control/UIs.mjs +0 -40
- package/esm2022/lib/components/role-control/base-table-style.mjs +0 -53
- package/esm2022/lib/components/role-control/role-control.component.mjs +0 -1364
- package/esm2022/lib/components/role-control/role-control.module.mjs +0 -18
- package/esm2022/lib/components/role-control/role-control.service.mjs +0 -54
- package/esm2022/lib/components/sign-in/sign-in.component.mjs +0 -318
- package/esm2022/lib/components/sign-in/sign-in.module.mjs +0 -24
- package/esm2022/lib/components/sign-up/sign-up.component.mjs +0 -229
- 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 -16
- 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 -209
- 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/services/user-management.service.mjs +0 -88
- package/esm2022/lib/components/user-management/user-management-form/use-management-form.component.mjs +0 -71
- package/esm2022/lib/components/user-management/user-management.columns.mjs +0 -47
- package/esm2022/lib/components/user-management/user-management.component.mjs +0 -475
- package/esm2022/lib/components/user-management/user-management.module.mjs +0 -79
- package/esm2022/lib/components/user-management/user-status-badge/user-status-badge.component.mjs +0 -26
- package/esm2022/lib/components/user-request/user-request.component.mjs +0 -320
- package/esm2022/lib/components/user-request/user-request.module.mjs +0 -38
- package/esm2022/lib/components/user-request-approval/access-request.columns.mjs +0 -29
- 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 -260
- package/esm2022/lib/components/user-request-approval/helper.mjs +0 -56
- package/esm2022/lib/components/user-request-approval/services/user-access-request.service.mjs +0 -93
- package/esm2022/lib/components/user-request-approval/states/user-access-request.state.mjs +0 -92
- 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 -270
- package/esm2022/lib/components/user-request-approval/user-request-approval.module.mjs +0 -80
- package/esm2022/lib/components/user-request-approval/user-request-form/use-request-form.component.mjs +0 -86
- package/esm2022/lib/models/ApplicationRoleAction.mjs +0 -2
- package/esm2022/lib/models/ApplicationRoleContext.mjs +0 -2
- package/esm2022/lib/models/ErrorResponse.mjs +0 -11
- package/esm2022/lib/models/OAuthParam.mjs +0 -2
- package/esm2022/lib/models/OAuthType.mjs +0 -9
- package/esm2022/lib/models/PagedResult.mjs +0 -2
- package/esm2022/lib/models/PasswordRequestParam.mjs +0 -2
- package/esm2022/lib/models/PermissionConfig.mjs +0 -2
- package/esm2022/lib/models/ResponseKeyValue.mjs +0 -2
- package/esm2022/lib/models/Role.mjs +0 -2
- package/esm2022/lib/models/RoleAction.mjs +0 -2
- package/esm2022/lib/models/RoleContext.mjs +0 -2
- package/esm2022/lib/models/SearchDynamicWrapper.mjs +0 -2
- package/esm2022/lib/models/SearchOperator.mjs +0 -6
- package/esm2022/lib/models/SearchPropertySign.mjs +0 -11
- package/esm2022/lib/models/SearchPropertyValue.mjs +0 -2
- package/esm2022/lib/models/SearchPropertyValueType.mjs +0 -11
- package/esm2022/lib/models/SortDirection.mjs +0 -7
- package/esm2022/lib/models/Tag.mjs +0 -2
- package/esm2022/lib/models/TenantConfig.mjs +0 -2
- package/esm2022/lib/models/UserRequest.mjs +0 -2
- package/esm2022/lib/models/auth-mechanism.mjs +0 -8
- package/esm2022/lib/models/base.mjs +0 -2
- package/esm2022/lib/models/conditions.mjs +0 -13
- package/esm2022/lib/models/log-in.mjs +0 -2
- package/esm2022/lib/models/mainUser.mjs +0 -2
- package/esm2022/lib/models/oauth-resp.mjs +0 -2
- package/esm2022/lib/models/oauth-response.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/resend-otp-data.mjs +0 -2
- 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/pipes/async-label.pipe.mjs +0 -25
- package/esm2022/lib/services/authorization.service.mjs +0 -26
- package/esm2022/lib/services/encryption.service.mjs +0 -52
- package/esm2022/lib/services/environment.service.mjs +0 -26
- package/esm2022/lib/services/http-web-request.service.mjs +0 -85
- package/esm2022/lib/services/label.service.mjs +0 -134
- package/esm2022/lib/services/util.service.mjs +0 -55
- package/esm2022/lib/shared/shared.module.mjs +0 -84
- package/esm2022/public-api.mjs +0 -48
- package/esm2022/verben-authentication-ui.mjs +0 -5
- package/fesm2022/verben-authentication-ui.mjs +0 -6299
- package/fesm2022/verben-authentication-ui.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/components/auth-callback/auth-callback.component.d.ts +0 -17
- package/lib/components/auth-callback/auth-callback.module.d.ts +0 -8
- 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 -29
- 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 -30
- package/lib/components/o-auth/o-auth.module.d.ts +0 -9
- package/lib/components/otp-input/otp-input.component.d.ts +0 -21
- 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/role-control/ChildrenType.d.ts +0 -4
- package/lib/components/role-control/UIActions.d.ts +0 -5
- package/lib/components/role-control/UIs.d.ts +0 -38
- package/lib/components/role-control/base-table-style.d.ts +0 -1
- package/lib/components/role-control/role-control.component.d.ts +0 -121
- package/lib/components/role-control/role-control.module.d.ts +0 -8
- package/lib/components/role-control/role-control.service.d.ts +0 -9
- package/lib/components/sign-in/sign-in.component.d.ts +0 -95
- package/lib/components/sign-in/sign-in.module.d.ts +0 -13
- package/lib/components/sign-up/sign-up.component.d.ts +0 -68
- 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 -67
- 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/services/user-management.service.d.ts +0 -44
- package/lib/components/user-management/user-management-form/use-management-form.component.d.ts +0 -22
- package/lib/components/user-management/user-management.columns.d.ts +0 -3
- package/lib/components/user-management/user-management.component.d.ts +0 -123
- package/lib/components/user-management/user-management.module.d.ts +0 -14
- package/lib/components/user-management/user-status-badge/user-status-badge.component.d.ts +0 -12
- package/lib/components/user-request/user-request.component.d.ts +0 -80
- package/lib/components/user-request/user-request.module.d.ts +0 -11
- 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 -39
- package/lib/components/user-request-approval/helper.d.ts +0 -7
- package/lib/components/user-request-approval/services/user-access-request.service.d.ts +0 -65
- package/lib/components/user-request-approval/states/user-access-request.state.d.ts +0 -35
- 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 -69
- package/lib/components/user-request-approval/user-request-approval.module.d.ts +0 -12
- package/lib/components/user-request-approval/user-request-form/use-request-form.component.d.ts +0 -25
- package/lib/models/ApplicationRoleAction.d.ts +0 -9
- package/lib/models/ErrorResponse.d.ts +0 -6
- package/lib/models/OAuthParam.d.ts +0 -9
- package/lib/models/OAuthType.d.ts +0 -7
- package/lib/models/PagedResult.d.ts +0 -9
- package/lib/models/PasswordRequestParam.d.ts +0 -5
- package/lib/models/ResponseKeyValue.d.ts +0 -5
- package/lib/models/RoleAction.d.ts +0 -10
- package/lib/models/RoleContext.d.ts +0 -10
- package/lib/models/SearchOperator.d.ts +0 -4
- package/lib/models/SearchPropertySign.d.ts +0 -9
- package/lib/models/SearchPropertyValueType.d.ts +0 -9
- package/lib/models/SortDirection.d.ts +0 -5
- package/lib/models/TenantConfig.d.ts +0 -18
- package/lib/models/UserRequest.d.ts +0 -32
- package/lib/models/auth-mechanism.d.ts +0 -14
- package/lib/models/base.d.ts +0 -12
- package/lib/models/conditions.d.ts +0 -11
- package/lib/models/log-in.d.ts +0 -8
- package/lib/models/oauth-resp.d.ts +0 -6
- 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 -8
- package/lib/models/request-status.d.ts +0 -3
- package/lib/models/resend-otp-data.d.ts +0 -8
- 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 -18
- package/lib/pipes/async-label.pipe.d.ts +0 -11
- package/lib/services/authorization.service.d.ts +0 -14
- package/lib/services/encryption.service.d.ts +0 -13
- package/lib/services/environment.service.d.ts +0 -22
- package/lib/services/http-web-request.service.d.ts +0 -23
- package/lib/services/label.service.d.ts +0 -15
- package/lib/services/util.service.d.ts +0 -11
- package/lib/shared/shared.module.d.ts +0 -10
|
@@ -1,80 +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 { ResponseKeyValue } from '../../models/ResponseKeyValue';
|
|
7
|
-
import { ErrorResponse } from '../../models/ErrorResponse';
|
|
8
|
-
import { EnvironmentService } from '../../services/environment.service';
|
|
9
|
-
import { AuthMechanism } from '../../models/auth-mechanism';
|
|
10
|
-
import { ActivatedRoute } from '@angular/router';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class UserRequestComponent {
|
|
13
|
-
private fb;
|
|
14
|
-
private server;
|
|
15
|
-
private utilService;
|
|
16
|
-
private envSvc;
|
|
17
|
-
private route;
|
|
18
|
-
width: string;
|
|
19
|
-
headingTitle: string;
|
|
20
|
-
headingClass: string;
|
|
21
|
-
customClass: string;
|
|
22
|
-
bgColor: string;
|
|
23
|
-
boxShadow: string;
|
|
24
|
-
border: string;
|
|
25
|
-
borderRadius: string;
|
|
26
|
-
textColor: string;
|
|
27
|
-
height: string;
|
|
28
|
-
pd: string;
|
|
29
|
-
isFormEditable: boolean;
|
|
30
|
-
tenant: string;
|
|
31
|
-
secret: string;
|
|
32
|
-
hidePassword: boolean;
|
|
33
|
-
isCode: boolean;
|
|
34
|
-
text: string;
|
|
35
|
-
color: string;
|
|
36
|
-
btnBorder: string;
|
|
37
|
-
btnBorderRadius: string;
|
|
38
|
-
btnBgColor: string;
|
|
39
|
-
btnWidth: string;
|
|
40
|
-
btnPd: string;
|
|
41
|
-
termsLink: string;
|
|
42
|
-
privacyLink: string;
|
|
43
|
-
routerLink: string;
|
|
44
|
-
formSubmit: EventEmitter<UserRequestPayload[]>;
|
|
45
|
-
googleClick: EventEmitter<any>;
|
|
46
|
-
onSubmitSuccess: EventEmitter<any>;
|
|
47
|
-
appleClick: EventEmitter<any>;
|
|
48
|
-
microsoftClick: EventEmitter<any>;
|
|
49
|
-
onSubmitGoogleAuth: EventEmitter<ResponseKeyValue | ErrorResponse>;
|
|
50
|
-
onSubmitResponseEnd: EventEmitter<any>;
|
|
51
|
-
userRequestForm: FormGroup;
|
|
52
|
-
tenantDetails: any | null;
|
|
53
|
-
AuthMechanisms: AuthMechanism[] | null;
|
|
54
|
-
showform: boolean;
|
|
55
|
-
code: string;
|
|
56
|
-
type: string;
|
|
57
|
-
constructor(fb: FormBuilder, server: HttpWebRequestService, utilService: UtilService, envSvc: EnvironmentService, route: ActivatedRoute);
|
|
58
|
-
passwordMatchValidator(control: AbstractControl): ValidationErrors | null;
|
|
59
|
-
get passwordMismatchError(): boolean;
|
|
60
|
-
get styles(): {
|
|
61
|
-
'background-color': string;
|
|
62
|
-
'box-shadow': string;
|
|
63
|
-
border: string;
|
|
64
|
-
'border-radius': string;
|
|
65
|
-
color: string;
|
|
66
|
-
'max-width': string;
|
|
67
|
-
height: string;
|
|
68
|
-
padding: string;
|
|
69
|
-
};
|
|
70
|
-
ngOnInit(): Promise<void>;
|
|
71
|
-
getTenantConfig(): Promise<void>;
|
|
72
|
-
checkForm(): boolean;
|
|
73
|
-
handleGoogleAuth(): void;
|
|
74
|
-
handleAppleAuth(): void;
|
|
75
|
-
handleMicrosoft(): void;
|
|
76
|
-
submitForm(): Promise<void>;
|
|
77
|
-
verifyUserDetails(): Promise<void>;
|
|
78
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserRequestComponent, never>;
|
|
79
|
-
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"; "microsoftClick": "microsoftClick"; "onSubmitGoogleAuth": "onSubmitGoogleAuth"; "onSubmitResponseEnd": "onSubmitResponseEnd"; }, never, never, false, never>;
|
|
80
|
-
}
|
|
@@ -1,11 +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
|
-
import * as i5 from "../o-auth/o-auth.module";
|
|
7
|
-
export declare class UserRequestModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserRequestModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UserRequestModule, [typeof i1.UserRequestComponent], [typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.VerbenaInputModule, typeof i3.VerbenaButtonModule, typeof i4.CommonModule, typeof i5.OAuthModule], [typeof i1.UserRequestComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<UserRequestModule>;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const baseStyle: any;
|
|
@@ -1,39 +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 { Role } from '../../../models/Role';
|
|
7
|
-
import { UtilService } from '../../../services/util.service';
|
|
8
|
-
import { IDataFilter } from 'verben-ng-ui';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class UserAccessRequestFacade {
|
|
11
|
-
private userAccessRequestService;
|
|
12
|
-
private userAccessRequestState;
|
|
13
|
-
private utilService;
|
|
14
|
-
private searchSubject;
|
|
15
|
-
private destroy$;
|
|
16
|
-
constructor(userAccessRequestService: UserAccessRequestService, userAccessRequestState: UserAccessRequestState, utilService: UtilService);
|
|
17
|
-
destroy(): void;
|
|
18
|
-
isUpdating$(): Observable<boolean>;
|
|
19
|
-
getRequests$(): Observable<UserAccessRequest[]>;
|
|
20
|
-
getFilterParams$(): Observable<IDataFilter[]>;
|
|
21
|
-
getRoles$(): Observable<Role[]>;
|
|
22
|
-
getQueryParams$(): Observable<QueryParams<UserAccessRequest>>;
|
|
23
|
-
getSearchTerm$(): Observable<string>;
|
|
24
|
-
search(term: string): void;
|
|
25
|
-
private handleSearch;
|
|
26
|
-
filter(filterParams: IDataFilter[]): Promise<void>;
|
|
27
|
-
loadMore(): Promise<void>;
|
|
28
|
-
loadRequests(): Promise<void>;
|
|
29
|
-
loadRoles(): Promise<void>;
|
|
30
|
-
loadRequestsWithParam(param: string): Promise<void>;
|
|
31
|
-
loadRequestsByFilterParams(filterParams: IDataFilter[]): Promise<void>;
|
|
32
|
-
updateQueryParams(params: Partial<QueryParams<UserAccessRequest>>): void;
|
|
33
|
-
addRequest(request: Partial<UserAccessRequest>): Promise<void>;
|
|
34
|
-
updateRequest(request: UserAccessRequest): Promise<void>;
|
|
35
|
-
deleteRequest(requestId: string): Promise<void>;
|
|
36
|
-
approveRequest(request: UserAccessRequest): Promise<void>;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserAccessRequestFacade, never>;
|
|
38
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserAccessRequestFacade>;
|
|
39
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { DataFilterType } from 'verben-ng-ui';
|
|
2
|
-
import { SearchPropertyValueType } from '../../models/SearchPropertyValueType';
|
|
3
|
-
export declare const roles: {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
}[];
|
|
7
|
-
export declare function convertDataFilterTypeToSearchPropertyValueType(type: DataFilterType): SearchPropertyValueType.Int | SearchPropertyValueType.Float | SearchPropertyValueType.Decimal | SearchPropertyValueType.String | SearchPropertyValueType.Bool | SearchPropertyValueType.Date;
|
|
@@ -1,65 +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 { Role } from '../../../models/Role';
|
|
6
|
-
import { Tag } from '../../../models/Tag';
|
|
7
|
-
import { SearchPropertyValue } from '../../../models/SearchPropertyValue';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class UserAccessRequestService {
|
|
10
|
-
private httpService;
|
|
11
|
-
private readonly BASE_URL;
|
|
12
|
-
constructor(httpService: HttpWebRequestService);
|
|
13
|
-
/**
|
|
14
|
-
* Get user access requests with pagination and sorting
|
|
15
|
-
* @param skip Number of records to skip
|
|
16
|
-
* @param limit Number of records to take
|
|
17
|
-
* @param sortParam Sort parameter
|
|
18
|
-
* @param sortOrder Sort order ('asc' or 'desc')
|
|
19
|
-
* @returns Promise containing the user access requests
|
|
20
|
-
*/
|
|
21
|
-
getUserAccessRequests(skip: number, limit: number, sortParam: string, sortOrder: string): Promise<Paged<UserAccessRequest>>;
|
|
22
|
-
getRoles(): Promise<Paged<Role>>;
|
|
23
|
-
getTags(): Promise<Paged<Tag>>;
|
|
24
|
-
/**
|
|
25
|
-
* Get user access requests with additional parameter, pagination and sorting
|
|
26
|
-
* @param param Search parameter
|
|
27
|
-
* @param skip Number of records to skip
|
|
28
|
-
* @param limit Number of records to take
|
|
29
|
-
* @param sortParam Sort parameter
|
|
30
|
-
* @param sortOrder Sort order ('asc' or 'desc')
|
|
31
|
-
* @returns Promise containing the filtered user access requests
|
|
32
|
-
*/
|
|
33
|
-
getUserAccessRequestWithParam(param: string, skip: number, limit: number, sortParam: string, sortOrder: string): Promise<Paged<UserAccessRequest>>;
|
|
34
|
-
/**
|
|
35
|
-
* Get user access requests with additional parameter, pagination and sorting
|
|
36
|
-
* @param params Filter parameters
|
|
37
|
-
* @param skip Number of records to skip
|
|
38
|
-
* @param limit Number of records to take
|
|
39
|
-
* @param sortParam Sort parameter
|
|
40
|
-
* @param sortOrder Sort order ('asc' or 'desc')
|
|
41
|
-
* @returns Promise containing the filtered user access requests
|
|
42
|
-
*/
|
|
43
|
-
getUserAccessRequestByFilterParams(params: SearchPropertyValue[], skip: number, limit: number, sortParam: string, sortOrder: string): Promise<Paged<UserAccessRequest>>;
|
|
44
|
-
/**
|
|
45
|
-
* Save multiple user access requests
|
|
46
|
-
* @param requests Array of user access requests to save
|
|
47
|
-
* @returns Promise containing the save operation result
|
|
48
|
-
*/
|
|
49
|
-
saveUserAccessRequests(requests: UserAccessRequest[]): Promise<any>;
|
|
50
|
-
/**
|
|
51
|
-
* Approve or reject multiple user access requests
|
|
52
|
-
* @param requests Array of user access requests to save
|
|
53
|
-
* @param isApproval True for approval, false for decline
|
|
54
|
-
* @returns Promise containing the save operation result
|
|
55
|
-
*/
|
|
56
|
-
processUserAccessRequests(requests: UserAccessRequest[], isApproval: boolean): Promise<any>;
|
|
57
|
-
/**
|
|
58
|
-
* Delete multiple user access requests
|
|
59
|
-
* @param requestIds Array of request IDs to delete
|
|
60
|
-
* @returns Observable containing the delete operation result
|
|
61
|
-
*/
|
|
62
|
-
deleteUserAccessRequests(requestIds: string[]): Observable<any>;
|
|
63
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserAccessRequestService, never>;
|
|
64
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserAccessRequestService>;
|
|
65
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { QueryParams } from '../../../models/query-params';
|
|
3
|
-
import { UserAccessRequest } from '../../../models/user-access-request';
|
|
4
|
-
import { Role } from '../../../models/Role';
|
|
5
|
-
import { IDataFilter } from 'verben-ng-ui';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class UserAccessRequestState {
|
|
8
|
-
private updating$;
|
|
9
|
-
private requests$;
|
|
10
|
-
private roles$;
|
|
11
|
-
private searchTerm$;
|
|
12
|
-
private queryParams$;
|
|
13
|
-
private filterParams$;
|
|
14
|
-
isUpdating$(): Observable<boolean>;
|
|
15
|
-
setUpdating(isUpdating: boolean): void;
|
|
16
|
-
getRequests$(): Observable<UserAccessRequest[]>;
|
|
17
|
-
setRequests(requests: UserAccessRequest[]): void;
|
|
18
|
-
getFilterParams$(): Observable<IDataFilter[]>;
|
|
19
|
-
setFilterParams(params: IDataFilter[]): void;
|
|
20
|
-
getRoles$(): Observable<Role[]>;
|
|
21
|
-
setRoles(roles: Role[]): void;
|
|
22
|
-
appendRequests(newRequests: UserAccessRequest[]): void;
|
|
23
|
-
getSearchTerm$(): Observable<string>;
|
|
24
|
-
getSearchTermValue(): string;
|
|
25
|
-
setSearchTerm(term: string): void;
|
|
26
|
-
getQueryParams$(): Observable<QueryParams<UserAccessRequest>>;
|
|
27
|
-
getQueryParamsValue(): QueryParams<UserAccessRequest>;
|
|
28
|
-
updateQueryParams(params: Partial<QueryParams<UserAccessRequest>>): void;
|
|
29
|
-
resetPagination(): void;
|
|
30
|
-
addRequest(request: UserAccessRequest): void;
|
|
31
|
-
updateRequest(updatedRequest: UserAccessRequest): void;
|
|
32
|
-
removeRequest(requestId: string): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserAccessRequestState, never>;
|
|
34
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserAccessRequestState>;
|
|
35
|
-
}
|
|
@@ -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,69 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit, Signal, WritableSignal } from '@angular/core';
|
|
2
|
-
import { UserAccessRequest } from '../../models/user-access-request';
|
|
3
|
-
import { Role } from '../../models/Role';
|
|
4
|
-
import { CardData, CardDataViewComponent, ColumnDefinition, DataViewComponent, IDataFilter } from 'verben-ng-ui';
|
|
5
|
-
import { UserAccessRequestFacade } from './facades/user-access-request.facade';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class UserRequestApprovalComponent implements OnInit {
|
|
8
|
-
private cdr;
|
|
9
|
-
private userAccessRequestFacade;
|
|
10
|
-
cardDataView: CardDataViewComponent;
|
|
11
|
-
dataView: DataViewComponent;
|
|
12
|
-
columns: ColumnDefinition<UserAccessRequest>[];
|
|
13
|
-
visibleColumnDef: ColumnDefinition<UserAccessRequest>[];
|
|
14
|
-
data: WritableSignal<UserAccessRequest[]>;
|
|
15
|
-
styles: any;
|
|
16
|
-
currentData: CardData | null;
|
|
17
|
-
isGridView: boolean;
|
|
18
|
-
selected: CardData | null;
|
|
19
|
-
cardData: Signal<CardData[]>;
|
|
20
|
-
roles: WritableSignal<Role[]>;
|
|
21
|
-
constructor(cdr: ChangeDetectorRef, userAccessRequestFacade: UserAccessRequestFacade);
|
|
22
|
-
ngOnInit(): Promise<void>;
|
|
23
|
-
ngOnDestroy(): void;
|
|
24
|
-
handleSearch(event: {
|
|
25
|
-
key: string;
|
|
26
|
-
value: string;
|
|
27
|
-
}): void;
|
|
28
|
-
loadMore(): Promise<void>;
|
|
29
|
-
searchRequests(param: string): Promise<void>;
|
|
30
|
-
onApprove(approvalData: {
|
|
31
|
-
email: string;
|
|
32
|
-
role: string;
|
|
33
|
-
}): Promise<void>;
|
|
34
|
-
openDetailView(mailAddress: string): void;
|
|
35
|
-
getCardDataByMailAddress(mailAddress: string): CardData | undefined;
|
|
36
|
-
onViewChange(isGridView: boolean): void;
|
|
37
|
-
openFormView(index: number): void;
|
|
38
|
-
handleExport(exportedData: Partial<any>[]): void;
|
|
39
|
-
/**
|
|
40
|
-
* @param data Simple csv export for testing
|
|
41
|
-
*/
|
|
42
|
-
private downloadCSV;
|
|
43
|
-
onSelectionChange(selectedRows: UserAccessRequest[]): void;
|
|
44
|
-
/**
|
|
45
|
-
* Copied over from card view doc until I understand usage
|
|
46
|
-
*/
|
|
47
|
-
selectedColumnCount: number;
|
|
48
|
-
selectedFilterTableCount: number;
|
|
49
|
-
isOPen: boolean;
|
|
50
|
-
selectedSortCount: number;
|
|
51
|
-
showColumn: boolean;
|
|
52
|
-
showSort: boolean;
|
|
53
|
-
selectedAll: boolean;
|
|
54
|
-
visibleColumns: IDataFilter[];
|
|
55
|
-
filterArray: IDataFilter[];
|
|
56
|
-
sortOptions: IDataFilter[];
|
|
57
|
-
clearData(): void;
|
|
58
|
-
onColumnChange(event: boolean): void;
|
|
59
|
-
onSortChange(event: boolean): void;
|
|
60
|
-
onColumnsUpdated(updatedColumns: IDataFilter[]): void;
|
|
61
|
-
onSortUpdated(updatedSorts: IDataFilter[]): void;
|
|
62
|
-
onStateChange(event: {
|
|
63
|
-
key: string;
|
|
64
|
-
value: boolean;
|
|
65
|
-
}): void;
|
|
66
|
-
onFilterSet(event: IDataFilter[]): void;
|
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserRequestApprovalComponent, never>;
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserRequestApprovalComponent, "lib-user-request-approval", never, {}, {}, never, never, false, never>;
|
|
69
|
-
}
|
|
@@ -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, typeof i3.UserAccessRequestStatusBadgeComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<LibUserRequestApprovalModule>;
|
|
12
|
-
}
|
package/lib/components/user-request-approval/user-request-form/use-request-form.component.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import { CardData } from 'verben-ng-ui';
|
|
4
|
-
import { Role } from '../../../models/Role';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class UserRequestFormComponent {
|
|
7
|
-
private fb;
|
|
8
|
-
roles: Role[];
|
|
9
|
-
get currentData(): CardData | null;
|
|
10
|
-
set currentData(value: CardData | null);
|
|
11
|
-
private _currentData;
|
|
12
|
-
switchView: EventEmitter<undefined>;
|
|
13
|
-
onApproval: EventEmitter<{
|
|
14
|
-
email: string;
|
|
15
|
-
role: string;
|
|
16
|
-
}>;
|
|
17
|
-
form: FormGroup;
|
|
18
|
-
constructor(fb: FormBuilder);
|
|
19
|
-
ngOnInit(): void;
|
|
20
|
-
onSave(): void;
|
|
21
|
-
onDelete(): void;
|
|
22
|
-
disableProcessing(): boolean;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserRequestFormComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserRequestFormComponent, "lib-user-request-form", never, { "roles": { "alias": "roles"; "required": false; }; "currentData": { "alias": "currentData"; "required": false; }; }, { "switchView": "switchView"; "onApproval": "onApproval"; }, never, never, false, never>;
|
|
25
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from './base';
|
|
2
|
-
import { RoleAction } from './RoleAction';
|
|
3
|
-
export interface RoleContext extends BaseModel {
|
|
4
|
-
Name: string;
|
|
5
|
-
Description?: string;
|
|
6
|
-
Role: string;
|
|
7
|
-
RoleActions: RoleAction[];
|
|
8
|
-
APIKey: string;
|
|
9
|
-
ApplicationRoleContext: string;
|
|
10
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from './base';
|
|
2
|
-
import { OAuthParam } from './OAuthParam';
|
|
3
|
-
import { OAuthType } from './OAuthType';
|
|
4
|
-
export interface TenantConfig extends BaseModel {
|
|
5
|
-
Tenant: string;
|
|
6
|
-
Application: string;
|
|
7
|
-
PasswordPattern?: string;
|
|
8
|
-
PasswordPatternDescription?: string;
|
|
9
|
-
PasswordLength: number;
|
|
10
|
-
EnforceFirstLoginPassword: boolean;
|
|
11
|
-
AllowTwoFactorLogin: boolean;
|
|
12
|
-
CanPasswordExpired: boolean;
|
|
13
|
-
NoOfDaysForPasswordExpiraion: number;
|
|
14
|
-
LogOutInterval: number;
|
|
15
|
-
OTPValidFor: number;
|
|
16
|
-
AuthMechanism: OAuthType;
|
|
17
|
-
AuthMechanisms: OAuthParam[];
|
|
18
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { MechanismType } from "./auth-mechanism";
|
|
2
|
-
import { ObjectState } from "./object-state";
|
|
3
|
-
import { RequestStatus } from "./request-status";
|
|
4
|
-
import { Role } from "./Role";
|
|
5
|
-
import { Status } from "./status";
|
|
6
|
-
export interface Tag {
|
|
7
|
-
Name: string;
|
|
8
|
-
IsOptional: boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface UserRequestPayload {
|
|
11
|
-
Code: string;
|
|
12
|
-
FirstName: string;
|
|
13
|
-
LastName: string;
|
|
14
|
-
MailAddress: string;
|
|
15
|
-
Password: string;
|
|
16
|
-
PhoneNumber: string;
|
|
17
|
-
OtherName: string;
|
|
18
|
-
Role: Role;
|
|
19
|
-
Tags: Tag[];
|
|
20
|
-
Status: Status;
|
|
21
|
-
UpdatedAt: Date;
|
|
22
|
-
CreatedAt: Date;
|
|
23
|
-
Id: string;
|
|
24
|
-
DataState: ObjectState;
|
|
25
|
-
TenantId: string;
|
|
26
|
-
ServiceName: string;
|
|
27
|
-
ActionBy: string;
|
|
28
|
-
SignUpType: MechanismType;
|
|
29
|
-
RequestStatus: RequestStatus;
|
|
30
|
-
Comment: string;
|
|
31
|
-
Token?: string;
|
|
32
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare enum MechanismType {
|
|
2
|
-
InApp = "InApp",
|
|
3
|
-
Google = "Google",
|
|
4
|
-
Apple = "Apple",
|
|
5
|
-
MicrosoftAD = "MicrosoftAD"
|
|
6
|
-
}
|
|
7
|
-
export interface AuthMechanism {
|
|
8
|
-
AuthMechanism: string;
|
|
9
|
-
ClientId: string;
|
|
10
|
-
ClientSecret: string;
|
|
11
|
-
RedirectUri: string;
|
|
12
|
-
Scope: string;
|
|
13
|
-
TenantId?: string;
|
|
14
|
-
}
|
package/lib/models/base.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ObjectState } from './object-state';
|
|
2
|
-
export interface BaseModel {
|
|
3
|
-
id?: string;
|
|
4
|
-
Id: string;
|
|
5
|
-
CreatedAt: Date;
|
|
6
|
-
UpdatedAt: Date;
|
|
7
|
-
DataState: ObjectState;
|
|
8
|
-
TenantId: string;
|
|
9
|
-
ServiceName: string;
|
|
10
|
-
Code: string;
|
|
11
|
-
readonly Error?: string;
|
|
12
|
-
}
|
package/lib/models/log-in.d.ts
DELETED
package/lib/models/paged.d.ts
DELETED