@volo/abp.ng.identity 5.2.1 → 5.3.0-rc.1

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.
Files changed (52) hide show
  1. package/esm2020/config/components/identity-settings.component.mjs +5 -5
  2. package/esm2020/config/components/my-link-users-modal.component.mjs +3 -3
  3. package/esm2020/config/handlers/link-login.handler.mjs +3 -3
  4. package/esm2020/config/identity-config.module.mjs +4 -4
  5. package/esm2020/config/services/identity-config.service.mjs +3 -3
  6. package/esm2020/config/services/identity-link-login.service.mjs +3 -3
  7. package/esm2020/lib/components/claim-modal/claim-modal.component.mjs +3 -3
  8. package/esm2020/lib/components/claims/claims.component.mjs +3 -3
  9. package/esm2020/lib/components/index.mjs +2 -1
  10. package/esm2020/lib/components/organization-units/abstract-organization-unit/abstract-organization-unit.component.mjs +3 -3
  11. package/esm2020/lib/components/organization-units/organization-members/organization-members-modal-body.component.mjs +3 -3
  12. package/esm2020/lib/components/organization-units/organization-members/organization-members.component.mjs +11 -10
  13. package/esm2020/lib/components/organization-units/organization-roles/organization-roles-modal-body.component.mjs +3 -3
  14. package/esm2020/lib/components/organization-units/organization-roles/organization-roles.component.mjs +3 -3
  15. package/esm2020/lib/components/organization-units/organization-units.component.mjs +36 -21
  16. package/esm2020/lib/components/organization-units/selected-organization-unit/selected-organization-unit.component.mjs +17 -0
  17. package/esm2020/lib/components/roles/roles.component.mjs +4 -4
  18. package/esm2020/lib/components/security-logs/security-logs.component.mjs +3 -3
  19. package/esm2020/lib/components/users/users.component.mjs +8 -7
  20. package/esm2020/lib/defaults/default-users-entity-actions.mjs +2 -2
  21. package/esm2020/lib/guards/extensions.guard.mjs +3 -3
  22. package/esm2020/lib/identity-routing.module.mjs +4 -4
  23. package/esm2020/lib/identity.module.mjs +12 -7
  24. package/esm2020/lib/services/index.mjs +2 -0
  25. package/esm2020/lib/services/organization-units-state.service.mjs +27 -0
  26. package/esm2020/proxy/lib/proxy/identity/identity-claim-type.service.mjs +3 -3
  27. package/esm2020/proxy/lib/proxy/identity/identity-role.service.mjs +3 -3
  28. package/esm2020/proxy/lib/proxy/identity/identity-security-log.service.mjs +3 -3
  29. package/esm2020/proxy/lib/proxy/identity/identity-settings.service.mjs +3 -3
  30. package/esm2020/proxy/lib/proxy/identity/identity-user-lookup.service.mjs +3 -3
  31. package/esm2020/proxy/lib/proxy/identity/identity-user.service.mjs +3 -3
  32. package/esm2020/proxy/lib/proxy/identity/organization-unit.service.mjs +3 -3
  33. package/esm2020/public-api.mjs +2 -1
  34. package/fesm2015/volo-abp.ng.identity-config.mjs +20 -20
  35. package/fesm2015/volo-abp.ng.identity-config.mjs.map +1 -1
  36. package/fesm2015/volo-abp.ng.identity-proxy.mjs +21 -21
  37. package/fesm2015/volo-abp.ng.identity.mjs +121 -67
  38. package/fesm2015/volo-abp.ng.identity.mjs.map +1 -1
  39. package/fesm2020/volo-abp.ng.identity-config.mjs +20 -20
  40. package/fesm2020/volo-abp.ng.identity-config.mjs.map +1 -1
  41. package/fesm2020/volo-abp.ng.identity-proxy.mjs +21 -21
  42. package/fesm2020/volo-abp.ng.identity.mjs +121 -67
  43. package/fesm2020/volo-abp.ng.identity.mjs.map +1 -1
  44. package/lib/components/index.d.ts +1 -0
  45. package/lib/components/organization-units/organization-units.component.d.ts +7 -3
  46. package/lib/components/organization-units/selected-organization-unit/selected-organization-unit.component.d.ts +8 -0
  47. package/lib/components/users/users.component.d.ts +2 -1
  48. package/lib/identity.module.d.ts +12 -11
  49. package/lib/services/index.d.ts +1 -0
  50. package/lib/services/organization-units-state.service.d.ts +15 -0
  51. package/package.json +7 -7
  52. package/public-api.d.ts +1 -0
