verben-authentication-ui 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/components/auth-callback/auth-callback.component.mjs +57 -0
- package/esm2022/lib/components/auth-callback/auth-callback.module.mjs +18 -0
- package/esm2022/lib/components/button/button.component.mjs +46 -0
- package/esm2022/lib/components/button/button.module.mjs +20 -0
- package/esm2022/lib/components/forgot-password/ForgotPasswordData.mjs +2 -0
- package/esm2022/lib/components/forgot-password/forgot-password.component.mjs +92 -0
- package/esm2022/lib/components/forgot-password/forgot-password.module.mjs +34 -0
- package/esm2022/lib/components/mail/mail.component.mjs +69 -0
- package/esm2022/lib/components/mail/mail.module.mjs +21 -0
- package/esm2022/lib/components/mail-validation/mail-validation.component.mjs +108 -0
- package/esm2022/lib/components/mail-validation/mail-validation.module.mjs +34 -0
- package/esm2022/lib/components/o-auth/o-auth.component.mjs +107 -0
- package/esm2022/lib/components/o-auth/o-auth.module.mjs +19 -0
- package/esm2022/lib/components/otp-input/otp-input.component.mjs +86 -0
- package/esm2022/lib/components/otp-input/otp-input.module.mjs +23 -0
- package/esm2022/lib/components/reset-password/ResetPasswordData.mjs +2 -0
- package/esm2022/lib/components/reset-password/reset-password.component.mjs +108 -0
- package/esm2022/lib/components/reset-password/reset-password.module.mjs +34 -0
- package/esm2022/lib/components/role-control/ChildrenType.mjs +6 -0
- package/esm2022/lib/components/role-control/MappedRole.mjs +2 -0
- package/esm2022/lib/components/role-control/MappedRoleAction.mjs +2 -0
- package/esm2022/lib/components/role-control/MappedRoleContext.mjs +2 -0
- package/esm2022/lib/components/role-control/UIActions.mjs +7 -0
- package/esm2022/lib/components/role-control/UIs.mjs +40 -0
- package/esm2022/lib/components/role-control/base-table-style.mjs +53 -0
- package/esm2022/lib/components/role-control/role-control.component.mjs +1608 -0
- package/esm2022/lib/components/role-control/role-control.module.mjs +18 -0
- package/esm2022/lib/components/role-control/role-control.service.mjs +54 -0
- package/esm2022/lib/components/sign-in/sign-in.component.mjs +318 -0
- package/esm2022/lib/components/sign-in/sign-in.module.mjs +24 -0
- package/esm2022/lib/components/sign-up/sign-up.component.mjs +229 -0
- package/esm2022/lib/components/sign-up/sign-up.module.mjs +24 -0
- package/esm2022/lib/components/sso/base-table-style.mjs +53 -0
- package/esm2022/lib/components/sso/helper.mjs +16 -0
- package/esm2022/lib/components/sso/sso-form/sso-form.component.mjs +74 -0
- package/esm2022/lib/components/sso/sso.columns.mjs +29 -0
- package/esm2022/lib/components/sso/sso.component.mjs +236 -0
- package/esm2022/lib/components/sso/sso.module.mjs +63 -0
- package/esm2022/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.mjs +209 -0
- package/esm2022/lib/components/two-factor-auth-otp/two-factor-auth-otp.module.mjs +22 -0
- package/esm2022/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.mjs +90 -0
- package/esm2022/lib/components/two-factor-auth-setup/two-factor-auth-setup.module.mjs +19 -0
- package/esm2022/lib/components/user-management/base-table-style.mjs +53 -0
- package/esm2022/lib/components/user-management/services/user-management.service.mjs +88 -0
- package/esm2022/lib/components/user-management/user-management-form/use-management-form.component.mjs +73 -0
- package/esm2022/lib/components/user-management/user-management.columns.mjs +53 -0
- package/esm2022/lib/components/user-management/user-management.component.mjs +536 -0
- package/esm2022/lib/components/user-management/user-management.module.mjs +85 -0
- package/esm2022/lib/components/user-management/user-status-badge/user-status-badge.component.mjs +26 -0
- package/esm2022/lib/components/user-request/user-request.component.mjs +320 -0
- package/esm2022/lib/components/user-request/user-request.module.mjs +38 -0
- package/esm2022/lib/components/user-request-approval/access-request.columns.mjs +29 -0
- package/esm2022/lib/components/user-request-approval/base-table-style.mjs +53 -0
- package/esm2022/lib/components/user-request-approval/facades/user-access-request.facade.mjs +260 -0
- package/esm2022/lib/components/user-request-approval/helper.mjs +56 -0
- package/esm2022/lib/components/user-request-approval/services/user-access-request.service.mjs +93 -0
- package/esm2022/lib/components/user-request-approval/states/user-access-request.state.mjs +92 -0
- package/esm2022/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.mjs +26 -0
- package/esm2022/lib/components/user-request-approval/user-request-approval.component.mjs +271 -0
- package/esm2022/lib/components/user-request-approval/user-request-approval.module.mjs +83 -0
- package/esm2022/lib/components/user-request-approval/user-request-form/use-request-form.component.mjs +86 -0
- package/esm2022/lib/models/ApplicationRoleAction.mjs +2 -0
- package/esm2022/lib/models/ApplicationRoleContext.mjs +2 -0
- package/esm2022/lib/models/ErrorResponse.mjs +11 -0
- package/esm2022/lib/models/OAuthParam.mjs +2 -0
- package/esm2022/lib/models/OAuthType.mjs +9 -0
- package/esm2022/lib/models/PagedResult.mjs +2 -0
- package/esm2022/lib/models/PasswordRequestParam.mjs +2 -0
- package/esm2022/lib/models/PermissionConfig.mjs +2 -0
- package/esm2022/lib/models/ResponseKeyValue.mjs +2 -0
- package/esm2022/lib/models/Role.mjs +2 -0
- package/esm2022/lib/models/RoleAction.mjs +2 -0
- package/esm2022/lib/models/RoleContext.mjs +2 -0
- package/esm2022/lib/models/SearchDynamicWrapper.mjs +2 -0
- package/esm2022/lib/models/SearchOperator.mjs +6 -0
- package/esm2022/lib/models/SearchPropertySign.mjs +11 -0
- package/esm2022/lib/models/SearchPropertyValue.mjs +2 -0
- package/esm2022/lib/models/SearchPropertyValueType.mjs +11 -0
- package/esm2022/lib/models/SortDirection.mjs +7 -0
- package/esm2022/lib/models/Tag.mjs +2 -0
- package/esm2022/lib/models/TenantConfig.mjs +2 -0
- package/esm2022/lib/models/UserRequest.mjs +2 -0
- package/esm2022/lib/models/auth-mechanism.mjs +8 -0
- package/esm2022/lib/models/base.mjs +2 -0
- package/esm2022/lib/models/conditions.mjs +13 -0
- package/esm2022/lib/models/log-in.mjs +2 -0
- package/esm2022/lib/models/mainUser.mjs +2 -0
- package/esm2022/lib/models/oauth-resp.mjs +2 -0
- package/esm2022/lib/models/oauth-response.mjs +2 -0
- package/esm2022/lib/models/object-state.mjs +8 -0
- package/esm2022/lib/models/otpValue.mjs +2 -0
- package/esm2022/lib/models/paged.mjs +2 -0
- package/esm2022/lib/models/query-params.mjs +2 -0
- package/esm2022/lib/models/request-status.mjs +5 -0
- package/esm2022/lib/models/resend-otp-data.mjs +2 -0
- package/esm2022/lib/models/sign-up.mjs +2 -0
- package/esm2022/lib/models/single-sign-on.mjs +2 -0
- package/esm2022/lib/models/status.mjs +6 -0
- package/esm2022/lib/models/user-access-request-status.mjs +7 -0
- package/esm2022/lib/models/user-access-request.mjs +2 -0
- package/esm2022/lib/models/user.mjs +2 -0
- package/esm2022/lib/pipes/async-label.pipe.mjs +25 -0
- package/esm2022/lib/services/authorization.service.mjs +26 -0
- package/esm2022/lib/services/encryption.service.mjs +52 -0
- package/esm2022/lib/services/environment.service.mjs +26 -0
- package/esm2022/lib/services/http-web-request.service.mjs +85 -0
- package/esm2022/lib/services/label.service.mjs +134 -0
- package/esm2022/lib/services/util.service.mjs +55 -0
- package/esm2022/lib/shared/shared.module.mjs +84 -0
- package/esm2022/public-api.mjs +48 -0
- package/esm2022/verben-authentication-ui.mjs +5 -0
- package/fesm2022/verben-authentication-ui.mjs +6622 -0
- package/fesm2022/verben-authentication-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/auth-callback/auth-callback.component.d.ts +17 -0
- package/lib/components/auth-callback/auth-callback.module.d.ts +8 -0
- package/lib/components/button/button.component.d.ts +17 -0
- package/lib/components/button/button.module.d.ts +10 -0
- package/{src/lib/components/forgot-password/ForgotPasswordData.ts → lib/components/forgot-password/ForgotPasswordData.d.ts} +1 -1
- package/lib/components/forgot-password/forgot-password.component.d.ts +30 -0
- package/lib/components/forgot-password/forgot-password.module.d.ts +10 -0
- package/lib/components/mail/mail.component.d.ts +32 -0
- package/lib/components/mail/mail.module.d.ts +11 -0
- package/lib/components/mail-validation/mail-validation.component.d.ts +42 -0
- package/lib/components/mail-validation/mail-validation.module.d.ts +10 -0
- package/lib/components/o-auth/o-auth.component.d.ts +30 -0
- package/lib/components/o-auth/o-auth.module.d.ts +9 -0
- package/lib/components/otp-input/otp-input.component.d.ts +21 -0
- package/lib/components/otp-input/otp-input.module.d.ts +13 -0
- package/lib/components/reset-password/ResetPasswordData.d.ts +5 -0
- package/lib/components/reset-password/reset-password.component.d.ts +30 -0
- package/lib/components/reset-password/reset-password.module.d.ts +10 -0
- package/lib/components/role-control/ChildrenType.d.ts +4 -0
- package/{src/lib/components/role-control/MappedRole.ts → lib/components/role-control/MappedRole.d.ts} +2 -3
- package/{src/lib/components/role-control/MappedRoleAction.ts → lib/components/role-control/MappedRoleAction.d.ts} +1 -2
- package/{src/lib/components/role-control/MappedRoleContext.ts → lib/components/role-control/MappedRoleContext.d.ts} +3 -4
- package/lib/components/role-control/UIActions.d.ts +5 -0
- package/lib/components/role-control/UIs.d.ts +38 -0
- package/lib/components/role-control/base-table-style.d.ts +1 -0
- package/lib/components/role-control/role-control.component.d.ts +131 -0
- package/lib/components/role-control/role-control.module.d.ts +8 -0
- package/lib/components/role-control/role-control.service.d.ts +9 -0
- package/lib/components/sign-in/sign-in.component.d.ts +95 -0
- package/lib/components/sign-in/sign-in.module.d.ts +13 -0
- package/lib/components/sign-up/sign-up.component.d.ts +68 -0
- package/lib/components/sign-up/sign-up.module.d.ts +13 -0
- package/lib/components/sso/base-table-style.d.ts +1 -0
- package/lib/components/sso/helper.d.ts +2 -0
- package/lib/components/sso/sso-form/sso-form.component.d.ts +21 -0
- package/lib/components/sso/sso.columns.d.ts +3 -0
- package/lib/components/sso/sso.component.d.ts +54 -0
- package/lib/components/sso/sso.module.d.ts +11 -0
- package/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.d.ts +67 -0
- package/lib/components/two-factor-auth-otp/two-factor-auth-otp.module.d.ts +12 -0
- package/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.d.ts +39 -0
- package/lib/components/two-factor-auth-setup/two-factor-auth-setup.module.d.ts +9 -0
- package/lib/components/user-management/base-table-style.d.ts +1 -0
- package/lib/components/user-management/services/user-management.service.d.ts +44 -0
- package/lib/components/user-management/user-management-form/use-management-form.component.d.ts +24 -0
- package/lib/components/user-management/user-management.columns.d.ts +3 -0
- package/lib/components/user-management/user-management.component.d.ts +134 -0
- package/lib/components/user-management/user-management.module.d.ts +14 -0
- package/lib/components/user-management/user-status-badge/user-status-badge.component.d.ts +12 -0
- package/lib/components/user-request/user-request.component.d.ts +80 -0
- package/lib/components/user-request/user-request.module.d.ts +11 -0
- package/lib/components/user-request-approval/access-request.columns.d.ts +3 -0
- package/lib/components/user-request-approval/base-table-style.d.ts +1 -0
- package/lib/components/user-request-approval/facades/user-access-request.facade.d.ts +39 -0
- package/lib/components/user-request-approval/helper.d.ts +7 -0
- package/lib/components/user-request-approval/services/user-access-request.service.d.ts +65 -0
- package/lib/components/user-request-approval/states/user-access-request.state.d.ts +35 -0
- package/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.d.ts +12 -0
- package/lib/components/user-request-approval/user-request-approval.component.d.ts +69 -0
- package/lib/components/user-request-approval/user-request-approval.module.d.ts +12 -0
- package/lib/components/user-request-approval/user-request-form/use-request-form.component.d.ts +25 -0
- package/lib/models/ApplicationRoleAction.d.ts +9 -0
- package/{src/lib/models/ApplicationRoleContext copy.ts → lib/models/ApplicationRoleContext.d.ts} +5 -6
- package/lib/models/ErrorResponse.d.ts +6 -0
- package/lib/models/OAuthParam.d.ts +9 -0
- package/lib/models/OAuthType.d.ts +7 -0
- package/lib/models/PagedResult.d.ts +9 -0
- package/lib/models/PasswordRequestParam.d.ts +5 -0
- package/{src/lib/models/PermissionConfig.ts → lib/models/PermissionConfig.d.ts} +3 -4
- package/lib/models/ResponseKeyValue.d.ts +5 -0
- package/{src/lib/models/Role.ts → lib/models/Role.d.ts} +5 -6
- package/lib/models/RoleAction.d.ts +10 -0
- package/lib/models/RoleContext.d.ts +10 -0
- package/{src/lib/models/SearchDynamicWrapper.ts → lib/models/SearchDynamicWrapper.d.ts} +2 -3
- package/lib/models/SearchOperator.d.ts +4 -0
- package/lib/models/SearchPropertySign.d.ts +9 -0
- package/{src/lib/models/SearchPropertyValue.ts → lib/models/SearchPropertyValue.d.ts} +6 -7
- package/lib/models/SearchPropertyValueType.d.ts +9 -0
- package/lib/models/SortDirection.d.ts +5 -0
- package/{src/lib/models/Tag.ts → lib/models/Tag.d.ts} +3 -4
- package/lib/models/TenantConfig.d.ts +18 -0
- package/lib/models/UserRequest.d.ts +32 -0
- package/lib/models/auth-mechanism.d.ts +14 -0
- package/lib/models/base.d.ts +12 -0
- package/lib/models/conditions.d.ts +11 -0
- package/lib/models/log-in.d.ts +8 -0
- package/{src/lib/models/mainUser.ts → lib/models/mainUser.d.ts} +2 -3
- package/lib/models/oauth-resp.d.ts +6 -0
- package/{src/lib/models/oauth-response.ts → lib/models/oauth-response.d.ts} +1 -1
- package/lib/models/object-state.d.ts +6 -0
- package/{src/lib/models/otpValue.ts → lib/models/otpValue.d.ts} +2 -4
- package/lib/models/paged.d.ts +9 -0
- package/lib/models/query-params.d.ts +8 -0
- package/lib/models/request-status.d.ts +3 -0
- package/lib/models/resend-otp-data.d.ts +8 -0
- package/lib/models/sign-up.d.ts +9 -0
- package/lib/models/single-sign-on.d.ts +7 -0
- package/lib/models/status.d.ts +4 -0
- package/lib/models/user-access-request-status.d.ts +5 -0
- package/{src/lib/models/user-access-request.ts → lib/models/user-access-request.d.ts} +4 -5
- package/lib/models/user.d.ts +18 -0
- package/lib/pipes/async-label.pipe.d.ts +11 -0
- package/lib/services/authorization.service.d.ts +14 -0
- package/lib/services/encryption.service.d.ts +13 -0
- package/lib/services/environment.service.d.ts +22 -0
- package/lib/services/http-web-request.service.d.ts +23 -0
- package/lib/services/label.service.d.ts +15 -0
- package/lib/services/util.service.d.ts +11 -0
- package/lib/shared/shared.module.d.ts +10 -0
- package/package.json +14 -10
- package/{src/public-api.ts → public-api.d.ts} +0 -24
- package/ng-package.json +0 -8
- package/src/lib/base/base-data.component.ts +0 -86
- package/src/lib/base/base-data.facade.ts +0 -157
- package/src/lib/base/base-data.service.ts +0 -49
- package/src/lib/base/base-data.state.ts +0 -94
- package/src/lib/base/models.ts +0 -14
- package/src/lib/components/auth-callback/auth-callback.component.css +0 -30
- package/src/lib/components/auth-callback/auth-callback.component.html +0 -6
- package/src/lib/components/auth-callback/auth-callback.component.spec.ts +0 -23
- package/src/lib/components/auth-callback/auth-callback.component.ts +0 -56
- package/src/lib/components/auth-callback/auth-callback.module.ts +0 -10
- package/src/lib/components/button/button.component.css +0 -3
- package/src/lib/components/button/button.component.html +0 -13
- package/src/lib/components/button/button.component.spec.ts +0 -23
- package/src/lib/components/button/button.component.ts +0 -24
- package/src/lib/components/button/button.module.ts +0 -11
- package/src/lib/components/forgot-password/forgot-password.component.css +0 -50
- package/src/lib/components/forgot-password/forgot-password.component.html +0 -38
- package/src/lib/components/forgot-password/forgot-password.component.spec.ts +0 -23
- package/src/lib/components/forgot-password/forgot-password.component.ts +0 -90
- package/src/lib/components/forgot-password/forgot-password.module.ts +0 -18
- package/src/lib/components/mail/mail.component.css +0 -0
- package/src/lib/components/mail/mail.component.html +0 -11
- package/src/lib/components/mail/mail.component.spec.ts +0 -23
- package/src/lib/components/mail/mail.component.ts +0 -47
- package/src/lib/components/mail/mail.module.ts +0 -13
- package/src/lib/components/mail-validation/mail-validation.component.css +0 -59
- package/src/lib/components/mail-validation/mail-validation.component.html +0 -37
- package/src/lib/components/mail-validation/mail-validation.component.spec.ts +0 -23
- package/src/lib/components/mail-validation/mail-validation.component.ts +0 -66
- package/src/lib/components/mail-validation/mail-validation.module.ts +0 -18
- package/src/lib/components/o-auth/o-auth.component.css +0 -26
- package/src/lib/components/o-auth/o-auth.component.html +0 -26
- package/src/lib/components/o-auth/o-auth.component.spec.ts +0 -23
- package/src/lib/components/o-auth/o-auth.component.ts +0 -115
- package/src/lib/components/o-auth/o-auth.module.ts +0 -11
- package/src/lib/components/otp-input/otp-input.component.css +0 -19
- package/src/lib/components/otp-input/otp-input.component.html +0 -15
- package/src/lib/components/otp-input/otp-input.component.spec.ts +0 -23
- package/src/lib/components/otp-input/otp-input.component.ts +0 -88
- package/src/lib/components/otp-input/otp-input.module.ts +0 -15
- package/src/lib/components/reset-password/ResetPasswordData.ts +0 -5
- package/src/lib/components/reset-password/reset-password.component.css +0 -29
- package/src/lib/components/reset-password/reset-password.component.html +0 -24
- package/src/lib/components/reset-password/reset-password.component.spec.ts +0 -23
- package/src/lib/components/reset-password/reset-password.component.ts +0 -108
- package/src/lib/components/reset-password/reset-password.module.ts +0 -18
- package/src/lib/components/role-control/ChildrenType.ts +0 -4
- package/src/lib/components/role-control/UIActions.ts +0 -5
- package/src/lib/components/role-control/UIs.ts +0 -38
- package/src/lib/components/role-control/base-table-style.ts +0 -52
- package/src/lib/components/role-control/role-control.component.css +0 -87
- package/src/lib/components/role-control/role-control.component.html +0 -603
- package/src/lib/components/role-control/role-control.component.spec.ts +0 -23
- package/src/lib/components/role-control/role-control.component.ts +0 -1884
- package/src/lib/components/role-control/role-control.module.ts +0 -10
- package/src/lib/components/role-control/role-control.service.spec.ts +0 -16
- package/src/lib/components/role-control/role-control.service.ts +0 -53
- package/src/lib/components/sign-in/sign-in.component.css +0 -21
- package/src/lib/components/sign-in/sign-in.component.html +0 -83
- package/src/lib/components/sign-in/sign-in.component.spec.ts +0 -23
- package/src/lib/components/sign-in/sign-in.component.ts +0 -267
- package/src/lib/components/sign-in/sign-in.module.ts +0 -17
- package/src/lib/components/sign-up/sign-up.component.css +0 -36
- package/src/lib/components/sign-up/sign-up.component.html +0 -132
- package/src/lib/components/sign-up/sign-up.component.spec.ts +0 -23
- package/src/lib/components/sign-up/sign-up.component.ts +0 -180
- package/src/lib/components/sign-up/sign-up.module.ts +0 -15
- package/src/lib/components/sso/base-table-style.ts +0 -52
- package/src/lib/components/sso/helper.ts +0 -17
- package/src/lib/components/sso/sso-form/sso-form.component.css +0 -13
- package/src/lib/components/sso/sso-form/sso-form.component.html +0 -109
- package/src/lib/components/sso/sso-form/sso-form.component.spec.ts +0 -23
- package/src/lib/components/sso/sso-form/sso-form.component.ts +0 -70
- package/src/lib/components/sso/sso.columns.ts +0 -32
- package/src/lib/components/sso/sso.component.css +0 -47
- package/src/lib/components/sso/sso.component.html +0 -208
- package/src/lib/components/sso/sso.component.spec.ts +0 -23
- package/src/lib/components/sso/sso.component.ts +0 -261
- package/src/lib/components/sso/sso.module.ts +0 -40
- package/src/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.css +0 -8
- package/src/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.html +0 -30
- package/src/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.spec.ts +0 -23
- package/src/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.ts +0 -155
- package/src/lib/components/two-factor-auth-otp/two-factor-auth-otp.module.ts +0 -15
- package/src/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.css +0 -17
- package/src/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.html +0 -45
- package/src/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.spec.ts +0 -23
- package/src/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.ts +0 -57
- package/src/lib/components/two-factor-auth-setup/two-factor-auth-setup.module.ts +0 -11
- package/src/lib/components/user-management/base-table-style.ts +0 -52
- package/src/lib/components/user-management/facades/user-management.facades.ts +0 -133
- package/src/lib/components/user-management/helper.ts +0 -38
- package/src/lib/components/user-management/index.ts +0 -4
- package/src/lib/components/user-management/services/user-management.service.spec.ts +0 -16
- package/src/lib/components/user-management/services/user-management.service.ts +0 -111
- package/src/lib/components/user-management/states/user-management.state.ts +0 -65
- package/src/lib/components/user-management/user-management-form/use-management-form.component.ts +0 -74
- 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 +0 -89
- package/src/lib/components/user-management/user-management-form/user-management-form.component.spec.ts +0 -23
- package/src/lib/components/user-management/user-management.columns.ts +0 -57
- package/src/lib/components/user-management/user-management.component.css +0 -31
- package/src/lib/components/user-management/user-management.component.html +0 -455
- package/src/lib/components/user-management/user-management.component.spec.ts +0 -23
- package/src/lib/components/user-management/user-management.component.ts +0 -626
- package/src/lib/components/user-management/user-management.module.ts +0 -60
- 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 +0 -8
- package/src/lib/components/user-management/user-status-badge/user-status-badge.component.spec.ts +0 -22
- package/src/lib/components/user-management/user-status-badge/user-status-badge.component.ts +0 -22
- package/src/lib/components/user-request/user-request.component.css +0 -91
- package/src/lib/components/user-request/user-request.component.html +0 -137
- package/src/lib/components/user-request/user-request.component.spec.ts +0 -23
- package/src/lib/components/user-request/user-request.component.ts +0 -306
- package/src/lib/components/user-request/user-request.module.ts +0 -20
- package/src/lib/components/user-request-approval/access-request.columns.ts +0 -31
- package/src/lib/components/user-request-approval/base-table-style.ts +0 -52
- package/src/lib/components/user-request-approval/facades/user-access-request.facade.ts +0 -324
- package/src/lib/components/user-request-approval/helper.ts +0 -61
- package/src/lib/components/user-request-approval/services/user-access-request.service.spec.ts +0 -16
- package/src/lib/components/user-request-approval/services/user-access-request.service.ts +0 -122
- package/src/lib/components/user-request-approval/states/user-access-request.state.ts +0 -109
- 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 +0 -8
- package/src/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.spec.ts +0 -23
- package/src/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.ts +0 -22
- package/src/lib/components/user-request-approval/user-request-approval.component.css +0 -6
- package/src/lib/components/user-request-approval/user-request-approval.component.html +0 -273
- package/src/lib/components/user-request-approval/user-request-approval.component.spec.ts +0 -23
- package/src/lib/components/user-request-approval/user-request-approval.component.ts +0 -328
- package/src/lib/components/user-request-approval/user-request-approval.module.ts +0 -56
- package/src/lib/components/user-request-approval/user-request-form/use-request-form.component.ts +0 -98
- 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 +0 -94
- package/src/lib/components/user-request-approval/user-request-form/user-request-form.component.spec.ts +0 -23
- 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 +0 -1
- package/src/lib/components/user-request-process/user-request-process.component.spec.ts +0 -23
- package/src/lib/components/user-request-process/user-request-process.component.ts +0 -12
- package/src/lib/components/user-request-process/user-request-process.module.ts +0 -12
- package/src/lib/models/ApplicationRoleAction.ts +0 -10
- package/src/lib/models/ApplicationRoleContext.ts +0 -10
- package/src/lib/models/ErrorResponse.ts +0 -7
- package/src/lib/models/FilterTypes.ts +0 -8
- package/src/lib/models/MailConfig.ts +0 -13
- package/src/lib/models/MessageConfig.ts +0 -5
- package/src/lib/models/MessageMedium.ts +0 -4
- package/src/lib/models/OAuthParam.ts +0 -10
- package/src/lib/models/OAuthType.ts +0 -7
- package/src/lib/models/PagedResult.ts +0 -9
- package/src/lib/models/PasswordRequestParam.ts +0 -5
- package/src/lib/models/PeriodMode.ts +0 -10
- package/src/lib/models/ReportSchedule.ts +0 -23
- package/src/lib/models/ReportType.ts +0 -5
- package/src/lib/models/ResponseKeyValue.ts +0 -5
- package/src/lib/models/RoleAction.ts +0 -11
- package/src/lib/models/RoleContext.ts +0 -11
- package/src/lib/models/SMSConfig.ts +0 -11
- package/src/lib/models/SearchOperator.ts +0 -4
- package/src/lib/models/SearchPropertySign.ts +0 -9
- package/src/lib/models/SearchPropertyValueType.ts +0 -9
- package/src/lib/models/SortDirection.ts +0 -5
- package/src/lib/models/TaskNotification.ts +0 -14
- package/src/lib/models/TaskNotificationMessageType.ts +0 -4
- package/src/lib/models/TaskNotificationType.ts +0 -4
- package/src/lib/models/Tenant.ts +0 -22
- package/src/lib/models/TenantConfig.ts +0 -19
- package/src/lib/models/UserRequest.ts +0 -38
- package/src/lib/models/auth-mechanism.ts +0 -15
- package/src/lib/models/base.ts +0 -13
- package/src/lib/models/conditions.ts +0 -11
- package/src/lib/models/log-in.ts +0 -8
- package/src/lib/models/oauth-resp.ts +0 -6
- package/src/lib/models/object-state.ts +0 -6
- package/src/lib/models/paged.ts +0 -9
- package/src/lib/models/query-params.ts +0 -9
- package/src/lib/models/request-status.ts +0 -4
- package/src/lib/models/resend-otp-data.ts +0 -8
- package/src/lib/models/resource.ts +0 -27
- package/src/lib/models/sign-up.ts +0 -11
- package/src/lib/models/single-sign-on.ts +0 -9
- package/src/lib/models/status.ts +0 -5
- package/src/lib/models/user-access-request-status.ts +0 -5
- package/src/lib/models/user-object-state.ts +0 -6
- package/src/lib/models/user.ts +0 -19
- package/src/lib/pipes/async-label.pipe.spec.ts +0 -8
- package/src/lib/pipes/async-label.pipe.ts +0 -20
- package/src/lib/services/authorization.service.spec.ts +0 -16
- package/src/lib/services/authorization.service.ts +0 -24
- package/src/lib/services/encryption.service.ts +0 -57
- package/src/lib/services/environment.service.spec.ts +0 -16
- package/src/lib/services/environment.service.ts +0 -30
- package/src/lib/services/http-web-request.service.spec.ts +0 -16
- package/src/lib/services/http-web-request.service.ts +0 -114
- package/src/lib/services/label.service.spec.ts +0 -16
- package/src/lib/services/label.service.ts +0 -177
- package/src/lib/services/util.service.spec.ts +0 -16
- package/src/lib/services/util.service.ts +0 -49
- package/src/lib/shared/shared.module.ts +0 -55
- package/src/styles.css +0 -96
- package/src/theme/tailwind-setup.css +0 -3
- package/src/theme/tailwind.css +0 -1035
- package/src/utils/components/base-data-view.component.ts +0 -131
- package/src/utils/models/DataViewConfig.ts +0 -19
- package/tailwind.config.js +0 -20
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -15
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ObjectState } from "./object-state";
|
|
2
|
-
|
|
3
|
-
export interface MainUser {
|
|
2
|
+
export interface MainUser {
|
|
4
3
|
Code: string;
|
|
5
4
|
TenantId: string;
|
|
6
5
|
Id: string;
|
|
@@ -17,4 +16,4 @@ export interface MainUser {
|
|
|
17
16
|
CreatedAt: Date;
|
|
18
17
|
UpdatedAt: Date;
|
|
19
18
|
DataState: ObjectState;
|
|
20
|
-
}
|
|
19
|
+
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { MechanismType } from "./auth-mechanism";
|
|
2
2
|
import { MainUser } from "./mainUser";
|
|
3
|
-
|
|
4
|
-
|
|
5
3
|
export interface OtpData {
|
|
6
4
|
User: MainUser;
|
|
7
5
|
Token: string;
|
|
@@ -9,5 +7,5 @@ export interface OtpData {
|
|
|
9
7
|
Secret: string;
|
|
10
8
|
OTP?: string;
|
|
11
9
|
Info: string;
|
|
12
|
-
Provider:MechanismType
|
|
13
|
-
|
|
10
|
+
Provider: MechanismType;
|
|
11
|
+
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { OAuthType } from './OAuthType';
|
|
2
2
|
import { User } from './user';
|
|
3
3
|
import { UserAccessRequestStatus } from './user-access-request-status';
|
|
4
|
-
|
|
5
4
|
export interface UserAccessRequest extends User {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
RequestStatus: UserAccessRequestStatus;
|
|
6
|
+
ActionBy?: string;
|
|
7
|
+
Comment?: string;
|
|
8
|
+
SignupType: OAuthType;
|
|
10
9
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseModel } from './base';
|
|
2
|
+
import { OAuthType } from './OAuthType';
|
|
3
|
+
import { Role } from './Role';
|
|
4
|
+
import { Status } from './status';
|
|
5
|
+
export interface User extends BaseModel {
|
|
6
|
+
Password: string;
|
|
7
|
+
PhoneNumber?: string;
|
|
8
|
+
FirstName: string;
|
|
9
|
+
LastName: string;
|
|
10
|
+
OtherName?: string;
|
|
11
|
+
MailAddress: string;
|
|
12
|
+
IsSeeded: boolean;
|
|
13
|
+
RoleID?: string;
|
|
14
|
+
Address?: string;
|
|
15
|
+
Role?: Role;
|
|
16
|
+
Status: Status;
|
|
17
|
+
SignupType: OAuthType;
|
|
18
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { LabelService } from '../services/label.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AsyncLabelPipe implements PipeTransform {
|
|
6
|
+
private labelService;
|
|
7
|
+
constructor(labelService: LabelService);
|
|
8
|
+
transform(code: any, entity: string, labelProp: string, env: string, key?: string): Observable<string>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AsyncLabelPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AsyncLabelPipe, "asyncLabel", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const AUTHORIZATION_CONFIG: InjectionToken<AuthorizationConfig[]>;
|
|
4
|
+
export interface AuthorizationConfig {
|
|
5
|
+
Name: string;
|
|
6
|
+
Actions: string[];
|
|
7
|
+
}
|
|
8
|
+
export declare class AuthorizationService {
|
|
9
|
+
private auth;
|
|
10
|
+
constructor(auth: AuthorizationConfig[]);
|
|
11
|
+
get authorizationConfig(): AuthorizationConfig[];
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthorizationService, [{ optional: true; }]>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthorizationService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EnvironmentService } from './environment.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EncryptionService {
|
|
4
|
+
private envSvc;
|
|
5
|
+
isProd: boolean;
|
|
6
|
+
private ivString;
|
|
7
|
+
private keyString;
|
|
8
|
+
constructor(envSvc: EnvironmentService);
|
|
9
|
+
encryptData(data: string): string;
|
|
10
|
+
decryptData(data: string): string;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EncryptionService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EncryptionService>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const ENVIRONMENT: InjectionToken<Environment>;
|
|
4
|
+
export interface Environment {
|
|
5
|
+
production: boolean;
|
|
6
|
+
AuthenticationAPI: string;
|
|
7
|
+
ReportingAPI: string;
|
|
8
|
+
MessagingAPI: string;
|
|
9
|
+
WorkflowAPI: string;
|
|
10
|
+
Tenant: string;
|
|
11
|
+
APIKey: string;
|
|
12
|
+
Secret: string;
|
|
13
|
+
IvString: string;
|
|
14
|
+
keyString: string;
|
|
15
|
+
}
|
|
16
|
+
export declare class EnvironmentService {
|
|
17
|
+
private env;
|
|
18
|
+
constructor(env: Environment);
|
|
19
|
+
get environment(): Environment;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EnvironmentService>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { EnvironmentService } from './environment.service';
|
|
4
|
+
import { NotificationService } from 'verben-ng-ui';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class HttpWebRequestService {
|
|
7
|
+
private http;
|
|
8
|
+
private envSvc;
|
|
9
|
+
private notificationService;
|
|
10
|
+
isProd: boolean;
|
|
11
|
+
constructor(http: HttpClient, envSvc: EnvironmentService, notificationService: NotificationService);
|
|
12
|
+
private buildHeaders;
|
|
13
|
+
private buildUrl;
|
|
14
|
+
private handleError;
|
|
15
|
+
private request;
|
|
16
|
+
get<T>(url: string, baseUrl?: string): Promise<T>;
|
|
17
|
+
post<T>(url: string, body: any, baseUrl?: string): Promise<T>;
|
|
18
|
+
postFile<T>(url: string, formData: FormData, baseUrl?: string): Promise<T>;
|
|
19
|
+
put<T>(url: string, body: any, baseUrl?: string): Observable<T>;
|
|
20
|
+
delete<T>(url: string, baseUrl?: string): Observable<T>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HttpWebRequestService, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HttpWebRequestService>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HttpWebRequestService } from './http-web-request.service';
|
|
2
|
+
import { UtilService } from './util.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LabelService {
|
|
5
|
+
private utilService;
|
|
6
|
+
private server;
|
|
7
|
+
private cache;
|
|
8
|
+
private inFlightRequests;
|
|
9
|
+
constructor(utilService: UtilService, server: HttpWebRequestService);
|
|
10
|
+
getAsyncLabel(value: any, entity: string, labelProp: string, env: string, key?: string): Promise<string>;
|
|
11
|
+
getAsyncLabelWithRequestTracking(value: any, entity: string, labelProp: string, env: string, key?: string): Promise<string>;
|
|
12
|
+
getAsyncLabelWithRequestTrackingNoGateway(value: any, entity: string, labelProp: string, env: string, controller: string, key?: string): Promise<string>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LabelService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LabelService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class UtilService {
|
|
3
|
+
private parentUtilService;
|
|
4
|
+
constructor(parentUtilService: any);
|
|
5
|
+
sendBI(state: boolean): void;
|
|
6
|
+
showInfo(message: string): void;
|
|
7
|
+
showSuccess(message: string): void;
|
|
8
|
+
showError(message: string): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UtilService, [{ optional: true; }]>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UtilService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "../pipes/async-label.pipe";
|
|
4
|
+
import * as i3 from "verben-ng-ui";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
export declare class SharedModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.CommonModule, typeof i2.AsyncLabelPipe], [typeof i1.CommonModule, typeof i3.DataTableModule, typeof i3.CardModule, typeof i3.SvgModule, typeof i3.DataViewModule, typeof i3.CardDataViewModule, typeof i3.SortTableModule, typeof i3.VisibleColumnModule, typeof i3.TableFilterModule, typeof i3.DataExportModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i3.VerbenaInputModule, typeof i3.VerbenaButtonModule, typeof i3.VerbenaBadgeModule, typeof i3.VerbenDialogueModule, typeof i3.DropDownModule, typeof i3.VerbenaTextareaModule, typeof i3.VerbenaSwitchModule, typeof i3.VerbenPopUpModule, typeof i3.ChipModule, typeof i2.AsyncLabelPipe]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "verben-authentication-ui",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"scripts": {
|
|
5
|
-
"build-watch": "ng build --watch"
|
|
6
|
-
},
|
|
3
|
+
"version": "1.0.13",
|
|
7
4
|
"peerDependencies": {
|
|
8
5
|
"@angular/cdk": "^18.2.0",
|
|
9
6
|
"@angular/common": "^14.0.0 || ^18.0.0",
|
|
10
7
|
"@angular/core": "^14.0.0 || ^18.0.0",
|
|
11
8
|
"verben-ng-ui": "^1.2.10"
|
|
12
|
-
|
|
13
9
|
},
|
|
14
10
|
"dependencies": {
|
|
15
11
|
"tslib": "^2.3.0"
|
|
16
12
|
},
|
|
17
13
|
"sideEffects": false,
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
14
|
+
"module": "fesm2022/verben-authentication-ui.mjs",
|
|
15
|
+
"typings": "index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
"./package.json": {
|
|
18
|
+
"default": "./package.json"
|
|
19
|
+
},
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./index.d.ts",
|
|
22
|
+
"esm2022": "./esm2022/verben-authentication-ui.mjs",
|
|
23
|
+
"esm": "./esm2022/verben-authentication-ui.mjs",
|
|
24
|
+
"default": "./fesm2022/verben-authentication-ui.mjs"
|
|
25
|
+
}
|
|
22
26
|
}
|
|
23
|
-
}
|
|
27
|
+
}
|
|
@@ -1,58 +1,34 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of verben-ng-ui
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
// export * from './lib/verben-ng-ui.service';
|
|
6
|
-
// export * from './lib/verben-ng-ui.component';
|
|
7
|
-
|
|
8
|
-
// Exporting modules
|
|
9
|
-
|
|
10
1
|
export * from './lib/components/reset-password/reset-password.component';
|
|
11
2
|
export * from './lib/components/reset-password/reset-password.module';
|
|
12
3
|
export * from './lib/components/reset-password/ResetPasswordData';
|
|
13
|
-
//user-request-lib
|
|
14
4
|
export * from './lib/components/user-request/user-request.component';
|
|
15
5
|
export * from './lib/components/user-request/user-request.module';
|
|
16
6
|
export * from './lib/models/UserRequest';
|
|
17
|
-
//mail-validation
|
|
18
7
|
export * from './lib/components/mail-validation/mail-validation.component';
|
|
19
8
|
export * from './lib/components/mail-validation/mail-validation.module';
|
|
20
|
-
|
|
21
|
-
//sign up
|
|
22
9
|
export * from './lib/components/sign-up/sign-up.component';
|
|
23
10
|
export * from './lib/components/sign-up/sign-up.module';
|
|
24
|
-
//sign in
|
|
25
11
|
export * from './lib/components/sign-in/sign-in.module';
|
|
26
12
|
export * from './lib/components/sign-in/sign-in.component';
|
|
27
|
-
//Otp
|
|
28
13
|
export * from './lib/components/two-factor-auth-otp/two-factor-auth-otp.module';
|
|
29
14
|
export * from './lib/components/two-factor-auth-otp/two-factor-auth-otp.component';
|
|
30
|
-
//2FA
|
|
31
15
|
export * from './lib/components/two-factor-auth-setup/two-factor-auth-setup.module';
|
|
32
16
|
export * from './lib/components/two-factor-auth-setup/two-factor-auth-setup.component';
|
|
33
|
-
//sign up
|
|
34
17
|
export * from './lib/components/mail/mail.module';
|
|
35
18
|
export * from './lib/components/mail/mail.component';
|
|
36
|
-
|
|
37
19
|
export * from './lib/components/forgot-password/forgot-password.component';
|
|
38
20
|
export * from './lib/components/forgot-password/forgot-password.module';
|
|
39
21
|
export * from './lib/components/forgot-password/ForgotPasswordData';
|
|
40
22
|
export * from './lib/components/sso/sso.component';
|
|
41
23
|
export * from './lib/components/sso/sso.module';
|
|
42
|
-
|
|
43
24
|
export * from './lib/components/user-request-approval/user-request-approval.module';
|
|
44
25
|
export * from './lib/components/user-request-approval/user-request-approval.component';
|
|
45
26
|
export * from './lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component';
|
|
46
|
-
|
|
47
27
|
export * from './lib/components/user-management/user-management.module';
|
|
48
28
|
export * from './lib/components/user-management/user-management.component';
|
|
49
|
-
|
|
50
29
|
export * from './lib/components/auth-callback/auth-callback.component';
|
|
51
30
|
export * from './lib/components/auth-callback/auth-callback.module';
|
|
52
|
-
|
|
53
31
|
export * from './lib/services/environment.service';
|
|
54
32
|
export * from './lib/services/authorization.service';
|
|
55
|
-
|
|
56
33
|
export * from './lib/components/role-control/role-control.component';
|
|
57
34
|
export * from './lib/components/role-control/role-control.module';
|
|
58
|
-
|
package/ng-package.json
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Component,
|
|
3
|
-
Input,
|
|
4
|
-
Output,
|
|
5
|
-
EventEmitter,
|
|
6
|
-
OnInit,
|
|
7
|
-
OnDestroy,
|
|
8
|
-
} from '@angular/core';
|
|
9
|
-
import { Subject } from 'rxjs';
|
|
10
|
-
import { takeUntil } from 'rxjs/operators';
|
|
11
|
-
import { BaseModel } from '../models/base';
|
|
12
|
-
import { ColumnDefinition } from 'verben-ng-ui';
|
|
13
|
-
import { BaseDataFacade } from './base-data.facade';
|
|
14
|
-
|
|
15
|
-
@Component({ template: '' })
|
|
16
|
-
export abstract class BaseDataComponent<T extends BaseModel>
|
|
17
|
-
implements OnInit, OnDestroy
|
|
18
|
-
{
|
|
19
|
-
@Input() columns!: ColumnDefinition<T>[];
|
|
20
|
-
@Output() selectionChange = new EventEmitter<T[]>();
|
|
21
|
-
@Output() exportData = new EventEmitter<Record<string, any>[]>();
|
|
22
|
-
|
|
23
|
-
protected destroy$ = new Subject<void>();
|
|
24
|
-
isLoading = false;
|
|
25
|
-
items: T[] = [];
|
|
26
|
-
selectedItems: T[] = [];
|
|
27
|
-
isGridView = true;
|
|
28
|
-
|
|
29
|
-
constructor(protected facade: BaseDataFacade<T>) {}
|
|
30
|
-
|
|
31
|
-
ngOnInit(): void {
|
|
32
|
-
this.setupSubscriptions();
|
|
33
|
-
this.loadInitialData();
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
ngOnDestroy(): void {
|
|
37
|
-
this.destroy$.next();
|
|
38
|
-
this.destroy$.complete();
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
protected setupSubscriptions(): void {
|
|
42
|
-
this.facade
|
|
43
|
-
.isUpdating$()
|
|
44
|
-
.pipe(takeUntil(this.destroy$))
|
|
45
|
-
.subscribe((loading) => (this.isLoading = loading));
|
|
46
|
-
|
|
47
|
-
this.facade
|
|
48
|
-
.getItems$()
|
|
49
|
-
.pipe(takeUntil(this.destroy$))
|
|
50
|
-
.subscribe((items) => (this.items = items));
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
protected async loadInitialData(): Promise<void> {
|
|
54
|
-
try {
|
|
55
|
-
await this.facade.loadItems();
|
|
56
|
-
} catch (error) {
|
|
57
|
-
// Handle error appropriately
|
|
58
|
-
console.error('Failed to load initial data:', error);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
onSearch(event: { key: string; value: string }): void {
|
|
63
|
-
this.facade.search(event.value);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
async onLoadMore(): Promise<void> {
|
|
67
|
-
try {
|
|
68
|
-
await this.facade.loadMore();
|
|
69
|
-
} catch (error) {
|
|
70
|
-
console.error('Failed to load more:', error);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
onViewChange(isGridView: boolean): void {
|
|
75
|
-
this.isGridView = isGridView;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
onSelectionChange(selected: T[]): void {
|
|
79
|
-
this.selectedItems = selected;
|
|
80
|
-
this.selectionChange.emit(selected);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
onExport(data: Record<string, any>[]): void {
|
|
84
|
-
this.exportData.emit(data);
|
|
85
|
-
}
|
|
86
|
-
}
|