@@ -1 +1 @@
1
- {"version":3,"file":"volo-abp.ng.identity-config.mjs","sources":["../../../../packages/identity/config/src/services/identity-config.service.ts","../../../../packages/identity/config/src/components/identity-settings.component.ts","../../../../packages/identity/config/src/components/identity-settings.component.html","../../../../packages/identity/config/src/services/identity-link-login.service.ts","../../../../packages/identity/config/src/handlers/link-login.handler.ts","../../../../packages/identity/config/src/components/my-link-users-modal.component.ts","../../../../packages/identity/config/src/components/my-link-users-modal.component.html","../../../../packages/identity/config/src/providers/route.provider.ts","../../../../packages/identity/config/src/providers/setting-tab.provider.ts","../../../../packages/identity/config/src/utils/factories.ts","../../../../packages/identity/config/src/identity-config.module.ts","../../../../packages/identity/config/src/volo-abp.ng.identity-config.ts"],"sourcesContent":["import { RestService } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport type * as IdentitySettings from '../models/identity-settings';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityConfigService {\r\n apiName = 'AbpIdentity';\r\n\r\n constructor(private restService: RestService) {}\r\n\r\n getSettings(): Observable<IdentitySettings.Settings> {\r\n return this.restService.request(\r\n {\r\n method: 'GET',\r\n url: '/api/identity/settings',\r\n },\r\n { apiName: this.apiName },\r\n );\r\n }\r\n\r\n updateSettings(body: IdentitySettings.Settings): Observable<void> {\r\n return this.restService.request(\r\n {\r\n method: 'PUT',\r\n url: `/api/identity/settings`,\r\n body,\r\n },\r\n { apiName: this.apiName },\r\n );\r\n }\r\n}\r\n","import { ConfigStateService, SubscriptionService } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { Component } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { filter, finalize } from 'rxjs/operators';\r\nimport type * as IdentitySettings from '../models/identity-settings';\r\nimport { IdentityConfigService } from '../services/identity-config.service';\r\n\r\nconst { required, max, min } = Validators;\r\n\r\n@Component({\r\n selector: 'abp-identity-settings',\r\n templateUrl: './identity-settings.component.html',\r\n providers: [SubscriptionService],\r\n})\r\nexport class IdentitySettingsComponent {\r\n settings = {} as IdentitySettings.Settings;\r\n loading: boolean;\r\n form: FormGroup;\r\n\r\n get initialized(): boolean {\r\n return JSON.stringify(this.settings) !== '{}';\r\n }\r\n\r\n doNotRequireConfirmedPhoneNumber = () => {\r\n this.form.get('signIn.requireConfirmedPhoneNumber').setValue(false);\r\n };\r\n\r\n enablePhoneNumberConfirmation = () => {\r\n this.form.get('signIn.enablePhoneNumberConfirmation').setValue(true);\r\n };\r\n\r\n constructor(\r\n private identityConfigService: IdentityConfigService,\r\n private toaster: ToasterService,\r\n private fb: FormBuilder,\r\n private subscription: SubscriptionService,\r\n private configState: ConfigStateService,\r\n ) {\r\n identityConfigService.getSettings().subscribe(settings => {\r\n this.settings = settings;\r\n this.buildForm();\r\n this.syncConfirmationOptions();\r\n });\r\n }\r\n\r\n buildForm() {\r\n const passwordSettings: IdentitySettings.Password =\r\n this.settings?.password || ({} as IdentitySettings.Password);\r\n\r\n const password = this.fb.group({\r\n requiredLength: [passwordSettings.requiredLength, [required, max(32), min(2)]],\r\n requiredUniqueChars: [passwordSettings.requiredUniqueChars, [required, max(32), min(1)]],\r\n requireNonAlphanumeric: passwordSettings.requireNonAlphanumeric,\r\n requireLowercase: passwordSettings.requireLowercase,\r\n requireUppercase: passwordSettings.requireUppercase,\r\n requireDigit: passwordSettings.requireDigit,\r\n });\r\n\r\n const lockoutSettings: IdentitySettings.Lockout =\r\n this.settings?.lockout || ({} as IdentitySettings.Lockout);\r\n\r\n const lockout = this.fb.group({\r\n allowedForNewUsers: lockoutSettings.allowedForNewUsers,\r\n lockoutDuration: [lockoutSettings.lockoutDuration, [required]],\r\n maxFailedAccessAttempts: [lockoutSettings.maxFailedAccessAttempts, [required]],\r\n });\r\n\r\n const signInSettings: IdentitySettings.SignIn =\r\n this.settings?.signIn || ({} as IdentitySettings.SignIn);\r\n\r\n const signIn = this.fb.group({\r\n requireConfirmedEmail: signInSettings.requireConfirmedEmail,\r\n enablePhoneNumberConfirmation: signInSettings.enablePhoneNumberConfirmation,\r\n requireConfirmedPhoneNumber: signInSettings.requireConfirmedPhoneNumber,\r\n });\r\n\r\n const userSettings: IdentitySettings.User =\r\n this.settings?.user || ({} as IdentitySettings.User);\r\n\r\n const user = this.fb.group({\r\n isUserNameUpdateEnabled: userSettings.isUserNameUpdateEnabled,\r\n isEmailUpdateEnabled: userSettings.isEmailUpdateEnabled,\r\n });\r\n\r\n this.form = this.fb.group({\r\n password,\r\n lockout,\r\n signIn,\r\n user,\r\n });\r\n }\r\n\r\n syncConfirmationOptions() {\r\n this.subscription.addOne(\r\n this.form.get('signIn.requireConfirmedPhoneNumber').valueChanges.pipe(filter(Boolean)),\r\n this.enablePhoneNumberConfirmation,\r\n );\r\n\r\n this.subscription.addOne(\r\n this.form\r\n .get('signIn.enablePhoneNumberConfirmation')\r\n .valueChanges.pipe(filter(value => !value)),\r\n this.doNotRequireConfirmedPhoneNumber,\r\n );\r\n }\r\n\r\n submit() {\r\n this.loading = true;\r\n this.identityConfigService\r\n .updateSettings(this.form.value)\r\n .pipe(\r\n finalize(() => {\r\n this.loading = false;\r\n this.configState.refreshAppState().subscribe();\r\n }),\r\n )\r\n .subscribe(() => this.toaster.success('AbpIdentity::SavedSuccessfully', null));\r\n }\r\n}\r\n","<h2>{{ 'AbpIdentity::Menu:IdentityManagement' | abpLocalization }}</h2>\r\n<hr class=\"my-4\" />\r\n<form\r\n *ngIf=\"form\"\r\n id=\"IdentitySettingsForm\"\r\n [formGroup]=\"form\"\r\n (ngSubmit)=\"submit()\"\r\n validateOnSubmit\r\n>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div formGroupName=\"password\">\r\n <h4>{{ 'AbpIdentity::PasswordSettings' | abpLocalization }}</h4>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Password_RequiredLength\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequiredLength' | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Password_RequiredLength\"\r\n name=\"Password.RequiredLength\"\r\n class=\"form-control\"\r\n formControlName=\"requiredLength\"\r\n min=\"2\"\r\n max=\"32\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequiredLength' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Password_RequiredUniqueChars\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequiredUniqueChars' | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Password_RequiredUniqueChars\"\r\n name=\"Password.RequiredUniqueChars\"\r\n class=\"form-control\"\r\n formControlName=\"requiredUniqueChars\"\r\n min=\"0\"\r\n max=\"32\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequiredUniqueChars' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireNonAlphanumeric\"\r\n name=\"Password.RequireNonAlphanumeric\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireNonAlphanumeric\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireNonAlphanumeric\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireNonAlphanumeric'\r\n | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireNonAlphanumeric'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireLowercase\"\r\n name=\"Password.RequireLowercase\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireLowercase\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireLowercase\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireLowercase' | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireLowercase' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireUppercase\"\r\n name=\"Password.RequireUppercase\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireUppercase\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireUppercase\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireUppercase' | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireUppercase' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireDigit\"\r\n name=\"Password.RequireDigit\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireDigit\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireDigit\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireDigit' | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireDigit' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <div formGroupName=\"lockout\">\r\n <h4>{{ 'AbpIdentity::LockoutSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Lockout_AllowedForNewUsers\"\r\n name=\"Lockout.AllowedForNewUsers\"\r\n class=\"form-check-input\"\r\n formControlName=\"allowedForNewUsers\"\r\n /><label class=\"form-check-label\" for=\"Lockout_AllowedForNewUsers\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Lockout.AllowedForNewUsers' | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Lockout.AllowedForNewUsers' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Lockout_LockoutDuration\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Lockout.LockoutDuration' | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Lockout_LockoutDuration\"\r\n name=\"Lockout.LockoutDuration\"\r\n class=\"form-control\"\r\n formControlName=\"lockoutDuration\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Lockout.LockoutDuration' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Lockout_MaxFailedAccessAttempts\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Lockout.MaxFailedAccessAttempts'\r\n | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Lockout_MaxFailedAccessAttempts\"\r\n name=\"Lockout.MaxFailedAccessAttempts\"\r\n class=\"form-control\"\r\n formControlName=\"maxFailedAccessAttempts\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Lockout.MaxFailedAccessAttempts'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <div formGroupName=\"signIn\">\r\n <h4>{{ 'AbpIdentity::SignInSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"SignIn_RequireConfirmedEmail\"\r\n name=\"SignIn.RequireConfirmedEmail\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireConfirmedEmail\"\r\n /><label class=\"form-check-label\" for=\"SignIn_RequireConfirmedEmail\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.SignIn.RequireConfirmedEmail' | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.SignIn.RequireConfirmedEmail' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"SignIn_EnablePhoneNumberConfirmation\"\r\n name=\"SignIn.EnablePhoneNumberConfirmation\"\r\n class=\"form-check-input\"\r\n formControlName=\"enablePhoneNumberConfirmation\"\r\n /><label class=\"form-check-label\" for=\"SignIn_EnablePhoneNumberConfirmation\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.SignIn.EnablePhoneNumberConfirmation'\r\n | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.SignIn.EnablePhoneNumberConfirmation'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"SignIn_RequireConfirmedPhoneNumber\"\r\n name=\"SignIn.RequireConfirmedPhoneNumber\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireConfirmedPhoneNumber\"\r\n /><label class=\"form-check-label\" for=\"SignIn_RequireConfirmedPhoneNumber\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.SignIn.RequireConfirmedPhoneNumber'\r\n | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.SignIn.RequireConfirmedPhoneNumber'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <div formGroupName=\"user\">\r\n <h4>{{ 'AbpIdentity::UserSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"User_IsEmailUpdateEnabled\"\r\n name=\"User.IsEmailUpdateEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isEmailUpdateEnabled\"\r\n /><label class=\"form-check-label\" for=\"User_IsEmailUpdateEnabled\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.User.IsEmailUpdateEnabled' | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.User.IsEmailUpdateEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"User_IsUserNameUpdateEnabled\"\r\n name=\"User.IsUserNameUpdateEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isUserNameUpdateEnabled\"\r\n /><label class=\"form-check-label\" for=\"User_IsUserNameUpdateEnabled\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.User.IsUserNameUpdateEnabled' | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.User.IsUserNameUpdateEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-3\" />\r\n <div>\r\n <abp-button\r\n iconClass=\"fa fa-save\"\r\n [loading]=\"loading\"\r\n buttonType=\"submit\"\r\n [disabled]=\"form?.invalid\"\r\n >\r\n {{ 'AbpIdentity::Save' | abpLocalization }}\r\n </abp-button>\r\n </div>\r\n </div>\r\n </div>\r\n</form>\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { WebHttpUrlEncodingCodec } from '@abp/ng.core';\r\nimport { OAuthService, TokenResponse } from 'angular-oauth2-oidc';\r\nimport { Public } from '@volo/abp.ng.account/public/proxy';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityLinkLoginService {\r\n constructor(private oAuthService: OAuthService, private http: HttpClient) {}\r\n\r\n linkLogin(input: Public.Web.Areas.Account.Controllers.Models.LinkUserLoginInfo) {\r\n const { tokenEndpoint, clientId, dummyClientSecret, scope } = this.oAuthService;\r\n\r\n let headers = new HttpHeaders();\r\n headers = headers.set('Content-Type', 'application/x-www-form-urlencoded');\r\n\r\n let params = new HttpParams({ encoder: new WebHttpUrlEncodingCodec() })\r\n .set('grant_type', 'LinkLogin')\r\n .set('LinkUserId', input.linkUserId)\r\n .set('access_token', this.oAuthService.getAccessToken())\r\n .set('client_id', clientId)\r\n .set('client_secret', dummyClientSecret)\r\n .set('scope', scope);\r\n\r\n if (input.linkTenantId) {\r\n params = params.set('LinkTenantId', input.linkTenantId);\r\n }\r\n\r\n return this.http.post<TokenResponse>(tokenEndpoint, params, {\r\n headers,\r\n });\r\n }\r\n}\r\n","import { ToasterService } from '@abp/ng.theme.shared';\r\nimport { HttpErrorResponse } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { Public } from '@volo/abp.ng.account/public/proxy';\r\nimport { from, of, pipe } from 'rxjs';\r\nimport { catchError, filter, switchMap, tap } from 'rxjs/operators';\r\nimport { IdentityLinkLoginService } from '../services/identity-link-login.service';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class LinkLoginHandler {\r\n private handleLinkLoginError = (err: HttpErrorResponse) => {\r\n this.toaster.error(err.error?.error);\r\n return of(null);\r\n };\r\n\r\n constructor(\r\n private router: Router,\r\n private route: ActivatedRoute,\r\n private identityLinkLoginService: IdentityLinkLoginService,\r\n private toaster: ToasterService,\r\n ) {\r\n this.listenToQueryParams();\r\n }\r\n\r\n private listenToQueryParams() {\r\n this.route.queryParams\r\n .pipe(\r\n filter(params => params.handler === 'linkLogin' && (params.linkUserId || params.token)),\r\n switchMap(\r\n (\r\n params: Public.Web.Areas.Account.Controllers.Models.LinkUserLoginInfo & {\r\n token?: string;\r\n },\r\n ) => {\r\n if (params.token) {\r\n Object.entries(JSON.parse(params.token)).forEach(([key, value]: [string, string]) => {\r\n localStorage.setItem(key, value);\r\n });\r\n }\r\n\r\n return params.linkUserId\r\n ? this.linkLogin(params)\r\n : of(null).pipe(this.pipeToNavigate());\r\n },\r\n ),\r\n )\r\n .subscribe();\r\n }\r\n\r\n linkLogin(input: Public.Web.Areas.Account.Controllers.Models.LinkUserLoginInfo) {\r\n return this.identityLinkLoginService.linkLogin(input).pipe(\r\n catchError(this.handleLinkLoginError),\r\n switchMap(res => {\r\n if (res.tenant_domain) {\r\n const now = new Date().valueOf();\r\n const token = {\r\n access_token: res.access_token,\r\n refresh_token: res.refresh_token,\r\n access_token_stored_at: now,\r\n expires_at: now + res.expires_in * 1000,\r\n };\r\n location.href = `${res.tenant_domain}?handler=linkLogin&token=${JSON.stringify(token)}`;\r\n return of(null);\r\n }\r\n\r\n localStorage.setItem('access_token', res.access_token);\r\n if (res.refresh_token) localStorage.setItem('refresh_token', res.refresh_token);\r\n return of(null).pipe(this.pipeToNavigate());\r\n }),\r\n );\r\n }\r\n\r\n private pipeToNavigate() {\r\n return pipe(\r\n switchMap(() =>\r\n from(\r\n this.router.navigate(['.'], {\r\n relativeTo: this.route,\r\n queryParams: { handler: null, linkUserId: null, linkTenantId: null, token: null },\r\n queryParamsHandling: 'merge',\r\n }),\r\n ),\r\n ),\r\n tap(() => location.reload()),\r\n );\r\n }\r\n}\r\n","import { AuthService, ConfigStateService, EnvironmentService, ListService } from '@abp/ng.core';\r\nimport { Confirmation, ConfirmationService } from '@abp/ng.theme.shared';\r\nimport { Component, Injector, OnInit } from '@angular/core';\r\nimport { IdentityLinkUserService, LinkUserDto } from '@volo/abp.ng.account/public/proxy';\r\nimport { of } from 'rxjs';\r\nimport { LinkLoginHandler } from '../handlers/link-login.handler';\r\n\r\n@Component({\r\n selector: 'abp-my-link-users-modal',\r\n templateUrl: './my-link-users-modal.component.html',\r\n providers: [ListService],\r\n})\r\nexport class MyLinkUsersModalComponent implements OnInit {\r\n private _isModalOpen = true;\r\n get isModalOpen() {\r\n return this._isModalOpen;\r\n }\r\n set isModalOpen(value: boolean) {\r\n if (value && !this._isModalOpen) this.getAllList();\r\n this._isModalOpen = value;\r\n }\r\n\r\n data: LinkUserDto[] = [];\r\n filteredData: LinkUserDto[] = [];\r\n filterText = '';\r\n resultCount = 0;\r\n\r\n get currentUser() {\r\n return this.configState.getAll().currentUser;\r\n }\r\n\r\n get currentTenant() {\r\n return this.configState.getAll().currentTenant;\r\n }\r\n\r\n get pageStartIndex() {\r\n return this.list.page * this.list.maxResultCount;\r\n }\r\n\r\n get pageEndIndex() {\r\n return this.pageStartIndex + this.list.maxResultCount;\r\n }\r\n\r\n readonly list: ListService;\r\n protected linkUserService: IdentityLinkUserService;\r\n protected confirmation: ConfirmationService;\r\n protected configState: ConfigStateService;\r\n protected authService: AuthService;\r\n protected environment: EnvironmentService;\r\n protected linkLoginHandler: LinkLoginHandler;\r\n\r\n constructor(private injector: Injector) {\r\n this.list = injector.get(ListService);\r\n this.list.maxResultCount = 5;\r\n\r\n this.linkUserService = injector.get(IdentityLinkUserService);\r\n this.confirmation = injector.get(ConfirmationService);\r\n this.configState = injector.get(ConfigStateService);\r\n this.authService = injector.get(AuthService);\r\n this.environment = injector.get(EnvironmentService);\r\n this.linkLoginHandler = injector.get(LinkLoginHandler);\r\n }\r\n\r\n private navigateToLogin() {\r\n this.linkUserService.generateLinkToken().subscribe(token => {\r\n if (this.authService.isInternalAuth) {\r\n const { id: linkUserId, userName: linkUserName } = this.currentUser;\r\n const { id: linkTenantId, name: linkTenantName } = this.currentTenant;\r\n\r\n this.authService.logout().subscribe(() => {\r\n this.authService.navigateToLogin({\r\n linkToken: token,\r\n linkUserId,\r\n linkUserName,\r\n ...(linkTenantId && {\r\n linkTenantId,\r\n linkTenantName,\r\n }),\r\n });\r\n this.isModalOpen = false;\r\n });\r\n\r\n return;\r\n }\r\n\r\n const { issuer, redirectUri } = this.environment.getEnvironment().oAuthConfig;\r\n\r\n const returnUrl = `${redirectUri}?handler=linkLogin&linkUserId=${this.currentUser.id}${\r\n this.currentTenant.id ? '&linkTenantId=' + this.currentTenant.id : ''\r\n }`;\r\n\r\n const fullUrl = `${issuer}/Account/Login?LinkUserId=${this.currentUser.id}${\r\n this.currentTenant.id ? '&LinkTenantId=' + this.currentTenant.id : ''\r\n }&LinkToken=${encodeURIComponent(token)}&ReturnUrl=${encodeURIComponent(returnUrl)}`;\r\n\r\n window.open(fullUrl, '_self');\r\n });\r\n }\r\n\r\n filterByText() {\r\n this.filteredData = this.getPageData(this.pageStartIndex, this.pageEndIndex);\r\n }\r\n\r\n getFilteredData() {\r\n const list = this.data.filter(linkUser =>\r\n linkUser.targetUserName.toLowerCase().includes(this.filterText.toLowerCase()),\r\n );\r\n this.resultCount = list.length;\r\n return list;\r\n }\r\n\r\n getPageData(start: number, end: number) {\r\n return this.getFilteredData().slice(start, end);\r\n }\r\n\r\n ngOnInit() {\r\n this.getAllList();\r\n }\r\n\r\n getAllList() {\r\n this.linkUserService.getAllList().subscribe(res => {\r\n this.data = res.items;\r\n this.filteredData = this.getPageData(this.pageStartIndex, this.pageEndIndex);\r\n });\r\n this.list\r\n .hookToQuery(query =>\r\n of({ items: this.getPageData(query.skipCount, query.skipCount + query.maxResultCount) }),\r\n )\r\n .subscribe(res => (this.filteredData = res.items));\r\n }\r\n\r\n createNewLinkUser() {\r\n this.confirmation\r\n .warn('AbpAccount::NewLinkAccountWarning', 'AbpUi::AreYouSure')\r\n .subscribe(res => {\r\n if (res === Confirmation.Status.confirm) {\r\n this.navigateToLogin();\r\n }\r\n });\r\n }\r\n\r\n delete(record: LinkUserDto) {\r\n this.confirmation\r\n .warn('AbpAccount::DeleteLinkAccountConfirmationMessage', 'AbpUi::AreYouSure', {\r\n messageLocalizationParams: [record.targetUserName],\r\n })\r\n .subscribe(res => {\r\n if (res === Confirmation.Status.confirm) {\r\n this.linkUserService\r\n .unlink({ userId: record.targetUserId, tenantId: record.targetTenantId })\r\n .subscribe(() => this.getAllList());\r\n }\r\n });\r\n }\r\n\r\n LoginAsThisAccount(record: LinkUserDto) {\r\n this.linkLoginHandler\r\n .linkLogin({\r\n linkUserId: record.targetUserId,\r\n linkTenantId: record.targetTenantId,\r\n })\r\n .subscribe(() => (this.isModalOpen = false));\r\n }\r\n}\r\n","<abp-modal [(visible)]=\"isModalOpen\" [suppressUnsavedChangesWarning]=\"true\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpAccount::LinkedAccounts' | abpLocalization }}</h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <div class=\"text-end mb-3\">\r\n <button\r\n id=\"create-link-user\"\r\n class=\"btn btn-primary\"\r\n type=\"button\"\r\n (click)=\"createNewLinkUser()\"\r\n >\r\n {{ 'AbpAccount::NewLinkAccount' | abpLocalization }}\r\n </button>\r\n\r\n <div class=\"mt-2\">\r\n <label class=\"form-label d-inline-block\">\r\n {{ 'AbpAccount::Search' | abpLocalization }}\r\n <input\r\n type=\"search\"\r\n class=\"form-control form-control-sm d-inline-block w-auto\"\r\n [(ngModel)]=\"filterText\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (ngModelChange)=\"filterByText()\"\r\n aria-controls=\"MyLinkUsersTable\"\r\n />\r\n </label>\r\n </div>\r\n <div class=\"mt-2\">\r\n <ngx-datatable [rows]=\"filteredData\" [count]=\"resultCount\" [list]=\"list\" default>\r\n <ngx-datatable-column\r\n [name]=\"'AbpUi::Actions' | abpLocalization\"\r\n [maxWidth]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div ngbDropdown container=\"body\" class=\"d-inline-block\">\r\n <button\r\n class=\"btn btn-primary btn-sm dropdown-toggle\"\r\n data-toggle=\"dropdown\"\r\n aria-haspopup=\"true\"\r\n ngbDropdownToggle\r\n >\r\n <i class=\"fa fa-cog me-1\"></i>{{ 'AbpUi::Actions' | abpLocalization }}\r\n </button>\r\n <div ngbDropdownMenu>\r\n <button ngbDropdownItem (click)=\"LoginAsThisAccount(row)\">\r\n {{ 'AbpAccount::LoginAsThisAccount' | abpLocalization }}\r\n </button>\r\n <button *ngIf=\"row.directlyLinked\" ngbDropdownItem (click)=\"delete(row)\">\r\n {{ 'AbpUi::Delete' | abpLocalization }}\r\n </button>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column [name]=\"'AbpAccount::UserName' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <a href=\"javascript:void(0)\" class=\"text-body\" (click)=\"LoginAsThisAccount(row)\">\r\n {{ row.targetTenantName ? row.targetTenantName + '\\\\' : ''\r\n }}{{ row.targetUserName }}\r\n </a>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column [name]=\"'AbpAccount::DirectlyLinked' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <i class=\"fas fa-{{ row.directlyLinked ? 'check' : 'times' }}\"></i>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n </ngx-datatable>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</abp-modal>\r\n","import { eLayoutType, RoutesService } from '@abp/ng.core';\r\nimport { eThemeSharedRouteNames } from '@abp/ng.theme.shared';\r\nimport { APP_INITIALIZER } from '@angular/core';\r\nimport { eIdentityPolicyNames } from '../enums/policy-names';\r\nimport { eIdentityRouteNames } from '../enums/route-names';\r\n\r\nexport const IDENTITY_ROUTE_PROVIDERS = [\r\n { provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },\r\n];\r\n\r\nexport function configureRoutes(routes: RoutesService) {\r\n return () => {\r\n routes.add([\r\n {\r\n path: '/identity',\r\n name: eIdentityRouteNames.IdentityManagement,\r\n parentName: eThemeSharedRouteNames.Administration,\r\n order: 2,\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-id-card-o',\r\n requiredPolicy: eIdentityPolicyNames.IdentityManagement,\r\n },\r\n {\r\n path: '/identity/organization-units',\r\n name: eIdentityRouteNames.OrganizationUnits,\r\n parentName: eIdentityRouteNames.IdentityManagement,\r\n order: 1,\r\n requiredPolicy: eIdentityPolicyNames.OrganizationUnits,\r\n },\r\n {\r\n path: '/identity/roles',\r\n name: eIdentityRouteNames.Roles,\r\n parentName: eIdentityRouteNames.IdentityManagement,\r\n order: 2,\r\n requiredPolicy: eIdentityPolicyNames.Roles,\r\n },\r\n {\r\n path: '/identity/users',\r\n name: eIdentityRouteNames.Users,\r\n parentName: eIdentityRouteNames.IdentityManagement,\r\n order: 3,\r\n requiredPolicy: eIdentityPolicyNames.Users,\r\n },\r\n {\r\n path: '/identity/claim-types',\r\n name: eIdentityRouteNames.ClaimTypes,\r\n parentName: eIdentityRouteNames.IdentityManagement,\r\n order: 4,\r\n requiredPolicy: eIdentityPolicyNames.ClaimTypes,\r\n },\r\n {\r\n path: '/identity/security-logs',\r\n name: eIdentityRouteNames.SecurityLogs,\r\n parentName: eIdentityRouteNames.IdentityManagement,\r\n order: 4,\r\n requiredPolicy: eIdentityPolicyNames.SecurityLogs,\r\n },\r\n ]);\r\n };\r\n}\r\n","import { SettingTabsService } from '@abp/ng.setting-management/config';\r\nimport { APP_INITIALIZER } from '@angular/core';\r\nimport { IdentitySettingsComponent } from '../components/identity-settings.component';\r\nimport { eIdentitySettingTabNames } from '../enums/setting-tab-names';\r\n\r\nexport const IDENTITY_SETTING_TAB_PROVIDERS = [\r\n {\r\n provide: APP_INITIALIZER,\r\n useFactory: configureSettingTabs,\r\n deps: [SettingTabsService],\r\n multi: true,\r\n },\r\n];\r\n\r\nexport function configureSettingTabs(settingtabs: SettingTabsService) {\r\n return () => {\r\n settingtabs.add([\r\n {\r\n name: eIdentitySettingTabNames.IdentityManagement,\r\n order: 101,\r\n requiredPolicy: 'AbpIdentity.SettingManagement',\r\n component: IdentitySettingsComponent,\r\n },\r\n ]);\r\n };\r\n}\r\n","import { ComponentRef, Injector } from '@angular/core';\r\nimport { ContentProjectionService, PROJECTION_STRATEGY } from '@abp/ng.core';\r\nimport { MyLinkUsersModalComponent } from '../components/my-link-users-modal.component';\r\n\r\nexport function openMyLinkUsersFactory(injector: Injector) {\r\n const contentProjectionService = injector.get(ContentProjectionService);\r\n let componentRef: ComponentRef<MyLinkUsersModalComponent>;\r\n\r\n return () => {\r\n if (componentRef) {\r\n componentRef.instance.isModalOpen = true;\r\n return;\r\n }\r\n\r\n componentRef = contentProjectionService.projectContent(\r\n PROJECTION_STRATEGY.AppendComponentToBody(MyLinkUsersModalComponent),\r\n );\r\n };\r\n}\r\n","import { CoreModule, noop } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { APP_INITIALIZER, Injector, ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { IdentitySettingsComponent } from './components/identity-settings.component';\r\nimport { MyLinkUsersModalComponent } from './components/my-link-users-modal.component';\r\nimport { IDENTITY_ROUTE_PROVIDERS } from './providers/route.provider';\r\nimport { IDENTITY_SETTING_TAB_PROVIDERS } from './providers/setting-tab.provider';\r\nimport { OPEN_MY_LINK_USERS_MODAL } from '@volo/abp.commercial.ng.ui/config';\r\nimport { openMyLinkUsersFactory } from './utils/factories';\r\nimport { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { LinkLoginHandler } from './handlers/link-login.handler';\r\n\r\n@NgModule({\r\n imports: [CoreModule, ThemeSharedModule, NgbDropdownModule],\r\n declarations: [IdentitySettingsComponent, MyLinkUsersModalComponent],\r\n exports: [IdentitySettingsComponent, MyLinkUsersModalComponent],\r\n})\r\nexport class IdentityConfigModule {\r\n static forRoot(): ModuleWithProviders<IdentityConfigModule> {\r\n return {\r\n ngModule: IdentityConfigModule,\r\n providers: [\r\n IDENTITY_ROUTE_PROVIDERS,\r\n IDENTITY_SETTING_TAB_PROVIDERS,\r\n { provide: OPEN_MY_LINK_USERS_MODAL, useFactory: openMyLinkUsersFactory, deps: [Injector] },\r\n { provide: APP_INITIALIZER, multi: true, useFactory: noop, deps: [LinkLoginHandler] },\r\n ],\r\n };\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;MAQa,qBAAqB;IAGhC,YAAoB,WAAwB;QAAxB,gBAAW,GAAX,WAAW,CAAa;QAF5C,YAAO,GAAG,aAAa,CAAC;KAEwB;IAEhD,WAAW;QACT,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAC7B;YACE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,wBAAwB;SAC9B,EACD,EAAE,O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C3D,YAAY,EAAE,CAAC,yBAAyB,EAAE,yBAAyB,CAAC;oBACpE,OAAO,EAAE,CAAC,yBAAyB,EAAE,yBAAyB,CAAC;iBAChE;;;AChBD;;;;;;"}
1
+ {"version":3,"file":"volo-abp.ng.identity-config.mjs","sources":["../../../../packages/identity/config/src/services/identity-config.service.ts","../../../../packages/identity/config/src/components/identity-settings.component.ts","../../../../packages/identity/config/src/components/identity-settings.component.html","../../../../packages/identity/config/src/services/identity-link-login.service.ts","../../../../packages/identity/config/src/handlers/link-login.handler.ts","../../../../packages/identity/config/src/components/my-link-users-modal.component.ts","../../../../packages/identity/config/src/components/my-link-users-modal.component.html","../../../../packages/identity/config/src/providers/route.provider.ts","../../../../packages/identity/config/src/providers/setting-tab.provider.ts","../../../../packages/identity/config/src/utils/factories.ts","../../../../packages/identity/config/src/identity-config.module.ts","../../../../packages/identity/config/src/volo-abp.ng.identity-config.ts"],"sourcesContent":["import { RestService } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport type * as IdentitySettings from '../models/identity-settings';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityConfigService {\r\n apiName = 'AbpIdentity';\r\n\r\n constructor(private restService: RestService) {}\r\n\r\n getSettings(): Observable<IdentitySettings.Settings> {\r\n return this.restService.request(\r\n {\r\n method: 'GET',\r\n url: '/api/identity/settings',\r\n },\r\n { apiName: this.apiName },\r\n );\r\n }\r\n\r\n updateSettings(body: IdentitySettings.Settings): Observable<void> {\r\n return this.restService.request(\r\n {\r\n method: 'PUT',\r\n url: `/api/identity/settings`,\r\n body,\r\n },\r\n { apiName: this.apiName },\r\n );\r\n }\r\n}\r\n","import { ConfigStateService, SubscriptionService } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { Component } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { filter, finalize } from 'rxjs/operators';\r\nimport type * as IdentitySettings from '../models/identity-settings';\r\nimport { IdentityConfigService } from '../services/identity-config.service';\r\n\r\nconst { required, max, min } = Validators;\r\n\r\n@Component({\r\n selector: 'abp-identity-settings',\r\n templateUrl: './identity-settings.component.html',\r\n providers: [SubscriptionService],\r\n})\r\nexport class IdentitySettingsComponent {\r\n settings = {} as IdentitySettings.Settings;\r\n loading: boolean;\r\n form: FormGroup;\r\n\r\n get initialized(): boolean {\r\n return JSON.stringify(this.settings) !== '{}';\r\n }\r\n\r\n doNotRequireConfirmedPhoneNumber = () => {\r\n this.form.get('signIn.requireConfirmedPhoneNumber').setValue(false);\r\n };\r\n\r\n enablePhoneNumberConfirmation = () => {\r\n this.form.get('signIn.enablePhoneNumberConfirmation').setValue(true);\r\n };\r\n\r\n constructor(\r\n private identityConfigService: IdentityConfigService,\r\n private toaster: ToasterService,\r\n private fb: FormBuilder,\r\n private subscription: SubscriptionService,\r\n private configState: ConfigStateService,\r\n ) {\r\n identityConfigService.getSettings().subscribe(settings => {\r\n this.settings = settings;\r\n this.buildForm();\r\n this.syncConfirmationOptions();\r\n });\r\n }\r\n\r\n buildForm() {\r\n const passwordSettings: IdentitySettings.Password =\r\n this.settings?.password || ({} as IdentitySettings.Password);\r\n\r\n const password = this.fb.group({\r\n requiredLength: [passwordSettings.requiredLength, [required, max(32), min(2)]],\r\n requiredUniqueChars: [passwordSettings.requiredUniqueChars, [required, max(32), min(1)]],\r\n requireNonAlphanumeric: passwordSettings.requireNonAlphanumeric,\r\n requireLowercase: passwordSettings.requireLowercase,\r\n requireUppercase: passwordSettings.requireUppercase,\r\n requireDigit: passwordSettings.requireDigit,\r\n });\r\n\r\n const lockoutSettings: IdentitySettings.Lockout =\r\n this.settings?.lockout || ({} as IdentitySettings.Lockout);\r\n\r\n const lockout = this.fb.group({\r\n allowedForNewUsers: lockoutSettings.allowedForNewUsers,\r\n lockoutDuration: [lockoutSettings.lockoutDuration, [required]],\r\n maxFailedAccessAttempts: [lockoutSettings.maxFailedAccessAttempts, [required]],\r\n });\r\n\r\n const signInSettings: IdentitySettings.SignIn =\r\n this.settings?.signIn || ({} as IdentitySettings.SignIn);\r\n\r\n const signIn = this.fb.group({\r\n requireConfirmedEmail: signInSettings.requireConfirmedEmail,\r\n enablePhoneNumberConfirmation: signInSettings.enablePhoneNumberConfirmation,\r\n requireConfirmedPhoneNumber: signInSettings.requireConfirmedPhoneNumber,\r\n });\r\n\r\n const userSettings: IdentitySettings.User =\r\n this.settings?.user || ({} as IdentitySettings.User);\r\n\r\n const user = this.fb.group({\r\n isUserNameUpdateEnabled: userSettings.isUserNameUpdateEnabled,\r\n isEmailUpdateEnabled: userSettings.isEmailUpdateEnabled,\r\n });\r\n\r\n this.form = this.fb.group({\r\n password,\r\n lockout,\r\n signIn,\r\n user,\r\n });\r\n }\r\n\r\n syncConfirmationOptions() {\r\n this.subscription.addOne(\r\n this.form.get('signIn.requireConfirmedPhoneNumber').valueChanges.pipe(filter(Boolean)),\r\n this.enablePhoneNumberConfirmation,\r\n );\r\n\r\n this.subscription.addOne(\r\n this.form\r\n .get('signIn.enablePhoneNumberConfirmation')\r\n .valueChanges.pipe(filter(value => !value)),\r\n this.doNotRequireConfirmedPhoneNumber,\r\n );\r\n }\r\n\r\n submit() {\r\n this.loading = true;\r\n this.identityConfigService\r\n .updateSettings(this.form.value)\r\n .pipe(\r\n finalize(() => {\r\n this.loading = false;\r\n this.configState.refreshAppState().subscribe();\r\n }),\r\n )\r\n .subscribe(() => this.toaster.success('AbpIdentity::SavedSuccessfully', null));\r\n }\r\n}\r\n","<h2>{{ 'AbpIdentity::Menu:IdentityManagement' | abpLocalization }}</h2>\r\n<hr class=\"my-4\" />\r\n<form\r\n *ngIf=\"form\"\r\n id=\"IdentitySettingsForm\"\r\n [formGroup]=\"form\"\r\n (ngSubmit)=\"submit()\"\r\n validateOnSubmit\r\n>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div formGroupName=\"password\">\r\n <h4>{{ 'AbpIdentity::PasswordSettings' | abpLocalization }}</h4>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Password_RequiredLength\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequiredLength' | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Password_RequiredLength\"\r\n name=\"Password.RequiredLength\"\r\n class=\"form-control\"\r\n formControlName=\"requiredLength\"\r\n min=\"2\"\r\n max=\"32\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequiredLength' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Password_RequiredUniqueChars\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequiredUniqueChars' | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Password_RequiredUniqueChars\"\r\n name=\"Password.RequiredUniqueChars\"\r\n class=\"form-control\"\r\n formControlName=\"requiredUniqueChars\"\r\n min=\"0\"\r\n max=\"32\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequiredUniqueChars' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireNonAlphanumeric\"\r\n name=\"Password.RequireNonAlphanumeric\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireNonAlphanumeric\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireNonAlphanumeric\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireNonAlphanumeric'\r\n | abpLocalization\r\n }}</label>\r\n &nbsp;\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireNonAlphanumeric'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireLowercase\"\r\n name=\"Password.RequireLowercase\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireLowercase\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireLowercase\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireLowercase' | abpLocalization\r\n }}</label>\r\n &nbsp;\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireLowercase' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireUppercase\"\r\n name=\"Password.RequireUppercase\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireUppercase\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireUppercase\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireUppercase' | abpLocalization\r\n }}</label>\r\n &nbsp;\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireUppercase' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireDigit\"\r\n name=\"Password.RequireDigit\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireDigit\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireDigit\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireDigit' | abpLocalization\r\n }}</label>\r\n &nbsp;\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireDigit' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <div formGroupName=\"lockout\">\r\n <h4>{{ 'AbpIdentity::LockoutSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Lockout_AllowedForNewUsers\"\r\n name=\"Lockout.AllowedForNewUsers\"\r\n class=\"form-check-input\"\r\n formControlName=\"allowedForNewUsers\"\r\n /><label class=\"form-check-label\" for=\"Lockout_AllowedForNewUsers\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Lockout.AllowedForNewUsers' | abpLocalization\r\n }}</label>\r\n &nbsp;\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Lockout.AllowedForNewUsers' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Lockout_LockoutDuration\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Lockout.LockoutDuration' | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Lockout_LockoutDuration\"\r\n name=\"Lockout.LockoutDuration\"\r\n class=\"form-control\"\r\n formControlName=\"lockoutDuration\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Lockout.LockoutDuration' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Lockout_MaxFailedAccessAttempts\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Lockout.MaxFailedAccessAttempts'\r\n | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Lockout_MaxFailedAccessAttempts\"\r\n name=\"Lockout.MaxFailedAccessAttempts\"\r\n class=\"form-control\"\r\n formControlName=\"maxFailedAccessAttempts\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Lockout.MaxFailedAccessAttempts'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <div formGroupName=\"signIn\">\r\n <h4>{{ 'AbpIdentity::SignInSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"SignIn_RequireConfirmedEmail\"\r\n name=\"SignIn.RequireConfirmedEmail\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireConfirmedEmail\"\r\n /><label class=\"form-check-label\" for=\"SignIn_RequireConfirmedEmail\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.SignIn.RequireConfirmedEmail' | abpLocalization\r\n }}</label>\r\n &nbsp;\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.SignIn.RequireConfirmedEmail' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"SignIn_EnablePhoneNumberConfirmation\"\r\n name=\"SignIn.EnablePhoneNumberConfirmation\"\r\n class=\"form-check-input\"\r\n formControlName=\"enablePhoneNumberConfirmation\"\r\n /><label class=\"form-check-label\" for=\"SignIn_EnablePhoneNumberConfirmation\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.SignIn.EnablePhoneNumberConfirmation'\r\n | abpLocalization\r\n }}</label>\r\n &nbsp;\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.SignIn.EnablePhoneNumberConfirmation'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"SignIn_RequireConfirmedPhoneNumber\"\r\n name=\"SignIn.RequireConfirmedPhoneNumber\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireConfirmedPhoneNumber\"\r\n /><label class=\"form-check-label\" for=\"SignIn_RequireConfirmedPhoneNumber\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.SignIn.RequireConfirmedPhoneNumber'\r\n | abpLocalization\r\n }}</label>\r\n &nbsp;\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.SignIn.RequireConfirmedPhoneNumber'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <div formGroupName=\"user\">\r\n <h4>{{ 'AbpIdentity::UserSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"User_IsEmailUpdateEnabled\"\r\n name=\"User.IsEmailUpdateEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isEmailUpdateEnabled\"\r\n /><label class=\"form-check-label\" for=\"User_IsEmailUpdateEnabled\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.User.IsEmailUpdateEnabled' | abpLocalization\r\n }}</label>\r\n &nbsp;\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.User.IsEmailUpdateEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"User_IsUserNameUpdateEnabled\"\r\n name=\"User.IsUserNameUpdateEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isUserNameUpdateEnabled\"\r\n /><label class=\"form-check-label\" for=\"User_IsUserNameUpdateEnabled\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.User.IsUserNameUpdateEnabled' | abpLocalization\r\n }}</label>\r\n &nbsp;\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.User.IsUserNameUpdateEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-3\" />\r\n <div>\r\n <abp-button\r\n iconClass=\"fa fa-save\"\r\n [loading]=\"loading\"\r\n buttonType=\"submit\"\r\n [disabled]=\"form?.invalid\"\r\n >\r\n {{ 'AbpIdentity::Save' | abpLocalization }}\r\n </abp-button>\r\n </div>\r\n </div>\r\n </div>\r\n</form>\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { WebHttpUrlEncodingCodec } from '@abp/ng.core';\r\nimport { OAuthService, TokenResponse } from 'angular-oauth2-oidc';\r\nimport { Public } from '@volo/abp.ng.account/public/proxy';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityLinkLoginService {\r\n constructor(private oAuthService: OAuthService, private http: HttpClient) {}\r\n\r\n linkLogin(input: Public.Web.Areas.Account.Controllers.Models.LinkUserLoginInfo) {\r\n const { tokenEndpoint, clientId, dummyClientSecret, scope } = this.oAuthService;\r\n\r\n let headers = new HttpHeaders();\r\n headers = headers.set('Content-Type', 'application/x-www-form-urlencoded');\r\n\r\n let params = new HttpParams({ encoder: new WebHttpUrlEncodingCodec() })\r\n .set('grant_type', 'LinkLogin')\r\n .set('LinkUserId', input.linkUserId)\r\n .set('access_token', this.oAuthService.getAccessToken())\r\n .set('client_id', clientId)\r\n .set('client_secret', dummyClientSecret)\r\n .set('scope', scope);\r\n\r\n if (input.linkTenantId) {\r\n params = params.set('LinkTenantId', input.linkTenantId);\r\n }\r\n\r\n return this.http.post<TokenResponse>(tokenEndpoint, params, {\r\n headers,\r\n });\r\n }\r\n}\r\n","import { ToasterService } from '@abp/ng.theme.shared';\r\nimport { HttpErrorResponse } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { Public } from '@volo/abp.ng.account/public/proxy';\r\nimport { from, of, pipe } from 'rxjs';\r\nimport { catchError, filter, switchMap, tap } from 'rxjs/operators';\r\nimport { IdentityLinkLoginService } from '../services/identity-link-login.service';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class LinkLoginHandler {\r\n private handleLinkLoginError = (err: HttpErrorResponse) => {\r\n this.toaster.error(err.error?.error);\r\n return of(null);\r\n };\r\n\r\n constructor(\r\n private router: Router,\r\n private route: ActivatedRoute,\r\n private identityLinkLoginService: IdentityLinkLoginService,\r\n private toaster: ToasterService,\r\n ) {\r\n this.listenToQueryParams();\r\n }\r\n\r\n private listenToQueryParams() {\r\n this.route.queryParams\r\n .pipe(\r\n filter(params => params.handler === 'linkLogin' && (params.linkUserId || params.token)),\r\n switchMap(\r\n (\r\n params: Public.Web.Areas.Account.Controllers.Models.LinkUserLoginInfo & {\r\n token?: string;\r\n },\r\n ) => {\r\n if (params.token) {\r\n Object.entries(JSON.parse(params.token)).forEach(([key, value]: [string, string]) => {\r\n localStorage.setItem(key, value);\r\n });\r\n }\r\n\r\n return params.linkUserId\r\n ? this.linkLogin(params)\r\n : of(null).pipe(this.pipeToNavigate());\r\n },\r\n ),\r\n )\r\n .subscribe();\r\n }\r\n\r\n linkLogin(input: Public.Web.Areas.Account.Controllers.Models.LinkUserLoginInfo) {\r\n return this.identityLinkLoginService.linkLogin(input).pipe(\r\n catchError(this.handleLinkLoginError),\r\n switchMap(res => {\r\n if (res.tenant_domain) {\r\n const now = new Date().valueOf();\r\n const token = {\r\n access_token: res.access_token,\r\n refresh_token: res.refresh_token,\r\n access_token_stored_at: now,\r\n expires_at: now + res.expires_in * 1000,\r\n };\r\n location.href = `${res.tenant_domain}?handler=linkLogin&token=${JSON.stringify(token)}`;\r\n return of(null);\r\n }\r\n\r\n localStorage.setItem('access_token', res.access_token);\r\n if (res.refresh_token) localStorage.setItem('refresh_token', res.refresh_token);\r\n return of(null).pipe(this.pipeToNavigate());\r\n }),\r\n );\r\n }\r\n\r\n private pipeToNavigate() {\r\n return pipe(\r\n switchMap(() =>\r\n from(\r\n this.router.navigate(['.'], {\r\n relativeTo: this.route,\r\n queryParams: { handler: null, linkUserId: null, linkTenantId: null, token: null },\r\n queryParamsHandling: 'merge',\r\n }),\r\n ),\r\n ),\r\n tap(() => location.reload()),\r\n );\r\n }\r\n}\r\n","import { AuthService, ConfigStateService, EnvironmentService, ListService } from '@abp/ng.core';\r\nimport { Confirmation, ConfirmationService } from '@abp/ng.theme.shared';\r\nimport { Component, Injector, OnInit } from '@angular/core';\r\nimport { IdentityLinkUserService, LinkUserDto } from '@volo/abp.ng.account/public/proxy';\r\nimport { of } from 'rxjs';\r\nimport { LinkLoginHandler } from '../handlers/link-login.handler';\r\n\r\n@Component({\r\n selector: 'abp-my-link-users-modal',\r\n templateUrl: './my-link-users-modal.component.html',\r\n providers: [ListService],\r\n})\r\nexport class MyLinkUsersModalComponent implements OnInit {\r\n private _isModalOpen = true;\r\n get isModalOpen() {\r\n return this._isModalOpen;\r\n }\r\n set isModalOpen(value: boolean) {\r\n if (value && !this._isModalOpen) this.getAllList();\r\n this._isModalOpen = value;\r\n }\r\n\r\n data: LinkUserDto[] = [];\r\n filteredData: LinkUserDto[] = [];\r\n filterText = '';\r\n resultCount = 0;\r\n\r\n get currentUser() {\r\n return this.configState.getAll().currentUser;\r\n }\r\n\r\n get currentTenant() {\r\n return this.configState.getAll().currentTenant;\r\n }\r\n\r\n get pageStartIndex() {\r\n return this.list.page * this.list.maxResultCount;\r\n }\r\n\r\n get pageEndIndex() {\r\n return this.pageStartIndex + this.list.maxResultCount;\r\n }\r\n\r\n readonly list: ListService;\r\n protected linkUserService: IdentityLinkUserService;\r\n protected confirmation: ConfirmationService;\r\n protected configState: ConfigStateService;\r\n protected authService: AuthService;\r\n protected environment: EnvironmentService;\r\n protected linkLoginHandler: LinkLoginHandler;\r\n\r\n constructor(private injector: Injector) {\r\n this.list = injector.get(ListService);\r\n this.list.maxResultCount = 5;\r\n\r\n this.linkUserService = injector.get(IdentityLinkUserService);\r\n this.confirmation = injector.get(ConfirmationService);\r\n this.configState = injector.get(ConfigStateService);\r\n this.authService = injector.get(AuthService);\r\n this.environment = injector.get(EnvironmentService);\r\n this.linkLoginHandler = injector.get(LinkLoginHandler);\r\n }\r\n\r\n private navigateToLogin() {\r\n this.linkUserService.generateLinkToken().subscribe(token => {\r\n if (this.authService.isInternalAuth) {\r\n const { id: linkUserId, userName: linkUserName } = this.currentUser;\r\n const { id: linkTenantId, name: linkTenantName } = this.currentTenant;\r\n\r\n this.authService.logout().subscribe(() => {\r\n this.authService.navigateToLogin({\r\n linkToken: token,\r\n linkUserId,\r\n linkUserName,\r\n ...(linkTenantId && {\r\n linkTenantId,\r\n linkTenantName,\r\n }),\r\n });\r\n this.isModalOpen = false;\r\n });\r\n\r\n return;\r\n }\r\n\r\n const { issuer, redirectUri } = this.environment.getEnvironment().oAuthConfig;\r\n\r\n const returnUrl = `${redirectUri}?handler=linkLogin&linkUserId=${this.currentUser.id}${\r\n this.currentTenant.id ? '&linkTenantId=' + this.currentTenant.id : ''\r\n }`;\r\n\r\n const fullUrl = `${issuer}/Account/Login?LinkUserId=${this.currentUser.id}${\r\n this.currentTenant.id ? '&LinkTenantId=' + this.currentTenant.id : ''\r\n }&LinkToken=${encodeURIComponent(token)}&ReturnUrl=${encodeURIComponent(returnUrl)}`;\r\n\r\n window.open(fullUrl, '_self');\r\n });\r\n }\r\n\r\n filterByText() {\r\n this.filteredData = this.getPageData(this.pageStartIndex, this.pageEndIndex);\r\n }\r\n\r\n getFilteredData() {\r\n const list = this.data.filter(linkUser =>\r\n linkUser.targetUserName.toLowerCase().includes(this.filterText.toLowerCase()),\r\n );\r\n this.resultCount = list.length;\r\n return list;\r\n }\r\n\r\n getPageData(start: number, end: number) {\r\n return this.getFilteredData().slice(start, end);\r\n }\r\n\r\n ngOnInit() {\r\n this.getAllList();\r\n }\r\n\r\n getAllList() {\r\n this.linkUserService.getAllList().subscribe(res => {\r\n this.data = res.items;\r\n this.filteredData = this.getPageData(this.pageStartIndex, this.pageEndIndex);\r\n });\r\n this.list\r\n .hookToQuery(query =>\r\n of({ items: this.getPageData(query.skipCount, query.skipCount + query.maxResultCount) }),\r\n )\r\n .subscribe(res => (this.filteredData = res.items));\r\n }\r\n\r\n createNewLinkUser() {\r\n this.confirmation\r\n .warn('AbpAccount::NewLinkAccountWarning', 'AbpUi::AreYouSure')\r\n .subscribe(res => {\r\n if (res === Confirmation.Status.confirm) {\r\n this.navigateToLogin();\r\n }\r\n });\r\n }\r\n\r\n delete(record: LinkUserDto) {\r\n this.confirmation\r\n .warn('AbpAccount::DeleteLinkAccountConfirmationMessage', 'AbpUi::AreYouSure', {\r\n messageLocalizationParams: [record.targetUserName],\r\n })\r\n .subscribe(res => {\r\n if (res === Confirmation.Status.confirm) {\r\n this.linkUserService\r\n .unlink({ userId: record.targetUserId, tenantId: record.targetTenantId })\r\n .subscribe(() => this.getAllList());\r\n }\r\n });\r\n }\r\n\r\n LoginAsThisAccount(record: LinkUserDto) {\r\n this.linkLoginHandler\r\n .linkLogin({\r\n linkUserId: record.targetUserId,\r\n linkTenantId: record.targetTenantId,\r\n })\r\n .subscribe(() => (this.isModalOpen = false));\r\n }\r\n}\r\n","<abp-modal [(visible)]=\"isModalOpen\" [suppressUnsavedChangesWarning]=\"true\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpAccount::LinkedAccounts' | abpLocalization }}</h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <div class=\"text-end mb-3\">\r\n <button\r\n id=\"create-link-user\"\r\n class=\"btn btn-primary\"\r\n type=\"button\"\r\n (click)=\"createNewLinkUser()\"\r\n >\r\n {{ 'AbpAccount::NewLinkAccount' | abpLocalization }}\r\n </button>\r\n\r\n <div class=\"mt-2\">\r\n <label class=\"form-label d-inline-block\">\r\n {{ 'AbpAccount::Search' | abpLocalization }}\r\n <input\r\n type=\"search\"\r\n class=\"form-control form-control-sm d-inline-block w-auto\"\r\n [(ngModel)]=\"filterText\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (ngModelChange)=\"filterByText()\"\r\n aria-controls=\"MyLinkUsersTable\"\r\n />\r\n </label>\r\n </div>\r\n <div class=\"mt-2\">\r\n <ngx-datatable [rows]=\"filteredData\" [count]=\"resultCount\" [list]=\"list\" default>\r\n <ngx-datatable-column\r\n [name]=\"'AbpUi::Actions' | abpLocalization\"\r\n [maxWidth]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div ngbDropdown container=\"body\" class=\"d-inline-block\">\r\n <button\r\n class=\"btn btn-primary btn-sm dropdown-toggle\"\r\n data-toggle=\"dropdown\"\r\n aria-haspopup=\"true\"\r\n ngbDropdownToggle\r\n >\r\n <i class=\"fa fa-cog me-1\"></i>{{ 'AbpUi::Actions' | abpLocalization }}\r\n </button>\r\n <div ngbDropdownMenu>\r\n <button ngbDropdownItem (click)=\"LoginAsThisAccount(row)\">\r\n {{ 'AbpAccount::LoginAsThisAccount' | abpLocalization }}\r\n </button>\r\n <button *ngIf=\"row.directlyLinked\" ngbDropdownItem (click)=\"delete(row)\">\r\n {{ 'AbpUi::Delete' | abpLocalization }}\r\n </button>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column [name]=\"'AbpAccount::UserName' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <a href=\"javascript:void(0)\" class=\"text-body\" (click)=\"LoginAsThisAccount(row)\">\r\n {{ row.targetTenantName ? row.targetTenantName + '\\\\' : ''\r\n }}{{ row.targetUserName }}\r\n </a>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column [name]=\"'AbpAccount::DirectlyLinked' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <i class=\"fas fa-{{ row.directlyLinked ? 'check' : 'times' }}\"></i>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n </ngx-datatable>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</abp-modal>\r\n","import { eLayoutType, RoutesService } from '@abp/ng.core';\r\nimport { eThemeSharedRouteNames } from '@abp/ng.theme.shared';\r\nimport { APP_INITIALIZER } from '@angular/core';\r\nimport { eIdentityPolicyNames } from '../enums/policy-names';\r\nimport { eIdentityRouteNames } from '../enums/route-names';\r\n\r\nexport const IDENTITY_ROUTE_PROVIDERS = [\r\n { provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },\r\n];\r\n\r\nexport function configureRoutes(routes: RoutesService) {\r\n return () => {\r\n routes.add([\r\n {\r\n path: '/identity',\r\n name: eIdentityRouteNames.IdentityManagement,\r\n parentName: eThemeSharedRouteNames.Administration,\r\n order: 2,\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-id-card-o',\r\n requiredPolicy: eIdentityPolicyNames.IdentityManagement,\r\n },\r\n {\r\n path: '/identity/organization-units',\r\n name: eIdentityRouteNames.OrganizationUnits,\r\n parentName: eIdentityRouteNames.IdentityManagement,\r\n order: 1,\r\n requiredPolicy: eIdentityPolicyNames.OrganizationUnits,\r\n },\r\n {\r\n path: '/identity/roles',\r\n name: eIdentityRouteNames.Roles,\r\n parentName: eIdentityRouteNames.IdentityManagement,\r\n order: 2,\r\n requiredPolicy: eIdentityPolicyNames.Roles,\r\n },\r\n {\r\n path: '/identity/users',\r\n name: eIdentityRouteNames.Users,\r\n parentName: eIdentityRouteNames.IdentityManagement,\r\n order: 3,\r\n requiredPolicy: eIdentityPolicyNames.Users,\r\n },\r\n {\r\n path: '/identity/claim-types',\r\n name: eIdentityRouteNames.ClaimTypes,\r\n parentName: eIdentityRouteNames.IdentityManagement,\r\n order: 4,\r\n requiredPolicy: eIdentityPolicyNames.ClaimTypes,\r\n },\r\n {\r\n path: '/identity/security-logs',\r\n name: eIdentityRouteNames.SecurityLogs,\r\n parentName: eIdentityRouteNames.IdentityManagement,\r\n order: 4,\r\n requiredPolicy: eIdentityPolicyNames.SecurityLogs,\r\n },\r\n ]);\r\n };\r\n}\r\n","import { SettingTabsService } from '@abp/ng.setting-management/config';\r\nimport { APP_INITIALIZER } from '@angular/core';\r\nimport { IdentitySettingsComponent } from '../components/identity-settings.component';\r\nimport { eIdentitySettingTabNames } from '../enums/setting-tab-names';\r\n\r\nexport const IDENTITY_SETTING_TAB_PROVIDERS = [\r\n {\r\n provide: APP_INITIALIZER,\r\n useFactory: configureSettingTabs,\r\n deps: [SettingTabsService],\r\n multi: true,\r\n },\r\n];\r\n\r\nexport function configureSettingTabs(settingtabs: SettingTabsService) {\r\n return () => {\r\n settingtabs.add([\r\n {\r\n name: eIdentitySettingTabNames.IdentityManagement,\r\n order: 101,\r\n requiredPolicy: 'AbpIdentity.SettingManagement',\r\n component: IdentitySettingsComponent,\r\n },\r\n ]);\r\n };\r\n}\r\n","import { ComponentRef, Injector } from '@angular/core';\r\nimport { ContentProjectionService, PROJECTION_STRATEGY } from '@abp/ng.core';\r\nimport { MyLinkUsersModalComponent } from '../components/my-link-users-modal.component';\r\n\r\nexport function openMyLinkUsersFactory(injector: Injector) {\r\n const contentProjectionService = injector.get(ContentProjectionService);\r\n let componentRef: ComponentRef<MyLinkUsersModalComponent>;\r\n\r\n return () => {\r\n if (componentRef) {\r\n componentRef.instance.isModalOpen = true;\r\n return;\r\n }\r\n\r\n componentRef = contentProjectionService.projectContent(\r\n PROJECTION_STRATEGY.AppendComponentToBody(MyLinkUsersModalComponent),\r\n );\r\n };\r\n}\r\n","import { CoreModule, noop } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { APP_INITIALIZER, Injector, ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { IdentitySettingsComponent } from './components/identity-settings.component';\r\nimport { MyLinkUsersModalComponent } from './components/my-link-users-modal.component';\r\nimport { IDENTITY_ROUTE_PROVIDERS } from './providers/route.provider';\r\nimport { IDENTITY_SETTING_TAB_PROVIDERS } from './providers/setting-tab.provider';\r\nimport { OPEN_MY_LINK_USERS_MODAL } from '@volo/abp.commercial.ng.ui/config';\r\nimport { openMyLinkUsersFactory } from './utils/factories';\r\nimport { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { LinkLoginHandler } from './handlers/link-login.handler';\r\n\r\n@NgModule({\r\n imports: [CoreModule, ThemeSharedModule, NgbDropdownModule],\r\n declarations: [IdentitySettingsComponent, MyLinkUsersModalComponent],\r\n exports: [IdentitySettingsComponent, MyLinkUsersModalComponent],\r\n})\r\nexport class IdentityConfigModule {\r\n static forRoot(): ModuleWithProviders<IdentityConfigModule> {\r\n return {\r\n ngModule: IdentityConfigModule,\r\n providers: [\r\n IDENTITY_ROUTE_PROVIDERS,\r\n IDENTITY_SETTING_TAB_PROVIDERS,\r\n { provide: OPEN_MY_LINK_USERS_MODAL, useFactory: openMyLinkUsersFactory, deps: [Injector] },\r\n { provide: APP_INITIALIZER, multi: true, useFactory: noop, deps: [LinkLoginHandler] },\r\n ],\r\n };\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;MAQa,qBAAqB;IAGhC,YAAoB,WAAwB;QAAxB,gBAAW,GAAX,WAAW,CAAa;QAF5C,YAAO,GAAG,aAAa,CAAC;KAEwB;IAEhD,WAAW;QACT,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAC7B;YACE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,wBAAwB;SAC9B,EACD,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAC1B,CAAC;KACH;IAED,cAAc,CAAC,IAA+B;QAC5C,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAC7B;YACE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,wBAAwB;YAC7B,IAAI;SACL,EACD,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAC1B,CAAC;KACH;;kHAxBU,qBAAqB;sHAArB,qBAAqB,cAFpB,MAAM;2FAEP,qBAAqB;kBAHjC,UAAU;mBAAC;oBACV,UAAU,EAAE,MAAM;iBACnB;;;ACCD,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,UAAU,CAAC;MAO7B,yBAAyB;IAiBpC,YACU,qBAA4C,EAC5C,OAAuB,EACvB,EAAe,EACf,YAAiC,EACjC,WAA+B;QAJ/B,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,YAAO,GAAP,OAAO,CAAgB;QACvB,OAAE,GAAF,EAAE,CAAa;QACf,iBAAY,GAAZ,YAAY,CAAqB;QACjC,gBAAW,GAAX,WAAW,CAAoB;QArBzC,aAAQ,GAAG,EAA+B,CAAC;QAQ3C,qCAAgC,GAAG;YACjC,IAAI,CAAC,IAAI,CAAC,G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AE,eAAe,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,gBAAgB,CAAC,EAAE;aACtF;SACF,CAAC;KACH;;iHAXU,oBAAoB;kHAApB,oBAAoB,iBAHhB,yBAAyB,EAAE,yBAAyB,aADzD,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,aAEhD,yBAAyB,EAAE,yBAAyB;kHAEnD,oBAAoB,YAJtB,CAAC,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,CAAC;2FAIhD,oBAAoB;kBALhC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,CAAC;oBAC3D,YAAY,EAAE,CAAC,yBAAyB,EAAE,yBAAyB,CAAC;oBACpE,OAAO,EAAE,CAAC,yBAAyB,EAAE,yBAAyB,CAAC;iBAChE;;;AChBD;;;;;;"}
@@ -32,9 +32,9 @@ class IdentityClaimTypeService {
32
32
  }, { apiName: this.apiName });
33
33
  }
34
34
  }
35
- IdentityClaimTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityClaimTypeService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
36
- IdentityClaimTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityClaimTypeService, providedIn: 'root' });
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityClaimTypeService, decorators: [{
35
+ IdentityClaimTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentityClaimTypeService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
36
+ IdentityClaimTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentityClaimTypeService, providedIn: 'root' });
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentityClaimTypeService, decorators: [{
38
38
  type: Injectable,
39
39
  args: [{
40
40
  providedIn: 'root',
@@ -96,9 +96,9 @@ class IdentityRoleService {
96
96
  }, { apiName: this.apiName });
97
97
  }
98
98
  }
99
- IdentityRoleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityRoleService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
100
- IdentityRoleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityRoleService, providedIn: 'root' });
101
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityRoleService, decorators: [{
99
+ IdentityRoleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentityRoleService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
100
+ IdentityRoleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentityRoleService, providedIn: 'root' });
101
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentityRoleService, decorators: [{
102
102
  type: Injectable,
103
103
  args: [{
104
104
  providedIn: 'root',
@@ -129,9 +129,9 @@ class IdentitySecurityLogService {
129
129
  }, { apiName: this.apiName });
130
130
  }
131
131
  }
132
- IdentitySecurityLogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentitySecurityLogService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
133
- IdentitySecurityLogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentitySecurityLogService, providedIn: 'root' });
134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentitySecurityLogService, decorators: [{
132
+ IdentitySecurityLogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentitySecurityLogService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
133
+ IdentitySecurityLogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentitySecurityLogService, providedIn: 'root' });
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentitySecurityLogService, decorators: [{
135
135
  type: Injectable,
136
136
  args: [{
137
137
  providedIn: 'root',
@@ -153,9 +153,9 @@ class IdentitySettingsService {
153
153
  }, { apiName: this.apiName });
154
154
  }
155
155
  }
156
- IdentitySettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentitySettingsService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
157
- IdentitySettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentitySettingsService, providedIn: 'root' });
158
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentitySettingsService, decorators: [{
156
+ IdentitySettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentitySettingsService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
157
+ IdentitySettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentitySettingsService, providedIn: 'root' });
158
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentitySettingsService, decorators: [{
159
159
  type: Injectable,
160
160
  args: [{
161
161
  providedIn: 'root',
@@ -186,9 +186,9 @@ class IdentityUserLookupService {
186
186
  }, { apiName: this.apiName });
187
187
  }
188
188
  }
189
- IdentityUserLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityUserLookupService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
190
- IdentityUserLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityUserLookupService, providedIn: 'root' });
191
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityUserLookupService, decorators: [{
189
+ IdentityUserLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentityUserLookupService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
190
+ IdentityUserLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentityUserLookupService, providedIn: 'root' });
191
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentityUserLookupService, decorators: [{
192
192
  type: Injectable,
193
193
  args: [{
194
194
  providedIn: 'root',
@@ -295,9 +295,9 @@ class IdentityUserService {
295
295
  }, { apiName: this.apiName });
296
296
  }
297
297
  }
298
- IdentityUserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityUserService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
299
- IdentityUserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityUserService, providedIn: 'root' });
300
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityUserService, decorators: [{
298
+ IdentityUserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentityUserService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
299
+ IdentityUserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentityUserService, providedIn: 'root' });
300
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentityUserService, decorators: [{
301
301
  type: Injectable,
302
302
  args: [{
303
303
  providedIn: 'root',
@@ -381,9 +381,9 @@ class OrganizationUnitService {
381
381
  }, { apiName: this.apiName });
382
382
  }
383
383
  }
384
- OrganizationUnitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: OrganizationUnitService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
385
- OrganizationUnitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: OrganizationUnitService, providedIn: 'root' });
386
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: OrganizationUnitService, decorators: [{
384
+ OrganizationUnitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: OrganizationUnitService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
385
+ OrganizationUnitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: OrganizationUnitService, providedIn: 'root' });
386
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: OrganizationUnitService, decorators: [{
387
387
  type: Injectable,
388
388
  args: [{
389
389
  providedIn: 'root',